YearnWithdraw
Last updated
/// @param yToken - address of yToken to withdraw (same as yVault address)
/// @param yAmount - amount of yToken to withdraw
/// @param from - address from which to pull yTokens from
/// @param to - address where received underlying tokens will be sent to
struct Params {
address yToken;
uint256 yAmount;
address from;
address to;
}return (bytes32(amountReceived));emit ActionEvent("YearnWithdraw", logData);
logger.logActionDirectEvent("YearnWithdraw", logData);
bytes memory logData = abi.encode(params);