> For the complete documentation index, see [llms.txt](https://cdo-finance.gitbook.io/cdo-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cdo-finance.gitbook.io/cdo-finance/user-guide/pancakeswap-lp-token-migration-action-required.md).

# ❗️PancakeSwap LP Token Migration (Action Required)

TL;DR: **Codex-wBNB LP v1 staking pool on CDO.Finance to stop CODEX token rewards** so please kindly: (1) unstake CODEX-wBNB LP v1 on CDO.Finance,\
(2) remove CODEX-wBNB LP v1 on PancakeSwap\
(3) obtain CODEX-wBNB LP v2 on PancakeSwap V2\
(4) Stake CODEX-wBNB LP v2 on CDO.Finance

As most should know by now, PancakeSwap has migrated to PancakeSwap V2 (see [here](https://pancakeswap.medium.com/the-great-migration-vote-4093cb3edf23)).&#x20;

### How does PCS migration affect CDO.Finance?

Prior to the migration, our users could acquire CODEX-wBNB v1 LP tokens by providing liquidity to the CODEX-wBNB v1 pool on PancakeSwap. These CODEX-wBNB v1 LP tokens are then staked on our CDO.Finance platform (under the "CODEX Staking" tab) to earn CODEX rewards.&#x20;

**We will stop rewarding CODEX for the CODEX-wBNB v1 staking pool on CDO.Finance. Instead, the same CODEX rewards will be earned in the CODEX-wBNB v2 staking pool on CDO.Finance.**

### What should I do?

For new liquidity providers, kindly follow the steps [here](/cdo-finance/user-guide/staking-for-codex-rewards-1/pancakeswap-lp-token-staking.md). Ensure that you have selected "Liquidity" instead of "V1 Liquidity (Old)" on the left column on PancakeSwap's website.

For those who have staked CODEX-wBNB v1 on CDO.Finance's staking pool, please kindly follow the steps below. For those who have not, you may skip to [Step 2](/cdo-finance/user-guide/pancakeswap-lp-token-migration-action-required.md#step-2-removing-codex-wbnb-lp-v1-on-pancakeswap) below.

#### **STEP 1 - Unstaking CODEX-wBNB LP v1 LP Token**

* Go to CDO Finance's Redeem Page (<https://cdo.finance/redeems>)
* Under the CODEX-wBNB LP v1, click "**Max**" for the amount you want to, followed by clicking on "**Unstake**" (see below image)

![](https://3240608428-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MV_qRrVDr03qY_iXZz3%2F-MZ1rIPLV1GD2bX70DhT%2F-MZ2fYzC85YE_58gX78K%2Fimage.png?alt=media\&token=7b67972f-880b-44ed-a558-8bf8bec552c7)

* After clicking "**Unstake**", you should get a pop-up notification in your MetaMask to accept the transaction
* Wait for the transaction to be processed
* Once the transaction has gone through, you should see the unstaked CODEX-wBNB v1 LP tokens in your MetaMask wallet

#### STEP 2 - Removing CODEX-wBNB LP v1 on PancakeSwap

* Next, go to PancakeSwap's V1 Liquidity (Old) page (<https://v1exchange.pancakeswap.finance/#/pool>)&#x20;
* Select "**Remove**" (see below image)

![](https://3240608428-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MV_qRrVDr03qY_iXZz3%2F-MZ1rIPLV1GD2bX70DhT%2F-MZ2hVuo-NSQJ_0w_DzL%2Fimage.png?alt=media\&token=42822de0-ae3b-48d7-9886-a6f66b1587d3)

* Select "**Max**" followed by "**Approve**" (see below image)

![](https://3240608428-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MV_qRrVDr03qY_iXZz3%2F-MZ1rIPLV1GD2bX70DhT%2F-MZ2i4aHH4Fg7NmlFcQC%2Fimage.png?alt=media\&token=0b325f2a-8221-4a11-bec8-6c1bae7c1814)

* After clicking "**Approve**", you should get a pop-up notification in your MetaMask to authorise the transaction
* Thereafter, click "**Remove**" and followed by "**Confirm**" in the pop-up (see image below); you should then get a pop-up notification in your MetaMask to accept the transaction

![](https://3240608428-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MV_qRrVDr03qY_iXZz3%2F-MZ1rIPLV1GD2bX70DhT%2F-MZ2iyAm3bae8LYXOUyH%2Fimage.png?alt=media\&token=b24f5dbf-24a4-4dcc-93e1-b318465ada1d)

* Once the transaction has gone through, you should see the CODEX and BNB tokens in your MetaMask wallet

#### STEP 3 - Obtaining CODEX-wBNB LP v2 on PancakeSwap V2

* Go to [https://exchange.pancakeswap.finance](https://exchange.pancakeswap.finance/#/add/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c/0x9E95cB3D0560f9Cba88991f828322526851BFb56)
* Click on "**Add Liquidity**" (see image below)
* **If CODEX tokens cannot be found on the list, search for CODEX tokens by its contract address:**&#x20;
  * **0x9E95cB3D0560f9Cba88991f828322526851BFb56**

![](https://3240608428-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MV_qRrVDr03qY_iXZz3%2F-MX7yf0BmpP11ysAOoOj%2F-MX81TG47CjYQqzboB6I%2FAddLiquidity.png?alt=media\&token=54c0768d-0df9-467c-a65c-dc87cfa4050e)

* Specify the amount of wBNB / CODEX you wish to add to the liquidity pool
* Click "**Supply**"
* After clicking "**Confirm**", you should get a pop-up notification in your MetaMask to accept the transaction
* Wait for the transaction to be processed
* Once the transaction has gone through, you should receive the CODEX-wBNB v2 LP token in your wallet
* **If you cannot see CODEX-WBNB v2 LP token in your MetaMask wallet, add the CODEX-WBNB v2 LP token using its contract address (more details** [**here**](/cdo-finance/user-guide/custom-tokens-on-metamask.md)**):**&#x20;
  * **0x32898e10a77594b45114cf7fd0f84ae2afbb997c**

#### STEP 4 - Staking CODEX-wBNB LP v2 on CDO.Finance

* Go to CDO.Finance's CODEX Staking page (<https://cdo.finance/codex-staking>)
* Select the CODEX-wBNB LP v2 staking pool
* Specify the amount of CODEX-wBNB LP v2 tokens you want to stake
* Click "**Approve**" (see image below)

![](https://3240608428-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MV_qRrVDr03qY_iXZz3%2F-MZ3GW9lxv4oW-mDMVDV%2F-MZ8lwifWe25mOp168S8%2Fimage.png?alt=media\&token=71486785-18fb-447f-82e8-9fad7eeaf332)

* After clicking "**Approve**", you should get a pop-up notification in your MetaMask to accept the transaction
* Wait for the transaction to be processed
* Once the transaction has gone through, you should see the amount of staked CODEX-wBNB v2 LP tokens
* You are now earning CODEX rewards!

If you have any further queries, please do not hesitate to reach out to our team.
