Interface: iVotingChallenge<T>
T extends NumberType
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/core.ts:720
Type Parameters
T
T extends NumberType
Properties
customData?
optionalcustomData?:string
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/core.ts:746
Arbitrary custom data associated with this voting challenge.
delayAfterQuorum?
optionaldelayAfterQuorum?:T
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/core.ts:756
Mandatory delay in milliseconds after quorum is reached before the transfer can execute.
proposalId
proposalId:
string
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/core.ts:725
The ID of this voting challenge for tracking votes (scoped like challengeTrackerId). Format: collectionId-approverAddress-approvalLevel-approvalId-challengeId
quorumThreshold
quorumThreshold:
T
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/core.ts:731
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.
resetAfterExecution?
optionalresetAfterExecution?:boolean
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/core.ts:751
If true, all votes for this challenge are cleared after a successful transfer execution.
uri?
optionaluri?:string
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/core.ts:741
The URI associated with this voting challenge.
voters
voters:
iVoter<T>[]
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/core.ts:736
List of voters with their weights. Each voter can cast a weighted vote.