import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common"; export interface ICreate3DeployerInterface extends Interface { getFunction(nameOrSignature: "addressOf" | "deploy"): FunctionFragment; encodeFunctionData(functionFragment: "addressOf", values: [BytesLike]): string; encodeFunctionData(functionFragment: "deploy", values: [BytesLike, BytesLike]): string; decodeFunctionResult(functionFragment: "addressOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "deploy", data: BytesLike): Result; } export interface ICreate3Deployer extends BaseContract { connect(runner?: ContractRunner | null): ICreate3Deployer; waitForDeployment(): Promise; interface: ICreate3DeployerInterface; 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; addressOf: TypedContractMethod<[salt: BytesLike], [string], "view">; deploy: TypedContractMethod<[ salt: BytesLike, code: BytesLike ], [ string ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "addressOf"): TypedContractMethod<[salt: BytesLike], [string], "view">; getFunction(nameOrSignature: "deploy"): TypedContractMethod<[ salt: BytesLike, code: BytesLike ], [ string ], "nonpayable">; filters: {}; }