import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common"; export interface IEpochManagerToolshedInterface extends Interface { getFunction(nameOrSignature: "blockHash" | "blockNum" | "currentEpoch" | "currentEpochBlock" | "currentEpochBlockSinceStart" | "epochLength" | "epochsSince" | "epochsSinceUpdate" | "isCurrentEpochRun" | "runEpoch" | "setEpochLength"): FunctionFragment; encodeFunctionData(functionFragment: "blockHash", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "blockNum", values?: undefined): string; encodeFunctionData(functionFragment: "currentEpoch", values?: undefined): string; encodeFunctionData(functionFragment: "currentEpochBlock", values?: undefined): string; encodeFunctionData(functionFragment: "currentEpochBlockSinceStart", values?: undefined): string; encodeFunctionData(functionFragment: "epochLength", values?: undefined): string; encodeFunctionData(functionFragment: "epochsSince", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "epochsSinceUpdate", values?: undefined): string; encodeFunctionData(functionFragment: "isCurrentEpochRun", values?: undefined): string; encodeFunctionData(functionFragment: "runEpoch", values?: undefined): string; encodeFunctionData(functionFragment: "setEpochLength", values: [BigNumberish]): string; decodeFunctionResult(functionFragment: "blockHash", data: BytesLike): Result; decodeFunctionResult(functionFragment: "blockNum", data: BytesLike): Result; decodeFunctionResult(functionFragment: "currentEpoch", data: BytesLike): Result; decodeFunctionResult(functionFragment: "currentEpochBlock", data: BytesLike): Result; decodeFunctionResult(functionFragment: "currentEpochBlockSinceStart", data: BytesLike): Result; decodeFunctionResult(functionFragment: "epochLength", data: BytesLike): Result; decodeFunctionResult(functionFragment: "epochsSince", data: BytesLike): Result; decodeFunctionResult(functionFragment: "epochsSinceUpdate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isCurrentEpochRun", data: BytesLike): Result; decodeFunctionResult(functionFragment: "runEpoch", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setEpochLength", data: BytesLike): Result; } export interface IEpochManagerToolshed extends BaseContract { connect(runner?: ContractRunner | null): IEpochManagerToolshed; waitForDeployment(): Promise; interface: IEpochManagerToolshedInterface; 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; blockHash: TypedContractMethod<[blockNumber: BigNumberish], [string], "view">; blockNum: TypedContractMethod<[], [bigint], "view">; currentEpoch: TypedContractMethod<[], [bigint], "view">; currentEpochBlock: TypedContractMethod<[], [bigint], "view">; currentEpochBlockSinceStart: TypedContractMethod<[], [bigint], "view">; epochLength: TypedContractMethod<[], [bigint], "view">; epochsSince: TypedContractMethod<[epoch: BigNumberish], [bigint], "view">; epochsSinceUpdate: TypedContractMethod<[], [bigint], "view">; isCurrentEpochRun: TypedContractMethod<[], [boolean], "view">; runEpoch: TypedContractMethod<[], [void], "nonpayable">; setEpochLength: TypedContractMethod<[ epochLength: BigNumberish ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "blockHash"): TypedContractMethod<[blockNumber: BigNumberish], [string], "view">; getFunction(nameOrSignature: "blockNum"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "currentEpoch"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "currentEpochBlock"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "currentEpochBlockSinceStart"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "epochLength"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "epochsSince"): TypedContractMethod<[epoch: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "epochsSinceUpdate"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "isCurrentEpochRun"): TypedContractMethod<[], [boolean], "view">; getFunction(nameOrSignature: "runEpoch"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "setEpochLength"): TypedContractMethod<[epochLength: BigNumberish], [void], "nonpayable">; filters: {}; } //# sourceMappingURL=IEpochManagerToolshed.d.ts.map