ProofVerifier
See the documentation in IProofVerifier (opens in a new tab).
L1_INVALID_PROOF
error L1_INVALID_PROOF()
init
function init(address _addressManager) external
Initializes the contract with the provided address manager.
Parameters
Name | Type | Description |
---|---|---|
_addressManager | address | The address of the address manager contract. |
verifyProofs
function verifyProofs(uint64, bytes blockProofs, bytes32 instance) external view
Verify the given proof(s) for the given blockId. This function should revert if the verification fails.
Parameters
Name | Type | Description |
---|---|---|
uint64 | ||
blockProofs | bytes | Raw bytes representing the proof(s). |
instance | bytes32 | Hashed evidence & config data. If set to zero, proof is assumed to be from oracle prover. |
ProxiedProofVerifier
Proxied version of the parent contract.