Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / PublishArgs

Interface: PublishArgs

Defined in: utils/interfaces.ts:773

Interface for the arguments to the publish command

Extends

Properties

maciAddress

maciAddress: string

Defined in: utils/interfaces.ts:787

The address of the MACI contract


newVoteWeight

newVoteWeight: bigint

Defined in: utils/interfaces.ts:867

The new vote weight

Inherited from

IPublishMessage.newVoteWeight


nonce

nonce: bigint

Defined in: utils/interfaces.ts:862

The nonce of the message

Inherited from

IPublishMessage.nonce


pollId

pollId: bigint

Defined in: utils/interfaces.ts:792

The id of the poll


privateKey

privateKey: string

Defined in: utils/interfaces.ts:782

The poll private key


pubkey

pubkey: string

Defined in: utils/interfaces.ts:777

The poll public key


quiet?

optional quiet: boolean

Defined in: utils/interfaces.ts:802

Whether to log the output


salt?

optional salt: bigint

Defined in: utils/interfaces.ts:872

The salt of the message

Inherited from

IPublishMessage.salt


signer

signer: Signer

Defined in: utils/interfaces.ts:797

A signer object


stateIndex

stateIndex: bigint

Defined in: utils/interfaces.ts:852

The index of the state leaf

Inherited from

IPublishMessage.stateIndex


voteOptionIndex

voteOptionIndex: bigint

Defined in: utils/interfaces.ts:857

The index of the vote option

Inherited from

IPublishMessage.voteOptionIndex