Minimal Anti Collusion Infrastructure (MACI) / TallyData
Interface: TallyData
Defined in: packages/sdk/ts/utils/interfaces.ts:11
Interface for the tally file data.
Properties
chainId?
optional
chainId:string
Defined in: packages/sdk/ts/utils/interfaces.ts:31
The chain ID for which these proofs are valid for
isQuadratic
isQuadratic:
boolean
Defined in: packages/sdk/ts/utils/interfaces.ts:36
Whether the poll is using quadratic voting or not.
maci
maci:
string
Defined in: packages/sdk/ts/utils/interfaces.ts:15
The MACI address.
network?
optional
network:string
Defined in: packages/sdk/ts/utils/interfaces.ts:26
The name of the network for which these proofs are valid for
newTallyCommitment
newTallyCommitment:
string
Defined in: packages/sdk/ts/utils/interfaces.ts:46
The new tally commitment.
perVOSpentVoiceCredits?
optional
perVOSpentVoiceCredits:object
Defined in: packages/sdk/ts/utils/interfaces.ts:91
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:20
The ID of the poll.
results
results:
object
Defined in: packages/sdk/ts/utils/interfaces.ts:51
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:41
The address of the Tally contract.
totalSpentVoiceCredits
totalSpentVoiceCredits:
object
Defined in: packages/sdk/ts/utils/interfaces.ts:71
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.