Closed tomjeatt closed 8 months ago
Blocks https://github.com/interlay/interbtc-ui/issues/1580
The UI calls the vaults.withdrawCollateral method which takes an amount with a type of MonetaryAmount. To withdraw all collateral, we need to be able to pass in None rather than a MonetaryAmount.
vaults.withdrawCollateral
MonetaryAmount
None
Blocks https://github.com/interlay/interbtc-ui/issues/1580
The UI calls the
vaults.withdrawCollateral
method which takes an amount with a type ofMonetaryAmount
. To withdraw all collateral, we need to be able to pass inNone
rather than aMonetaryAmount
.