WeightedVoteOption defines a unit of vote for vote split.

Since: cosmos-sdk 0.43

from message cosmos.gov.v1beta1.WeightedVoteOption

Hierarchy

Constructors

Properties

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

option defines the valid vote options, it must not contain duplicate vote options.

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

weight: string = ""

weight is the vote weight associated with the vote option.

from field: string weight = 2;

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

Methods