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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/vault/lido/__init__.py +0 -0
  3. defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
  4. defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
  5. defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
  6. defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
  7. defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
  8. defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
  9. defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
  10. defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
  11. defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
  12. defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
  13. defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
  14. defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
  15. defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
  16. defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
  17. defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
  18. defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
  19. defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
  20. defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
  21. defi_services/abis/vault/lido/lido_burner.py +698 -0
  22. defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
  23. defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
  24. defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
  25. defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
  26. defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
  27. defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
  28. defi_services/abis/vault/lido/lido_dao.py +623 -0
  29. defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
  30. defi_services/abis/vault/lido/lido_dao_token.py +590 -0
  31. defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
  32. defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
  33. defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
  34. defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
  35. defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
  36. defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
  37. defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
  38. defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
  39. defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
  40. defi_services/abis/vault/lido/lido_locator.py +357 -0
  41. defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
  42. defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
  43. defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
  44. defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
  45. defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
  46. defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
  47. defi_services/abis/vault/lido/lido_steth.py +1604 -0
  48. defi_services/abis/vault/lido/lido_stonks.py +744 -0
  49. defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
  50. defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
  51. defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
  52. defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
  53. defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
  54. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
  55. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
  56. defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
  57. defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
  58. defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
  59. defi_services/abis/vault/lido/lido_wsteth.py +481 -0
  60. defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
  61. defi_services/services/token_services.py +1 -1
  62. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/METADATA +1 -1
  63. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +66 -7
  64. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
  65. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
  66. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,755 @@
1
+ import json
2
+
3
+ LIDO_ARAGON_ACL_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": "_app",
24
+ "type": "address"
25
+ },
26
+ {
27
+ "name": "_role",
28
+ "type": "bytes32"
29
+ }
30
+ ],
31
+ "name": "createBurnedPermission",
32
+ "outputs": [],
33
+ "payable": false,
34
+ "stateMutability": "nonpayable",
35
+ "type": "function"
36
+ },
37
+ {
38
+ "constant": false,
39
+ "inputs": [
40
+ {
41
+ "name": "_app",
42
+ "type": "address"
43
+ },
44
+ {
45
+ "name": "_role",
46
+ "type": "bytes32"
47
+ }
48
+ ],
49
+ "name": "burnPermissionManager",
50
+ "outputs": [],
51
+ "payable": false,
52
+ "stateMutability": "nonpayable",
53
+ "type": "function"
54
+ },
55
+ {
56
+ "constant": false,
57
+ "inputs": [
58
+ {
59
+ "name": "_entity",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "name": "_app",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "name": "_role",
68
+ "type": "bytes32"
69
+ }
70
+ ],
71
+ "name": "grantPermission",
72
+ "outputs": [],
73
+ "payable": false,
74
+ "stateMutability": "nonpayable",
75
+ "type": "function"
76
+ },
77
+ {
78
+ "constant": true,
79
+ "inputs": [
80
+ {
81
+ "name": "_entity",
82
+ "type": "address"
83
+ },
84
+ {
85
+ "name": "_app",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "name": "_role",
90
+ "type": "bytes32"
91
+ }
92
+ ],
93
+ "name": "getPermissionParamsLength",
94
+ "outputs": [
95
+ {
96
+ "name": "",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "payable": false,
101
+ "stateMutability": "view",
102
+ "type": "function"
103
+ },
104
+ {
105
+ "constant": true,
106
+ "inputs": [
107
+ {
108
+ "name": "_paramsHash",
109
+ "type": "bytes32"
110
+ },
111
+ {
112
+ "name": "_who",
113
+ "type": "address"
114
+ },
115
+ {
116
+ "name": "_where",
117
+ "type": "address"
118
+ },
119
+ {
120
+ "name": "_what",
121
+ "type": "bytes32"
122
+ },
123
+ {
124
+ "name": "_how",
125
+ "type": "uint256[]"
126
+ }
127
+ ],
128
+ "name": "evalParams",
129
+ "outputs": [
130
+ {
131
+ "name": "",
132
+ "type": "bool"
133
+ }
134
+ ],
135
+ "payable": false,
136
+ "stateMutability": "view",
137
+ "type": "function"
138
+ },
139
+ {
140
+ "constant": true,
141
+ "inputs": [],
142
+ "name": "NO_PERMISSION",
143
+ "outputs": [
144
+ {
145
+ "name": "",
146
+ "type": "bytes32"
147
+ }
148
+ ],
149
+ "payable": false,
150
+ "stateMutability": "view",
151
+ "type": "function"
152
+ },
153
+ {
154
+ "constant": true,
155
+ "inputs": [
156
+ {
157
+ "name": "_script",
158
+ "type": "bytes"
159
+ }
160
+ ],
161
+ "name": "getEVMScriptExecutor",
162
+ "outputs": [
163
+ {
164
+ "name": "",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "payable": false,
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "constant": true,
174
+ "inputs": [],
175
+ "name": "getRecoveryVault",
176
+ "outputs": [
177
+ {
178
+ "name": "",
179
+ "type": "address"
180
+ }
181
+ ],
182
+ "payable": false,
183
+ "stateMutability": "view",
184
+ "type": "function"
185
+ },
186
+ {
187
+ "constant": true,
188
+ "inputs": [],
189
+ "name": "CREATE_PERMISSIONS_ROLE",
190
+ "outputs": [
191
+ {
192
+ "name": "",
193
+ "type": "bytes32"
194
+ }
195
+ ],
196
+ "payable": false,
197
+ "stateMutability": "view",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "constant": false,
202
+ "inputs": [
203
+ {
204
+ "name": "_entity",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "name": "_app",
209
+ "type": "address"
210
+ },
211
+ {
212
+ "name": "_role",
213
+ "type": "bytes32"
214
+ },
215
+ {
216
+ "name": "_params",
217
+ "type": "uint256[]"
218
+ }
219
+ ],
220
+ "name": "grantPermissionP",
221
+ "outputs": [],
222
+ "payable": false,
223
+ "stateMutability": "nonpayable",
224
+ "type": "function"
225
+ },
226
+ {
227
+ "constant": true,
228
+ "inputs": [
229
+ {
230
+ "name": "_who",
231
+ "type": "address"
232
+ },
233
+ {
234
+ "name": "_where",
235
+ "type": "address"
236
+ },
237
+ {
238
+ "name": "_what",
239
+ "type": "bytes32"
240
+ }
241
+ ],
242
+ "name": "hasPermission",
243
+ "outputs": [
244
+ {
245
+ "name": "",
246
+ "type": "bool"
247
+ }
248
+ ],
249
+ "payable": false,
250
+ "stateMutability": "view",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "constant": true,
255
+ "inputs": [
256
+ {
257
+ "name": "token",
258
+ "type": "address"
259
+ }
260
+ ],
261
+ "name": "allowRecoverability",
262
+ "outputs": [
263
+ {
264
+ "name": "",
265
+ "type": "bool"
266
+ }
267
+ ],
268
+ "payable": false,
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "constant": true,
274
+ "inputs": [],
275
+ "name": "appId",
276
+ "outputs": [
277
+ {
278
+ "name": "",
279
+ "type": "bytes32"
280
+ }
281
+ ],
282
+ "payable": false,
283
+ "stateMutability": "view",
284
+ "type": "function"
285
+ },
286
+ {
287
+ "constant": true,
288
+ "inputs": [],
289
+ "name": "getInitializationBlock",
290
+ "outputs": [
291
+ {
292
+ "name": "",
293
+ "type": "uint256"
294
+ }
295
+ ],
296
+ "payable": false,
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "constant": false,
302
+ "inputs": [
303
+ {
304
+ "name": "_entity",
305
+ "type": "address"
306
+ },
307
+ {
308
+ "name": "_app",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "name": "_role",
313
+ "type": "bytes32"
314
+ }
315
+ ],
316
+ "name": "revokePermission",
317
+ "outputs": [],
318
+ "payable": false,
319
+ "stateMutability": "nonpayable",
320
+ "type": "function"
321
+ },
322
+ {
323
+ "constant": false,
324
+ "inputs": [
325
+ {
326
+ "name": "_token",
327
+ "type": "address"
328
+ }
329
+ ],
330
+ "name": "transferToVault",
331
+ "outputs": [],
332
+ "payable": false,
333
+ "stateMutability": "nonpayable",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "constant": true,
338
+ "inputs": [
339
+ {
340
+ "name": "_entity",
341
+ "type": "address"
342
+ },
343
+ {
344
+ "name": "_app",
345
+ "type": "address"
346
+ },
347
+ {
348
+ "name": "_role",
349
+ "type": "bytes32"
350
+ },
351
+ {
352
+ "name": "_index",
353
+ "type": "uint256"
354
+ }
355
+ ],
356
+ "name": "getPermissionParam",
357
+ "outputs": [
358
+ {
359
+ "name": "",
360
+ "type": "uint8"
361
+ },
362
+ {
363
+ "name": "",
364
+ "type": "uint8"
365
+ },
366
+ {
367
+ "name": "",
368
+ "type": "uint240"
369
+ }
370
+ ],
371
+ "payable": false,
372
+ "stateMutability": "view",
373
+ "type": "function"
374
+ },
375
+ {
376
+ "constant": true,
377
+ "inputs": [
378
+ {
379
+ "name": "_sender",
380
+ "type": "address"
381
+ },
382
+ {
383
+ "name": "_role",
384
+ "type": "bytes32"
385
+ },
386
+ {
387
+ "name": "_params",
388
+ "type": "uint256[]"
389
+ }
390
+ ],
391
+ "name": "canPerform",
392
+ "outputs": [
393
+ {
394
+ "name": "",
395
+ "type": "bool"
396
+ }
397
+ ],
398
+ "payable": false,
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "constant": true,
404
+ "inputs": [],
405
+ "name": "getEVMScriptRegistry",
406
+ "outputs": [
407
+ {
408
+ "name": "",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "payable": false,
413
+ "stateMutability": "view",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "constant": true,
418
+ "inputs": [],
419
+ "name": "ANY_ENTITY",
420
+ "outputs": [
421
+ {
422
+ "name": "",
423
+ "type": "address"
424
+ }
425
+ ],
426
+ "payable": false,
427
+ "stateMutability": "view",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "constant": false,
432
+ "inputs": [
433
+ {
434
+ "name": "_app",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "name": "_role",
439
+ "type": "bytes32"
440
+ }
441
+ ],
442
+ "name": "removePermissionManager",
443
+ "outputs": [],
444
+ "payable": false,
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "constant": false,
450
+ "inputs": [
451
+ {
452
+ "name": "_newManager",
453
+ "type": "address"
454
+ },
455
+ {
456
+ "name": "_app",
457
+ "type": "address"
458
+ },
459
+ {
460
+ "name": "_role",
461
+ "type": "bytes32"
462
+ }
463
+ ],
464
+ "name": "setPermissionManager",
465
+ "outputs": [],
466
+ "payable": false,
467
+ "stateMutability": "nonpayable",
468
+ "type": "function"
469
+ },
470
+ {
471
+ "constant": true,
472
+ "inputs": [
473
+ {
474
+ "name": "_app",
475
+ "type": "address"
476
+ },
477
+ {
478
+ "name": "_role",
479
+ "type": "bytes32"
480
+ }
481
+ ],
482
+ "name": "getPermissionManager",
483
+ "outputs": [
484
+ {
485
+ "name": "",
486
+ "type": "address"
487
+ }
488
+ ],
489
+ "payable": false,
490
+ "stateMutability": "view",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "constant": false,
495
+ "inputs": [
496
+ {
497
+ "name": "_entity",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "name": "_app",
502
+ "type": "address"
503
+ },
504
+ {
505
+ "name": "_role",
506
+ "type": "bytes32"
507
+ },
508
+ {
509
+ "name": "_manager",
510
+ "type": "address"
511
+ }
512
+ ],
513
+ "name": "createPermission",
514
+ "outputs": [],
515
+ "payable": false,
516
+ "stateMutability": "nonpayable",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "constant": false,
521
+ "inputs": [
522
+ {
523
+ "name": "_permissionsCreator",
524
+ "type": "address"
525
+ }
526
+ ],
527
+ "name": "initialize",
528
+ "outputs": [],
529
+ "payable": false,
530
+ "stateMutability": "nonpayable",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "constant": true,
535
+ "inputs": [],
536
+ "name": "EMPTY_PARAM_HASH",
537
+ "outputs": [
538
+ {
539
+ "name": "",
540
+ "type": "bytes32"
541
+ }
542
+ ],
543
+ "payable": false,
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "constant": true,
549
+ "inputs": [],
550
+ "name": "kernel",
551
+ "outputs": [
552
+ {
553
+ "name": "",
554
+ "type": "address"
555
+ }
556
+ ],
557
+ "payable": false,
558
+ "stateMutability": "view",
559
+ "type": "function"
560
+ },
561
+ {
562
+ "constant": true,
563
+ "inputs": [],
564
+ "name": "isPetrified",
565
+ "outputs": [
566
+ {
567
+ "name": "",
568
+ "type": "bool"
569
+ }
570
+ ],
571
+ "payable": false,
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "constant": true,
577
+ "inputs": [],
578
+ "name": "BURN_ENTITY",
579
+ "outputs": [
580
+ {
581
+ "name": "",
582
+ "type": "address"
583
+ }
584
+ ],
585
+ "payable": false,
586
+ "stateMutability": "view",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "constant": true,
591
+ "inputs": [
592
+ {
593
+ "name": "_who",
594
+ "type": "address"
595
+ },
596
+ {
597
+ "name": "_where",
598
+ "type": "address"
599
+ },
600
+ {
601
+ "name": "_what",
602
+ "type": "bytes32"
603
+ },
604
+ {
605
+ "name": "_how",
606
+ "type": "uint256[]"
607
+ }
608
+ ],
609
+ "name": "hasPermission",
610
+ "outputs": [
611
+ {
612
+ "name": "",
613
+ "type": "bool"
614
+ }
615
+ ],
616
+ "payable": false,
617
+ "stateMutability": "view",
618
+ "type": "function"
619
+ },
620
+ {
621
+ "constant": true,
622
+ "inputs": [
623
+ {
624
+ "name": "_who",
625
+ "type": "address"
626
+ },
627
+ {
628
+ "name": "_where",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "name": "_what",
633
+ "type": "bytes32"
634
+ },
635
+ {
636
+ "name": "_how",
637
+ "type": "bytes"
638
+ }
639
+ ],
640
+ "name": "hasPermission",
641
+ "outputs": [
642
+ {
643
+ "name": "",
644
+ "type": "bool"
645
+ }
646
+ ],
647
+ "payable": false,
648
+ "stateMutability": "view",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "anonymous": false,
653
+ "inputs": [
654
+ {
655
+ "indexed": true,
656
+ "name": "entity",
657
+ "type": "address"
658
+ },
659
+ {
660
+ "indexed": true,
661
+ "name": "app",
662
+ "type": "address"
663
+ },
664
+ {
665
+ "indexed": true,
666
+ "name": "role",
667
+ "type": "bytes32"
668
+ },
669
+ {
670
+ "indexed": false,
671
+ "name": "allowed",
672
+ "type": "bool"
673
+ }
674
+ ],
675
+ "name": "SetPermission",
676
+ "type": "event"
677
+ },
678
+ {
679
+ "anonymous": false,
680
+ "inputs": [
681
+ {
682
+ "indexed": true,
683
+ "name": "entity",
684
+ "type": "address"
685
+ },
686
+ {
687
+ "indexed": true,
688
+ "name": "app",
689
+ "type": "address"
690
+ },
691
+ {
692
+ "indexed": true,
693
+ "name": "role",
694
+ "type": "bytes32"
695
+ },
696
+ {
697
+ "indexed": false,
698
+ "name": "paramsHash",
699
+ "type": "bytes32"
700
+ }
701
+ ],
702
+ "name": "SetPermissionParams",
703
+ "type": "event"
704
+ },
705
+ {
706
+ "anonymous": false,
707
+ "inputs": [
708
+ {
709
+ "indexed": true,
710
+ "name": "app",
711
+ "type": "address"
712
+ },
713
+ {
714
+ "indexed": true,
715
+ "name": "role",
716
+ "type": "bytes32"
717
+ },
718
+ {
719
+ "indexed": true,
720
+ "name": "manager",
721
+ "type": "address"
722
+ }
723
+ ],
724
+ "name": "ChangePermissionManager",
725
+ "type": "event"
726
+ },
727
+ {
728
+ "anonymous": false,
729
+ "inputs": [
730
+ {
731
+ "indexed": true,
732
+ "name": "executor",
733
+ "type": "address"
734
+ },
735
+ {
736
+ "indexed": false,
737
+ "name": "script",
738
+ "type": "bytes"
739
+ },
740
+ {
741
+ "indexed": false,
742
+ "name": "input",
743
+ "type": "bytes"
744
+ },
745
+ {
746
+ "indexed": false,
747
+ "name": "returnData",
748
+ "type": "bytes"
749
+ }
750
+ ],
751
+ "name": "ScriptResult",
752
+ "type": "event"
753
+ }
754
+ ]
755
+ ''')