# 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.


---

# Agent Instructions: 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:

```
GET https://docs.ferra.ag/integration/damm/smart-contract.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
