Skip to main content
Version: v1.x

PublishArgs

Interface for the arguments to the publish command

Hierarchy

Table of contents

Properties

Properties

maciContractAddress

maciContractAddress: string

The address of the MACI contract

Defined in

utils/interfaces.ts:726


newVoteWeight

newVoteWeight: bigint

The new vote weight

Inherited from

IPublishMessage.newVoteWeight

Defined in

utils/interfaces.ts:806


nonce

nonce: bigint

The nonce of the message

Inherited from

IPublishMessage.nonce

Defined in

utils/interfaces.ts:801


pollId

pollId: bigint

The id of the poll

Defined in

utils/interfaces.ts:731


privateKey

privateKey: string

The private key of the user

Defined in

utils/interfaces.ts:721


pubkey

pubkey: string

The public key of the user

Defined in

utils/interfaces.ts:716


quiet

Optional quiet: boolean

Whether to log the output

Defined in

utils/interfaces.ts:741


salt

Optional salt: bigint

The salt of the message

Inherited from

IPublishMessage.salt

Defined in

utils/interfaces.ts:811


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:736


stateIndex

stateIndex: bigint

The index of the state leaf

Inherited from

IPublishMessage.stateIndex

Defined in

utils/interfaces.ts:791


voteOptionIndex

voteOptionIndex: bigint

The index of the vote option

Inherited from

IPublishMessage.voteOptionIndex

Defined in

utils/interfaces.ts:796