compound-dsa-managers/README.md

45 lines
745 B
Markdown
Raw Permalink Normal View History

2022-09-04 18:37:29 +00:00
# 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
2022-09-04 20:07:23 +00:00
market
2022-09-04 18:37:29 +00:00
manager {
id
address
isAllowed
isDSA
2022-09-04 20:07:23 +00:00
market
2022-09-04 18:37:29 +00:00
transactionData {
id
txnIndex
txnLogIndex
from
to
input
blockNumber
timestamp
blockGasUsed
gasPrice
gasLimit
value
}
}
}
}
</pre>