Documentation

How Stable works.

Stable is the native DEX of Stable Chain (chain id 988) — a Uniswap V2-style automated market maker. The twist: Stable Chain's gas token is a stablecoin (gUSDT), so every pool, price and position is denominated in dollars, not ETH.

What is Stable

Two contracts do the work: a Factory that deploys pools, and a Router that you interact with to swap and add/remove liquidity. Each pool is a Pair holding two tokens and pricing them by the constant-product formula x · y = k.

The AMM

Prices are set by the ratio of reserves in a pool, not an order book. A swap moves the reserves along the x·y=k curve; larger trades relative to pool depth get more slippage. The Router computes outputs with getAmountsOut and can route through multiple pools.

Pools & the pair

The launch pool is STABLE / gUSDT (the wrapped native, WgUSDT). Because gUSDT is a dollar stablecoin, the pool quotes $STABLE directly in USD — no ETH leg, no dollar conversion needed.

Priced in dollars. On an ETH chain a token's price is in ETH; here it's in gUSDT ≈ USD. A pool seeded so 1 STABLE = $0.01 means market cap and NAV read straight in dollars.

Liquidity & LP tokens

Provide both sides of a pair to become a liquidity provider. You receive LP tokens — a standard, transferable ERC-20 representing your share of the pool. Redeem them any time via the Router to withdraw your share of the reserves plus accrued fees.

Fees

Every swap pays a 0.30% fee that stays in the pool, growing every LP's share — that's the yield for providing liquidity. An optional protocol fee (a slice of the 0.30%) can be switched on at the Factory; it is disclosed on-chain when active.

$STABLE token

$STABLE is the token of the DEX — a clean, ownerless, fixed-supply ERC-20.

ParameterValue
Total supply1,000,000,000 STABLE
Decimals18
Tax / mint / ownernone — immutable
Launch poolSTABLE / gUSDT
Priced ingUSDT (USD)

Supply is minted once at deploy. A share is seeded into the STABLE/gUSDT pool to open the market; the rest is held for liquidity, incentives and the treasury as disclosed at launch. No mint, no admin — nothing to rug.

Contracts

Factory, Router and $STABLE addresses publish at launch and are verifiable on stablescan.xyz.

Factory · 0xFa3f95898DcFa2CA64bd3f214304d65960AD1b58
Router · 0x0F92F4a749F406FFD030b8327258BDe7be91B836
$STABLE · 0xE5533a2a77f0524F4eF4eFCFDed791a848422e73
WgUSDT · 0x817997Ca8394E26CCE3dE3A076a4889b27DbF9dE

FAQ

Why is everything in dollars? Stable Chain's native/gas token is a stablecoin, so the base asset of every pool is USD-denominated.

Is my LP an NFT? No — V2-style LP tokens are fungible ERC-20s. Transferable and composable.

Slippage? Set by pool depth and trade size, shown before you confirm. Thin pools move more.

Not investment advice. Providing liquidity carries impermanent-loss and smart-contract risk. DYOR.