{
  "schema_version": "protocol.v1",
  "slug": "uniswap",
  "name": "Uniswap",
  "status": "production-ready",
  "website": "https://uniswap.org/",
  "summary": "Onchain automated market maker for token swaps and liquidity, with v4 hooks for customizable pools, the Universal Router for trade routing, and TypeScript SDKs for integration.",
  "categories": [
    "defi",
    "dex",
    "amm",
    "liquidity"
  ],
  "chains": [
    "ethereum",
    "arbitrum-one",
    "base",
    "optimism",
    "polygon",
    "bsc"
  ],
  "best_for": [
    "in-app token swaps",
    "providing or sourcing onchain liquidity",
    "custom pool logic via v4 hooks"
  ],
  "avoid_for": [
    "off-chain or order-book-style matching"
  ],
  "integration_difficulty": "medium",
  "tags": [
    "dex",
    "amm",
    "swap",
    "defi",
    "liquidity"
  ],
  "composition": [
    {
      "slug": "chainlink",
      "role": "oracle_and_price_data",
      "direction": "supports",
      "relationship": "Chainlink can provide external price references, automation, and cross-chain services around swap and liquidity products."
    },
    {
      "slug": "pyth",
      "role": "oracle_and_price_data",
      "direction": "supports",
      "relationship": "Pyth can provide low-latency market data for trading and liquidity interfaces."
    },
    {
      "slug": "the-graph",
      "role": "indexing_and_data",
      "direction": "supports",
      "relationship": "The Graph can index swaps, pools, liquidity events, and app-specific DeFi analytics."
    }
  ],
  "docs": {
    "url": "https://developers.uniswap.org/",
    "verified_at": "2026-06-02"
  },
  "sdk": {
    "url": "https://github.com/Uniswap",
    "verified_at": "2026-06-02"
  },
  "template": {
    "url": "https://developers.uniswap.org/",
    "verified_at": "2026-06-02"
  },
  "support": {
    "url": null
  },
  "grant": {
    "url": null
  },
  "capabilities": [
    {
      "name": "Token swaps via Universal Router",
      "status": "production-ready",
      "type": "integration_workflow",
      "best_for": [
        "in-app swaps",
        "trade routing"
      ],
      "agent_actions": [
        "generate_swap_integration",
        "recommend_dex"
      ]
    },
    {
      "name": "v4 pools with hooks",
      "status": "production-ready",
      "type": "ecosystem_primitive",
      "best_for": [
        "custom pool behavior"
      ],
      "known_issues": [
        "Hook contracts are powerful and must be audited; a malicious or buggy hook can break a pool."
      ]
    },
    {
      "name": "Liquidity provision (v3/v4)",
      "status": "production-ready",
      "type": "production_surface",
      "best_for": [
        "concentrated liquidity strategies"
      ]
    }
  ],
  "chain_support": {
    "bsc": {
      "status": "production-ready",
      "docs_url": "https://docs.uniswap.org/contracts/v3/reference/deployments/bnb-deployments",
      "sdk_notes": [
        "Use BNB Smart Chain id 56 in your viem/ethers and SDK config; the v3 contract set is deployed and listed in the official deployments reference."
      ],
      "limitations": [
        "BSC liquidity skews toward BSC-native DEXs (e.g. PancakeSwap); verify pool depth for your pairs before relying on Uniswap routing."
      ],
      "verified_at": "2026-06-10",
      "citations": [
        {
          "url": "https://docs.uniswap.org/contracts/v3/reference/deployments/bnb-deployments",
          "quote": "Uniswap v3 BNB Chain deployment addresses",
          "retrieved_at": "2026-06-10",
          "confidence": "high"
        }
      ]
    }
  },
  "known_issues": [],
  "sources": [
    {
      "label": "Website",
      "url": "https://uniswap.org/",
      "type": "website"
    },
    {
      "label": "Developer docs",
      "url": "https://developers.uniswap.org/",
      "type": "docs"
    },
    {
      "label": "GitHub",
      "url": "https://github.com/Uniswap",
      "type": "github"
    }
  ],
  "provenance": {
    "verified_at": "2026-06-02",
    "verified_by": "composewith.eth research (developers.uniswap.org live-verified via WebFetch 2026-06-02; v4 hooks, Universal Router, SDKs, GitHub org Uniswap confirmed)",
    "confidence": "high"
  },
  "readiness_score": 94,
  "readiness_factors": [
    {
      "key": "docs_present",
      "points": 10,
      "max": 10,
      "detail": "Docs URL present"
    },
    {
      "key": "sdk_present",
      "points": 8,
      "max": 8,
      "detail": "SDK URL present"
    },
    {
      "key": "template_present",
      "points": 6,
      "max": 6,
      "detail": "Template/quickstart present"
    },
    {
      "key": "support_present",
      "points": 0,
      "max": 6,
      "detail": "No support channel"
    },
    {
      "key": "capability_depth",
      "points": 20,
      "max": 20,
      "detail": "Token swaps via Universal Router: integration_workflow; v4 pools with hooks: ecosystem_primitive; Liquidity provision (v3/v4): production_surface (capped at 20)"
    },
    {
      "key": "production_capability",
      "points": 15,
      "max": 15,
      "detail": "Has a production-ready capability"
    },
    {
      "key": "provenance_confidence",
      "points": 5,
      "max": 5,
      "detail": "Protocol provenance confidence is high"
    },
    {
      "key": "chain_coverage",
      "points": 10,
      "max": 10,
      "detail": "5 chain(s) (capped at 5)"
    },
    {
      "key": "freshness",
      "points": 10,
      "max": 10,
      "detail": "Last verified 8 day(s) ago"
    },
    {
      "key": "no_open_critical",
      "points": 10,
      "max": 10,
      "detail": "No open critical issues"
    }
  ],
  "readiness_caps": [],
  "scoring_version": "score.v2"
}