compound-dsa-managers/subgraph.yaml
2022-09-05 00:02:08 +05:30

29 lines
720 B
YAML

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