Skip to content

api.entities.CorporateBallot.types

polymesh-bot edited this page Jun 3, 2025 · 4 revisions

Module: api/entities/CorporateBallot/types

Table of contents

Enumerations

Interfaces

Type Aliases

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


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

Clone this wiki locally