compound-dsa-managers/subgraph.yaml

31 lines
838 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-05 10:19:07 +00:00
callHandlers:
- function: allow(address,bool)
handler: handleManagerToggledByAllow
- function: allowBySig(address,address,bool,uint256,uint256,uint8,bytes32,bytes32)
handler: handleManagerToggledByPermit
2022-09-04 18:32:08 +00:00
file: ./src/compound-v3-managers.ts