Class BaseMerkleProof

Merkle proof CircuitValue for an element in a MerkleTree.

BaseMerkleProof

Hierarchy

  • CircuitValue
    • BaseMerkleProof

Constructors

Properties

root: Field
sideNodes: Field[]
height: number

Methods

  • Type Parameters

    • T extends AnyConstructor

    Parameters

    • this: T
    • xs: Field[]

    Returns InstanceType<T>

  • Type Parameters

    • T extends AnyConstructor

    Parameters

    • this: T
    • value: any

    Returns InstanceType<T>

  • Type Parameters

    • T extends AnyConstructor

    Parameters

    • this: T
    • value: NonMethods<InstanceType<T>>

    Returns InstanceType<T>

  • Type Parameters

    • T extends AnyConstructor

    Parameters

    • this: T
    • value: any

    Returns InstanceType<T>

  • Type Parameters

    • T extends AnyConstructor

    Parameters

    • this: T
    • t: InstanceType<T>

    Returns InstanceType<T>

  • Type Parameters

    • T extends AnyConstructor

    Parameters

    • this: T
    • v: InstanceType<T>

    Returns HashInput