Contract API
Constructor​
Contract ABI:
constructor(uint8 _treeLevels, uint232 _firstExternalNullifier)
_treeLevels
: The depth of the identity tree._firstExternalNullifier
: The first identity nullifier to add.
The depth of the identity tree determines how many identity commitments may be
added to this contract: 2 ^ _treeLevels
. Once the tree is full, further
insertions will fail with the revert reason IncrementalMerkleTree: tree is full
.
The first external nullifier will be added as an external nullifier to the contract, and this external nullifier will be active once the deployment completes.