{"id":20002022,"url":"https://github.com/pooltogether/owner-manager-contracts","last_synced_at":"2025-10-09T17:33:57.610Z","repository":{"id":46953912,"uuid":"401811786","full_name":"pooltogether/owner-manager-contracts","owner":"pooltogether","description":"Abstract smart contract for the common manager-or-owner permissioned function modifier","archived":false,"fork":false,"pushed_at":"2021-10-11T15:21:42.000Z","size":411,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T17:33:53.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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":"2021-08-31T18:53:37.000Z","updated_at":"2023-09-11T09:15:23.000Z","dependencies_parsed_at":"2022-09-03T01:22:01.978Z","dependency_job_id":null,"html_url":"https://github.com/pooltogether/owner-manager-contracts","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"pooltogether/pooltogether-contracts-template","purl":"pkg:github/pooltogether/owner-manager-contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fowner-manager-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fowner-manager-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fowner-manager-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fowner-manager-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pooltogether","download_url":"https://codeload.github.com/pooltogether/owner-manager-contracts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fowner-manager-contracts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001866,"owners_count":26083197,"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-09T02:00:07.460Z","response_time":59,"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:30.974Z","updated_at":"2025-10-09T17:33:57.591Z","avatar_url":"https://github.com/pooltogether.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PoolTogether Owner Manager Contracts\n![Tests](https://github.com/pooltogether/owner-manager-contracts/actions/workflows/main.yml/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/pooltogether/owner-manager-contracts/badge.svg?branch=master)](https://coveralls.io/github/pooltogether/owner-manager-contracts?branch=master)\n\nAbstract ownable and manageable contracts that can be inherited by other contracts to provide a basic access control mechanism, where\nthere is an owner and a manager that can be granted exclusive access to specific functions.\n\nThe `owner` is first set by passing the address of the `initialOwner` to the Ownable constructor.\n \nThe owner account can be transferred through a two steps process:\n1. The current `owner` calls `transferOwnership` to set a `pendingOwner`\n2. The `pendingOwner` calls `acceptOwnership` to accept the ownership transfer\n\nThe manager account needs to be set using `setManager`.\n\nThis module is used through inheritance. It will make available the modifiers `onlyManager`, `onlyOwner` and `onlyManagerOrOwner`, which can be applied to your functions to restrict their use to the manager and/or the owner.\n\n## Usage\nThis repo is setup to compile (`nvm use \u0026\u0026 yarn compile`) and successfully pass tests (`yarn test`)\n\n\n# Installation\nInstall the repo and dependencies by running:\n`yarn`\n\n## Deployment\nThese contracts can be deployed to a network by running:\n`yarn deploy \u003cnetworkName\u003e`\n\n## Verification\nThese contracts can be verified on Etherscan, or an Etherscan clone, for example (Polygonscan) by running:\n`yarn etherscan-verify \u003cethereum network name\u003e` or `yarn etherscan-verify-polygon matic`\n\n\n# Testing\nRun the unit tests locally with:\n`yarn test`\n\n## Coverage\nGenerate the test coverage report with:\n`yarn coverage`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Fowner-manager-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpooltogether%2Fowner-manager-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Fowner-manager-contracts/lists"}