This subgraph indexes safe and timelock addresses created by the Instance Deployer contract on the Base network.
See query-examples.md for example GraphQL queries to fetch data from this subgraph.
The subgraph stores the following data:
SystemInstance: A record of a safe and timelock pair created by the Instance Deployerid: A unique identifier for the instancesafe: The address of the safetimelock: The address of the timelockcreator: The address that created the instancecreationTime: When the instance was created
- InstanceDeployer: 0xE138136bFF8c6A9337805DE19177E3b29fef2783
- Start Block: 23801110
First time only
yarn install
Base deployment
Base is not indexed by The Graph so we use Goldsky
First run:
goldsky login
If you already have an existing subgraph you will have to delete it to deploy the new one
Deploy
yarn prepare:base
yarn codegen
yarn build
yarn deploy:base
You may need to add --product hosted-service --access-token {TOKEN} as extra parameters just after "goldsky subgraph deploy" in the package.json file.
To fetch all timelock and Gnosis Safe addresses created:
{
systemInstances(first: 1000) {
id
safe
timelock
creator
creationTime
}
}For more query examples, see the query-examples.md file.