Migrating from V2 to V3
Last updated
Was this helpful?
Last updated
Was this helpful?
V3 has updated the YU contract address, while the YBTC address remains unchanged. To complete tasks and earn Berries, you need to close your V2 vault, claim your YBTC, and use it to mint YU on V3.
Close Your V2 Vault:
Navigate to the Position Details page and select Close Vault.
Ensure you have repaid all outstanding debts, including any accrued interest.
If you don’t have enough YU to cover the repayment, use the Swap function in V2 to obtain YU.
You can find more details about closing vaults here https://docs.yala.org/user-guide-v2/portfolio-management#steps-to-close-vault
Notice: Due to price fluctuations, your collateral ratio may be insufficient to close the vault. To meet the requirement and retrieve your YBTC, you can either repay some YU or deposit additional YBTC.
Alternatively, if you prefer not to close your vault, you can use the Swap function directly, as the YBTC contract remains unchanged. You can then use the swapped assets to interact with V3.
For Users Who Staked YU in Uniswap:
First, unstake your LP tokens.
Then, remove your liquidity from Uniswap.
After that, proceed to close your vault and retrieve your YBTC.
Switch to V3:
Select V3 at the top of the page.
Reconnect your wallet for a smooth experience.