Skip to main content

IProofVerifier

verifyZKP

function verifyZKP(string verifierId, bytes zkproof, bytes32 instance) external view returns (bool verified)

verifyMKP

function verifyMKP(bytes key, bytes value, bytes proof, bytes32 root) external pure returns (bool verified)

ProofVerifier

init

function init(address addressManager) external

verifyZKP

function verifyZKP(string verifierId, bytes zkproof, bytes32 instance) external view returns (bool)

verifyMKP

function verifyMKP(bytes key, bytes value, bytes proof, bytes32 root) external pure returns (bool)