Last updated: 03 April 2022 05:49 PM
Added screenshot of the web-app
A lot of people use multiple addresses and have split up multiple assets into different addresses.
Currently, in the AAVE ecosystem, there is no way to transfer your positions to a different address directly. The user needs to repay the debt which he borrowed and then withdraw and transfer it to another address and deposit. The problem which arises is what if the user does not currently have the tokens he borrowed, he is stuck and cannot repay the loan and transfer positions to another address.
With this project, the user does not need to worry about getting tokens he borrowed and repaying the loan to transfer his positions to a different account. The contract will take a flash loan and repay all the tokens borrowed and then simply migrate all the positions from one address to another with a click, making the lives of thousands of AAVE users much simpler.
The main challenge I ran into was that the Debt tokens of AAVE (the tokens we get on AAVE after borrowing) are non-transferrable, unlike an ERC-20 token. This makes migrating AAVE positions to different addresses impossible without repaying back the debt. AAVE Flash Loans helped me overcome this challenge as leveraging Flash Loans we could repay the debt and then migrating positions to another address became much simpler.