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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/vault/lido/__init__.py +0 -0
  3. defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
  4. defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
  5. defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
  6. defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
  7. defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
  8. defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
  9. defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
  10. defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
  11. defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
  12. defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
  13. defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
  14. defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
  15. defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
  16. defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
  17. defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
  18. defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
  19. defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
  20. defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
  21. defi_services/abis/vault/lido/lido_burner.py +698 -0
  22. defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
  23. defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
  24. defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
  25. defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
  26. defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
  27. defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
  28. defi_services/abis/vault/lido/lido_dao.py +623 -0
  29. defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
  30. defi_services/abis/vault/lido/lido_dao_token.py +590 -0
  31. defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
  32. defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
  33. defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
  34. defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
  35. defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
  36. defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
  37. defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
  38. defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
  39. defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
  40. defi_services/abis/vault/lido/lido_locator.py +357 -0
  41. defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
  42. defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
  43. defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
  44. defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
  45. defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
  46. defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
  47. defi_services/abis/vault/lido/lido_steth.py +1604 -0
  48. defi_services/abis/vault/lido/lido_stonks.py +744 -0
  49. defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
  50. defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
  51. defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
  52. defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
  53. defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
  54. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
  55. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
  56. defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
  57. defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
  58. defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
  59. defi_services/abis/vault/lido/lido_wsteth.py +481 -0
  60. defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
  61. defi_services/services/token_services.py +1 -1
  62. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/METADATA +4 -4
  63. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/RECORD +66 -7
  64. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/WHEEL +1 -1
  65. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/LICENSE +0 -0
  66. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,623 @@
1
+ import json
2
+
3
+ LIDO_DAO_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": "KERNEL_APP_ID",
23
+ "outputs": [
24
+ {
25
+ "name": "",
26
+ "type": "bytes32"
27
+ }
28
+ ],
29
+ "payable": false,
30
+ "stateMutability": "pure",
31
+ "type": "function"
32
+ },
33
+ {
34
+ "constant": true,
35
+ "inputs": [],
36
+ "name": "APP_ADDR_NAMESPACE",
37
+ "outputs": [
38
+ {
39
+ "name": "",
40
+ "type": "bytes32"
41
+ }
42
+ ],
43
+ "payable": false,
44
+ "stateMutability": "pure",
45
+ "type": "function"
46
+ },
47
+ {
48
+ "constant": true,
49
+ "inputs": [],
50
+ "name": "getRecoveryVault",
51
+ "outputs": [
52
+ {
53
+ "name": "",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "payable": false,
58
+ "stateMutability": "view",
59
+ "type": "function"
60
+ },
61
+ {
62
+ "constant": false,
63
+ "inputs": [
64
+ {
65
+ "name": "_appId",
66
+ "type": "bytes32"
67
+ },
68
+ {
69
+ "name": "_appBase",
70
+ "type": "address"
71
+ },
72
+ {
73
+ "name": "_initializePayload",
74
+ "type": "bytes"
75
+ },
76
+ {
77
+ "name": "_setDefault",
78
+ "type": "bool"
79
+ }
80
+ ],
81
+ "name": "newAppInstance",
82
+ "outputs": [
83
+ {
84
+ "name": "appProxy",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "payable": false,
89
+ "stateMutability": "nonpayable",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "constant": true,
94
+ "inputs": [
95
+ {
96
+ "name": "",
97
+ "type": "bytes32"
98
+ },
99
+ {
100
+ "name": "",
101
+ "type": "bytes32"
102
+ }
103
+ ],
104
+ "name": "apps",
105
+ "outputs": [
106
+ {
107
+ "name": "",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "payable": false,
112
+ "stateMutability": "view",
113
+ "type": "function"
114
+ },
115
+ {
116
+ "constant": false,
117
+ "inputs": [
118
+ {
119
+ "name": "_baseAcl",
120
+ "type": "address"
121
+ },
122
+ {
123
+ "name": "_permissionsCreator",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "name": "initialize",
128
+ "outputs": [],
129
+ "payable": false,
130
+ "stateMutability": "nonpayable",
131
+ "type": "function"
132
+ },
133
+ {
134
+ "constant": true,
135
+ "inputs": [],
136
+ "name": "CORE_NAMESPACE",
137
+ "outputs": [
138
+ {
139
+ "name": "",
140
+ "type": "bytes32"
141
+ }
142
+ ],
143
+ "payable": false,
144
+ "stateMutability": "pure",
145
+ "type": "function"
146
+ },
147
+ {
148
+ "constant": true,
149
+ "inputs": [
150
+ {
151
+ "name": "token",
152
+ "type": "address"
153
+ }
154
+ ],
155
+ "name": "allowRecoverability",
156
+ "outputs": [
157
+ {
158
+ "name": "",
159
+ "type": "bool"
160
+ }
161
+ ],
162
+ "payable": false,
163
+ "stateMutability": "view",
164
+ "type": "function"
165
+ },
166
+ {
167
+ "constant": false,
168
+ "inputs": [
169
+ {
170
+ "name": "_appId",
171
+ "type": "bytes32"
172
+ },
173
+ {
174
+ "name": "_appBase",
175
+ "type": "address"
176
+ }
177
+ ],
178
+ "name": "newAppInstance",
179
+ "outputs": [
180
+ {
181
+ "name": "appProxy",
182
+ "type": "address"
183
+ }
184
+ ],
185
+ "payable": false,
186
+ "stateMutability": "nonpayable",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "constant": true,
191
+ "inputs": [],
192
+ "name": "recoveryVaultAppId",
193
+ "outputs": [
194
+ {
195
+ "name": "",
196
+ "type": "bytes32"
197
+ }
198
+ ],
199
+ "payable": false,
200
+ "stateMutability": "view",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "constant": true,
205
+ "inputs": [],
206
+ "name": "getInitializationBlock",
207
+ "outputs": [
208
+ {
209
+ "name": "",
210
+ "type": "uint256"
211
+ }
212
+ ],
213
+ "payable": false,
214
+ "stateMutability": "view",
215
+ "type": "function"
216
+ },
217
+ {
218
+ "constant": false,
219
+ "inputs": [
220
+ {
221
+ "name": "_recoveryVaultAppId",
222
+ "type": "bytes32"
223
+ }
224
+ ],
225
+ "name": "setRecoveryVaultAppId",
226
+ "outputs": [],
227
+ "payable": false,
228
+ "stateMutability": "nonpayable",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "constant": true,
233
+ "inputs": [],
234
+ "name": "APP_MANAGER_ROLE",
235
+ "outputs": [
236
+ {
237
+ "name": "",
238
+ "type": "bytes32"
239
+ }
240
+ ],
241
+ "payable": false,
242
+ "stateMutability": "view",
243
+ "type": "function"
244
+ },
245
+ {
246
+ "constant": false,
247
+ "inputs": [
248
+ {
249
+ "name": "_appId",
250
+ "type": "bytes32"
251
+ },
252
+ {
253
+ "name": "_appBase",
254
+ "type": "address"
255
+ }
256
+ ],
257
+ "name": "newPinnedAppInstance",
258
+ "outputs": [
259
+ {
260
+ "name": "appProxy",
261
+ "type": "address"
262
+ }
263
+ ],
264
+ "payable": false,
265
+ "stateMutability": "nonpayable",
266
+ "type": "function"
267
+ },
268
+ {
269
+ "constant": false,
270
+ "inputs": [
271
+ {
272
+ "name": "_token",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "name": "transferToVault",
277
+ "outputs": [],
278
+ "payable": false,
279
+ "stateMutability": "nonpayable",
280
+ "type": "function"
281
+ },
282
+ {
283
+ "constant": false,
284
+ "inputs": [
285
+ {
286
+ "name": "_namespace",
287
+ "type": "bytes32"
288
+ },
289
+ {
290
+ "name": "_appId",
291
+ "type": "bytes32"
292
+ },
293
+ {
294
+ "name": "_app",
295
+ "type": "address"
296
+ }
297
+ ],
298
+ "name": "setApp",
299
+ "outputs": [],
300
+ "payable": false,
301
+ "stateMutability": "nonpayable",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "constant": true,
306
+ "inputs": [
307
+ {
308
+ "name": "_namespace",
309
+ "type": "bytes32"
310
+ },
311
+ {
312
+ "name": "_appId",
313
+ "type": "bytes32"
314
+ }
315
+ ],
316
+ "name": "getApp",
317
+ "outputs": [
318
+ {
319
+ "name": "",
320
+ "type": "address"
321
+ }
322
+ ],
323
+ "payable": false,
324
+ "stateMutability": "view",
325
+ "type": "function"
326
+ },
327
+ {
328
+ "constant": false,
329
+ "inputs": [
330
+ {
331
+ "name": "_appId",
332
+ "type": "bytes32"
333
+ },
334
+ {
335
+ "name": "_appBase",
336
+ "type": "address"
337
+ },
338
+ {
339
+ "name": "_initializePayload",
340
+ "type": "bytes"
341
+ },
342
+ {
343
+ "name": "_setDefault",
344
+ "type": "bool"
345
+ }
346
+ ],
347
+ "name": "newPinnedAppInstance",
348
+ "outputs": [
349
+ {
350
+ "name": "appProxy",
351
+ "type": "address"
352
+ }
353
+ ],
354
+ "payable": false,
355
+ "stateMutability": "nonpayable",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "constant": false,
360
+ "inputs": [
361
+ {
362
+ "name": "_kernel",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "name": "_appId",
367
+ "type": "bytes32"
368
+ },
369
+ {
370
+ "name": "_initializePayload",
371
+ "type": "bytes"
372
+ }
373
+ ],
374
+ "name": "newAppProxyPinned",
375
+ "outputs": [
376
+ {
377
+ "name": "",
378
+ "type": "address"
379
+ }
380
+ ],
381
+ "payable": false,
382
+ "stateMutability": "nonpayable",
383
+ "type": "function"
384
+ },
385
+ {
386
+ "constant": true,
387
+ "inputs": [],
388
+ "name": "APP_BASES_NAMESPACE",
389
+ "outputs": [
390
+ {
391
+ "name": "",
392
+ "type": "bytes32"
393
+ }
394
+ ],
395
+ "payable": false,
396
+ "stateMutability": "pure",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "constant": true,
401
+ "inputs": [],
402
+ "name": "acl",
403
+ "outputs": [
404
+ {
405
+ "name": "",
406
+ "type": "address"
407
+ }
408
+ ],
409
+ "payable": false,
410
+ "stateMutability": "view",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "constant": true,
415
+ "inputs": [],
416
+ "name": "isPetrified",
417
+ "outputs": [
418
+ {
419
+ "name": "",
420
+ "type": "bool"
421
+ }
422
+ ],
423
+ "payable": false,
424
+ "stateMutability": "view",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "constant": false,
429
+ "inputs": [
430
+ {
431
+ "name": "_kernel",
432
+ "type": "address"
433
+ },
434
+ {
435
+ "name": "_appId",
436
+ "type": "bytes32"
437
+ }
438
+ ],
439
+ "name": "newAppProxy",
440
+ "outputs": [
441
+ {
442
+ "name": "",
443
+ "type": "address"
444
+ }
445
+ ],
446
+ "payable": false,
447
+ "stateMutability": "nonpayable",
448
+ "type": "function"
449
+ },
450
+ {
451
+ "constant": true,
452
+ "inputs": [],
453
+ "name": "DEFAULT_ACL_APP_ID",
454
+ "outputs": [
455
+ {
456
+ "name": "",
457
+ "type": "bytes32"
458
+ }
459
+ ],
460
+ "payable": false,
461
+ "stateMutability": "pure",
462
+ "type": "function"
463
+ },
464
+ {
465
+ "constant": false,
466
+ "inputs": [
467
+ {
468
+ "name": "_kernel",
469
+ "type": "address"
470
+ },
471
+ {
472
+ "name": "_appId",
473
+ "type": "bytes32"
474
+ },
475
+ {
476
+ "name": "_initializePayload",
477
+ "type": "bytes"
478
+ }
479
+ ],
480
+ "name": "newAppProxy",
481
+ "outputs": [
482
+ {
483
+ "name": "",
484
+ "type": "address"
485
+ }
486
+ ],
487
+ "payable": false,
488
+ "stateMutability": "nonpayable",
489
+ "type": "function"
490
+ },
491
+ {
492
+ "constant": true,
493
+ "inputs": [
494
+ {
495
+ "name": "_who",
496
+ "type": "address"
497
+ },
498
+ {
499
+ "name": "_where",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "name": "_what",
504
+ "type": "bytes32"
505
+ },
506
+ {
507
+ "name": "_how",
508
+ "type": "bytes"
509
+ }
510
+ ],
511
+ "name": "hasPermission",
512
+ "outputs": [
513
+ {
514
+ "name": "",
515
+ "type": "bool"
516
+ }
517
+ ],
518
+ "payable": false,
519
+ "stateMutability": "view",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "constant": false,
524
+ "inputs": [
525
+ {
526
+ "name": "_kernel",
527
+ "type": "address"
528
+ },
529
+ {
530
+ "name": "_appId",
531
+ "type": "bytes32"
532
+ }
533
+ ],
534
+ "name": "newAppProxyPinned",
535
+ "outputs": [
536
+ {
537
+ "name": "",
538
+ "type": "address"
539
+ }
540
+ ],
541
+ "payable": false,
542
+ "stateMutability": "nonpayable",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [
547
+ {
548
+ "name": "_shouldPetrify",
549
+ "type": "bool"
550
+ }
551
+ ],
552
+ "payable": false,
553
+ "stateMutability": "nonpayable",
554
+ "type": "constructor"
555
+ },
556
+ {
557
+ "anonymous": false,
558
+ "inputs": [
559
+ {
560
+ "indexed": false,
561
+ "name": "proxy",
562
+ "type": "address"
563
+ },
564
+ {
565
+ "indexed": false,
566
+ "name": "isUpgradeable",
567
+ "type": "bool"
568
+ },
569
+ {
570
+ "indexed": false,
571
+ "name": "appId",
572
+ "type": "bytes32"
573
+ }
574
+ ],
575
+ "name": "NewAppProxy",
576
+ "type": "event"
577
+ },
578
+ {
579
+ "anonymous": false,
580
+ "inputs": [
581
+ {
582
+ "indexed": true,
583
+ "name": "vault",
584
+ "type": "address"
585
+ },
586
+ {
587
+ "indexed": true,
588
+ "name": "token",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "indexed": false,
593
+ "name": "amount",
594
+ "type": "uint256"
595
+ }
596
+ ],
597
+ "name": "RecoverToVault",
598
+ "type": "event"
599
+ },
600
+ {
601
+ "anonymous": false,
602
+ "inputs": [
603
+ {
604
+ "indexed": true,
605
+ "name": "namespace",
606
+ "type": "bytes32"
607
+ },
608
+ {
609
+ "indexed": true,
610
+ "name": "appId",
611
+ "type": "bytes32"
612
+ },
613
+ {
614
+ "indexed": false,
615
+ "name": "app",
616
+ "type": "address"
617
+ }
618
+ ],
619
+ "name": "SetApp",
620
+ "type": "event"
621
+ }
622
+ ]
623
+ ''')