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,1571 @@
1
+ import json
2
+
3
+ LIDO_CURATED_STAKING_MODULE_ABI = json.loads('''
4
+ [
5
+ {
6
+ "constant": true,
7
+ "inputs": [],
8
+ "name": "hasInitialized",
9
+ "outputs": [
10
+ {
11
+ "name": "",
12
+ "type": "bool"
13
+ }
14
+ ],
15
+ "payable": false,
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "constant": false,
21
+ "inputs": [
22
+ {
23
+ "name": "_nodeOperatorId",
24
+ "type": "uint256"
25
+ },
26
+ {
27
+ "name": "_keysCount",
28
+ "type": "uint256"
29
+ },
30
+ {
31
+ "name": "_publicKeys",
32
+ "type": "bytes"
33
+ },
34
+ {
35
+ "name": "_signatures",
36
+ "type": "bytes"
37
+ }
38
+ ],
39
+ "name": "addSigningKeys",
40
+ "outputs": [],
41
+ "payable": false,
42
+ "stateMutability": "nonpayable",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "constant": true,
47
+ "inputs": [],
48
+ "name": "getType",
49
+ "outputs": [
50
+ {
51
+ "name": "",
52
+ "type": "bytes32"
53
+ }
54
+ ],
55
+ "payable": false,
56
+ "stateMutability": "view",
57
+ "type": "function"
58
+ },
59
+ {
60
+ "constant": true,
61
+ "inputs": [
62
+ {
63
+ "name": "_script",
64
+ "type": "bytes"
65
+ }
66
+ ],
67
+ "name": "getEVMScriptExecutor",
68
+ "outputs": [
69
+ {
70
+ "name": "",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "payable": false,
75
+ "stateMutability": "view",
76
+ "type": "function"
77
+ },
78
+ {
79
+ "constant": false,
80
+ "inputs": [
81
+ {
82
+ "name": "_nodeOperatorId",
83
+ "type": "uint256"
84
+ }
85
+ ],
86
+ "name": "clearNodeOperatorPenalty",
87
+ "outputs": [
88
+ {
89
+ "name": "",
90
+ "type": "bool"
91
+ }
92
+ ],
93
+ "payable": false,
94
+ "stateMutability": "nonpayable",
95
+ "type": "function"
96
+ },
97
+ {
98
+ "constant": true,
99
+ "inputs": [],
100
+ "name": "getRecoveryVault",
101
+ "outputs": [
102
+ {
103
+ "name": "",
104
+ "type": "address"
105
+ }
106
+ ],
107
+ "payable": false,
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "constant": true,
113
+ "inputs": [
114
+ {
115
+ "name": "_offset",
116
+ "type": "uint256"
117
+ },
118
+ {
119
+ "name": "_limit",
120
+ "type": "uint256"
121
+ }
122
+ ],
123
+ "name": "getNodeOperatorIds",
124
+ "outputs": [
125
+ {
126
+ "name": "nodeOperatorIds",
127
+ "type": "uint256[]"
128
+ }
129
+ ],
130
+ "payable": false,
131
+ "stateMutability": "view",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "constant": true,
136
+ "inputs": [
137
+ {
138
+ "name": "_nodeOperatorId",
139
+ "type": "uint256"
140
+ },
141
+ {
142
+ "name": "_offset",
143
+ "type": "uint256"
144
+ },
145
+ {
146
+ "name": "_limit",
147
+ "type": "uint256"
148
+ }
149
+ ],
150
+ "name": "getSigningKeys",
151
+ "outputs": [
152
+ {
153
+ "name": "pubkeys",
154
+ "type": "bytes"
155
+ },
156
+ {
157
+ "name": "signatures",
158
+ "type": "bytes"
159
+ },
160
+ {
161
+ "name": "used",
162
+ "type": "bool[]"
163
+ }
164
+ ],
165
+ "payable": false,
166
+ "stateMutability": "view",
167
+ "type": "function"
168
+ },
169
+ {
170
+ "constant": false,
171
+ "inputs": [
172
+ {
173
+ "name": "_nodeOperatorId",
174
+ "type": "uint256"
175
+ },
176
+ {
177
+ "name": "_fromIndex",
178
+ "type": "uint256"
179
+ },
180
+ {
181
+ "name": "_keysCount",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "name": "removeSigningKeysOperatorBH",
186
+ "outputs": [],
187
+ "payable": false,
188
+ "stateMutability": "nonpayable",
189
+ "type": "function"
190
+ },
191
+ {
192
+ "constant": true,
193
+ "inputs": [
194
+ {
195
+ "name": "_nodeOperatorId",
196
+ "type": "uint256"
197
+ }
198
+ ],
199
+ "name": "getNodeOperatorIsActive",
200
+ "outputs": [
201
+ {
202
+ "name": "",
203
+ "type": "bool"
204
+ }
205
+ ],
206
+ "payable": false,
207
+ "stateMutability": "view",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "constant": false,
212
+ "inputs": [
213
+ {
214
+ "name": "_nodeOperatorId",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "name": "_name",
219
+ "type": "string"
220
+ }
221
+ ],
222
+ "name": "setNodeOperatorName",
223
+ "outputs": [],
224
+ "payable": false,
225
+ "stateMutability": "nonpayable",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "constant": true,
230
+ "inputs": [
231
+ {
232
+ "name": "_totalRewardShares",
233
+ "type": "uint256"
234
+ }
235
+ ],
236
+ "name": "getRewardsDistribution",
237
+ "outputs": [
238
+ {
239
+ "name": "recipients",
240
+ "type": "address[]"
241
+ },
242
+ {
243
+ "name": "shares",
244
+ "type": "uint256[]"
245
+ },
246
+ {
247
+ "name": "penalized",
248
+ "type": "bool[]"
249
+ }
250
+ ],
251
+ "payable": false,
252
+ "stateMutability": "view",
253
+ "type": "function"
254
+ },
255
+ {
256
+ "constant": false,
257
+ "inputs": [
258
+ {
259
+ "name": "_indexFrom",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "name": "_indexTo",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "name": "invalidateReadyToDepositKeysRange",
268
+ "outputs": [],
269
+ "payable": false,
270
+ "stateMutability": "nonpayable",
271
+ "type": "function"
272
+ },
273
+ {
274
+ "constant": false,
275
+ "inputs": [
276
+ {
277
+ "name": "_locator",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "name": "_type",
282
+ "type": "bytes32"
283
+ },
284
+ {
285
+ "name": "_stuckPenaltyDelay",
286
+ "type": "uint256"
287
+ }
288
+ ],
289
+ "name": "initialize",
290
+ "outputs": [],
291
+ "payable": false,
292
+ "stateMutability": "nonpayable",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "constant": false,
297
+ "inputs": [
298
+ {
299
+ "name": "_delay",
300
+ "type": "uint256"
301
+ }
302
+ ],
303
+ "name": "setStuckPenaltyDelay",
304
+ "outputs": [],
305
+ "payable": false,
306
+ "stateMutability": "nonpayable",
307
+ "type": "function"
308
+ },
309
+ {
310
+ "constant": true,
311
+ "inputs": [],
312
+ "name": "getStuckPenaltyDelay",
313
+ "outputs": [
314
+ {
315
+ "name": "",
316
+ "type": "uint256"
317
+ }
318
+ ],
319
+ "payable": false,
320
+ "stateMutability": "view",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "constant": false,
325
+ "inputs": [
326
+ {
327
+ "name": "_nodeOperatorId",
328
+ "type": "uint256"
329
+ },
330
+ {
331
+ "name": "_index",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "name": "removeSigningKey",
336
+ "outputs": [],
337
+ "payable": false,
338
+ "stateMutability": "nonpayable",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "constant": false,
343
+ "inputs": [
344
+ {
345
+ "name": "_nodeOperatorId",
346
+ "type": "uint256"
347
+ },
348
+ {
349
+ "name": "_fromIndex",
350
+ "type": "uint256"
351
+ },
352
+ {
353
+ "name": "_keysCount",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "name": "removeSigningKeys",
358
+ "outputs": [],
359
+ "payable": false,
360
+ "stateMutability": "nonpayable",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "constant": true,
365
+ "inputs": [
366
+ {
367
+ "name": "_nodeOperatorId",
368
+ "type": "uint256"
369
+ }
370
+ ],
371
+ "name": "isOperatorPenalized",
372
+ "outputs": [
373
+ {
374
+ "name": "",
375
+ "type": "bool"
376
+ }
377
+ ],
378
+ "payable": false,
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "constant": false,
384
+ "inputs": [
385
+ {
386
+ "name": "_nodeOperatorId",
387
+ "type": "uint256"
388
+ }
389
+ ],
390
+ "name": "deactivateNodeOperator",
391
+ "outputs": [],
392
+ "payable": false,
393
+ "stateMutability": "nonpayable",
394
+ "type": "function"
395
+ },
396
+ {
397
+ "constant": true,
398
+ "inputs": [
399
+ {
400
+ "name": "token",
401
+ "type": "address"
402
+ }
403
+ ],
404
+ "name": "allowRecoverability",
405
+ "outputs": [
406
+ {
407
+ "name": "",
408
+ "type": "bool"
409
+ }
410
+ ],
411
+ "payable": false,
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "constant": true,
417
+ "inputs": [],
418
+ "name": "STAKING_ROUTER_ROLE",
419
+ "outputs": [
420
+ {
421
+ "name": "",
422
+ "type": "bytes32"
423
+ }
424
+ ],
425
+ "payable": false,
426
+ "stateMutability": "view",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "constant": false,
431
+ "inputs": [
432
+ {
433
+ "name": "_nodeOperatorId",
434
+ "type": "uint256"
435
+ },
436
+ {
437
+ "name": "_keysCount",
438
+ "type": "uint256"
439
+ },
440
+ {
441
+ "name": "_publicKeys",
442
+ "type": "bytes"
443
+ },
444
+ {
445
+ "name": "_signatures",
446
+ "type": "bytes"
447
+ }
448
+ ],
449
+ "name": "addSigningKeysOperatorBH",
450
+ "outputs": [],
451
+ "payable": false,
452
+ "stateMutability": "nonpayable",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "constant": true,
457
+ "inputs": [],
458
+ "name": "appId",
459
+ "outputs": [
460
+ {
461
+ "name": "",
462
+ "type": "bytes32"
463
+ }
464
+ ],
465
+ "payable": false,
466
+ "stateMutability": "view",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "constant": true,
471
+ "inputs": [],
472
+ "name": "getActiveNodeOperatorsCount",
473
+ "outputs": [
474
+ {
475
+ "name": "",
476
+ "type": "uint256"
477
+ }
478
+ ],
479
+ "payable": false,
480
+ "stateMutability": "view",
481
+ "type": "function"
482
+ },
483
+ {
484
+ "constant": false,
485
+ "inputs": [
486
+ {
487
+ "name": "_name",
488
+ "type": "string"
489
+ },
490
+ {
491
+ "name": "_rewardAddress",
492
+ "type": "address"
493
+ }
494
+ ],
495
+ "name": "addNodeOperator",
496
+ "outputs": [
497
+ {
498
+ "name": "id",
499
+ "type": "uint256"
500
+ }
501
+ ],
502
+ "payable": false,
503
+ "stateMutability": "nonpayable",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "constant": true,
508
+ "inputs": [],
509
+ "name": "getContractVersion",
510
+ "outputs": [
511
+ {
512
+ "name": "",
513
+ "type": "uint256"
514
+ }
515
+ ],
516
+ "payable": false,
517
+ "stateMutability": "view",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "constant": true,
522
+ "inputs": [],
523
+ "name": "getInitializationBlock",
524
+ "outputs": [
525
+ {
526
+ "name": "",
527
+ "type": "uint256"
528
+ }
529
+ ],
530
+ "payable": false,
531
+ "stateMutability": "view",
532
+ "type": "function"
533
+ },
534
+ {
535
+ "constant": true,
536
+ "inputs": [
537
+ {
538
+ "name": "_nodeOperatorId",
539
+ "type": "uint256"
540
+ }
541
+ ],
542
+ "name": "getUnusedSigningKeyCount",
543
+ "outputs": [
544
+ {
545
+ "name": "",
546
+ "type": "uint256"
547
+ }
548
+ ],
549
+ "payable": false,
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "constant": true,
555
+ "inputs": [
556
+ {
557
+ "name": "",
558
+ "type": "uint256"
559
+ }
560
+ ],
561
+ "name": "onRewardsMinted",
562
+ "outputs": [],
563
+ "payable": false,
564
+ "stateMutability": "view",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "constant": true,
569
+ "inputs": [],
570
+ "name": "MANAGE_NODE_OPERATOR_ROLE",
571
+ "outputs": [
572
+ {
573
+ "name": "",
574
+ "type": "bytes32"
575
+ }
576
+ ],
577
+ "payable": false,
578
+ "stateMutability": "view",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "constant": false,
583
+ "inputs": [],
584
+ "name": "onWithdrawalCredentialsChanged",
585
+ "outputs": [],
586
+ "payable": false,
587
+ "stateMutability": "nonpayable",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "constant": false,
592
+ "inputs": [
593
+ {
594
+ "name": "_nodeOperatorId",
595
+ "type": "uint256"
596
+ }
597
+ ],
598
+ "name": "activateNodeOperator",
599
+ "outputs": [],
600
+ "payable": false,
601
+ "stateMutability": "nonpayable",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "constant": false,
606
+ "inputs": [
607
+ {
608
+ "name": "_nodeOperatorId",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "name": "_rewardAddress",
613
+ "type": "address"
614
+ }
615
+ ],
616
+ "name": "setNodeOperatorRewardAddress",
617
+ "outputs": [],
618
+ "payable": false,
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "constant": true,
624
+ "inputs": [
625
+ {
626
+ "name": "_nodeOperatorId",
627
+ "type": "uint256"
628
+ },
629
+ {
630
+ "name": "_fullInfo",
631
+ "type": "bool"
632
+ }
633
+ ],
634
+ "name": "getNodeOperator",
635
+ "outputs": [
636
+ {
637
+ "name": "active",
638
+ "type": "bool"
639
+ },
640
+ {
641
+ "name": "name",
642
+ "type": "string"
643
+ },
644
+ {
645
+ "name": "rewardAddress",
646
+ "type": "address"
647
+ },
648
+ {
649
+ "name": "totalVettedValidators",
650
+ "type": "uint64"
651
+ },
652
+ {
653
+ "name": "totalExitedValidators",
654
+ "type": "uint64"
655
+ },
656
+ {
657
+ "name": "totalAddedValidators",
658
+ "type": "uint64"
659
+ },
660
+ {
661
+ "name": "totalDepositedValidators",
662
+ "type": "uint64"
663
+ }
664
+ ],
665
+ "payable": false,
666
+ "stateMutability": "view",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "constant": false,
671
+ "inputs": [
672
+ {
673
+ "name": "_locator",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "name": "_type",
678
+ "type": "bytes32"
679
+ },
680
+ {
681
+ "name": "_stuckPenaltyDelay",
682
+ "type": "uint256"
683
+ }
684
+ ],
685
+ "name": "finalizeUpgrade_v2",
686
+ "outputs": [],
687
+ "payable": false,
688
+ "stateMutability": "nonpayable",
689
+ "type": "function"
690
+ },
691
+ {
692
+ "constant": true,
693
+ "inputs": [],
694
+ "name": "getStakingModuleSummary",
695
+ "outputs": [
696
+ {
697
+ "name": "totalExitedValidators",
698
+ "type": "uint256"
699
+ },
700
+ {
701
+ "name": "totalDepositedValidators",
702
+ "type": "uint256"
703
+ },
704
+ {
705
+ "name": "depositableValidatorsCount",
706
+ "type": "uint256"
707
+ }
708
+ ],
709
+ "payable": false,
710
+ "stateMutability": "view",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "constant": false,
715
+ "inputs": [
716
+ {
717
+ "name": "_nodeOperatorIds",
718
+ "type": "bytes"
719
+ },
720
+ {
721
+ "name": "_exitedValidatorsCounts",
722
+ "type": "bytes"
723
+ }
724
+ ],
725
+ "name": "updateExitedValidatorsCount",
726
+ "outputs": [],
727
+ "payable": false,
728
+ "stateMutability": "nonpayable",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "constant": false,
733
+ "inputs": [
734
+ {
735
+ "name": "_nodeOperatorIds",
736
+ "type": "bytes"
737
+ },
738
+ {
739
+ "name": "_stuckValidatorsCounts",
740
+ "type": "bytes"
741
+ }
742
+ ],
743
+ "name": "updateStuckValidatorsCount",
744
+ "outputs": [],
745
+ "payable": false,
746
+ "stateMutability": "nonpayable",
747
+ "type": "function"
748
+ },
749
+ {
750
+ "constant": false,
751
+ "inputs": [
752
+ {
753
+ "name": "_token",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "name": "transferToVault",
758
+ "outputs": [],
759
+ "payable": false,
760
+ "stateMutability": "nonpayable",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "constant": true,
765
+ "inputs": [
766
+ {
767
+ "name": "_sender",
768
+ "type": "address"
769
+ },
770
+ {
771
+ "name": "_role",
772
+ "type": "bytes32"
773
+ },
774
+ {
775
+ "name": "_params",
776
+ "type": "uint256[]"
777
+ }
778
+ ],
779
+ "name": "canPerform",
780
+ "outputs": [
781
+ {
782
+ "name": "",
783
+ "type": "bool"
784
+ }
785
+ ],
786
+ "payable": false,
787
+ "stateMutability": "view",
788
+ "type": "function"
789
+ },
790
+ {
791
+ "constant": false,
792
+ "inputs": [
793
+ {
794
+ "name": "_nodeOperatorId",
795
+ "type": "uint256"
796
+ },
797
+ {
798
+ "name": "_refundedValidatorsCount",
799
+ "type": "uint256"
800
+ }
801
+ ],
802
+ "name": "updateRefundedValidatorsCount",
803
+ "outputs": [],
804
+ "payable": false,
805
+ "stateMutability": "nonpayable",
806
+ "type": "function"
807
+ },
808
+ {
809
+ "constant": true,
810
+ "inputs": [],
811
+ "name": "getEVMScriptRegistry",
812
+ "outputs": [
813
+ {
814
+ "name": "",
815
+ "type": "address"
816
+ }
817
+ ],
818
+ "payable": false,
819
+ "stateMutability": "view",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "constant": true,
824
+ "inputs": [],
825
+ "name": "getNodeOperatorsCount",
826
+ "outputs": [
827
+ {
828
+ "name": "",
829
+ "type": "uint256"
830
+ }
831
+ ],
832
+ "payable": false,
833
+ "stateMutability": "view",
834
+ "type": "function"
835
+ },
836
+ {
837
+ "constant": false,
838
+ "inputs": [
839
+ {
840
+ "name": "_nodeOperatorId",
841
+ "type": "uint256"
842
+ },
843
+ {
844
+ "name": "_isTargetLimitActive",
845
+ "type": "bool"
846
+ },
847
+ {
848
+ "name": "_targetLimit",
849
+ "type": "uint256"
850
+ }
851
+ ],
852
+ "name": "updateTargetValidatorsLimits",
853
+ "outputs": [],
854
+ "payable": false,
855
+ "stateMutability": "nonpayable",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "constant": false,
860
+ "inputs": [
861
+ {
862
+ "name": "_nodeOperatorId",
863
+ "type": "uint256"
864
+ },
865
+ {
866
+ "name": "_vettedSigningKeysCount",
867
+ "type": "uint64"
868
+ }
869
+ ],
870
+ "name": "setNodeOperatorStakingLimit",
871
+ "outputs": [],
872
+ "payable": false,
873
+ "stateMutability": "nonpayable",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "constant": true,
878
+ "inputs": [
879
+ {
880
+ "name": "_nodeOperatorId",
881
+ "type": "uint256"
882
+ }
883
+ ],
884
+ "name": "getNodeOperatorSummary",
885
+ "outputs": [
886
+ {
887
+ "name": "isTargetLimitActive",
888
+ "type": "bool"
889
+ },
890
+ {
891
+ "name": "targetValidatorsCount",
892
+ "type": "uint256"
893
+ },
894
+ {
895
+ "name": "stuckValidatorsCount",
896
+ "type": "uint256"
897
+ },
898
+ {
899
+ "name": "refundedValidatorsCount",
900
+ "type": "uint256"
901
+ },
902
+ {
903
+ "name": "stuckPenaltyEndTimestamp",
904
+ "type": "uint256"
905
+ },
906
+ {
907
+ "name": "totalExitedValidators",
908
+ "type": "uint256"
909
+ },
910
+ {
911
+ "name": "totalDepositedValidators",
912
+ "type": "uint256"
913
+ },
914
+ {
915
+ "name": "depositableValidatorsCount",
916
+ "type": "uint256"
917
+ }
918
+ ],
919
+ "payable": false,
920
+ "stateMutability": "view",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "constant": true,
925
+ "inputs": [
926
+ {
927
+ "name": "_nodeOperatorId",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "name": "_index",
932
+ "type": "uint256"
933
+ }
934
+ ],
935
+ "name": "getSigningKey",
936
+ "outputs": [
937
+ {
938
+ "name": "key",
939
+ "type": "bytes"
940
+ },
941
+ {
942
+ "name": "depositSignature",
943
+ "type": "bytes"
944
+ },
945
+ {
946
+ "name": "used",
947
+ "type": "bool"
948
+ }
949
+ ],
950
+ "payable": false,
951
+ "stateMutability": "view",
952
+ "type": "function"
953
+ },
954
+ {
955
+ "constant": true,
956
+ "inputs": [],
957
+ "name": "MAX_NODE_OPERATOR_NAME_LENGTH",
958
+ "outputs": [
959
+ {
960
+ "name": "",
961
+ "type": "uint256"
962
+ }
963
+ ],
964
+ "payable": false,
965
+ "stateMutability": "view",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "constant": false,
970
+ "inputs": [
971
+ {
972
+ "name": "_depositsCount",
973
+ "type": "uint256"
974
+ },
975
+ {
976
+ "name": "",
977
+ "type": "bytes"
978
+ }
979
+ ],
980
+ "name": "obtainDepositData",
981
+ "outputs": [
982
+ {
983
+ "name": "publicKeys",
984
+ "type": "bytes"
985
+ },
986
+ {
987
+ "name": "signatures",
988
+ "type": "bytes"
989
+ }
990
+ ],
991
+ "payable": false,
992
+ "stateMutability": "nonpayable",
993
+ "type": "function"
994
+ },
995
+ {
996
+ "constant": true,
997
+ "inputs": [],
998
+ "name": "getKeysOpIndex",
999
+ "outputs": [
1000
+ {
1001
+ "name": "",
1002
+ "type": "uint256"
1003
+ }
1004
+ ],
1005
+ "payable": false,
1006
+ "stateMutability": "view",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "constant": true,
1011
+ "inputs": [],
1012
+ "name": "getNonce",
1013
+ "outputs": [
1014
+ {
1015
+ "name": "",
1016
+ "type": "uint256"
1017
+ }
1018
+ ],
1019
+ "payable": false,
1020
+ "stateMutability": "view",
1021
+ "type": "function"
1022
+ },
1023
+ {
1024
+ "constant": true,
1025
+ "inputs": [],
1026
+ "name": "kernel",
1027
+ "outputs": [
1028
+ {
1029
+ "name": "",
1030
+ "type": "address"
1031
+ }
1032
+ ],
1033
+ "payable": false,
1034
+ "stateMutability": "view",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "constant": true,
1039
+ "inputs": [],
1040
+ "name": "getLocator",
1041
+ "outputs": [
1042
+ {
1043
+ "name": "",
1044
+ "type": "address"
1045
+ }
1046
+ ],
1047
+ "payable": false,
1048
+ "stateMutability": "view",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "constant": true,
1053
+ "inputs": [],
1054
+ "name": "SET_NODE_OPERATOR_LIMIT_ROLE",
1055
+ "outputs": [
1056
+ {
1057
+ "name": "",
1058
+ "type": "bytes32"
1059
+ }
1060
+ ],
1061
+ "payable": false,
1062
+ "stateMutability": "view",
1063
+ "type": "function"
1064
+ },
1065
+ {
1066
+ "constant": true,
1067
+ "inputs": [
1068
+ {
1069
+ "name": "_nodeOperatorId",
1070
+ "type": "uint256"
1071
+ }
1072
+ ],
1073
+ "name": "getTotalSigningKeyCount",
1074
+ "outputs": [
1075
+ {
1076
+ "name": "",
1077
+ "type": "uint256"
1078
+ }
1079
+ ],
1080
+ "payable": false,
1081
+ "stateMutability": "view",
1082
+ "type": "function"
1083
+ },
1084
+ {
1085
+ "constant": true,
1086
+ "inputs": [],
1087
+ "name": "isPetrified",
1088
+ "outputs": [
1089
+ {
1090
+ "name": "",
1091
+ "type": "bool"
1092
+ }
1093
+ ],
1094
+ "payable": false,
1095
+ "stateMutability": "view",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "constant": true,
1100
+ "inputs": [],
1101
+ "name": "MAX_STUCK_PENALTY_DELAY",
1102
+ "outputs": [
1103
+ {
1104
+ "name": "",
1105
+ "type": "uint256"
1106
+ }
1107
+ ],
1108
+ "payable": false,
1109
+ "stateMutability": "view",
1110
+ "type": "function"
1111
+ },
1112
+ {
1113
+ "constant": false,
1114
+ "inputs": [],
1115
+ "name": "onExitedAndStuckValidatorsCountsUpdated",
1116
+ "outputs": [],
1117
+ "payable": false,
1118
+ "stateMutability": "nonpayable",
1119
+ "type": "function"
1120
+ },
1121
+ {
1122
+ "constant": true,
1123
+ "inputs": [],
1124
+ "name": "MAX_NODE_OPERATORS_COUNT",
1125
+ "outputs": [
1126
+ {
1127
+ "name": "",
1128
+ "type": "uint256"
1129
+ }
1130
+ ],
1131
+ "payable": false,
1132
+ "stateMutability": "view",
1133
+ "type": "function"
1134
+ },
1135
+ {
1136
+ "constant": false,
1137
+ "inputs": [
1138
+ {
1139
+ "name": "_nodeOperatorId",
1140
+ "type": "uint256"
1141
+ },
1142
+ {
1143
+ "name": "_index",
1144
+ "type": "uint256"
1145
+ }
1146
+ ],
1147
+ "name": "removeSigningKeyOperatorBH",
1148
+ "outputs": [],
1149
+ "payable": false,
1150
+ "stateMutability": "nonpayable",
1151
+ "type": "function"
1152
+ },
1153
+ {
1154
+ "constant": false,
1155
+ "inputs": [
1156
+ {
1157
+ "name": "_nodeOperatorId",
1158
+ "type": "uint256"
1159
+ },
1160
+ {
1161
+ "name": "_exitedValidatorsCount",
1162
+ "type": "uint256"
1163
+ },
1164
+ {
1165
+ "name": "_stuckValidatorsCount",
1166
+ "type": "uint256"
1167
+ }
1168
+ ],
1169
+ "name": "unsafeUpdateValidatorsCount",
1170
+ "outputs": [],
1171
+ "payable": false,
1172
+ "stateMutability": "nonpayable",
1173
+ "type": "function"
1174
+ },
1175
+ {
1176
+ "constant": true,
1177
+ "inputs": [],
1178
+ "name": "MANAGE_SIGNING_KEYS",
1179
+ "outputs": [
1180
+ {
1181
+ "name": "",
1182
+ "type": "bytes32"
1183
+ }
1184
+ ],
1185
+ "payable": false,
1186
+ "stateMutability": "view",
1187
+ "type": "function"
1188
+ },
1189
+ {
1190
+ "constant": true,
1191
+ "inputs": [
1192
+ {
1193
+ "name": "_nodeOperatorId",
1194
+ "type": "uint256"
1195
+ }
1196
+ ],
1197
+ "name": "isOperatorPenaltyCleared",
1198
+ "outputs": [
1199
+ {
1200
+ "name": "",
1201
+ "type": "bool"
1202
+ }
1203
+ ],
1204
+ "payable": false,
1205
+ "stateMutability": "view",
1206
+ "type": "function"
1207
+ },
1208
+ {
1209
+ "anonymous": false,
1210
+ "inputs": [
1211
+ {
1212
+ "indexed": false,
1213
+ "name": "nodeOperatorId",
1214
+ "type": "uint256"
1215
+ },
1216
+ {
1217
+ "indexed": false,
1218
+ "name": "name",
1219
+ "type": "string"
1220
+ },
1221
+ {
1222
+ "indexed": false,
1223
+ "name": "rewardAddress",
1224
+ "type": "address"
1225
+ },
1226
+ {
1227
+ "indexed": false,
1228
+ "name": "stakingLimit",
1229
+ "type": "uint64"
1230
+ }
1231
+ ],
1232
+ "name": "NodeOperatorAdded",
1233
+ "type": "event"
1234
+ },
1235
+ {
1236
+ "anonymous": false,
1237
+ "inputs": [
1238
+ {
1239
+ "indexed": true,
1240
+ "name": "nodeOperatorId",
1241
+ "type": "uint256"
1242
+ },
1243
+ {
1244
+ "indexed": false,
1245
+ "name": "active",
1246
+ "type": "bool"
1247
+ }
1248
+ ],
1249
+ "name": "NodeOperatorActiveSet",
1250
+ "type": "event"
1251
+ },
1252
+ {
1253
+ "anonymous": false,
1254
+ "inputs": [
1255
+ {
1256
+ "indexed": true,
1257
+ "name": "nodeOperatorId",
1258
+ "type": "uint256"
1259
+ },
1260
+ {
1261
+ "indexed": false,
1262
+ "name": "name",
1263
+ "type": "string"
1264
+ }
1265
+ ],
1266
+ "name": "NodeOperatorNameSet",
1267
+ "type": "event"
1268
+ },
1269
+ {
1270
+ "anonymous": false,
1271
+ "inputs": [
1272
+ {
1273
+ "indexed": true,
1274
+ "name": "nodeOperatorId",
1275
+ "type": "uint256"
1276
+ },
1277
+ {
1278
+ "indexed": false,
1279
+ "name": "rewardAddress",
1280
+ "type": "address"
1281
+ }
1282
+ ],
1283
+ "name": "NodeOperatorRewardAddressSet",
1284
+ "type": "event"
1285
+ },
1286
+ {
1287
+ "anonymous": false,
1288
+ "inputs": [
1289
+ {
1290
+ "indexed": true,
1291
+ "name": "nodeOperatorId",
1292
+ "type": "uint256"
1293
+ },
1294
+ {
1295
+ "indexed": false,
1296
+ "name": "totalKeysTrimmed",
1297
+ "type": "uint64"
1298
+ }
1299
+ ],
1300
+ "name": "NodeOperatorTotalKeysTrimmed",
1301
+ "type": "event"
1302
+ },
1303
+ {
1304
+ "anonymous": false,
1305
+ "inputs": [
1306
+ {
1307
+ "indexed": false,
1308
+ "name": "keysOpIndex",
1309
+ "type": "uint256"
1310
+ }
1311
+ ],
1312
+ "name": "KeysOpIndexSet",
1313
+ "type": "event"
1314
+ },
1315
+ {
1316
+ "anonymous": false,
1317
+ "inputs": [
1318
+ {
1319
+ "indexed": false,
1320
+ "name": "moduleType",
1321
+ "type": "bytes32"
1322
+ }
1323
+ ],
1324
+ "name": "StakingModuleTypeSet",
1325
+ "type": "event"
1326
+ },
1327
+ {
1328
+ "anonymous": false,
1329
+ "inputs": [
1330
+ {
1331
+ "indexed": true,
1332
+ "name": "rewardAddress",
1333
+ "type": "address"
1334
+ },
1335
+ {
1336
+ "indexed": false,
1337
+ "name": "sharesAmount",
1338
+ "type": "uint256"
1339
+ }
1340
+ ],
1341
+ "name": "RewardsDistributed",
1342
+ "type": "event"
1343
+ },
1344
+ {
1345
+ "anonymous": false,
1346
+ "inputs": [
1347
+ {
1348
+ "indexed": false,
1349
+ "name": "locatorAddress",
1350
+ "type": "address"
1351
+ }
1352
+ ],
1353
+ "name": "LocatorContractSet",
1354
+ "type": "event"
1355
+ },
1356
+ {
1357
+ "anonymous": false,
1358
+ "inputs": [
1359
+ {
1360
+ "indexed": true,
1361
+ "name": "nodeOperatorId",
1362
+ "type": "uint256"
1363
+ },
1364
+ {
1365
+ "indexed": false,
1366
+ "name": "approvedValidatorsCount",
1367
+ "type": "uint256"
1368
+ }
1369
+ ],
1370
+ "name": "VettedSigningKeysCountChanged",
1371
+ "type": "event"
1372
+ },
1373
+ {
1374
+ "anonymous": false,
1375
+ "inputs": [
1376
+ {
1377
+ "indexed": true,
1378
+ "name": "nodeOperatorId",
1379
+ "type": "uint256"
1380
+ },
1381
+ {
1382
+ "indexed": false,
1383
+ "name": "depositedValidatorsCount",
1384
+ "type": "uint256"
1385
+ }
1386
+ ],
1387
+ "name": "DepositedSigningKeysCountChanged",
1388
+ "type": "event"
1389
+ },
1390
+ {
1391
+ "anonymous": false,
1392
+ "inputs": [
1393
+ {
1394
+ "indexed": true,
1395
+ "name": "nodeOperatorId",
1396
+ "type": "uint256"
1397
+ },
1398
+ {
1399
+ "indexed": false,
1400
+ "name": "exitedValidatorsCount",
1401
+ "type": "uint256"
1402
+ }
1403
+ ],
1404
+ "name": "ExitedSigningKeysCountChanged",
1405
+ "type": "event"
1406
+ },
1407
+ {
1408
+ "anonymous": false,
1409
+ "inputs": [
1410
+ {
1411
+ "indexed": true,
1412
+ "name": "nodeOperatorId",
1413
+ "type": "uint256"
1414
+ },
1415
+ {
1416
+ "indexed": false,
1417
+ "name": "totalValidatorsCount",
1418
+ "type": "uint256"
1419
+ }
1420
+ ],
1421
+ "name": "TotalSigningKeysCountChanged",
1422
+ "type": "event"
1423
+ },
1424
+ {
1425
+ "anonymous": false,
1426
+ "inputs": [
1427
+ {
1428
+ "indexed": false,
1429
+ "name": "nonce",
1430
+ "type": "uint256"
1431
+ }
1432
+ ],
1433
+ "name": "NonceChanged",
1434
+ "type": "event"
1435
+ },
1436
+ {
1437
+ "anonymous": false,
1438
+ "inputs": [
1439
+ {
1440
+ "indexed": false,
1441
+ "name": "stuckPenaltyDelay",
1442
+ "type": "uint256"
1443
+ }
1444
+ ],
1445
+ "name": "StuckPenaltyDelayChanged",
1446
+ "type": "event"
1447
+ },
1448
+ {
1449
+ "anonymous": false,
1450
+ "inputs": [
1451
+ {
1452
+ "indexed": true,
1453
+ "name": "nodeOperatorId",
1454
+ "type": "uint256"
1455
+ },
1456
+ {
1457
+ "indexed": false,
1458
+ "name": "stuckValidatorsCount",
1459
+ "type": "uint256"
1460
+ },
1461
+ {
1462
+ "indexed": false,
1463
+ "name": "refundedValidatorsCount",
1464
+ "type": "uint256"
1465
+ },
1466
+ {
1467
+ "indexed": false,
1468
+ "name": "stuckPenaltyEndTimestamp",
1469
+ "type": "uint256"
1470
+ }
1471
+ ],
1472
+ "name": "StuckPenaltyStateChanged",
1473
+ "type": "event"
1474
+ },
1475
+ {
1476
+ "anonymous": false,
1477
+ "inputs": [
1478
+ {
1479
+ "indexed": true,
1480
+ "name": "nodeOperatorId",
1481
+ "type": "uint256"
1482
+ },
1483
+ {
1484
+ "indexed": false,
1485
+ "name": "targetValidatorsCount",
1486
+ "type": "uint256"
1487
+ }
1488
+ ],
1489
+ "name": "TargetValidatorsCountChanged",
1490
+ "type": "event"
1491
+ },
1492
+ {
1493
+ "anonymous": false,
1494
+ "inputs": [
1495
+ {
1496
+ "indexed": true,
1497
+ "name": "recipientAddress",
1498
+ "type": "address"
1499
+ },
1500
+ {
1501
+ "indexed": false,
1502
+ "name": "sharesPenalizedAmount",
1503
+ "type": "uint256"
1504
+ }
1505
+ ],
1506
+ "name": "NodeOperatorPenalized",
1507
+ "type": "event"
1508
+ },
1509
+ {
1510
+ "anonymous": false,
1511
+ "inputs": [
1512
+ {
1513
+ "indexed": false,
1514
+ "name": "version",
1515
+ "type": "uint256"
1516
+ }
1517
+ ],
1518
+ "name": "ContractVersionSet",
1519
+ "type": "event"
1520
+ },
1521
+ {
1522
+ "anonymous": false,
1523
+ "inputs": [
1524
+ {
1525
+ "indexed": true,
1526
+ "name": "executor",
1527
+ "type": "address"
1528
+ },
1529
+ {
1530
+ "indexed": false,
1531
+ "name": "script",
1532
+ "type": "bytes"
1533
+ },
1534
+ {
1535
+ "indexed": false,
1536
+ "name": "input",
1537
+ "type": "bytes"
1538
+ },
1539
+ {
1540
+ "indexed": false,
1541
+ "name": "returnData",
1542
+ "type": "bytes"
1543
+ }
1544
+ ],
1545
+ "name": "ScriptResult",
1546
+ "type": "event"
1547
+ },
1548
+ {
1549
+ "anonymous": false,
1550
+ "inputs": [
1551
+ {
1552
+ "indexed": true,
1553
+ "name": "vault",
1554
+ "type": "address"
1555
+ },
1556
+ {
1557
+ "indexed": true,
1558
+ "name": "token",
1559
+ "type": "address"
1560
+ },
1561
+ {
1562
+ "indexed": false,
1563
+ "name": "amount",
1564
+ "type": "uint256"
1565
+ }
1566
+ ],
1567
+ "name": "RecoverToVault",
1568
+ "type": "event"
1569
+ }
1570
+ ]
1571
+ ''')