Skip to main content

Pool Staking Pallet

The Pool Staking pallet manages liquidity pools, LP share tracking, and fee distribution for all token exchanges.


How It Worksโ€‹

  1. Users deposit equal value of TOKEN + USDU
  2. LP shares are minted proportional to contribution
  3. Traders swap against the pool, paying 0.5% to LPs
  4. LPs can withdraw by burning their shares

Pool Dashboard Componentsโ€‹

ComponentDescription
Pool OverviewPrice, total liquidity, APY
Pool OwnershipLP addresses and share percentages
Staking HistoryAll LP transactions
Exchange StakedTotal staked value and individual positions

Reward Calculationโ€‹

APY = (Fees paid to LPs over past year) รท (Total liquidity staked) ร— 100


Impermanent Lossโ€‹

The pallet uses a constant product formula. Price divergence between paired tokens creates impermanent loss for LPs โ€” offset by accumulated trading fees over time.

โ†’ See: Staking Concepts ยท Liquidity Pools Guide