Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IVoteTallyCircuitInputs

Interface: IVoteTallyCircuitInputs

Defined in: utils/types.ts:225

An interface describing the circuit inputs to the VoteTally circuit

Properties​

ballotPathElements​

ballotPathElements: PathElements

Defined in: utils/types.ts:236


ballotRoot​

ballotRoot: string

Defined in: utils/types.ts:227


ballots​

ballots: string[]

Defined in: utils/types.ts:235


currentPerVoteOptionSpentVoiceCredits?​

optional currentPerVoteOptionSpentVoiceCredits: string[]

Defined in: utils/types.ts:245


currentPerVoteOptionSpentVoiceCreditsRootSalt?​

optional currentPerVoteOptionSpentVoiceCreditsRootSalt: string

Defined in: utils/types.ts:246


currentResults​

currentResults: string[]

Defined in: utils/types.ts:241


currentResultsRootSalt​

currentResultsRootSalt: string

Defined in: utils/types.ts:242


currentSpentVoiceCreditSubtotal​

currentSpentVoiceCreditSubtotal: string

Defined in: utils/types.ts:243


currentSpentVoiceCreditSubtotalSalt​

currentSpentVoiceCreditSubtotalSalt: string

Defined in: utils/types.ts:244


currentTallyCommitment​

currentTallyCommitment: string

Defined in: utils/types.ts:232


index​

index: bigint

Defined in: utils/types.ts:231


newPerVoteOptionSpentVoiceCreditsRootSalt?​

optional newPerVoteOptionSpentVoiceCreditsRootSalt: string

Defined in: utils/types.ts:248


newResultsRootSalt​

newResultsRootSalt: string

Defined in: utils/types.ts:247


newSpentVoiceCreditSubtotalSalt​

newSpentVoiceCreditSubtotalSalt: string

Defined in: utils/types.ts:249


newTallyCommitment​

newTallyCommitment: string

Defined in: utils/types.ts:233


sbCommitment​

sbCommitment: string

Defined in: utils/types.ts:230


sbSalt​

sbSalt: string

Defined in: utils/types.ts:229


stateRoot​

stateRoot: string

Defined in: utils/types.ts:226


totalSignups​

totalSignups: bigint

Defined in: utils/types.ts:234


voteCounts​

voteCounts: string[]

Defined in: utils/types.ts:238


voteCountsData​

voteCountsData: string[][]

Defined in: utils/types.ts:240


voteCountsPathElements​

voteCountsPathElements: PathElements

Defined in: utils/types.ts:239


voteCountsRoot​

voteCountsRoot: string

Defined in: utils/types.ts:228


votes​

votes: string[][]

Defined in: utils/types.ts:237