Skip to main content
Version: v2.0_alpha

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

Function: packProcessMessageSmallVals()

packProcessMessageSmallVals(maxVoteOptions, numUsers, batchStartIndex, batchEndIndex): bigint

Parameters

maxVoteOptions: bigint

The maximum number of vote options.

numUsers: bigint

The number of users.

batchStartIndex: number

The start index of the batch.

batchEndIndex: number

The end index of the batch.

Returns

bigint

Returns a single bigint that contains the packed values.

Defined in

utils/utils.ts:49