Class StateProof

An interface for objects that can be encoded and decoded to/from msgpack and JSON.

Implements

Constructors

Properties

merkleSignatureSaltVersion: number
partProofs: MerkleArrayProof
positionsToReveal: bigint[]
reveals: Map<bigint, Reveal>

Reveals is a sparse map from the position being revealed to the corresponding elements from the sigs and participants arrays.

sigCommit: Uint8Array
sigProofs: MerkleArrayProof
signedWeight: bigint
encodingSchema: NamedMapSchema = ...

Methods

  • Extract the encoding data for this object. This data, after being prepared by the encoding Schema, can be encoded to msgpack or JSON.

    Returns Map<string, unknown>

Generated using TypeDoc