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

    Interface iMsgCastVote<T>

    interface iMsgCastVote<T extends NumberType> {
        approvalId: string;
        approvalLevel: string;
        approverAddress: string;
        collectionId: T;
        creator: string;
        proposalId: string;
        yesWeight: T;
    }

    Type Parameters

    Implemented by

    Index

    Properties

    approvalId: string

    The approval ID.

    approvalLevel: string

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

    approverAddress: string

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

    collectionId: T

    The collection ID for the voting challenge.

    creator: string

    The creator of the transaction.

    proposalId: string

    The proposal ID (challenge ID) from the VotingChallenge.

    yesWeight: T

    The percentage weight (0-100) allocated to "yes" vote. The remaining percentage (100 - yesWeight) is allocated to "no" vote.