{"id":20001973,"url":"https://github.com/pooltogether/twab-rewards-subgraph","last_synced_at":"2025-10-25T14:14:09.549Z","repository":{"id":38439597,"uuid":"479041956","full_name":"pooltogether/twab-rewards-subgraph","owner":"pooltogether","description":"Subgraph to track promotions from the TWAB Rewards contract.","archived":false,"fork":false,"pushed_at":"2022-10-18T17:00:48.000Z","size":183,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-01T21:48:58.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pooltogether.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-07T15:24:00.000Z","updated_at":"2022-10-19T06:37:53.000Z","dependencies_parsed_at":"2023-01-19T16:04:03.058Z","dependency_job_id":null,"html_url":"https://github.com/pooltogether/twab-rewards-subgraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pooltogether/twab-rewards-subgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Ftwab-rewards-subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Ftwab-rewards-subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Ftwab-rewards-subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Ftwab-rewards-subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pooltogether","download_url":"https://codeload.github.com/pooltogether/twab-rewards-subgraph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Ftwab-rewards-subgraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280965551,"owners_count":26421660,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-11-13T05:19:19.317Z","updated_at":"2025-10-25T14:14:09.515Z","avatar_url":"https://github.com/pooltogether.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/pooltogether/pooltogether--brand-assets\"\u003e\n    \u003cimg src=\"https://github.com/pooltogether/pooltogether--brand-assets/blob/977e03604c49c63314450b5d432fe57d34747c66/logo/pooltogether-logo--purple-gradient.png?raw=true\" alt=\"PoolTogether Brand\" style=\"max-width:100%;\" width=\"200\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n## PoolTogether - TWAB Rewards subgraph\n\n[![Tests](https://github.com/pooltogether/twab-rewards-subgraph/actions/workflows/main.yml/badge.svg)](https://github.com/pooltogether/twab-rewards-subgraph/actions/workflows/main.yml)\n\nSubgraph to track events and data related to the TWAB Rewards contract.\n\n## Development\n\n### Templates\n\nGenerate subgraph templates using one of the following commands.\n\nMainnet:\n```\nyarn prepare:mainnet\nyarn prepare:polygon\nyarn prepare:avalanche\nyarn prepare:optimism\n```\n\nTestnet:\n```\nyarn prepare:goerli\nyarn prepare:mumbai\nyarn prepare:fuji\nyarn prepare:optimism-goerli\nyarn prepare:arbitrum-goerli\n```\n\n### Schemas\n\nGenerate schemas using one of the following commands.\n\nMainnet:\n```\nyarn gen:mainnet\nyarn gen:polygon\nyarn gen:avalanche\nyarn gen:optimism\n```\n\nTestnet:\n```\nyarn gen:goerli\nyarn gen:mumbai\nyarn gen:fuji\nyarn gen:optimism-goerli\nyarn gen:arbitrum-goerli\n```\n\n### Tests\n\nRun tests with the command: `yarn test`\n\n## Deployment\n\n### Deploy\n\nDeploy using one of the following commands.\n\nMainnet:\n```\nyarn deploy:mainnet\nyarn deploy:polygon\nyarn deploy:avalanche\nyarn deploy:optimism\n```\n\nTestnet:\n```\nyarn deploy:goerli\nyarn deploy:mumbai\nyarn deploy:fuji\nyarn deploy:optimism-goerli\nyarn deploy:arbitrum-goerli\n```\n\n### Build and deploy\n\nTo build and deploy at once, use one of the following commands:\n\nMainnet:\n```\nyarn all-mainnet\nyarn all-polygon\nyarn all-avalanche\nyarn all-optimism\n```\n\nTestnet:\n```\nyarn all-goerli\nyarn all-mumbai\nyarn all-fuji\nyarn all-optimism-goerli\nyarn all-arbitrum-goerli\n```\n\n### Hosted Subgraphs\n\nSubgraphs are hosted at the following URLs.\n\nMainnet:\n- https://thegraph.com/hosted-service/subgraph/pooltogether/mainnet-twab-rewards\n- https://thegraph.com/hosted-service/subgraph/pooltogether/polygon-twab-rewards\n- https://thegraph.com/hosted-service/subgraph/pooltogether/avalanche-twab-rewards\n- https://thegraph.com/hosted-service/subgraph/pooltogether/optimism-twab-rewards\n\nTestnet:\n- https://thegraph.com/hosted-service/subgraph/pooltogether/goerli-twab-rewards\n- https://thegraph.com/hosted-service/subgraph/pooltogether/mumbai-twab-rewards\n- https://thegraph.com/hosted-service/subgraph/pooltogether/fuji-twab-rewards\n- https://thegraph.com/hosted-service/subgraph/pooltogether/optimism-goerli-twab-rewards\n- https://thegraph.com/hosted-service/subgraph/pooltogether/arbitrum-goerli-twab-rewards\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Ftwab-rewards-subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpooltogether%2Ftwab-rewards-subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Ftwab-rewards-subgraph/lists"}