web3wagmi
← All standards

ERC-1923 zk-SNARK Verifier Registry Standard

StagnantERCcreated 2018-12-22requires ERC-165, EIP-196, EIP-197

Authors: Michael Connor, Chaitanya Konda, Duncan Westland

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

EIP0x5974488a
ERC1650x01ffc9a7

Functions this standard introduces (12)

0xf0a1ec2battestProof(bytes32,bytes32,bool)
0x16680861attestProofs(bytes32[],bytes32[],bool[])
0x7e49d7abchallengeAttestation(bytes32,uint256[],uint64[],address)
0x3202c7f3createNewProofId(uint256[],uint64[])pure
0x577f1534createNewVkId(uint256[])pure
0x6ed5e9bagetVk(bytes32)
0xa385e598registerVerifierContract(address)
0x67499910registerVk(uint256[],address[])
0x0d2aaf41submitProof(uint256[],uint64[],bytes32,address)
0xc6edb448submitProof(uint256[],uint64[],bytes32)
0xc5572797submitProofAndVerify(uint256[],uint64[],bytes32,address)
0x01ffc9a7supportsInterface(bytes4)view

Events (4)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0xa99a07ceb6323e4bd3c618601e300e4fb00f7deab63202de9fb7d9792d192d0bNewProofSubmitted(bytes32,uint256[],uint64[])
0x3dcebd5712edfcfac723d079e962ad98976c70e977cc55810eca67ae6eed5196NewVkRegistered(bytes32)
0x8162b5ded0f1f7b1072b8d0217190a5dfe98aa26e6211bc66b1b2c548dbfe8fcNewVerifierContractRegistered(address)
0xf140259f1969eb057e0cf58bc6100b42c21fdb660c031c20a783a5c31aa53834NewAttestation(bytes32,address,bool)

Depends on (3)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion