compound-dsa-managers/subgraph.yaml

29 lines
720 B
YAML
Raw Normal View History

2022-09-04 18:32:08 +00:00
specVersion: 0.0.5
2022-09-04 16:54:41 +00:00
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
2022-09-04 18:32:08 +00:00
name: cUSDCv3
2022-09-04 16:54:41 +00:00
network: mainnet
source:
address: "0xc3d688B66703497DAA19211EEdff47f25384cdc3"
abi: cUSDCv3
2022-09-04 18:32:08 +00:00
startBlock: 15331500
2022-09-04 16:54:41 +00:00
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
2022-09-04 18:32:08 +00:00
- Owner
- Manager
- Transaction
2022-09-04 16:54:41 +00:00
abis:
- name: cUSDCv3
file: ./abis/cUSDCv3.json
2022-09-04 18:32:08 +00:00
- name: InstaList
file: ./abis/InstaList.json
2022-09-04 16:54:41 +00:00
eventHandlers:
2022-09-04 18:32:08 +00:00
- event: Approval(indexed address,indexed address,uint256)
handler: handleManagerToggled
file: ./src/compound-v3-managers.ts