-
Notifications
You must be signed in to change notification settings - Fork 3
/
subgraph.yaml
130 lines (130 loc) · 5.27 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: SSVNetworkImpl
network: mainnet
source:
abi: SSVNetwork
address: "0xdc1e8e50673b893c16c18d88e81e13b4415f6292"
startBlock: 17507480
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- NewGravatar
- UpdatedGravatar
abis:
- name: SSVNetwork
file: ./abis/SSVNetwork.json
callHandlers:
- function: initialize(address,address,address,address,address,uint64,uint256,uint32,uint64,uint64,uint64)
handler: handleInitialize
file: ./src/ssv-network.ts
- kind: ethereum
name: SSVNetwork
network: mainnet
source:
abi: SSVNetwork
address: "0xDD9BC35aE942eF0cFa76930954a156B3fF30a4E1"
startBlock: 17507480
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Cluster
- Validator
- Operator
- Account
- DeclareOperatorFeePeriodUpdated
- ExecuteOperatorFeePeriodUpdated
- FeeRecipientAddressUpdated
- LiquidationThresholdPeriodUpdated
- MinimumLiquidationCollateralUpdated
- NetworkEarningsWithdrawn
- NetworkFeeUpdated
- ClusterDeposited
- ClusterLiquidated
- ClusterReactivated
- ClusterWithdrawn
- ValidatorAdded
- ValidatorRemoved
- OperatorAdded
- OperatorFeeDeclarationCancelled
- OperatorFeeDeclared
- OperatorFeeExecuted
- OperatorFeeIncreaseLimitUpdated
- OperatorMaximumFeeUpdated
- OperatorRemoved
- OperatorWithdrawn
- OperatorWhitelistUpdated
- OperatorMultipleWhitelistRemoved
- OperatorMultipleWhitelistUpdated
- OperatorWhitelistingContractUpdated
- OperatorPrivacyStatusUpdated
abis:
- name: SSVNetwork
file: ./abis/SSVNetwork.json
eventHandlers:
- event: DeclareOperatorFeePeriodUpdated(uint64)
handler: handleDeclareOperatorFeePeriodUpdated
- event: ExecuteOperatorFeePeriodUpdated(uint64)
handler: handleExecuteOperatorFeePeriodUpdated
- event: FeeRecipientAddressUpdated(indexed address,address)
handler: handleFeeRecipientAddressUpdated
- event: LiquidationThresholdPeriodUpdated(uint64)
handler: handleLiquidationThresholdPeriodUpdated
- event: MinimumLiquidationCollateralUpdated(uint256)
handler: handleMinimumLiquidationCollateralUpdated
- event: NetworkEarningsWithdrawn(uint256,address)
handler: handleNetworkEarningsWithdrawn
- event: NetworkFeeUpdated(uint256,uint256)
handler: handleNetworkFeeUpdated
- event: ClusterDeposited(indexed
address,uint64[],uint256,(uint32,uint64,uint64,bool,uint256))
handler: handleClusterDeposited
- event: ClusterLiquidated(indexed
address,uint64[],(uint32,uint64,uint64,bool,uint256))
handler: handleClusterLiquidated
- event: ClusterReactivated(indexed
address,uint64[],(uint32,uint64,uint64,bool,uint256))
handler: handleClusterReactivated
- event: ClusterWithdrawn(indexed
address,uint64[],uint256,(uint32,uint64,uint64,bool,uint256))
handler: handleClusterWithdrawn
- event: ValidatorAdded(indexed
address,uint64[],bytes,bytes,(uint32,uint64,uint64,bool,uint256))
handler: handleValidatorAdded
- event: ValidatorRemoved(indexed
address,uint64[],bytes,(uint32,uint64,uint64,bool,uint256))
handler: handleValidatorRemoved
- event: OperatorAdded(indexed uint64,indexed address,bytes,uint256)
handler: handleOperatorAdded
- event: OperatorFeeDeclarationCancelled(indexed address,indexed uint64)
handler: handleOperatorFeeDeclarationCancelled
- event: OperatorFeeDeclared(indexed address,indexed uint64,uint256,uint256)
handler: handleOperatorFeeDeclared
- event: OperatorFeeExecuted(indexed address,indexed uint64,uint256,uint256)
handler: handleOperatorFeeExecuted
- event: OperatorFeeIncreaseLimitUpdated(uint64)
handler: handleOperatorFeeIncreaseLimitUpdated
- event: OperatorMaximumFeeUpdated(uint64)
handler: handleOperatorMaximumFeeUpdated
- event: OperatorRemoved(indexed uint64)
handler: handleOperatorRemoved
- event: OperatorWhitelistUpdated(indexed uint64,address)
handler: handleOperatorWhitelistUpdated
- event: OperatorMultipleWhitelistUpdated(uint64[],address[])
handler: handleOperatorMultipleWhitelistUpdated
- event: OperatorMultipleWhitelistRemoved(uint64[],address[])
handler: handleOperatorMultipleWhitelistRemoved
- event: OperatorWhitelistingContractUpdated(uint64[],address)
handler: handleOperatorWhitelistingContractUpdated
- event: OperatorPrivacyStatusUpdated(uint64[],bool)
handler: handleOperatorPrivacyStatusUpdated
- event: OperatorWithdrawn(indexed address,indexed uint64,uint256)
handler: handleOperatorWithdrawn
file: ./src/ssv-network.ts