Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IPublishArgs

Interface: IPublishArgs

Defined in: sdk/ts/vote/types.ts:208

Interface for the arguments to the publish command

Extends​

Properties​

maciAddress​

maciAddress: string

Defined in: sdk/ts/vote/types.ts:222

The address of the MACI contract


newVoteWeight​

newVoteWeight: bigint

Defined in: sdk/ts/vote/types.ts:177

The new vote weight

Inherited from​

IPublishMessage.newVoteWeight


nonce​

nonce: bigint

Defined in: sdk/ts/vote/types.ts:172

The nonce of the message

Inherited from​

IPublishMessage.nonce


pollId​

pollId: bigint

Defined in: sdk/ts/vote/types.ts:227

The id of the poll


privateKey​

privateKey: string

Defined in: sdk/ts/vote/types.ts:217

The poll private key


publicKey​

publicKey: string

Defined in: sdk/ts/vote/types.ts:212

The poll public key


salt?​

optional salt: bigint

Defined in: sdk/ts/vote/types.ts:182

The salt of the message

Inherited from​

IPublishMessage.salt


signer​

signer: Signer

Defined in: sdk/ts/vote/types.ts:232

A signer object


stateIndex​

stateIndex: bigint

Defined in: sdk/ts/vote/types.ts:162

The index of the state leaf

Inherited from​

IPublishMessage.stateIndex


voteOptionIndex​

voteOptionIndex: bigint

Defined in: sdk/ts/vote/types.ts:167

The index of the vote option

Inherited from​

IPublishMessage.voteOptionIndex