[Epic] Lower Min Spot Price in CL to 10^-30 #5726
Labels
ClickUp Test
F: concentrated-liquidity
Tracking the development of concentrated liquidity feature to improve filtering on the project board
T:epic ⛰
Design doc owner: @p0mvn
Prior to the concentrated liquidity launch, we made a decision to increase the minimum spot price to 10^-12 to account for technical constraints in our design.
This has led to a lack of support for token pairs that have a low real spot price, especially where the base asset has a precision of 18 while the quote asset precision of 6. A pair with such precisions scales the real spot price down by 10^12.
To support all token pairs possible, we argue for lowering the minimum spot price from 10^-12 to 10^-30 and maintaining two pool versions:
V1: supported price range 10^-12, 10^38
V2: supported price range 10^-30, 10^38
Decision
Increase min spot price as per TDD: https://app.clickup.com/37420681/v/dc/13nzm9-22453/13nzm9-45853
Tasks
sdk.Dec
toosmomath.BigDec
#6032osmomath.BigDec
and benchmark againstsdk.Dec
#6045SpotPriceUpgradeThreshold
andTickUpgradeThreshold
. #6318CalcAmount0Delta
causesOverChargeSwapOutGivenInError
when swapping zero for one #6351math
package tests at low price level #6353swapstrategy
package tests at low price level #6354priceLimit
from Dec to BigDec #6355Obsolete Tasks
Tasks
Acceptance Criteria
The text was updated successfully, but these errors were encountered: