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

    Class VoteProof

    VoteProof represents a vote cast for a voting challenge.

    from message badges.VoteProof

    Hierarchy

    Index

    Constructors

    Properties

    proposalId: string = ""

    The proposal ID this vote is for.

    from field: string proposalId = 1;

    voter: string = ""

    The address of the voter casting the vote.

    from field: string voter = 2;

    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 = 3;

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

    Methods