Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / TallyData

Interface: TallyData

Defined in: packages/sdk/ts/utils/interfaces.ts:9

Interface for the tally file data.

Properties

chainId?

optional chainId: string

Defined in: packages/sdk/ts/utils/interfaces.ts:29

The chain ID for which these proofs are valid for


isQuadratic

isQuadratic: boolean

Defined in: packages/sdk/ts/utils/interfaces.ts:34

Whether the poll is using quadratic voting or not.


maci

maci: string

Defined in: packages/sdk/ts/utils/interfaces.ts:13

The MACI address.


network?

optional network: string

Defined in: packages/sdk/ts/utils/interfaces.ts:24

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


newTallyCommitment

newTallyCommitment: string

Defined in: packages/sdk/ts/utils/interfaces.ts:44

The new tally commitment.


perVOSpentVoiceCredits?

optional perVOSpentVoiceCredits: object

Defined in: packages/sdk/ts/utils/interfaces.ts:89

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: packages/sdk/ts/utils/interfaces.ts:18

The ID of the poll.


results

results: object

Defined in: packages/sdk/ts/utils/interfaces.ts:49

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: packages/sdk/ts/utils/interfaces.ts:39

The address of the Tally contract.


totalSpentVoiceCredits

totalSpentVoiceCredits: object

Defined in: packages/sdk/ts/utils/interfaces.ts:69

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.