const LiquityUnstakeAction = new dfs.actions.liquity.LiquityUnstakeAction(
lqtyAmount,
to,
wethTo,
lusdTo,
);
Contract
This is a DFS STANDARD_ACTION.
If amount is max.uint withdraw whole LQTY amount
Input:
/// @param lqtyAmount Amount of LQTY tokens to unstake
/// @param to Address that will receive the tokens
/// @param wethTo Address that will receive ETH(wrapped) gains
/// @param lusdTo Address that will receive LUSD token gains
struct Params {
uint256 lqtyAmount;
address to;
address wethTo;
address lusdTo;
}