eth-protocols-py 0.1.6.dev1__tar.gz → 0.1.6.dev3__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.dev3}/PKG-INFO +1 -1
  2. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/helpers/dex_pairs.py +4 -9
  3. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols_py.egg-info/PKG-INFO +1 -1
  4. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/pyproject.toml +0 -0
  5. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/setup.cfg +0 -0
  6. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/setup.py +0 -0
  7. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/__init__.py +0 -0
  8. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/camelot_v3/__init__.py +0 -0
  9. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/camelot_v3/pool.py +0 -0
  10. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/helpers/__init__.py +0 -0
  11. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/helpers/multicall.py +0 -0
  12. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/helpers/price_tracker.py +0 -0
  13. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/logger.py +0 -0
  14. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/tokens/__init__.py +0 -0
  15. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/tokens/erc20/__init__.py +0 -0
  16. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/tokens/erc20/events.py +0 -0
  17. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/types/__init__.py +0 -0
  18. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/types/dex_pair.py +0 -0
  19. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/uniswap_v2/__init__.py +0 -0
  20. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/uniswap_v2/factory.py +0 -0
  21. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/uniswap_v2/pair.py +0 -0
  22. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/uniswap_v2/price.py +0 -0
  23. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/uniswap_v3/__init__.py +0 -0
  24. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/uniswap_v3/liquidity.py +0 -0
  25. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/uniswap_v3/pool.py +0 -0
  26. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols/utils/lookup_dict.py +0 -0
  27. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/src/eth_protocols_py.egg-info/SOURCES.txt +0 -0
  28. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/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.dev3}/src/eth_protocols_py.egg-info/requires.txt +0 -0
  30. {eth_protocols_py-0.1.6.dev1 → eth_protocols_py-0.1.6.dev3}/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.dev3}/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.dev3
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: eth_rpc_py
6
6
  Requires-Dist: eth_typeshed_py
@@ -57,9 +57,7 @@ class DexPairHelper(BaseModel):
57
57
  calls_list.extend(
58
58
  [
59
59
  (
60
- UniswapV3Factory(
61
- address=uniswap_v3_factory_address
62
- ).get_pool(
60
+ UniswapV3Factory(address=factory).get_pool(
63
61
  GetPoolRequest(
64
62
  token_a=addr,
65
63
  token_b=paired_with,
@@ -79,13 +77,11 @@ class DexPairHelper(BaseModel):
79
77
  ),
80
78
  ]
81
79
  )
82
- if factories == Factories.Arbitrum.Camelot_V3:
80
+ if factory == Factories.Arbitrum.Camelot_V3:
83
81
  calls_list.extend(
84
82
  [
85
83
  (
86
- CamelotV3Factory(
87
- address=uniswap_v3_factory_address
88
- ).pool_by_pair(
84
+ CamelotV3Factory(address=factory).pool_by_pair(
89
85
  CamelotGetPoolRequest(token_a=addr, token_b=paired_with)
90
86
  ),
91
87
  lambda result, addr=addr, paired_with=paired_with: ( # type: ignore
@@ -150,8 +146,7 @@ class DexPairHelper(BaseModel):
150
146
  t[0],
151
147
  t[1],
152
148
  fee_tiers,
153
- uniswap_v2_factory_address,
154
- uniswap_v3_factory_address,
149
+ factories,
155
150
  )
156
151
  )
157
152
  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.dev3
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: eth_rpc_py
6
6
  Requires-Dist: eth_typeshed_py