Skip to main content
Version: 1.0.1

Verify proofs

Epoch Key Verifier

Verify an epoch key proof with UniRep smart contract.

contracts/Unirep.sol
function verifyEpochKeyValidity(
uint256[] calldata publicSignals,
uint256[8] calldata proof
) public view returns (bool)

Reputation Verifier

Verify a reputation proof with UniRep smart contract.

contracts/Unirep.sol
function verifyReputation(
uint256[] calldata publicSignals,
uint256[8] calldata proof
) public view returns (bool)

User Sign Up Verifier

Verify a user sign up proof with UniRep smart contract.

contracts/Unirep.sol
function verifyUserSignUp(
uint256[] calldata publicSignals,
uint256[8] calldata proof
) public view returns (bool)

Start Transition Verifier

Verify a start transition proof with UniRep smart contract.

contracts/Unirep.sol
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.

contracts/Unirep.sol
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.

contracts/Unirep.sol
function verifyUserStateTransition(
uint256[] calldata publicSignals,
uint256[8] calldata proof
) external view returns (bool)