From a7b45c37c2e52fa1488f7ff3590949f68c62e6c6 Mon Sep 17 00:00:00 2001 From: jordaniza Date: Wed, 27 Mar 2024 15:15:01 +0000 Subject: [PATCH 1/4] feat: added IAction to template --- packages/subgraph/schema.graphql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/subgraph/schema.graphql b/packages/subgraph/schema.graphql index bb175125..1507bf4e 100644 --- a/packages/subgraph/schema.graphql +++ b/packages/subgraph/schema.graphql @@ -8,3 +8,11 @@ type DaoPlugin @entity { "Set plugin specific related data below:" number: BigInt } + +type IAction @entity { + id: ID! #action entity id + daoAddress: Bytes! + to: Bytes! + value: BigInt! + data: Bytes! +} \ No newline at end of file From 648a3e53c2d4ef845ac4aa37a22e2651a1677edf Mon Sep 17 00:00:00 2001 From: Claudia Date: Thu, 28 Mar 2024 12:52:49 +0100 Subject: [PATCH 2/4] feat: bump matchstick version --- packages/subgraph/package.json | 2 +- packages/subgraph/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/subgraph/package.json b/packages/subgraph/package.json index adb276da..b27653bc 100644 --- a/packages/subgraph/package.json +++ b/packages/subgraph/package.json @@ -22,7 +22,7 @@ "@graphprotocol/graph-ts": "^0.31.0", "cross-env": "^7.0.3", "dotenv": "^16.3.1", - "matchstick-as": "^0.5.2", + "matchstick-as": "^0.6.0", "mustache": "^4.2.0", "ts-morph": "^17.0.1", "ts-node": "^10.9.1", diff --git a/packages/subgraph/yarn.lock b/packages/subgraph/yarn.lock index 7d11039e..d97d0e2c 100644 --- a/packages/subgraph/yarn.lock +++ b/packages/subgraph/yarn.lock @@ -2702,10 +2702,10 @@ make-error@^1.1.1: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -matchstick-as@^0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/matchstick-as/-/matchstick-as-0.5.2.tgz#6a6dde02d1d939c32458bd67bac688891a07a34c" - integrity sha512-fb1OVphDKEvJY06Ue02Eh1CNncuW95vp6b8tNAP7UIqplICSLoU/zgN6U7ge7R0upsoO78C7CRi4EyK/7Jxz7g== +matchstick-as@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/matchstick-as/-/matchstick-as-0.6.0.tgz#c65296b1f51b1014d605c52067d9b5321ea630e8" + integrity sha512-E36fWsC1AbCkBFt05VsDDRoFvGSdcZg6oZJrtIe/YDBbuFh8SKbR5FcoqDhNWqSN+F7bN/iS2u8Md0SM+4pUpw== dependencies: wabt "1.0.24" From 99ea1da3746178915578ebd0a98123ac9d653b70 Mon Sep 17 00:00:00 2001 From: Claudia Date: Tue, 2 Apr 2024 14:04:19 +0200 Subject: [PATCH 3/4] fix: remove deprecated networks --- .../subgraph/manifest/data/arbitrumGoerli.json | 16 ---------------- packages/subgraph/manifest/data/baseGoerli.json | 16 ---------------- packages/subgraph/manifest/data/goerli.json | 16 ---------------- 3 files changed, 48 deletions(-) delete mode 100644 packages/subgraph/manifest/data/arbitrumGoerli.json delete mode 100644 packages/subgraph/manifest/data/baseGoerli.json delete mode 100644 packages/subgraph/manifest/data/goerli.json diff --git a/packages/subgraph/manifest/data/arbitrumGoerli.json b/packages/subgraph/manifest/data/arbitrumGoerli.json deleted file mode 100644 index c95913ad..00000000 --- a/packages/subgraph/manifest/data/arbitrumGoerli.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", - "network": "arbitrum-goerli", - "PluginRepo": { - "address": null - }, - "dataSources": { - "PluginSetupProcessors": [ - { - "name": "PluginSetupProcessor", - "address": "0x308a1DC5020c4B5d992F5543a7236c465997fecB", - "startBlock": 51930460 - } - ] - } -} diff --git a/packages/subgraph/manifest/data/baseGoerli.json b/packages/subgraph/manifest/data/baseGoerli.json deleted file mode 100644 index 261bbe2c..00000000 --- a/packages/subgraph/manifest/data/baseGoerli.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", - "network": "base-testnet", - "PluginRepo": { - "address": null - }, - "dataSources": { - "PluginSetupProcessors": [ - { - "name": "PluginSetupProcessor", - "address": "0x6095b5004c59301f8Bb98768Bd395d0bc637C893", - "startBlock": 7890981 - } - ] - } -} diff --git a/packages/subgraph/manifest/data/goerli.json b/packages/subgraph/manifest/data/goerli.json deleted file mode 100644 index 656688c6..00000000 --- a/packages/subgraph/manifest/data/goerli.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", - "network": "goerli", - "PluginRepo": { - "address": null - }, - "dataSources": { - "PluginSetupProcessors": [ - { - "name": "PluginSetupProcessor", - "address": "0xE8B5d8D66a02CD1b9Bd32a4064D7ABa45F51305e", - "startBlock": 8548226 - } - ] - } -} From f367715541e8e771cd6289adb97bdf2708ac302d Mon Sep 17 00:00:00 2001 From: Claudia Date: Tue, 2 Apr 2024 14:05:29 +0200 Subject: [PATCH 4/4] fix: update the repository in the placeholder --- packages/subgraph/manifest/subgraph.placeholder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/subgraph/manifest/subgraph.placeholder.yaml b/packages/subgraph/manifest/subgraph.placeholder.yaml index 2de5289f..e8922a64 100644 --- a/packages/subgraph/manifest/subgraph.placeholder.yaml +++ b/packages/subgraph/manifest/subgraph.placeholder.yaml @@ -1,7 +1,7 @@ {{info}} specVersion: 0.0.2 description: A template for Plugin subgraphs -repository: https://github.com/aragon/osx-plugin-subgraph +repository: https://github.com/aragon/osx-plugin-template-hardhat schema: file: ./schema.graphql dataSources: