Close position with a flashloan
When users usually take out a loan, they spend the borrowed amount to buy another token, to invest in a farming activity, etc. Most lending and borrowing in DeFi isn’t fixed-term which means that borrowers don’t have a term at which they need to repay their loans. They are not limited in time. However, they are exposed to the price volatility of the collateral. During downtrends or for another reason, a borrower can be interested in closing their position, but they might not have the borrowed asset to repay. In that case, Fuji has a feature that comes in handy and results in closing their position by repaying the debt with the available collateral. Behind the scenes, we use a flashloan, but all of this is abstracted away from the user.
Last updated