const morphoAaveV2BorrowAction = new dfs.actions.morpho.MorphoAaveV2BorrowAction(
tokenAddr,
amount,
to,
maxGasForMatching
);
Action Type
STANDARD_ACTION
Input Parameters
/// @param tokenAddr The address of the token to be borrowed
/// @param amount Amount of tokens to be borrowed
/// @param to The address we are sending the borrowed tokens to
/// @param maxGasForMatching - Max gas to spend on p2p matching
struct Params {
address tokenAddr;
uint256 amount;
address to;
uint256 maxGasForMatching;
}