MsgVoteWeighted defines a message to cast a vote.

Since: cosmos-sdk 0.43

from message cosmos.gov.v1beta1.MsgVoteWeighted

Hierarchy

Constructors

Properties

options defines the weighted vote options.

from field: repeated cosmos.gov.v1beta1.WeightedVoteOption options = 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.MsgVoteWeighted" = "cosmos.gov.v1beta1.MsgVoteWeighted"

Methods