Withdraw lpToken from the contract and provide less cover for a SAFE
SDK Action
const reflexerSaviourWithdrawAction = new dfs.actions.reflexer.ReflexerNativeUniV2SaviourWithdrawAction(
to,
safeId,
lpTokenAmount,
);
Contract
This is a DFS STANDARD_ACTION.
Input:
/// @param to The address that will receive the LP tokens
/// @param safeId The ID of the SAFE that's protected. This ID should be registered inside GebSafeManager
/// @param lpTokenAmount amount of LP tokens to withdraw
struct Params {
address to;
uint256 safeId;
uint256 lpTokenAmount;
}