/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ 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.js"; 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 namespace ApprovalEvent { export type InputTuple = [ owner: AddressLike, spender: AddressLike, value: BigNumberish, ]; export type OutputTuple = [owner: string, spender: string, value: bigint]; export interface OutputObject { owner: string; spender: string; value: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace DepositEvent { export type InputTuple = [ sender: AddressLike, owner: AddressLike, assets: BigNumberish, shares: BigNumberish, ]; export type OutputTuple = [ sender: string, owner: string, assets: bigint, shares: bigint, ]; export interface OutputObject { sender: string; owner: string; assets: bigint; shares: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace TransferEvent { export type InputTuple = [ from: AddressLike, to: AddressLike, value: BigNumberish, ]; export type OutputTuple = [from: string, to: string, value: bigint]; export interface OutputObject { from: string; to: string; value: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace WithdrawEvent { export type InputTuple = [ sender: AddressLike, receiver: AddressLike, owner: AddressLike, assets: BigNumberish, shares: BigNumberish, ]; export type OutputTuple = [ sender: string, receiver: string, owner: string, assets: bigint, shares: bigint, ]; export interface OutputObject { sender: string; receiver: string; owner: string; assets: bigint; shares: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export 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, value: 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, value: BigNumberish], [boolean], "nonpayable" >; transferFrom: TypedContractMethod< [from: AddressLike, to: AddressLike, value: 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, value: 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, value: BigNumberish], [boolean], "nonpayable" >; getFunction( nameOrSignature: "transferFrom", ): TypedContractMethod< [from: AddressLike, to: AddressLike, value: BigNumberish], [boolean], "nonpayable" >; getFunction( nameOrSignature: "withdraw", ): TypedContractMethod< [assets: BigNumberish, receiver: AddressLike, owner: AddressLike], [bigint], "nonpayable" >; getEvent( key: "Approval", ): TypedContractEvent< ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject >; getEvent( key: "Deposit", ): TypedContractEvent< DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject >; getEvent( key: "Transfer", ): TypedContractEvent< TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject >; getEvent( key: "Withdraw", ): TypedContractEvent< WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject >; filters: { "Approval(address,address,uint256)": TypedContractEvent< ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject >; Approval: TypedContractEvent< ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject >; "Deposit(address,address,uint256,uint256)": TypedContractEvent< DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject >; Deposit: TypedContractEvent< DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject >; "Transfer(address,address,uint256)": TypedContractEvent< TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject >; Transfer: TypedContractEvent< TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject >; "Withdraw(address,address,address,uint256,uint256)": TypedContractEvent< WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject >; Withdraw: TypedContractEvent< WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject >; }; }