const compoundV3BorrowAction = new dfs.actions.compoundV3.CompoundV3BorrowAction(
market,
amount,
to,
onBehalf
);
Action Type
STANDARD_ACTION
Input Parameters
/// @param market Main Comet proxy contract that is different for each compound market
/// @param amount Amount of tokens to be borrowed
/// @param to The address we are sending the borrowed tokens to
/// @param onBehalf The address from where we are borrowing the tokens from. Defaults to the user's wallet.
struct Params {
address market;
uint256 amount;
address to;
address onBehalf;
}