Docs
Reference
Contract documentation
L1
ProofVerifier

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

NameTypeDescription
_addressManageraddressThe 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

NameTypeDescription
uint64
blockProofsbytesRaw bytes representing the proof(s).
instancebytes32Hashed evidence & config data. If set to zero, proof is assumed to be from oracle prover.

ProxiedProofVerifier

Proxied version of the parent contract.