-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
63 lines (63 loc) · 2.49 KB
/
subgraph.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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