import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common"; export interface SafeMigrationInterface extends Interface { getFunction(nameOrSignature: "MIGRATION_SINGLETON" | "SAFE_FALLBACK_HANDLER" | "SAFE_L2_SINGLETON" | "SAFE_SINGLETON" | "migrateL2Singleton" | "migrateL2WithFallbackHandler" | "migrateSingleton" | "migrateWithFallbackHandler"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "ChangedMasterCopy"): EventFragment; encodeFunctionData(functionFragment: "MIGRATION_SINGLETON", values?: undefined): string; encodeFunctionData(functionFragment: "SAFE_FALLBACK_HANDLER", values?: undefined): string; encodeFunctionData(functionFragment: "SAFE_L2_SINGLETON", values?: undefined): string; encodeFunctionData(functionFragment: "SAFE_SINGLETON", values?: undefined): string; encodeFunctionData(functionFragment: "migrateL2Singleton", values?: undefined): string; encodeFunctionData(functionFragment: "migrateL2WithFallbackHandler", values?: undefined): string; encodeFunctionData(functionFragment: "migrateSingleton", values?: undefined): string; encodeFunctionData(functionFragment: "migrateWithFallbackHandler", values?: undefined): string; decodeFunctionResult(functionFragment: "MIGRATION_SINGLETON", data: BytesLike): Result; decodeFunctionResult(functionFragment: "SAFE_FALLBACK_HANDLER", data: BytesLike): Result; decodeFunctionResult(functionFragment: "SAFE_L2_SINGLETON", data: BytesLike): Result; decodeFunctionResult(functionFragment: "SAFE_SINGLETON", data: BytesLike): Result; decodeFunctionResult(functionFragment: "migrateL2Singleton", data: BytesLike): Result; decodeFunctionResult(functionFragment: "migrateL2WithFallbackHandler", data: BytesLike): Result; decodeFunctionResult(functionFragment: "migrateSingleton", data: BytesLike): Result; decodeFunctionResult(functionFragment: "migrateWithFallbackHandler", data: BytesLike): Result; } export declare namespace ChangedMasterCopyEvent { type InputTuple = [singleton: AddressLike]; type OutputTuple = [singleton: string]; interface OutputObject { singleton: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface SafeMigration extends BaseContract { connect(runner?: ContractRunner | null): SafeMigration; waitForDeployment(): Promise; interface: SafeMigrationInterface; 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; MIGRATION_SINGLETON: TypedContractMethod<[], [string], "view">; SAFE_FALLBACK_HANDLER: TypedContractMethod<[], [string], "view">; SAFE_L2_SINGLETON: TypedContractMethod<[], [string], "view">; SAFE_SINGLETON: TypedContractMethod<[], [string], "view">; migrateL2Singleton: TypedContractMethod<[], [void], "nonpayable">; migrateL2WithFallbackHandler: TypedContractMethod<[], [void], "nonpayable">; migrateSingleton: TypedContractMethod<[], [void], "nonpayable">; migrateWithFallbackHandler: TypedContractMethod<[], [void], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "MIGRATION_SINGLETON"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "SAFE_FALLBACK_HANDLER"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "SAFE_L2_SINGLETON"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "SAFE_SINGLETON"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "migrateL2Singleton"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "migrateL2WithFallbackHandler"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "migrateSingleton"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "migrateWithFallbackHandler"): TypedContractMethod<[], [void], "nonpayable">; getEvent(key: "ChangedMasterCopy"): TypedContractEvent; filters: { "ChangedMasterCopy(address)": TypedContractEvent; ChangedMasterCopy: TypedContractEvent; }; }