/* 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 IFundingRoundInterface extends Interface { getFunction( nameOrSignature: | "cancel" | "finalize" | "isCancelled" | "isFinalized" | "nativeToken" ): FunctionFragment; encodeFunctionData(functionFragment: "cancel", values?: undefined): string; encodeFunctionData( functionFragment: "finalize", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "isCancelled", values?: undefined ): string; encodeFunctionData( functionFragment: "isFinalized", values?: undefined ): string; encodeFunctionData( functionFragment: "nativeToken", values?: undefined ): string; decodeFunctionResult(functionFragment: "cancel", data: BytesLike): Result; decodeFunctionResult(functionFragment: "finalize", data: BytesLike): Result; decodeFunctionResult( functionFragment: "isCancelled", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isFinalized", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "nativeToken", data: BytesLike ): Result; } export interface IFundingRound extends BaseContract { connect(runner?: ContractRunner | null): IFundingRound; waitForDeployment(): Promise; interface: IFundingRoundInterface; 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; cancel: TypedContractMethod<[], [void], "nonpayable">; finalize: TypedContractMethod< [ _totalSpent: BigNumberish, _totalSpentSalt: BigNumberish, _newResultCommitment: BigNumberish, _perVOSpentVoiceCreditsHash: BigNumberish ], [void], "nonpayable" >; isCancelled: TypedContractMethod<[], [boolean], "view">; isFinalized: TypedContractMethod<[], [boolean], "view">; nativeToken: TypedContractMethod<[], [string], "view">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "cancel" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "finalize" ): TypedContractMethod< [ _totalSpent: BigNumberish, _totalSpentSalt: BigNumberish, _newResultCommitment: BigNumberish, _perVOSpentVoiceCreditsHash: BigNumberish ], [void], "nonpayable" >; getFunction( nameOrSignature: "isCancelled" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "isFinalized" ): TypedContractMethod<[], [boolean], "view">; getFunction( nameOrSignature: "nativeToken" ): TypedContractMethod<[], [string], "view">; filters: {}; }