Static EMPTY_Empty value for sparse merkle tree
ProvableSMTUtils
Static computeCalculate new root based on sideNodes, keyHashOrKeyField and valueHashOrValueField in circuit.
{Field}
Optional hasher: Hasher = Poseidon.hashStatic verifyVerify a merkle proof by root, keyHashOrKeyField and valueHashOrValueField in circuit.
{Bool}
Optional hasher: Hasher = Poseidon.hashStatic checkReturns true if the value is in the tree and it is at the index from the key
{Bool}
ProvableSMTUtils
Optional options: { Optional hasher?: HasherStatic checkReturns true if there is no value at the index from the key
{Bool}
ProvableSMTUtils
Optional options: { Optional hasher?: HasherStatic computeCalculate new root based on sideNodes, key and value
{Field}
ProvableSMTUtils
Generated using TypeDoc
Collection of utility functions for sparse merkle tree in the circuit.