From e0e1996e9d9fbb4c22c5ec0414e9224a0e98e84e Mon Sep 17 00:00:00 2001 From: Richa <76250660+Richa-iitr@users.noreply.github.com> Date: Mon, 5 Sep 2022 00:07:29 +0530 Subject: [PATCH] Create README.md --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ce53442 --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# Compound V3 Managers + +Subgraph for storing the managers on Compound V3 with write access on the owner account.
+Query the subgraph: [https://api.thegraph.com/subgraphs/name/richa-iitr/dsa-compound-v3-managers](https://api.thegraph.com/subgraphs/name/richa-iitr/dsa-compound-v3-managers) + +**Build the subgraph** +
+graph build --network mainnet
+
+ +### Query + +
+{
+  owners {
+    id
+    address
+    manager {
+      id
+      address
+      isAllowed
+      isDSA
+      transactionData {
+        id
+        txnIndex
+        txnLogIndex
+        from
+        to
+        input
+        blockNumber
+        timestamp
+        blockGasUsed
+        gasPrice
+        gasLimit
+        value
+      }
+    }
+  }
+}
+
+ +