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

    Class Vote

    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.v1.Vote

    Hierarchy

    Index

    Constructors

    Properties

    metadata: string = ""

    metadata is any arbitrary metadata to attached to the vote.

    from field: string metadata = 5;

    options is the weighted vote options.

    from field: repeated cosmos.gov.v1.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.v1.Vote"

    Methods