Minimal Anti Collusion Infrastructure (MACI) / generatePollJoiningVerifyingKeySignature
Function: generatePollJoiningVerifyingKeySignature()
generatePollJoiningVerifyingKeySignature(
stateTreeDepth):bigint
Defined in: utils/utils.ts:10
This function generates the signature of a Poll Joining Verifying Key. This can be used to check if a PollJoining' circuit verifying key is registered in a smart contract that holds several verifying keys.
Parameters
stateTreeDepth
number
The depth of the state tree.
Returns
bigint
Returns a signature for querying if a verifying key with the given parameters is already registered in the contract.