import { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from 'ethers'; import { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from './common'; export declare namespace IEntryPoint { type FacetStruct = { facet: AddressLike; functionSelectors: BytesLike[]; }; type FacetStructOutput = [ facet: string, functionSelectors: string[] ] & { facet: string; functionSelectors: string[]; }; type ModuleInfoStruct = { moduleSignature: BytesLike; moduleAddress: AddressLike; }; type ModuleInfoStructOutput = [ moduleSignature: string, moduleAddress: string ] & { moduleSignature: string; moduleAddress: string; }; type TokenTransfersPermit2Struct = { tokens: AddressLike[]; amounts: BigNumberish[]; nonce: BigNumberish; deadline: BigNumberish; signature: BytesLike; feeToken: AddressLike; feeAmount: BigNumberish; }; type TokenTransfersPermit2StructOutput = [ tokens: string[], amounts: bigint[], nonce: bigint, deadline: bigint, signature: string, feeToken: string, feeAmount: bigint ] & { tokens: string[]; amounts: bigint[]; nonce: bigint; deadline: bigint; signature: string; feeToken: string; feeAmount: bigint; }; type TokenTransfersStruct = { tokens: AddressLike[]; amounts: BigNumberish[]; }; type TokenTransfersStructOutput = [ tokens: string[], amounts: bigint[] ] & { tokens: string[]; amounts: bigint[]; }; } export interface EntrypointInterface extends Interface { getFunction(nameOrSignature: "acceptOwnership" | "addModule" | "facetAddress" | "facetAddresses" | "facetFunctionSelectors" | "facets" | "getFeeContractAddressAndFee" | "getModuleAddress" | "getModules" | "initialize" | "metaMulticall" | "multicall((address[],uint256[],uint256,uint256,bytes,address,uint256),bytes[])" | "multicall((address[],uint256[]),bytes[])" | "multicall(bytes[])" | "owner" | "pendingOwner" | "proxiableUUID" | "renounceOwnership" | "setFeeContractAddressAndFee" | "transferOwnership" | "updateModule" | "upgradeTo"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Initialized" | "OwnershipTransferStarted" | "OwnershipTransferred" | "Upgraded"): EventFragment; encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "addModule", values: [BytesLike, AddressLike]): string; encodeFunctionData(functionFragment: "facetAddress", values: [BytesLike]): string; encodeFunctionData(functionFragment: "facetAddresses", values?: undefined): string; encodeFunctionData(functionFragment: "facetFunctionSelectors", values: [AddressLike]): string; encodeFunctionData(functionFragment: "facets", values?: undefined): string; encodeFunctionData(functionFragment: "getFeeContractAddressAndFee", values?: undefined): string; encodeFunctionData(functionFragment: "getModuleAddress", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getModules", values?: undefined): string; encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string; encodeFunctionData(functionFragment: "metaMulticall", values: [AddressLike, IEntryPoint.TokenTransfersPermit2Struct, BytesLike[]]): string; encodeFunctionData(functionFragment: "multicall((address[],uint256[],uint256,uint256,bytes,address,uint256),bytes[])", values: [IEntryPoint.TokenTransfersPermit2Struct, BytesLike[]]): string; encodeFunctionData(functionFragment: "multicall((address[],uint256[]),bytes[])", values: [IEntryPoint.TokenTransfersStruct, BytesLike[]]): string; encodeFunctionData(functionFragment: "multicall(bytes[])", values: [BytesLike[]]): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string; encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "setFeeContractAddressAndFee", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; encodeFunctionData(functionFragment: "updateModule", values: [BytesLike, AddressLike]): string; encodeFunctionData(functionFragment: "upgradeTo", values: [AddressLike]): string; decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "addModule", data: BytesLike): Result; decodeFunctionResult(functionFragment: "facetAddress", data: BytesLike): Result; decodeFunctionResult(functionFragment: "facetAddresses", data: BytesLike): Result; decodeFunctionResult(functionFragment: "facetFunctionSelectors", data: BytesLike): Result; decodeFunctionResult(functionFragment: "facets", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getFeeContractAddressAndFee", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getModuleAddress", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getModules", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult(functionFragment: "metaMulticall", data: BytesLike): Result; decodeFunctionResult(functionFragment: "multicall((address[],uint256[],uint256,uint256,bytes,address,uint256),bytes[])", data: BytesLike): Result; decodeFunctionResult(functionFragment: "multicall((address[],uint256[]),bytes[])", data: BytesLike): Result; decodeFunctionResult(functionFragment: "multicall(bytes[])", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setFeeContractAddressAndFee", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateModule", data: BytesLike): Result; decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; } 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 OwnershipTransferStartedEvent { 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 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 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 Entrypoint extends BaseContract { connect(runner?: ContractRunner | null): Entrypoint; waitForDeployment(): Promise; interface: EntrypointInterface; 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; acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; addModule: TypedContractMethod<[ moduleSignature: BytesLike, moduleAddress: AddressLike ], [ void ], "nonpayable">; facetAddress: TypedContractMethod<[ functionSelector: BytesLike ], [ string ], "view">; facetAddresses: TypedContractMethod<[], [string[]], "view">; facetFunctionSelectors: TypedContractMethod<[ facet: AddressLike ], [ string[] ], "view">; facets: TypedContractMethod<[], [IEntryPoint.FacetStructOutput[]], "view">; getFeeContractAddressAndFee: TypedContractMethod<[ ], [ [string, bigint] & { feeContractAddress: string; fee: bigint; } ], "view">; getModuleAddress: TypedContractMethod<[ moduleSignature: BytesLike ], [ string ], "view">; getModules: TypedContractMethod<[ ], [ IEntryPoint.ModuleInfoStructOutput[] ], "view">; initialize: TypedContractMethod<[ newOwner: AddressLike ], [ void ], "nonpayable">; metaMulticall: TypedContractMethod<[ sender: AddressLike, tokenTransfersPermit2: IEntryPoint.TokenTransfersPermit2Struct, data: BytesLike[] ], [ void ], "nonpayable">; "multicall((address[],uint256[],uint256,uint256,bytes,address,uint256),bytes[])": TypedContractMethod<[ tokenTransfersPermit2: IEntryPoint.TokenTransfersPermit2Struct, data: BytesLike[] ], [ void ], "nonpayable">; "multicall((address[],uint256[]),bytes[])": TypedContractMethod<[ tokenTransfers: IEntryPoint.TokenTransfersStruct, data: BytesLike[] ], [ void ], "payable">; "multicall(bytes[])": TypedContractMethod<[ data: BytesLike[] ], [ void ], "nonpayable">; owner: TypedContractMethod<[], [string], "view">; pendingOwner: TypedContractMethod<[], [string], "view">; proxiableUUID: TypedContractMethod<[], [string], "view">; renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; setFeeContractAddressAndFee: TypedContractMethod<[ feeContractAddress: AddressLike, fee: BigNumberish ], [ void ], "nonpayable">; transferOwnership: TypedContractMethod<[ newOwner: AddressLike ], [ void ], "nonpayable">; updateModule: TypedContractMethod<[ moduleSignature: BytesLike, moduleAddress: AddressLike ], [ void ], "nonpayable">; upgradeTo: TypedContractMethod<[ newImplementation: AddressLike ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "addModule"): TypedContractMethod<[ moduleSignature: BytesLike, moduleAddress: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "facetAddress"): TypedContractMethod<[functionSelector: BytesLike], [string], "view">; getFunction(nameOrSignature: "facetAddresses"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "facetFunctionSelectors"): TypedContractMethod<[facet: AddressLike], [string[]], "view">; getFunction(nameOrSignature: "facets"): TypedContractMethod<[], [IEntryPoint.FacetStructOutput[]], "view">; getFunction(nameOrSignature: "getFeeContractAddressAndFee"): TypedContractMethod<[ ], [ [string, bigint] & { feeContractAddress: string; fee: bigint; } ], "view">; getFunction(nameOrSignature: "getModuleAddress"): TypedContractMethod<[moduleSignature: BytesLike], [string], "view">; getFunction(nameOrSignature: "getModules"): TypedContractMethod<[], [IEntryPoint.ModuleInfoStructOutput[]], "view">; getFunction(nameOrSignature: "initialize"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "metaMulticall"): TypedContractMethod<[ sender: AddressLike, tokenTransfersPermit2: IEntryPoint.TokenTransfersPermit2Struct, data: BytesLike[] ], [ void ], "nonpayable">; getFunction(nameOrSignature: "multicall((address[],uint256[],uint256,uint256,bytes,address,uint256),bytes[])"): TypedContractMethod<[ tokenTransfersPermit2: IEntryPoint.TokenTransfersPermit2Struct, data: BytesLike[] ], [ void ], "nonpayable">; getFunction(nameOrSignature: "multicall((address[],uint256[]),bytes[])"): TypedContractMethod<[ tokenTransfers: IEntryPoint.TokenTransfersStruct, data: BytesLike[] ], [ void ], "payable">; getFunction(nameOrSignature: "multicall(bytes[])"): TypedContractMethod<[data: BytesLike[]], [void], "nonpayable">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "setFeeContractAddressAndFee"): TypedContractMethod<[ feeContractAddress: AddressLike, fee: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "updateModule"): TypedContractMethod<[ moduleSignature: BytesLike, moduleAddress: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "upgradeTo"): TypedContractMethod<[ newImplementation: AddressLike ], [ void ], "nonpayable">; getEvent(key: "Initialized"): TypedContractEvent; getEvent(key: "OwnershipTransferStarted"): TypedContractEvent; getEvent(key: "OwnershipTransferred"): TypedContractEvent; getEvent(key: "Upgraded"): TypedContractEvent; filters: { "Initialized(uint8)": TypedContractEvent; Initialized: TypedContractEvent; "OwnershipTransferStarted(address,address)": TypedContractEvent; OwnershipTransferStarted: TypedContractEvent; "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; "Upgraded(address)": TypedContractEvent; Upgraded: TypedContractEvent; }; }