Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option.

Hierarchy

  • Vote

Properties

option: VoteOption

Deprecated: Prefer to use options instead. This field is set in queries if and only if len(options) == 1 and that option has weight 1. In all other cases, this field will default to VOTE_OPTION_UNSPECIFIED.

Deprecated

Since: cosmos-sdk 0.43

proposalId: number
voter: string

Generated using TypeDoc