📍4626 ETH Router
/// @param vault The ERC4626 vault to mint shares from.
/// @param to The address to mint shares to.
/// @param shares The number of shares to mint.
/// @param maxAmountIn The maximum amount of underlying
/// assets required for the mint to succeed.
function mint(
MoonwellERC4626Eth vault,
address to,
uint256 shares,
uint256 maxAmountIn
) public payable returns (uint256 amountIn);
/// @param vault The ERC4626 vault to deposit assets into.
/// @param to The address to mint shares to.
/// @param amount The amount of assets to deposit.
/// @param minSharesOut The minimum number of shares required for the deposit to succeed.
function deposit(
MoonwellERC4626Eth vault,
address to,
uint256 amount,
uint256 minSharesOut
) public payable returns (uint256 sharesOut);Last updated

