defi-state-querier 0.5.17__py3-none-any.whl → 0.5.18__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- defi_services/__init__.py +1 -1
- defi_services/jobs/tcv.py +1 -1
- defi_services/services/vault/tcv_vault_services.py +2 -2
- {defi_state_querier-0.5.17.dist-info → defi_state_querier-0.5.18.dist-info}/METADATA +1 -1
- {defi_state_querier-0.5.17.dist-info → defi_state_querier-0.5.18.dist-info}/RECORD +8 -8
- {defi_state_querier-0.5.17.dist-info → defi_state_querier-0.5.18.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.5.17.dist-info → defi_state_querier-0.5.18.dist-info}/WHEEL +0 -0
- {defi_state_querier-0.5.17.dist-info → defi_state_querier-0.5.18.dist-info}/top_level.txt +0 -0
defi_services/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.5.
|
1
|
+
__version__ = "0.5.18"
|
defi_services/jobs/tcv.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
from defi_services.constants.entities.dex_constant import Dex
|
2
2
|
from defi_services.constants.query_constant import Query
|
3
3
|
from defi_services.jobs.processors.state_processor import StateProcessor
|
4
|
-
|
4
|
+
|
5
5
|
|
6
6
|
class TCV:
|
7
7
|
def __init__(self, provider_uri, chain_id):
|
@@ -20,7 +20,7 @@ class TCVVaultInfo:
|
|
20
20
|
class TCVVaultStateService(ProtocolServices):
|
21
21
|
def __init__(self, state_service: StateQuerier, chain_id: str = "0xa4b1"):
|
22
22
|
super().__init__()
|
23
|
-
self.name = f"{chain_id}_{Vault.
|
23
|
+
self.name = f"{chain_id}_{Vault.tcv_vault}"
|
24
24
|
self.chain_id = chain_id
|
25
25
|
self.pool_info = TCVVaultInfo.mapping.get(chain_id)
|
26
26
|
self.vault_abi = TCV_ABI
|
@@ -29,7 +29,7 @@ class TCVVaultStateService(ProtocolServices):
|
|
29
29
|
# BASIC FUNCTION
|
30
30
|
def get_service_info(self):
|
31
31
|
info = {
|
32
|
-
Vault.
|
32
|
+
Vault.tcv_vault: {
|
33
33
|
"chain_id": self.chain_id,
|
34
34
|
"type": "vault",
|
35
35
|
"protocol_info": self.pool_info
|
@@ -1,4 +1,4 @@
|
|
1
|
-
defi_services/__init__.py,sha256=
|
1
|
+
defi_services/__init__.py,sha256=8HarzfUUN0oBs56RqaWFFfXKWTGi5Mt2jU6YSekUkis,23
|
2
2
|
defi_services/abis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
defi_services/abis/multicall_v3_abi.py,sha256=0aPxjrJJFU17fODjvYFRDn5Y5J1yi_AJKc8v1uohNGY,12352
|
4
4
|
defi_services/abis/dex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -313,7 +313,7 @@ defi_services/constants/entities/lending_services.py,sha256=EeCRUi-K4O3MlB6m5f9Q
|
|
313
313
|
defi_services/constants/entities/vault_constant.py,sha256=XaFp2VpmePfym42Gn-5IeT8qnQBq1JcRNrH7r2_tWxo,122
|
314
314
|
defi_services/constants/entities/vault_services.py,sha256=uwcvxwnyXNU3_3mcI6PGWyvGe40tzHmTrmigotLWeMM,752
|
315
315
|
defi_services/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
316
|
-
defi_services/jobs/tcv.py,sha256=
|
316
|
+
defi_services/jobs/tcv.py,sha256=tmcVOn8n5YImX1IBCTnshPKdaW-rar7yVdtvWGnYH5Q,4158
|
317
317
|
defi_services/jobs/processors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
318
318
|
defi_services/jobs/processors/call_state_processor.py,sha256=WseX0OaMA5D_ANYofrz7W2BooSMdHlGRay4NuiABmM4,436
|
319
319
|
defi_services/jobs/processors/cosmos_state_processor.py,sha256=eVAs_-dSjlR7ijHAG9ytAysGesiyQYyK-sAMg8rUPYw,1898
|
@@ -450,7 +450,7 @@ defi_services/services/multicall/batch_queries_service.py,sha256=HzgKOdkP6kpjR7g
|
|
450
450
|
defi_services/services/multicall/multicall_v2.py,sha256=5JAqb3Jn5Z-23-Gwz5lMa5DokES-Pf7WtigHMGlG-7k,18695
|
451
451
|
defi_services/services/multicall/state_query_service.py,sha256=1Ob5NX0tXmVUrSB1_mOvFBkOUA8KZJPwH2DMiHwlGhI,23709
|
452
452
|
defi_services/services/vault/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
453
|
-
defi_services/services/vault/tcv_vault_services.py,sha256=
|
453
|
+
defi_services/services/vault/tcv_vault_services.py,sha256=_oNAD595KXpdT56BEqktAe3ece07STYA0FyIOP0Klmg,3827
|
454
454
|
defi_services/services/vault/trava_vault_services.py,sha256=9Sj5W6o7o478MKu7ZOUdqkTtPUzT59eS9yBcU8O4UrM,7705
|
455
455
|
defi_services/services/vault/vault_info/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
456
456
|
defi_services/services/vault/vault_info/arbitrum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -475,8 +475,8 @@ defi_services/utils/memory_storage.py,sha256=BOT8laB0iVSCGE-oDlpWJQLbSC6X2blKX4z
|
|
475
475
|
defi_services/utils/sqrt_price_math.py,sha256=9lgUeWFT4wjl3Vq3b7-jZ2bGvvZx7dDBSfVnM3lsZ8o,5575
|
476
476
|
defi_services/utils/thread_proxy.py,sha256=5Z8biAyEReUkh3vfJSvEv7GwMe3CsE5M8CbghkQtePw,2951
|
477
477
|
defi_services/utils/ton_decode_address.py,sha256=EWKwmC7KtbXpdKgiNK-5j-5lX7fCr17I4EWYs9b43eU,443
|
478
|
-
defi_state_querier-0.5.
|
479
|
-
defi_state_querier-0.5.
|
480
|
-
defi_state_querier-0.5.
|
481
|
-
defi_state_querier-0.5.
|
482
|
-
defi_state_querier-0.5.
|
478
|
+
defi_state_querier-0.5.18.dist-info/LICENSE,sha256=6jmfxa8nUIwfKnzZUxAHJSJ_IS7h7mpbJq26cWjoo-o,1063
|
479
|
+
defi_state_querier-0.5.18.dist-info/METADATA,sha256=9aSe8lQ7h1-iKl_xBc7RF0WQiqqUrhGObDWXeUPMu_4,4413
|
480
|
+
defi_state_querier-0.5.18.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
481
|
+
defi_state_querier-0.5.18.dist-info/top_level.txt,sha256=C-OTxHK6MknKK-nAbEzCPDUl1M6pktRhgJrmsozdf6g,14
|
482
|
+
defi_state_querier-0.5.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|