defi-state-querier 0.4.26__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 (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.27.dist-info}/METADATA +1 -1
  63. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +66 -7
  64. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
  65. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
  66. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2311 @@
1
+ import json
2
+
3
+ LIDO_STAKING_ROUTER_ABI = json.loads('''
4
+ [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "_depositContract",
10
+ "type": "address"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable",
14
+ "type": "constructor"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "AppAuthLidoFailed",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "uint256",
25
+ "name": "firstArrayLength",
26
+ "type": "uint256"
27
+ },
28
+ {
29
+ "internalType": "uint256",
30
+ "name": "secondArrayLength",
31
+ "type": "uint256"
32
+ }
33
+ ],
34
+ "name": "ArraysLengthMismatch",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "DepositContractZeroAddress",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "DirectETHTransfer",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "EmptyWithdrawalsCredentials",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [],
54
+ "name": "ExitedValidatorsCountCannotDecrease",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "InvalidContractVersionIncrement",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "etherValue",
67
+ "type": "uint256"
68
+ },
69
+ {
70
+ "internalType": "uint256",
71
+ "name": "depositsCount",
72
+ "type": "uint256"
73
+ }
74
+ ],
75
+ "name": "InvalidDepositsValue",
76
+ "type": "error"
77
+ },
78
+ {
79
+ "inputs": [
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "actual",
83
+ "type": "uint256"
84
+ },
85
+ {
86
+ "internalType": "uint256",
87
+ "name": "expected",
88
+ "type": "uint256"
89
+ }
90
+ ],
91
+ "name": "InvalidPublicKeysBatchLength",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "uint256",
98
+ "name": "code",
99
+ "type": "uint256"
100
+ }
101
+ ],
102
+ "name": "InvalidReportData",
103
+ "type": "error"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "uint256",
109
+ "name": "actual",
110
+ "type": "uint256"
111
+ },
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "expected",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "InvalidSignaturesBatchLength",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "NonZeroContractVersionOnInit",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "reportedExitedValidatorsCount",
131
+ "type": "uint256"
132
+ },
133
+ {
134
+ "internalType": "uint256",
135
+ "name": "depositedValidatorsCount",
136
+ "type": "uint256"
137
+ }
138
+ ],
139
+ "name": "ReportedExitedValidatorsExceedDeposited",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "inputs": [],
144
+ "name": "StakingModuleAddressExists",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [],
149
+ "name": "StakingModuleNotActive",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "StakingModuleNotPaused",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "StakingModuleStatusTheSame",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "StakingModuleUnregistered",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "StakingModuleWrongName",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [],
174
+ "name": "StakingModulesLimitExceeded",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "expected",
182
+ "type": "uint256"
183
+ },
184
+ {
185
+ "internalType": "uint256",
186
+ "name": "received",
187
+ "type": "uint256"
188
+ }
189
+ ],
190
+ "name": "UnexpectedContractVersion",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "currentModuleExitedValidatorsCount",
198
+ "type": "uint256"
199
+ },
200
+ {
201
+ "internalType": "uint256",
202
+ "name": "currentNodeOpExitedValidatorsCount",
203
+ "type": "uint256"
204
+ },
205
+ {
206
+ "internalType": "uint256",
207
+ "name": "currentNodeOpStuckValidatorsCount",
208
+ "type": "uint256"
209
+ }
210
+ ],
211
+ "name": "UnexpectedCurrentValidatorsCount",
212
+ "type": "error"
213
+ },
214
+ {
215
+ "inputs": [],
216
+ "name": "UnrecoverableModuleError",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [
221
+ {
222
+ "internalType": "string",
223
+ "name": "field",
224
+ "type": "string"
225
+ }
226
+ ],
227
+ "name": "ValueOver100Percent",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [
232
+ {
233
+ "internalType": "string",
234
+ "name": "field",
235
+ "type": "string"
236
+ }
237
+ ],
238
+ "name": "ZeroAddress",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "anonymous": false,
243
+ "inputs": [
244
+ {
245
+ "indexed": false,
246
+ "internalType": "uint256",
247
+ "name": "version",
248
+ "type": "uint256"
249
+ }
250
+ ],
251
+ "name": "ContractVersionSet",
252
+ "type": "event"
253
+ },
254
+ {
255
+ "anonymous": false,
256
+ "inputs": [
257
+ {
258
+ "indexed": true,
259
+ "internalType": "uint256",
260
+ "name": "stakingModuleId",
261
+ "type": "uint256"
262
+ },
263
+ {
264
+ "indexed": false,
265
+ "internalType": "bytes",
266
+ "name": "lowLevelRevertData",
267
+ "type": "bytes"
268
+ }
269
+ ],
270
+ "name": "ExitedAndStuckValidatorsCountsUpdateFailed",
271
+ "type": "event"
272
+ },
273
+ {
274
+ "anonymous": false,
275
+ "inputs": [
276
+ {
277
+ "indexed": true,
278
+ "internalType": "uint256",
279
+ "name": "stakingModuleId",
280
+ "type": "uint256"
281
+ },
282
+ {
283
+ "indexed": false,
284
+ "internalType": "bytes",
285
+ "name": "lowLevelRevertData",
286
+ "type": "bytes"
287
+ }
288
+ ],
289
+ "name": "RewardsMintedReportFailed",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": true,
297
+ "internalType": "bytes32",
298
+ "name": "role",
299
+ "type": "bytes32"
300
+ },
301
+ {
302
+ "indexed": true,
303
+ "internalType": "bytes32",
304
+ "name": "previousAdminRole",
305
+ "type": "bytes32"
306
+ },
307
+ {
308
+ "indexed": true,
309
+ "internalType": "bytes32",
310
+ "name": "newAdminRole",
311
+ "type": "bytes32"
312
+ }
313
+ ],
314
+ "name": "RoleAdminChanged",
315
+ "type": "event"
316
+ },
317
+ {
318
+ "anonymous": false,
319
+ "inputs": [
320
+ {
321
+ "indexed": true,
322
+ "internalType": "bytes32",
323
+ "name": "role",
324
+ "type": "bytes32"
325
+ },
326
+ {
327
+ "indexed": true,
328
+ "internalType": "address",
329
+ "name": "account",
330
+ "type": "address"
331
+ },
332
+ {
333
+ "indexed": true,
334
+ "internalType": "address",
335
+ "name": "sender",
336
+ "type": "address"
337
+ }
338
+ ],
339
+ "name": "RoleGranted",
340
+ "type": "event"
341
+ },
342
+ {
343
+ "anonymous": false,
344
+ "inputs": [
345
+ {
346
+ "indexed": true,
347
+ "internalType": "bytes32",
348
+ "name": "role",
349
+ "type": "bytes32"
350
+ },
351
+ {
352
+ "indexed": true,
353
+ "internalType": "address",
354
+ "name": "account",
355
+ "type": "address"
356
+ },
357
+ {
358
+ "indexed": true,
359
+ "internalType": "address",
360
+ "name": "sender",
361
+ "type": "address"
362
+ }
363
+ ],
364
+ "name": "RoleRevoked",
365
+ "type": "event"
366
+ },
367
+ {
368
+ "anonymous": false,
369
+ "inputs": [
370
+ {
371
+ "indexed": true,
372
+ "internalType": "uint256",
373
+ "name": "stakingModuleId",
374
+ "type": "uint256"
375
+ },
376
+ {
377
+ "indexed": false,
378
+ "internalType": "address",
379
+ "name": "stakingModule",
380
+ "type": "address"
381
+ },
382
+ {
383
+ "indexed": false,
384
+ "internalType": "string",
385
+ "name": "name",
386
+ "type": "string"
387
+ },
388
+ {
389
+ "indexed": false,
390
+ "internalType": "address",
391
+ "name": "createdBy",
392
+ "type": "address"
393
+ }
394
+ ],
395
+ "name": "StakingModuleAdded",
396
+ "type": "event"
397
+ },
398
+ {
399
+ "anonymous": false,
400
+ "inputs": [
401
+ {
402
+ "indexed": true,
403
+ "internalType": "uint256",
404
+ "name": "stakingModuleId",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "indexed": false,
409
+ "internalType": "uint256",
410
+ "name": "unreportedExitedValidatorsCount",
411
+ "type": "uint256"
412
+ }
413
+ ],
414
+ "name": "StakingModuleExitedValidatorsIncompleteReporting",
415
+ "type": "event"
416
+ },
417
+ {
418
+ "anonymous": false,
419
+ "inputs": [
420
+ {
421
+ "indexed": true,
422
+ "internalType": "uint256",
423
+ "name": "stakingModuleId",
424
+ "type": "uint256"
425
+ },
426
+ {
427
+ "indexed": false,
428
+ "internalType": "uint256",
429
+ "name": "stakingModuleFee",
430
+ "type": "uint256"
431
+ },
432
+ {
433
+ "indexed": false,
434
+ "internalType": "uint256",
435
+ "name": "treasuryFee",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "indexed": false,
440
+ "internalType": "address",
441
+ "name": "setBy",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "name": "StakingModuleFeesSet",
446
+ "type": "event"
447
+ },
448
+ {
449
+ "anonymous": false,
450
+ "inputs": [
451
+ {
452
+ "indexed": true,
453
+ "internalType": "uint256",
454
+ "name": "stakingModuleId",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "enum StakingRouter.StakingModuleStatus",
460
+ "name": "status",
461
+ "type": "uint8"
462
+ },
463
+ {
464
+ "indexed": false,
465
+ "internalType": "address",
466
+ "name": "setBy",
467
+ "type": "address"
468
+ }
469
+ ],
470
+ "name": "StakingModuleStatusSet",
471
+ "type": "event"
472
+ },
473
+ {
474
+ "anonymous": false,
475
+ "inputs": [
476
+ {
477
+ "indexed": true,
478
+ "internalType": "uint256",
479
+ "name": "stakingModuleId",
480
+ "type": "uint256"
481
+ },
482
+ {
483
+ "indexed": false,
484
+ "internalType": "uint256",
485
+ "name": "targetShare",
486
+ "type": "uint256"
487
+ },
488
+ {
489
+ "indexed": false,
490
+ "internalType": "address",
491
+ "name": "setBy",
492
+ "type": "address"
493
+ }
494
+ ],
495
+ "name": "StakingModuleTargetShareSet",
496
+ "type": "event"
497
+ },
498
+ {
499
+ "anonymous": false,
500
+ "inputs": [
501
+ {
502
+ "indexed": true,
503
+ "internalType": "uint256",
504
+ "name": "stakingModuleId",
505
+ "type": "uint256"
506
+ },
507
+ {
508
+ "indexed": false,
509
+ "internalType": "uint256",
510
+ "name": "amount",
511
+ "type": "uint256"
512
+ }
513
+ ],
514
+ "name": "StakingRouterETHDeposited",
515
+ "type": "event"
516
+ },
517
+ {
518
+ "anonymous": false,
519
+ "inputs": [
520
+ {
521
+ "indexed": false,
522
+ "internalType": "bytes32",
523
+ "name": "withdrawalCredentials",
524
+ "type": "bytes32"
525
+ },
526
+ {
527
+ "indexed": false,
528
+ "internalType": "address",
529
+ "name": "setBy",
530
+ "type": "address"
531
+ }
532
+ ],
533
+ "name": "WithdrawalCredentialsSet",
534
+ "type": "event"
535
+ },
536
+ {
537
+ "anonymous": false,
538
+ "inputs": [
539
+ {
540
+ "indexed": true,
541
+ "internalType": "uint256",
542
+ "name": "stakingModuleId",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "indexed": false,
547
+ "internalType": "bytes",
548
+ "name": "lowLevelRevertData",
549
+ "type": "bytes"
550
+ }
551
+ ],
552
+ "name": "WithdrawalsCredentialsChangeFailed",
553
+ "type": "event"
554
+ },
555
+ {
556
+ "inputs": [],
557
+ "name": "DEFAULT_ADMIN_ROLE",
558
+ "outputs": [
559
+ {
560
+ "internalType": "bytes32",
561
+ "name": "",
562
+ "type": "bytes32"
563
+ }
564
+ ],
565
+ "stateMutability": "view",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [],
570
+ "name": "DEPOSIT_CONTRACT",
571
+ "outputs": [
572
+ {
573
+ "internalType": "contract IDepositContract",
574
+ "name": "",
575
+ "type": "address"
576
+ }
577
+ ],
578
+ "stateMutability": "view",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [],
583
+ "name": "FEE_PRECISION_POINTS",
584
+ "outputs": [
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "",
588
+ "type": "uint256"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [],
596
+ "name": "MANAGE_WITHDRAWAL_CREDENTIALS_ROLE",
597
+ "outputs": [
598
+ {
599
+ "internalType": "bytes32",
600
+ "name": "",
601
+ "type": "bytes32"
602
+ }
603
+ ],
604
+ "stateMutability": "view",
605
+ "type": "function"
606
+ },
607
+ {
608
+ "inputs": [],
609
+ "name": "MAX_STAKING_MODULES_COUNT",
610
+ "outputs": [
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "",
614
+ "type": "uint256"
615
+ }
616
+ ],
617
+ "stateMutability": "view",
618
+ "type": "function"
619
+ },
620
+ {
621
+ "inputs": [],
622
+ "name": "MAX_STAKING_MODULE_NAME_LENGTH",
623
+ "outputs": [
624
+ {
625
+ "internalType": "uint256",
626
+ "name": "",
627
+ "type": "uint256"
628
+ }
629
+ ],
630
+ "stateMutability": "view",
631
+ "type": "function"
632
+ },
633
+ {
634
+ "inputs": [],
635
+ "name": "REPORT_EXITED_VALIDATORS_ROLE",
636
+ "outputs": [
637
+ {
638
+ "internalType": "bytes32",
639
+ "name": "",
640
+ "type": "bytes32"
641
+ }
642
+ ],
643
+ "stateMutability": "view",
644
+ "type": "function"
645
+ },
646
+ {
647
+ "inputs": [],
648
+ "name": "REPORT_REWARDS_MINTED_ROLE",
649
+ "outputs": [
650
+ {
651
+ "internalType": "bytes32",
652
+ "name": "",
653
+ "type": "bytes32"
654
+ }
655
+ ],
656
+ "stateMutability": "view",
657
+ "type": "function"
658
+ },
659
+ {
660
+ "inputs": [],
661
+ "name": "STAKING_MODULE_MANAGE_ROLE",
662
+ "outputs": [
663
+ {
664
+ "internalType": "bytes32",
665
+ "name": "",
666
+ "type": "bytes32"
667
+ }
668
+ ],
669
+ "stateMutability": "view",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "inputs": [],
674
+ "name": "STAKING_MODULE_PAUSE_ROLE",
675
+ "outputs": [
676
+ {
677
+ "internalType": "bytes32",
678
+ "name": "",
679
+ "type": "bytes32"
680
+ }
681
+ ],
682
+ "stateMutability": "view",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [],
687
+ "name": "STAKING_MODULE_RESUME_ROLE",
688
+ "outputs": [
689
+ {
690
+ "internalType": "bytes32",
691
+ "name": "",
692
+ "type": "bytes32"
693
+ }
694
+ ],
695
+ "stateMutability": "view",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [],
700
+ "name": "TOTAL_BASIS_POINTS",
701
+ "outputs": [
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "",
705
+ "type": "uint256"
706
+ }
707
+ ],
708
+ "stateMutability": "view",
709
+ "type": "function"
710
+ },
711
+ {
712
+ "inputs": [],
713
+ "name": "UNSAFE_SET_EXITED_VALIDATORS_ROLE",
714
+ "outputs": [
715
+ {
716
+ "internalType": "bytes32",
717
+ "name": "",
718
+ "type": "bytes32"
719
+ }
720
+ ],
721
+ "stateMutability": "view",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [
726
+ {
727
+ "internalType": "string",
728
+ "name": "_name",
729
+ "type": "string"
730
+ },
731
+ {
732
+ "internalType": "address",
733
+ "name": "_stakingModuleAddress",
734
+ "type": "address"
735
+ },
736
+ {
737
+ "internalType": "uint256",
738
+ "name": "_targetShare",
739
+ "type": "uint256"
740
+ },
741
+ {
742
+ "internalType": "uint256",
743
+ "name": "_stakingModuleFee",
744
+ "type": "uint256"
745
+ },
746
+ {
747
+ "internalType": "uint256",
748
+ "name": "_treasuryFee",
749
+ "type": "uint256"
750
+ }
751
+ ],
752
+ "name": "addStakingModule",
753
+ "outputs": [],
754
+ "stateMutability": "nonpayable",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [
759
+ {
760
+ "internalType": "uint256",
761
+ "name": "_depositsCount",
762
+ "type": "uint256"
763
+ },
764
+ {
765
+ "internalType": "uint256",
766
+ "name": "_stakingModuleId",
767
+ "type": "uint256"
768
+ },
769
+ {
770
+ "internalType": "bytes",
771
+ "name": "_depositCalldata",
772
+ "type": "bytes"
773
+ }
774
+ ],
775
+ "name": "deposit",
776
+ "outputs": [],
777
+ "stateMutability": "payable",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [
782
+ {
783
+ "internalType": "uint256",
784
+ "name": "_stakingModuleId",
785
+ "type": "uint256"
786
+ }
787
+ ],
788
+ "name": "getAllNodeOperatorDigests",
789
+ "outputs": [
790
+ {
791
+ "components": [
792
+ {
793
+ "internalType": "uint256",
794
+ "name": "id",
795
+ "type": "uint256"
796
+ },
797
+ {
798
+ "internalType": "bool",
799
+ "name": "isActive",
800
+ "type": "bool"
801
+ },
802
+ {
803
+ "components": [
804
+ {
805
+ "internalType": "bool",
806
+ "name": "isTargetLimitActive",
807
+ "type": "bool"
808
+ },
809
+ {
810
+ "internalType": "uint256",
811
+ "name": "targetValidatorsCount",
812
+ "type": "uint256"
813
+ },
814
+ {
815
+ "internalType": "uint256",
816
+ "name": "stuckValidatorsCount",
817
+ "type": "uint256"
818
+ },
819
+ {
820
+ "internalType": "uint256",
821
+ "name": "refundedValidatorsCount",
822
+ "type": "uint256"
823
+ },
824
+ {
825
+ "internalType": "uint256",
826
+ "name": "stuckPenaltyEndTimestamp",
827
+ "type": "uint256"
828
+ },
829
+ {
830
+ "internalType": "uint256",
831
+ "name": "totalExitedValidators",
832
+ "type": "uint256"
833
+ },
834
+ {
835
+ "internalType": "uint256",
836
+ "name": "totalDepositedValidators",
837
+ "type": "uint256"
838
+ },
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "depositableValidatorsCount",
842
+ "type": "uint256"
843
+ }
844
+ ],
845
+ "internalType": "struct StakingRouter.NodeOperatorSummary",
846
+ "name": "summary",
847
+ "type": "tuple"
848
+ }
849
+ ],
850
+ "internalType": "struct StakingRouter.NodeOperatorDigest[]",
851
+ "name": "",
852
+ "type": "tuple[]"
853
+ }
854
+ ],
855
+ "stateMutability": "view",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [],
860
+ "name": "getAllStakingModuleDigests",
861
+ "outputs": [
862
+ {
863
+ "components": [
864
+ {
865
+ "internalType": "uint256",
866
+ "name": "nodeOperatorsCount",
867
+ "type": "uint256"
868
+ },
869
+ {
870
+ "internalType": "uint256",
871
+ "name": "activeNodeOperatorsCount",
872
+ "type": "uint256"
873
+ },
874
+ {
875
+ "components": [
876
+ {
877
+ "internalType": "uint24",
878
+ "name": "id",
879
+ "type": "uint24"
880
+ },
881
+ {
882
+ "internalType": "address",
883
+ "name": "stakingModuleAddress",
884
+ "type": "address"
885
+ },
886
+ {
887
+ "internalType": "uint16",
888
+ "name": "stakingModuleFee",
889
+ "type": "uint16"
890
+ },
891
+ {
892
+ "internalType": "uint16",
893
+ "name": "treasuryFee",
894
+ "type": "uint16"
895
+ },
896
+ {
897
+ "internalType": "uint16",
898
+ "name": "targetShare",
899
+ "type": "uint16"
900
+ },
901
+ {
902
+ "internalType": "uint8",
903
+ "name": "status",
904
+ "type": "uint8"
905
+ },
906
+ {
907
+ "internalType": "string",
908
+ "name": "name",
909
+ "type": "string"
910
+ },
911
+ {
912
+ "internalType": "uint64",
913
+ "name": "lastDepositAt",
914
+ "type": "uint64"
915
+ },
916
+ {
917
+ "internalType": "uint256",
918
+ "name": "lastDepositBlock",
919
+ "type": "uint256"
920
+ },
921
+ {
922
+ "internalType": "uint256",
923
+ "name": "exitedValidatorsCount",
924
+ "type": "uint256"
925
+ }
926
+ ],
927
+ "internalType": "struct StakingRouter.StakingModule",
928
+ "name": "state",
929
+ "type": "tuple"
930
+ },
931
+ {
932
+ "components": [
933
+ {
934
+ "internalType": "uint256",
935
+ "name": "totalExitedValidators",
936
+ "type": "uint256"
937
+ },
938
+ {
939
+ "internalType": "uint256",
940
+ "name": "totalDepositedValidators",
941
+ "type": "uint256"
942
+ },
943
+ {
944
+ "internalType": "uint256",
945
+ "name": "depositableValidatorsCount",
946
+ "type": "uint256"
947
+ }
948
+ ],
949
+ "internalType": "struct StakingRouter.StakingModuleSummary",
950
+ "name": "summary",
951
+ "type": "tuple"
952
+ }
953
+ ],
954
+ "internalType": "struct StakingRouter.StakingModuleDigest[]",
955
+ "name": "",
956
+ "type": "tuple[]"
957
+ }
958
+ ],
959
+ "stateMutability": "view",
960
+ "type": "function"
961
+ },
962
+ {
963
+ "inputs": [],
964
+ "name": "getContractVersion",
965
+ "outputs": [
966
+ {
967
+ "internalType": "uint256",
968
+ "name": "",
969
+ "type": "uint256"
970
+ }
971
+ ],
972
+ "stateMutability": "view",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [
977
+ {
978
+ "internalType": "uint256",
979
+ "name": "_depositsCount",
980
+ "type": "uint256"
981
+ }
982
+ ],
983
+ "name": "getDepositsAllocation",
984
+ "outputs": [
985
+ {
986
+ "internalType": "uint256",
987
+ "name": "allocated",
988
+ "type": "uint256"
989
+ },
990
+ {
991
+ "internalType": "uint256[]",
992
+ "name": "allocations",
993
+ "type": "uint256[]"
994
+ }
995
+ ],
996
+ "stateMutability": "view",
997
+ "type": "function"
998
+ },
999
+ {
1000
+ "inputs": [],
1001
+ "name": "getLido",
1002
+ "outputs": [
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "",
1006
+ "type": "address"
1007
+ }
1008
+ ],
1009
+ "stateMutability": "view",
1010
+ "type": "function"
1011
+ },
1012
+ {
1013
+ "inputs": [
1014
+ {
1015
+ "internalType": "uint256",
1016
+ "name": "_stakingModuleId",
1017
+ "type": "uint256"
1018
+ },
1019
+ {
1020
+ "internalType": "uint256[]",
1021
+ "name": "_nodeOperatorIds",
1022
+ "type": "uint256[]"
1023
+ }
1024
+ ],
1025
+ "name": "getNodeOperatorDigests",
1026
+ "outputs": [
1027
+ {
1028
+ "components": [
1029
+ {
1030
+ "internalType": "uint256",
1031
+ "name": "id",
1032
+ "type": "uint256"
1033
+ },
1034
+ {
1035
+ "internalType": "bool",
1036
+ "name": "isActive",
1037
+ "type": "bool"
1038
+ },
1039
+ {
1040
+ "components": [
1041
+ {
1042
+ "internalType": "bool",
1043
+ "name": "isTargetLimitActive",
1044
+ "type": "bool"
1045
+ },
1046
+ {
1047
+ "internalType": "uint256",
1048
+ "name": "targetValidatorsCount",
1049
+ "type": "uint256"
1050
+ },
1051
+ {
1052
+ "internalType": "uint256",
1053
+ "name": "stuckValidatorsCount",
1054
+ "type": "uint256"
1055
+ },
1056
+ {
1057
+ "internalType": "uint256",
1058
+ "name": "refundedValidatorsCount",
1059
+ "type": "uint256"
1060
+ },
1061
+ {
1062
+ "internalType": "uint256",
1063
+ "name": "stuckPenaltyEndTimestamp",
1064
+ "type": "uint256"
1065
+ },
1066
+ {
1067
+ "internalType": "uint256",
1068
+ "name": "totalExitedValidators",
1069
+ "type": "uint256"
1070
+ },
1071
+ {
1072
+ "internalType": "uint256",
1073
+ "name": "totalDepositedValidators",
1074
+ "type": "uint256"
1075
+ },
1076
+ {
1077
+ "internalType": "uint256",
1078
+ "name": "depositableValidatorsCount",
1079
+ "type": "uint256"
1080
+ }
1081
+ ],
1082
+ "internalType": "struct StakingRouter.NodeOperatorSummary",
1083
+ "name": "summary",
1084
+ "type": "tuple"
1085
+ }
1086
+ ],
1087
+ "internalType": "struct StakingRouter.NodeOperatorDigest[]",
1088
+ "name": "digests",
1089
+ "type": "tuple[]"
1090
+ }
1091
+ ],
1092
+ "stateMutability": "view",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "internalType": "uint256",
1099
+ "name": "_stakingModuleId",
1100
+ "type": "uint256"
1101
+ },
1102
+ {
1103
+ "internalType": "uint256",
1104
+ "name": "_offset",
1105
+ "type": "uint256"
1106
+ },
1107
+ {
1108
+ "internalType": "uint256",
1109
+ "name": "_limit",
1110
+ "type": "uint256"
1111
+ }
1112
+ ],
1113
+ "name": "getNodeOperatorDigests",
1114
+ "outputs": [
1115
+ {
1116
+ "components": [
1117
+ {
1118
+ "internalType": "uint256",
1119
+ "name": "id",
1120
+ "type": "uint256"
1121
+ },
1122
+ {
1123
+ "internalType": "bool",
1124
+ "name": "isActive",
1125
+ "type": "bool"
1126
+ },
1127
+ {
1128
+ "components": [
1129
+ {
1130
+ "internalType": "bool",
1131
+ "name": "isTargetLimitActive",
1132
+ "type": "bool"
1133
+ },
1134
+ {
1135
+ "internalType": "uint256",
1136
+ "name": "targetValidatorsCount",
1137
+ "type": "uint256"
1138
+ },
1139
+ {
1140
+ "internalType": "uint256",
1141
+ "name": "stuckValidatorsCount",
1142
+ "type": "uint256"
1143
+ },
1144
+ {
1145
+ "internalType": "uint256",
1146
+ "name": "refundedValidatorsCount",
1147
+ "type": "uint256"
1148
+ },
1149
+ {
1150
+ "internalType": "uint256",
1151
+ "name": "stuckPenaltyEndTimestamp",
1152
+ "type": "uint256"
1153
+ },
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "totalExitedValidators",
1157
+ "type": "uint256"
1158
+ },
1159
+ {
1160
+ "internalType": "uint256",
1161
+ "name": "totalDepositedValidators",
1162
+ "type": "uint256"
1163
+ },
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "depositableValidatorsCount",
1167
+ "type": "uint256"
1168
+ }
1169
+ ],
1170
+ "internalType": "struct StakingRouter.NodeOperatorSummary",
1171
+ "name": "summary",
1172
+ "type": "tuple"
1173
+ }
1174
+ ],
1175
+ "internalType": "struct StakingRouter.NodeOperatorDigest[]",
1176
+ "name": "",
1177
+ "type": "tuple[]"
1178
+ }
1179
+ ],
1180
+ "stateMutability": "view",
1181
+ "type": "function"
1182
+ },
1183
+ {
1184
+ "inputs": [
1185
+ {
1186
+ "internalType": "uint256",
1187
+ "name": "_stakingModuleId",
1188
+ "type": "uint256"
1189
+ },
1190
+ {
1191
+ "internalType": "uint256",
1192
+ "name": "_nodeOperatorId",
1193
+ "type": "uint256"
1194
+ }
1195
+ ],
1196
+ "name": "getNodeOperatorSummary",
1197
+ "outputs": [
1198
+ {
1199
+ "components": [
1200
+ {
1201
+ "internalType": "bool",
1202
+ "name": "isTargetLimitActive",
1203
+ "type": "bool"
1204
+ },
1205
+ {
1206
+ "internalType": "uint256",
1207
+ "name": "targetValidatorsCount",
1208
+ "type": "uint256"
1209
+ },
1210
+ {
1211
+ "internalType": "uint256",
1212
+ "name": "stuckValidatorsCount",
1213
+ "type": "uint256"
1214
+ },
1215
+ {
1216
+ "internalType": "uint256",
1217
+ "name": "refundedValidatorsCount",
1218
+ "type": "uint256"
1219
+ },
1220
+ {
1221
+ "internalType": "uint256",
1222
+ "name": "stuckPenaltyEndTimestamp",
1223
+ "type": "uint256"
1224
+ },
1225
+ {
1226
+ "internalType": "uint256",
1227
+ "name": "totalExitedValidators",
1228
+ "type": "uint256"
1229
+ },
1230
+ {
1231
+ "internalType": "uint256",
1232
+ "name": "totalDepositedValidators",
1233
+ "type": "uint256"
1234
+ },
1235
+ {
1236
+ "internalType": "uint256",
1237
+ "name": "depositableValidatorsCount",
1238
+ "type": "uint256"
1239
+ }
1240
+ ],
1241
+ "internalType": "struct StakingRouter.NodeOperatorSummary",
1242
+ "name": "summary",
1243
+ "type": "tuple"
1244
+ }
1245
+ ],
1246
+ "stateMutability": "view",
1247
+ "type": "function"
1248
+ },
1249
+ {
1250
+ "inputs": [
1251
+ {
1252
+ "internalType": "bytes32",
1253
+ "name": "role",
1254
+ "type": "bytes32"
1255
+ }
1256
+ ],
1257
+ "name": "getRoleAdmin",
1258
+ "outputs": [
1259
+ {
1260
+ "internalType": "bytes32",
1261
+ "name": "",
1262
+ "type": "bytes32"
1263
+ }
1264
+ ],
1265
+ "stateMutability": "view",
1266
+ "type": "function"
1267
+ },
1268
+ {
1269
+ "inputs": [
1270
+ {
1271
+ "internalType": "bytes32",
1272
+ "name": "role",
1273
+ "type": "bytes32"
1274
+ },
1275
+ {
1276
+ "internalType": "uint256",
1277
+ "name": "index",
1278
+ "type": "uint256"
1279
+ }
1280
+ ],
1281
+ "name": "getRoleMember",
1282
+ "outputs": [
1283
+ {
1284
+ "internalType": "address",
1285
+ "name": "",
1286
+ "type": "address"
1287
+ }
1288
+ ],
1289
+ "stateMutability": "view",
1290
+ "type": "function"
1291
+ },
1292
+ {
1293
+ "inputs": [
1294
+ {
1295
+ "internalType": "bytes32",
1296
+ "name": "role",
1297
+ "type": "bytes32"
1298
+ }
1299
+ ],
1300
+ "name": "getRoleMemberCount",
1301
+ "outputs": [
1302
+ {
1303
+ "internalType": "uint256",
1304
+ "name": "",
1305
+ "type": "uint256"
1306
+ }
1307
+ ],
1308
+ "stateMutability": "view",
1309
+ "type": "function"
1310
+ },
1311
+ {
1312
+ "inputs": [],
1313
+ "name": "getStakingFeeAggregateDistribution",
1314
+ "outputs": [
1315
+ {
1316
+ "internalType": "uint96",
1317
+ "name": "modulesFee",
1318
+ "type": "uint96"
1319
+ },
1320
+ {
1321
+ "internalType": "uint96",
1322
+ "name": "treasuryFee",
1323
+ "type": "uint96"
1324
+ },
1325
+ {
1326
+ "internalType": "uint256",
1327
+ "name": "basePrecision",
1328
+ "type": "uint256"
1329
+ }
1330
+ ],
1331
+ "stateMutability": "view",
1332
+ "type": "function"
1333
+ },
1334
+ {
1335
+ "inputs": [],
1336
+ "name": "getStakingFeeAggregateDistributionE4Precision",
1337
+ "outputs": [
1338
+ {
1339
+ "internalType": "uint16",
1340
+ "name": "modulesFee",
1341
+ "type": "uint16"
1342
+ },
1343
+ {
1344
+ "internalType": "uint16",
1345
+ "name": "treasuryFee",
1346
+ "type": "uint16"
1347
+ }
1348
+ ],
1349
+ "stateMutability": "view",
1350
+ "type": "function"
1351
+ },
1352
+ {
1353
+ "inputs": [
1354
+ {
1355
+ "internalType": "uint256",
1356
+ "name": "_stakingModuleId",
1357
+ "type": "uint256"
1358
+ }
1359
+ ],
1360
+ "name": "getStakingModule",
1361
+ "outputs": [
1362
+ {
1363
+ "components": [
1364
+ {
1365
+ "internalType": "uint24",
1366
+ "name": "id",
1367
+ "type": "uint24"
1368
+ },
1369
+ {
1370
+ "internalType": "address",
1371
+ "name": "stakingModuleAddress",
1372
+ "type": "address"
1373
+ },
1374
+ {
1375
+ "internalType": "uint16",
1376
+ "name": "stakingModuleFee",
1377
+ "type": "uint16"
1378
+ },
1379
+ {
1380
+ "internalType": "uint16",
1381
+ "name": "treasuryFee",
1382
+ "type": "uint16"
1383
+ },
1384
+ {
1385
+ "internalType": "uint16",
1386
+ "name": "targetShare",
1387
+ "type": "uint16"
1388
+ },
1389
+ {
1390
+ "internalType": "uint8",
1391
+ "name": "status",
1392
+ "type": "uint8"
1393
+ },
1394
+ {
1395
+ "internalType": "string",
1396
+ "name": "name",
1397
+ "type": "string"
1398
+ },
1399
+ {
1400
+ "internalType": "uint64",
1401
+ "name": "lastDepositAt",
1402
+ "type": "uint64"
1403
+ },
1404
+ {
1405
+ "internalType": "uint256",
1406
+ "name": "lastDepositBlock",
1407
+ "type": "uint256"
1408
+ },
1409
+ {
1410
+ "internalType": "uint256",
1411
+ "name": "exitedValidatorsCount",
1412
+ "type": "uint256"
1413
+ }
1414
+ ],
1415
+ "internalType": "struct StakingRouter.StakingModule",
1416
+ "name": "",
1417
+ "type": "tuple"
1418
+ }
1419
+ ],
1420
+ "stateMutability": "view",
1421
+ "type": "function"
1422
+ },
1423
+ {
1424
+ "inputs": [
1425
+ {
1426
+ "internalType": "uint256",
1427
+ "name": "_stakingModuleId",
1428
+ "type": "uint256"
1429
+ }
1430
+ ],
1431
+ "name": "getStakingModuleActiveValidatorsCount",
1432
+ "outputs": [
1433
+ {
1434
+ "internalType": "uint256",
1435
+ "name": "activeValidatorsCount",
1436
+ "type": "uint256"
1437
+ }
1438
+ ],
1439
+ "stateMutability": "view",
1440
+ "type": "function"
1441
+ },
1442
+ {
1443
+ "inputs": [
1444
+ {
1445
+ "internalType": "uint256[]",
1446
+ "name": "_stakingModuleIds",
1447
+ "type": "uint256[]"
1448
+ }
1449
+ ],
1450
+ "name": "getStakingModuleDigests",
1451
+ "outputs": [
1452
+ {
1453
+ "components": [
1454
+ {
1455
+ "internalType": "uint256",
1456
+ "name": "nodeOperatorsCount",
1457
+ "type": "uint256"
1458
+ },
1459
+ {
1460
+ "internalType": "uint256",
1461
+ "name": "activeNodeOperatorsCount",
1462
+ "type": "uint256"
1463
+ },
1464
+ {
1465
+ "components": [
1466
+ {
1467
+ "internalType": "uint24",
1468
+ "name": "id",
1469
+ "type": "uint24"
1470
+ },
1471
+ {
1472
+ "internalType": "address",
1473
+ "name": "stakingModuleAddress",
1474
+ "type": "address"
1475
+ },
1476
+ {
1477
+ "internalType": "uint16",
1478
+ "name": "stakingModuleFee",
1479
+ "type": "uint16"
1480
+ },
1481
+ {
1482
+ "internalType": "uint16",
1483
+ "name": "treasuryFee",
1484
+ "type": "uint16"
1485
+ },
1486
+ {
1487
+ "internalType": "uint16",
1488
+ "name": "targetShare",
1489
+ "type": "uint16"
1490
+ },
1491
+ {
1492
+ "internalType": "uint8",
1493
+ "name": "status",
1494
+ "type": "uint8"
1495
+ },
1496
+ {
1497
+ "internalType": "string",
1498
+ "name": "name",
1499
+ "type": "string"
1500
+ },
1501
+ {
1502
+ "internalType": "uint64",
1503
+ "name": "lastDepositAt",
1504
+ "type": "uint64"
1505
+ },
1506
+ {
1507
+ "internalType": "uint256",
1508
+ "name": "lastDepositBlock",
1509
+ "type": "uint256"
1510
+ },
1511
+ {
1512
+ "internalType": "uint256",
1513
+ "name": "exitedValidatorsCount",
1514
+ "type": "uint256"
1515
+ }
1516
+ ],
1517
+ "internalType": "struct StakingRouter.StakingModule",
1518
+ "name": "state",
1519
+ "type": "tuple"
1520
+ },
1521
+ {
1522
+ "components": [
1523
+ {
1524
+ "internalType": "uint256",
1525
+ "name": "totalExitedValidators",
1526
+ "type": "uint256"
1527
+ },
1528
+ {
1529
+ "internalType": "uint256",
1530
+ "name": "totalDepositedValidators",
1531
+ "type": "uint256"
1532
+ },
1533
+ {
1534
+ "internalType": "uint256",
1535
+ "name": "depositableValidatorsCount",
1536
+ "type": "uint256"
1537
+ }
1538
+ ],
1539
+ "internalType": "struct StakingRouter.StakingModuleSummary",
1540
+ "name": "summary",
1541
+ "type": "tuple"
1542
+ }
1543
+ ],
1544
+ "internalType": "struct StakingRouter.StakingModuleDigest[]",
1545
+ "name": "digests",
1546
+ "type": "tuple[]"
1547
+ }
1548
+ ],
1549
+ "stateMutability": "view",
1550
+ "type": "function"
1551
+ },
1552
+ {
1553
+ "inputs": [],
1554
+ "name": "getStakingModuleIds",
1555
+ "outputs": [
1556
+ {
1557
+ "internalType": "uint256[]",
1558
+ "name": "stakingModuleIds",
1559
+ "type": "uint256[]"
1560
+ }
1561
+ ],
1562
+ "stateMutability": "view",
1563
+ "type": "function"
1564
+ },
1565
+ {
1566
+ "inputs": [
1567
+ {
1568
+ "internalType": "uint256",
1569
+ "name": "_stakingModuleId",
1570
+ "type": "uint256"
1571
+ }
1572
+ ],
1573
+ "name": "getStakingModuleIsActive",
1574
+ "outputs": [
1575
+ {
1576
+ "internalType": "bool",
1577
+ "name": "",
1578
+ "type": "bool"
1579
+ }
1580
+ ],
1581
+ "stateMutability": "view",
1582
+ "type": "function"
1583
+ },
1584
+ {
1585
+ "inputs": [
1586
+ {
1587
+ "internalType": "uint256",
1588
+ "name": "_stakingModuleId",
1589
+ "type": "uint256"
1590
+ }
1591
+ ],
1592
+ "name": "getStakingModuleIsDepositsPaused",
1593
+ "outputs": [
1594
+ {
1595
+ "internalType": "bool",
1596
+ "name": "",
1597
+ "type": "bool"
1598
+ }
1599
+ ],
1600
+ "stateMutability": "view",
1601
+ "type": "function"
1602
+ },
1603
+ {
1604
+ "inputs": [
1605
+ {
1606
+ "internalType": "uint256",
1607
+ "name": "_stakingModuleId",
1608
+ "type": "uint256"
1609
+ }
1610
+ ],
1611
+ "name": "getStakingModuleIsStopped",
1612
+ "outputs": [
1613
+ {
1614
+ "internalType": "bool",
1615
+ "name": "",
1616
+ "type": "bool"
1617
+ }
1618
+ ],
1619
+ "stateMutability": "view",
1620
+ "type": "function"
1621
+ },
1622
+ {
1623
+ "inputs": [
1624
+ {
1625
+ "internalType": "uint256",
1626
+ "name": "_stakingModuleId",
1627
+ "type": "uint256"
1628
+ }
1629
+ ],
1630
+ "name": "getStakingModuleLastDepositBlock",
1631
+ "outputs": [
1632
+ {
1633
+ "internalType": "uint256",
1634
+ "name": "",
1635
+ "type": "uint256"
1636
+ }
1637
+ ],
1638
+ "stateMutability": "view",
1639
+ "type": "function"
1640
+ },
1641
+ {
1642
+ "inputs": [
1643
+ {
1644
+ "internalType": "uint256",
1645
+ "name": "_stakingModuleId",
1646
+ "type": "uint256"
1647
+ },
1648
+ {
1649
+ "internalType": "uint256",
1650
+ "name": "_maxDepositsValue",
1651
+ "type": "uint256"
1652
+ }
1653
+ ],
1654
+ "name": "getStakingModuleMaxDepositsCount",
1655
+ "outputs": [
1656
+ {
1657
+ "internalType": "uint256",
1658
+ "name": "",
1659
+ "type": "uint256"
1660
+ }
1661
+ ],
1662
+ "stateMutability": "view",
1663
+ "type": "function"
1664
+ },
1665
+ {
1666
+ "inputs": [
1667
+ {
1668
+ "internalType": "uint256",
1669
+ "name": "_stakingModuleId",
1670
+ "type": "uint256"
1671
+ }
1672
+ ],
1673
+ "name": "getStakingModuleNonce",
1674
+ "outputs": [
1675
+ {
1676
+ "internalType": "uint256",
1677
+ "name": "",
1678
+ "type": "uint256"
1679
+ }
1680
+ ],
1681
+ "stateMutability": "view",
1682
+ "type": "function"
1683
+ },
1684
+ {
1685
+ "inputs": [
1686
+ {
1687
+ "internalType": "uint256",
1688
+ "name": "_stakingModuleId",
1689
+ "type": "uint256"
1690
+ }
1691
+ ],
1692
+ "name": "getStakingModuleStatus",
1693
+ "outputs": [
1694
+ {
1695
+ "internalType": "enum StakingRouter.StakingModuleStatus",
1696
+ "name": "",
1697
+ "type": "uint8"
1698
+ }
1699
+ ],
1700
+ "stateMutability": "view",
1701
+ "type": "function"
1702
+ },
1703
+ {
1704
+ "inputs": [
1705
+ {
1706
+ "internalType": "uint256",
1707
+ "name": "_stakingModuleId",
1708
+ "type": "uint256"
1709
+ }
1710
+ ],
1711
+ "name": "getStakingModuleSummary",
1712
+ "outputs": [
1713
+ {
1714
+ "components": [
1715
+ {
1716
+ "internalType": "uint256",
1717
+ "name": "totalExitedValidators",
1718
+ "type": "uint256"
1719
+ },
1720
+ {
1721
+ "internalType": "uint256",
1722
+ "name": "totalDepositedValidators",
1723
+ "type": "uint256"
1724
+ },
1725
+ {
1726
+ "internalType": "uint256",
1727
+ "name": "depositableValidatorsCount",
1728
+ "type": "uint256"
1729
+ }
1730
+ ],
1731
+ "internalType": "struct StakingRouter.StakingModuleSummary",
1732
+ "name": "summary",
1733
+ "type": "tuple"
1734
+ }
1735
+ ],
1736
+ "stateMutability": "view",
1737
+ "type": "function"
1738
+ },
1739
+ {
1740
+ "inputs": [],
1741
+ "name": "getStakingModules",
1742
+ "outputs": [
1743
+ {
1744
+ "components": [
1745
+ {
1746
+ "internalType": "uint24",
1747
+ "name": "id",
1748
+ "type": "uint24"
1749
+ },
1750
+ {
1751
+ "internalType": "address",
1752
+ "name": "stakingModuleAddress",
1753
+ "type": "address"
1754
+ },
1755
+ {
1756
+ "internalType": "uint16",
1757
+ "name": "stakingModuleFee",
1758
+ "type": "uint16"
1759
+ },
1760
+ {
1761
+ "internalType": "uint16",
1762
+ "name": "treasuryFee",
1763
+ "type": "uint16"
1764
+ },
1765
+ {
1766
+ "internalType": "uint16",
1767
+ "name": "targetShare",
1768
+ "type": "uint16"
1769
+ },
1770
+ {
1771
+ "internalType": "uint8",
1772
+ "name": "status",
1773
+ "type": "uint8"
1774
+ },
1775
+ {
1776
+ "internalType": "string",
1777
+ "name": "name",
1778
+ "type": "string"
1779
+ },
1780
+ {
1781
+ "internalType": "uint64",
1782
+ "name": "lastDepositAt",
1783
+ "type": "uint64"
1784
+ },
1785
+ {
1786
+ "internalType": "uint256",
1787
+ "name": "lastDepositBlock",
1788
+ "type": "uint256"
1789
+ },
1790
+ {
1791
+ "internalType": "uint256",
1792
+ "name": "exitedValidatorsCount",
1793
+ "type": "uint256"
1794
+ }
1795
+ ],
1796
+ "internalType": "struct StakingRouter.StakingModule[]",
1797
+ "name": "res",
1798
+ "type": "tuple[]"
1799
+ }
1800
+ ],
1801
+ "stateMutability": "view",
1802
+ "type": "function"
1803
+ },
1804
+ {
1805
+ "inputs": [],
1806
+ "name": "getStakingModulesCount",
1807
+ "outputs": [
1808
+ {
1809
+ "internalType": "uint256",
1810
+ "name": "",
1811
+ "type": "uint256"
1812
+ }
1813
+ ],
1814
+ "stateMutability": "view",
1815
+ "type": "function"
1816
+ },
1817
+ {
1818
+ "inputs": [],
1819
+ "name": "getStakingRewardsDistribution",
1820
+ "outputs": [
1821
+ {
1822
+ "internalType": "address[]",
1823
+ "name": "recipients",
1824
+ "type": "address[]"
1825
+ },
1826
+ {
1827
+ "internalType": "uint256[]",
1828
+ "name": "stakingModuleIds",
1829
+ "type": "uint256[]"
1830
+ },
1831
+ {
1832
+ "internalType": "uint96[]",
1833
+ "name": "stakingModuleFees",
1834
+ "type": "uint96[]"
1835
+ },
1836
+ {
1837
+ "internalType": "uint96",
1838
+ "name": "totalFee",
1839
+ "type": "uint96"
1840
+ },
1841
+ {
1842
+ "internalType": "uint256",
1843
+ "name": "precisionPoints",
1844
+ "type": "uint256"
1845
+ }
1846
+ ],
1847
+ "stateMutability": "view",
1848
+ "type": "function"
1849
+ },
1850
+ {
1851
+ "inputs": [],
1852
+ "name": "getTotalFeeE4Precision",
1853
+ "outputs": [
1854
+ {
1855
+ "internalType": "uint16",
1856
+ "name": "totalFee",
1857
+ "type": "uint16"
1858
+ }
1859
+ ],
1860
+ "stateMutability": "view",
1861
+ "type": "function"
1862
+ },
1863
+ {
1864
+ "inputs": [],
1865
+ "name": "getWithdrawalCredentials",
1866
+ "outputs": [
1867
+ {
1868
+ "internalType": "bytes32",
1869
+ "name": "",
1870
+ "type": "bytes32"
1871
+ }
1872
+ ],
1873
+ "stateMutability": "view",
1874
+ "type": "function"
1875
+ },
1876
+ {
1877
+ "inputs": [
1878
+ {
1879
+ "internalType": "bytes32",
1880
+ "name": "role",
1881
+ "type": "bytes32"
1882
+ },
1883
+ {
1884
+ "internalType": "address",
1885
+ "name": "account",
1886
+ "type": "address"
1887
+ }
1888
+ ],
1889
+ "name": "grantRole",
1890
+ "outputs": [],
1891
+ "stateMutability": "nonpayable",
1892
+ "type": "function"
1893
+ },
1894
+ {
1895
+ "inputs": [
1896
+ {
1897
+ "internalType": "bytes32",
1898
+ "name": "role",
1899
+ "type": "bytes32"
1900
+ },
1901
+ {
1902
+ "internalType": "address",
1903
+ "name": "account",
1904
+ "type": "address"
1905
+ }
1906
+ ],
1907
+ "name": "hasRole",
1908
+ "outputs": [
1909
+ {
1910
+ "internalType": "bool",
1911
+ "name": "",
1912
+ "type": "bool"
1913
+ }
1914
+ ],
1915
+ "stateMutability": "view",
1916
+ "type": "function"
1917
+ },
1918
+ {
1919
+ "inputs": [
1920
+ {
1921
+ "internalType": "uint256",
1922
+ "name": "_stakingModuleId",
1923
+ "type": "uint256"
1924
+ }
1925
+ ],
1926
+ "name": "hasStakingModule",
1927
+ "outputs": [
1928
+ {
1929
+ "internalType": "bool",
1930
+ "name": "",
1931
+ "type": "bool"
1932
+ }
1933
+ ],
1934
+ "stateMutability": "view",
1935
+ "type": "function"
1936
+ },
1937
+ {
1938
+ "inputs": [
1939
+ {
1940
+ "internalType": "address",
1941
+ "name": "_admin",
1942
+ "type": "address"
1943
+ },
1944
+ {
1945
+ "internalType": "address",
1946
+ "name": "_lido",
1947
+ "type": "address"
1948
+ },
1949
+ {
1950
+ "internalType": "bytes32",
1951
+ "name": "_withdrawalCredentials",
1952
+ "type": "bytes32"
1953
+ }
1954
+ ],
1955
+ "name": "initialize",
1956
+ "outputs": [],
1957
+ "stateMutability": "nonpayable",
1958
+ "type": "function"
1959
+ },
1960
+ {
1961
+ "inputs": [],
1962
+ "name": "onValidatorsCountsByNodeOperatorReportingFinished",
1963
+ "outputs": [],
1964
+ "stateMutability": "nonpayable",
1965
+ "type": "function"
1966
+ },
1967
+ {
1968
+ "inputs": [
1969
+ {
1970
+ "internalType": "uint256",
1971
+ "name": "_stakingModuleId",
1972
+ "type": "uint256"
1973
+ }
1974
+ ],
1975
+ "name": "pauseStakingModule",
1976
+ "outputs": [],
1977
+ "stateMutability": "nonpayable",
1978
+ "type": "function"
1979
+ },
1980
+ {
1981
+ "inputs": [
1982
+ {
1983
+ "internalType": "bytes32",
1984
+ "name": "role",
1985
+ "type": "bytes32"
1986
+ },
1987
+ {
1988
+ "internalType": "address",
1989
+ "name": "account",
1990
+ "type": "address"
1991
+ }
1992
+ ],
1993
+ "name": "renounceRole",
1994
+ "outputs": [],
1995
+ "stateMutability": "nonpayable",
1996
+ "type": "function"
1997
+ },
1998
+ {
1999
+ "inputs": [
2000
+ {
2001
+ "internalType": "uint256[]",
2002
+ "name": "_stakingModuleIds",
2003
+ "type": "uint256[]"
2004
+ },
2005
+ {
2006
+ "internalType": "uint256[]",
2007
+ "name": "_totalShares",
2008
+ "type": "uint256[]"
2009
+ }
2010
+ ],
2011
+ "name": "reportRewardsMinted",
2012
+ "outputs": [],
2013
+ "stateMutability": "nonpayable",
2014
+ "type": "function"
2015
+ },
2016
+ {
2017
+ "inputs": [
2018
+ {
2019
+ "internalType": "uint256",
2020
+ "name": "_stakingModuleId",
2021
+ "type": "uint256"
2022
+ },
2023
+ {
2024
+ "internalType": "bytes",
2025
+ "name": "_nodeOperatorIds",
2026
+ "type": "bytes"
2027
+ },
2028
+ {
2029
+ "internalType": "bytes",
2030
+ "name": "_exitedValidatorsCounts",
2031
+ "type": "bytes"
2032
+ }
2033
+ ],
2034
+ "name": "reportStakingModuleExitedValidatorsCountByNodeOperator",
2035
+ "outputs": [],
2036
+ "stateMutability": "nonpayable",
2037
+ "type": "function"
2038
+ },
2039
+ {
2040
+ "inputs": [
2041
+ {
2042
+ "internalType": "uint256",
2043
+ "name": "_stakingModuleId",
2044
+ "type": "uint256"
2045
+ },
2046
+ {
2047
+ "internalType": "bytes",
2048
+ "name": "_nodeOperatorIds",
2049
+ "type": "bytes"
2050
+ },
2051
+ {
2052
+ "internalType": "bytes",
2053
+ "name": "_stuckValidatorsCounts",
2054
+ "type": "bytes"
2055
+ }
2056
+ ],
2057
+ "name": "reportStakingModuleStuckValidatorsCountByNodeOperator",
2058
+ "outputs": [],
2059
+ "stateMutability": "nonpayable",
2060
+ "type": "function"
2061
+ },
2062
+ {
2063
+ "inputs": [
2064
+ {
2065
+ "internalType": "uint256",
2066
+ "name": "_stakingModuleId",
2067
+ "type": "uint256"
2068
+ }
2069
+ ],
2070
+ "name": "resumeStakingModule",
2071
+ "outputs": [],
2072
+ "stateMutability": "nonpayable",
2073
+ "type": "function"
2074
+ },
2075
+ {
2076
+ "inputs": [
2077
+ {
2078
+ "internalType": "bytes32",
2079
+ "name": "role",
2080
+ "type": "bytes32"
2081
+ },
2082
+ {
2083
+ "internalType": "address",
2084
+ "name": "account",
2085
+ "type": "address"
2086
+ }
2087
+ ],
2088
+ "name": "revokeRole",
2089
+ "outputs": [],
2090
+ "stateMutability": "nonpayable",
2091
+ "type": "function"
2092
+ },
2093
+ {
2094
+ "inputs": [
2095
+ {
2096
+ "internalType": "uint256",
2097
+ "name": "_stakingModuleId",
2098
+ "type": "uint256"
2099
+ },
2100
+ {
2101
+ "internalType": "enum StakingRouter.StakingModuleStatus",
2102
+ "name": "_status",
2103
+ "type": "uint8"
2104
+ }
2105
+ ],
2106
+ "name": "setStakingModuleStatus",
2107
+ "outputs": [],
2108
+ "stateMutability": "nonpayable",
2109
+ "type": "function"
2110
+ },
2111
+ {
2112
+ "inputs": [
2113
+ {
2114
+ "internalType": "bytes32",
2115
+ "name": "_withdrawalCredentials",
2116
+ "type": "bytes32"
2117
+ }
2118
+ ],
2119
+ "name": "setWithdrawalCredentials",
2120
+ "outputs": [],
2121
+ "stateMutability": "nonpayable",
2122
+ "type": "function"
2123
+ },
2124
+ {
2125
+ "inputs": [
2126
+ {
2127
+ "internalType": "bytes4",
2128
+ "name": "interfaceId",
2129
+ "type": "bytes4"
2130
+ }
2131
+ ],
2132
+ "name": "supportsInterface",
2133
+ "outputs": [
2134
+ {
2135
+ "internalType": "bool",
2136
+ "name": "",
2137
+ "type": "bool"
2138
+ }
2139
+ ],
2140
+ "stateMutability": "view",
2141
+ "type": "function"
2142
+ },
2143
+ {
2144
+ "inputs": [
2145
+ {
2146
+ "internalType": "uint256",
2147
+ "name": "_stakingModuleId",
2148
+ "type": "uint256"
2149
+ },
2150
+ {
2151
+ "internalType": "uint256",
2152
+ "name": "_nodeOperatorId",
2153
+ "type": "uint256"
2154
+ },
2155
+ {
2156
+ "internalType": "bool",
2157
+ "name": "_triggerUpdateFinish",
2158
+ "type": "bool"
2159
+ },
2160
+ {
2161
+ "components": [
2162
+ {
2163
+ "internalType": "uint256",
2164
+ "name": "currentModuleExitedValidatorsCount",
2165
+ "type": "uint256"
2166
+ },
2167
+ {
2168
+ "internalType": "uint256",
2169
+ "name": "currentNodeOperatorExitedValidatorsCount",
2170
+ "type": "uint256"
2171
+ },
2172
+ {
2173
+ "internalType": "uint256",
2174
+ "name": "currentNodeOperatorStuckValidatorsCount",
2175
+ "type": "uint256"
2176
+ },
2177
+ {
2178
+ "internalType": "uint256",
2179
+ "name": "newModuleExitedValidatorsCount",
2180
+ "type": "uint256"
2181
+ },
2182
+ {
2183
+ "internalType": "uint256",
2184
+ "name": "newNodeOperatorExitedValidatorsCount",
2185
+ "type": "uint256"
2186
+ },
2187
+ {
2188
+ "internalType": "uint256",
2189
+ "name": "newNodeOperatorStuckValidatorsCount",
2190
+ "type": "uint256"
2191
+ }
2192
+ ],
2193
+ "internalType": "struct StakingRouter.ValidatorsCountsCorrection",
2194
+ "name": "_correction",
2195
+ "type": "tuple"
2196
+ }
2197
+ ],
2198
+ "name": "unsafeSetExitedValidatorsCount",
2199
+ "outputs": [],
2200
+ "stateMutability": "nonpayable",
2201
+ "type": "function"
2202
+ },
2203
+ {
2204
+ "inputs": [
2205
+ {
2206
+ "internalType": "uint256[]",
2207
+ "name": "_stakingModuleIds",
2208
+ "type": "uint256[]"
2209
+ },
2210
+ {
2211
+ "internalType": "uint256[]",
2212
+ "name": "_exitedValidatorsCounts",
2213
+ "type": "uint256[]"
2214
+ }
2215
+ ],
2216
+ "name": "updateExitedValidatorsCountByStakingModule",
2217
+ "outputs": [
2218
+ {
2219
+ "internalType": "uint256",
2220
+ "name": "",
2221
+ "type": "uint256"
2222
+ }
2223
+ ],
2224
+ "stateMutability": "nonpayable",
2225
+ "type": "function"
2226
+ },
2227
+ {
2228
+ "inputs": [
2229
+ {
2230
+ "internalType": "uint256",
2231
+ "name": "_stakingModuleId",
2232
+ "type": "uint256"
2233
+ },
2234
+ {
2235
+ "internalType": "uint256",
2236
+ "name": "_nodeOperatorId",
2237
+ "type": "uint256"
2238
+ },
2239
+ {
2240
+ "internalType": "uint256",
2241
+ "name": "_refundedValidatorsCount",
2242
+ "type": "uint256"
2243
+ }
2244
+ ],
2245
+ "name": "updateRefundedValidatorsCount",
2246
+ "outputs": [],
2247
+ "stateMutability": "nonpayable",
2248
+ "type": "function"
2249
+ },
2250
+ {
2251
+ "inputs": [
2252
+ {
2253
+ "internalType": "uint256",
2254
+ "name": "_stakingModuleId",
2255
+ "type": "uint256"
2256
+ },
2257
+ {
2258
+ "internalType": "uint256",
2259
+ "name": "_targetShare",
2260
+ "type": "uint256"
2261
+ },
2262
+ {
2263
+ "internalType": "uint256",
2264
+ "name": "_stakingModuleFee",
2265
+ "type": "uint256"
2266
+ },
2267
+ {
2268
+ "internalType": "uint256",
2269
+ "name": "_treasuryFee",
2270
+ "type": "uint256"
2271
+ }
2272
+ ],
2273
+ "name": "updateStakingModule",
2274
+ "outputs": [],
2275
+ "stateMutability": "nonpayable",
2276
+ "type": "function"
2277
+ },
2278
+ {
2279
+ "inputs": [
2280
+ {
2281
+ "internalType": "uint256",
2282
+ "name": "_stakingModuleId",
2283
+ "type": "uint256"
2284
+ },
2285
+ {
2286
+ "internalType": "uint256",
2287
+ "name": "_nodeOperatorId",
2288
+ "type": "uint256"
2289
+ },
2290
+ {
2291
+ "internalType": "bool",
2292
+ "name": "_isTargetLimitActive",
2293
+ "type": "bool"
2294
+ },
2295
+ {
2296
+ "internalType": "uint256",
2297
+ "name": "_targetLimit",
2298
+ "type": "uint256"
2299
+ }
2300
+ ],
2301
+ "name": "updateTargetValidatorsLimits",
2302
+ "outputs": [],
2303
+ "stateMutability": "nonpayable",
2304
+ "type": "function"
2305
+ },
2306
+ {
2307
+ "stateMutability": "payable",
2308
+ "type": "receive"
2309
+ }
2310
+ ]
2311
+ ''')