exchange

legacy liquidity

Prior to concentrated liquidity, Uniswap v2 pairs were the standard for DeFi liquidity. Wick implements these traditional pairs alongside stable pairs for correlated assets.

when to use legacy pairs

Legacy pairs are ideal for LPs who prefer simplicity and passive management. Unlike wAMM positions that require active price range and shape selection, legacy pairs distribute liquidity across all prices with no rebalancing. Both legacy and DLMM use auto-compounding for swap fees; wAMM pools also use dynamic fees. Choose legacy when you want set-and-forget full-range liquidity or stable/correlated assets where the optimized stable curve minimizes slippage.


swaps

On Wick, users can swap tokens for other tokens. Each trade's exchange rate and slippage is determined by the total value of the liquidity pair and the current pair balance.

pair types

Wick features two types of Liquidity Pairs, each with its own curve:

  • Volatile (Uni V2): The most common type of pair where tokens are paired with equal weights in terms of dollar value. Uses the formula x * y = k.

  • Stable (Correlated): These pairs use an optimized curve designed specifically for correlated assets like stablecoins. The curve features a modified invariant that allows for highly efficient swaps with minimal slippage between tokens of similar value. Uses the formula xy(x^2 + y^2) = k.

swap curves

visualization

To provide a graphical representation of the swap curves, the graph below illustrates the variance between 0 and 100. It demonstrates that the Orange (Correlated) curve exhibits less slippage from the mean as k fluctuates.

Trade size: 0
Volatile: 0.0% slippageStable: 0.0% slippage

price impact

Liquidity depth directly affects trade execution. In legacy pairs, the entire liquidity is spread across all prices, so larger pairs provide better execution with less slippage. The chart below illustrates how trade size relative to pair liquidity affects price impact.

fee structure

speaking of swap fees!

Fees are adjustable if required, and typically range from:

  • Volatile (0.2-2%)
  • Correlated (0.001%-0.03%)
  • Native (1%-3%).

The theoretical MIN and MAX for legacy fees is (0.01<= Fee <= 5000bps). This means the minimum fee is 0.0001%, and the highest is 50.00%.


pairs

Legacy pairs use the classic 50/50 deposit model: provide equal dollar value of two tokens, receive LP tokens representing your share of the pair. Your position covers the entire price range from zero to infinity, so it is always active and always earning fees.

how it works

  1. Deposit equal value of Token A and Token B into the pair.
  2. Receive LP tokens proportional to your share of total pair liquidity.
  3. Earn swap fees on every trade that passes through the pair. Fees are auto-compounded back into the pair, growing your LP position over time.
  4. Withdraw anytime by burning your LP tokens.

rewards & incentives

LP earnings come from two sources:

  • Swap fees: earned directly from every trade in the pair, automatically reinvested into the position.
  • LP incentives: additional WICK emissions may be allocated to legacy pairs by sWICK voters, providing rewards on top of swap fees.

key differences from concentrated liquidity

FeatureLegacy PairsDLMM
RangeFull range (0 to infinity)Custom price range + shape
ManagementFully passiveActive (shapes, rebalancing)
Capital efficiencyLower (spread across all prices)Higher near active bin
Fee compoundingAutomaticAutomatic
IL riskStandardAmplified by concentration
Best forSet-and-forget, stable pairsActive managers, volatile pairs

limit orders & TWAP

overview

Limit orders allow you to set a specific price for buying or selling tokens. The order only executes when the market reaches your target price, giving you control over execution timing and price.

$90$95$100$105$110$100$105limit $105press play to simulatePlayReset

TWAP (Time-weighted Average Price) breaks large orders into smaller chunks executed over time to minimize price impact. Use TWAP when trading large amounts or during volatile periods.

1,000 LITtotal order200 LIT$0.9820t=0 min200 LIT$0.9855t=2 min200 LIT$0.9810t=4 min200 LIT$0.9850t=6 min200 LIT$0.9875t=8 minTWAP avg:$0.9842single trade:$1.0170▶ Play↺ Resetpress play to see TWAP execution

how it works

The protocol uses a maker-taker model:

  • Makers submit orders with price and expiration parameters
  • Takers compete to execute orders at the best possible price
  • Orders execute directly through DEX pools with no intermediary custody

configuration parameters

ParameterDescriptionDefault
IntervalsNumber of trade chunks1
Interval TimeTime between trades2 minutes
Max DurationTotal order lifetimeAuto-calculated
Previous
dynamic fees