Minimal Anti Collusion Infrastructure (MACI) v2.5.0 / TallyData
Interface: TallyData
Interface for the tally file data.
Properties
chainId?
optional
chainId:string
The chain ID for which these proofs are valid for
Defined in
utils/interfaces.ts:52
isQuadratic
isQuadratic:
boolean
Whether the poll is using quadratic voting or not.
Defined in
utils/interfaces.ts:57
maci
maci:
string
The MACI address.
Defined in
utils/interfaces.ts:36
network?
optional
network:string
The name of the network for which these proofs are valid for
Defined in
utils/interfaces.ts:47
newTallyCommitment
newTallyCommitment:
string
The new tally commitment.
Defined in
utils/interfaces.ts:67
perVOSpentVoiceCredits?
optional
perVOSpentVoiceCredits:object
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.
Defined in
utils/interfaces.ts:112
pollId
pollId:
string
The ID of the poll.
Defined in
utils/interfaces.ts:41
results
results:
object
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.
Defined in
utils/interfaces.ts:72
tallyAddress
tallyAddress:
string
The address of the Tally contract.
Defined in
utils/interfaces.ts:62
totalSpentVoiceCredits
totalSpentVoiceCredits:
object
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.
Defined in
utils/interfaces.ts:92