> For the complete documentation index, see [llms.txt](https://docs.ferra.ag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ferra.ag/integration/damm/smart-contract.md).

# Smart Contract

- [Interface Documentation](https://docs.ferra.ag/integration/damm/smart-contract/interface-documentation.md): This repository contains the Move interface definitions for the The Ferra DAMM (Dynamic Automated Market Maker )protocol. These interfaces provide type definitions and function signatures without imp
- [Factory Module](https://docs.ferra.ag/integration/damm/smart-contract/factory-module.md): The Factory module is responsible for creating and managing pools. It maintains a registry of all pools and ensures proper initialization with DAMM-specific features.
- [Pool Module](https://docs.ferra.ag/integration/damm/smart-contract/pool-module.md): The Pool module is the core component of the DAMM protocol, defining trading pairs and handling all operations related to trading, liquidity management, and advanced fee mechanisms.
- [Position Module](https://docs.ferra.ag/integration/damm/smart-contract/position-module.md): Manages liquidity position NFTs and their associated metadata. Each position is represented as a transferable NFT that tracks liquidity ownership, accumulated fees, rewards.
- [Fee Module](https://docs.ferra.ag/integration/damm/smart-contract/fee-module.md): Manages the discrete price points and liquidity distribution across the price curve.
