Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / TallyData

Interface: TallyData

Defined in: utils/interfaces.ts:32

Interface for the tally file data.

Properties

chainId?

optional chainId: string

Defined in: utils/interfaces.ts:52

The chain ID for which these proofs are valid for


isQuadratic

isQuadratic: boolean

Defined in: utils/interfaces.ts:57

Whether the poll is using quadratic voting or not.


maci

maci: string

Defined in: utils/interfaces.ts:36

The MACI address.


network?

optional network: string

Defined in: utils/interfaces.ts:47

The name of the network for which these proofs are valid for


newTallyCommitment

newTallyCommitment: string

Defined in: utils/interfaces.ts:67

The new tally commitment.


perVOSpentVoiceCredits?

optional perVOSpentVoiceCredits: object

Defined in: utils/interfaces.ts:112

The per VO spent voice credits.

commitment

commitment: string

The commitment of the per VO spent voice credits.

salt

salt: string

The salt of the per VO spent voice credits.

tally

tally: string[]

The tally of the per VO spent voice credits.


pollId

pollId: string

Defined in: utils/interfaces.ts:41

The ID of the poll.


results

results: object

Defined in: utils/interfaces.ts:72

The results of the poll.

commitment

commitment: string

The commitment of the results.

salt

salt: string

The salt of the results.

tally

tally: string[]

The tally of the results.


tallyAddress

tallyAddress: string

Defined in: utils/interfaces.ts:62

The address of the Tally contract.


totalSpentVoiceCredits

totalSpentVoiceCredits: object

Defined in: utils/interfaces.ts:92

The total spent voice credits.

commitment

commitment: string

The commitment of the spent voice credits.

salt

salt: string

The salt of the spent voice credits.

spent

spent: string

The spent voice credits.