Swap
Lowest slippage for traders
Last updated
Lowest slippage for traders
Last updated
Swap Engine
Cellana uses a different swap algorithm depending on how assets are correlated to one another. The hybrid swap engine is as following:
vAMM – Cellana follows Curve swap algorithm to provide services for assets with low price correlation. sAMM – Cellana uses the Solidly stable-swap algorithm for highly correlated assets.
Cellana introduces a fully adaptive fee structure, where trading fees are dynamically adjusted in response to market volatility with min/max values of 0% and 10%, respectively.
By default all V2 volatile pools are set to 0.1% and stable pools to 0.04%.
Volatile pools are defined as assets that have no direct correlation in price. For example, CELL/APT is referred as volatile pool since the price of CELL has no relationship to the volatility of APT.
Volatile pairs use the following formula to determine the price:
x × y ≥ k
Stable pools are defined as assets that have a direct correlation to each other. Examples are USDC/USDT. The price of the 2 assets will trade very close to each other and thus a different approach can be taken to allow for much higher volume at low slippage.
Stable pairs use the following formula to determine the price:
x³y + y³x ≥ k