Take it iZi

Posted on Jul 18, 2023Read on Mirror.xyz

iZiSwap Contract Upgrade - LP Migration Tutorial

We're deploying an upgrade to the iZiSwap contracts to optimize the gas performance for limit order functions.

Here is a tutorial part:

1. Go to izumi.finance/trade/liquidity

https://izumi.finance/trade/liquidity

Click “Start now“ and come to legacy.izumi.finance/trade/liquidity, you can find all previous LP positions here.

https://legacy.izumi.finance/trade/liquidity

2. Click “Details“ then click the “Remove“ button.

Choose “100%“ and click “Remove“.

The funds will be sent from the contract to your wallet.

3. Re-deposit the LP (izumi.finance/trade/liquidity)

https://izumi.finance/trade/liquidity

Select “liquidity” => “add liquidity”, make sure you are on the right network you want to use.

Select your preferred pair to provide liquidity. Here, we take ETH-USDC as an example. Choose the fee tier of 0.20%.

Input the amount you wish to provide and set the price range. and the needed amount of ETH will subsequently appear immediately.

Approve your tokens if it’s the first time for you to provide liquidity. Click “Create” button to proceed.

You shall see your LP position info on the “Liquidity” page. You could easily collect fees, add more liquidity, or remove liquidity