{"id":19303834,"url":"https://github.com/web3w/gnosis-safe-contracts","last_synced_at":"2025-10-28T04:05:23.199Z","repository":{"id":111889857,"uuid":"345551620","full_name":"web3w/gnosis-safe-contracts","owner":"web3w","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-08T06:24:08.000Z","size":2942,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-07T01:36:09.191Z","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/web3w.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-08T06:21:33.000Z","updated_at":"2021-03-08T06:24:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2a171c2-366d-4a27-94d9-4e00debad2a6","html_url":"https://github.com/web3w/gnosis-safe-contracts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/web3w/gnosis-safe-contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Fgnosis-safe-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Fgnosis-safe-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Fgnosis-safe-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Fgnosis-safe-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web3w","download_url":"https://codeload.github.com/web3w/gnosis-safe-contracts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3w%2Fgnosis-safe-contracts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278712807,"owners_count":26032757,"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-07T02:00:06.786Z","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-09T23:27:42.371Z","updated_at":"2025-10-07T03:09:00.002Z","avatar_url":"https://github.com/web3w.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Gnosis Safe Contracts\n=====================\n\n[![npm version](https://badge.fury.io/js/%40gnosis.pm%2Fsafe-contracts.svg)](https://badge.fury.io/js/%40gnosis.pm%2Fsafe-contracts)\n[![Build Status](https://travis-ci.org/gnosis/safe-contracts.svg?branch=development)](https://travis-ci.org/gnosis/safe-contracts)\n\nInstall\n-------\n### Install requirements with yarn:\n\n```bash\nyarn\n```\n\n### Run all tests (requires Node version \u003e=7 for `async/await`):\n\n```bash\nyarn truffle compile\nyarn test\n```\n\n`yarn test` will start a ganache-cli with the correct configuration. If you want to run `yarn truffle test` you need to start a [ganache-cli](https://github.com/trufflesuite/ganache-cli) instance. For this it is required to use the [`--noVMErrorsOnRPCResponse`](https://github.com/trufflesuite/ganache-cli#options) option. This option will make sure that ganache-cli behaves the same as other clients (e.g. geth and parity) when handling reverting calls to contracts. This is required as some flows parse the error message (see https://gnosis-safe.readthedocs.io/en/latest/contracts/transactions.html#safe-transaction-gas-limit-estimation).\n\n### Deploy\n\nSome contracts require that the Solidity compile target is at least `petersburg` (e.g. GnosisSafeProxyFactory and MultiSend). This is default since [Solidity 0.5.5](https://github.com/ethereum/solidity/releases/tag/v0.5.5).\n\nNote: The formal verification was performed using the contract compiled with solcjs 0.5.0.\n\nPreparation:\n- Set `INFURA_TOKEN` in `.env`\n- Set `NETWORK` in `.env`\n- Run `yarn truffle compile`\n\nTruffle:\n- Set `MNEMONIC` in `.env`\n\n```bash\nyarn truffle deploy\n```\n\n### Verify contract\n\nNote: To completely replicate the bytecode that has been deployed it is required that the project path is `/gnosis-safe` this can be archived using `sudo mkdir /gnosis-safe \u0026\u0026 sudo mount -B \u003cyour_repo_path\u003e /gnosis-safe`. Make sure the run `yarn` again if the path has been changed after the inital `yarn install`. If you use a different path you will only get partial matches.\n\nYou can locally verify contract using the scripts `generate_meta.js` and `verify_deployment.js`.\n\nWith `node scripts/generate_meta.js` a `meta` folder is created in the `build` folder that contains all files required to verify the source code on https://verification.komputing.org/ and https://etherscan.io/\n\nFor Etherscan only the `GnosisSafeEtherscan.json` file is required. For sourcify the `GnosisSafeMeta.json` and all the `.sol` files are required.\n\nOnce the meta data has been generated you can verify that your local compiled code corresponds to the version deployed by Gnosis with `yarn do \u003cnetwork\u003e scripts/verify_deployment.js`.\n\nDocumentation\n-------------\n- [Safe developer portal](http://docs.gnosis.io/safe)\n- [Coding guidelines](docs/guidelines.md)\n\nAudits/ Formal Verification\n---------\n- [for Version 1.2.0 by G0 Group](docs/audit_1_2_0.md)\n- [for Version 1.1.1 by G0 Group](docs/audit_1_1_1.md)\n- [for Version 1.0.0 by Runtime Verification](docs/rv_1_0_0.md)\n- [for Version 0.0.1 by Alexey Akhunov](docs/alexey_audit.md)\n\nSecurity and Liability\n----------------------\nAll contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\nLicense\n-------\nAll smart contracts are released under LGPL v.3.\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3w%2Fgnosis-safe-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3w%2Fgnosis-safe-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3w%2Fgnosis-safe-contracts/lists"}