Managing Debt
Last updated
Last updated
Having an existing vault, the user will need to be able to manage their vault to ensure that it doesn't become open to liquidation by falling below the liquidation threshold.
To easily do this, the user can select the "My Vaults" navigation button to filter out all of the collateral types that the they are not using. The user can also interact with their vaults under the default "All Vaults" tab if desired.
Existing vaults have several ways to interact with them. The user will be able to "Mint" xUSD, "Deposit" additional collateral, "Return" xUSD or "Withdraw" existing collateral.
Minting additional xUSD and withdrawing your collateral will always reduce the users CR, closer to liquidation. Depositing additional collateral and returning xUSD will always improve your CR. The UI box that pops up from interacting with any of these buttons will inform the user of how the action will affect the vaults CR and liquidation price before performing the action.
If the user desires to close their CDP completely, the debt can be paid down to below 100 xUSD. Because 100 xUSD is the minimum debt allowed, if the user goes below the threshold, the CDP will be closed if there is enough xUSD in the users wallet, or the transaction fails due to insufficient funds. If the CDP is able to close, all remaining collateral will be released back to the users wallet.