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

    Class VoteProof<T>

    VoteProof represents a vote cast for a voting challenge.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    proposalId: string

    The proposal ID this vote is for.

    voter: string

    The address of the voter casting the vote.

    yesWeight: T

    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.

    Methods