Class VotingData

VotingData holds participation information

Implements

Constructors

  • Parameters

    • params: {
          selectionID: Uint8Array;
          stateProofID: Uint8Array;
          voteFirstValid: bigint;
          voteID: Uint8Array;
          voteKeyDilution: bigint;
          voteLastValid: bigint;
      }
      • selectionID: Uint8Array
      • stateProofID: Uint8Array
      • voteFirstValid: bigint
      • voteID: Uint8Array
      • voteKeyDilution: bigint
      • voteLastValid: bigint

    Returns VotingData

Properties

selectionID: Uint8Array
stateProofID: Uint8Array
voteFirstValid: bigint
voteID: Uint8Array
voteKeyDilution: bigint
voteLastValid: 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