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

Last updated