The 4626 ERC20 Vault has compatibility with the underlying Moonwell ERC20 mToken markets. These markets accept ERC20 tokens on deposit, and send users ERC20 tokens on withdrawals.
The 4626 ETH Vault interface conforms to the 4626 specification.
/// @param shares The number of shares to redeem./// @param receiver The address to receive the ERC20 tokens./// @param owner The address of the account to redeem from.functionredeem(uint256 shares,address receiver,address owner ) publicreturns (uint256 assets);
/// @param assets The amount of assets to withdraw./// @param receiver The address to receive the ERC20 tokens./// @param owner The address of the account to withdraw from.functionwithdraw(uint256 assets,address receiver,address owner ) publicreturns (uint256 shares);