-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
382 lines (368 loc) · 12.2 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
specVersion: 0.0.3
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: rocketTokenRETH
network: goerli
source:
address: "0x178E141a0E3b34152f73Ff610437A7bf9B83267A"
abi: rocketTokenRETH
startBlock: 5240711
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Staker
- RocketETHTransaction
abis:
- name: rocketTokenRETH
file: ./abis/rocketTokenRETH.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/mappings/rocketTokenRETHMapping.ts
- kind: ethereum/contract
name: rocketNetworkBalances
network: goerli
source:
address: "0x28CEa7b0f3916C1dbA667d3D58EC4836aD843c49"
abi: rocketNetworkBalances
startBlock: 5240673
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- NetworkStakerBalanceCheckpoint
- StakerBalanceCheckpoint
abis:
- name: rocketNetworkBalances
file: ./abis/rocketNetworkBalances.json
- name: rocketTokenRETH
file: ./abis/rocketTokenRETH.json
- name: rocketDepositPool
file: ./abis/rocketDepositPool.json
eventHandlers:
- event: BalancesUpdated(uint256,uint256,uint256,uint256,uint256)
handler: handleBalancesUpdated
file: ./src/mappings/rocketNetworkBalancesMapping.ts
- kind: ethereum/contract
name: rocketNodeManagerV1
network: goerli
source:
address: "0xCd05a20bf753E56Ca69bc6AeF23C9cA056d2149D"
abi: rocketNodeManagerV1
startBlock: 5240685
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Node
- NetworkNodeTimezone
abis:
- name: rocketNodeManagerV1
file: ./abis/rocketNodeManagerV1.json
eventHandlers:
- event: NodeRegistered(indexed address,uint256)
handler: handleNodeRegister
- event: NodeTimezoneLocationSet(indexed address,uint256)
handler: handleNodeTimezoneChanged
file: ./src/mappings/rocketNodeManager/V1.ts
- kind: ethereum/contract
name: rocketNodeManagerV2
network: goerli
source:
address: "0x6555fE651c5139E031aaC33ec61b6DAb686cD1Ad"
abi: rocketNodeManagerV2
startBlock: 5269508
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Node
- NetworkNodeTimezone
abis:
- name: rocketNodeManagerV2
file: ./abis/rocketNodeManagerV2.json
eventHandlers:
- event: NodeRegistered(indexed address,uint256)
handler: handleNodeRegisterV2
- event: NodeTimezoneLocationSet(indexed address,uint256)
handler: handleNodeTimezoneChangedV2
file: ./src/mappings/rocketNodeManager/V2.ts
- kind: ethereum/contract
name: rocketNodeStaking
network: goerli
source:
address: "0xc0367B558fCF45d5E6cAdf55567d4Fb94BF62703"
abi: rocketNodeStaking
startBlock: 5240685
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- NodeRPLStakeTransaction
abis:
- name: rocketNodeStaking
file: ./abis/rocketNodeStaking.json
- name: rocketNetworkPrices
file: ./abis/rocketNetworkPrices.json
- name: rocketTokenRETH
file: ./abis/rocketTokenRETH.json
eventHandlers:
- event: RPLStaked(indexed address,uint256,uint256)
handler: handleRPLStaked
- event: RPLWithdrawn(indexed address,uint256,uint256)
handler: handleRPLWithdrawn
- event: RPLSlashed(indexed address,uint256,uint256,uint256)
handler: handleRPLSlashed
file: ./src/mappings/rocketNodeStakingMapping.ts
- kind: ethereum/contract
name: rocketRewardsPool
network: goerli
source:
address: "0xf9aE18eB0CE4930Bc3d7d1A5E33e4286d4FB0f8B"
abi: rocketRewardsPool
startBlock: 5240676
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- RPLRewardInterval
- RPLRewardClaim
abis:
- name: rocketRewardsPool
file: ./abis/rocketRewardsPool.json
- name: rocketDAONodeTrusted
file: ./abis/rocketDAONodeTrusted.json
- name: rocketNetworkPrices
file: ./abis/rocketNetworkPrices.json
eventHandlers:
- event: RPLTokensClaimed(indexed address,indexed address,uint256,uint256)
handler: handleRPLTokensClaimed
file: ./src/mappings/rocketRewardsPoolMapping.ts
- kind: ethereum/contract
name: rocketNetworkPrices
network: goerli
source:
address: "0x12f96dC173a806D18d71fAFe3C1BA2149c3E3Dc6"
abi: rocketNetworkPrices
startBlock: 5240675
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- NetworkNodeBalanceCheckpoint
- NodeBalanceCheckpoint
abis:
- name: rocketNetworkPrices
file: ./abis/rocketNetworkPrices.json
- name: rocketNetworkFees
file: ./abis/rocketNetworkFees.json
- name: rocketDAOProtocolSettingsNode
file: ./abis/rocketDAOProtocolSettingsNode.json
- name: rocketDAOProtocolSettingsMinipool
file: ./abis/rocketDAOProtocolSettingsMinipool.json
- name: rocketNodeStaking
file: ./abis/rocketNodeStaking.json
eventHandlers:
- event: PricesUpdated(uint256,uint256,uint256,uint256)
handler: handlePricesUpdated
file: ./src/mappings/rocketNetworkPricesMapping.ts
- kind: ethereum/contract
name: rocketMinipoolManagerV1
network: goerli
source:
address: "0x6cC6b7F1eA68548d008d0Ce60798132a4072B919"
abi: rocketMinipoolManagerV1
startBlock: 5240668
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Minipool
abis:
- name: rocketMinipoolManagerV1
file: ./abis/rocketMinipoolManagerV1.json
- name: rocketNetworkFees
file: ./abis/rocketNetworkFees.json
- name: rocketNodeStaking
file: ./abis/rocketNodeStaking.json
eventHandlers:
- event: MinipoolCreated(indexed address,indexed address,uint256)
handler: handleMinipoolCreated
- event: MinipoolDestroyed(indexed address,indexed address,uint256)
handler: handleMinipoolDestroyed
file: ./src/mappings/rocketMinipoolManager/V1.ts
- kind: ethereum/contract
name: rocketMinipoolManagerV2
network: goerli
source:
address: "0x71EADa9cc667d64D30a38Ffb63FA07F3CD2072E3"
abi: rocketMinipoolManagerV2
startBlock: 5661253
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Minipool
abis:
- name: rocketMinipoolManagerV2
file: ./abis/rocketMinipoolManagerV2.json
- name: rocketNetworkFees
file: ./abis/rocketNetworkFees.json
- name: rocketNodeStaking
file: ./abis/rocketNodeStaking.json
eventHandlers:
- event: MinipoolCreated(indexed address,indexed address,uint256)
handler: handleMinipoolCreatedV2
- event: MinipoolDestroyed(indexed address,indexed address,uint256)
handler: handleMinipoolDestroyedV2
file: ./src/mappings/rocketMinipoolManager/V2.ts
- kind: ethereum/contract
name: rocketMinipoolManagerV3
network: goerli
source:
address: "0xB815a94430f08dD2ab61143cE1D5739Ac81D3C6d"
abi: rocketMinipoolManagerV3
startBlock: 5742248
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Minipool
abis:
- name: rocketMinipoolManagerV3
file: ./abis/rocketMinipoolManagerV3.json
- name: rocketNetworkFees
file: ./abis/rocketNetworkFees.json
- name: rocketNodeStaking
file: ./abis/rocketNodeStaking.json
eventHandlers:
- event: MinipoolCreated(indexed address,indexed address,uint256)
handler: handleMinipoolCreatedV3
- event: MinipoolDestroyed(indexed address,indexed address,uint256)
handler: handleMinipoolDestroyedV3
file: ./src/mappings/rocketMinipoolManager/V3.ts
- kind: ethereum/contract
name: rocketMinipoolqueue
network: goerli
source:
address: "0xEF5EF45bf1CC08D5694f87F8c4023f00CCCB7237"
abi: rocketMinipoolqueue
startBlock: 5240668
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Minipool
abis:
- name: rocketMinipoolqueue
file: ./abis/rocketMinipoolqueue.json
eventHandlers:
- event: MinipoolEnqueued(indexed address,indexed bytes32,uint256)
handler: handleMinipoolEnqueued
- event: MinipoolDequeued(indexed address,indexed bytes32,uint256)
handler: handleMinipoolDequeued
file: ./src/mappings/rocketMinipoolQueueMapping.ts
- kind: ethereum/contract
name: rocketDAONodeTrustedActions
network: goerli
source:
address: "0x47B27F14888E17Cb3B7D065FA0Af41863666d717"
abi: rocketDAONodeTrustedActions
startBlock: 5240691
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Node
abis:
- name: rocketDAONodeTrustedActions
file: ./abis/rocketDAONodeTrustedActions.json
eventHandlers:
- event: ActionJoined(indexed address,uint256,uint256)
handler: handleOracleNodeJoined
- event: ActionLeave(indexed address,uint256,uint256)
handler: handleOracleNodeLeft
- event: ActionKick(indexed address,uint256,uint256)
handler: handleOracleNodeKicked
- event: ActionChallengeDecided(indexed address,indexed address,bool,uint256)
handler: handleChallengeDecided
file: ./src/mappings/rocketDAONodeTrustedActionMapping.ts
templates:
- name: rocketMinipoolDelegateV1
kind: ethereum/contract
network: goerli
source:
abi: rocketMinipoolDelegateV1
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/mappings/rocketMinipoolDelegate/V1.ts
entities:
- Minipool
- Node
abis:
- name: rocketMinipoolDelegateV1
file: ./abis/rocketMinipoolDelegateV1.json
eventHandlers:
- event: StatusUpdated(indexed uint8,uint256)
handler: handleStatusUpdated
- event: EtherDeposited(indexed address,uint256,uint256)
handler: handleEtherDeposited
- name: rocketMinipoolDelegateV2
kind: ethereum/contract
network: goerli
source:
abi: rocketMinipoolDelegateV2
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/mappings/rocketMinipoolDelegate/V2.ts
entities:
- Minipool
- Node
abis:
- name: rocketMinipoolDelegateV2
file: ./abis/rocketMinipoolDelegateV2.json
eventHandlers:
- event: StatusUpdated(indexed uint8,uint256)
handler: handleStatusUpdated
- event: EtherDeposited(indexed address,uint256,uint256)
handler: handleEtherDeposited
- name: rocketMinipoolDelegateV3
kind: ethereum/contract
network: goerli
source:
abi: rocketMinipoolDelegateV3
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/mappings/rocketMinipoolDelegate/V3.ts
entities:
- Minipool
- Node
abis:
- name: rocketMinipoolDelegateV3
file: ./abis/rocketMinipoolDelegateV3.json
eventHandlers:
- event: StatusUpdated(indexed uint8,uint256)
handler: handleStatusUpdated
- event: EtherDeposited(indexed address,uint256,uint256)
handler: handleEtherDeposited