charli3_dendrite 1.4.10.dev0__tar.gz → 1.4.10.dev1__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.
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/PKG-INFO +1 -1
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/pyproject.toml +2 -2
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/dano.py +7 -8
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/LICENSE +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/README.md +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/backend_base.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/blockfrost/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/blockfrost/models.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/dbsync/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/dbsync/models.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/ogmios_kupo/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/ogmios_kupo/models.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/utils.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dataclasses/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dataclasses/datums.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dataclasses/models.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/amm_base.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/amm_types.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/cswap.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/minswap.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/muesli.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/spectrum.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/splash.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/sundae.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/vyfi.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/wingriders.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/core/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/core/base.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/core/errors.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/__init__.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/axo.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/chadswap.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/djed.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/geniusyield.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/ob_base.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/saturnswap.py +0 -0
- {charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/utility.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "charli3_dendrite"
|
|
3
|
-
version = "1.4.10-
|
|
3
|
+
version = "1.4.10-dev1"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = ["Elder Millenial <eldermillenial@protonmail.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -49,7 +49,7 @@ module = ["pycardano", "pycardano.*", "dotenv", "nox"]
|
|
|
49
49
|
ignore_missing_imports = true
|
|
50
50
|
|
|
51
51
|
[tool.bumpversion]
|
|
52
|
-
current_version = "1.4.10-
|
|
52
|
+
current_version = "1.4.10-dev1"
|
|
53
53
|
parse = """(?x)
|
|
54
54
|
(?P<major>\\d+)\\.
|
|
55
55
|
(?P<minor>\\d+)\\.
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/dano.py
RENAMED
|
@@ -747,8 +747,8 @@ class DanoCLMMState(AbstractConstantLiquidityPoolState):
|
|
|
747
747
|
new.root[d.unit_y] = new.root.get(d.unit_y, 0) + pool_change_y
|
|
748
748
|
# swap_fee (always lovelace) plus any staking reward withdrawn into the
|
|
749
749
|
# pool stay in the pool's lovelace. The withdraw validator REQUIRES the
|
|
750
|
-
# reward to land in the pool output, not the user's change (
|
|
751
|
-
#
|
|
750
|
+
# reward to land in the pool output, not the user's change (a reward
|
|
751
|
+
# sent to change is rejected with error 3012).
|
|
752
752
|
new.root["lovelace"] = new.root.get("lovelace", 0) + swap_fee + staking_reward
|
|
753
753
|
return new
|
|
754
754
|
|
|
@@ -859,12 +859,11 @@ class DanoCLMMState(AbstractConstantLiquidityPoolState):
|
|
|
859
859
|
|
|
860
860
|
# Capacity guard. compute_pool_change CLAMPS the output to the band
|
|
861
861
|
# reserve when a swap would drain the whole concentrated-liquidity band,
|
|
862
|
-
# but the validator REJECTS
|
|
863
|
-
#
|
|
864
|
-
#
|
|
865
|
-
#
|
|
866
|
-
#
|
|
867
|
-
# input with get_amount_in to stay strictly in range.
|
|
862
|
+
# but the validator REJECTS a clamped swap on-chain: the full band
|
|
863
|
+
# reserve is unreachable with finite input (which is also why
|
|
864
|
+
# get_amount_in raises there). Refuse rather than emit a tx that cannot
|
|
865
|
+
# validate; callers size the input with get_amount_in to stay strictly
|
|
866
|
+
# in range.
|
|
868
867
|
lp_x, lp_y = self.active_liquidity(reward)
|
|
869
868
|
if (delta_amount > 0 and pool_change_y <= -lp_y) or (
|
|
870
869
|
delta_amount < 0 and pool_change_x <= -lp_x
|
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/backend/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/cswap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/amm/vyfi.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/core/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/axo.py
RENAMED
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/dexs/ob/djed.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{charli3_dendrite-1.4.10.dev0 → charli3_dendrite-1.4.10.dev1}/src/charli3_dendrite/utility.py
RENAMED
|
File without changes
|