Module: CorporateBallot Types
Enumerations
Interfaces
Type Aliases
BallotVote
Ƭ BallotVote: Object
Type declaration
| Name | Type | Description |
|---|---|---|
fallback? | BigNumber | The fallback vote to be used if the choice is not found in the ballot. Note This is only allowed for RCV ballots. Note Must point to a choice in a motion (index of the choice in the motion choices array). Note Must not point to the same choice as the vote property (index != choiceIndex). |
power | BigNumber | The power of the vote. |
Defined in
api/entities/CorporateBallot/types.ts:21
ChoiceWithParticipation
Ƭ ChoiceWithParticipation: Object
Type declaration
| Name | Type | Description |
|---|---|---|
choice | string | The choice of the motion for which the votes are cast. |
fallback? | BigNumber | The fallback choice for the vote. |
power | BigNumber | The power of the vote. |
Defined in
api/entities/CorporateBallot/types.ts:110
ChoiceWithVotes
Ƭ ChoiceWithVotes: Object
Type declaration
| Name | Type | Description |
|---|---|---|
choice | string | The choice of the motion for which the votes are cast. |
votes | BigNumber | The number of votes for the choice. |
Defined in
api/entities/CorporateBallot/types.ts:79
CorporateBallotMetaWithResults
Ƭ CorporateBallotMetaWithResults: Omit<BallotMeta, "motions"> & { motions: CorporateBallotMotionWithResults[] }
Defined in
api/entities/CorporateBallot/types.ts:103
CorporateBallotMotionWithParticipation
Ƭ CorporateBallotMotionWithParticipation: Pick<BallotMotion, "title" | "infoLink"> & { choices: ChoiceWithParticipation[] }
Defined in
api/entities/CorporateBallot/types.ts:127
CorporateBallotMotionWithResults
Ƭ CorporateBallotMotionWithResults: Pick<BallotMotion, "title" | "infoLink"> & { choices: ChoiceWithVotes[] ; total: BigNumber }
Defined in
api/entities/CorporateBallot/types.ts:91
CorporateBallotWithParticipation
Ƭ CorporateBallotWithParticipation: Omit<BallotMeta, "motions"> & { motions: CorporateBallotMotionWithParticipation[] }