compound-dsa-managers/subgraph.yaml
2022-09-05 15:49:07 +05:30

31 lines
838 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
callHandlers:
- function: allow(address,bool)
handler: handleManagerToggledByAllow
- function: allowBySig(address,address,bool,uint256,uint256,uint8,bytes32,bytes32)
handler: handleManagerToggledByPermit
file: ./src/compound-v3-managers.ts