Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / IGenerateSignUpTreeArgs

Interface: IGenerateSignUpTreeArgs

Defined in: packages/sdk/ts/trees/types.ts:8

An interface that represents arguments of generation sign up tree and state leaves

Properties

address

address: string

Defined in: packages/sdk/ts/trees/types.ts:17

The address of MACI contract


blocksPerRequest?

optional blocksPerRequest: number

Defined in: packages/sdk/ts/trees/types.ts:27

The number of blocks to fetch in each request


endBlock?

optional endBlock: number

Defined in: packages/sdk/ts/trees/types.ts:32

The block number at which to stop fetching events


fromBlock?

optional fromBlock: number

Defined in: packages/sdk/ts/trees/types.ts:22

The block number from which to start fetching events


provider

provider: Provider

Defined in: packages/sdk/ts/trees/types.ts:12

The etherum provider


sleepAmount?

optional sleepAmount: number

Defined in: packages/sdk/ts/trees/types.ts:37

The amount of time to sleep between each request