TallyData
Interface for the tally file data.
Table of contents
Properties
- chainId
- isQuadratic
- maci
- network
- newTallyCommitment
- perVOSpentVoiceCredits
- pollId
- results
- tallyAddress
- totalSpentVoiceCredits
Properties
chainId
• Optional
chainId: string
The chain ID for which these proofs are valid for
Defined in
isQuadratic
• isQuadratic: boolean
Whether the poll is using quadratic voting or not.
Defined in
maci
• maci: string
The MACI address.
Defined in
network
• Optional
network: string
The name of the network for which these proofs are valid for
Defined in
newTallyCommitment
• newTallyCommitment: string
The new tally commitment.
Defined in
perVOSpentVoiceCredits
• Optional
perVOSpentVoiceCredits: Object
The per VO spent voice credits.
Type declaration
Name | Type | Description |
---|---|---|
commitment | string | The commitment of the per VO spent voice credits. |
salt | string | The salt of the per VO spent voice credits. |
tally | string [] | The tally of the per VO spent voice credits. |
Defined in
pollId
• pollId: string
The ID of the poll.
Defined in
results
• results: Object
The results of the poll.
Type declaration
Name | Type | Description |
---|---|---|
commitment | string | The commitment of the results. |
salt | string | The salt of the results. |
tally | string [] | The tally of the results. |
Defined in
tallyAddress
• tallyAddress: string
The address of the Tally contract.
Defined in
totalSpentVoiceCredits
• totalSpentVoiceCredits: Object
The total spent voice credits.
Type declaration
Name | Type | Description |
---|---|---|
commitment | string | The commitment of the spent voice credits. |
salt | string | The salt of the spent voice credits. |
spent | string | The spent voice credits. |