CDP

Opening a CDP

In this section, you will learn how to open a CDP, via the web application.

A wallet can only have one CDP opened for a given type of iAsset.

For example, Wallet A can only open 1 iUSD CDP and 1 iBTC CDP.

Summary

Opening a CDP requires to: (1) deposit some amount of ADA collateral and (2) input a collateral ratio. In exchange, some amount of iAsset will be minted (e.g.: opening a CDP for iBTC requires to deposit ADA, in exchange the user will receive iBTC).

The collateral ratio influences: (1) the amount of iAsset that will be minted, and (2) the risk of liquidation.

The higher the collateral ratio, the fewer iAsset minted, but the lower the risk of liquidation is. On the contrary, the lower the collateral ratio, the more iAsset minted, but the higher the risk of liquidation is.

Detail

1. From the Dashboard page, click on the Open Position button.

2. In the Open Position page you can either:

  • Option A: let the web app choose for you the amount of iAsset to be minted; or

  • Option B: choose the amount of iAsset to be minted.

  • Input a collateral amount or click on one of the button below to pre-fill the input field based on the ADA balance of the connected wallet.

  • Input a collateral ratio or select one of the pre-defined value.

This will result in the amount of iAsset to be automatically computed.

3. Tick the checkbox, and click on the Open Position button. You will be prompted to sign the transaction. Once the transaction is validated on the blockchain, you will receive the minted iAssets in your wallet.

Depositing Collateral

In this section, you will learn how to deposit collateral to an existing CDP, via the web application.

Summary

Once we have opened a CDP, you can interact with it in different ways; one of which is to deposit more collateral.

Depositing more collateral into a CDP will increase its collateral ratio; this helps to keep the CDP healthy and lowers the risk of the CDP being liquidated.

Detail

1. From the Dashboard page, click on the Manage button.

2. Input the collateral amount you wish to deposit or click on one of the button below to pre-fill the input field based on the ADA balance of the connected wallet.

Inputting different amount of collateral will automatically update the Collateral Ratio and Total Collateral values in the Result section.

These values can be compared with the ones displayed in the Current Position section on the right side of the web page.

3. Tick the checkbox, and click on the Deposit Collateral button. You will be prompted to sign the transaction. Once the transaction is validated on the blockchain, your CDP will have a higher ADA collateral amount, and its collateral ratio will have increased.

Withdrawing Collateral

In this section, we will learn how to withdraw collateral from an existing CDP, via the web application.

Summary

Withdrawing collateral from a CDP means that you will take out a portion of the collateral that was deposited in the CDP.

Withdrawing collateral from a CDP will decrease its collateral ratio, which in turn will increase the risk of the CDP being liquidated.

A Protocol Fee of 2% is incurred when withdrawing collateral, which is computed according to the amount of collateral to be withdrawn.

Detail

1. From the Dashboard page, click on the Manage button.

2. Input the collateral amount you wish to withdraw or click on one of the button below to pre-fill the input field based on the ADA balance of the connected wallet.

Inputting different amount of collateral will automatically update the Collateral Ratio and Total Collateral values in the Result section.

These values can be compared with the ones displayed in the Current Position section on the right side of the web page.

3. Tick the checkbox, and click on the Withdraw Collateral button. You will be prompted to sign the transaction. Once the transaction is validated on the blockchain, your CDP will have a lower ADA collateral amount, and its collateral ratio will have decreased.

Minting iAssets

In this section, you will learn how to mint additional iAssets from an existing CDP, via the web application.

Summary

Minting iAssets allows you to obtain more iAssets from an existing CDP. The amount of iAssets that can be minted depends on the current amount of collateral deposited in the CDP.

Minting iAssets from a CDP will decrease its collateral ratio, which in turn will increase the risk of the CDP being liquidated.

Detail

1. From the Dashboard page, click on the Manage button.

2. Input the amount of iAssets you wish to mint or click on one of the button below to pre-fill the input field based on the current amount of collateral deposited in the CDP.

Inputting different amount of iAssets will automatically update the Collateral Ratio and Total Debt values in the Result section.

These values can be compared with the ones displayed in the Current Position section on the right side of the web page.

3. Tick the checkbox, and click on the Mint iAsset button. You will be prompted to sign the transaction. Once the transaction is validated on the blockchain, you will receive the requested amount of iAssets, and your CDP will have a lower collateral ratio.

Burning an iAsset

In this section, you will learn how to burn iAssets from an existing CDP, via the web application.

Summary

Burning iAssets allows you to repay your debt. The amount of iAssets that can be burnt depends on the amount of iAssets you minted under the CDP.

Burning iAssets from a CDP will increase its collateral ratio; this helps to keep the CDP healthy and lowers the risk of the CDP being liquidated.

Detail

1. From the Dashboard page, click on the Manage button.

2. Input the amount of iAssets you wish to burn or click on one of the button below to pre-fill the input field based on total amount of debt you owe (i.e.: the total amount of iAssets you minted under the CDP).

Inputting different amount of iAssets will automatically update the Collateral Ratio and Total Debt values in the Result section.

These values can be compared with the ones displayed in the Current Position section on the right side of the web page.

3. Tick the checkbox, and click on the Burn iAsset button. You will be prompted to sign the transaction. Once the transaction is validated on the blockchain, you will have fewer iAssets in your wallet and your CDP will have a higher collateral ratio.

Closing a CDP

In this section, you will learn how to close a CDP, via the web application.

Summary

Closing a CDP allows you repay your debt in full and retrieve the total amount of collateral deposited under the CDP. Closing a CDP is final. If you wish to mint more iAssets, you will need to re-open a CDP.

A Protocol Fee of 2% is incurred when closing a CDP, which is computed according to the total amount of collateral in the CDP. The collected fee will be distributed to INDY stakers.

If you do not have enough iAssets to close your CDP, you can buy more iAssets on a DEX.

Detail

1. From the Dashboard page, click on the Manage button.

2. Input the total amount of iAssets you had minted, or click on the 100% button below to automatically fill the input field.

The Result section will automatically update and state that you are closing your CDP.

3. Tick the checkbox, and click on the Close CDP button. You will be prompted to sign the transaction. Once the transaction is validated on the blockchain, you will have repaid your debt and will have received the total amount of collateral you had deposited.

Last updated