> 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/jiao-yi/pancakeswap-infinity/farms.md).

# 农场

PancakeSwap Infinity 农场是一种简单、省 gas 的方式，让用户无需质押其 LP 代币即可赚取流动性奖励。一旦向符合条件的资金池添加了流动性，奖励便会自动开始累积。

#### ⚙️ 工作原理

以下是该系统跟踪和分配奖励方式的快速概览：<br>

**✅ 无需质押**

* 只需在你的钱包中持有 LP 头寸。
* 无需锁定你的资产或与额外的智能合约交互。
* 添加流动性后，你便会自动开始赚取奖励。

#### 📈 奖励分配

* 只有处于价格区间内的头寸（即提供活跃流动性的头寸）才能获得奖励。
* 奖励与你的头寸在每个时段（称为一个 epoch）内所赚取的费用成正比。

#### ⏳ 什么是 Epoch？

* 一个 epoch 是一个固定的时间窗口——目前设定为 8 小时。
* 奖励在每个 epoch 结束后计算并分配。
* Epoch 目前安排在 UTC 时间 00:00、08:00 和 16:00。

***

#### 🔄 耕作与领取流程

1. **跟踪头寸：** 后端系统监控你在所有农场中的 LP 头寸。
2. **奖励计算：** 在每个 epoch 结束时，
   1. 系统根据你的流动性和产生的费用计算你的奖励。
   2. 它将奖励处理成一棵 Merkle 树，并向智能合约提交一个 Merkle 根。
3. **争议期：**
   1. Merkle 根发布后，1 小时的争议期开始。
   2. 在争议期内：
      1. 新计算出的奖励无法领取。
      2. 来自先前 epoch 的奖励仍可领取。
      3. 自动化和社区运营的验证工具会检查已发布数据的准确性。如果检测到差异，可能会发起争议以防止错误分配。
4. **领取奖励：**
   1. 争议期结束后，你便可以领取最新 epoch 的奖励。
   2. 所有农场中的全部待领取奖励都可以在一次省 gas 的交易中领取。
5. **未领取奖励顺延：**
   1. 任何未领取的奖励都会顺延到后续的 epoch。每次更新都会纳入先前的奖励，确保没有任何收益丢失或过期。

{% hint style="info" %}
更窄的流动性区间通常会带来更高的收益，但也会增加头寸移出区间从而失去奖励资格的可能性。
{% endhint %}

#### 🌱 小结

✅ 无需质押\
✅ 省 gas 的领取\
✅ 定期奖励更新\
✅ 公平透明的争议流程\
✅ 奖励持续累积，直到你准备好领取


---

# 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/jiao-yi/pancakeswap-infinity/farms.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.
