Minimal Anti Collusion Infrastructure (MACI) v2.0.0-alpha / genTallyVkSig
Function: genTallyVkSig()
genTallyVkSig(
_stateTreeDepth
,_intStateTreeDepth
,_voteOptionTreeDepth
):bigint
Parameters
• _stateTreeDepth: number
The depth of the state tree.
• _intStateTreeDepth: number
The depth of the intermediate state tree.
• _voteOptionTreeDepth: number
The depth of the vote option tree.
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:35