defi-state-querier 0.5.22__py3-none-any.whl → 0.5.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
defi_services/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.5.22"
1
+ __version__ = "0.5.23"
@@ -29,5 +29,5 @@ class Lending:
29
29
  all = [strike, aave_v2, aave_v3, radiant_v2, compound, flux, onyx, granary,
30
30
  iron_bank, trava, valas, geist, cream, venus, liqee, strike, uwu, wepiggy,
31
31
  morpho_compound, morpho_aave_v2, morpho_aave_v3, spark, ape_swap, silo, compound_v3,
32
- justlend
32
+ justlend, zerolend
33
33
  ]
@@ -25,6 +25,7 @@ from defi_services.services.lending.liqee_service import LiqeeStateService
25
25
  from defi_services.services.lending.strike_service import StrikeStateService
26
26
  from defi_services.services.lending.onyx_service import OnyxStateService
27
27
  from defi_services.services.lending.wepiggy_services import WepiggyStateService
28
+ from defi_services.services.lending.zerolend_services import ZeroLendStateService
28
29
 
29
30
 
30
31
  class LendingServices:
@@ -48,7 +49,8 @@ class LendingServices:
48
49
  Lending.spark: SparkStateService,
49
50
  Lending.silo: SiloStateService,
50
51
  Lending.compound_v3: CompoundV3StateService,
51
- Lending.radiant_v2: RadiantStateService
52
+ Lending.radiant_v2: RadiantStateService,
53
+ Lending.zerolend: ZeroLendStateService
52
54
  }
53
55
  fantom = {
54
56
  Lending.trava: TravaStateService,
@@ -66,7 +68,8 @@ class LendingServices:
66
68
  Lending.liqee: LiqeeStateService,
67
69
  Lending.wepiggy: WepiggyStateService,
68
70
  Lending.granary: GranaryStateService,
69
- Lending.ape_swap: ApeSwapStateService
71
+ Lending.ape_swap: ApeSwapStateService,
72
+ Lending.aave_v3: AaveV3StateService
70
73
  }
71
74
 
72
75
  avalanche = {
@@ -106,11 +109,13 @@ class LendingServices:
106
109
 
107
110
  base = {
108
111
  Lending.aave_v3: AaveV3StateService,
109
- Lending.compound_v3: CompoundV3StateService
112
+ Lending.compound_v3: CompoundV3StateService,
113
+ Lending.zerolend: ZeroLendStateService
110
114
  }
111
115
 
112
116
  zksync = {
113
- Lending.aave_v3: AaveV3StateService
117
+ Lending.aave_v3: AaveV3StateService,
118
+ Lending.zerolend: ZeroLendStateService
114
119
  }
115
120
 
116
121
  # mapping
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: defi-state-querier
3
- Version: 0.5.22
3
+ Version: 0.5.23
4
4
  Summary: Calculate apy, apr, and wallet information,... in decentralized applications.
5
5
  Home-page: https://github.com/Centic-io/defi-state-querier
6
6
  Author: Viet-Bang Pham
@@ -1,4 +1,4 @@
1
- defi_services/__init__.py,sha256=J9nY2KTcgujWqm-vPLqkicHSeoFMlY8tCuxwrLBqELQ,23
1
+ defi_services/__init__.py,sha256=O1yYhlq5rTIL4Kwd8pPJrvpQVhL8qWTIHRBJZ_GYajk,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
@@ -308,8 +308,8 @@ defi_services/constants/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
308
308
  defi_services/constants/entities/dex_constant.py,sha256=oCt8RS-0KjFW5zR5IU1Ys49nYCCAraY8pTivOpXoyvs,343
309
309
  defi_services/constants/entities/dex_info_constant.py,sha256=gFjF6gWLZ-e_iLoUeSF-bPZKOwbmxVoMeyaA2wGZESM,1653
310
310
  defi_services/constants/entities/dex_services.py,sha256=Ip3ww6OBA3RQHMrtPE86uoPv2iv-oLh38cKGPtrpKMA,2383
311
- defi_services/constants/entities/lending_constant.py,sha256=aD2L_fueeSi3tqdCML66UBcWko3-8bgIO4j6byvBON4,1035
312
- defi_services/constants/entities/lending_services.py,sha256=Cd7u7IrdjV57JA2UI1PbgZe5_LI3CTW4Au-pyyV5Mzk,5251
311
+ defi_services/constants/entities/lending_constant.py,sha256=00JXCLw2_SEcpwH3zLMyseZf8HqzZZ1qoC7I2dMMwz4,1045
312
+ defi_services/constants/entities/lending_services.py,sha256=3YwkNUsryZoW7OoTkk3B32r6a1t_f4SkSdm6wBSbSlA,5522
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
@@ -491,8 +491,8 @@ defi_services/utils/memory_storage.py,sha256=BOT8laB0iVSCGE-oDlpWJQLbSC6X2blKX4z
491
491
  defi_services/utils/sqrt_price_math.py,sha256=9lgUeWFT4wjl3Vq3b7-jZ2bGvvZx7dDBSfVnM3lsZ8o,5575
492
492
  defi_services/utils/thread_proxy.py,sha256=5Z8biAyEReUkh3vfJSvEv7GwMe3CsE5M8CbghkQtePw,2951
493
493
  defi_services/utils/ton_decode_address.py,sha256=EWKwmC7KtbXpdKgiNK-5j-5lX7fCr17I4EWYs9b43eU,443
494
- defi_state_querier-0.5.22.dist-info/LICENSE,sha256=6jmfxa8nUIwfKnzZUxAHJSJ_IS7h7mpbJq26cWjoo-o,1063
495
- defi_state_querier-0.5.22.dist-info/METADATA,sha256=lsUQNiabiwbaQrd4aB5NKIDWVqW1vWBiMcUq-4qdGJg,4631
496
- defi_state_querier-0.5.22.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
497
- defi_state_querier-0.5.22.dist-info/top_level.txt,sha256=C-OTxHK6MknKK-nAbEzCPDUl1M6pktRhgJrmsozdf6g,14
498
- defi_state_querier-0.5.22.dist-info/RECORD,,
494
+ defi_state_querier-0.5.23.dist-info/LICENSE,sha256=6jmfxa8nUIwfKnzZUxAHJSJ_IS7h7mpbJq26cWjoo-o,1063
495
+ defi_state_querier-0.5.23.dist-info/METADATA,sha256=vpIiucZeocjaiIRfuZgzC8OxxV4dDlLJw4OPQuUiCTk,4631
496
+ defi_state_querier-0.5.23.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
497
+ defi_state_querier-0.5.23.dist-info/top_level.txt,sha256=C-OTxHK6MknKK-nAbEzCPDUl1M6pktRhgJrmsozdf6g,14
498
+ defi_state_querier-0.5.23.dist-info/RECORD,,