Pool Staking Pallet
The Pool Staking pallet manages liquidity pools, LP share tracking, and fee distribution for all token exchanges.
How It Worksโ
- Users deposit equal value of TOKEN + USDU
- LP shares are minted proportional to contribution
- Traders swap against the pool, paying 0.5% to LPs
- LPs can withdraw by burning their shares
Pool Dashboard Componentsโ
| Component | Description |
|---|---|
| Pool Overview | Price, total liquidity, APY |
| Pool Ownership | LP addresses and share percentages |
| Staking History | All LP transactions |
| Exchange Staked | Total 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