Skip to main content
Version: 28.0.x

Module: CorporateBallot Types

Enumerations

Interfaces

Type Aliases

BallotVote

Ƭ BallotVote: Object

Type declaration

NameTypeDescription
fallback?BigNumberThe 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).
powerBigNumberThe power of the vote.

Defined in

api/entities/CorporateBallot/types.ts:21


ChoiceWithParticipation

Ƭ ChoiceWithParticipation: Object

Type declaration

NameTypeDescription
choicestringThe choice of the motion for which the votes are cast.
fallback?BigNumberThe fallback choice for the vote.
powerBigNumberThe power of the vote.

Defined in

api/entities/CorporateBallot/types.ts:110


ChoiceWithVotes

Ƭ ChoiceWithVotes: Object

Type declaration

NameTypeDescription
choicestringThe choice of the motion for which the votes are cast.
votesBigNumberThe 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[] }

Defined in

api/entities/CorporateBallot/types.ts:134