Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / ITallyVotesInputs

Interface: ITallyVotesInputs

Defined in: packages/sdk/ts/tally/types.ts:184

Inputs for circuit TallyVotes

Properties

ballotPathElements

ballotPathElements: bigint[]

Defined in: packages/sdk/ts/tally/types.ts:194


ballotRoot

ballotRoot: bigint

Defined in: packages/sdk/ts/tally/types.ts:186


ballots

ballots: bigint[]

Defined in: packages/sdk/ts/tally/types.ts:193


currentPerVoteOptionSpentVoiceCredits

currentPerVoteOptionSpentVoiceCredits: bigint[]

Defined in: packages/sdk/ts/tally/types.ts:200


currentPerVoteOptionSpentVoiceCreditsRootSalt

currentPerVoteOptionSpentVoiceCreditsRootSalt: bigint

Defined in: packages/sdk/ts/tally/types.ts:201


currentResults

currentResults: bigint[]

Defined in: packages/sdk/ts/tally/types.ts:196


currentResultsRootSalt

currentResultsRootSalt: bigint

Defined in: packages/sdk/ts/tally/types.ts:197


currentSpentVoiceCreditSubtotal

currentSpentVoiceCreditSubtotal: bigint

Defined in: packages/sdk/ts/tally/types.ts:198


currentSpentVoiceCreditSubtotalSalt

currentSpentVoiceCreditSubtotalSalt: bigint

Defined in: packages/sdk/ts/tally/types.ts:199


currentTallyCommitment

currentTallyCommitment: bigint

Defined in: packages/sdk/ts/tally/types.ts:191


index

index: bigint

Defined in: packages/sdk/ts/tally/types.ts:188


newPerVoteOptionSpentVoiceCreditsRootSalt

newPerVoteOptionSpentVoiceCreditsRootSalt: bigint

Defined in: packages/sdk/ts/tally/types.ts:203


newResultsRootSalt

newResultsRootSalt: bigint

Defined in: packages/sdk/ts/tally/types.ts:202


newSpentVoiceCreditSubtotalSalt

newSpentVoiceCreditSubtotalSalt: bigint

Defined in: packages/sdk/ts/tally/types.ts:204


newTallyCommitment

newTallyCommitment: bigint

Defined in: packages/sdk/ts/tally/types.ts:192


sbCommitment

sbCommitment: bigint

Defined in: packages/sdk/ts/tally/types.ts:190


sbSalt

sbSalt: bigint

Defined in: packages/sdk/ts/tally/types.ts:187


stateRoot

stateRoot: bigint

Defined in: packages/sdk/ts/tally/types.ts:185


totalSignups

totalSignups: bigint

Defined in: packages/sdk/ts/tally/types.ts:189


votes

votes: bigint[][]

Defined in: packages/sdk/ts/tally/types.ts:195