Static
EMPTY_Empty value for merkle tree
ProvableMerkleTreeUtils
Static
MerkleCreate a meerkle proof circuit value type based on the specified tree height.
{typeof BaseMerkleProof}
ProvableMerkleTreeUtils
Static
checkReturns true if the value is in the tree and it is at the index from the key
{Bool}
ProvableMerkleTreeUtils
Optional
options: { Optional
hasher?: HasherStatic
checkReturns true if there is no value at the index from the key
{Bool}
ProvableMerkleTreeUtils
Optional
hasher: Hasher = Poseidon.hashStatic
computeCalculate new root based on index and value.
{Field}
ProvableMerkleTreeUtils
Optional
options: { Optional
hasher?: HasherGenerated using TypeDoc
Collection of utility functions for merkle tree in the circuit.