De-Leverage Position Tutorial
This tutorial will help you to create a de-leveraged position on Furucombo. This combination will allow you to withdraw your position from a lending protocol, such as Aave, without any upfront funds. This is because it uses your collateral position, which is higher than your debt, to repay the debt and take the remaining principal. If you are more of a visual learner, you can use our video tutorial instead.
Aave allows a user to borrow some funds from their collateral position. This means if you make a deposit on Aave, you’ll earn interest on your deposit, as well as open the possibility to borrow from your collateral. This is based on the loan-to-value ratio determined by the protocol. You can borrow up to some percentage of your collateral position depending on the asset deposited. To learn more about the borrow ratios, visit the risk parameters page on Aave and select the network that pertains to you.
Leveraging allows you to borrow an asset, and swap that to the collateral asset to leverage your position. For example, if a user deposits ETH, and borrows USDC, and swaps that USDC to ETH, they’ve now created a leveraged position. De-leveraging allows you to adjust your position to reduce your debts, or your exposure to leverage on the market.
You can use a de-leverage strategy when you wish to reduce your risk to the market, or to reduce your liquidation risk.
The advantage of the de-leverage strategy is that it doesn’t require any upfront funds to execute, and allows you to take advantage of the benefits listed above.
- 1.Connect your wallet and select the network of your choice on the top right of create mode on Furucombo. Once connected, click the cube icon in the center of the page, and add a ‘Flashloan’ cube. We want to flashloan the amount to repay the debt position, either by selecting the same token, or swapping before repaying. If for example you have a $1000 debt of USDC, we will flashloan $1000 USDC as shown below.
- 2.Next we will add the ‘Repay’ cube to repay the debt position. We will use the flash loan funds to repay this amount. Once the repay cube is added with the token amount, set it above the bottom flash loan cube.
- 3.Next, we will add the total collateral funds to the Furucombo proxy contract using the ‘Add Funds’ cube so that we can withdraw our position. For example, if I had 1500DAI as collateral, my add funds cube will be for 1500aPolDAI (depending on the network). The add funds cube must be in the amToken that you have provided to Aave as collateral. In this example, our collateral is DAI, so we will use the aPolDAI token (depending on the network) to add funds back to the contract. Again ensure the add funds cube is above the bottom flash loan cube.
- 4.With the add funds cube in place, we can withdraw the collateral. Next we will use a ‘Withdraw’ cube, and withdraw the collateral position. Add the withdraw cube, and add the amToken as your input in order to withdraw the collateral from Aave. In this example, we will withdraw the aPolDAI to DAI.
- 5.(optional) With the funds withdrawn, we now need to swap the DAI to USDC in order to pay back the flash loan that was borrowed. Because the collateral in Aave is higher than the debt position, it allows us to pay back the flash loan with extra collateral to spare.
This is how you perform a De-Leverage strategy on Furucombo. If you have any questions or concerns, please reach out to us on our community Discord.
To learn more about our other position management features, click the following tutorials: