Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Typo in CurveBounds.md #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/CurveBounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Beyond this, the protocol imposes a tighter limit of [2^-48, 2^60] on the curve

The Q64.64 representation of root price also means that the minimum precision of any price change is 2^-64 in square root space. In percentage terms that means pools with lower prices have lower precision. Since the protocol enforces a minimum value of 2^-48 on root price, all curves have a minimum percentage precision of 2^-16 in square root terms. Or 0.003% in price terms.

Any swap will have its price imapct rounded up in terms of minimum price precision. The floating side of the swap is rounded in favor of the pool to prevent under-collateralization. Practically this means that the swapper will "burn" a small percentage on every swap proportional to the curve's total liquidity and minimum price precision.
Any swap will have its price impact rounded up in terms of minimum price precision. The floating side of the swap is rounded in favor of the pool to prevent under-collateralization. Practically this means that the swapper will "burn" a small percentage on every swap proportional to the curve's total liquidity and minimum price precision.

## Concentrated Liquidity

Expand Down Expand Up @@ -41,4 +41,4 @@ To reach the maximum deflator value, a single unit of ambient liquidity would ha

However users should be aware that if the maximum deflator is reached **ambient liquidity will stop collecting rewards** in that pool. The protocol will stop incrementing the deflator value, which means that any rewards accumulated to the ambient liquidity in the pool will essentially be burned. The underlying capital will remain available to withdraw, but there will no longer be economic incentive to provide ambient liquidity in this pool. However concentrated liquidity will continue to accumulate rewards in this scenario.

Practically speaking if this happens, protocol governance should strongly consider initializing another pool for the token pair. Since an essentially infinite number (2^256) of pools on the same pair can exist in the protocol, there is no meaningful barrier to creating a new pool, which will reset the ambient rewards accumulator.
Practically speaking if this happens, protocol governance should strongly consider initializing another pool for the token pair. Since an essentially infinite number (2^256) of pools on the same pair can exist in the protocol, there is no meaningful barrier to creating a new pool, which will reset the ambient rewards accumulator.