MorphoBlueBorrow
Last updated
/// @param marketParams Market params of specified Morpho Blue market
/// @param borrowAmount The amount of assets to borrow
/// @param onBehalf The address that owns the position whose debt will increase
/// @param to The Address which will receive tokens borrowed
struct Params {
MarketParams marketParams;
uint256 borrowAmount;
address onBehalf;
address to;
}return bytes32(amount);emit ActionEvent("MorphoBlueBorrow", logData);
logger.logActionDirectEvent("MorphoBlueBorrow", logData);
bytes memory logData = abi.encode(params);