Skip to main content
src/VerifierRegistry.sol. Inherits Ownable2Step.
owner
Approves verifier under a route label (for example base) and pins its current code hash. Reverts with InvalidVerifier if it has no code or the label is empty. Emits VerifierApproved(verifier, codeHash, route).
owner
Stops new listings against verifier. Orders already listed keep working: each stores its own pinned hash. Emits VerifierDisabled(verifier).
view
Returns the pinned hash, or reverts with VerifierUnavailable if the verifier isn’t enabled or its code changed. The market calls this in list.
view
The stored approval.
A code hash can’t prove a contract is immutable: a proxy’s own code never changes. The registry owner must reject proxies and any verifier with mutable configuration.