Verify proofs

How to use UniRep smart contract to verify proofs.

Epoch Key Verifier

Verify an epoch key proof with UniRep smart contract.

function verifyEpochKeyValidity(
    uint256[] calldata publicSignals,
    uint256[8] calldata proof
) external view returns (bool)

Reputation Verifier

Verify a reputation proof with UniRep smart contract.

function verifyReputation(
    uint256[] calldata publicSignals,
    uint256[8] calldata proof
) external view returns (bool)

User Sign Up Verifier

Verify a user sign up proof with UniRep smart contract.

function verifyUserSignUp(
    uint256[] calldata publicSignals,
    uint256[8] calldata proof
) external view returns (bool)

Start Transition Verifier

Verify a start transition proof with UniRep smart contract.

function verifyStartTransitionProof(
    uint256[] calldata publicSignals,
    uint256[8] calldata proof
) external view returns (bool)

Process Attestations Verifier

Verify a process attestations proof with UniRep smart contract.

function verifyProcessAttestationProof(
    uint256[] calldata publicSignals,
    uint256[8] calldata proof
) external view returns (bool)

User State Transition Verifier

Verify a user state transition proof with UniRep smart contract.

function verifyUserStateTransition(
    uint256[] calldata publicSignals,
    uint256[8] calldata proof
) external view returns (bool)

Last updated