Skip to main content
Version: v2.0_alpha

Minimal Anti Collusion Infrastructure (MACI) v2.0.0-alpha / ITallyCircuitInputs

Interface: ITallyCircuitInputs

An interface describing the circuit inputs to the TallyVotes circuit

Properties

ballotPathElements

ballotPathElements: PathElements

Defined in

utils/types.ts:183


ballotRoot

ballotRoot: string

Defined in

utils/types.ts:175


ballots

ballots: string[]

Defined in

utils/types.ts:182


currentPerVOSpentVoiceCredits?

optional currentPerVOSpentVoiceCredits: string[]

Defined in

utils/types.ts:189


currentPerVOSpentVoiceCreditsRootSalt?

optional currentPerVOSpentVoiceCreditsRootSalt: string

Defined in

utils/types.ts:190


currentResults

currentResults: string[]

Defined in

utils/types.ts:185


currentResultsRootSalt

currentResultsRootSalt: string

Defined in

utils/types.ts:186


currentSpentVoiceCreditSubtotal

currentSpentVoiceCreditSubtotal: string

Defined in

utils/types.ts:187


currentSpentVoiceCreditSubtotalSalt

currentSpentVoiceCreditSubtotalSalt: string

Defined in

utils/types.ts:188


currentTallyCommitment

currentTallyCommitment: string

Defined in

utils/types.ts:178


inputHash

inputHash: string

Defined in

utils/types.ts:181


newPerVOSpentVoiceCreditsRootSalt?

optional newPerVOSpentVoiceCreditsRootSalt: string

Defined in

utils/types.ts:192


newResultsRootSalt

newResultsRootSalt: string

Defined in

utils/types.ts:191


newSpentVoiceCreditSubtotalSalt

newSpentVoiceCreditSubtotalSalt: string

Defined in

utils/types.ts:193


newTallyCommitment

newTallyCommitment: string

Defined in

utils/types.ts:179


packedVals

packedVals: string

Defined in

utils/types.ts:180


sbCommitment

sbCommitment: string

Defined in

utils/types.ts:177


sbSalt

sbSalt: string

Defined in

utils/types.ts:176


stateRoot

stateRoot: string

Defined in

utils/types.ts:174


votes

votes: string[][]

Defined in

utils/types.ts:184