defi-state-querier 0.4.26__py3-none-any.whl → 0.4.28__py3-none-any.whl

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