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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/vault/lido/__init__.py +0 -0
  3. defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
  4. defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
  5. defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
  6. defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
  7. defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
  8. defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
  9. defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
  10. defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
  11. defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
  12. defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
  13. defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
  14. defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
  15. defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
  16. defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
  17. defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
  18. defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
  19. defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
  20. defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
  21. defi_services/abis/vault/lido/lido_burner.py +698 -0
  22. defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
  23. defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
  24. defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
  25. defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
  26. defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
  27. defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
  28. defi_services/abis/vault/lido/lido_dao.py +623 -0
  29. defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
  30. defi_services/abis/vault/lido/lido_dao_token.py +590 -0
  31. defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
  32. defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
  33. defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
  34. defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
  35. defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
  36. defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
  37. defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
  38. defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
  39. defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
  40. defi_services/abis/vault/lido/lido_locator.py +357 -0
  41. defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
  42. defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
  43. defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
  44. defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
  45. defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
  46. defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
  47. defi_services/abis/vault/lido/lido_steth.py +1604 -0
  48. defi_services/abis/vault/lido/lido_stonks.py +744 -0
  49. defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
  50. defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
  51. defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
  52. defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
  53. defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
  54. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
  55. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
  56. defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
  57. defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
  58. defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
  59. defi_services/abis/vault/lido/lido_wsteth.py +481 -0
  60. defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
  61. defi_services/jobs/processors/multi_state_processor.py +2 -2
  62. defi_services/jobs/processors/state_processor.py +2 -2
  63. defi_services/jobs/queriers/state_querier.py +4 -4
  64. defi_services/services/dex/pancakeswap_service.py +1 -1
  65. defi_services/services/dex/pancakeswap_v2_service.py +1 -1
  66. defi_services/services/dex/uniswap_v2_service.py +1 -1
  67. defi_services/services/dex/uniswap_v3_service.py +2 -2
  68. defi_services/services/lending/aave_v2_services.py +2 -2
  69. defi_services/services/lending/aave_v3_services.py +4 -4
  70. defi_services/services/lending/apeswap_services.py +3 -3
  71. defi_services/services/lending/compound_service.py +3 -3
  72. defi_services/services/lending/compound_v3_services.py +1 -1
  73. defi_services/services/lending/flux_services.py +3 -3
  74. defi_services/services/lending/granary_services.py +1 -1
  75. defi_services/services/lending/iron_bank_service.py +4 -4
  76. defi_services/services/lending/justlend_service.py +3 -3
  77. defi_services/services/lending/liqee_service.py +3 -3
  78. defi_services/services/lending/morpho_aave_v2_services.py +2 -2
  79. defi_services/services/lending/morpho_aave_v3_services.py +2 -2
  80. defi_services/services/lending/morpho_compound_services.py +5 -5
  81. defi_services/services/lending/onyx_service.py +4 -4
  82. defi_services/services/lending/silo_services.py +3 -3
  83. defi_services/services/lending/strike_service.py +3 -3
  84. defi_services/services/lending/trava_services.py +2 -2
  85. defi_services/services/lending/uwu_services.py +2 -2
  86. defi_services/services/lending/valas_services.py +1 -1
  87. defi_services/services/lending/venus_services.py +7 -7
  88. defi_services/services/lending/wepiggy_services.py +4 -4
  89. defi_services/services/token_services.py +1 -1
  90. defi_services/utils/convert_address.py +2 -2
  91. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/METADATA +1 -1
  92. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +95 -36
  93. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
  94. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
  95. {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1604 @@
1
+ import json
2
+
3
+ LIDO_STETH_ABI = json.loads('''
4
+ [
5
+ {
6
+ "constant": false,
7
+ "inputs": [],
8
+ "name": "resume",
9
+ "outputs": [],
10
+ "payable": false,
11
+ "stateMutability": "nonpayable",
12
+ "type": "function"
13
+ },
14
+ {
15
+ "constant": true,
16
+ "inputs": [],
17
+ "name": "name",
18
+ "outputs": [
19
+ {
20
+ "name": "",
21
+ "type": "string"
22
+ }
23
+ ],
24
+ "payable": false,
25
+ "stateMutability": "pure",
26
+ "type": "function"
27
+ },
28
+ {
29
+ "constant": false,
30
+ "inputs": [],
31
+ "name": "stop",
32
+ "outputs": [],
33
+ "payable": false,
34
+ "stateMutability": "nonpayable",
35
+ "type": "function"
36
+ },
37
+ {
38
+ "constant": true,
39
+ "inputs": [],
40
+ "name": "hasInitialized",
41
+ "outputs": [
42
+ {
43
+ "name": "",
44
+ "type": "bool"
45
+ }
46
+ ],
47
+ "payable": false,
48
+ "stateMutability": "view",
49
+ "type": "function"
50
+ },
51
+ {
52
+ "constant": false,
53
+ "inputs": [
54
+ {
55
+ "name": "_spender",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "name": "_amount",
60
+ "type": "uint256"
61
+ }
62
+ ],
63
+ "name": "approve",
64
+ "outputs": [
65
+ {
66
+ "name": "",
67
+ "type": "bool"
68
+ }
69
+ ],
70
+ "payable": false,
71
+ "stateMutability": "nonpayable",
72
+ "type": "function"
73
+ },
74
+ {
75
+ "constant": true,
76
+ "inputs": [],
77
+ "name": "STAKING_CONTROL_ROLE",
78
+ "outputs": [
79
+ {
80
+ "name": "",
81
+ "type": "bytes32"
82
+ }
83
+ ],
84
+ "payable": false,
85
+ "stateMutability": "view",
86
+ "type": "function"
87
+ },
88
+ {
89
+ "constant": true,
90
+ "inputs": [],
91
+ "name": "totalSupply",
92
+ "outputs": [
93
+ {
94
+ "name": "",
95
+ "type": "uint256"
96
+ }
97
+ ],
98
+ "payable": false,
99
+ "stateMutability": "view",
100
+ "type": "function"
101
+ },
102
+ {
103
+ "constant": true,
104
+ "inputs": [
105
+ {
106
+ "name": "_ethAmount",
107
+ "type": "uint256"
108
+ }
109
+ ],
110
+ "name": "getSharesByPooledEth",
111
+ "outputs": [
112
+ {
113
+ "name": "",
114
+ "type": "uint256"
115
+ }
116
+ ],
117
+ "payable": false,
118
+ "stateMutability": "view",
119
+ "type": "function"
120
+ },
121
+ {
122
+ "constant": true,
123
+ "inputs": [],
124
+ "name": "isStakingPaused",
125
+ "outputs": [
126
+ {
127
+ "name": "",
128
+ "type": "bool"
129
+ }
130
+ ],
131
+ "payable": false,
132
+ "stateMutability": "view",
133
+ "type": "function"
134
+ },
135
+ {
136
+ "constant": false,
137
+ "inputs": [
138
+ {
139
+ "name": "_sender",
140
+ "type": "address"
141
+ },
142
+ {
143
+ "name": "_recipient",
144
+ "type": "address"
145
+ },
146
+ {
147
+ "name": "_amount",
148
+ "type": "uint256"
149
+ }
150
+ ],
151
+ "name": "transferFrom",
152
+ "outputs": [
153
+ {
154
+ "name": "",
155
+ "type": "bool"
156
+ }
157
+ ],
158
+ "payable": false,
159
+ "stateMutability": "nonpayable",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "constant": true,
164
+ "inputs": [
165
+ {
166
+ "name": "_script",
167
+ "type": "bytes"
168
+ }
169
+ ],
170
+ "name": "getEVMScriptExecutor",
171
+ "outputs": [
172
+ {
173
+ "name": "",
174
+ "type": "address"
175
+ }
176
+ ],
177
+ "payable": false,
178
+ "stateMutability": "view",
179
+ "type": "function"
180
+ },
181
+ {
182
+ "constant": false,
183
+ "inputs": [
184
+ {
185
+ "name": "_maxStakeLimit",
186
+ "type": "uint256"
187
+ },
188
+ {
189
+ "name": "_stakeLimitIncreasePerBlock",
190
+ "type": "uint256"
191
+ }
192
+ ],
193
+ "name": "setStakingLimit",
194
+ "outputs": [],
195
+ "payable": false,
196
+ "stateMutability": "nonpayable",
197
+ "type": "function"
198
+ },
199
+ {
200
+ "constant": true,
201
+ "inputs": [],
202
+ "name": "RESUME_ROLE",
203
+ "outputs": [
204
+ {
205
+ "name": "",
206
+ "type": "bytes32"
207
+ }
208
+ ],
209
+ "payable": false,
210
+ "stateMutability": "view",
211
+ "type": "function"
212
+ },
213
+ {
214
+ "constant": false,
215
+ "inputs": [
216
+ {
217
+ "name": "_lidoLocator",
218
+ "type": "address"
219
+ },
220
+ {
221
+ "name": "_eip712StETH",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "name": "finalizeUpgrade_v2",
226
+ "outputs": [],
227
+ "payable": false,
228
+ "stateMutability": "nonpayable",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "constant": true,
233
+ "inputs": [],
234
+ "name": "decimals",
235
+ "outputs": [
236
+ {
237
+ "name": "",
238
+ "type": "uint8"
239
+ }
240
+ ],
241
+ "payable": false,
242
+ "stateMutability": "pure",
243
+ "type": "function"
244
+ },
245
+ {
246
+ "constant": true,
247
+ "inputs": [],
248
+ "name": "getRecoveryVault",
249
+ "outputs": [
250
+ {
251
+ "name": "",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "payable": false,
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "constant": true,
261
+ "inputs": [],
262
+ "name": "DOMAIN_SEPARATOR",
263
+ "outputs": [
264
+ {
265
+ "name": "",
266
+ "type": "bytes32"
267
+ }
268
+ ],
269
+ "payable": false,
270
+ "stateMutability": "view",
271
+ "type": "function"
272
+ },
273
+ {
274
+ "constant": true,
275
+ "inputs": [],
276
+ "name": "getTotalPooledEther",
277
+ "outputs": [
278
+ {
279
+ "name": "",
280
+ "type": "uint256"
281
+ }
282
+ ],
283
+ "payable": false,
284
+ "stateMutability": "view",
285
+ "type": "function"
286
+ },
287
+ {
288
+ "constant": false,
289
+ "inputs": [
290
+ {
291
+ "name": "_newDepositedValidators",
292
+ "type": "uint256"
293
+ }
294
+ ],
295
+ "name": "unsafeChangeDepositedValidators",
296
+ "outputs": [],
297
+ "payable": false,
298
+ "stateMutability": "nonpayable",
299
+ "type": "function"
300
+ },
301
+ {
302
+ "constant": true,
303
+ "inputs": [],
304
+ "name": "PAUSE_ROLE",
305
+ "outputs": [
306
+ {
307
+ "name": "",
308
+ "type": "bytes32"
309
+ }
310
+ ],
311
+ "payable": false,
312
+ "stateMutability": "view",
313
+ "type": "function"
314
+ },
315
+ {
316
+ "constant": false,
317
+ "inputs": [
318
+ {
319
+ "name": "_spender",
320
+ "type": "address"
321
+ },
322
+ {
323
+ "name": "_addedValue",
324
+ "type": "uint256"
325
+ }
326
+ ],
327
+ "name": "increaseAllowance",
328
+ "outputs": [
329
+ {
330
+ "name": "",
331
+ "type": "bool"
332
+ }
333
+ ],
334
+ "payable": false,
335
+ "stateMutability": "nonpayable",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "constant": true,
340
+ "inputs": [],
341
+ "name": "getTreasury",
342
+ "outputs": [
343
+ {
344
+ "name": "",
345
+ "type": "address"
346
+ }
347
+ ],
348
+ "payable": false,
349
+ "stateMutability": "view",
350
+ "type": "function"
351
+ },
352
+ {
353
+ "constant": true,
354
+ "inputs": [],
355
+ "name": "isStopped",
356
+ "outputs": [
357
+ {
358
+ "name": "",
359
+ "type": "bool"
360
+ }
361
+ ],
362
+ "payable": false,
363
+ "stateMutability": "view",
364
+ "type": "function"
365
+ },
366
+ {
367
+ "constant": true,
368
+ "inputs": [],
369
+ "name": "getBufferedEther",
370
+ "outputs": [
371
+ {
372
+ "name": "",
373
+ "type": "uint256"
374
+ }
375
+ ],
376
+ "payable": false,
377
+ "stateMutability": "view",
378
+ "type": "function"
379
+ },
380
+ {
381
+ "constant": false,
382
+ "inputs": [
383
+ {
384
+ "name": "_lidoLocator",
385
+ "type": "address"
386
+ },
387
+ {
388
+ "name": "_eip712StETH",
389
+ "type": "address"
390
+ }
391
+ ],
392
+ "name": "initialize",
393
+ "outputs": [],
394
+ "payable": true,
395
+ "stateMutability": "payable",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "constant": false,
400
+ "inputs": [],
401
+ "name": "receiveELRewards",
402
+ "outputs": [],
403
+ "payable": true,
404
+ "stateMutability": "payable",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "constant": true,
409
+ "inputs": [],
410
+ "name": "getWithdrawalCredentials",
411
+ "outputs": [
412
+ {
413
+ "name": "",
414
+ "type": "bytes32"
415
+ }
416
+ ],
417
+ "payable": false,
418
+ "stateMutability": "view",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "constant": true,
423
+ "inputs": [],
424
+ "name": "getCurrentStakeLimit",
425
+ "outputs": [
426
+ {
427
+ "name": "",
428
+ "type": "uint256"
429
+ }
430
+ ],
431
+ "payable": false,
432
+ "stateMutability": "view",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "constant": true,
437
+ "inputs": [],
438
+ "name": "getStakeLimitFullInfo",
439
+ "outputs": [
440
+ {
441
+ "name": "isStakingPaused",
442
+ "type": "bool"
443
+ },
444
+ {
445
+ "name": "isStakingLimitSet",
446
+ "type": "bool"
447
+ },
448
+ {
449
+ "name": "currentStakeLimit",
450
+ "type": "uint256"
451
+ },
452
+ {
453
+ "name": "maxStakeLimit",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "name": "maxStakeLimitGrowthBlocks",
458
+ "type": "uint256"
459
+ },
460
+ {
461
+ "name": "prevStakeLimit",
462
+ "type": "uint256"
463
+ },
464
+ {
465
+ "name": "prevStakeBlockNumber",
466
+ "type": "uint256"
467
+ }
468
+ ],
469
+ "payable": false,
470
+ "stateMutability": "view",
471
+ "type": "function"
472
+ },
473
+ {
474
+ "constant": false,
475
+ "inputs": [
476
+ {
477
+ "name": "_sender",
478
+ "type": "address"
479
+ },
480
+ {
481
+ "name": "_recipient",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "name": "_sharesAmount",
486
+ "type": "uint256"
487
+ }
488
+ ],
489
+ "name": "transferSharesFrom",
490
+ "outputs": [
491
+ {
492
+ "name": "",
493
+ "type": "uint256"
494
+ }
495
+ ],
496
+ "payable": false,
497
+ "stateMutability": "nonpayable",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "constant": true,
502
+ "inputs": [
503
+ {
504
+ "name": "_account",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "name": "balanceOf",
509
+ "outputs": [
510
+ {
511
+ "name": "",
512
+ "type": "uint256"
513
+ }
514
+ ],
515
+ "payable": false,
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "constant": false,
521
+ "inputs": [],
522
+ "name": "resumeStaking",
523
+ "outputs": [],
524
+ "payable": false,
525
+ "stateMutability": "nonpayable",
526
+ "type": "function"
527
+ },
528
+ {
529
+ "constant": true,
530
+ "inputs": [],
531
+ "name": "getFeeDistribution",
532
+ "outputs": [
533
+ {
534
+ "name": "treasuryFeeBasisPoints",
535
+ "type": "uint16"
536
+ },
537
+ {
538
+ "name": "insuranceFeeBasisPoints",
539
+ "type": "uint16"
540
+ },
541
+ {
542
+ "name": "operatorsFeeBasisPoints",
543
+ "type": "uint16"
544
+ }
545
+ ],
546
+ "payable": false,
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "constant": false,
552
+ "inputs": [],
553
+ "name": "receiveWithdrawals",
554
+ "outputs": [],
555
+ "payable": true,
556
+ "stateMutability": "payable",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "constant": true,
561
+ "inputs": [
562
+ {
563
+ "name": "_sharesAmount",
564
+ "type": "uint256"
565
+ }
566
+ ],
567
+ "name": "getPooledEthByShares",
568
+ "outputs": [
569
+ {
570
+ "name": "",
571
+ "type": "uint256"
572
+ }
573
+ ],
574
+ "payable": false,
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
578
+ {
579
+ "constant": true,
580
+ "inputs": [
581
+ {
582
+ "name": "token",
583
+ "type": "address"
584
+ }
585
+ ],
586
+ "name": "allowRecoverability",
587
+ "outputs": [
588
+ {
589
+ "name": "",
590
+ "type": "bool"
591
+ }
592
+ ],
593
+ "payable": false,
594
+ "stateMutability": "view",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "constant": true,
599
+ "inputs": [
600
+ {
601
+ "name": "owner",
602
+ "type": "address"
603
+ }
604
+ ],
605
+ "name": "nonces",
606
+ "outputs": [
607
+ {
608
+ "name": "",
609
+ "type": "uint256"
610
+ }
611
+ ],
612
+ "payable": false,
613
+ "stateMutability": "view",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "constant": true,
618
+ "inputs": [],
619
+ "name": "appId",
620
+ "outputs": [
621
+ {
622
+ "name": "",
623
+ "type": "bytes32"
624
+ }
625
+ ],
626
+ "payable": false,
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "constant": true,
632
+ "inputs": [],
633
+ "name": "getOracle",
634
+ "outputs": [
635
+ {
636
+ "name": "",
637
+ "type": "address"
638
+ }
639
+ ],
640
+ "payable": false,
641
+ "stateMutability": "view",
642
+ "type": "function"
643
+ },
644
+ {
645
+ "constant": true,
646
+ "inputs": [],
647
+ "name": "eip712Domain",
648
+ "outputs": [
649
+ {
650
+ "name": "name",
651
+ "type": "string"
652
+ },
653
+ {
654
+ "name": "version",
655
+ "type": "string"
656
+ },
657
+ {
658
+ "name": "chainId",
659
+ "type": "uint256"
660
+ },
661
+ {
662
+ "name": "verifyingContract",
663
+ "type": "address"
664
+ }
665
+ ],
666
+ "payable": false,
667
+ "stateMutability": "view",
668
+ "type": "function"
669
+ },
670
+ {
671
+ "constant": true,
672
+ "inputs": [],
673
+ "name": "getContractVersion",
674
+ "outputs": [
675
+ {
676
+ "name": "",
677
+ "type": "uint256"
678
+ }
679
+ ],
680
+ "payable": false,
681
+ "stateMutability": "view",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "constant": true,
686
+ "inputs": [],
687
+ "name": "getInitializationBlock",
688
+ "outputs": [
689
+ {
690
+ "name": "",
691
+ "type": "uint256"
692
+ }
693
+ ],
694
+ "payable": false,
695
+ "stateMutability": "view",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "constant": false,
700
+ "inputs": [
701
+ {
702
+ "name": "_recipient",
703
+ "type": "address"
704
+ },
705
+ {
706
+ "name": "_sharesAmount",
707
+ "type": "uint256"
708
+ }
709
+ ],
710
+ "name": "transferShares",
711
+ "outputs": [
712
+ {
713
+ "name": "",
714
+ "type": "uint256"
715
+ }
716
+ ],
717
+ "payable": false,
718
+ "stateMutability": "nonpayable",
719
+ "type": "function"
720
+ },
721
+ {
722
+ "constant": true,
723
+ "inputs": [],
724
+ "name": "symbol",
725
+ "outputs": [
726
+ {
727
+ "name": "",
728
+ "type": "string"
729
+ }
730
+ ],
731
+ "payable": false,
732
+ "stateMutability": "pure",
733
+ "type": "function"
734
+ },
735
+ {
736
+ "constant": true,
737
+ "inputs": [],
738
+ "name": "getEIP712StETH",
739
+ "outputs": [
740
+ {
741
+ "name": "",
742
+ "type": "address"
743
+ }
744
+ ],
745
+ "payable": false,
746
+ "stateMutability": "view",
747
+ "type": "function"
748
+ },
749
+ {
750
+ "constant": false,
751
+ "inputs": [
752
+ {
753
+ "name": "",
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": "_referral",
795
+ "type": "address"
796
+ }
797
+ ],
798
+ "name": "submit",
799
+ "outputs": [
800
+ {
801
+ "name": "",
802
+ "type": "uint256"
803
+ }
804
+ ],
805
+ "payable": true,
806
+ "stateMutability": "payable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "constant": false,
811
+ "inputs": [
812
+ {
813
+ "name": "_spender",
814
+ "type": "address"
815
+ },
816
+ {
817
+ "name": "_subtractedValue",
818
+ "type": "uint256"
819
+ }
820
+ ],
821
+ "name": "decreaseAllowance",
822
+ "outputs": [
823
+ {
824
+ "name": "",
825
+ "type": "bool"
826
+ }
827
+ ],
828
+ "payable": false,
829
+ "stateMutability": "nonpayable",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "constant": true,
834
+ "inputs": [],
835
+ "name": "getEVMScriptRegistry",
836
+ "outputs": [
837
+ {
838
+ "name": "",
839
+ "type": "address"
840
+ }
841
+ ],
842
+ "payable": false,
843
+ "stateMutability": "view",
844
+ "type": "function"
845
+ },
846
+ {
847
+ "constant": false,
848
+ "inputs": [
849
+ {
850
+ "name": "_recipient",
851
+ "type": "address"
852
+ },
853
+ {
854
+ "name": "_amount",
855
+ "type": "uint256"
856
+ }
857
+ ],
858
+ "name": "transfer",
859
+ "outputs": [
860
+ {
861
+ "name": "",
862
+ "type": "bool"
863
+ }
864
+ ],
865
+ "payable": false,
866
+ "stateMutability": "nonpayable",
867
+ "type": "function"
868
+ },
869
+ {
870
+ "constant": false,
871
+ "inputs": [
872
+ {
873
+ "name": "_maxDepositsCount",
874
+ "type": "uint256"
875
+ },
876
+ {
877
+ "name": "_stakingModuleId",
878
+ "type": "uint256"
879
+ },
880
+ {
881
+ "name": "_depositCalldata",
882
+ "type": "bytes"
883
+ }
884
+ ],
885
+ "name": "deposit",
886
+ "outputs": [],
887
+ "payable": false,
888
+ "stateMutability": "nonpayable",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "constant": true,
893
+ "inputs": [],
894
+ "name": "UNSAFE_CHANGE_DEPOSITED_VALIDATORS_ROLE",
895
+ "outputs": [
896
+ {
897
+ "name": "",
898
+ "type": "bytes32"
899
+ }
900
+ ],
901
+ "payable": false,
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "constant": true,
907
+ "inputs": [],
908
+ "name": "getBeaconStat",
909
+ "outputs": [
910
+ {
911
+ "name": "depositedValidators",
912
+ "type": "uint256"
913
+ },
914
+ {
915
+ "name": "beaconValidators",
916
+ "type": "uint256"
917
+ },
918
+ {
919
+ "name": "beaconBalance",
920
+ "type": "uint256"
921
+ }
922
+ ],
923
+ "payable": false,
924
+ "stateMutability": "view",
925
+ "type": "function"
926
+ },
927
+ {
928
+ "constant": false,
929
+ "inputs": [],
930
+ "name": "removeStakingLimit",
931
+ "outputs": [],
932
+ "payable": false,
933
+ "stateMutability": "nonpayable",
934
+ "type": "function"
935
+ },
936
+ {
937
+ "constant": false,
938
+ "inputs": [
939
+ {
940
+ "name": "_reportTimestamp",
941
+ "type": "uint256"
942
+ },
943
+ {
944
+ "name": "_timeElapsed",
945
+ "type": "uint256"
946
+ },
947
+ {
948
+ "name": "_clValidators",
949
+ "type": "uint256"
950
+ },
951
+ {
952
+ "name": "_clBalance",
953
+ "type": "uint256"
954
+ },
955
+ {
956
+ "name": "_withdrawalVaultBalance",
957
+ "type": "uint256"
958
+ },
959
+ {
960
+ "name": "_elRewardsVaultBalance",
961
+ "type": "uint256"
962
+ },
963
+ {
964
+ "name": "_sharesRequestedToBurn",
965
+ "type": "uint256"
966
+ },
967
+ {
968
+ "name": "_withdrawalFinalizationBatches",
969
+ "type": "uint256[]"
970
+ },
971
+ {
972
+ "name": "_simulatedShareRate",
973
+ "type": "uint256"
974
+ }
975
+ ],
976
+ "name": "handleOracleReport",
977
+ "outputs": [
978
+ {
979
+ "name": "postRebaseAmounts",
980
+ "type": "uint256[4]"
981
+ }
982
+ ],
983
+ "payable": false,
984
+ "stateMutability": "nonpayable",
985
+ "type": "function"
986
+ },
987
+ {
988
+ "constant": true,
989
+ "inputs": [],
990
+ "name": "getFee",
991
+ "outputs": [
992
+ {
993
+ "name": "totalFee",
994
+ "type": "uint16"
995
+ }
996
+ ],
997
+ "payable": false,
998
+ "stateMutability": "view",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "constant": true,
1003
+ "inputs": [],
1004
+ "name": "kernel",
1005
+ "outputs": [
1006
+ {
1007
+ "name": "",
1008
+ "type": "address"
1009
+ }
1010
+ ],
1011
+ "payable": false,
1012
+ "stateMutability": "view",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "constant": true,
1017
+ "inputs": [],
1018
+ "name": "getTotalShares",
1019
+ "outputs": [
1020
+ {
1021
+ "name": "",
1022
+ "type": "uint256"
1023
+ }
1024
+ ],
1025
+ "payable": false,
1026
+ "stateMutability": "view",
1027
+ "type": "function"
1028
+ },
1029
+ {
1030
+ "constant": false,
1031
+ "inputs": [
1032
+ {
1033
+ "name": "_owner",
1034
+ "type": "address"
1035
+ },
1036
+ {
1037
+ "name": "_spender",
1038
+ "type": "address"
1039
+ },
1040
+ {
1041
+ "name": "_value",
1042
+ "type": "uint256"
1043
+ },
1044
+ {
1045
+ "name": "_deadline",
1046
+ "type": "uint256"
1047
+ },
1048
+ {
1049
+ "name": "_v",
1050
+ "type": "uint8"
1051
+ },
1052
+ {
1053
+ "name": "_r",
1054
+ "type": "bytes32"
1055
+ },
1056
+ {
1057
+ "name": "_s",
1058
+ "type": "bytes32"
1059
+ }
1060
+ ],
1061
+ "name": "permit",
1062
+ "outputs": [],
1063
+ "payable": false,
1064
+ "stateMutability": "nonpayable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "constant": true,
1069
+ "inputs": [
1070
+ {
1071
+ "name": "_owner",
1072
+ "type": "address"
1073
+ },
1074
+ {
1075
+ "name": "_spender",
1076
+ "type": "address"
1077
+ }
1078
+ ],
1079
+ "name": "allowance",
1080
+ "outputs": [
1081
+ {
1082
+ "name": "",
1083
+ "type": "uint256"
1084
+ }
1085
+ ],
1086
+ "payable": false,
1087
+ "stateMutability": "view",
1088
+ "type": "function"
1089
+ },
1090
+ {
1091
+ "constant": true,
1092
+ "inputs": [],
1093
+ "name": "isPetrified",
1094
+ "outputs": [
1095
+ {
1096
+ "name": "",
1097
+ "type": "bool"
1098
+ }
1099
+ ],
1100
+ "payable": false,
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ },
1104
+ {
1105
+ "constant": true,
1106
+ "inputs": [],
1107
+ "name": "getLidoLocator",
1108
+ "outputs": [
1109
+ {
1110
+ "name": "",
1111
+ "type": "address"
1112
+ }
1113
+ ],
1114
+ "payable": false,
1115
+ "stateMutability": "view",
1116
+ "type": "function"
1117
+ },
1118
+ {
1119
+ "constant": true,
1120
+ "inputs": [],
1121
+ "name": "canDeposit",
1122
+ "outputs": [
1123
+ {
1124
+ "name": "",
1125
+ "type": "bool"
1126
+ }
1127
+ ],
1128
+ "payable": false,
1129
+ "stateMutability": "view",
1130
+ "type": "function"
1131
+ },
1132
+ {
1133
+ "constant": true,
1134
+ "inputs": [],
1135
+ "name": "STAKING_PAUSE_ROLE",
1136
+ "outputs": [
1137
+ {
1138
+ "name": "",
1139
+ "type": "bytes32"
1140
+ }
1141
+ ],
1142
+ "payable": false,
1143
+ "stateMutability": "view",
1144
+ "type": "function"
1145
+ },
1146
+ {
1147
+ "constant": true,
1148
+ "inputs": [],
1149
+ "name": "getDepositableEther",
1150
+ "outputs": [
1151
+ {
1152
+ "name": "",
1153
+ "type": "uint256"
1154
+ }
1155
+ ],
1156
+ "payable": false,
1157
+ "stateMutability": "view",
1158
+ "type": "function"
1159
+ },
1160
+ {
1161
+ "constant": true,
1162
+ "inputs": [
1163
+ {
1164
+ "name": "_account",
1165
+ "type": "address"
1166
+ }
1167
+ ],
1168
+ "name": "sharesOf",
1169
+ "outputs": [
1170
+ {
1171
+ "name": "",
1172
+ "type": "uint256"
1173
+ }
1174
+ ],
1175
+ "payable": false,
1176
+ "stateMutability": "view",
1177
+ "type": "function"
1178
+ },
1179
+ {
1180
+ "constant": false,
1181
+ "inputs": [],
1182
+ "name": "pauseStaking",
1183
+ "outputs": [],
1184
+ "payable": false,
1185
+ "stateMutability": "nonpayable",
1186
+ "type": "function"
1187
+ },
1188
+ {
1189
+ "constant": true,
1190
+ "inputs": [],
1191
+ "name": "getTotalELRewardsCollected",
1192
+ "outputs": [
1193
+ {
1194
+ "name": "",
1195
+ "type": "uint256"
1196
+ }
1197
+ ],
1198
+ "payable": false,
1199
+ "stateMutability": "view",
1200
+ "type": "function"
1201
+ },
1202
+ {
1203
+ "payable": true,
1204
+ "stateMutability": "payable",
1205
+ "type": "fallback"
1206
+ },
1207
+ {
1208
+ "anonymous": false,
1209
+ "inputs": [],
1210
+ "name": "StakingPaused",
1211
+ "type": "event"
1212
+ },
1213
+ {
1214
+ "anonymous": false,
1215
+ "inputs": [],
1216
+ "name": "StakingResumed",
1217
+ "type": "event"
1218
+ },
1219
+ {
1220
+ "anonymous": false,
1221
+ "inputs": [
1222
+ {
1223
+ "indexed": false,
1224
+ "name": "maxStakeLimit",
1225
+ "type": "uint256"
1226
+ },
1227
+ {
1228
+ "indexed": false,
1229
+ "name": "stakeLimitIncreasePerBlock",
1230
+ "type": "uint256"
1231
+ }
1232
+ ],
1233
+ "name": "StakingLimitSet",
1234
+ "type": "event"
1235
+ },
1236
+ {
1237
+ "anonymous": false,
1238
+ "inputs": [],
1239
+ "name": "StakingLimitRemoved",
1240
+ "type": "event"
1241
+ },
1242
+ {
1243
+ "anonymous": false,
1244
+ "inputs": [
1245
+ {
1246
+ "indexed": true,
1247
+ "name": "reportTimestamp",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "indexed": false,
1252
+ "name": "preCLValidators",
1253
+ "type": "uint256"
1254
+ },
1255
+ {
1256
+ "indexed": false,
1257
+ "name": "postCLValidators",
1258
+ "type": "uint256"
1259
+ }
1260
+ ],
1261
+ "name": "CLValidatorsUpdated",
1262
+ "type": "event"
1263
+ },
1264
+ {
1265
+ "anonymous": false,
1266
+ "inputs": [
1267
+ {
1268
+ "indexed": false,
1269
+ "name": "depositedValidators",
1270
+ "type": "uint256"
1271
+ }
1272
+ ],
1273
+ "name": "DepositedValidatorsChanged",
1274
+ "type": "event"
1275
+ },
1276
+ {
1277
+ "anonymous": false,
1278
+ "inputs": [
1279
+ {
1280
+ "indexed": true,
1281
+ "name": "reportTimestamp",
1282
+ "type": "uint256"
1283
+ },
1284
+ {
1285
+ "indexed": false,
1286
+ "name": "preCLBalance",
1287
+ "type": "uint256"
1288
+ },
1289
+ {
1290
+ "indexed": false,
1291
+ "name": "postCLBalance",
1292
+ "type": "uint256"
1293
+ },
1294
+ {
1295
+ "indexed": false,
1296
+ "name": "withdrawalsWithdrawn",
1297
+ "type": "uint256"
1298
+ },
1299
+ {
1300
+ "indexed": false,
1301
+ "name": "executionLayerRewardsWithdrawn",
1302
+ "type": "uint256"
1303
+ },
1304
+ {
1305
+ "indexed": false,
1306
+ "name": "postBufferedEther",
1307
+ "type": "uint256"
1308
+ }
1309
+ ],
1310
+ "name": "ETHDistributed",
1311
+ "type": "event"
1312
+ },
1313
+ {
1314
+ "anonymous": false,
1315
+ "inputs": [
1316
+ {
1317
+ "indexed": true,
1318
+ "name": "reportTimestamp",
1319
+ "type": "uint256"
1320
+ },
1321
+ {
1322
+ "indexed": false,
1323
+ "name": "timeElapsed",
1324
+ "type": "uint256"
1325
+ },
1326
+ {
1327
+ "indexed": false,
1328
+ "name": "preTotalShares",
1329
+ "type": "uint256"
1330
+ },
1331
+ {
1332
+ "indexed": false,
1333
+ "name": "preTotalEther",
1334
+ "type": "uint256"
1335
+ },
1336
+ {
1337
+ "indexed": false,
1338
+ "name": "postTotalShares",
1339
+ "type": "uint256"
1340
+ },
1341
+ {
1342
+ "indexed": false,
1343
+ "name": "postTotalEther",
1344
+ "type": "uint256"
1345
+ },
1346
+ {
1347
+ "indexed": false,
1348
+ "name": "sharesMintedAsFees",
1349
+ "type": "uint256"
1350
+ }
1351
+ ],
1352
+ "name": "TokenRebased",
1353
+ "type": "event"
1354
+ },
1355
+ {
1356
+ "anonymous": false,
1357
+ "inputs": [
1358
+ {
1359
+ "indexed": false,
1360
+ "name": "lidoLocator",
1361
+ "type": "address"
1362
+ }
1363
+ ],
1364
+ "name": "LidoLocatorSet",
1365
+ "type": "event"
1366
+ },
1367
+ {
1368
+ "anonymous": false,
1369
+ "inputs": [
1370
+ {
1371
+ "indexed": false,
1372
+ "name": "amount",
1373
+ "type": "uint256"
1374
+ }
1375
+ ],
1376
+ "name": "ELRewardsReceived",
1377
+ "type": "event"
1378
+ },
1379
+ {
1380
+ "anonymous": false,
1381
+ "inputs": [
1382
+ {
1383
+ "indexed": false,
1384
+ "name": "amount",
1385
+ "type": "uint256"
1386
+ }
1387
+ ],
1388
+ "name": "WithdrawalsReceived",
1389
+ "type": "event"
1390
+ },
1391
+ {
1392
+ "anonymous": false,
1393
+ "inputs": [
1394
+ {
1395
+ "indexed": true,
1396
+ "name": "sender",
1397
+ "type": "address"
1398
+ },
1399
+ {
1400
+ "indexed": false,
1401
+ "name": "amount",
1402
+ "type": "uint256"
1403
+ },
1404
+ {
1405
+ "indexed": false,
1406
+ "name": "referral",
1407
+ "type": "address"
1408
+ }
1409
+ ],
1410
+ "name": "Submitted",
1411
+ "type": "event"
1412
+ },
1413
+ {
1414
+ "anonymous": false,
1415
+ "inputs": [
1416
+ {
1417
+ "indexed": false,
1418
+ "name": "amount",
1419
+ "type": "uint256"
1420
+ }
1421
+ ],
1422
+ "name": "Unbuffered",
1423
+ "type": "event"
1424
+ },
1425
+ {
1426
+ "anonymous": false,
1427
+ "inputs": [
1428
+ {
1429
+ "indexed": true,
1430
+ "name": "executor",
1431
+ "type": "address"
1432
+ },
1433
+ {
1434
+ "indexed": false,
1435
+ "name": "script",
1436
+ "type": "bytes"
1437
+ },
1438
+ {
1439
+ "indexed": false,
1440
+ "name": "input",
1441
+ "type": "bytes"
1442
+ },
1443
+ {
1444
+ "indexed": false,
1445
+ "name": "returnData",
1446
+ "type": "bytes"
1447
+ }
1448
+ ],
1449
+ "name": "ScriptResult",
1450
+ "type": "event"
1451
+ },
1452
+ {
1453
+ "anonymous": false,
1454
+ "inputs": [
1455
+ {
1456
+ "indexed": true,
1457
+ "name": "vault",
1458
+ "type": "address"
1459
+ },
1460
+ {
1461
+ "indexed": true,
1462
+ "name": "token",
1463
+ "type": "address"
1464
+ },
1465
+ {
1466
+ "indexed": false,
1467
+ "name": "amount",
1468
+ "type": "uint256"
1469
+ }
1470
+ ],
1471
+ "name": "RecoverToVault",
1472
+ "type": "event"
1473
+ },
1474
+ {
1475
+ "anonymous": false,
1476
+ "inputs": [
1477
+ {
1478
+ "indexed": false,
1479
+ "name": "eip712StETH",
1480
+ "type": "address"
1481
+ }
1482
+ ],
1483
+ "name": "EIP712StETHInitialized",
1484
+ "type": "event"
1485
+ },
1486
+ {
1487
+ "anonymous": false,
1488
+ "inputs": [
1489
+ {
1490
+ "indexed": true,
1491
+ "name": "from",
1492
+ "type": "address"
1493
+ },
1494
+ {
1495
+ "indexed": true,
1496
+ "name": "to",
1497
+ "type": "address"
1498
+ },
1499
+ {
1500
+ "indexed": false,
1501
+ "name": "sharesValue",
1502
+ "type": "uint256"
1503
+ }
1504
+ ],
1505
+ "name": "TransferShares",
1506
+ "type": "event"
1507
+ },
1508
+ {
1509
+ "anonymous": false,
1510
+ "inputs": [
1511
+ {
1512
+ "indexed": true,
1513
+ "name": "account",
1514
+ "type": "address"
1515
+ },
1516
+ {
1517
+ "indexed": false,
1518
+ "name": "preRebaseTokenAmount",
1519
+ "type": "uint256"
1520
+ },
1521
+ {
1522
+ "indexed": false,
1523
+ "name": "postRebaseTokenAmount",
1524
+ "type": "uint256"
1525
+ },
1526
+ {
1527
+ "indexed": false,
1528
+ "name": "sharesAmount",
1529
+ "type": "uint256"
1530
+ }
1531
+ ],
1532
+ "name": "SharesBurnt",
1533
+ "type": "event"
1534
+ },
1535
+ {
1536
+ "anonymous": false,
1537
+ "inputs": [],
1538
+ "name": "Stopped",
1539
+ "type": "event"
1540
+ },
1541
+ {
1542
+ "anonymous": false,
1543
+ "inputs": [],
1544
+ "name": "Resumed",
1545
+ "type": "event"
1546
+ },
1547
+ {
1548
+ "anonymous": false,
1549
+ "inputs": [
1550
+ {
1551
+ "indexed": true,
1552
+ "name": "from",
1553
+ "type": "address"
1554
+ },
1555
+ {
1556
+ "indexed": true,
1557
+ "name": "to",
1558
+ "type": "address"
1559
+ },
1560
+ {
1561
+ "indexed": false,
1562
+ "name": "value",
1563
+ "type": "uint256"
1564
+ }
1565
+ ],
1566
+ "name": "Transfer",
1567
+ "type": "event"
1568
+ },
1569
+ {
1570
+ "anonymous": false,
1571
+ "inputs": [
1572
+ {
1573
+ "indexed": true,
1574
+ "name": "owner",
1575
+ "type": "address"
1576
+ },
1577
+ {
1578
+ "indexed": true,
1579
+ "name": "spender",
1580
+ "type": "address"
1581
+ },
1582
+ {
1583
+ "indexed": false,
1584
+ "name": "value",
1585
+ "type": "uint256"
1586
+ }
1587
+ ],
1588
+ "name": "Approval",
1589
+ "type": "event"
1590
+ },
1591
+ {
1592
+ "anonymous": false,
1593
+ "inputs": [
1594
+ {
1595
+ "indexed": false,
1596
+ "name": "version",
1597
+ "type": "uint256"
1598
+ }
1599
+ ],
1600
+ "name": "ContractVersionSet",
1601
+ "type": "event"
1602
+ }
1603
+ ]
1604
+ ''')