MsgVote defines a message to cast a vote.

from message cosmos.gov.v1beta1.MsgVote

Hierarchy

Constructors

Properties

option: proto.cosmos.gov.v1beta1.VoteOption = VoteOption.UNSPECIFIED

option defines the vote option.

from field: cosmos.gov.v1beta1.VoteOption option = 3;

proposalId: bigint = protoInt64.zero

proposal_id defines the unique id of the proposal.

from field: uint64 proposal_id = 1;

voter: string = ""

voter is the voter address for the proposal.

from field: string voter = 2;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.gov.v1beta1.MsgVote" = "cosmos.gov.v1beta1.MsgVote"

Methods