# AMM

Overview

This module provides integration with the Wagmi Protocol's core features including multipools (AMM) and dispatcher (farming).

#### Multipool (AMM)

Automated Market Maker pools for token pairs:

* **Liquidity Operations**:
  * Add liquidity with two tokens (with slippage protection)
  * Remove liquidity and receive underlying tokens
  * Check LP token balances and total supply
  * Calculate expected LP token amounts for deposits
  * Calculate expected withdrawal amounts
  * Get LP token address for a pool
  * View available LP token actions
* **Pool Information**:
  * Get pool addresses for token pairs
  * View Total Value Locked (TVL)
  * Check token reserves and pending fees
  * Get pool composition and token distribution
  * Find highest APR pools
  * Get all pool addresses for a chain
  * Calculate pool APR
  * Get token addresses for a pool
  * Get pool description and detailed information
  * Get pool reserves and composition percentages

#### Dispatcher (Farming)

Farming mechanism for LP tokens:

* **Farming Operations**:
  * Stake LP tokens to earn rewards (with slippage protection)
  * Unstake LP tokens from farming
  * Claim staking rewards
  * View user shares in pools
* **Pool Management**:
  * Get pool IDs for multipools
  * Estimate claimable rewards
  * Get user shares in farming pools

### Chain Support

* Get list of supported chains for Wagmi Multipools Strategy operations

### Additional Features

* Detailed pool descriptions and information
* Comprehensive token pair support


---

# 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.heyanon.ai/heyanon.ai/hey-anon/protocols-and-functions-supported/defi-protocols/wagmi-functions-supported/amm.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.
