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
+      }
+    }
+  }
+}
+
+ +