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,759 @@
1
+ import json
2
+
3
+ LIDO_ARAGON_TOKEN_MANAGER_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": true,
21
+ "inputs": [],
22
+ "name": "MAX_VESTINGS_PER_ADDRESS",
23
+ "outputs": [
24
+ {
25
+ "name": "",
26
+ "type": "uint256"
27
+ }
28
+ ],
29
+ "payable": false,
30
+ "stateMutability": "view",
31
+ "type": "function"
32
+ },
33
+ {
34
+ "constant": true,
35
+ "inputs": [
36
+ {
37
+ "name": "_holder",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "spendableBalanceOf",
42
+ "outputs": [
43
+ {
44
+ "name": "",
45
+ "type": "uint256"
46
+ }
47
+ ],
48
+ "payable": false,
49
+ "stateMutability": "view",
50
+ "type": "function"
51
+ },
52
+ {
53
+ "constant": false,
54
+ "inputs": [
55
+ {
56
+ "name": "_receiver",
57
+ "type": "address"
58
+ },
59
+ {
60
+ "name": "_amount",
61
+ "type": "uint256"
62
+ },
63
+ {
64
+ "name": "_start",
65
+ "type": "uint64"
66
+ },
67
+ {
68
+ "name": "_cliff",
69
+ "type": "uint64"
70
+ },
71
+ {
72
+ "name": "_vested",
73
+ "type": "uint64"
74
+ },
75
+ {
76
+ "name": "_revokable",
77
+ "type": "bool"
78
+ }
79
+ ],
80
+ "name": "assignVested",
81
+ "outputs": [
82
+ {
83
+ "name": "",
84
+ "type": "uint256"
85
+ }
86
+ ],
87
+ "payable": false,
88
+ "stateMutability": "nonpayable",
89
+ "type": "function"
90
+ },
91
+ {
92
+ "constant": true,
93
+ "inputs": [
94
+ {
95
+ "name": "_script",
96
+ "type": "bytes"
97
+ }
98
+ ],
99
+ "name": "getEVMScriptExecutor",
100
+ "outputs": [
101
+ {
102
+ "name": "",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "payable": false,
107
+ "stateMutability": "view",
108
+ "type": "function"
109
+ },
110
+ {
111
+ "constant": true,
112
+ "inputs": [],
113
+ "name": "getRecoveryVault",
114
+ "outputs": [
115
+ {
116
+ "name": "",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "payable": false,
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ },
124
+ {
125
+ "constant": true,
126
+ "inputs": [
127
+ {
128
+ "name": "_recipient",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "name": "_vestingId",
133
+ "type": "uint256"
134
+ }
135
+ ],
136
+ "name": "getVesting",
137
+ "outputs": [
138
+ {
139
+ "name": "amount",
140
+ "type": "uint256"
141
+ },
142
+ {
143
+ "name": "start",
144
+ "type": "uint64"
145
+ },
146
+ {
147
+ "name": "cliff",
148
+ "type": "uint64"
149
+ },
150
+ {
151
+ "name": "vesting",
152
+ "type": "uint64"
153
+ },
154
+ {
155
+ "name": "revokable",
156
+ "type": "bool"
157
+ }
158
+ ],
159
+ "payable": false,
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "constant": false,
165
+ "inputs": [
166
+ {
167
+ "name": "_receiver",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "name": "_amount",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "mint",
176
+ "outputs": [],
177
+ "payable": false,
178
+ "stateMutability": "nonpayable",
179
+ "type": "function"
180
+ },
181
+ {
182
+ "constant": false,
183
+ "inputs": [
184
+ {
185
+ "name": "_from",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "name": "_to",
190
+ "type": "address"
191
+ },
192
+ {
193
+ "name": "_amount",
194
+ "type": "uint256"
195
+ }
196
+ ],
197
+ "name": "onTransfer",
198
+ "outputs": [
199
+ {
200
+ "name": "",
201
+ "type": "bool"
202
+ }
203
+ ],
204
+ "payable": false,
205
+ "stateMutability": "nonpayable",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "constant": true,
210
+ "inputs": [
211
+ {
212
+ "name": "_holder",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "name": "_time",
217
+ "type": "uint256"
218
+ }
219
+ ],
220
+ "name": "transferableBalance",
221
+ "outputs": [
222
+ {
223
+ "name": "",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "payable": false,
228
+ "stateMutability": "view",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "constant": true,
233
+ "inputs": [
234
+ {
235
+ "name": "_token",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "allowRecoverability",
240
+ "outputs": [
241
+ {
242
+ "name": "",
243
+ "type": "bool"
244
+ }
245
+ ],
246
+ "payable": false,
247
+ "stateMutability": "view",
248
+ "type": "function"
249
+ },
250
+ {
251
+ "constant": true,
252
+ "inputs": [],
253
+ "name": "appId",
254
+ "outputs": [
255
+ {
256
+ "name": "",
257
+ "type": "bytes32"
258
+ }
259
+ ],
260
+ "payable": false,
261
+ "stateMutability": "view",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "constant": true,
266
+ "inputs": [],
267
+ "name": "ISSUE_ROLE",
268
+ "outputs": [
269
+ {
270
+ "name": "",
271
+ "type": "bytes32"
272
+ }
273
+ ],
274
+ "payable": false,
275
+ "stateMutability": "view",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "constant": true,
280
+ "inputs": [],
281
+ "name": "getInitializationBlock",
282
+ "outputs": [
283
+ {
284
+ "name": "",
285
+ "type": "uint256"
286
+ }
287
+ ],
288
+ "payable": false,
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "constant": true,
294
+ "inputs": [
295
+ {
296
+ "name": "",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "name": "vestingsLengths",
301
+ "outputs": [
302
+ {
303
+ "name": "",
304
+ "type": "uint256"
305
+ }
306
+ ],
307
+ "payable": false,
308
+ "stateMutability": "view",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "constant": false,
313
+ "inputs": [
314
+ {
315
+ "name": "_token",
316
+ "type": "address"
317
+ }
318
+ ],
319
+ "name": "transferToVault",
320
+ "outputs": [],
321
+ "payable": false,
322
+ "stateMutability": "nonpayable",
323
+ "type": "function"
324
+ },
325
+ {
326
+ "constant": false,
327
+ "inputs": [
328
+ {
329
+ "name": "_holder",
330
+ "type": "address"
331
+ },
332
+ {
333
+ "name": "_amount",
334
+ "type": "uint256"
335
+ }
336
+ ],
337
+ "name": "burn",
338
+ "outputs": [],
339
+ "payable": false,
340
+ "stateMutability": "nonpayable",
341
+ "type": "function"
342
+ },
343
+ {
344
+ "constant": true,
345
+ "inputs": [
346
+ {
347
+ "name": "_sender",
348
+ "type": "address"
349
+ },
350
+ {
351
+ "name": "_role",
352
+ "type": "bytes32"
353
+ },
354
+ {
355
+ "name": "_params",
356
+ "type": "uint256[]"
357
+ }
358
+ ],
359
+ "name": "canPerform",
360
+ "outputs": [
361
+ {
362
+ "name": "",
363
+ "type": "bool"
364
+ }
365
+ ],
366
+ "payable": false,
367
+ "stateMutability": "view",
368
+ "type": "function"
369
+ },
370
+ {
371
+ "constant": true,
372
+ "inputs": [],
373
+ "name": "getEVMScriptRegistry",
374
+ "outputs": [
375
+ {
376
+ "name": "",
377
+ "type": "address"
378
+ }
379
+ ],
380
+ "payable": false,
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "constant": true,
386
+ "inputs": [],
387
+ "name": "ASSIGN_ROLE",
388
+ "outputs": [
389
+ {
390
+ "name": "",
391
+ "type": "bytes32"
392
+ }
393
+ ],
394
+ "payable": false,
395
+ "stateMutability": "view",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "constant": true,
400
+ "inputs": [],
401
+ "name": "BURN_ROLE",
402
+ "outputs": [
403
+ {
404
+ "name": "",
405
+ "type": "bytes32"
406
+ }
407
+ ],
408
+ "payable": false,
409
+ "stateMutability": "view",
410
+ "type": "function"
411
+ },
412
+ {
413
+ "constant": false,
414
+ "inputs": [
415
+ {
416
+ "name": "_receiver",
417
+ "type": "address"
418
+ },
419
+ {
420
+ "name": "_amount",
421
+ "type": "uint256"
422
+ }
423
+ ],
424
+ "name": "assign",
425
+ "outputs": [],
426
+ "payable": false,
427
+ "stateMutability": "nonpayable",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "constant": true,
432
+ "inputs": [
433
+ {
434
+ "name": "_sender",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "name": "",
439
+ "type": "bytes"
440
+ }
441
+ ],
442
+ "name": "canForward",
443
+ "outputs": [
444
+ {
445
+ "name": "",
446
+ "type": "bool"
447
+ }
448
+ ],
449
+ "payable": false,
450
+ "stateMutability": "view",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "constant": false,
455
+ "inputs": [
456
+ {
457
+ "name": "_amount",
458
+ "type": "uint256"
459
+ }
460
+ ],
461
+ "name": "issue",
462
+ "outputs": [],
463
+ "payable": false,
464
+ "stateMutability": "nonpayable",
465
+ "type": "function"
466
+ },
467
+ {
468
+ "constant": true,
469
+ "inputs": [],
470
+ "name": "kernel",
471
+ "outputs": [
472
+ {
473
+ "name": "",
474
+ "type": "address"
475
+ }
476
+ ],
477
+ "payable": false,
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "constant": false,
483
+ "inputs": [
484
+ {
485
+ "name": "_evmScript",
486
+ "type": "bytes"
487
+ }
488
+ ],
489
+ "name": "forward",
490
+ "outputs": [],
491
+ "payable": false,
492
+ "stateMutability": "nonpayable",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "constant": false,
497
+ "inputs": [
498
+ {
499
+ "name": "",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "name": "",
504
+ "type": "address"
505
+ },
506
+ {
507
+ "name": "",
508
+ "type": "uint256"
509
+ }
510
+ ],
511
+ "name": "onApprove",
512
+ "outputs": [
513
+ {
514
+ "name": "",
515
+ "type": "bool"
516
+ }
517
+ ],
518
+ "payable": false,
519
+ "stateMutability": "nonpayable",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "constant": true,
524
+ "inputs": [],
525
+ "name": "isPetrified",
526
+ "outputs": [
527
+ {
528
+ "name": "",
529
+ "type": "bool"
530
+ }
531
+ ],
532
+ "payable": false,
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "constant": false,
538
+ "inputs": [
539
+ {
540
+ "name": "_token",
541
+ "type": "address"
542
+ },
543
+ {
544
+ "name": "_transferable",
545
+ "type": "bool"
546
+ },
547
+ {
548
+ "name": "_maxAccountTokens",
549
+ "type": "uint256"
550
+ }
551
+ ],
552
+ "name": "initialize",
553
+ "outputs": [],
554
+ "payable": false,
555
+ "stateMutability": "nonpayable",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "constant": true,
560
+ "inputs": [],
561
+ "name": "MINT_ROLE",
562
+ "outputs": [
563
+ {
564
+ "name": "",
565
+ "type": "bytes32"
566
+ }
567
+ ],
568
+ "payable": false,
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "constant": true,
574
+ "inputs": [],
575
+ "name": "maxAccountTokens",
576
+ "outputs": [
577
+ {
578
+ "name": "",
579
+ "type": "uint256"
580
+ }
581
+ ],
582
+ "payable": false,
583
+ "stateMutability": "view",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "constant": true,
588
+ "inputs": [],
589
+ "name": "REVOKE_VESTINGS_ROLE",
590
+ "outputs": [
591
+ {
592
+ "name": "",
593
+ "type": "bytes32"
594
+ }
595
+ ],
596
+ "payable": false,
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "constant": false,
602
+ "inputs": [
603
+ {
604
+ "name": "",
605
+ "type": "address"
606
+ }
607
+ ],
608
+ "name": "proxyPayment",
609
+ "outputs": [
610
+ {
611
+ "name": "",
612
+ "type": "bool"
613
+ }
614
+ ],
615
+ "payable": true,
616
+ "stateMutability": "payable",
617
+ "type": "function"
618
+ },
619
+ {
620
+ "constant": false,
621
+ "inputs": [
622
+ {
623
+ "name": "_holder",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "name": "_vestingId",
628
+ "type": "uint256"
629
+ }
630
+ ],
631
+ "name": "revokeVesting",
632
+ "outputs": [],
633
+ "payable": false,
634
+ "stateMutability": "nonpayable",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "constant": true,
639
+ "inputs": [],
640
+ "name": "token",
641
+ "outputs": [
642
+ {
643
+ "name": "",
644
+ "type": "address"
645
+ }
646
+ ],
647
+ "payable": false,
648
+ "stateMutability": "view",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "constant": true,
653
+ "inputs": [],
654
+ "name": "isForwarder",
655
+ "outputs": [
656
+ {
657
+ "name": "",
658
+ "type": "bool"
659
+ }
660
+ ],
661
+ "payable": false,
662
+ "stateMutability": "pure",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "anonymous": false,
667
+ "inputs": [
668
+ {
669
+ "indexed": true,
670
+ "name": "receiver",
671
+ "type": "address"
672
+ },
673
+ {
674
+ "indexed": false,
675
+ "name": "vestingId",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "indexed": false,
680
+ "name": "amount",
681
+ "type": "uint256"
682
+ }
683
+ ],
684
+ "name": "NewVesting",
685
+ "type": "event"
686
+ },
687
+ {
688
+ "anonymous": false,
689
+ "inputs": [
690
+ {
691
+ "indexed": true,
692
+ "name": "receiver",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "indexed": false,
697
+ "name": "vestingId",
698
+ "type": "uint256"
699
+ },
700
+ {
701
+ "indexed": false,
702
+ "name": "nonVestedAmount",
703
+ "type": "uint256"
704
+ }
705
+ ],
706
+ "name": "RevokeVesting",
707
+ "type": "event"
708
+ },
709
+ {
710
+ "anonymous": false,
711
+ "inputs": [
712
+ {
713
+ "indexed": true,
714
+ "name": "executor",
715
+ "type": "address"
716
+ },
717
+ {
718
+ "indexed": false,
719
+ "name": "script",
720
+ "type": "bytes"
721
+ },
722
+ {
723
+ "indexed": false,
724
+ "name": "input",
725
+ "type": "bytes"
726
+ },
727
+ {
728
+ "indexed": false,
729
+ "name": "returnData",
730
+ "type": "bytes"
731
+ }
732
+ ],
733
+ "name": "ScriptResult",
734
+ "type": "event"
735
+ },
736
+ {
737
+ "anonymous": false,
738
+ "inputs": [
739
+ {
740
+ "indexed": true,
741
+ "name": "vault",
742
+ "type": "address"
743
+ },
744
+ {
745
+ "indexed": true,
746
+ "name": "token",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "indexed": false,
751
+ "name": "amount",
752
+ "type": "uint256"
753
+ }
754
+ ],
755
+ "name": "RecoverToVault",
756
+ "type": "event"
757
+ }
758
+ ]
759
+ ''')