Minimal Anti Collusion Infrastructure (MACI) v2.0.0-alpha / genProcessVkSig
Function: genProcessVkSig()
genProcessVkSig(
stateTreeDepth
,messageTreeDepth
,voteOptionTreeDepth
,batchSize
):bigint
Parameters
• stateTreeDepth: number
The depth of the state tree.
• messageTreeDepth: number
The depth of the message tree.
• voteOptionTreeDepth: number
The depth of the vote option tree.
• batchSize: number
The size of the batch.
Returns
bigint
Returns a signature for querying if a verifying key with the given parameters is already registered in the contract.
Defined in
utils/utils.ts:14