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

    Interface iVotingChallenge<T>

    interface iVotingChallenge<T extends NumberType> {
        customData?: string;
        proposalId: string;
        quorumThreshold: T;
        uri?: string;
        voters: iVoter<T>[];
    }

    Type Parameters

    Implemented by

    Index

    Properties

    customData?: string

    Arbitrary custom data associated with this voting challenge.

    proposalId: string

    The ID of this voting challenge for tracking votes (scoped like challengeTrackerId). Format: collectionId-approverAddress-approvalLevel-approvalId-challengeId

    quorumThreshold: T

    The quorum threshold as a percentage (0-100) of total possible weight that must vote "yes". Example: 50 means 50% of total voter weight must vote yes for approval.

    uri?: string

    The URI associated with this voting challenge.

    voters: iVoter<T>[]

    List of voters with their weights. Each voter can cast a weighted vote.