{"id":20001913,"url":"https://github.com/pooltogether/current-pool-data","last_synced_at":"2025-05-04T15:33:33.198Z","repository":{"id":46953418,"uuid":"299147150","full_name":"pooltogether/current-pool-data","owner":"pooltogether","description":"Programmatically get constants data (ie. contract addresses, etc) for specific versions of the PoolTogether protocol.","archived":false,"fork":false,"pushed_at":"2022-08-26T18:42:14.000Z","size":289,"stargazers_count":5,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-25T04:03:29.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pooltogether.com","language":"JavaScript","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/pooltogether.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-09-28T00:39:22.000Z","updated_at":"2022-03-29T04:16:02.000Z","dependencies_parsed_at":"2022-09-15T14:00:29.271Z","dependency_job_id":null,"html_url":"https://github.com/pooltogether/current-pool-data","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fcurrent-pool-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fcurrent-pool-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fcurrent-pool-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fcurrent-pool-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pooltogether","download_url":"https://codeload.github.com/pooltogether/current-pool-data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252356537,"owners_count":21734973,"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":"2024-11-13T05:19:06.281Z","updated_at":"2025-05-04T15:33:32.895Z","avatar_url":"https://github.com/pooltogether.png","language":"JavaScript","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## Current Pool Data\n\n\nUse this library to programmatically get constants data (ie. contract addresses, etc) for specific versions of the PoolTogether protocol.\n\n###### Note:\n\nSince anyone can create a pool the `contractAddresses` array contains only community approved pool addresses.\n\nThis doesn't publish every pool address available, you'll want to use one of the subgraphs for that: \n(eg. https://thegraph.com/explorer/subgraph/pooltogether/rinkeby-staging-v3)\n\n#### Instructions:\n\n```sh\nyarn add @pooltogether/current-pool-data\n```\n\n```js\nimport { contractAddresses } from '@pooltogether/current-pool-data'\n\n// rinkeby is 4\nconst CHAIN_ID = 4\n\nconst daiPoolAddress = contractAddresses[CHAIN_ID].dai.prizePool\nconst daiPrizeStrategyAddress = contractAddresses[CHAIN_ID].dai.prizeStrategy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Fcurrent-pool-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpooltogether%2Fcurrent-pool-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Fcurrent-pool-data/lists"}