/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod, } from "../../../common"; export interface IMACIInterface extends Interface { getFunction( nameOrSignature: | "getStateAqRoot" | "mergeStateAq" | "mergeStateAqSubRoots" | "numSignUps" | "stateAq" | "stateTreeDepth" ): FunctionFragment; encodeFunctionData( functionFragment: "getStateAqRoot", values?: undefined ): string; encodeFunctionData( functionFragment: "mergeStateAq", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "mergeStateAqSubRoots", values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "numSignUps", values?: undefined ): string; encodeFunctionData(functionFragment: "stateAq", values?: undefined): string; encodeFunctionData( functionFragment: "stateTreeDepth", values?: undefined ): string; decodeFunctionResult( functionFragment: "getStateAqRoot", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "mergeStateAq", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "mergeStateAqSubRoots", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "numSignUps", data: BytesLike): Result; decodeFunctionResult(functionFragment: "stateAq", data: BytesLike): Result; decodeFunctionResult( functionFragment: "stateTreeDepth", data: BytesLike ): Result; } export interface IMACI extends BaseContract { connect(runner?: ContractRunner | null): IMACI; waitForDeployment(): Promise; interface: IMACIInterface; queryFilter( event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; queryFilter( filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; on( event: TCEvent, listener: TypedListener ): Promise; on( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; once( event: TCEvent, listener: TypedListener ): Promise; once( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; listeners( event: TCEvent ): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners( event?: TCEvent ): Promise; getStateAqRoot: TypedContractMethod<[], [bigint], "view">; mergeStateAq: TypedContractMethod< [_pollId: BigNumberish], [bigint], "nonpayable" >; mergeStateAqSubRoots: TypedContractMethod< [_numSrQueueOps: BigNumberish, _pollId: BigNumberish], [void], "nonpayable" >; numSignUps: TypedContractMethod<[], [bigint], "view">; stateAq: TypedContractMethod<[], [string], "view">; stateTreeDepth: TypedContractMethod<[], [bigint], "view">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "getStateAqRoot" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "mergeStateAq" ): TypedContractMethod<[_pollId: BigNumberish], [bigint], "nonpayable">; getFunction( nameOrSignature: "mergeStateAqSubRoots" ): TypedContractMethod< [_numSrQueueOps: BigNumberish, _pollId: BigNumberish], [void], "nonpayable" >; getFunction( nameOrSignature: "numSignUps" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "stateAq" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "stateTreeDepth" ): TypedContractMethod<[], [bigint], "view">; filters: {}; }