aave-automation-subgraph/subgraph.yaml

48 lines
1.7 KiB
YAML
Raw Normal View History

2022-08-04 12:59:39 +00:00
specVersion: 0.0.5
2022-08-04 04:55:00 +00:00
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
2022-08-04 12:59:39 +00:00
name: InstaAutomation
2022-08-04 15:58:34 +00:00
network: avalanche
2022-08-04 04:55:00 +00:00
source:
abi: InstaAutomation
2022-08-04 15:58:34 +00:00
address: "0x08c1c01be430C9381AD2794412C3E940254CD97c"
startBlock: 18160000
2022-08-04 04:55:00 +00:00
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
abis:
- name: InstaAutomation
file: ./abis/InstaAutomation.json
2022-08-04 12:59:39 +00:00
entities:
- Account
- SubmitData
- ExecuteData
- ExecuteMetaData
- CancelData
- SystemCancelData
- Executors
- Spell
- Swap
- ExceutionParams
2022-08-04 04:55:00 +00:00
eventHandlers:
2022-08-04 12:59:39 +00:00
- event: LogCancelledAutomation(indexed address,indexed uint32,indexed uint32)
handler: handleLogCancelAutomation
2022-08-04 15:58:34 +00:00
- event: LogSubmittedAutomation(indexed address,indexed
uint32,uint128,uint128,uint128)
2022-08-04 12:59:39 +00:00
handler: handleLogSubmitAutomation
2022-08-04 15:58:34 +00:00
- event: LogExecutedAutomationParams(indexed address,indexed uint32,indexed
uint32,uint128,uint128,uint16,(address,address,uint256,uint256,uint256,(address,address,uint256,uint256,bytes),uint256,uint256),(string[],bytes[]))
2022-08-04 12:59:39 +00:00
handler: handleLogExecuteAutomation
2022-08-04 15:58:34 +00:00
- event: LogExecutedAutomation(indexed address,indexed uint32,indexed
uint32,bool,bytes)
2022-08-04 12:59:39 +00:00
handler: handleLogExecuteAutomationMetadata
2022-08-04 15:58:34 +00:00
- event: LogSystemCancelledAutomation(indexed address,indexed uint32,indexed
uint32,uint8)
2022-08-04 12:59:39 +00:00
handler: handleSystemCancelledAutomation
- event: LogFlippedExecutors(address[],bool[])
handler: handleExecutors
2022-08-04 04:55:00 +00:00
file: ./src/insta-automation.ts