> For the complete documentation index, see [llms.txt](https://docs.pancakeswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pancakeswap.finance/chinese/huan-ying-lai-dao-pancakeswap/vecake-sunset/bcake/migration-guide.md).

# 迁移指南

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/migration-guide.png" alt=""><figcaption></figcaption></figure>

要开始通过 bCAKE 加成你的 V2、StableSwap 或仓位管理器流动性，你需要执行一次迁移：从旧合约中取消质押你的 LP，并将它们重新质押到新合约中。

### 进入迁移向导

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/Group%201410076909.png" alt="" width="189"><figcaption></figcaption></figure>

在农场或仓位管理器页面顶部找到横幅，点击"继续"开始迁移流程。

[前往农场](https://pancakeswap.finance/farms)

[前往仓位管理器](https://pancakeswap.finance/position-managers)

### 从旧合约中取消质押你的 LP 代币

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/step1.png" alt=""><figcaption></figcaption></figure>

在第一步中，你将看到需要迁移才能享受 bCAKE 加成的 V2、StableSwap 农场和仓位管理器的完整列表。

点击右侧的"全部取消质押"按钮，并在你的钱包应用中确认交易，即可从旧合约中取消质押所有 LP 代币。

你需要逐个取消质押它们。

取消质押所有 LP 后，点击"前往质押"以进入下一步。

### 将你的 LP 代币重新质押到新合约中

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/step2.png" alt=""><figcaption></figcaption></figure>

在第二步中，你将看到可供重新质押的 V2、StableSwap 农场和仓位管理器的完整列表。

首先，点击"启用"按钮以启用存款。

然后，点击"重新质押"按钮，将 LP 代币重新质押到新合约中。

* 对于 V2 和 StableSwap 农场，你需要在新弹出的窗口中定义你想要重新质押的 LP 代币数量。<br>

  我们建议你重新质押所有 LP 代币，以确保你赚取最大可用收益。
* 对于仓位管理器，只需在你的钱包中确认交易，你所有的仓位管理器 LP 都将被重新质押到新合约中。<br>

  由于仓位管理器 LP 无法单独处理，我们强烈建议你将所有仓位管理器 LP 重新质押到新合约中。

重新质押后，按钮将变为"已质押"

你需要逐个重新质押它们。

重新质押所有 LP 后，点击"完成"，即可返回农场页面。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pancakeswap.finance/chinese/huan-ying-lai-dao-pancakeswap/vecake-sunset/bcake/migration-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
