eth-protocols-py 0.1.6.dev1__tar.gz → 0.1.6.dev2__tar.gz

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.
Files changed (31) hide show
  1. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/PKG-INFO +1 -1
  2. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/helpers/dex_pairs.py +3 -6
  3. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols_py.egg-info/PKG-INFO +1 -1
  4. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/pyproject.toml +0 -0
  5. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/setup.cfg +0 -0
  6. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/setup.py +0 -0
  7. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/__init__.py +0 -0
  8. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/camelot_v3/__init__.py +0 -0
  9. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/camelot_v3/pool.py +0 -0
  10. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/helpers/__init__.py +0 -0
  11. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/helpers/multicall.py +0 -0
  12. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/helpers/price_tracker.py +0 -0
  13. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/logger.py +0 -0
  14. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/tokens/__init__.py +0 -0
  15. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/tokens/erc20/__init__.py +0 -0
  16. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/tokens/erc20/events.py +0 -0
  17. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/types/__init__.py +0 -0
  18. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/types/dex_pair.py +0 -0
  19. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/uniswap_v2/__init__.py +0 -0
  20. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/uniswap_v2/factory.py +0 -0
  21. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/uniswap_v2/pair.py +0 -0
  22. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/uniswap_v2/price.py +0 -0
  23. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/uniswap_v3/__init__.py +0 -0
  24. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/uniswap_v3/liquidity.py +0 -0
  25. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/uniswap_v3/pool.py +0 -0
  26. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols/utils/lookup_dict.py +0 -0
  27. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols_py.egg-info/SOURCES.txt +0 -0
  28. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols_py.egg-info/dependency_links.txt +0 -0
  29. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols_py.egg-info/requires.txt +0 -0
  30. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/src/eth_protocols_py.egg-info/top_level.txt +0 -0
  31. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev2}/tests/test_create2_address.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eth-protocols-py
3
- Version: 0.1.6.dev1
3
+ Version: 0.1.6.dev2
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: eth_rpc_py
6
6
  Requires-Dist: eth_typeshed_py
@@ -79,13 +79,11 @@ class DexPairHelper(BaseModel):
79
79
  ),
80
80
  ]
81
81
  )
82
- if factories == Factories.Arbitrum.Camelot_V3:
82
+ if factory == Factories.Arbitrum.Camelot_V3:
83
83
  calls_list.extend(
84
84
  [
85
85
  (
86
- CamelotV3Factory(
87
- address=uniswap_v3_factory_address
88
- ).pool_by_pair(
86
+ CamelotV3Factory(address=factory).pool_by_pair(
89
87
  CamelotGetPoolRequest(token_a=addr, token_b=paired_with)
90
88
  ),
91
89
  lambda result, addr=addr, paired_with=paired_with: ( # type: ignore
@@ -150,8 +148,7 @@ class DexPairHelper(BaseModel):
150
148
  t[0],
151
149
  t[1],
152
150
  fee_tiers,
153
- uniswap_v2_factory_address,
154
- uniswap_v3_factory_address,
151
+ factories,
155
152
  )
156
153
  )
157
154
  await try_execute_with_setters(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eth-protocols-py
3
- Version: 0.1.6.dev1
3
+ Version: 0.1.6.dev2
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: eth_rpc_py
6
6
  Requires-Dist: eth_typeshed_py