compound-dsa-managers/subgraph.yaml
2022-09-04 22:24:41 +05:30

30 lines
776 B
YAML

specVersion: 0.0.1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: undefined
network: mainnet
source:
address: "0xc3d688B66703497DAA19211EEdff47f25384cdc3"
abi: cUSDCv3
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- AdminChanged
- BeaconUpgraded
- Upgraded
abis:
- name: cUSDCv3
file: ./abis/cUSDCv3.json
eventHandlers:
- event: AdminChanged(address,address)
handler: handleAdminChanged
- event: BeaconUpgraded(indexed address)
handler: handleBeaconUpgraded
- event: Upgraded(indexed address)
handler: handleUpgraded
file: ./src/c-usd-cv-3.ts