Liquidity Pools
The core functionality of Archly Finance is to allow users to trade digital assets in a secure way, with very low fees and low slippage.
Slippage is the difference between the current market price of an asset and the price at which the actual trade/transaction is executed. This difference could result in a smaller amount (higher price paid) or a higher amount (smaller price paid) of desired tokens returned from a trade.
To provide access to the best rates on the market, we identified two types of assets:
- correlated - for example stable coins (
$USDC
,$DAI
, etc.) - uncorrelated - for example
$TLOS
and$ETH
Archly Finance offers two different liquidity pool types based on token pair needs, Stable Pools and Volatile Pools.
The protocol router evaluates both pool types to determine the most efficient price quotation and trade execution route available. To protect against flashloan attacks, the router will use 30-minute TWAPs (time-weighted average prices). The router doesn't require upkeep (external maintenance).
The deeper the liquidity of a given pool (higher value locked), the smaller the slippage it will offer.
Fees
On Archly Finance the trading fees are kept in the originally traded tokens
(if you trade $USDC
and $Arc
the fees will be kept in the same tokens).
The trading fees for both liquidity pool types start at 0.01%, and can be adjusted for up to 5%.
The Volatile and Stable liquidity pools can be assigned different trading fees on Archly Finance.
Each individual pool (i.e. $Arc
-$USDC
pool) can be assigned a custome fee.
Stable Pools
Stable pools are designed for assets which have little to no volatility. This means that the formula used for pricing the assets allows for low slippage even on large traded volumes.
x³y + y³x ≥ k
Volatile Pools
Volatile pools are designed for assets with high price volatility. These pools use a generic AMM formula.
x × y ≥ k
A visual representation of the formulas
The mathematical formulas are used to keep the total pool liquidity the same at all times.
Below, you can find a visual comparison between the stable (red) and volatile (green) AMM pricing equations, where:
x
is the amount of first asset in the pooly
is the amount of second asset in the same poolk
is a fixed constant