Skip to Content
2. How It Works2.1 AMM Overview

AMM Overview


How does a DEX Determine Prices?

Traditional Centralized Exchanges (CEX) determine prices by stacking and matching buy and sell orders in an Order Book. In contrast, Decentralized Exchanges (DEX) like GIWATER use the AMM (Automated Market Maker) method. Prices are automatically determined based only on the quantity ratio of the two tokens deposited in a smart contract, with no order book required.

GIWATER provides three AMM models tailored to the characteristics of each trading pair.

AMM Models

A specialized model for exchanging assets whose prices are pegged to each other.

Formula:  x³y + y³x = k

The standard x×y=k curve produces unnecessarily large slippage when the exchange ratio of two tokens is close to 1:1. The Basic Stable AMM curve is extremely flat near the 1:1 exchange ratio, dramatically reducing slippage for the same trade size.

Best for: USDC/USDT, DAI/USDC and other stablecoin pairs; stETH/ETH, WBTC/upBTC and other derivative token pairs of the same underlying asset.


Three AMM Models at a Glance

Basic Stable AMMBasic Volatile AMMConcentrated Liquidity AMM
Formulax³y + y³x = kx × y = kRange-concentrated
Base Fee0.05%0.30%0.01% ~ 2.00%
Capital EfficiencyHigh (near peg)MediumVery High
Management DifficultyEasyEasyHard (position mgmt needed)
Recommended ForBeginnersBeginnersExperienced LPs
Best AssetsStablecoins / pegged assetsGeneral volatile pairsAll pairs
i

Concentrated Liquidity AMM has the highest capital efficiency, but fee income stops the moment the price moves outside the set range. If you are new to liquidity provision, starting with Basic Stable AMM or Basic Volatile AMM is recommended.

How is a Pool Created?

A liquidity pool is created by depositing two types of tokens with equal value. For example, to participate in the $TER and $USDC pool, you must deposit them together in a 1:1 value ratio based on the current market price.

Step 1Deposit $TER + $USDCEqual value ratio
Step 2Liquidity PoolSmart Contract
Step 3Receive LP TokensOwnership certificate

Once the deposit is complete, the user receives LP Tokens — a certificate saying “I own X% of this pool.”

Impermanent Loss (IL)

IL (Impermanent Loss) is a form of loss caused by “price ratio fluctuations” of assets deposited in a liquidity pool. It means that the asset value at withdrawal is temporarily lower than if you had simply held them (Hold).

Example: ETH/USDC Pool — Deposit 1 ETH + 1,000 USDC (ETH = $1,000)
Scenario: ETH price doubles to $2,000
If held:1 ETH ($2,000) + $1,000 USDC$3,000
As LP:0.707 ETH ($1,414) + $1,414 USDC ≈$2,828
IL: $3,000 − $2,828 ≈ −$172 (about −5.7%)

IL is closer to a concept of opportunity cost. If the price returns to the time of deposit, IL becomes 0, and long-term accumulated swap fees and $TER emission rewards can offset (outperform) IL.

ScenarioExtent of IL
Fixed Price RatioNone (0%)
Token A Price ×2~ −5.7%
Token A Price ×4~ −20.0%
Stable-Stable PairVery Low
!

Impermanent Loss (IL) is a natural phenomenon of the AMM structure. Actual profit/loss should be judged by comprehensively considering [Fee Income + Emission Rewards − Value Depreciation], rather than looking at IL alone.

Last updated on