Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / genMaciStateFromContract

Function: genMaciStateFromContract()

genMaciStateFromContract(__namedParameters): Promise<MaciState>

Defined in: packages/contracts/build/ts/genMaciState.d.ts:15

Generate a MaciState object from the events of a MACI and Poll smart contracts

Parameters

__namedParameters

IGenMaciStateFromContractArgs

Returns

Promise<MaciState>

an instance of MaciState