mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-08-04 04:14:14 -04:00
848 B
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
.
- methods: