> 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/portuguese-brazilian/negociacao/pancakeswap-infinity.md).

# PancakeSwap Infinity

> Se você é um desenvolvedor ou está procurando documentação técnica detalhada, consulte este documento <https://developer.pancakeswap.finance/>

**PancakeSwap Infinity** é a versão mais recente do AMM do PancakeSwap, projetada para tornar o Trading descentralizado mais rápido, barato e flexível. Ele usa um design modular que permite maior personalização e suporta diferentes tipos de pools de negociação e modelos de precificação.

Com o Infinity, os desenvolvedores podem construir novos recursos mais facilmente usando "hooks" — pequenos trechos de código que são executados em ações-chave do ciclo de vida de um pool. Eles permitem casos de uso como oráculos personalizados, pools de taxas dinâmicas, recursos avançados de negociação e gerenciamento de Liquidez, e muito mais.

Comparado ao PancakeSwap v3, o Infinity é mais eficiente em termos de gas e mais preparado para o futuro. Ao desacoplar funções principais como contabilidade e lógica de negociação, permite a integração perfeita de novas curvas de precificação com capacidades de hooks — permitindo que o protocolo evolua sem necessidade de reimplantação.

### ⭐️ Principais Recursos

1. Singleton
2. Flash Accounting
3. Hooks
4. Suporte a Tokens Nativos
5. Curvas de Precificação Personalizadas
6. ERC-6909
7. `donate()`

{% hint style="success" %}
**Código aberto:** O [PancakeSwap Infinity](https://github.com/pancakeswap/infinity-core) é lançado sob uma licença de código aberto, incentivando desenvolvedores a inovar, personalizar e colaborar livremente.
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pancakeswap.finance/portuguese-brazilian/negociacao/pancakeswap-infinity.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
