Minimal Anti Collusion Infrastructure (MACI) / generatePollJoinedVerifyingKeySignature
Function: generatePollJoinedVerifyingKeySignature()
generatePollJoinedVerifyingKeySignature(
stateTreeDepth):bigint
Defined in: utils/utils.ts:20
This function generates the signature of a Poll Joined Verifying Key. This can be used to check if a PollJoined' 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.