import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common"; export interface SafeToL2MigrationInterface extends Interface { getFunction(nameOrSignature: "MIGRATION_SINGLETON" | "migrateFromV111" | "migrateToL2"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "ChangedMasterCopy" | "SafeMultiSigTransaction" | "SafeSetup"): EventFragment; encodeFunctionData(functionFragment: "MIGRATION_SINGLETON", values?: undefined): string; encodeFunctionData(functionFragment: "migrateFromV111", values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "migrateToL2", values: [AddressLike]): string; decodeFunctionResult(functionFragment: "MIGRATION_SINGLETON", data: BytesLike): Result; decodeFunctionResult(functionFragment: "migrateFromV111", data: BytesLike): Result; decodeFunctionResult(functionFragment: "migrateToL2", 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 declare namespace SafeMultiSigTransactionEvent { type InputTuple = [ to: AddressLike, value: BigNumberish, data: BytesLike, operation: BigNumberish, safeTxGas: BigNumberish, baseGas: BigNumberish, gasPrice: BigNumberish, gasToken: AddressLike, refundReceiver: AddressLike, signatures: BytesLike, additionalInfo: BytesLike ]; type OutputTuple = [ to: string, value: bigint, data: string, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: string, refundReceiver: string, signatures: string, additionalInfo: string ]; interface OutputObject { to: string; value: bigint; data: string; operation: bigint; safeTxGas: bigint; baseGas: bigint; gasPrice: bigint; gasToken: string; refundReceiver: string; signatures: string; additionalInfo: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace SafeSetupEvent { type InputTuple = [ initiator: AddressLike, owners: AddressLike[], threshold: BigNumberish, initializer: AddressLike, fallbackHandler: AddressLike ]; type OutputTuple = [ initiator: string, owners: string[], threshold: bigint, initializer: string, fallbackHandler: string ]; interface OutputObject { initiator: string; owners: string[]; threshold: bigint; initializer: string; fallbackHandler: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface SafeToL2Migration extends BaseContract { connect(runner?: ContractRunner | null): SafeToL2Migration; waitForDeployment(): Promise; interface: SafeToL2MigrationInterface; 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">; migrateFromV111: TypedContractMethod<[ l2Singleton: AddressLike, fallbackHandler: AddressLike ], [ void ], "nonpayable">; migrateToL2: TypedContractMethod<[ l2Singleton: AddressLike ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "MIGRATION_SINGLETON"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "migrateFromV111"): TypedContractMethod<[ l2Singleton: AddressLike, fallbackHandler: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "migrateToL2"): TypedContractMethod<[l2Singleton: AddressLike], [void], "nonpayable">; getEvent(key: "ChangedMasterCopy"): TypedContractEvent; getEvent(key: "SafeMultiSigTransaction"): TypedContractEvent; getEvent(key: "SafeSetup"): TypedContractEvent; filters: { "ChangedMasterCopy(address)": TypedContractEvent; ChangedMasterCopy: TypedContractEvent; "SafeMultiSigTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,bytes)": TypedContractEvent; SafeMultiSigTransaction: TypedContractEvent; "SafeSetup(address,address[],uint256,address,address)": TypedContractEvent; SafeSetup: TypedContractEvent; }; }