Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IJsonPoll

Interface: IJsonPoll

Defined in: utils/types.ts:94

This interface defines the JSON representation of a Poll

Properties

ballots

ballots: IJsonBallot[]

Defined in: utils/types.ts:103


batchHashes

batchHashes: string[]

Defined in: utils/types.ts:114


batchSizes

batchSizes: IBatchSizes

Defined in: utils/types.ts:98


chainHash

chainHash: string

Defined in: utils/types.ts:112


commands

commands: IJsonPCommand[]

Defined in: utils/types.ts:102


currentMessageBatchIndex

currentMessageBatchIndex: number

Defined in: utils/types.ts:106


encryptionPublicKeys

encryptionPublicKeys: string[]

Defined in: utils/types.ts:105


maxVoteOptions

maxVoteOptions: number

Defined in: utils/types.ts:99


messages

messages: unknown[]

Defined in: utils/types.ts:101


mode

mode: EMode

Defined in: utils/types.ts:115


pollEndTimestamp

pollEndTimestamp: string

Defined in: utils/types.ts:96


pollNullifiers

pollNullifiers: string[]

Defined in: utils/types.ts:113


pollStateLeaves

pollStateLeaves: IJsonStateLeaf[]

Defined in: utils/types.ts:108


publicKeys

publicKeys: IJsonPublicKey[]

Defined in: utils/types.ts:107


results

results: string[]

Defined in: utils/types.ts:109


stateTreeDepth

stateTreeDepth: number

Defined in: utils/types.ts:95


totalBatchesProcessed

totalBatchesProcessed: number

Defined in: utils/types.ts:110


totalSignups

totalSignups: string

Defined in: utils/types.ts:111


treeDepths

treeDepths: ITreeDepths

Defined in: utils/types.ts:97


voteCounts

voteCounts: IJsonVoteCounts[]

Defined in: utils/types.ts:104


voteOptions

voteOptions: string

Defined in: utils/types.ts:100