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

    Class MsgCastVote

    MsgCastVote allows a voter to cast or update their vote for a voting challenge.

    from message badges.MsgCastVote

    Hierarchy

    Index

    Constructors

    Properties

    approvalId: string = ""

    The approval ID.

    from field: string approvalId = 5;

    approvalLevel: string = ""

    The approval level ("collection", "incoming", or "outgoing").

    from field: string approvalLevel = 3;

    approverAddress: string = ""

    The approver address (empty string for collection-level approvals).

    from field: string approverAddress = 4;

    collectionId: string = ""

    The collection ID for the voting challenge.

    from field: string collectionId = 2;

    creator: string = ""

    The address of the voter casting the vote.

    from field: string creator = 1;

    proposalId: string = ""

    The proposal ID (challenge ID) from the VotingChallenge.

    from field: string proposalId = 6;

    yesWeight: string = ""

    The percentage weight (0-100) allocated to "yes" vote. The remaining percentage (100 - yesWeight) is allocated to "no" vote. Example: yesWeight=70 means 70% yes, 30% no.

    from field: string yesWeight = 7;

    fields: FieldList = ...
    runtime: ProtoRuntime = proto3
    typeName: "badges.MsgCastVote"

    Methods