HeyAnon.ai
  • Introduction
  • Features
  • Getting started
  • Troubleshooting
  • Video Tutorials
  • Anon token
  • Contracts
  • Protocols & Functions Supported
    • Infrastucture
      • Common
      • Safe
      • Pyth
      • Layer Zero
    • Defi Protocols
      • Aggregators
      • AAVE
      • Jito
      • Marinade
      • Kamino
      • GMX
      • Spark
      • CowSwap
      • Sky
      • Wagmi Functions Supported
        • AMM
        • Swagmi
        • GMI
      • V3 Pools Integration
    • Utility
      • Dust collection
  • HeyAnon Prompt Engineering Guide
    • Protocol Prompt List
  • Gemma prompt guide
    • Protocols integrated with Gemma
    • Gemma prompt list
  • Bridging to Sonic EVM
  • Brand kit
  • Terms and conditions
  • Social Channels
  • Framework for Integration Grants and Protocol SupportFramework - Integration
  • Team telegram contacts
Powered by GitBook
On this page
  • Chain Support
  • Additional Features
  1. Protocols & Functions Supported
  2. Defi Protocols
  3. Wagmi Functions Supported

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

PreviousWagmi Functions SupportedNextSwagmi

Last updated 5 months ago