Properties
nonMembershipLeafData
nonMembershipLeafData: Field[] = ...
root
root: Field = Field
siblingData
siblingData: Field[] = ...
sideNodes
sideNodes: Field[] = ...
Static
_isStruct
_isStruct: true
Static
check
check: ((x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}) => void)
Type declaration
-
- (x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}): void
-
Parameters
-
x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
nonMembershipLeafData: Field[]
-
root: Field
-
siblingData: Field[]
-
sideNodes: Field[]
Returns void
Static
fromFields
fromFields: ((x: Field[]) => {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
})
Type declaration
-
- (x: Field[]): {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
Returns {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
nonMembershipLeafData: Field[]
-
root: Field
-
siblingData: Field[]
-
sideNodes: Field[]
Static
fromJSON
fromJSON: ((x: {
nonMembershipLeafData: string[];
root: string;
siblingData: string[];
sideNodes: string[];
}) => {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
})
Type declaration
-
- (x: {
nonMembershipLeafData: string[];
root: string;
siblingData: string[];
sideNodes: string[];
}): {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
Parameters
-
x: {
nonMembershipLeafData: string[];
root: string;
siblingData: string[];
sideNodes: string[];
}
-
nonMembershipLeafData: string[]
-
root: string
-
siblingData: string[]
-
sideNodes: string[]
Returns {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
nonMembershipLeafData: Field[]
-
root: Field
-
siblingData: Field[]
-
sideNodes: Field[]
Static
toAuxiliary
toAuxiliary: ((x?: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}) => [])
Type declaration
-
- (x?: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}): []
-
Parameters
-
Optional
x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
nonMembershipLeafData: Field[]
-
root: Field
-
siblingData: Field[]
-
sideNodes: Field[]
Returns []
Static
toFields
toFields: ((x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}) => Field[])
Type declaration
-
- (x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}): Field[]
-
Parameters
-
x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
nonMembershipLeafData: Field[]
-
root: Field
-
siblingData: Field[]
-
sideNodes: Field[]
Returns Field[]
Static
toInput
toInput: ((x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}) => {
fields?: Field[];
packed?: [Field, number][];
})
Type declaration
-
- (x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}): {
fields?: Field[];
packed?: [Field, number][];
}
-
Parameters
-
x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
nonMembershipLeafData: Field[]
-
root: Field
-
siblingData: Field[]
-
sideNodes: Field[]
Returns {
fields?: Field[];
packed?: [Field, number][];
}
-
Optional
fields?: Field[]
-
Optional
packed?: [Field, number][]
Static
toJSON
toJSON: ((x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}) => {
nonMembershipLeafData: string[];
root: string;
siblingData: string[];
sideNodes: string[];
})
Type declaration
-
- (x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}): {
nonMembershipLeafData: string[];
root: string;
siblingData: string[];
sideNodes: string[];
}
-
Parameters
-
x: {
nonMembershipLeafData: Field[];
root: Field;
siblingData: Field[];
sideNodes: Field[];
}
-
nonMembershipLeafData: Field[]
-
root: Field
-
siblingData: Field[]
-
sideNodes: Field[]
Returns {
nonMembershipLeafData: string[];
root: string;
siblingData: string[];
sideNodes: string[];
}
-
nonMembershipLeafData: string[]
-
root: string
-
siblingData: string[]
-
sideNodes: string[]
Proof for compact sparse merkle tree