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 BridgeInterface extends Interface { getFunction(nameOrSignature: "amb" | "avatar" | "chainId" | "controller" | "executeTransaction" | "getGuard" | "guard" | "owner" | "renounceOwnership" | "setAmb" | "setAvatar" | "setChainId" | "setController" | "setGuard" | "setTarget" | "setUp" | "target" | "transferOwnership"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "AmbModuleSetup" | "AvatarSet" | "ChangedGuard" | "OwnershipTransferred" | "TargetSet"): EventFragment; encodeFunctionData(functionFragment: "amb", values?: undefined): string; encodeFunctionData(functionFragment: "avatar", values?: undefined): string; encodeFunctionData(functionFragment: "chainId", values?: undefined): string; encodeFunctionData(functionFragment: "controller", values?: undefined): string; encodeFunctionData(functionFragment: "executeTransaction", values: [AddressLike, BigNumberish, BytesLike, BigNumberish]): string; encodeFunctionData(functionFragment: "getGuard", values?: undefined): string; encodeFunctionData(functionFragment: "guard", values?: undefined): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "setAmb", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setAvatar", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setChainId", values: [BytesLike]): string; encodeFunctionData(functionFragment: "setController", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setGuard", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setTarget", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setUp", values: [BytesLike]): string; encodeFunctionData(functionFragment: "target", values?: undefined): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; decodeFunctionResult(functionFragment: "avatar", data: BytesLike): Result; decodeFunctionResult(functionFragment: "chainId", data: BytesLike): Result; decodeFunctionResult(functionFragment: "controller", data: BytesLike): Result; decodeFunctionResult(functionFragment: "executeTransaction", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getGuard", data: BytesLike): Result; decodeFunctionResult(functionFragment: "guard", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setAmb", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setAvatar", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setChainId", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setController", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setGuard", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setTarget", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setUp", data: BytesLike): Result; decodeFunctionResult(functionFragment: "target", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; } export declare namespace AmbModuleSetupEvent { type InputTuple = [ initiator: AddressLike, owner: AddressLike, avatar: AddressLike, target: AddressLike ]; type OutputTuple = [ initiator: string, owner: string, avatar: string, target: string ]; interface OutputObject { initiator: string; owner: string; avatar: string; target: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace AvatarSetEvent { type InputTuple = [ previousAvatar: AddressLike, newAvatar: AddressLike ]; type OutputTuple = [previousAvatar: string, newAvatar: string]; interface OutputObject { previousAvatar: string; newAvatar: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ChangedGuardEvent { type InputTuple = [guard: AddressLike]; type OutputTuple = [guard: string]; interface OutputObject { guard: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace OwnershipTransferredEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TargetSetEvent { type InputTuple = [ previousTarget: AddressLike, newTarget: AddressLike ]; type OutputTuple = [previousTarget: string, newTarget: string]; interface OutputObject { previousTarget: string; newTarget: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface Bridge extends BaseContract { connect(runner?: ContractRunner | null): Bridge; waitForDeployment(): Promise; interface: BridgeInterface; 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; amb: TypedContractMethod<[], [string], "view">; avatar: TypedContractMethod<[], [string], "view">; chainId: TypedContractMethod<[], [string], "view">; controller: TypedContractMethod<[], [string], "view">; executeTransaction: TypedContractMethod<[ to: AddressLike, value: BigNumberish, data: BytesLike, operation: BigNumberish ], [ void ], "nonpayable">; getGuard: TypedContractMethod<[], [string], "view">; guard: TypedContractMethod<[], [string], "view">; owner: TypedContractMethod<[], [string], "view">; renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; setAmb: TypedContractMethod<[_amb: AddressLike], [void], "nonpayable">; setAvatar: TypedContractMethod<[_avatar: AddressLike], [void], "nonpayable">; setChainId: TypedContractMethod<[_chainId: BytesLike], [void], "nonpayable">; setController: TypedContractMethod<[ _controller: AddressLike ], [ void ], "nonpayable">; setGuard: TypedContractMethod<[_guard: AddressLike], [void], "nonpayable">; setTarget: TypedContractMethod<[_target: AddressLike], [void], "nonpayable">; setUp: TypedContractMethod<[initParams: BytesLike], [void], "nonpayable">; transferOwnership: TypedContractMethod<[ newOwner: AddressLike ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "amb"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "avatar"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "chainId"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "controller"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "executeTransaction"): TypedContractMethod<[ to: AddressLike, value: BigNumberish, data: BytesLike, operation: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "getGuard"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "guard"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "setAmb"): TypedContractMethod<[_amb: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setAvatar"): TypedContractMethod<[_avatar: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setChainId"): TypedContractMethod<[_chainId: BytesLike], [void], "nonpayable">; getFunction(nameOrSignature: "setController"): TypedContractMethod<[_controller: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setGuard"): TypedContractMethod<[_guard: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setTarget"): TypedContractMethod<[_target: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setUp"): TypedContractMethod<[initParams: BytesLike], [void], "nonpayable">; getFunction(nameOrSignature: "target"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getEvent(key: "AmbModuleSetup"): TypedContractEvent; getEvent(key: "AvatarSet"): TypedContractEvent; getEvent(key: "ChangedGuard"): TypedContractEvent; getEvent(key: "OwnershipTransferred"): TypedContractEvent; getEvent(key: "TargetSet"): TypedContractEvent; filters: { "AmbModuleSetup(address,address,address,address)": TypedContractEvent; AmbModuleSetup: TypedContractEvent; "AvatarSet(address,address)": TypedContractEvent; AvatarSet: TypedContractEvent; "ChangedGuard(address)": TypedContractEvent; ChangedGuard: TypedContractEvent; "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; "TargetSet(address,address)": TypedContractEvent; TargetSet: TypedContractEvent; }; }