{"id":20002059,"url":"https://github.com/pooltogether/defender-autotask-reward","last_synced_at":"2025-07-04T00:35:49.311Z","repository":{"id":49427939,"uuid":"297388211","full_name":"pooltogether/defender-autotask-reward","owner":"pooltogether","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-07T20:33:38.000Z","size":1292,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T09:40:25.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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":"2020-09-21T15:52:08.000Z","updated_at":"2022-03-29T04:15:57.000Z","dependencies_parsed_at":"2022-08-29T11:30:25.721Z","dependency_job_id":null,"html_url":"https://github.com/pooltogether/defender-autotask-reward","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pooltogether/defender-autotask-reward","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fdefender-autotask-reward","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fdefender-autotask-reward/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fdefender-autotask-reward/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fdefender-autotask-reward/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pooltogether","download_url":"https://codeload.github.com/pooltogether/defender-autotask-reward/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fdefender-autotask-reward/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263426396,"owners_count":23464796,"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:38.333Z","updated_at":"2025-07-04T00:35:49.285Z","avatar_url":"https://github.com/pooltogether.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PoolTogether V3 Reward Defender Autotask\n\nThis project implements an Autotask for [OpenZeppelin Defender](https://defender.openzeppelin.com/) that rewards the PoolTogether V3 prize strategies automatically.\n\n# Setup\n\n1. Copy `.envrc.example` to `.envrc`\n2. Update `.envrc` with the appropriate variables\n3. Run `direnv allow`.  See [direnv](https://direnv.net)\n4. Run `yarn update` to update the autotasks.\n\n# Usage\n\nFirst build the project:\n\n```sh\n$ yarn build\n```\n\nThis will create:\n - `dist/rinkeby-build.js`\n - `dist/ropsten-build.js`\n\nCopy the contents of those files into their respectives Autotasks in OpenZeppelin Defender.\n\n# Running locally\n\nYou can use the CLI as well to test out the task:\n\n```\n$ yarn cli\n```\n\nThere's a precooked command called `rinkeby` that uses env vars.\n\nFirst setup the vars:\n\n```\n$ cp .envrc.example .envrc\n```\n\nNow allow direnv\n\n```\n$ direnv allow\n```\n\nSet the vars to what you need, then run:\n\n```\n$ yarn reward [network]\n```\n\nWhere [network] is `rinkeby`, `ropsten` or `polygon`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Fdefender-autotask-reward","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpooltogether%2Fdefender-autotask-reward","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Fdefender-autotask-reward/lists"}