Skip to content
Lattice

PlonkVerifierInit

Git Source

Title: PlonkVerifierInit

Author: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80)

One-shot initializer for a PLONK verifier diamond — registers the IPlonkVerifier interface (ERC-165). The verifier is a stateless, permissionless primitive (anyone may verify a proof), so there is NO AccessControl in the recipe. Delegatecalled by Diamond.initialize inside the initializing window (so it must NOT open its own pre/postInitializer; the __PlonkVerifier_init guard passes because the window is already open).

Functions

init

Runs the PLONK verifier module initializer. MUST be invoked via the diamond's initialize _init delegatecall.

function init() external;