bitbadgesjs-sdk - v0.22.7
    Preparing search index...

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

    from message cosmos.gov.v1beta1.Vote

    Hierarchy

    Index

    Constructors

    Properties

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

    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.

    from field: cosmos.gov.v1beta1.VoteOption option = 3 [deprecated = true];

    options is the weighted vote options.

    Since: cosmos-sdk 0.43

    from field: repeated cosmos.gov.v1beta1.WeightedVoteOption options = 4;

    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 of the proposal.

    from field: string voter = 2;

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

    Methods