PancakeSwap Infinity
Last updated
Was this helpful?
Last updated
Was this helpful?
If you're a developer or looking for detailed technical documentation, please refer to this doc
PancakeSwap Infinity is the newest version of PancakeSwap AMM, designed to make decentralized trading faster, cheaper, and more flexible. It uses a modular design that allows for more customization and supports different types of trading pools and pricing models.
With Infinity, developers can build new features more easily using "hooks"—small bits of code that run at key actions in a pool’s lifecycle. These allow for use-cases like custom oracles, dynamic fee pools, advanced trading & liquidity management features, and more.
Compared to PancakeSwap v3, Infinity is more gas-efficient and future-proof. By decoupling core functions like accounting and trading logic, it allows for seamless integration of new pricing curves with hook capabilities—enabling the protocol to evolve without requiring redeployment.
Singleton
Flash Accounting
Hooks
Native Token Support
Custom Pricing Curves
ERC-6909
donate()
Open-sourced: is released under an open-source license, encouraging developers to innovate, customize, and collaborate freely.