Minimal Anti Collusion Infrastructure (MACI) v2.0.0-alpha / genTreeProof
Function: genTreeProof()
genTreeProof(
index
,leaves
,depth
):bigint
[][]
Parameters
• index: number
The index of the value to generate the proof for
• leaves: bigint
[]
A list of values
• depth: number
The tree depth
Returns
bigint
[][]
The proof
Defined in
crypto/ts/utils.ts:47