MorphoBlueWithdrawCollateral
Last updated
/// @param marketParams Market params of specified Morpho Blue market
/// @param withdrawAmount The amount of assets to supply.
/// @param onBehalf The address that owns the collateral position.
/// @param to The address that will receive the collateral assets.
struct Params {
MarketParams marketParams;
uint256 withdrawAmount;
address onBehalf;
address to;
}return bytes32(amount);emit ActionEvent("MorphoBlueWithdrawCollateral", logData);
logger.logActionDirectEvent("MorphoBlueWithdrawCollateral", logData);
bytes memory logData = abi.encode(params);