/* 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 declare namespace DomainObjs { export type PubKeyStruct = { x: BigNumberish; y: BigNumberish }; export type PubKeyStructOutput = [x: bigint, y: bigint] & { x: bigint; y: bigint; }; } export interface IClrFundInterface extends Interface { getFunction( nameOrSignature: | "coordinator" | "coordinatorPubKey" | "maciFactory" | "nativeToken" | "recipientRegistry" | "userRegistry" ): FunctionFragment; encodeFunctionData( functionFragment: "coordinator", values?: undefined ): string; encodeFunctionData( functionFragment: "coordinatorPubKey", values?: undefined ): string; encodeFunctionData( functionFragment: "maciFactory", values?: undefined ): string; encodeFunctionData( functionFragment: "nativeToken", values?: undefined ): string; encodeFunctionData( functionFragment: "recipientRegistry", values?: undefined ): string; encodeFunctionData( functionFragment: "userRegistry", values?: undefined ): string; decodeFunctionResult( functionFragment: "coordinator", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "coordinatorPubKey", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "maciFactory", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "nativeToken", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "recipientRegistry", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "userRegistry", data: BytesLike ): Result; } export interface IClrFund extends BaseContract { connect(runner?: ContractRunner | null): IClrFund; waitForDeployment(): Promise; interface: IClrFundInterface; 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; coordinator: TypedContractMethod<[], [string], "view">; coordinatorPubKey: TypedContractMethod< [], [DomainObjs.PubKeyStructOutput], "view" >; maciFactory: TypedContractMethod<[], [string], "view">; nativeToken: TypedContractMethod<[], [string], "view">; recipientRegistry: TypedContractMethod<[], [string], "view">; userRegistry: TypedContractMethod<[], [string], "view">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "coordinator" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "coordinatorPubKey" ): TypedContractMethod<[], [DomainObjs.PubKeyStructOutput], "view">; getFunction( nameOrSignature: "maciFactory" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "nativeToken" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "recipientRegistry" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "userRegistry" ): TypedContractMethod<[], [string], "view">; filters: {}; }