mirror of
https://github.com/Instadapp/aave-automation-subgraph.git
synced 2024-07-29 22:28:08 +00:00
64 lines
2.5 KiB
YAML
64 lines
2.5 KiB
YAML
specVersion: 0.0.5
|
|
schema:
|
|
file: ./schema.graphql
|
|
dataSources:
|
|
- kind: ethereum
|
|
name: InstaAutomation
|
|
network: mainnet
|
|
source:
|
|
abi: InstaAutomation
|
|
address: "0x08c1c01be430C9381AD2794412C3E940254CD97c"
|
|
startBlock: 15435700
|
|
mapping:
|
|
kind: ethereum/events
|
|
apiVersion: 0.0.5
|
|
language: wasm/assemblyscript
|
|
abis:
|
|
- name: InstaAutomation
|
|
file: ./abis/InstaAutomation.json
|
|
entities:
|
|
- Account
|
|
- SubmitData
|
|
- ExecuteData
|
|
- ExecuteMetaData
|
|
- CancelData
|
|
- SystemCancelData
|
|
- Executors
|
|
- ChangedOwner
|
|
- FeeTransferData
|
|
- SystemCallData
|
|
- UpdateAutomationFeeData
|
|
- UpdateBufferHfData
|
|
- UpdateMinHfData
|
|
- FailedExecution
|
|
eventHandlers:
|
|
- event: LogCancelledAutomation(indexed address,indexed uint32,indexed uint32)
|
|
handler: handleLogCancelAutomation
|
|
- event: LogExecutedAutomation(indexed address,indexed uint32,indexed
|
|
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
|
|
- event: LogSystemCancelledAutomation(indexed address,indexed uint32,indexed
|
|
uint32,uint8)
|
|
handler: handleSystemCancelledAutomation
|
|
- 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
|
|
- event: LogExecutionFailedAutomation(indexed address,indexed uint32,indexed
|
|
uint32,(address,address,uint256,uint256,uint256,(address,address,uint256,uint256,bytes),uint256,uint256),bytes,uint128)
|
|
handler: handleLogFailedExecution
|
|
file: ./src/insta-automation.ts
|