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,490 @@
1
+ import json
2
+
3
+ LIDO_ARAGON_PM_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
+ {
23
+ "name": "_script",
24
+ "type": "bytes"
25
+ }
26
+ ],
27
+ "name": "getEVMScriptExecutor",
28
+ "outputs": [
29
+ {
30
+ "name": "",
31
+ "type": "address"
32
+ }
33
+ ],
34
+ "payable": false,
35
+ "stateMutability": "view",
36
+ "type": "function"
37
+ },
38
+ {
39
+ "constant": true,
40
+ "inputs": [],
41
+ "name": "registrar",
42
+ "outputs": [
43
+ {
44
+ "name": "",
45
+ "type": "address"
46
+ }
47
+ ],
48
+ "payable": false,
49
+ "stateMutability": "view",
50
+ "type": "function"
51
+ },
52
+ {
53
+ "constant": false,
54
+ "inputs": [
55
+ {
56
+ "name": "_name",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "_dev",
61
+ "type": "address"
62
+ },
63
+ {
64
+ "name": "_initialSemanticVersion",
65
+ "type": "uint16[3]"
66
+ },
67
+ {
68
+ "name": "_contractAddress",
69
+ "type": "address"
70
+ },
71
+ {
72
+ "name": "_contentURI",
73
+ "type": "bytes"
74
+ }
75
+ ],
76
+ "name": "newRepoWithVersion",
77
+ "outputs": [
78
+ {
79
+ "name": "",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "payable": false,
84
+ "stateMutability": "nonpayable",
85
+ "type": "function"
86
+ },
87
+ {
88
+ "constant": true,
89
+ "inputs": [],
90
+ "name": "getRecoveryVault",
91
+ "outputs": [
92
+ {
93
+ "name": "",
94
+ "type": "address"
95
+ }
96
+ ],
97
+ "payable": false,
98
+ "stateMutability": "view",
99
+ "type": "function"
100
+ },
101
+ {
102
+ "constant": true,
103
+ "inputs": [],
104
+ "name": "ens",
105
+ "outputs": [
106
+ {
107
+ "name": "",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "payable": false,
112
+ "stateMutability": "view",
113
+ "type": "function"
114
+ },
115
+ {
116
+ "constant": true,
117
+ "inputs": [],
118
+ "name": "CREATE_REPO_ROLE",
119
+ "outputs": [
120
+ {
121
+ "name": "",
122
+ "type": "bytes32"
123
+ }
124
+ ],
125
+ "payable": false,
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
129
+ {
130
+ "constant": true,
131
+ "inputs": [
132
+ {
133
+ "name": "token",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "allowRecoverability",
138
+ "outputs": [
139
+ {
140
+ "name": "",
141
+ "type": "bool"
142
+ }
143
+ ],
144
+ "payable": false,
145
+ "stateMutability": "view",
146
+ "type": "function"
147
+ },
148
+ {
149
+ "constant": true,
150
+ "inputs": [],
151
+ "name": "appId",
152
+ "outputs": [
153
+ {
154
+ "name": "",
155
+ "type": "bytes32"
156
+ }
157
+ ],
158
+ "payable": false,
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "constant": true,
164
+ "inputs": [],
165
+ "name": "getInitializationBlock",
166
+ "outputs": [
167
+ {
168
+ "name": "",
169
+ "type": "uint256"
170
+ }
171
+ ],
172
+ "payable": false,
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "constant": false,
178
+ "inputs": [
179
+ {
180
+ "name": "_token",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "transferToVault",
185
+ "outputs": [],
186
+ "payable": false,
187
+ "stateMutability": "nonpayable",
188
+ "type": "function"
189
+ },
190
+ {
191
+ "constant": true,
192
+ "inputs": [
193
+ {
194
+ "name": "_sender",
195
+ "type": "address"
196
+ },
197
+ {
198
+ "name": "_role",
199
+ "type": "bytes32"
200
+ },
201
+ {
202
+ "name": "_params",
203
+ "type": "uint256[]"
204
+ }
205
+ ],
206
+ "name": "canPerform",
207
+ "outputs": [
208
+ {
209
+ "name": "",
210
+ "type": "bool"
211
+ }
212
+ ],
213
+ "payable": false,
214
+ "stateMutability": "view",
215
+ "type": "function"
216
+ },
217
+ {
218
+ "constant": true,
219
+ "inputs": [],
220
+ "name": "getEVMScriptRegistry",
221
+ "outputs": [
222
+ {
223
+ "name": "",
224
+ "type": "address"
225
+ }
226
+ ],
227
+ "payable": false,
228
+ "stateMutability": "view",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "constant": false,
233
+ "inputs": [
234
+ {
235
+ "name": "_name",
236
+ "type": "string"
237
+ },
238
+ {
239
+ "name": "_dev",
240
+ "type": "address"
241
+ }
242
+ ],
243
+ "name": "newRepo",
244
+ "outputs": [
245
+ {
246
+ "name": "",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "payable": false,
251
+ "stateMutability": "nonpayable",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "constant": false,
256
+ "inputs": [
257
+ {
258
+ "name": "_registrar",
259
+ "type": "address"
260
+ }
261
+ ],
262
+ "name": "initialize",
263
+ "outputs": [],
264
+ "payable": false,
265
+ "stateMutability": "nonpayable",
266
+ "type": "function"
267
+ },
268
+ {
269
+ "constant": false,
270
+ "inputs": [
271
+ {
272
+ "name": "_kernel",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "name": "_appId",
277
+ "type": "bytes32"
278
+ },
279
+ {
280
+ "name": "_initializePayload",
281
+ "type": "bytes"
282
+ }
283
+ ],
284
+ "name": "newAppProxyPinned",
285
+ "outputs": [
286
+ {
287
+ "name": "",
288
+ "type": "address"
289
+ }
290
+ ],
291
+ "payable": false,
292
+ "stateMutability": "nonpayable",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "constant": true,
297
+ "inputs": [],
298
+ "name": "kernel",
299
+ "outputs": [
300
+ {
301
+ "name": "",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "payable": false,
306
+ "stateMutability": "view",
307
+ "type": "function"
308
+ },
309
+ {
310
+ "constant": true,
311
+ "inputs": [],
312
+ "name": "isPetrified",
313
+ "outputs": [
314
+ {
315
+ "name": "",
316
+ "type": "bool"
317
+ }
318
+ ],
319
+ "payable": false,
320
+ "stateMutability": "view",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "constant": false,
325
+ "inputs": [
326
+ {
327
+ "name": "_kernel",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "name": "_appId",
332
+ "type": "bytes32"
333
+ }
334
+ ],
335
+ "name": "newAppProxy",
336
+ "outputs": [
337
+ {
338
+ "name": "",
339
+ "type": "address"
340
+ }
341
+ ],
342
+ "payable": false,
343
+ "stateMutability": "nonpayable",
344
+ "type": "function"
345
+ },
346
+ {
347
+ "constant": false,
348
+ "inputs": [
349
+ {
350
+ "name": "_kernel",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "name": "_appId",
355
+ "type": "bytes32"
356
+ },
357
+ {
358
+ "name": "_initializePayload",
359
+ "type": "bytes"
360
+ }
361
+ ],
362
+ "name": "newAppProxy",
363
+ "outputs": [
364
+ {
365
+ "name": "",
366
+ "type": "address"
367
+ }
368
+ ],
369
+ "payable": false,
370
+ "stateMutability": "nonpayable",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "constant": false,
375
+ "inputs": [
376
+ {
377
+ "name": "_kernel",
378
+ "type": "address"
379
+ },
380
+ {
381
+ "name": "_appId",
382
+ "type": "bytes32"
383
+ }
384
+ ],
385
+ "name": "newAppProxyPinned",
386
+ "outputs": [
387
+ {
388
+ "name": "",
389
+ "type": "address"
390
+ }
391
+ ],
392
+ "payable": false,
393
+ "stateMutability": "nonpayable",
394
+ "type": "function"
395
+ },
396
+ {
397
+ "anonymous": false,
398
+ "inputs": [
399
+ {
400
+ "indexed": false,
401
+ "name": "id",
402
+ "type": "bytes32"
403
+ },
404
+ {
405
+ "indexed": false,
406
+ "name": "name",
407
+ "type": "string"
408
+ },
409
+ {
410
+ "indexed": false,
411
+ "name": "repo",
412
+ "type": "address"
413
+ }
414
+ ],
415
+ "name": "NewRepo",
416
+ "type": "event"
417
+ },
418
+ {
419
+ "anonymous": false,
420
+ "inputs": [
421
+ {
422
+ "indexed": false,
423
+ "name": "proxy",
424
+ "type": "address"
425
+ },
426
+ {
427
+ "indexed": false,
428
+ "name": "isUpgradeable",
429
+ "type": "bool"
430
+ },
431
+ {
432
+ "indexed": false,
433
+ "name": "appId",
434
+ "type": "bytes32"
435
+ }
436
+ ],
437
+ "name": "NewAppProxy",
438
+ "type": "event"
439
+ },
440
+ {
441
+ "anonymous": false,
442
+ "inputs": [
443
+ {
444
+ "indexed": true,
445
+ "name": "executor",
446
+ "type": "address"
447
+ },
448
+ {
449
+ "indexed": false,
450
+ "name": "script",
451
+ "type": "bytes"
452
+ },
453
+ {
454
+ "indexed": false,
455
+ "name": "input",
456
+ "type": "bytes"
457
+ },
458
+ {
459
+ "indexed": false,
460
+ "name": "returnData",
461
+ "type": "bytes"
462
+ }
463
+ ],
464
+ "name": "ScriptResult",
465
+ "type": "event"
466
+ },
467
+ {
468
+ "anonymous": false,
469
+ "inputs": [
470
+ {
471
+ "indexed": true,
472
+ "name": "vault",
473
+ "type": "address"
474
+ },
475
+ {
476
+ "indexed": true,
477
+ "name": "token",
478
+ "type": "address"
479
+ },
480
+ {
481
+ "indexed": false,
482
+ "name": "amount",
483
+ "type": "uint256"
484
+ }
485
+ ],
486
+ "name": "RecoverToVault",
487
+ "type": "event"
488
+ }
489
+ ]
490
+ ''')