> 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/vietnamese/giao-dich/pancakeswap-infinity.md).

# PancakeSwap Infinity

> Nếu bạn là nhà phát triển hoặc đang tìm kiếm tài liệu kỹ thuật chi tiết, vui lòng tham khảo tài liệu này <https://developer.pancakeswap.finance/>

**PancakeSwap Infinity** là phiên bản mới nhất của PancakeSwap AMM, được thiết kế để giao dịch phi tập trung nhanh hơn, rẻ hơn và linh hoạt hơn. Nó sử dụng kiến trúc mô-đun cho phép tùy chỉnh nhiều hơn và hỗ trợ các loại pool giao dịch và mô hình định giá khác nhau.

Với Infinity, nhà phát triển có thể xây dựng các tính năng mới dễ dàng hơn bằng cách sử dụng "hooks" — các đoạn code nhỏ chạy tại các hành động quan trọng trong vòng đời của pool. Những hooks này cho phép các trường hợp sử dụng như oracle tùy chỉnh, pool phí động, tính năng giao dịch và quản lý thanh khoản nâng cao, và nhiều hơn nữa.

So với PancakeSwap v3, Infinity hiệu quả hơn về gas và hướng tới tương lai hơn. Bằng cách tách rời các chức năng cốt lõi như kế toán và logic giao dịch, nó cho phép tích hợp liền mạch các đường cong định giá mới với khả năng hooks — giúp giao thức phát triển mà không cần triển khai lại.

### ⭐️ Tính Năng Chính

1. Singleton
2. Flash Accounting
3. Hooks
4. Hỗ Trợ Token Bản Địa
5. Đường Cong Định Giá Tùy Chỉnh
6. ERC-6909
7. `donate()`

{% hint style="success" %}
**Mã nguồn mở:** [PancakeSwap Infinity](https://github.com/pancakeswap/infinity-core) được phát hành theo giấy phép mã nguồn mở, khuyến khích nhà phát triển đổi mới, tùy chỉnh và cộng tác tự do.
{% endhint %}


---

# 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/vietnamese/giao-dich/pancakeswap-infinity.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.
