{"id":18484360,"url":"https://github.com/giveth/giveconomy-foundry","last_synced_at":"2025-04-08T18:33:18.220Z","repository":{"id":38358183,"uuid":"494461645","full_name":"Giveth/giveconomy-foundry","owner":"Giveth","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-12T06:04:28.000Z","size":703,"stargazers_count":29,"open_issues_count":8,"forks_count":5,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-04-08T10:54:06.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Giveth.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-20T12:48:38.000Z","updated_at":"2025-02-12T06:04:31.000Z","dependencies_parsed_at":"2023-02-12T02:17:03.426Z","dependency_job_id":"d1edf12c-a37a-4ad8-a708-748f278cfdf1","html_url":"https://github.com/Giveth/giveconomy-foundry","commit_stats":null,"previous_names":["giveth/giveconomy-foundry","giveth/givpower"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Fgiveconomy-foundry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Fgiveconomy-foundry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Fgiveconomy-foundry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Fgiveconomy-foundry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Giveth","download_url":"https://codeload.github.com/Giveth/giveconomy-foundry/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247902842,"owners_count":21015533,"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-06T12:39:28.882Z","updated_at":"2025-04-08T18:33:17.007Z","avatar_url":"https://github.com/Giveth.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GivPower \u003ca href=\"#\"\u003e\u003cimg align=\"right\" src=\".github/assets/giveth.svg\" height=\"80px\" /\u003e\u003c/a\u003e\n\n[![Foundry Tests](https://github.com/Giveth/givpower/actions/workflows/test.yml/badge.svg)](https://github.com/Giveth/givpower/actions/workflows/test.yml)\n[![Slither Analysis](https://github.com/Giveth/givpower/actions/workflows/slither.yml/badge.svg)](https://github.com/Giveth/givpower/actions/workflows/slither.yml)\n\n## Background\n\nTBD\n\n### Upgrade script\n\n1. Deploy a new instance of GIVpower by script\n```\nforge create --rpc-url \u003cRPC_URL\u003e --private-key \u003cPRIVATE_KEY\u003e contracts/GIVpower.sol:GIVpower \n```\n\u003e **_NOTE:_**  The verification part (--verify --etherscan-api-key \u003cETHERSCAN_API_KEY\u003e) is optional  \n2. Grab the address of new GIVpower instance deployed above and use it in calling `upgrade` method on `ProxyAdmin` contract by a privilaged account.\n```\nupgrade(\u003cPROXY_CONTRACT_ADDRESS\u003e, \u003cNEW_GIVPOWER_IMPLEMENTATION_ADDRESS\u003e)\n```\n\n## Deployments\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003cth\u003eNetwork\u003c/th\u003e\n\u003cth\u003eGardenUnipool (TransparentUpgradeableProxy)\u003c/th\u003e\n\u003cth\u003eProxyAdmin\u003c/th\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\u003ctd\u003eGnosis Chain\u003c/td\u003e\u003ctd rowspan=\"14\"\u003e\n\n[0xD93d3bDBa18ebcB3317a57119ea44ed2Cf41C2F2](https://blockscout.com/xdai/mainnet/address/0xD93d3bDBa18ebcB3317a57119ea44ed2Cf41C2F2)\n\n\u003c/td\u003e\u003ctd rowspan=\"14\"\u003e\n\n[0x076C250700D210e6cf8A27D1EB1Fd754FB487986](https://blockscout.com/xdai/mainnet/address/0x076C250700D210e6cf8A27D1EB1Fd754FB487986)\n\n\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\n## Diagram\n\n\u003cimg align=\"center\" src=\".github/assets/diagram.svg\" /\u003e\n\n## Foundry\n\nThis project use [Foundry](https://github.com/foundry-rs/foundry). To install (assuming a Linux or macOS system):\n\n```\ncurl -L https://foundry.paradigm.xyz | bash\n```\n\nThis will download foundryup. To start Foundry, run:\n\n```\nfoundryup\n```\n\nTo install dependencies:\n\n```\nforge install\n```\n\nTo run tests:\n\n```\nforge test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiveth%2Fgiveconomy-foundry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiveth%2Fgiveconomy-foundry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiveth%2Fgiveconomy-foundry/lists"}