mev-toolkit/MEV_and_trading/vaults/ERC-4626.md
mvonsteinkirch d3a292bfd1 💾
2023-02-08 09:08:45 -08:00

848 B

Notes on ERC-4626

tl; dr

  • standard to optimize and unify the technical parameters of yield bearing vaults, i.e. vaults that represent shares of a single ERC20 token.
  • it offers a API for depositing, withdrawing tokens, and reading balances:
    • methods: asset, totalAsset, convertToShares, convertToAssets, maxDeposit, previewDeposit, deposit, maxMint, previewMint, mint, maxWithdraw, previewWithdraw, withdraw, maxRedeem, previewRedeem, redeem, totalSupply, balanceOf.
    • events: Deposit, Withdraw.


resources