{"id":29219907,"url":"https://github.com/protofire/curve-subgraph","last_synced_at":"2025-07-03T02:07:50.449Z","repository":{"id":54976863,"uuid":"281179881","full_name":"protofire/curve-subgraph","owner":"protofire","description":"Subgraph for Curve.fi","archived":false,"fork":false,"pushed_at":"2021-03-20T20:32:56.000Z","size":193,"stargazers_count":9,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-04-10T04:54:23.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://thegraph.com/explorer/subgraph/protofire/curve","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/protofire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-20T17:14:05.000Z","updated_at":"2022-08-29T19:46:48.000Z","dependencies_parsed_at":"2022-08-14T08:00:35.037Z","dependency_job_id":null,"html_url":"https://github.com/protofire/curve-subgraph","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/protofire/curve-subgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fcurve-subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fcurve-subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fcurve-subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fcurve-subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protofire","download_url":"https://codeload.github.com/protofire/curve-subgraph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fcurve-subgraph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263245313,"owners_count":23436515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-03T02:07:49.500Z","updated_at":"2025-07-03T02:07:50.414Z","avatar_url":"https://github.com/protofire.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Curve Subgraph\n==============\n\nThis subgraph provides information about the following Curve liquidity pools:\n\n1. Compound pool\n2. USDT pool\n3. PAX pool, with lending on yearn.finance\n4. Y Pool\n5. BUSD pool\n6. sUSD pool (v2)\n7. renBTC pool\n8. sBTC pool\n9. HBTC pool\n10. Tri-pool\n11. GUSD metapool\n12. HUSD metapool\n13. USDK metapool\n14. USDN metapool\n15. LinkUSD metapool\n16. MUSD metapool\n17. RSV metapool\n18. tBTC metapool\n\n\nNote: this subgraph doesn't provide transfer data about neither ERC20 nor LP tokens because that would imply indexing \na lot of events and would cost too much indexing time; it just covers basic token description including address, name,\nsymbol and decimal precision.\n\n\n# Queries\n\n## General system summary\n\n```graphql\n{\n  systemInfo(id: \"current\") {\n    # Total number of pools registered\n    poolCount\n\n    # Total number of tokens registered as LP, composing or underlying coins\n    tokenCount\n  }\n}\n```\n\n\n## List all supported pools\n\n```graphql\n{\n  pools(orderBy: addedAt) {\n    # StableSwap contract address\n    address\n\n    # Composing coins\n    coinCount\n\n    coins {\n      address\n      name\n      symbol\n      decimals\n    }\n\n    # Current balances\n    balances\n\n    # LP token information\n    poolToken {\n      name\n      symbol\n      address\n    }\n\n    # Pool parameters\n    A\n    fee\n    adminFee\n    virtualPrice\n\n    # Pool's events\n    events {\n      # ...\n    }\n  }\n}\n```\n\nNote: pool events that are indexed include exchanges, add/remove liquidity, transfer ownership and pool parameters\n changelogs (A coeff, fee and admin fee changes)\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotofire%2Fcurve-subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotofire%2Fcurve-subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotofire%2Fcurve-subgraph/lists"}