defi-state-querier 0.4.25__py3-none-any.whl → 0.4.27__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/vault/lido/__init__.py +0 -0
  3. defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
  4. defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
  5. defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
  6. defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
  7. defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
  8. defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
  9. defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
  10. defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
  11. defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
  12. defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
  13. defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
  14. defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
  15. defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
  16. defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
  17. defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
  18. defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
  19. defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
  20. defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
  21. defi_services/abis/vault/lido/lido_burner.py +698 -0
  22. defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
  23. defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
  24. defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
  25. defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
  26. defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
  27. defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
  28. defi_services/abis/vault/lido/lido_dao.py +623 -0
  29. defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
  30. defi_services/abis/vault/lido/lido_dao_token.py +590 -0
  31. defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
  32. defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
  33. defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
  34. defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
  35. defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
  36. defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
  37. defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
  38. defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
  39. defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
  40. defi_services/abis/vault/lido/lido_locator.py +357 -0
  41. defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
  42. defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
  43. defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
  44. defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
  45. defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
  46. defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
  47. defi_services/abis/vault/lido/lido_steth.py +1604 -0
  48. defi_services/abis/vault/lido/lido_stonks.py +744 -0
  49. defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
  50. defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
  51. defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
  52. defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
  53. defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
  54. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
  55. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
  56. defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
  57. defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
  58. defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
  59. defi_services/abis/vault/lido/lido_wsteth.py +481 -0
  60. defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
  61. defi_services/jobs/processors/multi_state_processor.py +2 -2
  62. defi_services/jobs/processors/state_processor.py +2 -2
  63. defi_services/jobs/queriers/state_querier.py +4 -4
  64. defi_services/services/dex/pancakeswap_service.py +1 -1
  65. defi_services/services/dex/pancakeswap_v2_service.py +1 -1
  66. defi_services/services/dex/uniswap_v2_service.py +1 -1
  67. defi_services/services/dex/uniswap_v3_service.py +2 -2
  68. defi_services/services/lending/aave_v2_services.py +2 -2
  69. defi_services/services/lending/aave_v3_services.py +4 -4
  70. defi_services/services/lending/apeswap_services.py +3 -3
  71. defi_services/services/lending/compound_service.py +3 -3
  72. defi_services/services/lending/compound_v3_services.py +1 -1
  73. defi_services/services/lending/flux_services.py +3 -3
  74. defi_services/services/lending/granary_services.py +1 -1
  75. defi_services/services/lending/iron_bank_service.py +4 -4
  76. defi_services/services/lending/justlend_service.py +3 -3
  77. defi_services/services/lending/liqee_service.py +3 -3
  78. defi_services/services/lending/morpho_aave_v2_services.py +2 -2
  79. defi_services/services/lending/morpho_aave_v3_services.py +2 -2
  80. defi_services/services/lending/morpho_compound_services.py +5 -5
  81. defi_services/services/lending/onyx_service.py +4 -4
  82. defi_services/services/lending/silo_services.py +3 -3
  83. defi_services/services/lending/strike_service.py +3 -3
  84. defi_services/services/lending/trava_services.py +2 -2
  85. defi_services/services/lending/uwu_services.py +2 -2
  86. defi_services/services/lending/valas_services.py +1 -1
  87. defi_services/services/lending/venus_services.py +7 -7
  88. defi_services/services/lending/wepiggy_services.py +4 -4
  89. defi_services/services/token_services.py +1 -1
  90. defi_services/utils/convert_address.py +2 -2
  91. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/METADATA +1 -1
  92. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +95 -36
  93. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
  94. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
  95. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1342 @@
1
+ import json
2
+
3
+ LIDO_ACCOUNTING_ORACLE_ABI = json.loads('''
4
+ [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "lidoLocator",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "address",
14
+ "name": "lido",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "internalType": "address",
19
+ "name": "legacyOracle",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "internalType": "uint256",
24
+ "name": "secondsPerSlot",
25
+ "type": "uint256"
26
+ },
27
+ {
28
+ "internalType": "uint256",
29
+ "name": "genesisTime",
30
+ "type": "uint256"
31
+ }
32
+ ],
33
+ "stateMutability": "nonpayable",
34
+ "type": "constructor"
35
+ },
36
+ {
37
+ "inputs": [],
38
+ "name": "AddressCannotBeSame",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "AddressCannotBeZero",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [],
48
+ "name": "AdminCannotBeZero",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "CannotSubmitExtraDataBeforeMainData",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [],
58
+ "name": "ExtraDataAlreadyProcessed",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "ExtraDataHashCannotBeZeroForNonEmptyData",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ExtraDataItemsCountCannotBeZeroForNonEmptyData",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ExtraDataListOnlySupportsSingleTx",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "HashCannotBeZero",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "code",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "name": "IncorrectOracleMigration",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "initialRefSlot",
97
+ "type": "uint256"
98
+ },
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "processingRefSlot",
102
+ "type": "uint256"
103
+ }
104
+ ],
105
+ "name": "InitialRefSlotCannotBeLessThanProcessingOne",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "InvalidContractVersionIncrement",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "InvalidExitedValidatorsData",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "itemIndex",
123
+ "type": "uint256"
124
+ }
125
+ ],
126
+ "name": "InvalidExtraDataItem",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "itemIndex",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "InvalidExtraDataSortOrder",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "LegacyOracleCannotBeZero",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "LidoCannotBeZero",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "LidoLocatorCannotBeZero",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [],
157
+ "name": "NoConsensusReportToProcess",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "inputs": [],
162
+ "name": "NonZeroContractVersionOnInit",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "inputs": [
167
+ {
168
+ "internalType": "uint256",
169
+ "name": "deadline",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "name": "ProcessingDeadlineMissed",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "RefSlotAlreadyProcessing",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "uint256",
185
+ "name": "refSlot",
186
+ "type": "uint256"
187
+ },
188
+ {
189
+ "internalType": "uint256",
190
+ "name": "prevRefSlot",
191
+ "type": "uint256"
192
+ }
193
+ ],
194
+ "name": "RefSlotCannotDecrease",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "refSlot",
202
+ "type": "uint256"
203
+ },
204
+ {
205
+ "internalType": "uint256",
206
+ "name": "processingRefSlot",
207
+ "type": "uint256"
208
+ }
209
+ ],
210
+ "name": "RefSlotMustBeGreaterThanProcessingOne",
211
+ "type": "error"
212
+ },
213
+ {
214
+ "inputs": [],
215
+ "name": "SecondsPerSlotCannotBeZero",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [],
220
+ "name": "SenderIsNotTheConsensusContract",
221
+ "type": "error"
222
+ },
223
+ {
224
+ "inputs": [],
225
+ "name": "SenderNotAllowed",
226
+ "type": "error"
227
+ },
228
+ {
229
+ "inputs": [],
230
+ "name": "UnexpectedChainConfig",
231
+ "type": "error"
232
+ },
233
+ {
234
+ "inputs": [
235
+ {
236
+ "internalType": "uint256",
237
+ "name": "expectedVersion",
238
+ "type": "uint256"
239
+ },
240
+ {
241
+ "internalType": "uint256",
242
+ "name": "receivedVersion",
243
+ "type": "uint256"
244
+ }
245
+ ],
246
+ "name": "UnexpectedConsensusVersion",
247
+ "type": "error"
248
+ },
249
+ {
250
+ "inputs": [
251
+ {
252
+ "internalType": "uint256",
253
+ "name": "expected",
254
+ "type": "uint256"
255
+ },
256
+ {
257
+ "internalType": "uint256",
258
+ "name": "received",
259
+ "type": "uint256"
260
+ }
261
+ ],
262
+ "name": "UnexpectedContractVersion",
263
+ "type": "error"
264
+ },
265
+ {
266
+ "inputs": [
267
+ {
268
+ "internalType": "bytes32",
269
+ "name": "consensusHash",
270
+ "type": "bytes32"
271
+ },
272
+ {
273
+ "internalType": "bytes32",
274
+ "name": "receivedHash",
275
+ "type": "bytes32"
276
+ }
277
+ ],
278
+ "name": "UnexpectedDataHash",
279
+ "type": "error"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "uint256",
285
+ "name": "expectedFormat",
286
+ "type": "uint256"
287
+ },
288
+ {
289
+ "internalType": "uint256",
290
+ "name": "receivedFormat",
291
+ "type": "uint256"
292
+ }
293
+ ],
294
+ "name": "UnexpectedExtraDataFormat",
295
+ "type": "error"
296
+ },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "bytes32",
301
+ "name": "consensusHash",
302
+ "type": "bytes32"
303
+ },
304
+ {
305
+ "internalType": "bytes32",
306
+ "name": "receivedHash",
307
+ "type": "bytes32"
308
+ }
309
+ ],
310
+ "name": "UnexpectedExtraDataHash",
311
+ "type": "error"
312
+ },
313
+ {
314
+ "inputs": [
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "expectedIndex",
318
+ "type": "uint256"
319
+ },
320
+ {
321
+ "internalType": "uint256",
322
+ "name": "receivedIndex",
323
+ "type": "uint256"
324
+ }
325
+ ],
326
+ "name": "UnexpectedExtraDataIndex",
327
+ "type": "error"
328
+ },
329
+ {
330
+ "inputs": [
331
+ {
332
+ "internalType": "uint256",
333
+ "name": "expectedCount",
334
+ "type": "uint256"
335
+ },
336
+ {
337
+ "internalType": "uint256",
338
+ "name": "receivedCount",
339
+ "type": "uint256"
340
+ }
341
+ ],
342
+ "name": "UnexpectedExtraDataItemsCount",
343
+ "type": "error"
344
+ },
345
+ {
346
+ "inputs": [
347
+ {
348
+ "internalType": "uint256",
349
+ "name": "consensusRefSlot",
350
+ "type": "uint256"
351
+ },
352
+ {
353
+ "internalType": "uint256",
354
+ "name": "dataRefSlot",
355
+ "type": "uint256"
356
+ }
357
+ ],
358
+ "name": "UnexpectedRefSlot",
359
+ "type": "error"
360
+ },
361
+ {
362
+ "inputs": [
363
+ {
364
+ "internalType": "uint256",
365
+ "name": "format",
366
+ "type": "uint256"
367
+ }
368
+ ],
369
+ "name": "UnsupportedExtraDataFormat",
370
+ "type": "error"
371
+ },
372
+ {
373
+ "inputs": [
374
+ {
375
+ "internalType": "uint256",
376
+ "name": "itemIndex",
377
+ "type": "uint256"
378
+ },
379
+ {
380
+ "internalType": "uint256",
381
+ "name": "dataType",
382
+ "type": "uint256"
383
+ }
384
+ ],
385
+ "name": "UnsupportedExtraDataType",
386
+ "type": "error"
387
+ },
388
+ {
389
+ "inputs": [],
390
+ "name": "VersionCannotBeSame",
391
+ "type": "error"
392
+ },
393
+ {
394
+ "anonymous": false,
395
+ "inputs": [
396
+ {
397
+ "indexed": true,
398
+ "internalType": "address",
399
+ "name": "addr",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "indexed": true,
404
+ "internalType": "address",
405
+ "name": "prevAddr",
406
+ "type": "address"
407
+ }
408
+ ],
409
+ "name": "ConsensusHashContractSet",
410
+ "type": "event"
411
+ },
412
+ {
413
+ "anonymous": false,
414
+ "inputs": [
415
+ {
416
+ "indexed": true,
417
+ "internalType": "uint256",
418
+ "name": "version",
419
+ "type": "uint256"
420
+ },
421
+ {
422
+ "indexed": true,
423
+ "internalType": "uint256",
424
+ "name": "prevVersion",
425
+ "type": "uint256"
426
+ }
427
+ ],
428
+ "name": "ConsensusVersionSet",
429
+ "type": "event"
430
+ },
431
+ {
432
+ "anonymous": false,
433
+ "inputs": [
434
+ {
435
+ "indexed": false,
436
+ "internalType": "uint256",
437
+ "name": "version",
438
+ "type": "uint256"
439
+ }
440
+ ],
441
+ "name": "ContractVersionSet",
442
+ "type": "event"
443
+ },
444
+ {
445
+ "anonymous": false,
446
+ "inputs": [
447
+ {
448
+ "indexed": true,
449
+ "internalType": "uint256",
450
+ "name": "refSlot",
451
+ "type": "uint256"
452
+ },
453
+ {
454
+ "indexed": false,
455
+ "internalType": "uint256",
456
+ "name": "itemsProcessed",
457
+ "type": "uint256"
458
+ },
459
+ {
460
+ "indexed": false,
461
+ "internalType": "uint256",
462
+ "name": "itemsCount",
463
+ "type": "uint256"
464
+ }
465
+ ],
466
+ "name": "ExtraDataSubmitted",
467
+ "type": "event"
468
+ },
469
+ {
470
+ "anonymous": false,
471
+ "inputs": [
472
+ {
473
+ "indexed": true,
474
+ "internalType": "uint256",
475
+ "name": "refSlot",
476
+ "type": "uint256"
477
+ },
478
+ {
479
+ "indexed": false,
480
+ "internalType": "bytes32",
481
+ "name": "hash",
482
+ "type": "bytes32"
483
+ }
484
+ ],
485
+ "name": "ProcessingStarted",
486
+ "type": "event"
487
+ },
488
+ {
489
+ "anonymous": false,
490
+ "inputs": [
491
+ {
492
+ "indexed": true,
493
+ "internalType": "uint256",
494
+ "name": "refSlot",
495
+ "type": "uint256"
496
+ },
497
+ {
498
+ "indexed": false,
499
+ "internalType": "bytes32",
500
+ "name": "hash",
501
+ "type": "bytes32"
502
+ }
503
+ ],
504
+ "name": "ReportDiscarded",
505
+ "type": "event"
506
+ },
507
+ {
508
+ "anonymous": false,
509
+ "inputs": [
510
+ {
511
+ "indexed": true,
512
+ "internalType": "uint256",
513
+ "name": "refSlot",
514
+ "type": "uint256"
515
+ },
516
+ {
517
+ "indexed": false,
518
+ "internalType": "bytes32",
519
+ "name": "hash",
520
+ "type": "bytes32"
521
+ },
522
+ {
523
+ "indexed": false,
524
+ "internalType": "uint256",
525
+ "name": "processingDeadlineTime",
526
+ "type": "uint256"
527
+ }
528
+ ],
529
+ "name": "ReportSubmitted",
530
+ "type": "event"
531
+ },
532
+ {
533
+ "anonymous": false,
534
+ "inputs": [
535
+ {
536
+ "indexed": true,
537
+ "internalType": "bytes32",
538
+ "name": "role",
539
+ "type": "bytes32"
540
+ },
541
+ {
542
+ "indexed": true,
543
+ "internalType": "bytes32",
544
+ "name": "previousAdminRole",
545
+ "type": "bytes32"
546
+ },
547
+ {
548
+ "indexed": true,
549
+ "internalType": "bytes32",
550
+ "name": "newAdminRole",
551
+ "type": "bytes32"
552
+ }
553
+ ],
554
+ "name": "RoleAdminChanged",
555
+ "type": "event"
556
+ },
557
+ {
558
+ "anonymous": false,
559
+ "inputs": [
560
+ {
561
+ "indexed": true,
562
+ "internalType": "bytes32",
563
+ "name": "role",
564
+ "type": "bytes32"
565
+ },
566
+ {
567
+ "indexed": true,
568
+ "internalType": "address",
569
+ "name": "account",
570
+ "type": "address"
571
+ },
572
+ {
573
+ "indexed": true,
574
+ "internalType": "address",
575
+ "name": "sender",
576
+ "type": "address"
577
+ }
578
+ ],
579
+ "name": "RoleGranted",
580
+ "type": "event"
581
+ },
582
+ {
583
+ "anonymous": false,
584
+ "inputs": [
585
+ {
586
+ "indexed": true,
587
+ "internalType": "bytes32",
588
+ "name": "role",
589
+ "type": "bytes32"
590
+ },
591
+ {
592
+ "indexed": true,
593
+ "internalType": "address",
594
+ "name": "account",
595
+ "type": "address"
596
+ },
597
+ {
598
+ "indexed": true,
599
+ "internalType": "address",
600
+ "name": "sender",
601
+ "type": "address"
602
+ }
603
+ ],
604
+ "name": "RoleRevoked",
605
+ "type": "event"
606
+ },
607
+ {
608
+ "anonymous": false,
609
+ "inputs": [
610
+ {
611
+ "indexed": true,
612
+ "internalType": "uint256",
613
+ "name": "refSlot",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "indexed": false,
618
+ "internalType": "uint256",
619
+ "name": "processedItemsCount",
620
+ "type": "uint256"
621
+ },
622
+ {
623
+ "indexed": false,
624
+ "internalType": "uint256",
625
+ "name": "itemsCount",
626
+ "type": "uint256"
627
+ }
628
+ ],
629
+ "name": "WarnExtraDataIncompleteProcessing",
630
+ "type": "event"
631
+ },
632
+ {
633
+ "anonymous": false,
634
+ "inputs": [
635
+ {
636
+ "indexed": true,
637
+ "internalType": "uint256",
638
+ "name": "refSlot",
639
+ "type": "uint256"
640
+ }
641
+ ],
642
+ "name": "WarnProcessingMissed",
643
+ "type": "event"
644
+ },
645
+ {
646
+ "inputs": [],
647
+ "name": "DEFAULT_ADMIN_ROLE",
648
+ "outputs": [
649
+ {
650
+ "internalType": "bytes32",
651
+ "name": "",
652
+ "type": "bytes32"
653
+ }
654
+ ],
655
+ "stateMutability": "view",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [],
660
+ "name": "EXTRA_DATA_FORMAT_EMPTY",
661
+ "outputs": [
662
+ {
663
+ "internalType": "uint256",
664
+ "name": "",
665
+ "type": "uint256"
666
+ }
667
+ ],
668
+ "stateMutability": "view",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [],
673
+ "name": "EXTRA_DATA_FORMAT_LIST",
674
+ "outputs": [
675
+ {
676
+ "internalType": "uint256",
677
+ "name": "",
678
+ "type": "uint256"
679
+ }
680
+ ],
681
+ "stateMutability": "view",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "inputs": [],
686
+ "name": "EXTRA_DATA_TYPE_EXITED_VALIDATORS",
687
+ "outputs": [
688
+ {
689
+ "internalType": "uint256",
690
+ "name": "",
691
+ "type": "uint256"
692
+ }
693
+ ],
694
+ "stateMutability": "view",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [],
699
+ "name": "EXTRA_DATA_TYPE_STUCK_VALIDATORS",
700
+ "outputs": [
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "",
704
+ "type": "uint256"
705
+ }
706
+ ],
707
+ "stateMutability": "view",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [],
712
+ "name": "GENESIS_TIME",
713
+ "outputs": [
714
+ {
715
+ "internalType": "uint256",
716
+ "name": "",
717
+ "type": "uint256"
718
+ }
719
+ ],
720
+ "stateMutability": "view",
721
+ "type": "function"
722
+ },
723
+ {
724
+ "inputs": [],
725
+ "name": "LEGACY_ORACLE",
726
+ "outputs": [
727
+ {
728
+ "internalType": "address",
729
+ "name": "",
730
+ "type": "address"
731
+ }
732
+ ],
733
+ "stateMutability": "view",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "inputs": [],
738
+ "name": "LIDO",
739
+ "outputs": [
740
+ {
741
+ "internalType": "address",
742
+ "name": "",
743
+ "type": "address"
744
+ }
745
+ ],
746
+ "stateMutability": "view",
747
+ "type": "function"
748
+ },
749
+ {
750
+ "inputs": [],
751
+ "name": "LOCATOR",
752
+ "outputs": [
753
+ {
754
+ "internalType": "contract ILidoLocator",
755
+ "name": "",
756
+ "type": "address"
757
+ }
758
+ ],
759
+ "stateMutability": "view",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [],
764
+ "name": "MANAGE_CONSENSUS_CONTRACT_ROLE",
765
+ "outputs": [
766
+ {
767
+ "internalType": "bytes32",
768
+ "name": "",
769
+ "type": "bytes32"
770
+ }
771
+ ],
772
+ "stateMutability": "view",
773
+ "type": "function"
774
+ },
775
+ {
776
+ "inputs": [],
777
+ "name": "MANAGE_CONSENSUS_VERSION_ROLE",
778
+ "outputs": [
779
+ {
780
+ "internalType": "bytes32",
781
+ "name": "",
782
+ "type": "bytes32"
783
+ }
784
+ ],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [],
790
+ "name": "SECONDS_PER_SLOT",
791
+ "outputs": [
792
+ {
793
+ "internalType": "uint256",
794
+ "name": "",
795
+ "type": "uint256"
796
+ }
797
+ ],
798
+ "stateMutability": "view",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [],
803
+ "name": "SUBMIT_DATA_ROLE",
804
+ "outputs": [
805
+ {
806
+ "internalType": "bytes32",
807
+ "name": "",
808
+ "type": "bytes32"
809
+ }
810
+ ],
811
+ "stateMutability": "view",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [
816
+ {
817
+ "internalType": "uint256",
818
+ "name": "refSlot",
819
+ "type": "uint256"
820
+ }
821
+ ],
822
+ "name": "discardConsensusReport",
823
+ "outputs": [],
824
+ "stateMutability": "nonpayable",
825
+ "type": "function"
826
+ },
827
+ {
828
+ "inputs": [],
829
+ "name": "getConsensusContract",
830
+ "outputs": [
831
+ {
832
+ "internalType": "address",
833
+ "name": "",
834
+ "type": "address"
835
+ }
836
+ ],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [],
842
+ "name": "getConsensusReport",
843
+ "outputs": [
844
+ {
845
+ "internalType": "bytes32",
846
+ "name": "hash",
847
+ "type": "bytes32"
848
+ },
849
+ {
850
+ "internalType": "uint256",
851
+ "name": "refSlot",
852
+ "type": "uint256"
853
+ },
854
+ {
855
+ "internalType": "uint256",
856
+ "name": "processingDeadlineTime",
857
+ "type": "uint256"
858
+ },
859
+ {
860
+ "internalType": "bool",
861
+ "name": "processingStarted",
862
+ "type": "bool"
863
+ }
864
+ ],
865
+ "stateMutability": "view",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [],
870
+ "name": "getConsensusVersion",
871
+ "outputs": [
872
+ {
873
+ "internalType": "uint256",
874
+ "name": "",
875
+ "type": "uint256"
876
+ }
877
+ ],
878
+ "stateMutability": "view",
879
+ "type": "function"
880
+ },
881
+ {
882
+ "inputs": [],
883
+ "name": "getContractVersion",
884
+ "outputs": [
885
+ {
886
+ "internalType": "uint256",
887
+ "name": "",
888
+ "type": "uint256"
889
+ }
890
+ ],
891
+ "stateMutability": "view",
892
+ "type": "function"
893
+ },
894
+ {
895
+ "inputs": [],
896
+ "name": "getLastProcessingRefSlot",
897
+ "outputs": [
898
+ {
899
+ "internalType": "uint256",
900
+ "name": "",
901
+ "type": "uint256"
902
+ }
903
+ ],
904
+ "stateMutability": "view",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [],
909
+ "name": "getProcessingState",
910
+ "outputs": [
911
+ {
912
+ "components": [
913
+ {
914
+ "internalType": "uint256",
915
+ "name": "currentFrameRefSlot",
916
+ "type": "uint256"
917
+ },
918
+ {
919
+ "internalType": "uint256",
920
+ "name": "processingDeadlineTime",
921
+ "type": "uint256"
922
+ },
923
+ {
924
+ "internalType": "bytes32",
925
+ "name": "mainDataHash",
926
+ "type": "bytes32"
927
+ },
928
+ {
929
+ "internalType": "bool",
930
+ "name": "mainDataSubmitted",
931
+ "type": "bool"
932
+ },
933
+ {
934
+ "internalType": "bytes32",
935
+ "name": "extraDataHash",
936
+ "type": "bytes32"
937
+ },
938
+ {
939
+ "internalType": "uint256",
940
+ "name": "extraDataFormat",
941
+ "type": "uint256"
942
+ },
943
+ {
944
+ "internalType": "bool",
945
+ "name": "extraDataSubmitted",
946
+ "type": "bool"
947
+ },
948
+ {
949
+ "internalType": "uint256",
950
+ "name": "extraDataItemsCount",
951
+ "type": "uint256"
952
+ },
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "extraDataItemsSubmitted",
956
+ "type": "uint256"
957
+ }
958
+ ],
959
+ "internalType": "struct AccountingOracle.ProcessingState",
960
+ "name": "result",
961
+ "type": "tuple"
962
+ }
963
+ ],
964
+ "stateMutability": "view",
965
+ "type": "function"
966
+ },
967
+ {
968
+ "inputs": [
969
+ {
970
+ "internalType": "bytes32",
971
+ "name": "role",
972
+ "type": "bytes32"
973
+ }
974
+ ],
975
+ "name": "getRoleAdmin",
976
+ "outputs": [
977
+ {
978
+ "internalType": "bytes32",
979
+ "name": "",
980
+ "type": "bytes32"
981
+ }
982
+ ],
983
+ "stateMutability": "view",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [
988
+ {
989
+ "internalType": "bytes32",
990
+ "name": "role",
991
+ "type": "bytes32"
992
+ },
993
+ {
994
+ "internalType": "uint256",
995
+ "name": "index",
996
+ "type": "uint256"
997
+ }
998
+ ],
999
+ "name": "getRoleMember",
1000
+ "outputs": [
1001
+ {
1002
+ "internalType": "address",
1003
+ "name": "",
1004
+ "type": "address"
1005
+ }
1006
+ ],
1007
+ "stateMutability": "view",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "bytes32",
1014
+ "name": "role",
1015
+ "type": "bytes32"
1016
+ }
1017
+ ],
1018
+ "name": "getRoleMemberCount",
1019
+ "outputs": [
1020
+ {
1021
+ "internalType": "uint256",
1022
+ "name": "",
1023
+ "type": "uint256"
1024
+ }
1025
+ ],
1026
+ "stateMutability": "view",
1027
+ "type": "function"
1028
+ },
1029
+ {
1030
+ "inputs": [
1031
+ {
1032
+ "internalType": "bytes32",
1033
+ "name": "role",
1034
+ "type": "bytes32"
1035
+ },
1036
+ {
1037
+ "internalType": "address",
1038
+ "name": "account",
1039
+ "type": "address"
1040
+ }
1041
+ ],
1042
+ "name": "grantRole",
1043
+ "outputs": [],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ },
1047
+ {
1048
+ "inputs": [
1049
+ {
1050
+ "internalType": "bytes32",
1051
+ "name": "role",
1052
+ "type": "bytes32"
1053
+ },
1054
+ {
1055
+ "internalType": "address",
1056
+ "name": "account",
1057
+ "type": "address"
1058
+ }
1059
+ ],
1060
+ "name": "hasRole",
1061
+ "outputs": [
1062
+ {
1063
+ "internalType": "bool",
1064
+ "name": "",
1065
+ "type": "bool"
1066
+ }
1067
+ ],
1068
+ "stateMutability": "view",
1069
+ "type": "function"
1070
+ },
1071
+ {
1072
+ "inputs": [
1073
+ {
1074
+ "internalType": "address",
1075
+ "name": "admin",
1076
+ "type": "address"
1077
+ },
1078
+ {
1079
+ "internalType": "address",
1080
+ "name": "consensusContract",
1081
+ "type": "address"
1082
+ },
1083
+ {
1084
+ "internalType": "uint256",
1085
+ "name": "consensusVersion",
1086
+ "type": "uint256"
1087
+ }
1088
+ ],
1089
+ "name": "initialize",
1090
+ "outputs": [],
1091
+ "stateMutability": "nonpayable",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [
1096
+ {
1097
+ "internalType": "address",
1098
+ "name": "admin",
1099
+ "type": "address"
1100
+ },
1101
+ {
1102
+ "internalType": "address",
1103
+ "name": "consensusContract",
1104
+ "type": "address"
1105
+ },
1106
+ {
1107
+ "internalType": "uint256",
1108
+ "name": "consensusVersion",
1109
+ "type": "uint256"
1110
+ },
1111
+ {
1112
+ "internalType": "uint256",
1113
+ "name": "lastProcessingRefSlot",
1114
+ "type": "uint256"
1115
+ }
1116
+ ],
1117
+ "name": "initializeWithoutMigration",
1118
+ "outputs": [],
1119
+ "stateMutability": "nonpayable",
1120
+ "type": "function"
1121
+ },
1122
+ {
1123
+ "inputs": [
1124
+ {
1125
+ "internalType": "bytes32",
1126
+ "name": "role",
1127
+ "type": "bytes32"
1128
+ },
1129
+ {
1130
+ "internalType": "address",
1131
+ "name": "account",
1132
+ "type": "address"
1133
+ }
1134
+ ],
1135
+ "name": "renounceRole",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "bytes32",
1144
+ "name": "role",
1145
+ "type": "bytes32"
1146
+ },
1147
+ {
1148
+ "internalType": "address",
1149
+ "name": "account",
1150
+ "type": "address"
1151
+ }
1152
+ ],
1153
+ "name": "revokeRole",
1154
+ "outputs": [],
1155
+ "stateMutability": "nonpayable",
1156
+ "type": "function"
1157
+ },
1158
+ {
1159
+ "inputs": [
1160
+ {
1161
+ "internalType": "address",
1162
+ "name": "addr",
1163
+ "type": "address"
1164
+ }
1165
+ ],
1166
+ "name": "setConsensusContract",
1167
+ "outputs": [],
1168
+ "stateMutability": "nonpayable",
1169
+ "type": "function"
1170
+ },
1171
+ {
1172
+ "inputs": [
1173
+ {
1174
+ "internalType": "uint256",
1175
+ "name": "version",
1176
+ "type": "uint256"
1177
+ }
1178
+ ],
1179
+ "name": "setConsensusVersion",
1180
+ "outputs": [],
1181
+ "stateMutability": "nonpayable",
1182
+ "type": "function"
1183
+ },
1184
+ {
1185
+ "inputs": [
1186
+ {
1187
+ "internalType": "bytes32",
1188
+ "name": "reportHash",
1189
+ "type": "bytes32"
1190
+ },
1191
+ {
1192
+ "internalType": "uint256",
1193
+ "name": "refSlot",
1194
+ "type": "uint256"
1195
+ },
1196
+ {
1197
+ "internalType": "uint256",
1198
+ "name": "deadline",
1199
+ "type": "uint256"
1200
+ }
1201
+ ],
1202
+ "name": "submitConsensusReport",
1203
+ "outputs": [],
1204
+ "stateMutability": "nonpayable",
1205
+ "type": "function"
1206
+ },
1207
+ {
1208
+ "inputs": [
1209
+ {
1210
+ "components": [
1211
+ {
1212
+ "internalType": "uint256",
1213
+ "name": "consensusVersion",
1214
+ "type": "uint256"
1215
+ },
1216
+ {
1217
+ "internalType": "uint256",
1218
+ "name": "refSlot",
1219
+ "type": "uint256"
1220
+ },
1221
+ {
1222
+ "internalType": "uint256",
1223
+ "name": "numValidators",
1224
+ "type": "uint256"
1225
+ },
1226
+ {
1227
+ "internalType": "uint256",
1228
+ "name": "clBalanceGwei",
1229
+ "type": "uint256"
1230
+ },
1231
+ {
1232
+ "internalType": "uint256[]",
1233
+ "name": "stakingModuleIdsWithNewlyExitedValidators",
1234
+ "type": "uint256[]"
1235
+ },
1236
+ {
1237
+ "internalType": "uint256[]",
1238
+ "name": "numExitedValidatorsByStakingModule",
1239
+ "type": "uint256[]"
1240
+ },
1241
+ {
1242
+ "internalType": "uint256",
1243
+ "name": "withdrawalVaultBalance",
1244
+ "type": "uint256"
1245
+ },
1246
+ {
1247
+ "internalType": "uint256",
1248
+ "name": "elRewardsVaultBalance",
1249
+ "type": "uint256"
1250
+ },
1251
+ {
1252
+ "internalType": "uint256",
1253
+ "name": "sharesRequestedToBurn",
1254
+ "type": "uint256"
1255
+ },
1256
+ {
1257
+ "internalType": "uint256[]",
1258
+ "name": "withdrawalFinalizationBatches",
1259
+ "type": "uint256[]"
1260
+ },
1261
+ {
1262
+ "internalType": "uint256",
1263
+ "name": "simulatedShareRate",
1264
+ "type": "uint256"
1265
+ },
1266
+ {
1267
+ "internalType": "bool",
1268
+ "name": "isBunkerMode",
1269
+ "type": "bool"
1270
+ },
1271
+ {
1272
+ "internalType": "uint256",
1273
+ "name": "extraDataFormat",
1274
+ "type": "uint256"
1275
+ },
1276
+ {
1277
+ "internalType": "bytes32",
1278
+ "name": "extraDataHash",
1279
+ "type": "bytes32"
1280
+ },
1281
+ {
1282
+ "internalType": "uint256",
1283
+ "name": "extraDataItemsCount",
1284
+ "type": "uint256"
1285
+ }
1286
+ ],
1287
+ "internalType": "struct AccountingOracle.ReportData",
1288
+ "name": "data",
1289
+ "type": "tuple"
1290
+ },
1291
+ {
1292
+ "internalType": "uint256",
1293
+ "name": "contractVersion",
1294
+ "type": "uint256"
1295
+ }
1296
+ ],
1297
+ "name": "submitReportData",
1298
+ "outputs": [],
1299
+ "stateMutability": "nonpayable",
1300
+ "type": "function"
1301
+ },
1302
+ {
1303
+ "inputs": [],
1304
+ "name": "submitReportExtraDataEmpty",
1305
+ "outputs": [],
1306
+ "stateMutability": "nonpayable",
1307
+ "type": "function"
1308
+ },
1309
+ {
1310
+ "inputs": [
1311
+ {
1312
+ "internalType": "bytes",
1313
+ "name": "items",
1314
+ "type": "bytes"
1315
+ }
1316
+ ],
1317
+ "name": "submitReportExtraDataList",
1318
+ "outputs": [],
1319
+ "stateMutability": "nonpayable",
1320
+ "type": "function"
1321
+ },
1322
+ {
1323
+ "inputs": [
1324
+ {
1325
+ "internalType": "bytes4",
1326
+ "name": "interfaceId",
1327
+ "type": "bytes4"
1328
+ }
1329
+ ],
1330
+ "name": "supportsInterface",
1331
+ "outputs": [
1332
+ {
1333
+ "internalType": "bool",
1334
+ "name": "",
1335
+ "type": "bool"
1336
+ }
1337
+ ],
1338
+ "stateMutability": "view",
1339
+ "type": "function"
1340
+ }
1341
+ ]
1342
+ ''')