Skip to content

jeremylongshore/tons-of-skills-marketplace / plugins/crypto/liquidity-pool-analyzer/skills/analyzing-liquidity-pools

analyzing-liquidity-pools

Verified

Analyze DEX liquidity pools for TVL, volume, fees, impermanent loss, and LP profitability. Use when analyzing liquidity pools, calculating impermanent loss, or comparing DEX pools. Trigger with phrases like "analyze liquidity pool", "calculate impermanent loss", "LP returns", "pool TVL", "DEX pool metrics", or "compare pools".

FileKindSize
ARD.mdmarkdown9.9 KB
PRD.mdmarkdown6.1 KB
SKILL.mdskill md4.2 KB
config/settings.yamlconfig2.1 KB
references/errors.mdmarkdown4.1 KB
references/examples.mdmarkdown7.3 KB
references/implementation.mdmarkdown2.7 KB
scripts/formatters.pyscript11.6 KB
scripts/il_calculator.pyscript8.0 KB
scripts/pool_analyzer.pyscript7.3 KB
scripts/pool_fetcher.pyscript12.5 KB
scripts/pool_metrics.pyscript9.9 KB

config/settings.yaml

View on GitHub
# Liquidity Pool Analyzer Configuration
# Version: 2.0.0

# API Configuration
api:
  # The Graph Subgraphs
  subgraphs:
    uniswap-v3-ethereum: "https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3"
    uniswap-v3-arbitrum: "https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-arbitrum"
    uniswap-v3-polygon: "https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-polygon"
    uniswap-v2-ethereum: "https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2"
    curve-ethereum: "https://api.thegraph.com/subgraphs/name/curvefi/curve"
    balancer-v2: "https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-v2"

  # DeFiLlama (fallback)
  defillama:
    pools_url: "https://yields.llama.fi/pools"
    timeout: 30

  # CoinGecko (token prices)
  coingecko:
    base_url: "https://api.coingecko.com/api/v3"
    timeout: 15
    rate_limit: 30  # requests per minute

# Cache Configuration
cache:
  enabled: true
  file: "~/.lp_analyzer_cache.json"
  ttl:
    pools: 300       # 5 minutes
    prices: 60       # 1 minute
    metadata: 3600   # 1 hour

# Default Settings
defaults:
  chain: "ethereum"
  protocol: "uniswap-v3"
  top: 10
  min_tvl: 0
  format: "table"

# Fee Tiers (common configurations)
fee_tiers:
  uniswap_v3:
    - 0.0001  # 0.01%
    - 0.0005  # 0.05%
    - 0.003   # 0.30%
    - 0.01    # 1.00%
  curve:
    - 0.0004  # 0.04%
  balancer:
    - 0.0001
    - 0.001
    - 0.003

# Health Indicator Thresholds
health:
  tvl:
    large: 100000000    # $100M+
    medium: 10000000    # $10M+
    small: 1000000      # $1M+
    micro: 0            # <$1M

  volume_tvl_ratio:
    very_high: 0.5
    high: 0.1
    medium: 0.05
    low: 0.01

  fee_apr:
    high: 20
    medium: 5
    low: 1

# IL Warning Thresholds
il:
  warning_threshold: 5     # Warn if IL > 5%
  critical_threshold: 10   # Critical if IL > 10%

# Supported Chains
chains:
  - ethereum
  - arbitrum
  - polygon
  - optimism
  - bsc
  - avalanche
  - base

# Supported Protocols
protocols:
  - uniswap-v2
  - uniswap-v3
  - sushiswap
  - curve
  - balancer
  - pancakeswap
  - quickswap

# Logging
logging:
  verbose: false
  log_file: null
  log_level: "INFO"
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall