Static checkReturns true if the value is in the tree and it is at the index from the key
Optional value: VOptional valueType: Provable<V>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.
{boolean}
CSMTUtils
Static checkReturns true if there is no value at the index from the key
Optional options: { hasher: The hash function to use, defaults to PoseidonHasherFunc; hashKey: whether to hash the key, the default is true
{boolean}
CSMTUtils
Static compactCompact proof Of Compact Sparse Merkle Tree
Optional hasher: Hasher = PoseidonHasherFunc{CSparseCompactMerkleProof}
CSMTUtils
Static decompactDecompact compact proof of Compact Sparse Merkle Tree
Optional hasher: Hasher = PoseidonHasherFunc{CompactSparseMerkleProof}
CSMTUtils
Static verifyVerify Compact Proof for Compact Sparse Merkle Tree
Optional value: VOptional valueType: Provable<V>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.
{boolean}
CSMTUtils
Static verifyVerify Proof of Compact Sparse Merkle Tree
Optional value: VOptional valueType: Provable<V>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.
{boolean}
CSMTUtils
Static verifyVerify a merkle proof, return result and updates.
Optional value: VOptional valueType: Provable<V>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.
{({ ok: boolean; updates: [Field, Field[]][] | null; })}
CSMTUtils
Collection of utility functions for compact sparse merkle tree
CSMTUtils