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 IERC4626Interface extends Interface { getFunction(nameOrSignature: "allowance" | "approve" | "asset" | "balanceOf" | "convertToAssets" | "convertToShares" | "decimals" | "deposit" | "maxDeposit" | "maxMint" | "maxRedeem" | "maxWithdraw" | "mint" | "name" | "previewDeposit" | "previewMint" | "previewRedeem" | "previewWithdraw" | "redeem" | "symbol" | "totalAssets" | "totalSupply" | "transfer" | "transferFrom" | "withdraw"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Approval" | "Deposit" | "Transfer" | "Withdraw"): EventFragment; encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "asset", values?: undefined): string; encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string; encodeFunctionData(functionFragment: "convertToAssets", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "convertToShares", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; encodeFunctionData(functionFragment: "deposit", values: [BigNumberish, AddressLike]): string; encodeFunctionData(functionFragment: "maxDeposit", values: [AddressLike]): string; encodeFunctionData(functionFragment: "maxMint", values: [AddressLike]): string; encodeFunctionData(functionFragment: "maxRedeem", values: [AddressLike]): string; encodeFunctionData(functionFragment: "maxWithdraw", values: [AddressLike]): string; encodeFunctionData(functionFragment: "mint", values: [BigNumberish, AddressLike]): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "previewDeposit", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "previewMint", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "previewRedeem", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "previewWithdraw", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "redeem", values: [BigNumberish, AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData(functionFragment: "totalAssets", values?: undefined): string; encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string; encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish, AddressLike, AddressLike]): string; decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "asset", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "convertToAssets", data: BytesLike): Result; decodeFunctionResult(functionFragment: "convertToShares", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "maxDeposit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "maxMint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "maxRedeem", data: BytesLike): Result; decodeFunctionResult(functionFragment: "maxWithdraw", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "previewDeposit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "previewMint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "previewRedeem", data: BytesLike): Result; decodeFunctionResult(functionFragment: "previewWithdraw", data: BytesLike): Result; decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalAssets", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; } export declare namespace ApprovalEvent { type InputTuple = [ owner: AddressLike, spender: AddressLike, value: BigNumberish ]; type OutputTuple = [owner: string, spender: string, value: bigint]; interface OutputObject { owner: string; spender: string; value: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace DepositEvent { type InputTuple = [ sender: AddressLike, owner: AddressLike, assets: BigNumberish, shares: BigNumberish ]; type OutputTuple = [ sender: string, owner: string, assets: bigint, shares: bigint ]; interface OutputObject { sender: string; owner: string; assets: bigint; shares: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TransferEvent { type InputTuple = [ from: AddressLike, to: AddressLike, value: BigNumberish ]; type OutputTuple = [from: string, to: string, value: bigint]; interface OutputObject { from: string; to: string; value: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace WithdrawEvent { type InputTuple = [ sender: AddressLike, receiver: AddressLike, owner: AddressLike, assets: BigNumberish, shares: BigNumberish ]; type OutputTuple = [ sender: string, receiver: string, owner: string, assets: bigint, shares: bigint ]; interface OutputObject { sender: string; receiver: string; owner: string; assets: bigint; shares: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface IERC4626 extends BaseContract { connect(runner?: ContractRunner | null): IERC4626; waitForDeployment(): Promise; interface: IERC4626Interface; 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; allowance: TypedContractMethod<[ owner: AddressLike, spender: AddressLike ], [ bigint ], "view">; approve: TypedContractMethod<[ spender: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; asset: TypedContractMethod<[], [string], "view">; balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">; convertToAssets: TypedContractMethod<[ shares: BigNumberish ], [ bigint ], "view">; convertToShares: TypedContractMethod<[ assets: BigNumberish ], [ bigint ], "view">; decimals: TypedContractMethod<[], [bigint], "view">; deposit: TypedContractMethod<[ assets: BigNumberish, receiver: AddressLike ], [ bigint ], "nonpayable">; maxDeposit: TypedContractMethod<[receiver: AddressLike], [bigint], "view">; maxMint: TypedContractMethod<[receiver: AddressLike], [bigint], "view">; maxRedeem: TypedContractMethod<[owner: AddressLike], [bigint], "view">; maxWithdraw: TypedContractMethod<[owner: AddressLike], [bigint], "view">; mint: TypedContractMethod<[ shares: BigNumberish, receiver: AddressLike ], [ bigint ], "nonpayable">; name: TypedContractMethod<[], [string], "view">; previewDeposit: TypedContractMethod<[assets: BigNumberish], [bigint], "view">; previewMint: TypedContractMethod<[shares: BigNumberish], [bigint], "view">; previewRedeem: TypedContractMethod<[shares: BigNumberish], [bigint], "view">; previewWithdraw: TypedContractMethod<[ assets: BigNumberish ], [ bigint ], "view">; redeem: TypedContractMethod<[ shares: BigNumberish, receiver: AddressLike, owner: AddressLike ], [ bigint ], "nonpayable">; symbol: TypedContractMethod<[], [string], "view">; totalAssets: TypedContractMethod<[], [bigint], "view">; totalSupply: TypedContractMethod<[], [bigint], "view">; transfer: TypedContractMethod<[ to: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; transferFrom: TypedContractMethod<[ from: AddressLike, to: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; withdraw: TypedContractMethod<[ assets: BigNumberish, receiver: AddressLike, owner: AddressLike ], [ bigint ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "allowance"): TypedContractMethod<[ owner: AddressLike, spender: AddressLike ], [ bigint ], "view">; getFunction(nameOrSignature: "approve"): TypedContractMethod<[ spender: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; getFunction(nameOrSignature: "asset"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "convertToAssets"): TypedContractMethod<[shares: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "convertToShares"): TypedContractMethod<[assets: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "deposit"): TypedContractMethod<[ assets: BigNumberish, receiver: AddressLike ], [ bigint ], "nonpayable">; getFunction(nameOrSignature: "maxDeposit"): TypedContractMethod<[receiver: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "maxMint"): TypedContractMethod<[receiver: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "maxRedeem"): TypedContractMethod<[owner: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "maxWithdraw"): TypedContractMethod<[owner: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "mint"): TypedContractMethod<[ shares: BigNumberish, receiver: AddressLike ], [ bigint ], "nonpayable">; getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "previewDeposit"): TypedContractMethod<[assets: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "previewMint"): TypedContractMethod<[shares: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "previewRedeem"): TypedContractMethod<[shares: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "previewWithdraw"): TypedContractMethod<[assets: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "redeem"): TypedContractMethod<[ shares: BigNumberish, receiver: AddressLike, owner: AddressLike ], [ bigint ], "nonpayable">; getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "totalAssets"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "transfer"): TypedContractMethod<[ to: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[ from: AddressLike, to: AddressLike, amount: BigNumberish ], [ boolean ], "nonpayable">; getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[ assets: BigNumberish, receiver: AddressLike, owner: AddressLike ], [ bigint ], "nonpayable">; getEvent(key: "Approval"): TypedContractEvent; getEvent(key: "Deposit"): TypedContractEvent; getEvent(key: "Transfer"): TypedContractEvent; getEvent(key: "Withdraw"): TypedContractEvent; filters: { "Approval(address,address,uint256)": TypedContractEvent; Approval: TypedContractEvent; "Deposit(address,address,uint256,uint256)": TypedContractEvent; Deposit: TypedContractEvent; "Transfer(address,address,uint256)": TypedContractEvent; Transfer: TypedContractEvent; "Withdraw(address,address,address,uint256,uint256)": TypedContractEvent; Withdraw: TypedContractEvent; }; }