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,427 @@
1
+ import json
2
+
3
+ LIDO_ALLOWED_RECIPIENTS_BUILDER_MULTI_TOKEN_TOOLING_ABI = json.loads('''
4
+ [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "contract IAllowedRecipientsFactory",
9
+ "name": "_factory",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "address",
14
+ "name": "_admin",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "internalType": "contract IEasyTrack",
19
+ "name": "_easytrack",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "internalType": "address",
24
+ "name": "_finance",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "internalType": "address",
29
+ "name": "_bokkyPooBahsDateTimeContract",
30
+ "type": "address"
31
+ }
32
+ ],
33
+ "stateMutability": "nonpayable",
34
+ "type": "constructor"
35
+ },
36
+ {
37
+ "inputs": [],
38
+ "name": "ADD_RECIPIENT_TO_ALLOWED_LIST_ROLE",
39
+ "outputs": [
40
+ {
41
+ "internalType": "bytes32",
42
+ "name": "",
43
+ "type": "bytes32"
44
+ }
45
+ ],
46
+ "stateMutability": "view",
47
+ "type": "function"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ADD_TOKEN_TO_ALLOWED_LIST_ROLE",
52
+ "outputs": [
53
+ {
54
+ "internalType": "bytes32",
55
+ "name": "",
56
+ "type": "bytes32"
57
+ }
58
+ ],
59
+ "stateMutability": "view",
60
+ "type": "function"
61
+ },
62
+ {
63
+ "inputs": [],
64
+ "name": "DEFAULT_ADMIN_ROLE",
65
+ "outputs": [
66
+ {
67
+ "internalType": "bytes32",
68
+ "name": "",
69
+ "type": "bytes32"
70
+ }
71
+ ],
72
+ "stateMutability": "view",
73
+ "type": "function"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "REMOVE_RECIPIENT_FROM_ALLOWED_LIST_ROLE",
78
+ "outputs": [
79
+ {
80
+ "internalType": "bytes32",
81
+ "name": "",
82
+ "type": "bytes32"
83
+ }
84
+ ],
85
+ "stateMutability": "view",
86
+ "type": "function"
87
+ },
88
+ {
89
+ "inputs": [],
90
+ "name": "REMOVE_TOKEN_FROM_ALLOWED_LIST_ROLE",
91
+ "outputs": [
92
+ {
93
+ "internalType": "bytes32",
94
+ "name": "",
95
+ "type": "bytes32"
96
+ }
97
+ ],
98
+ "stateMutability": "view",
99
+ "type": "function"
100
+ },
101
+ {
102
+ "inputs": [],
103
+ "name": "SET_PARAMETERS_ROLE",
104
+ "outputs": [
105
+ {
106
+ "internalType": "bytes32",
107
+ "name": "",
108
+ "type": "bytes32"
109
+ }
110
+ ],
111
+ "stateMutability": "view",
112
+ "type": "function"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "UPDATE_SPENT_AMOUNT_ROLE",
117
+ "outputs": [
118
+ {
119
+ "internalType": "bytes32",
120
+ "name": "",
121
+ "type": "bytes32"
122
+ }
123
+ ],
124
+ "stateMutability": "view",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "admin",
130
+ "outputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "stateMutability": "view",
138
+ "type": "function"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "bokkyPooBahsDateTimeContract",
143
+ "outputs": [
144
+ {
145
+ "internalType": "address",
146
+ "name": "",
147
+ "type": "address"
148
+ }
149
+ ],
150
+ "stateMutability": "view",
151
+ "type": "function"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "address",
157
+ "name": "_trustedCaller",
158
+ "type": "address"
159
+ },
160
+ {
161
+ "internalType": "address",
162
+ "name": "_allowedRecipientsRegistry",
163
+ "type": "address"
164
+ }
165
+ ],
166
+ "name": "deployAddAllowedRecipient",
167
+ "outputs": [
168
+ {
169
+ "internalType": "contract IAddAllowedRecipient",
170
+ "name": "addAllowedRecipient",
171
+ "type": "address"
172
+ }
173
+ ],
174
+ "stateMutability": "nonpayable",
175
+ "type": "function"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "_limit",
182
+ "type": "uint256"
183
+ },
184
+ {
185
+ "internalType": "uint256",
186
+ "name": "_periodDurationMonths",
187
+ "type": "uint256"
188
+ },
189
+ {
190
+ "internalType": "address[]",
191
+ "name": "_recipients",
192
+ "type": "address[]"
193
+ },
194
+ {
195
+ "internalType": "string[]",
196
+ "name": "_titles",
197
+ "type": "string[]"
198
+ },
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "_spentAmount",
202
+ "type": "uint256"
203
+ },
204
+ {
205
+ "internalType": "bool",
206
+ "name": "_grantRightsToEVMScriptExecutor",
207
+ "type": "bool"
208
+ }
209
+ ],
210
+ "name": "deployAllowedRecipientsRegistry",
211
+ "outputs": [
212
+ {
213
+ "internalType": "contract IAllowedRecipientsRegistry",
214
+ "name": "registry",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "stateMutability": "nonpayable",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "address[]",
225
+ "name": "_tokens",
226
+ "type": "address[]"
227
+ }
228
+ ],
229
+ "name": "deployAllowedTokensRegistry",
230
+ "outputs": [
231
+ {
232
+ "internalType": "contract IAllowedTokensRegistry",
233
+ "name": "registry",
234
+ "type": "address"
235
+ }
236
+ ],
237
+ "stateMutability": "nonpayable",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "address",
244
+ "name": "_trustedCaller",
245
+ "type": "address"
246
+ },
247
+ {
248
+ "internalType": "uint256",
249
+ "name": "_limit",
250
+ "type": "uint256"
251
+ },
252
+ {
253
+ "internalType": "uint256",
254
+ "name": "_periodDurationMonths",
255
+ "type": "uint256"
256
+ },
257
+ {
258
+ "internalType": "address[]",
259
+ "name": "_tokens",
260
+ "type": "address[]"
261
+ },
262
+ {
263
+ "internalType": "address[]",
264
+ "name": "_recipients",
265
+ "type": "address[]"
266
+ },
267
+ {
268
+ "internalType": "string[]",
269
+ "name": "_titles",
270
+ "type": "string[]"
271
+ },
272
+ {
273
+ "internalType": "uint256",
274
+ "name": "_spentAmount",
275
+ "type": "uint256"
276
+ }
277
+ ],
278
+ "name": "deployFullSetup",
279
+ "outputs": [],
280
+ "stateMutability": "nonpayable",
281
+ "type": "function"
282
+ },
283
+ {
284
+ "inputs": [
285
+ {
286
+ "internalType": "address",
287
+ "name": "_trustedCaller",
288
+ "type": "address"
289
+ },
290
+ {
291
+ "internalType": "address",
292
+ "name": "_allowedRecipientsRegistry",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "name": "deployRemoveAllowedRecipient",
297
+ "outputs": [
298
+ {
299
+ "internalType": "contract IRemoveAllowedRecipient",
300
+ "name": "removeAllowedRecipient",
301
+ "type": "address"
302
+ }
303
+ ],
304
+ "stateMutability": "nonpayable",
305
+ "type": "function"
306
+ },
307
+ {
308
+ "inputs": [
309
+ {
310
+ "internalType": "address",
311
+ "name": "_recipient",
312
+ "type": "address"
313
+ },
314
+ {
315
+ "internalType": "string",
316
+ "name": "_title",
317
+ "type": "string"
318
+ },
319
+ {
320
+ "internalType": "address[]",
321
+ "name": "_tokens",
322
+ "type": "address[]"
323
+ },
324
+ {
325
+ "internalType": "uint256",
326
+ "name": "_limit",
327
+ "type": "uint256"
328
+ },
329
+ {
330
+ "internalType": "uint256",
331
+ "name": "_periodDurationMonths",
332
+ "type": "uint256"
333
+ },
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "_spentAmount",
337
+ "type": "uint256"
338
+ }
339
+ ],
340
+ "name": "deploySingleRecipientTopUpOnlySetup",
341
+ "outputs": [],
342
+ "stateMutability": "nonpayable",
343
+ "type": "function"
344
+ },
345
+ {
346
+ "inputs": [
347
+ {
348
+ "internalType": "address",
349
+ "name": "_trustedCaller",
350
+ "type": "address"
351
+ },
352
+ {
353
+ "internalType": "address",
354
+ "name": "_allowedRecipientsRegistry",
355
+ "type": "address"
356
+ },
357
+ {
358
+ "internalType": "address",
359
+ "name": "_allowedTokensRegistry",
360
+ "type": "address"
361
+ }
362
+ ],
363
+ "name": "deployTopUpAllowedRecipients",
364
+ "outputs": [
365
+ {
366
+ "internalType": "contract ITopUpAllowedRecipients",
367
+ "name": "topUpAllowedRecipients",
368
+ "type": "address"
369
+ }
370
+ ],
371
+ "stateMutability": "nonpayable",
372
+ "type": "function"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "easyTrack",
377
+ "outputs": [
378
+ {
379
+ "internalType": "contract IEasyTrack",
380
+ "name": "",
381
+ "type": "address"
382
+ }
383
+ ],
384
+ "stateMutability": "view",
385
+ "type": "function"
386
+ },
387
+ {
388
+ "inputs": [],
389
+ "name": "evmScriptExecutor",
390
+ "outputs": [
391
+ {
392
+ "internalType": "address",
393
+ "name": "",
394
+ "type": "address"
395
+ }
396
+ ],
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [],
402
+ "name": "factory",
403
+ "outputs": [
404
+ {
405
+ "internalType": "contract IAllowedRecipientsFactory",
406
+ "name": "",
407
+ "type": "address"
408
+ }
409
+ ],
410
+ "stateMutability": "view",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [],
415
+ "name": "finance",
416
+ "outputs": [
417
+ {
418
+ "internalType": "address",
419
+ "name": "",
420
+ "type": "address"
421
+ }
422
+ ],
423
+ "stateMutability": "view",
424
+ "type": "function"
425
+ }
426
+ ]
427
+ ''')