Skip to main content
Version: 2.0.0-beta-4

BaseVerifierHelper.sol

This is a basic verifier helper contract. It contains signals and error codes used across verifier helper contracts.

decodeEpochKeyControl

Decode an epoch key related control from epoch key lite proof, epoch key proof, and reputation proof into named variables.

function decodeEpochKeyControl(uint256 control)
public
pure
returns (
bool revealNonce,
uint160 attesterId,
uint48 epoch,
uint8 nonce
)