Creates an instance of ProvableDeepSparseMerkleSubTree.
merkle root
Optional
options: { hasher: The hash function to use, defaults to PoseidonHasherFunc; hashKey: whether to hash the key, the default is true; hashValue: whether to hash the value, the default is true.
ProvableDeepSparseMerkleSubTree
Private
configPrivate
hasherPrivate
keyPrivate
nodePrivate
rootPrivate
valuePrivate
valueAdd a branch to the tree, a branch is generated by smt.prove.
Optional
value: VProvableDeepSparseMerkleSubTree
Private
getPrivate
getOptional
value: VCreate a merkle proof for a key against the current root.
{SparseMerkleProof}
ProvableDeepSparseMerkleSubTree
ProvableDeepSparseMerkleSubTree is a deep sparse merkle subtree for working on only a few leafs in circuit.
ProvableDeepSparseMerkleSubTree