compound-dsa-managers/subgraph.yaml

30 lines
776 B
YAML
Raw Normal View History

2022-09-04 16:54:41 +00:00
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