const liquitySPDepositAction = new dfs.actions.liquity.LiquitySPDepositAction(
LUSDAmount,
from,
wethTo,
lqtyTo,
);
Contract
This is a DFS STANDARD_ACTION.
The address from which we are pulling LUSD must approve proxy to pull tokens
If lusdAmount is max.uint deposit whole balance
Input:
/// @param lusdAmount Amount of LUSD tokens to deposit
/// @param from Address where to pull the tokens from
/// @param wethTo Address that will receive ETH(wrapped) gains
/// @param lqtyTo Address that will receive LQTY token gains
struct Params {
uint256 lusdAmount;
address from;
address wethTo;
address lqtyTo;
}