MsgVote is the Msg/Vote request type.

from message cosmos.group.v1.MsgVote

Hierarchy

Constructors

Properties

exec: Exec = Exec.UNSPECIFIED

exec defines whether the proposal should be executed immediately after voting or not.

from field: cosmos.group.v1.Exec exec = 5;

metadata: string = ""

metadata is any arbitrary metadata attached to the vote.

from field: string metadata = 4;

option: proto.cosmos.group.v1.VoteOption = VoteOption.UNSPECIFIED

option is the voter's choice on the proposal.

from field: cosmos.group.v1.VoteOption option = 3;

proposalId: bigint = protoInt64.zero

proposal is the unique ID of the proposal.

from field: uint64 proposal_id = 1;

voter: string = ""

voter is the voter account address.

from field: string voter = 2;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.group.v1.MsgVote" = "cosmos.group.v1.MsgVote"

Methods