Migrating from V2 to V3
Last updated
Was this helpful?
Last updated
Was this helpful?
V3 has updated the $YU contract address to 0xe0232D625Ea3B94698F0a7DfF702931B704083c9, while the YBTC address remains unchanged. To complete tasks and earn Berries, you need to close your V2 vault (s) if applicable, swap your V2 $YU to YBTC, and use it to mint new $YU on V3.
Steps to Migrate:
There are two ways to retrieve your YBTC and use it in V3 if you hold V2 $YU:
Option 1: 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
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.
Option2: Use the Swap Function:
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, make sure you have connected your wallet on Testnet V2.
Second, hit “Portfolio” → “ Stake LP Token”, and click “Withdraw” to unstake your LP tokens from V2.
Thirdly, click “Here” in the left “Get LP Token” and land yourself on Uniswap V2 under testnet mode.
Fourthly, go to “Your Positions”, pick one, tap “Remove Liquidity”, and confirm.
And boom, your YBTC/$YU is back.
After that, pull all $YU on V2 with YBTC.
Switch to V3:
Select V3 at the top of the page.
Reconnect your wallet for a smooth experience.
Mint Fresh $YU on V3 with that YBTC.
Deposit $YU into V3 liquidity pools for new LP tokens (You can provide liquidity via Uniswap V2 under testnet mode).
Stake them in V3 under and start earning Berries.
You can also deposit $YU into the Stability Pool to earn Berries.
How to confirm you have fully exited V2? 1. Checking $YU balance on V2, if they have been fully converted to YBTC. 2. Check if you have closed all the vaults. V2 vaults don't carry over and won't earn your more Berries.
Close them out and then start fresh in V3 to keep rolling.
Important note You must mint at least 2,000 $YU to create a vault - otherwise, the transaction may fail. Follow the guide here: