Preparing search index...
The search index is not available
snarky-smt
snarky-smt
BaseMerkleProof
Class BaseMerkleProof
Merkle proof CircuitValue for an element in a MerkleTree.
Hierarchy
CircuitValue
BaseMerkleProof
Index
Constructors
constructor
Properties
root
side
Nodes
height
Methods
assert
Equals
equals
height
is
Constant
to
Constant
to
Fields
toJSON
check
from
Fields
fromJSON
from
Object
size
In
Fields
to
Auxiliary
to
Constant
to
Fields
to
Input
toJSON
Constructors
constructor
new
Base
Merkle
Proof
(
root
:
Field
, sideNodes
:
Field
[]
)
:
BaseMerkleProof
Parameters
root:
Field
sideNodes:
Field
[]
Returns
BaseMerkleProof
Properties
root
root
:
Field
side
Nodes
side
Nodes
:
Field
[]
Static
height
height
:
number
Methods
assert
Equals
assert
Equals
(
x
:
BaseMerkleProof
)
:
void
Parameters
x:
BaseMerkleProof
Returns
void
equals
equals
(
x
:
BaseMerkleProof
)
:
Bool
Parameters
x:
BaseMerkleProof
Returns
Bool
height
height
(
)
:
number
Returns
number
is
Constant
is
Constant
(
)
:
boolean
Returns
boolean
to
Constant
to
Constant
(
)
:
BaseMerkleProof
Returns
BaseMerkleProof
to
Fields
to
Fields
(
)
:
Field
[]
Returns
Field
[]
toJSON
toJSON
(
)
:
any
Returns
any
Static
check
check
<
T
>
(
this
:
T
, v
:
InstanceType
<
T
>
)
:
void
Type Parameters
T
extends
AnyConstructor
Parameters
this:
T
v:
InstanceType
<
T
>
Returns
void
Static
from
Fields
from
Fields
<
T
>
(
this
:
T
, xs
:
Field
[]
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this:
T
xs:
Field
[]
Returns
InstanceType
<
T
>
Static
fromJSON
fromJSON
<
T
>
(
this
:
T
, value
:
any
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this:
T
value:
any
Returns
InstanceType
<
T
>
Static
from
Object
from
Object
<
T
>
(
this
:
T
, value
:
NonMethods
<
InstanceType
<
T
>
>
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this:
T
value:
NonMethods
<
InstanceType
<
T
>
>
Returns
InstanceType
<
T
>
Static
size
In
Fields
size
In
Fields
(
)
:
number
Returns
number
Static
to
Auxiliary
to
Auxiliary
(
)
:
[
]
Returns
[
]
Static
to
Constant
to
Constant
<
T
>
(
this
:
T
, t
:
InstanceType
<
T
>
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this:
T
t:
InstanceType
<
T
>
Returns
InstanceType
<
T
>
Static
to
Fields
to
Fields
<
T
>
(
this
:
T
, v
:
InstanceType
<
T
>
)
:
Field
[]
Type Parameters
T
extends
AnyConstructor
Parameters
this:
T
v:
InstanceType
<
T
>
Returns
Field
[]
Static
to
Input
to
Input
<
T
>
(
this
:
T
, v
:
InstanceType
<
T
>
)
:
HashInput
Type Parameters
T
extends
AnyConstructor
Parameters
this:
T
v:
InstanceType
<
T
>
Returns
HashInput
Static
toJSON
toJSON
<
T
>
(
this
:
T
, v
:
InstanceType
<
T
>
)
:
any
Type Parameters
T
extends
AnyConstructor
Parameters
this:
T
v:
InstanceType
<
T
>
Returns
any
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
snarky-
smt
Base
Merkle
Proof
constructor
root
side
Nodes
height
assert
Equals
equals
height
is
Constant
to
Constant
to
Fields
toJSON
check
from
Fields
fromJSON
from
Object
size
In
Fields
to
Auxiliary
to
Constant
to
Fields
to
Input
toJSON
Generated using
TypeDoc
Merkle proof CircuitValue for an element in a MerkleTree.