mirror of
https://github.com/Instadapp/compound-dsa-managers.git
synced 2024-07-29 21:48:19 +00:00
Create README.md
This commit is contained in:
parent
84b52e23ca
commit
e0e1996e9d
42
README.md
Normal file
42
README.md
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Compound V3 Managers
|
||||||
|
|
||||||
|
Subgraph for storing the managers on Compound V3 with write access on the owner account.<br>
|
||||||
|
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**
|
||||||
|
<pre>
|
||||||
|
graph build --network mainnet
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
### Query
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
{
|
||||||
|
owners {
|
||||||
|
id
|
||||||
|
address
|
||||||
|
manager {
|
||||||
|
id
|
||||||
|
address
|
||||||
|
isAllowed
|
||||||
|
isDSA
|
||||||
|
transactionData {
|
||||||
|
id
|
||||||
|
txnIndex
|
||||||
|
txnLogIndex
|
||||||
|
from
|
||||||
|
to
|
||||||
|
input
|
||||||
|
blockNumber
|
||||||
|
timestamp
|
||||||
|
blockGasUsed
|
||||||
|
gasPrice
|
||||||
|
gasLimit
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user