bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 6쪽
et" on the top-righthand corner.
2. For most of the browser extension wallets, simple select their icon, and follow the instruction in the pop-up window.
3. For Blocto, please use your Email address to register or sign in. To learn more, please check out [here](/welcome-to-pancakeswap/how-to-guides/get-started-aptos/wallet-guide).
{% hint style="danger" %}
**Remember - NEVER, under any situation, should you ever give someone your private key or recovery phrases.**
{% endhint %}
## **Connect to Aptos Mainnet**
Aptos has multiple networks, including multiple devnets and testnets. But to use PancakeSwap on Aptos Chain, please be sure your wallet is connected to **Aptos Mainnet**.
Here's how:
{% tabs %}
{% tab title="Petra" %}

{% endtab %}
{% tab title="Martian" %}

{% endtab %}
{% tab title="Pontem" %}

{% endtab %}
{% tab title="Fewcha" %}

{% endtab %}
{% endtabs %}
# Aptos FAQ
This FAQ page answers some of the more commonly asked questions from the PancakeSwap community about our Aptos Deployment.
## General
### How to bridge from BSC (Binance Smart Chain) to Aptos?
Check out [our bridging guide](/welcome-to-pancakeswap/how-to-guides/get-started-aptos/aptos-coin-guide) for various bridging solutions.
If you want to bridge CAKE token, check out our [CAKE bridging guide](/welcome-to-pancakeswap/how-to-guides/get-started-aptos/cake-bridging-guide).
### Which wallet I can use for Aptos Chain?
Check out [our wallet guide](/welcome-to-pancakeswap/how-to-guides/get-started-aptos/wallet-guide) to download and set up your wallet for Aptos.
### Showing "Price Impact Too High" when swapping coins
This is likely due to bad network connections to blockchain nodes. Refresh the page, and check your network connection.
If the error persists, it means the pair of coins you are trying to swap has insufficient liquidity for the amount you are trying to swap. The liquidity for major coins will slowly and steadily be improved over time, and the liquidity issue will likely be solved when our Aptos Farms are deployed. (SOON!)
### I couldn't find the coin I wanted to swap
The default list on Aptos Swap only shows coins from well-known projects with a sufficient amount of liquidity.
If you want to swap other coins that are not on the default list, import them using their coin address.
### Why I can’t trade CAKE on Aptos Swap?
CAKE token/coin is now live on Aptos. Check out our [CAKE bridging guide](/welcome-to-pancakeswap/how-to-guides/get-started-aptos/cake-bridging-guide) to learn more about bridging CAKE tokens between Aptos and BNB Smart Chain.
### Do I need to stake CAKE on Aptos to participate in Aptos IFOs?
PancakeSwap IFO has not yet been deployed on Aptos. (SOON!) Keep staking your CAKE, and stay tuned for more news.
## CAKE Bridging
{% hint style="info" %}
This document has been migrated [here](/bridge/faq)
{% endhint %}
# V3/V2 Migration
Here are some useful documents for the migration of Exchange V3 and Farm V3.
# How to migrate
Migrate your liquidity and farm stakings to the new PancakeSwap Exchange and Farm V3
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FmCNKTtGrKgKdvQXfe8Wv%2Fimage.png?alt=media&token=ca42bfe5-ee31-4388-8f24-0cee7d29af14" alt=""><figcaption></figcaption></figure>
In April 2023, PancakeSwap announced V3 for Exchange and Farms. Some farming pairs will need to be migrated to keep earning staking rewards. Relax, like last time, it should be smooth.
### But wait! Do I need to migrate? <a href="#id-4b9e0260-9dee-493b-b0ad-6bdba084cea6" id="id-4b9e0260-9dee-493b-b0ad-6bdba084cea6"></a>
You need to migrate if you meet the following conditions:
**Farming on the following V2 PancakeSwap Farms:**
* BNB Chain:
* CAKE-BNB
* CAKE-BUSD
* CAKE-USDT
* BUSD-BNB
* USDT-BNB
* BTCB-BUSD
* BTCB-USDT
* BTCB-ETH
* BTCB-BNB
* ETH-BNB
* ETH-USDC
* USDC-USDT
* BUSD-USDC
* BUSD-USDT
* Ethereum:
* ETH-USDC
* ETH-USDT
* WBTC-ETH
The list will likely grow eventually. The easiest way to check the updated list is to visit <https://pancakeswap.finance/migration> and connect your wallet
**Providing V2 liquidity, and meeting the following conditions:**
* The majority of the liquidity for the token pair has been migrated to V3 - Please check the PancakeSwap Info page, or the website or social channels of the token project for more detail.
* The project team of that token has announced the liquidity will be migrated to V3 - Please check the individual project websites or social channels for more detail.
### How to migrate <a href="#c7d7b407-268c-460c-a4f1-be1b771db5e7" id="c7d7b407-268c-460c-a4f1-be1b771db5e7"></a>
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FOWpVoVJW0YRy5ASWHsJH%2Fimage.png?alt=media&token=06b2c9ed-6681-47b0-b4bd-01627165ec06" alt=""><figcaption></figcaption></figure>
Look for the V3 migration banner on the Liquidity or Farm page. Then click “Proceed” to enter the migration helper page.
**Step 1 - Unstake from V2 and/or StableSwap farms**
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FnStLXuOX93ekZYMtXGJR%2Fimage.png?alt=media&token=7ba8dc25-4f18-4628-ba03-b2830137a2c2" alt=""><figcaption></figcaption></figure>
In step 1, the helper will list all the PancakeSwap V2 or StableSwap farms that require migrations.
Click each of the “Unstake All” buttons to unstake all staked LP tokens from farms. Your wallet will ask for confirmation.
When all the listed farms are unstaked, click “Next Steps” to proceed.
**Step 2 - Remove liquidity from Exchange V2 or StableSwap**
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FMU9nGLqwLh5YBpb8GGXn%2Fimage.png?alt=media&token=ca6b9cfc-104c-496e-bd3d-f2ce8344c315" alt=""><figcaption></figcaption></figure>
In step 2, the helper will list all the liquidity positions that can be migrated to V3 with CAKE yield farming.
Click each of the "Remove" buttons to bring up the remove liquidity modal with 100% selected.
Then click “Enable”, sign the transaction in your wallet, and click “Remove”. Your wallet will ask for confirmation.
{% hint style="info" %}
Even though some other project tokens are also migrating to V3, they will not appear in the list. Please check the individual project websites or social channels for more detail. And use the [Liquidity](https://pancakeswap.finance/liquidity) page to migrate manually.
{% endhint %}
**Step 3 - Get ready for V3**
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FJ8g4PYIN9Q1KxUuB9GsH%2Fimage.png?alt=media&token=633530e0-aadc-4e71-9d15-661b16296a57" alt=""><figcaption></figcaption></figure>
No action is needed. Simply read and make sure you are familiar with how V3 works and how to provide liquidity in V3.
**Step 4 - Add V3 liquidity**

In this step, you will add your liquidity to the new Exchange V3.
Click “Add Liquidity”. Your previously removed V2 liquidity will show up in the list, click “Add” to bring up the interface for adding V3 liquidity.
If you don’t see the pair you want to add, click “Add Other Pairs” instead and choose the two tokens manually.
For a more detailed tutorial on how to provide liquidity in V3, read [here](/earn/pancakeswap-pools/liquidity-guide).
If you have questions while providing liquidity in V3, check here for [FAQ](/trade/trading-faq/swap-faq).
{% hint style="warning" %}
Please be aware that in Exchange V3, only active (in-range) liquidity positions will earn trading fee rewards.
Please be cautious while setting the price range for the liquidity position.
{% endhint %}
**Step 5 - Stake in V3 farms**
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2F2nZNL9Jv6ajexLuQaidz%2Fimage.png?alt=media&token=2261286b-7367-4de2-bcbe-43c4ef11cd38" alt=""><figcaption></figcaption></figure>
In this step, you will stake your freshly added V3 liquidity positions to the new V3 farms to start earning CAKE rewards!
Click each of the “Stake” buttons on the position to stake them into farms. Your wallet will ask for confirmation.
For a more detailed tutorial on how to farm in V3, read [here](/earn/yield-farming/how-to-use-farms#farm-v3).
If you have questions while staking liquidity in V3 farms, check here for [FAQ](/earn/earn-faq/farming-faq).
{% hint style="warning" %}
Please be aware that in Farm V3, only active (in-range) liquidity positions will earn CAKE rewards.
Please be cautious while setting the price range for the liquidity position.
{% endhint %}
**Finished**
That's it. You've migrated your farm staking and liquidity to the new PancakeSwap V3!
# How v3 APR is calculated
{% hint style="info" %}
In V3 Liquidity and Farms, with the new non-fungible liquidity and customizable price range ability. Each LP position will have its own LP fee and CAKE farming APR.
{% endhint %}
The total APR is combined by the LP fee APR and CAKE reward APR
### LP fee
Theoretically speaking, given a price range and liquidity user about to add, we can estimate the expected future 7 days fee as following
$$
fee\_{next7d} = fee\_{in} \frac{\Delta{L}}{L\_{in} + \Delta{L}}
$$
* $$fee\_{in}$$ : Fee amount accrued in the user specified price range in last 7 days
* $$L\_{in}$$: Current liquidity in the user specified price range
* $$\Delta{L}$$: Liquidity user want to add to the price range
#### Fee in range
For $$fee\_{in}$$, we use the historical trading volume data, fee tier and historical price data to estimate the price in range
$$fee\_{in} = f\_tV\_{7d}\frac{T\_{in}}{T\_{7d}}$$
* $$f\_t$$: Fee tier
* $$V\_{7d}$$: Total trading volume of last 7 days
* $$T\_{in}$$: Duration, measured in seconds, of prices staying within the price range in the past 7 days
* $$T\_{7d}$$: 7 days measured in seconds
### Cake APR
#### Pool Allocation
The total reward cake per second in MC v3 using upkeep and can be derived by `latestPeriodCakePerSecond`
`cakePerSecond = lastestPeriodCakePerSecond / 1e12 / 1e18`
In each pool, we can use `poolInfo` to get the `poolWeight` by dividing `poolInfo.allocPoint / totalAllocPoint`
#### Global Cake APR
Global APR calculated using the total amount of active & staked liquidity with the pool CAKE reward emissions.
`APR (global) = (cakePerSecond * 31536000) / (totalAllocPoint / pool.allocPoint) * 100 * cakeUSD / totalStakedLiquidityUSD`
`totalStakedLiquidityUSD` represents the current pool active staked liquidity in USD, composing by all the position ticks in range staked in MasterChef v3.
#### Position Cake APR
APRs for individual positions may vary depend on their price range settings.
$$
APR\_p = {\frac{USD\_{r}}{USD\_{p}}} {\frac{L\_{p}}{L\_{lm}}}
$$
* $$USD\_r$$: CAKE reward earn USD per year in pool
* $$USD\_p$$: Total USD value in position
* $$L\_{p}$$: Position liquidity
* $$L\_{lm}$$: Total staking liquidity which tracked by LMPool
# FAQ
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FBsUWD1Y8yxYDuQUxakYC%2Fimage.png?alt=media&token=a871fdf2-b467-438e-99b0-e69291cc06a2" alt=""><figcaption></figcaption></figure>
### **Is there a deadline for the migration?**
No
You will be able to unstake from V2 farms at any time.
You will be able to remove liquidity from V2 at any time.
However, Chefs will gradually migrate the CAKE reward emissions from those selected V2 farms to their corresponding V3 farms. To continue earning CAKE rewards. We would recommend that you complete the migrations as early as possible.
For more news and updates on the migration timeline, please [follow our social channels on Twitter or Telegram announcement.](/welcome-to-pancakeswap/contact-us/social-accounts)
### When can I start migrating?
If you are reading this, the migration is likely started already. Visit <https://pancakeswap.finance/migration> for more details.
### I can’t find the pair I’m staking
Some V2 farms and liquidity will continue to operate in parallel with V3.
Some V2 farms will not be migrated on day 1. If your staked farms do not appear in “Step 1”, they do not require to be migrated at the moment.
If your V2 liquidity positions do not appear in “Step 2”, it is likely due to they have V2 farms running and do not require to be migrated at the moment.
You can manually migrate your farm stakings and liquidity. Continue reading.
### Can I manually migrate my farm stakings or liquidity without using the migration helper?
Yes.
You can unstake LP tokens from V2 farms by going to the “Farms” page and looking for farms with the “V2” tag. You can use the “Staked only” toggle to filter farms you are currently staking.
You can remove V2 liquidity by going to the “Liquidity” page and looking for positions with the “V2” tag. You can use the V2 tab to filter only V2 positions.
For adding your liquidity to V3 and staking LP positions to V3, follow the standard V3 steps.
For a detailed tutorial on how to add liquidity in V3, read [here](/earn/pancakeswap-pools/liquidity-guide).
For a tutorial on how to farm in V3, read [here](/earn/yield-farming/how-to-use-farms).
# V2 Migration
Here are some useful documents for the migration of MasterChef v2 and CAKE staking pool.
{% content-ref url="/pages/S1SjLh9q4aTnPix9O1T1" %}
[MasterChef v2](/welcome-to-pancakeswap/how-to-guides/v3-v2-migration/migration/masterchef-v2)
{% endcontent-ref %}
{% content-ref url="/pages/gMY0Hvj1atvvNTz0SSG4" %}
[CAKE Syrup Pool](/welcome-to-pancakeswap/how-to-guides/v3-v2-migration/migration/cake-syrup-pool)
{% endcontent-ref %}
# Migrate Your Stakings
Migrate your farms and pools staking to the new PancakeSwap MasterChef

In order to keep earning staking rewards, you will need to migrate your farms and pools staking to the new MasterChef. Relax, it's gonna be easy.
{% hint style="info" %}
**But wait! Do I need to migrate?**
You need to migrate if you are:
* Farming on PancakeSwap **Farms**.
* Staking in PancakeSwap **CAKE Syrup Pools** (Manual, Auto, IFO).
\*other Syrup Pools aren’t affected
{% endhint %}
## How to migrate?

### 1. Navigate to the migration helper
Go to <https://pancakeswap.finance/migration>, and connect your wallet.
### 2. Unstake from the old farms
There are two steps in the migration helper. In the first step, you should see a list of three CAKE syrup pools and farms you are currently staking.

Click "**Unstake All**" on each of the farms and pools to unstake all your assets.

After unstaking, click "**Go to Stake**" to proceed to step 2.
### 3. Stake your LP tokens and CAKE into the new farms and pools.
Here you should see the brand new CAKE syrup pool and the new farms. Before staking, you will need to enable them.

Click "**Enable**" to enable staking on each of the farms and the CAKE syrup pool. If you are using a mobile device, please click the “**v**” (downward arrow) to expand the card while looking for the "**Enable**" button.
After enabling, you will be able to start staking in the pool and farms.
{% tabs %}
{% tab title="CAKE Syrup Pool" %}

For CAKE syrup pool. Please:
1. Click "**Flexible**" under the "Stake CAKE" section.
2. Enter the amount of CAKE you want to stake.
3. Click "**Confirm**".
{% hint style="info" %}
The locked (fixed-term) staking option will become available a few days after the migration. You will be able to convert your flexible staking position to a locked one. To learn more about the new CAKE syrup pool with fixed-term staking, please check out [this doc](/archive/legacy-products/new-cake-pool).
{% endhint %}
{% endtab %}
{% tab title="Farms" %}

For farms, please:
1. Click "**Stake**".
2. Enter the amount of LP tokens you want to stake.
3. Click "**Confirm**"
{% endtab %}
{% endtabs %}
### 4. Done!

You are now staking in the new MasterChef and continue earning CAKE rewards! Click "**Finish**" to go back and explore some other great products PancakeSwap offers.
## Migration Timeline
![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FoL8dHTixK43VwtQthXUN%2Fen%20-%20migration%20timeline%20-프로젝트로 돌아가기