interface icon indicating copy to clipboard operation
interface copied to clipboard

Aave v2 to v3 migration

Open chriscrutt opened this issue 2 years ago • 3 comments

Migrate Aave v2 positions to Aave v3

Right now InstaDapp allows you to migrate your Aave v2 position (both deposits and borrows) to v3. The caveat is that you can only do it if you move your positions to their platform/a smart contract. If you wish to withdraw back to your wallet you’re required to pay back all your loans :(

It would be nice if Aave implemented an easy way to migrate positions from v2 to v3 on its website while keeping your assets in your wallet and not having to liquidate/pay back loans.

As a side note, it would also be cool to have a debt swap function if you'd like to swap from one stablecoin to another without repaying loans. I know InstaDapp has a collateral/debt swap function too. For example, swapping USDC loan for DAI.

I also added this to the Aave governance forum here

chriscrutt avatar Apr 18 '22 21:04 chriscrutt

Should I create another feature request for the debt swap function I mentioned? Or leave it be.

chriscrutt avatar Apr 28 '22 17:04 chriscrutt

Should I create another feature request for the debt swap function I mentioned? Or leave it be.

Would do so yes, it's a quite cool idea.

cc: @foodaka

sakulstra avatar Apr 29 '22 10:04 sakulstra

Should I create another feature request for the debt swap function I mentioned? Or leave it be.

Would do so yes, it's a quite cool idea.

posted https://github.com/aave/interface/issues/731 @sakulstra

chriscrutt avatar Apr 29 '22 23:04 chriscrutt

Hi @chriscrutt, @sakulstra, @drewcook, @defispartan - is there a budget for fixing this issue, and if so, how much?

I'd put this issue up on OpenQ to attract devs.

Thanks!

ef3n9r98 avatar Dec 05 '22 19:12 ef3n9r98

@ef3n9r98 this is already being worked on https://github.com/bgd-labs/aave-interface/pull/9

Debtswap as well actually.

sakulstra avatar Dec 05 '22 20:12 sakulstra

Yep, we have working migration working at the moment, need to solve couple of comments and finish dynamic health factor calculation based on selected positions and will create PR on aave repo

satanworker avatar Dec 06 '22 07:12 satanworker

sweeeeet

chriscrutt avatar Dec 18 '22 19:12 chriscrutt

Hey I just saw then enabled migration on the interface! Shall we mark this as closed?

chriscrutt avatar Feb 09 '23 20:02 chriscrutt