Skip to main content
Version: v1.x

TopupArgs

Interface for the arguments to the topup command

Table of contents

Properties

Properties

amount

amount: number

The amount to topup

Defined in

utils/interfaces.ts:1040


maciAddress

Optional maciAddress: string

The address of the MACI contract

Defined in

utils/interfaces.ts:1055


pollId

pollId: bigint

The poll ID

Defined in

utils/interfaces.ts:1050


quiet

Optional quiet: boolean

Whether to log the output

Defined in

utils/interfaces.ts:1065


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:1060


stateIndex

stateIndex: number

The state index of the user

Defined in

utils/interfaces.ts:1045