AMM & Pools

Capture the formulas behind QuantumProof’s scarcity AMM, how validator approvals tie into swaps, and guidance for liquidity providers. Add diagrams and simulation charts during full build-out.

Curve Overview

The base pool uses a lot-based scarcity curve: first lot 5,000 tokens at $0.01, then 1,000-token lots compounding +0.05% each step throughout. Prices are rounded to $0.01 with a $0.01 floor.

Formula (illustrative): price = $0.01 * (1.0005)^(lotIndex). lotIndex = 0 for the first 5k, then 1 + floor((s-5000)/1000); price is rounded to $0.01 and floored at $0.01.

Fees: swaps charge 0.5% in USDT (cap $100); transfers charge 0.5% gas in USDT (cap $100). Swaps do not add gas. We expect to lower swap fees toward 0.1% as volume grows to keep validators funded. Typical cost is ~15% of Ethereum L1. The curve is designed for ~30M QP and complements future book-order exchanges.

Precision model: QP chain balances are stored with 8 decimals (atomic units), while DEX lot quantity is intentionally whole-token to keep lot traversal deterministic and signature-safe.

Phase 1 attestations: multiple validator nodes on the same machine re-verify transactions with their shard parts and return signed verdicts (confirmed/rejected). Phase 2 moves these attesters onto separate hosts/regions; the explorer will show green/yellow/red lights per attester.

Pool Parameters

ParameterDescriptionDefault
alphaLiquidity amplification factor that stabilizes shallow pools.1.42
fee_basisProtocol fee charged per swap, distributed to validators & stakers.100 bps
slip_guardValidator-enforced max slippage per block.8%

Add references to math appendix and provide CSV download of historic parameters.

Liquidity Provider Checklist

  • Enable wallet 2FA and register LP device signatures.
  • Stake minimum QP collateral to participate.
  • Review validator uptime thresholds before providing liquidity.

Image placeholder: split graphic of liquidity vault + validator badge (store under /assets/docs/amm).