aave-automation-subgraph/subgraph.yaml

64 lines
2.5 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-29 18:57:47 +00:00
network: mainnet
2022-08-04 04:55:00 +00:00
source:
abi: InstaAutomation
2022-08-29 18:57:47 +00:00
address: "0x08c1c01be430C9381AD2794412C3E940254CD97c"
startBlock: 15435700
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
2022-08-06 05:11:40 +00:00
- ChangedOwner
- FeeTransferData
- SystemCallData
- UpdateAutomationFeeData
- UpdateBufferHfData
- UpdateMinHfData
2022-08-29 18:57:47 +00:00
- FailedExecution
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: LogExecutedAutomation(indexed address,indexed uint32,indexed
2022-08-06 05:11:40 +00:00
uint32,(address,address,uint256,uint256,uint256,(address,address,uint256,uint256,bytes),uint256,uint256),bool,uint16,bytes,uint128,uint128)
handler: handleLogExecuteAutomation
- event: LogFeeTransferred(indexed address,address[],uint256[])
handler: handleLogFeeTransferred
- event: LogFlippedExecutors(address[],bool[])
handler: handleExecutors
- event: LogSystemCall(indexed address,string,bytes)
handler: handleLogSystemCall
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
2022-08-06 05:11:40 +00:00
- event: LogUpdatedAutomationFee(uint16,uint16)
handler: handleLogUpdateAutomationFee
- event: LogUpdatedBufferHf(uint128,uint128)
handler: handleUpdatedBufferHf
- event: LogUpdatedMinHf(uint128,uint128)
handler: handleLogUpdatedMinHf
- event: LogSubmittedAutomation(indexed address,indexed
uint32,uint128,uint128,uint128)
handler: handleLogSubmitAutomation
- event: LogChangedOwner(indexed address,indexed address)
handler: handleLogChangedOwner
2022-08-29 18:57:47 +00:00
- event: LogExecutionFailedAutomation(indexed address,indexed uint32,indexed
uint32,(address,address,uint256,uint256,uint256,(address,address,uint256,uint256,bytes),uint256,uint256),bytes,uint128)
handler: handleLogFailedExecution
2022-08-04 04:55:00 +00:00
file: ./src/insta-automation.ts