Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) v2.5.0 / PublishArgs

Interface: PublishArgs

Interface for the arguments to the publish command

Extends

Properties

maciAddress

maciAddress: string

The address of the MACI contract

Defined in

utils/interfaces.ts:746


newVoteWeight

newVoteWeight: bigint

The new vote weight

Inherited from

IPublishMessage.newVoteWeight

Defined in

utils/interfaces.ts:826


nonce

nonce: bigint

The nonce of the message

Inherited from

IPublishMessage.nonce

Defined in

utils/interfaces.ts:821


pollId

pollId: bigint

The id of the poll

Defined in

utils/interfaces.ts:751


privateKey

privateKey: string

The poll private key

Defined in

utils/interfaces.ts:741


pubkey

pubkey: string

The poll public key

Defined in

utils/interfaces.ts:736


quiet?

optional quiet: boolean

Whether to log the output

Defined in

utils/interfaces.ts:761


salt?

optional salt: bigint

The salt of the message

Inherited from

IPublishMessage.salt

Defined in

utils/interfaces.ts:831


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:756


stateIndex

stateIndex: bigint

The index of the state leaf

Inherited from

IPublishMessage.stateIndex

Defined in

utils/interfaces.ts:811


voteOptionIndex

voteOptionIndex: bigint

The index of the vote option

Inherited from

IPublishMessage.voteOptionIndex

Defined in

utils/interfaces.ts:816