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,1327 @@
1
+ import json
2
+
3
+ LIDO_ORACLE_REPORT_SANITY_CHECKER_ABI = json.loads('''
4
+ [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "_lidoLocator",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "address",
14
+ "name": "_admin",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "components": [
19
+ {
20
+ "internalType": "uint256",
21
+ "name": "churnValidatorsPerDayLimit",
22
+ "type": "uint256"
23
+ },
24
+ {
25
+ "internalType": "uint256",
26
+ "name": "oneOffCLBalanceDecreaseBPLimit",
27
+ "type": "uint256"
28
+ },
29
+ {
30
+ "internalType": "uint256",
31
+ "name": "annualBalanceIncreaseBPLimit",
32
+ "type": "uint256"
33
+ },
34
+ {
35
+ "internalType": "uint256",
36
+ "name": "simulatedShareRateDeviationBPLimit",
37
+ "type": "uint256"
38
+ },
39
+ {
40
+ "internalType": "uint256",
41
+ "name": "maxValidatorExitRequestsPerReport",
42
+ "type": "uint256"
43
+ },
44
+ {
45
+ "internalType": "uint256",
46
+ "name": "maxAccountingExtraDataListItemsCount",
47
+ "type": "uint256"
48
+ },
49
+ {
50
+ "internalType": "uint256",
51
+ "name": "maxNodeOperatorsPerExtraDataItemCount",
52
+ "type": "uint256"
53
+ },
54
+ {
55
+ "internalType": "uint256",
56
+ "name": "requestTimestampMargin",
57
+ "type": "uint256"
58
+ },
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "maxPositiveTokenRebase",
62
+ "type": "uint256"
63
+ }
64
+ ],
65
+ "internalType": "struct LimitsList",
66
+ "name": "_limitsList",
67
+ "type": "tuple"
68
+ },
69
+ {
70
+ "components": [
71
+ {
72
+ "internalType": "address[]",
73
+ "name": "allLimitsManagers",
74
+ "type": "address[]"
75
+ },
76
+ {
77
+ "internalType": "address[]",
78
+ "name": "churnValidatorsPerDayLimitManagers",
79
+ "type": "address[]"
80
+ },
81
+ {
82
+ "internalType": "address[]",
83
+ "name": "oneOffCLBalanceDecreaseLimitManagers",
84
+ "type": "address[]"
85
+ },
86
+ {
87
+ "internalType": "address[]",
88
+ "name": "annualBalanceIncreaseLimitManagers",
89
+ "type": "address[]"
90
+ },
91
+ {
92
+ "internalType": "address[]",
93
+ "name": "shareRateDeviationLimitManagers",
94
+ "type": "address[]"
95
+ },
96
+ {
97
+ "internalType": "address[]",
98
+ "name": "maxValidatorExitRequestsPerReportManagers",
99
+ "type": "address[]"
100
+ },
101
+ {
102
+ "internalType": "address[]",
103
+ "name": "maxAccountingExtraDataListItemsCountManagers",
104
+ "type": "address[]"
105
+ },
106
+ {
107
+ "internalType": "address[]",
108
+ "name": "maxNodeOperatorsPerExtraDataItemCountManagers",
109
+ "type": "address[]"
110
+ },
111
+ {
112
+ "internalType": "address[]",
113
+ "name": "requestTimestampMarginManagers",
114
+ "type": "address[]"
115
+ },
116
+ {
117
+ "internalType": "address[]",
118
+ "name": "maxPositiveTokenRebaseManagers",
119
+ "type": "address[]"
120
+ }
121
+ ],
122
+ "internalType": "struct OracleReportSanityChecker.ManagersRoster",
123
+ "name": "_managersRoster",
124
+ "type": "tuple"
125
+ }
126
+ ],
127
+ "stateMutability": "nonpayable",
128
+ "type": "constructor"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "ActualShareRateIsZero",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "AdminCannotBeZero",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "limitPerDay",
145
+ "type": "uint256"
146
+ },
147
+ {
148
+ "internalType": "uint256",
149
+ "name": "exitedPerDay",
150
+ "type": "uint256"
151
+ }
152
+ ],
153
+ "name": "ExitedValidatorsLimitExceeded",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "churnLimit",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "IncorrectAppearedValidators",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "oneOffCLBalanceDecreaseBP",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "IncorrectCLBalanceDecrease",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "annualBalanceDiff",
183
+ "type": "uint256"
184
+ }
185
+ ],
186
+ "name": "IncorrectCLBalanceIncrease",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "actualELRewardsVaultBalance",
194
+ "type": "uint256"
195
+ }
196
+ ],
197
+ "name": "IncorrectELRewardsVaultBalance",
198
+ "type": "error"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "uint256",
204
+ "name": "churnLimit",
205
+ "type": "uint256"
206
+ }
207
+ ],
208
+ "name": "IncorrectExitedValidators",
209
+ "type": "error"
210
+ },
211
+ {
212
+ "inputs": [
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "value",
216
+ "type": "uint256"
217
+ },
218
+ {
219
+ "internalType": "uint256",
220
+ "name": "minAllowedValue",
221
+ "type": "uint256"
222
+ },
223
+ {
224
+ "internalType": "uint256",
225
+ "name": "maxAllowedValue",
226
+ "type": "uint256"
227
+ }
228
+ ],
229
+ "name": "IncorrectLimitValue",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [
234
+ {
235
+ "internalType": "uint256",
236
+ "name": "maxRequestsCount",
237
+ "type": "uint256"
238
+ }
239
+ ],
240
+ "name": "IncorrectNumberOfExitRequestsPerReport",
241
+ "type": "error"
242
+ },
243
+ {
244
+ "inputs": [
245
+ {
246
+ "internalType": "uint256",
247
+ "name": "requestCreationBlock",
248
+ "type": "uint256"
249
+ }
250
+ ],
251
+ "name": "IncorrectRequestFinalization",
252
+ "type": "error"
253
+ },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "internalType": "uint256",
258
+ "name": "actualSharesToBurn",
259
+ "type": "uint256"
260
+ }
261
+ ],
262
+ "name": "IncorrectSharesRequestedToBurn",
263
+ "type": "error"
264
+ },
265
+ {
266
+ "inputs": [
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "simulatedShareRate",
270
+ "type": "uint256"
271
+ },
272
+ {
273
+ "internalType": "uint256",
274
+ "name": "actualShareRate",
275
+ "type": "uint256"
276
+ }
277
+ ],
278
+ "name": "IncorrectSimulatedShareRate",
279
+ "type": "error"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "uint256",
285
+ "name": "actualWithdrawalVaultBalance",
286
+ "type": "uint256"
287
+ }
288
+ ],
289
+ "name": "IncorrectWithdrawalsVaultBalance",
290
+ "type": "error"
291
+ },
292
+ {
293
+ "inputs": [
294
+ {
295
+ "internalType": "uint256",
296
+ "name": "maxItemsCount",
297
+ "type": "uint256"
298
+ },
299
+ {
300
+ "internalType": "uint256",
301
+ "name": "receivedItemsCount",
302
+ "type": "uint256"
303
+ }
304
+ ],
305
+ "name": "MaxAccountingExtraDataItemsCountExceeded",
306
+ "type": "error"
307
+ },
308
+ {
309
+ "inputs": [],
310
+ "name": "NegativeTotalPooledEther",
311
+ "type": "error"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "TooHighTokenRebaseLimit",
316
+ "type": "error"
317
+ },
318
+ {
319
+ "inputs": [],
320
+ "name": "TooLowTokenRebaseLimit",
321
+ "type": "error"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "itemIndex",
328
+ "type": "uint256"
329
+ },
330
+ {
331
+ "internalType": "uint256",
332
+ "name": "nodeOpsCount",
333
+ "type": "uint256"
334
+ }
335
+ ],
336
+ "name": "TooManyNodeOpsPerExtraDataItem",
337
+ "type": "error"
338
+ },
339
+ {
340
+ "anonymous": false,
341
+ "inputs": [
342
+ {
343
+ "indexed": false,
344
+ "internalType": "uint256",
345
+ "name": "annualBalanceIncreaseBPLimit",
346
+ "type": "uint256"
347
+ }
348
+ ],
349
+ "name": "AnnualBalanceIncreaseBPLimitSet",
350
+ "type": "event"
351
+ },
352
+ {
353
+ "anonymous": false,
354
+ "inputs": [
355
+ {
356
+ "indexed": false,
357
+ "internalType": "uint256",
358
+ "name": "churnValidatorsPerDayLimit",
359
+ "type": "uint256"
360
+ }
361
+ ],
362
+ "name": "ChurnValidatorsPerDayLimitSet",
363
+ "type": "event"
364
+ },
365
+ {
366
+ "anonymous": false,
367
+ "inputs": [
368
+ {
369
+ "indexed": false,
370
+ "internalType": "uint256",
371
+ "name": "maxAccountingExtraDataListItemsCount",
372
+ "type": "uint256"
373
+ }
374
+ ],
375
+ "name": "MaxAccountingExtraDataListItemsCountSet",
376
+ "type": "event"
377
+ },
378
+ {
379
+ "anonymous": false,
380
+ "inputs": [
381
+ {
382
+ "indexed": false,
383
+ "internalType": "uint256",
384
+ "name": "maxNodeOperatorsPerExtraDataItemCount",
385
+ "type": "uint256"
386
+ }
387
+ ],
388
+ "name": "MaxNodeOperatorsPerExtraDataItemCountSet",
389
+ "type": "event"
390
+ },
391
+ {
392
+ "anonymous": false,
393
+ "inputs": [
394
+ {
395
+ "indexed": false,
396
+ "internalType": "uint256",
397
+ "name": "maxPositiveTokenRebase",
398
+ "type": "uint256"
399
+ }
400
+ ],
401
+ "name": "MaxPositiveTokenRebaseSet",
402
+ "type": "event"
403
+ },
404
+ {
405
+ "anonymous": false,
406
+ "inputs": [
407
+ {
408
+ "indexed": false,
409
+ "internalType": "uint256",
410
+ "name": "maxValidatorExitRequestsPerReport",
411
+ "type": "uint256"
412
+ }
413
+ ],
414
+ "name": "MaxValidatorExitRequestsPerReportSet",
415
+ "type": "event"
416
+ },
417
+ {
418
+ "anonymous": false,
419
+ "inputs": [
420
+ {
421
+ "indexed": false,
422
+ "internalType": "uint256",
423
+ "name": "oneOffCLBalanceDecreaseBPLimit",
424
+ "type": "uint256"
425
+ }
426
+ ],
427
+ "name": "OneOffCLBalanceDecreaseBPLimitSet",
428
+ "type": "event"
429
+ },
430
+ {
431
+ "anonymous": false,
432
+ "inputs": [
433
+ {
434
+ "indexed": false,
435
+ "internalType": "uint256",
436
+ "name": "requestTimestampMargin",
437
+ "type": "uint256"
438
+ }
439
+ ],
440
+ "name": "RequestTimestampMarginSet",
441
+ "type": "event"
442
+ },
443
+ {
444
+ "anonymous": false,
445
+ "inputs": [
446
+ {
447
+ "indexed": true,
448
+ "internalType": "bytes32",
449
+ "name": "role",
450
+ "type": "bytes32"
451
+ },
452
+ {
453
+ "indexed": true,
454
+ "internalType": "bytes32",
455
+ "name": "previousAdminRole",
456
+ "type": "bytes32"
457
+ },
458
+ {
459
+ "indexed": true,
460
+ "internalType": "bytes32",
461
+ "name": "newAdminRole",
462
+ "type": "bytes32"
463
+ }
464
+ ],
465
+ "name": "RoleAdminChanged",
466
+ "type": "event"
467
+ },
468
+ {
469
+ "anonymous": false,
470
+ "inputs": [
471
+ {
472
+ "indexed": true,
473
+ "internalType": "bytes32",
474
+ "name": "role",
475
+ "type": "bytes32"
476
+ },
477
+ {
478
+ "indexed": true,
479
+ "internalType": "address",
480
+ "name": "account",
481
+ "type": "address"
482
+ },
483
+ {
484
+ "indexed": true,
485
+ "internalType": "address",
486
+ "name": "sender",
487
+ "type": "address"
488
+ }
489
+ ],
490
+ "name": "RoleGranted",
491
+ "type": "event"
492
+ },
493
+ {
494
+ "anonymous": false,
495
+ "inputs": [
496
+ {
497
+ "indexed": true,
498
+ "internalType": "bytes32",
499
+ "name": "role",
500
+ "type": "bytes32"
501
+ },
502
+ {
503
+ "indexed": true,
504
+ "internalType": "address",
505
+ "name": "account",
506
+ "type": "address"
507
+ },
508
+ {
509
+ "indexed": true,
510
+ "internalType": "address",
511
+ "name": "sender",
512
+ "type": "address"
513
+ }
514
+ ],
515
+ "name": "RoleRevoked",
516
+ "type": "event"
517
+ },
518
+ {
519
+ "anonymous": false,
520
+ "inputs": [
521
+ {
522
+ "indexed": false,
523
+ "internalType": "uint256",
524
+ "name": "simulatedShareRateDeviationBPLimit",
525
+ "type": "uint256"
526
+ }
527
+ ],
528
+ "name": "SimulatedShareRateDeviationBPLimitSet",
529
+ "type": "event"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "ALL_LIMITS_MANAGER_ROLE",
534
+ "outputs": [
535
+ {
536
+ "internalType": "bytes32",
537
+ "name": "",
538
+ "type": "bytes32"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [],
546
+ "name": "ANNUAL_BALANCE_INCREASE_LIMIT_MANAGER_ROLE",
547
+ "outputs": [
548
+ {
549
+ "internalType": "bytes32",
550
+ "name": "",
551
+ "type": "bytes32"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "CHURN_VALIDATORS_PER_DAY_LIMIT_MANAGER_ROLE",
560
+ "outputs": [
561
+ {
562
+ "internalType": "bytes32",
563
+ "name": "",
564
+ "type": "bytes32"
565
+ }
566
+ ],
567
+ "stateMutability": "view",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [],
572
+ "name": "DEFAULT_ADMIN_ROLE",
573
+ "outputs": [
574
+ {
575
+ "internalType": "bytes32",
576
+ "name": "",
577
+ "type": "bytes32"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [],
585
+ "name": "MAX_ACCOUNTING_EXTRA_DATA_LIST_ITEMS_COUNT_ROLE",
586
+ "outputs": [
587
+ {
588
+ "internalType": "bytes32",
589
+ "name": "",
590
+ "type": "bytes32"
591
+ }
592
+ ],
593
+ "stateMutability": "view",
594
+ "type": "function"
595
+ },
596
+ {
597
+ "inputs": [],
598
+ "name": "MAX_NODE_OPERATORS_PER_EXTRA_DATA_ITEM_COUNT_ROLE",
599
+ "outputs": [
600
+ {
601
+ "internalType": "bytes32",
602
+ "name": "",
603
+ "type": "bytes32"
604
+ }
605
+ ],
606
+ "stateMutability": "view",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [],
611
+ "name": "MAX_POSITIVE_TOKEN_REBASE_MANAGER_ROLE",
612
+ "outputs": [
613
+ {
614
+ "internalType": "bytes32",
615
+ "name": "",
616
+ "type": "bytes32"
617
+ }
618
+ ],
619
+ "stateMutability": "view",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [],
624
+ "name": "MAX_VALIDATOR_EXIT_REQUESTS_PER_REPORT_ROLE",
625
+ "outputs": [
626
+ {
627
+ "internalType": "bytes32",
628
+ "name": "",
629
+ "type": "bytes32"
630
+ }
631
+ ],
632
+ "stateMutability": "view",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [],
637
+ "name": "ONE_OFF_CL_BALANCE_DECREASE_LIMIT_MANAGER_ROLE",
638
+ "outputs": [
639
+ {
640
+ "internalType": "bytes32",
641
+ "name": "",
642
+ "type": "bytes32"
643
+ }
644
+ ],
645
+ "stateMutability": "view",
646
+ "type": "function"
647
+ },
648
+ {
649
+ "inputs": [],
650
+ "name": "REQUEST_TIMESTAMP_MARGIN_MANAGER_ROLE",
651
+ "outputs": [
652
+ {
653
+ "internalType": "bytes32",
654
+ "name": "",
655
+ "type": "bytes32"
656
+ }
657
+ ],
658
+ "stateMutability": "view",
659
+ "type": "function"
660
+ },
661
+ {
662
+ "inputs": [],
663
+ "name": "SHARE_RATE_DEVIATION_LIMIT_MANAGER_ROLE",
664
+ "outputs": [
665
+ {
666
+ "internalType": "bytes32",
667
+ "name": "",
668
+ "type": "bytes32"
669
+ }
670
+ ],
671
+ "stateMutability": "view",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "_extraDataListItemsCount",
679
+ "type": "uint256"
680
+ }
681
+ ],
682
+ "name": "checkAccountingExtraDataListItemsCount",
683
+ "outputs": [],
684
+ "stateMutability": "view",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [
689
+ {
690
+ "internalType": "uint256",
691
+ "name": "_timeElapsed",
692
+ "type": "uint256"
693
+ },
694
+ {
695
+ "internalType": "uint256",
696
+ "name": "_preCLBalance",
697
+ "type": "uint256"
698
+ },
699
+ {
700
+ "internalType": "uint256",
701
+ "name": "_postCLBalance",
702
+ "type": "uint256"
703
+ },
704
+ {
705
+ "internalType": "uint256",
706
+ "name": "_withdrawalVaultBalance",
707
+ "type": "uint256"
708
+ },
709
+ {
710
+ "internalType": "uint256",
711
+ "name": "_elRewardsVaultBalance",
712
+ "type": "uint256"
713
+ },
714
+ {
715
+ "internalType": "uint256",
716
+ "name": "_sharesRequestedToBurn",
717
+ "type": "uint256"
718
+ },
719
+ {
720
+ "internalType": "uint256",
721
+ "name": "_preCLValidators",
722
+ "type": "uint256"
723
+ },
724
+ {
725
+ "internalType": "uint256",
726
+ "name": "_postCLValidators",
727
+ "type": "uint256"
728
+ }
729
+ ],
730
+ "name": "checkAccountingOracleReport",
731
+ "outputs": [],
732
+ "stateMutability": "view",
733
+ "type": "function"
734
+ },
735
+ {
736
+ "inputs": [
737
+ {
738
+ "internalType": "uint256",
739
+ "name": "_exitRequestsCount",
740
+ "type": "uint256"
741
+ }
742
+ ],
743
+ "name": "checkExitBusOracleReport",
744
+ "outputs": [],
745
+ "stateMutability": "view",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [
750
+ {
751
+ "internalType": "uint256",
752
+ "name": "_exitedValidatorsCount",
753
+ "type": "uint256"
754
+ }
755
+ ],
756
+ "name": "checkExitedValidatorsRatePerDay",
757
+ "outputs": [],
758
+ "stateMutability": "view",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "_itemIndex",
766
+ "type": "uint256"
767
+ },
768
+ {
769
+ "internalType": "uint256",
770
+ "name": "_nodeOperatorsCount",
771
+ "type": "uint256"
772
+ }
773
+ ],
774
+ "name": "checkNodeOperatorsPerExtraDataItemCount",
775
+ "outputs": [],
776
+ "stateMutability": "view",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [
781
+ {
782
+ "internalType": "uint256",
783
+ "name": "_postTotalPooledEther",
784
+ "type": "uint256"
785
+ },
786
+ {
787
+ "internalType": "uint256",
788
+ "name": "_postTotalShares",
789
+ "type": "uint256"
790
+ },
791
+ {
792
+ "internalType": "uint256",
793
+ "name": "_etherLockedOnWithdrawalQueue",
794
+ "type": "uint256"
795
+ },
796
+ {
797
+ "internalType": "uint256",
798
+ "name": "_sharesBurntDueToWithdrawals",
799
+ "type": "uint256"
800
+ },
801
+ {
802
+ "internalType": "uint256",
803
+ "name": "_simulatedShareRate",
804
+ "type": "uint256"
805
+ }
806
+ ],
807
+ "name": "checkSimulatedShareRate",
808
+ "outputs": [],
809
+ "stateMutability": "view",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "inputs": [
814
+ {
815
+ "internalType": "uint256",
816
+ "name": "_lastFinalizableRequestId",
817
+ "type": "uint256"
818
+ },
819
+ {
820
+ "internalType": "uint256",
821
+ "name": "_reportTimestamp",
822
+ "type": "uint256"
823
+ }
824
+ ],
825
+ "name": "checkWithdrawalQueueOracleReport",
826
+ "outputs": [],
827
+ "stateMutability": "view",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [],
832
+ "name": "getLidoLocator",
833
+ "outputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "",
837
+ "type": "address"
838
+ }
839
+ ],
840
+ "stateMutability": "view",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [],
845
+ "name": "getMaxPositiveTokenRebase",
846
+ "outputs": [
847
+ {
848
+ "internalType": "uint256",
849
+ "name": "",
850
+ "type": "uint256"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [],
858
+ "name": "getOracleReportLimits",
859
+ "outputs": [
860
+ {
861
+ "components": [
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "churnValidatorsPerDayLimit",
865
+ "type": "uint256"
866
+ },
867
+ {
868
+ "internalType": "uint256",
869
+ "name": "oneOffCLBalanceDecreaseBPLimit",
870
+ "type": "uint256"
871
+ },
872
+ {
873
+ "internalType": "uint256",
874
+ "name": "annualBalanceIncreaseBPLimit",
875
+ "type": "uint256"
876
+ },
877
+ {
878
+ "internalType": "uint256",
879
+ "name": "simulatedShareRateDeviationBPLimit",
880
+ "type": "uint256"
881
+ },
882
+ {
883
+ "internalType": "uint256",
884
+ "name": "maxValidatorExitRequestsPerReport",
885
+ "type": "uint256"
886
+ },
887
+ {
888
+ "internalType": "uint256",
889
+ "name": "maxAccountingExtraDataListItemsCount",
890
+ "type": "uint256"
891
+ },
892
+ {
893
+ "internalType": "uint256",
894
+ "name": "maxNodeOperatorsPerExtraDataItemCount",
895
+ "type": "uint256"
896
+ },
897
+ {
898
+ "internalType": "uint256",
899
+ "name": "requestTimestampMargin",
900
+ "type": "uint256"
901
+ },
902
+ {
903
+ "internalType": "uint256",
904
+ "name": "maxPositiveTokenRebase",
905
+ "type": "uint256"
906
+ }
907
+ ],
908
+ "internalType": "struct LimitsList",
909
+ "name": "",
910
+ "type": "tuple"
911
+ }
912
+ ],
913
+ "stateMutability": "view",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [
918
+ {
919
+ "internalType": "bytes32",
920
+ "name": "role",
921
+ "type": "bytes32"
922
+ }
923
+ ],
924
+ "name": "getRoleAdmin",
925
+ "outputs": [
926
+ {
927
+ "internalType": "bytes32",
928
+ "name": "",
929
+ "type": "bytes32"
930
+ }
931
+ ],
932
+ "stateMutability": "view",
933
+ "type": "function"
934
+ },
935
+ {
936
+ "inputs": [
937
+ {
938
+ "internalType": "bytes32",
939
+ "name": "role",
940
+ "type": "bytes32"
941
+ },
942
+ {
943
+ "internalType": "uint256",
944
+ "name": "index",
945
+ "type": "uint256"
946
+ }
947
+ ],
948
+ "name": "getRoleMember",
949
+ "outputs": [
950
+ {
951
+ "internalType": "address",
952
+ "name": "",
953
+ "type": "address"
954
+ }
955
+ ],
956
+ "stateMutability": "view",
957
+ "type": "function"
958
+ },
959
+ {
960
+ "inputs": [
961
+ {
962
+ "internalType": "bytes32",
963
+ "name": "role",
964
+ "type": "bytes32"
965
+ }
966
+ ],
967
+ "name": "getRoleMemberCount",
968
+ "outputs": [
969
+ {
970
+ "internalType": "uint256",
971
+ "name": "",
972
+ "type": "uint256"
973
+ }
974
+ ],
975
+ "stateMutability": "view",
976
+ "type": "function"
977
+ },
978
+ {
979
+ "inputs": [
980
+ {
981
+ "internalType": "bytes32",
982
+ "name": "role",
983
+ "type": "bytes32"
984
+ },
985
+ {
986
+ "internalType": "address",
987
+ "name": "account",
988
+ "type": "address"
989
+ }
990
+ ],
991
+ "name": "grantRole",
992
+ "outputs": [],
993
+ "stateMutability": "nonpayable",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "inputs": [
998
+ {
999
+ "internalType": "bytes32",
1000
+ "name": "role",
1001
+ "type": "bytes32"
1002
+ },
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "account",
1006
+ "type": "address"
1007
+ }
1008
+ ],
1009
+ "name": "hasRole",
1010
+ "outputs": [
1011
+ {
1012
+ "internalType": "bool",
1013
+ "name": "",
1014
+ "type": "bool"
1015
+ }
1016
+ ],
1017
+ "stateMutability": "view",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1022
+ {
1023
+ "internalType": "bytes32",
1024
+ "name": "role",
1025
+ "type": "bytes32"
1026
+ },
1027
+ {
1028
+ "internalType": "address",
1029
+ "name": "account",
1030
+ "type": "address"
1031
+ }
1032
+ ],
1033
+ "name": "renounceRole",
1034
+ "outputs": [],
1035
+ "stateMutability": "nonpayable",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "bytes32",
1042
+ "name": "role",
1043
+ "type": "bytes32"
1044
+ },
1045
+ {
1046
+ "internalType": "address",
1047
+ "name": "account",
1048
+ "type": "address"
1049
+ }
1050
+ ],
1051
+ "name": "revokeRole",
1052
+ "outputs": [],
1053
+ "stateMutability": "nonpayable",
1054
+ "type": "function"
1055
+ },
1056
+ {
1057
+ "inputs": [
1058
+ {
1059
+ "internalType": "uint256",
1060
+ "name": "_annualBalanceIncreaseBPLimit",
1061
+ "type": "uint256"
1062
+ }
1063
+ ],
1064
+ "name": "setAnnualBalanceIncreaseBPLimit",
1065
+ "outputs": [],
1066
+ "stateMutability": "nonpayable",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [
1071
+ {
1072
+ "internalType": "uint256",
1073
+ "name": "_churnValidatorsPerDayLimit",
1074
+ "type": "uint256"
1075
+ }
1076
+ ],
1077
+ "name": "setChurnValidatorsPerDayLimit",
1078
+ "outputs": [],
1079
+ "stateMutability": "nonpayable",
1080
+ "type": "function"
1081
+ },
1082
+ {
1083
+ "inputs": [
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "_maxAccountingExtraDataListItemsCount",
1087
+ "type": "uint256"
1088
+ }
1089
+ ],
1090
+ "name": "setMaxAccountingExtraDataListItemsCount",
1091
+ "outputs": [],
1092
+ "stateMutability": "nonpayable",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "internalType": "uint256",
1099
+ "name": "_maxValidatorExitRequestsPerReport",
1100
+ "type": "uint256"
1101
+ }
1102
+ ],
1103
+ "name": "setMaxExitRequestsPerOracleReport",
1104
+ "outputs": [],
1105
+ "stateMutability": "nonpayable",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "inputs": [
1110
+ {
1111
+ "internalType": "uint256",
1112
+ "name": "_maxNodeOperatorsPerExtraDataItemCount",
1113
+ "type": "uint256"
1114
+ }
1115
+ ],
1116
+ "name": "setMaxNodeOperatorsPerExtraDataItemCount",
1117
+ "outputs": [],
1118
+ "stateMutability": "nonpayable",
1119
+ "type": "function"
1120
+ },
1121
+ {
1122
+ "inputs": [
1123
+ {
1124
+ "internalType": "uint256",
1125
+ "name": "_maxPositiveTokenRebase",
1126
+ "type": "uint256"
1127
+ }
1128
+ ],
1129
+ "name": "setMaxPositiveTokenRebase",
1130
+ "outputs": [],
1131
+ "stateMutability": "nonpayable",
1132
+ "type": "function"
1133
+ },
1134
+ {
1135
+ "inputs": [
1136
+ {
1137
+ "internalType": "uint256",
1138
+ "name": "_oneOffCLBalanceDecreaseBPLimit",
1139
+ "type": "uint256"
1140
+ }
1141
+ ],
1142
+ "name": "setOneOffCLBalanceDecreaseBPLimit",
1143
+ "outputs": [],
1144
+ "stateMutability": "nonpayable",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [
1149
+ {
1150
+ "components": [
1151
+ {
1152
+ "internalType": "uint256",
1153
+ "name": "churnValidatorsPerDayLimit",
1154
+ "type": "uint256"
1155
+ },
1156
+ {
1157
+ "internalType": "uint256",
1158
+ "name": "oneOffCLBalanceDecreaseBPLimit",
1159
+ "type": "uint256"
1160
+ },
1161
+ {
1162
+ "internalType": "uint256",
1163
+ "name": "annualBalanceIncreaseBPLimit",
1164
+ "type": "uint256"
1165
+ },
1166
+ {
1167
+ "internalType": "uint256",
1168
+ "name": "simulatedShareRateDeviationBPLimit",
1169
+ "type": "uint256"
1170
+ },
1171
+ {
1172
+ "internalType": "uint256",
1173
+ "name": "maxValidatorExitRequestsPerReport",
1174
+ "type": "uint256"
1175
+ },
1176
+ {
1177
+ "internalType": "uint256",
1178
+ "name": "maxAccountingExtraDataListItemsCount",
1179
+ "type": "uint256"
1180
+ },
1181
+ {
1182
+ "internalType": "uint256",
1183
+ "name": "maxNodeOperatorsPerExtraDataItemCount",
1184
+ "type": "uint256"
1185
+ },
1186
+ {
1187
+ "internalType": "uint256",
1188
+ "name": "requestTimestampMargin",
1189
+ "type": "uint256"
1190
+ },
1191
+ {
1192
+ "internalType": "uint256",
1193
+ "name": "maxPositiveTokenRebase",
1194
+ "type": "uint256"
1195
+ }
1196
+ ],
1197
+ "internalType": "struct LimitsList",
1198
+ "name": "_limitsList",
1199
+ "type": "tuple"
1200
+ }
1201
+ ],
1202
+ "name": "setOracleReportLimits",
1203
+ "outputs": [],
1204
+ "stateMutability": "nonpayable",
1205
+ "type": "function"
1206
+ },
1207
+ {
1208
+ "inputs": [
1209
+ {
1210
+ "internalType": "uint256",
1211
+ "name": "_requestTimestampMargin",
1212
+ "type": "uint256"
1213
+ }
1214
+ ],
1215
+ "name": "setRequestTimestampMargin",
1216
+ "outputs": [],
1217
+ "stateMutability": "nonpayable",
1218
+ "type": "function"
1219
+ },
1220
+ {
1221
+ "inputs": [
1222
+ {
1223
+ "internalType": "uint256",
1224
+ "name": "_simulatedShareRateDeviationBPLimit",
1225
+ "type": "uint256"
1226
+ }
1227
+ ],
1228
+ "name": "setSimulatedShareRateDeviationBPLimit",
1229
+ "outputs": [],
1230
+ "stateMutability": "nonpayable",
1231
+ "type": "function"
1232
+ },
1233
+ {
1234
+ "inputs": [
1235
+ {
1236
+ "internalType": "uint256",
1237
+ "name": "_preTotalPooledEther",
1238
+ "type": "uint256"
1239
+ },
1240
+ {
1241
+ "internalType": "uint256",
1242
+ "name": "_preTotalShares",
1243
+ "type": "uint256"
1244
+ },
1245
+ {
1246
+ "internalType": "uint256",
1247
+ "name": "_preCLBalance",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "internalType": "uint256",
1252
+ "name": "_postCLBalance",
1253
+ "type": "uint256"
1254
+ },
1255
+ {
1256
+ "internalType": "uint256",
1257
+ "name": "_withdrawalVaultBalance",
1258
+ "type": "uint256"
1259
+ },
1260
+ {
1261
+ "internalType": "uint256",
1262
+ "name": "_elRewardsVaultBalance",
1263
+ "type": "uint256"
1264
+ },
1265
+ {
1266
+ "internalType": "uint256",
1267
+ "name": "_sharesRequestedToBurn",
1268
+ "type": "uint256"
1269
+ },
1270
+ {
1271
+ "internalType": "uint256",
1272
+ "name": "_etherToLockForWithdrawals",
1273
+ "type": "uint256"
1274
+ },
1275
+ {
1276
+ "internalType": "uint256",
1277
+ "name": "_newSharesToBurnForWithdrawals",
1278
+ "type": "uint256"
1279
+ }
1280
+ ],
1281
+ "name": "smoothenTokenRebase",
1282
+ "outputs": [
1283
+ {
1284
+ "internalType": "uint256",
1285
+ "name": "withdrawals",
1286
+ "type": "uint256"
1287
+ },
1288
+ {
1289
+ "internalType": "uint256",
1290
+ "name": "elRewards",
1291
+ "type": "uint256"
1292
+ },
1293
+ {
1294
+ "internalType": "uint256",
1295
+ "name": "simulatedSharesToBurn",
1296
+ "type": "uint256"
1297
+ },
1298
+ {
1299
+ "internalType": "uint256",
1300
+ "name": "sharesToBurn",
1301
+ "type": "uint256"
1302
+ }
1303
+ ],
1304
+ "stateMutability": "view",
1305
+ "type": "function"
1306
+ },
1307
+ {
1308
+ "inputs": [
1309
+ {
1310
+ "internalType": "bytes4",
1311
+ "name": "interfaceId",
1312
+ "type": "bytes4"
1313
+ }
1314
+ ],
1315
+ "name": "supportsInterface",
1316
+ "outputs": [
1317
+ {
1318
+ "internalType": "bool",
1319
+ "name": "",
1320
+ "type": "bool"
1321
+ }
1322
+ ],
1323
+ "stateMutability": "view",
1324
+ "type": "function"
1325
+ }
1326
+ ]
1327
+ ''')