const morphoBlueBorrowAction = new dfs.actions.morpho-blue.MorphoBlueBorrowAction(
loanToken,
collateralToken,
oracle,
irm,
lltv,
borrowAmount,
onBehalf,
to
);
Action Type
STANDARD_ACTION
Input Parameters
/// @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;
}