Docs
Reference
Contract documentation
L1
IProofVerifier

IProofVerifier

Contract that is responsible for verifying proofs.

verifyProofs

function verifyProofs(uint64 blockId, bytes blockProofs, bytes32 instance) external

Verify the given proof(s) for the given blockId. This function should revert if the verification fails.

Parameters

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