{"id":20604318,"url":"https://github.com/tasitlabs/gnosis-safe-subgraph","last_synced_at":"2026-02-28T16:32:34.931Z","repository":{"id":41794124,"uuid":"186184863","full_name":"tasitlabs/gnosis-safe-subgraph","owner":"tasitlabs","description":"A subgraph for The Graph that indexes events for the Gnosis Safe contracts on Ethereum","archived":false,"fork":false,"pushed_at":"2022-12-10T17:22:15.000Z","size":1751,"stargazers_count":3,"open_issues_count":16,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T02:40:56.051Z","etag":null,"topics":["contract-based-account","ethereum","gnosis","gnosis-safe","graph","graphql","safe","the-graph","wallet"],"latest_commit_sha":null,"homepage":"https://thegraph.com/explorer/subgraph/tasitlabs/gnosis-safe","language":"TypeScript","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/tasitlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["pcowgill","tasitlabs"],"custom":"https://gitcoin.co/grants/183/tasit-native-mobile-ethereum-dapps"}},"created_at":"2019-05-11T21:55:07.000Z","updated_at":"2021-08-24T13:21:51.000Z","dependencies_parsed_at":"2023-01-26T07:00:08.455Z","dependency_job_id":null,"html_url":"https://github.com/tasitlabs/gnosis-safe-subgraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tasitlabs/gnosis-safe-subgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasitlabs%2Fgnosis-safe-subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasitlabs%2Fgnosis-safe-subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasitlabs%2Fgnosis-safe-subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasitlabs%2Fgnosis-safe-subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tasitlabs","download_url":"https://codeload.github.com/tasitlabs/gnosis-safe-subgraph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasitlabs%2Fgnosis-safe-subgraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29942866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["contract-based-account","ethereum","gnosis","gnosis-safe","graph","graphql","safe","the-graph","wallet"],"created_at":"2024-11-16T09:22:10.380Z","updated_at":"2026-02-28T16:32:34.885Z","avatar_url":"https://github.com/tasitlabs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/pcowgill","https://github.com/sponsors/tasitlabs","https://gitcoin.co/grants/183/tasit-native-mobile-ethereum-dapps"],"categories":[],"sub_categories":[],"readme":"# Gnosis Safe Subgraph\n\nModern wallets like the Gnosis Safe use contract-based accounts to manage funds. This subgraph indexes new deployments of contract-based accounts for users of the Gnosis Safe.\n\nThere's a UI that uses this subgraph at [contractbasedaccounts.com](https://contractbasedaccounts.com).\n\n\u003cdiv align=\"left\"\u003e\n  \u003cimg src=\"./docs/images/ContractBasedAccountsWebsiteScreenshot.png\" width=\"400\" /\u003e\n\u003c/div\u003e\n\nFor more information see the [Gnosis Safe docs](https://gnosis-safe.readthedocs.io/en/latest/) and/or the [docs for The Graph](https://thegraph.com/docs/).\n\nWe've also built a related subgraph, the [Argent subgraph](https://github.com/tasitlabs/argent-subgraph).\n\n### Why is this interesting?\n\nWell, for example [this contract-based account](https://etherscan.io/address/0xafc2f2d803479a2af3a72022d54cc0901a0ec0d6) has 5,000 ETH in it.\n\n### Schema\n\n```graphql\ntype ContractBasedAccount @entity {\n  id: ID!\n  timeCreated: BigInt!\n}\n```\n\n### Sample query\n\nGet the two most recent Gnosis Safe contract-based accounts, with the newest one shown first.\n\n```graphql\n{\n  contractBasedAccounts(first: 2, orderBy: timeCreated, orderDirection: desc) {\n    id\n    timeCreated\n  }\n}\n```\n\n### Sample response\n\n```json\n{\n  \"data\": {\n    \"contractBasedAccounts\": [\n      {\n        \"id\": \"0x3bcebeafee1476ae989ef108c2c825ad3be7a38b\",\n        \"timeCreated\": \"1557234021\"\n      },\n      {\n        \"id\": \"0xafc2f2d803479a2af3a72022d54cc0901a0ec0d6\",\n        \"timeCreated\": \"1557156465\"\n      }\n    ]\n  }\n}\n```\n\nBuilt by the [Tasit](https://tasit.io) team.\n\n### Notes\n\nAs the creation of new contracts is a very gas-consuming operation, the Gnosis Safe contracts use a proxy pattern where a master copy of the contract is deployed once and all its copies are deployed as minimal proxy contracts pointing to the master copy contract. This means that we can track the creation of new contract-based accounts by indexing an event from the ProxyFactory contract.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftasitlabs%2Fgnosis-safe-subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftasitlabs%2Fgnosis-safe-subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftasitlabs%2Fgnosis-safe-subgraph/lists"}