Minimal Anti Collusion Infrastructure (MACI) / ITallyData
Interface: ITallyData
Defined in: packages/sdk/ts/tally/types.ts:7
Interface for the tally file data.
Properties
chainId?
optional
chainId:string
Defined in: packages/sdk/ts/tally/types.ts:27
The chain ID for which these proofs are valid for
maci
maci:
string
Defined in: packages/sdk/ts/tally/types.ts:11
The MACI address.
mode
mode:
EMode
Defined in: packages/sdk/ts/tally/types.ts:32
Voting mode
network?
optional
network:string
Defined in: packages/sdk/ts/tally/types.ts:22
The name of the network for which these proofs are valid for
newTallyCommitment
newTallyCommitment:
string
Defined in: packages/sdk/ts/tally/types.ts:42
The new tally commitment.
perVoteOptionSpentVoiceCredits?
optional
perVoteOptionSpentVoiceCredits:object
Defined in: packages/sdk/ts/tally/types.ts:87
The per vote option spent voice credits.
commitment
commitment:
string
The commitment of the per vote option spent voice credits.
salt
salt:
string
The salt of the per vote option spent voice credits.
tally
tally:
string
[]
The tally of the per vote option spent voice credits.
pollId
pollId:
string
Defined in: packages/sdk/ts/tally/types.ts:16
The ID of the poll.
results
results:
object
Defined in: packages/sdk/ts/tally/types.ts:47
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/tally/types.ts:37
The address of the Tally contract.
totalSpentVoiceCredits
totalSpentVoiceCredits:
object
Defined in: packages/sdk/ts/tally/types.ts:67
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.