Skip to main content
Version: v2.0_alpha

TallyData

Interface for the tally file data.

Table of contents

Properties

Properties

chainId

Optional chainId: string

The chain ID for which these proofs are valid for

Defined in

utils/interfaces.ts:48


isQuadratic

isQuadratic: boolean

Whether the poll is using quadratic voting or not.

Defined in

utils/interfaces.ts:53


maci

maci: string

The MACI address.

Defined in

utils/interfaces.ts:32


network

Optional network: string

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

Defined in

utils/interfaces.ts:43


newTallyCommitment

newTallyCommitment: string

The new tally commitment.

Defined in

utils/interfaces.ts:63


perVOSpentVoiceCredits

Optional perVOSpentVoiceCredits: Object

The per VO spent voice credits.

Type declaration

NameTypeDescription
commitmentstringThe commitment of the per VO spent voice credits.
saltstringThe salt of the per VO spent voice credits.
tallystring[]The tally of the per VO spent voice credits.

Defined in

utils/interfaces.ts:108


pollId

pollId: string

The ID of the poll.

Defined in

utils/interfaces.ts:37


results

results: Object

The results of the poll.

Type declaration

NameTypeDescription
commitmentstringThe commitment of the results.
saltstringThe salt of the results.
tallystring[]The tally of the results.

Defined in

utils/interfaces.ts:68


tallyAddress

tallyAddress: string

The address of the Tally contract.

Defined in

utils/interfaces.ts:58


totalSpentVoiceCredits

totalSpentVoiceCredits: Object

The total spent voice credits.

Type declaration

NameTypeDescription
commitmentstringThe commitment of the spent voice credits.
saltstringThe salt of the spent voice credits.
spentstringThe spent voice credits.

Defined in

utils/interfaces.ts:88