Class UpgradeVote

UpgradeVote represents the vote of the block proposer with respect to protocol upgrades.

Implements

Constructors

  • Parameters

    • params: {
          upgradeApprove: boolean;
          upgradeDelay: bigint;
          upgradePropose: string;
      }
      • upgradeApprove: boolean
      • upgradeDelay: bigint
      • upgradePropose: string

    Returns UpgradeVote

Properties

upgradeApprove: boolean

UpgradeApprove indicates a yes vote for the current proposal

upgradeDelay: bigint

UpgradeDelay indicates the time between acceptance and execution

upgradePropose: string

UpgradePropose indicates a proposed upgrade

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