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-06 05:11:40 +00:00
|
|
|
network: matic
|
2022-08-04 04:55:00 +00:00
|
|
|
source:
|
|
|
|
abi: InstaAutomation
|
2022-08-06 05:11:40 +00:00
|
|
|
address: "0x3cF499Dbd2aBB6505f48Db27a9871523A38e6e2C"
|
|
|
|
startBlock: 31471200
|
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-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-04 04:55:00 +00:00
|
|
|
file: ./src/insta-automation.ts
|