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 TestSmartAccountProxyUserInterface extends Interface { getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION" | "approve" | "balanceOf" | "checkBlueprint" | "counter" | "getApproved" | "getVersion" | "increment" | "initialize" | "isApprovedForAll" | "mainCall" | "mainCallExecuted" | "mintAndSafeTransferCheck" | "name" | "ownerOf" | "proxiableUUID" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "supportsInterface" | "symbol" | "tacSAFactory" | "test" | "tokenToBridge" | "tokenURI" | "transferFrom" | "upgradeToAndCall" | "user"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "Incremented" | "Initialized" | "Transfer" | "Upgraded"): EventFragment; encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string; encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string; encodeFunctionData(functionFragment: "checkBlueprint", values: [AddressLike]): string; encodeFunctionData(functionFragment: "counter", values?: undefined): string; encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "getVersion", values?: undefined): string; encodeFunctionData(functionFragment: "increment", values?: undefined): string; encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "mainCall", values: [BigNumberish, AddressLike]): string; encodeFunctionData(functionFragment: "mainCallExecuted", values?: undefined): string; encodeFunctionData(functionFragment: "mintAndSafeTransferCheck", values: [BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string; encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string; encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData(functionFragment: "tacSAFactory", values?: undefined): string; encodeFunctionData(functionFragment: "test", values: [BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: "tokenToBridge", values?: undefined): string; encodeFunctionData(functionFragment: "tokenURI", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string; encodeFunctionData(functionFragment: "user", values?: undefined): string; decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "checkBlueprint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "counter", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; decodeFunctionResult(functionFragment: "increment", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mainCall", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mainCallExecuted", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mintAndSafeTransferCheck", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "tacSAFactory", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test", data: BytesLike): Result; decodeFunctionResult(functionFragment: "tokenToBridge", data: BytesLike): Result; decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result; decodeFunctionResult(functionFragment: "user", data: BytesLike): Result; } export declare namespace ApprovalEvent { type InputTuple = [ owner: AddressLike, approved: AddressLike, tokenId: BigNumberish ]; type OutputTuple = [owner: string, approved: string, tokenId: bigint]; interface OutputObject { owner: string; approved: string; tokenId: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ApprovalForAllEvent { type InputTuple = [ owner: AddressLike, operator: AddressLike, approved: boolean ]; type OutputTuple = [ owner: string, operator: string, approved: boolean ]; interface OutputObject { owner: string; operator: string; approved: boolean; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace IncrementedEvent { type InputTuple = [count: BigNumberish, sender: AddressLike]; type OutputTuple = [count: bigint, sender: string]; interface OutputObject { count: bigint; sender: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace InitializedEvent { type InputTuple = [version: BigNumberish]; type OutputTuple = [version: bigint]; interface OutputObject { version: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TransferEvent { type InputTuple = [ from: AddressLike, to: AddressLike, tokenId: BigNumberish ]; type OutputTuple = [from: string, to: string, tokenId: bigint]; interface OutputObject { from: string; to: string; tokenId: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UpgradedEvent { type InputTuple = [implementation: AddressLike]; type OutputTuple = [implementation: string]; interface OutputObject { implementation: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface TestSmartAccountProxyUser extends BaseContract { connect(runner?: ContractRunner | null): TestSmartAccountProxyUser; waitForDeployment(): Promise; interface: TestSmartAccountProxyUserInterface; 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; UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; approve: TypedContractMethod<[ to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">; checkBlueprint: TypedContractMethod<[_user: AddressLike], [boolean], "view">; counter: TypedContractMethod<[], [bigint], "view">; getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getVersion: TypedContractMethod<[], [bigint], "view">; increment: TypedContractMethod<[], [void], "nonpayable">; initialize: TypedContractMethod<[ _crossChainLayer: AddressLike, _tacSAFactory: AddressLike ], [ void ], "nonpayable">; isApprovedForAll: TypedContractMethod<[ owner: AddressLike, operator: AddressLike ], [ boolean ], "view">; mainCall: TypedContractMethod<[ arg0: BigNumberish, _tokenToBrdige: AddressLike ], [ void ], "nonpayable">; mainCallExecuted: TypedContractMethod<[], [boolean], "view">; mintAndSafeTransferCheck: TypedContractMethod<[ tacHeader: BytesLike, arg1: BytesLike ], [ void ], "nonpayable">; name: TypedContractMethod<[], [string], "view">; ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">; proxiableUUID: TypedContractMethod<[], [string], "view">; "safeTransferFrom(address,address,uint256)": TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; "safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish, data: BytesLike ], [ void ], "nonpayable">; setApprovalForAll: TypedContractMethod<[ operator: AddressLike, approved: boolean ], [ void ], "nonpayable">; supportsInterface: TypedContractMethod<[ interfaceId: BytesLike ], [ boolean ], "view">; symbol: TypedContractMethod<[], [string], "view">; tacSAFactory: TypedContractMethod<[], [string], "view">; test: TypedContractMethod<[ tacHeader: BytesLike, arguments: BytesLike ], [ void ], "nonpayable">; tokenToBridge: TypedContractMethod<[], [string], "view">; tokenURI: TypedContractMethod<[tokenId: BigNumberish], [string], "view">; transferFrom: TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; upgradeToAndCall: TypedContractMethod<[ newImplementation: AddressLike, data: BytesLike ], [ void ], "payable">; user: TypedContractMethod<[], [string], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "approve"): TypedContractMethod<[ to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "checkBlueprint"): TypedContractMethod<[_user: AddressLike], [boolean], "view">; getFunction(nameOrSignature: "counter"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getApproved"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getFunction(nameOrSignature: "getVersion"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "increment"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "initialize"): TypedContractMethod<[ _crossChainLayer: AddressLike, _tacSAFactory: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[ owner: AddressLike, operator: AddressLike ], [ boolean ], "view">; getFunction(nameOrSignature: "mainCall"): TypedContractMethod<[ arg0: BigNumberish, _tokenToBrdige: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "mainCallExecuted"): TypedContractMethod<[], [boolean], "view">; getFunction(nameOrSignature: "mintAndSafeTransferCheck"): TypedContractMethod<[ tacHeader: BytesLike, arg1: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256)"): TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)"): TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish, data: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[ operator: AddressLike, approved: boolean ], [ void ], "nonpayable">; getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "tacSAFactory"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "test"): TypedContractMethod<[ tacHeader: BytesLike, arguments: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "tokenToBridge"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "tokenURI"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[ newImplementation: AddressLike, data: BytesLike ], [ void ], "payable">; getFunction(nameOrSignature: "user"): TypedContractMethod<[], [string], "view">; getEvent(key: "Approval"): TypedContractEvent; getEvent(key: "ApprovalForAll"): TypedContractEvent; getEvent(key: "Incremented"): TypedContractEvent; getEvent(key: "Initialized"): TypedContractEvent; getEvent(key: "Transfer"): TypedContractEvent; getEvent(key: "Upgraded"): TypedContractEvent; filters: { "Approval(address,address,uint256)": TypedContractEvent; Approval: TypedContractEvent; "ApprovalForAll(address,address,bool)": TypedContractEvent; ApprovalForAll: TypedContractEvent; "Incremented(uint256,address)": TypedContractEvent; Incremented: TypedContractEvent; "Initialized(uint64)": TypedContractEvent; Initialized: TypedContractEvent; "Transfer(address,address,uint256)": TypedContractEvent; Transfer: TypedContractEvent; "Upgraded(address)": TypedContractEvent; Upgraded: TypedContractEvent; }; }