Options
All
  • Public
  • Public/Protected
  • All
Menu

In order to prevent validators from copying each others' price votes, voting occurs in 2 stages. Firstly, you must pre-commit to a price by submitting a MsgExchangeRatePrevote containing a hash, and then reveal your price in the subsequent vote period.

The vote hash reported in the prevote must match the hash of the vote's data in order for the vote to count. Otherwise, it is automatically a miss.

Hierarchy

Index

Interfaces

Constructors

Properties

Methods

Constructors

constructor

Properties

denom

denom: Denom

denom for reporting the exchange rate

feeder

feeder: AccAddress

validator's feeder account address

hash

hash: string

vote hash

validator

validator: ValAddress

validator's operator address

Methods

toData

toJSON

  • toJSON(): string

Static fromData

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Property

Generated using TypeDoc