const makerWithdrawAction = new dfs.actions.maker.MakerWithdrawAction(
vaultId,
amount,
joinAddr,
to,
mcdManager
);
Action Type
STANDARD_ACTION
Input Parameters
/// @param vaultId Id of the vault
/// @param amount Amount of collateral to withdraw
/// @param joinAddr Join address of the maker collateral
/// @param to Address where to send the collateral we withdrew
/// @param mcdManager The manager address we are using [mcd, b.protocol]
struct Params {
uint256 vaultId;
uint256 amount;
address joinAddr;
address to;
address mcdManager;
}