AaveV3Withdraw
Last updated
/// @param assetId Asset id.
/// @param useDefaultMarket Whether to use the default market.
/// @param amount Amount of tokens to withdraw.
/// @param to Address to send the withdrawn tokens to.
/// @param market Aave Market address.
struct Params {
uint16 assetId;
bool useDefaultMarket;
uint256 amount;
address to;
address market;
}return bytes32(withdrawnAmount);emit ActionEvent("AaveV3Withdraw", logData);
logger.logActionDirectEvent("AaveV3Withdraw", logData);
bytes memory logData = abi.encode(params);