Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • ERC4626Router

Index

Constructors

  • new ERC4626Router(addressOrName: string, contractInterface: ContractInterface, signerOrProvider?: Signer | Provider): ERC4626Router
  • Parameters

    • addressOrName: string
    • contractInterface: ContractInterface
    • Optional signerOrProvider: Signer | Provider

    Returns ERC4626Router

Properties

_deployedPromise: Promise<Contract>
_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent
_wrappedEmits: {}

Type declaration

  • [eventTag: string]: (...args: any[]) => void
      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

address: string
callStatic: { DOMAIN_SEPARATOR: any; allowance: any; approve: any; asset: any; balanceOf: any; convertToAssets: any; convertToShares: any; decimals: any; deposit: any; maxDeposit: any; maxMint: any; maxRedeem: any; maxWithdraw: any; mint: any; name: any; nonces: any; permit: any; previewDeposit: any; previewMint: any; previewRedeem: any; previewWithdraw: any; redeem: any; symbol: any; totalAssets: any; totalSupply: any; transfer: any; transferFrom: any; withdraw: any }

Type declaration

  • DOMAIN_SEPARATOR:function
    • DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • allowance:function
    • allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • arg1: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • asset:function
    • asset(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • balanceOf:function
    • balanceOf(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • convertToAssets:function
    • convertToAssets(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • convertToShares:function
    • convertToShares(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

  • deposit:function
    • deposit(assets: BigNumberish, receiver: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • receiver: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • maxDeposit:function
    • maxDeposit(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • maxMint:function
    • maxMint(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • maxRedeem:function
    • maxRedeem(owner: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • maxWithdraw:function
    • maxWithdraw(owner: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • mint:function
    • mint(shares: BigNumberish, receiver: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • receiver: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • name:function
    • name(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • nonces:function
    • nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • permit:function
    • permit(owner: string, spender: string, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: CallOverrides): Promise<void>
    • Parameters

      • owner: string
      • spender: string
      • value: BigNumberish
      • deadline: BigNumberish
      • v: BigNumberish
      • r: BytesLike
      • s: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • previewDeposit:function
    • previewDeposit(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • previewMint:function
    • previewMint(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • previewRedeem:function
    • previewRedeem(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • previewWithdraw:function
    • previewWithdraw(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • redeem:function
    • redeem(shares: BigNumberish, receiver: string, owner: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • receiver: string
      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • totalAssets:function
    • totalAssets(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • transfer:function
    • transfer(to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • transferFrom:function
    • transferFrom(from: string, to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • from: string
      • to: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • withdraw:function
    • withdraw(assets: BigNumberish, receiver: string, owner: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • receiver: string
      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

deployTransaction: TransactionResponse
estimateGas: { DOMAIN_SEPARATOR: any; allowance: any; approve: any; asset: any; balanceOf: any; convertToAssets: any; convertToShares: any; decimals: any; deposit: any; maxDeposit: any; maxMint: any; maxRedeem: any; maxWithdraw: any; mint: any; name: any; nonces: any; permit: any; previewDeposit: any; previewMint: any; previewRedeem: any; previewWithdraw: any; redeem: any; symbol: any; totalAssets: any; totalSupply: any; transfer: any; transferFrom: any; withdraw: any }

Type declaration

  • DOMAIN_SEPARATOR:function
    • DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • allowance:function
    • allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • arg1: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • asset:function
    • asset(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOf:function
    • balanceOf(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • convertToAssets:function
    • convertToAssets(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • convertToShares:function
    • convertToShares(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • deposit:function
    • deposit(assets: BigNumberish, receiver: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • receiver: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • maxDeposit:function
    • maxDeposit(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • maxMint:function
    • maxMint(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • maxRedeem:function
    • maxRedeem(owner: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • maxWithdraw:function
    • maxWithdraw(owner: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • mint:function
    • mint(shares: BigNumberish, receiver: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • receiver: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • name:function
    • name(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • nonces:function
    • nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • permit:function
    • permit(owner: string, spender: string, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • owner: string
      • spender: string
      • value: BigNumberish
      • deadline: BigNumberish
      • v: BigNumberish
      • r: BytesLike
      • s: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • previewDeposit:function
    • previewDeposit(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • previewMint:function
    • previewMint(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • previewRedeem:function
    • previewRedeem(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • previewWithdraw:function
    • previewWithdraw(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • redeem:function
    • redeem(shares: BigNumberish, receiver: string, owner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • shares: BigNumberish
      • receiver: string
      • owner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalAssets:function
    • totalAssets(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • transfer:function
    • transfer(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • transferFrom:function
    • transferFrom(from: string, to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • from: string
      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • withdraw:function
    • withdraw(assets: BigNumberish, receiver: string, owner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • assets: BigNumberish
      • receiver: string
      • owner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

filters: { Approval: any; Approval(address,address,uint256): any; Deposit: any; Deposit(address,address,uint256,uint256): any; Transfer: any; Transfer(address,address,uint256): any; Withdraw: any; Withdraw(address,address,address,uint256,uint256): any }

Type declaration

  • Approval:function
    • Approval(owner?: null | string, spender?: null | string, amount?: null): TypedEventFilter<[string, string, BigNumber], { amount: BigNumber; owner: string; spender: string }>
    • Parameters

      • Optional owner: null | string
      • Optional spender: null | string
      • Optional amount: null

      Returns TypedEventFilter<[string, string, BigNumber], { amount: BigNumber; owner: string; spender: string }>

  • Approval(address,address,uint256):function
    • Approval(address,address,uint256)(owner?: null | string, spender?: null | string, amount?: null): TypedEventFilter<[string, string, BigNumber], { amount: BigNumber; owner: string; spender: string }>
    • Parameters

      • Optional owner: null | string
      • Optional spender: null | string
      • Optional amount: null

      Returns TypedEventFilter<[string, string, BigNumber], { amount: BigNumber; owner: string; spender: string }>

  • Deposit:function
    • Deposit(caller?: null | string, owner?: null | string, assets?: null, shares?: null): TypedEventFilter<[string, string, BigNumber, BigNumber], { assets: BigNumber; caller: string; owner: string; shares: BigNumber }>
    • Parameters

      • Optional caller: null | string
      • Optional owner: null | string
      • Optional assets: null
      • Optional shares: null

      Returns TypedEventFilter<[string, string, BigNumber, BigNumber], { assets: BigNumber; caller: string; owner: string; shares: BigNumber }>

  • Deposit(address,address,uint256,uint256):function
    • Deposit(address,address,uint256,uint256)(caller?: null | string, owner?: null | string, assets?: null, shares?: null): TypedEventFilter<[string, string, BigNumber, BigNumber], { assets: BigNumber; caller: string; owner: string; shares: BigNumber }>
    • Parameters

      • Optional caller: null | string
      • Optional owner: null | string
      • Optional assets: null
      • Optional shares: null

      Returns TypedEventFilter<[string, string, BigNumber, BigNumber], { assets: BigNumber; caller: string; owner: string; shares: BigNumber }>

  • Transfer:function
    • Transfer(from?: null | string, to?: null | string, amount?: null): TypedEventFilter<[string, string, BigNumber], { amount: BigNumber; from: string; to: string }>
    • Parameters

      • Optional from: null | string
      • Optional to: null | string
      • Optional amount: null

      Returns TypedEventFilter<[string, string, BigNumber], { amount: BigNumber; from: string; to: string }>

  • Transfer(address,address,uint256):function
    • Transfer(address,address,uint256)(from?: null | string, to?: null | string, amount?: null): TypedEventFilter<[string, string, BigNumber], { amount: BigNumber; from: string; to: string }>
    • Parameters

      • Optional from: null | string
      • Optional to: null | string
      • Optional amount: null

      Returns TypedEventFilter<[string, string, BigNumber], { amount: BigNumber; from: string; to: string }>

  • Withdraw:function
    • Withdraw(caller?: null | string, receiver?: null | string, owner?: null | string, assets?: null, shares?: null): TypedEventFilter<[string, string, string, BigNumber, BigNumber], { assets: BigNumber; caller: string; owner: string; receiver: string; shares: BigNumber }>
    • Parameters

      • Optional caller: null | string
      • Optional receiver: null | string
      • Optional owner: null | string
      • Optional assets: null
      • Optional shares: null

      Returns TypedEventFilter<[string, string, string, BigNumber, BigNumber], { assets: BigNumber; caller: string; owner: string; receiver: string; shares: BigNumber }>

  • Withdraw(address,address,address,uint256,uint256):function
    • Withdraw(address,address,address,uint256,uint256)(caller?: null | string, receiver?: null | string, owner?: null | string, assets?: null, shares?: null): TypedEventFilter<[string, string, string, BigNumber, BigNumber], { assets: BigNumber; caller: string; owner: string; receiver: string; shares: BigNumber }>
    • Parameters

      • Optional caller: null | string
      • Optional receiver: null | string
      • Optional owner: null | string
      • Optional assets: null
      • Optional shares: null

      Returns TypedEventFilter<[string, string, string, BigNumber, BigNumber], { assets: BigNumber; caller: string; owner: string; receiver: string; shares: BigNumber }>

functions: { DOMAIN_SEPARATOR: any; allowance: any; approve: any; asset: any; balanceOf: any; convertToAssets: any; convertToShares: any; decimals: any; deposit: any; maxDeposit: any; maxMint: any; maxRedeem: any; maxWithdraw: any; mint: any; name: any; nonces: any; permit: any; previewDeposit: any; previewMint: any; previewRedeem: any; previewWithdraw: any; redeem: any; symbol: any; totalAssets: any; totalSupply: any; transfer: any; transferFrom: any; withdraw: any }

Type declaration

  • DOMAIN_SEPARATOR:function
    • DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • allowance:function
    • allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • arg0: string
      • arg1: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • asset:function
    • asset(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • balanceOf:function
    • balanceOf(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • convertToAssets:function
    • convertToAssets(shares: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • convertToShares:function
    • convertToShares(assets: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • deposit:function
    • deposit(assets: BigNumberish, receiver: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • assets: BigNumberish
      • receiver: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • maxDeposit:function
    • maxDeposit(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • maxMint:function
    • maxMint(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • maxRedeem:function
    • maxRedeem(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • maxWithdraw:function
    • maxWithdraw(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • mint:function
    • mint(shares: BigNumberish, receiver: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • shares: BigNumberish
      • receiver: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • name:function
    • name(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • nonces:function
    • nonces(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • permit:function
    • permit(owner: string, spender: string, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • owner: string
      • spender: string
      • value: BigNumberish
      • deadline: BigNumberish
      • v: BigNumberish
      • r: BytesLike
      • s: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • previewDeposit:function
    • previewDeposit(assets: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • previewMint:function
    • previewMint(shares: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • previewRedeem:function
    • previewRedeem(shares: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • previewWithdraw:function
    • previewWithdraw(assets: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • redeem:function
    • redeem(shares: BigNumberish, receiver: string, owner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • shares: BigNumberish
      • receiver: string
      • owner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • totalAssets:function
    • totalAssets(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • transfer:function
    • transfer(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • transferFrom:function
    • transferFrom(from: string, to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • from: string
      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • withdraw:function
    • withdraw(assets: BigNumberish, receiver: string, owner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • assets: BigNumberish
      • receiver: string
      • owner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

populateTransaction: { DOMAIN_SEPARATOR: any; allowance: any; approve: any; asset: any; balanceOf: any; convertToAssets: any; convertToShares: any; decimals: any; deposit: any; maxDeposit: any; maxMint: any; maxRedeem: any; maxWithdraw: any; mint: any; name: any; nonces: any; permit: any; previewDeposit: any; previewMint: any; previewRedeem: any; previewWithdraw: any; redeem: any; symbol: any; totalAssets: any; totalSupply: any; transfer: any; transferFrom: any; withdraw: any }

Type declaration

  • DOMAIN_SEPARATOR:function
    • DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • allowance:function
    • allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • asset:function
    • asset(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • balanceOf:function
    • balanceOf(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • convertToAssets:function
    • convertToAssets(shares: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • convertToShares:function
    • convertToShares(assets: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • deposit:function
    • deposit(assets: BigNumberish, receiver: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • assets: BigNumberish
      • receiver: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • maxDeposit:function
    • maxDeposit(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • maxMint:function
    • maxMint(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • maxRedeem:function
    • maxRedeem(owner: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • maxWithdraw:function
    • maxWithdraw(owner: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • owner: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • mint:function
    • mint(shares: BigNumberish, receiver: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • shares: BigNumberish
      • receiver: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • name:function
    • name(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • nonces:function
    • nonces(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • permit:function
    • permit(owner: string, spender: string, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • owner: string
      • spender: string
      • value: BigNumberish
      • deadline: BigNumberish
      • v: BigNumberish
      • r: BytesLike
      • s: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • previewDeposit:function
    • previewDeposit(assets: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • previewMint:function
    • previewMint(shares: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • previewRedeem:function
    • previewRedeem(shares: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • shares: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • previewWithdraw:function
    • previewWithdraw(assets: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • assets: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • redeem:function
    • redeem(shares: BigNumberish, receiver: string, owner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • shares: BigNumberish
      • receiver: string
      • owner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • totalAssets:function
    • totalAssets(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • transfer:function
    • transfer(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • transferFrom:function
    • transferFrom(from: string, to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • from: string
      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • withdraw:function
    • withdraw(assets: BigNumberish, receiver: string, owner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • assets: BigNumberish
      • receiver: string
      • owner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

provider: Provider
resolvedAddress: Promise<string>
signer: Signer

Methods

  • DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

  • _deployed(blockTag?: BlockTag): Promise<Contract>
  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

  • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
  • Parameters

    • runningEvent: RunningEvent
    • log: Log
    • listener: Listener

    Returns Event

  • allowance(arg0: string, arg1: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • arg0: string
    • arg1: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • spender: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • asset(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • Parameters

    • addressOrName: string

    Returns ERC4626Router

  • balanceOf(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • arg0: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • connect(signerOrProvider: string | Signer | Provider): ERC4626Router
  • Parameters

    • signerOrProvider: string | Signer | Provider

    Returns ERC4626Router

  • convertToAssets(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • shares: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • convertToShares(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • assets: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • decimals(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

  • Returns Promise<ERC4626Router>

  • deposit(assets: BigNumberish, receiver: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • assets: BigNumberish
    • receiver: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • emit(eventName: string | EventFilter, ...args: any[]): boolean
  • Parameters

    • eventName: string | EventFilter
    • Rest ...args: any[]

    Returns boolean

  • fallback(overrides?: TransactionRequest): Promise<TransactionResponse>
  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

  • listenerCount(eventName?: string | EventFilter): number
  • Parameters

    • Optional eventName: string | EventFilter

    Returns number

  • listeners<EventArgsArray, EventArgsObject>(eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>): TypedListener<EventArgsArray, EventArgsObject>[]
  • listeners(eventName?: string): Listener[]
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • Optional eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns TypedListener<EventArgsArray, EventArgsObject>[]

  • Parameters

    • Optional eventName: string

    Returns Listener[]

  • maxDeposit(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • arg0: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • maxMint(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • arg0: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • maxRedeem(owner: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • owner: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • maxWithdraw(owner: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • owner: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • mint(shares: BigNumberish, receiver: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • shares: BigNumberish
    • receiver: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • name(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • arg0: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): ERC4626Router
  • off(eventName: string, listener: Listener): ERC4626Router
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns ERC4626Router

  • Parameters

    • eventName: string
    • listener: Listener

    Returns ERC4626Router

  • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): ERC4626Router
  • on(eventName: string, listener: Listener): ERC4626Router
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns ERC4626Router

  • Parameters

    • eventName: string
    • listener: Listener

    Returns ERC4626Router

  • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): ERC4626Router
  • once(eventName: string, listener: Listener): ERC4626Router
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns ERC4626Router

  • Parameters

    • eventName: string
    • listener: Listener

    Returns ERC4626Router

  • permit(owner: string, spender: string, value: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • owner: string
    • spender: string
    • value: BigNumberish
    • deadline: BigNumberish
    • v: BigNumberish
    • r: BytesLike
    • s: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • previewDeposit(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • assets: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • previewMint(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • shares: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • previewRedeem(shares: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • shares: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • previewWithdraw(assets: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • assets: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • queryFilter<EventArgsArray, EventArgsObject>(event: TypedEventFilter<EventArgsArray, EventArgsObject>, fromBlockOrBlockhash?: string | number, toBlock?: string | number): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • event: TypedEventFilter<EventArgsArray, EventArgsObject>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

  • redeem(shares: BigNumberish, receiver: string, owner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • shares: BigNumberish
    • receiver: string
    • owner: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>): ERC4626Router
  • removeAllListeners(eventName?: string): ERC4626Router
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns ERC4626Router

  • Parameters

    • Optional eventName: string

    Returns ERC4626Router

  • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): ERC4626Router
  • removeListener(eventName: string, listener: Listener): ERC4626Router
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns ERC4626Router

  • Parameters

    • eventName: string
    • listener: Listener

    Returns ERC4626Router

  • symbol(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • totalAssets(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • totalSupply(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • transfer(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • to: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • transferFrom(from: string, to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • from: string
    • to: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • withdraw(assets: BigNumberish, receiver: string, owner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • assets: BigNumberish
    • receiver: string
    • owner: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • getContractAddress(transaction: { from: string; nonce: BigNumberish }): string
  • Parameters

    • transaction: { from: string; nonce: BigNumberish }
      • from: string
      • nonce: BigNumberish

    Returns string

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

  • isIndexed(value: any): value is Indexed
  • Parameters

    • value: any

    Returns value is Indexed

Generated using TypeDoc