# TBURNSWAP > World's First Triple-Band AI-Enhanced Decentralized Exchange on TBURN Mainnet TBURNSWAP is an enterprise-grade, non-custodial decentralized exchange (DEX) built on TBURN mainnet (L1 ChainID=5800, L2 ChainID=58001). It integrates 34+ mathematical engines, Triple-Band AI market analysis, a 4-layer MEV protection shield (99.7% success rate), and a Programmable Block Engine with Nash Equilibrium game-theoretic incentives. Total Value Locked: $3.32B. The platform serves DeFi traders, liquidity providers, and developers seeking institutional-grade DeFi infrastructure. ## Platform Overview TBURNSWAP provides the following core services: - **Token Swaps**: AI-optimized routing using Dijkstra pathfinding across 34 AMM pool engines with real-time slippage computation - **Liquidity Provision**: Concentrated Liquidity AMM (tick-based, virtual liquidity) and Constant Product AMM (x*y=k) — up to 36% APY - **MEV Protection**: 4-layer shield — Pattern Analysis → Mempool Monitoring → Commit-Reveal → Timelock Puzzle - **Real-Time Analytics**: Oracle price (EWMA+TWAP+VWAP+GARCH composite), arbitrage scanner, volume metrics, pool TVL - **Programmable Block Engine**: Nash Equilibrium 5-layer architecture (Builder Commitment → ZK Execution → Antitrust → Slashing → Governance) - **Cross-Chain Swaps**: TBURN Mainnet, TBURN L2, Ethereum, Arbitrum, Base, Polygon, BSC, Avalanche - **Non-Custodial Custody**: TBC-712 typed signatures, N-of-M multi-sig, Merkle proof of reserves ## Key Metrics (Live) - TBURN Oracle Price: $0.85 (34-engine EWMA+TWAP+VWAP+GARCH composite) - Total Value Locked (TVL): $3.32B - L2 EWMA TPS: 10,500+ - L2 Block Time: 100ms (L1×20 height ratio) - MEV Protection Success Rate: 99.7% - Peak Liquidity APY: 36% - Mathematical Engine Count: 34+ - Supported Chains: 8 (TBURN L1, L2, ETH, ARB, BASE, MATIC, BSC, AVAX) ## Technical Architecture ### AI System: Triple-Band AI - **Strategic Band**: Long-term portfolio analysis using ensemble voting (Bayesian Beta-Binomial, Lévy Flight, Markov Chain 4-state). Confidence threshold: 85%. - **Tactical Band**: Medium-term routing using Dijkstra optimal pathfinding, Shannon Entropy signal scoring, Half-Kelly capital allocation. - **Operational Band**: Real-time anti-MEV using Pattern Analysis + Mempool Monitoring. Detection latency: <50ms. ### Mathematical Engine Suite (34 Engines) EWMA (Exponentially Weighted Moving Average), Holt-Winters seasonal forecasting, GARCH(1,1) volatility, Cornish-Fisher VaR 99%, Shannon Entropy, Jain Fairness Index, Half-Kelly criterion, Monte Carlo simulation (1K paths), Bayesian Beta-Binomial inference, Lévy Flight jump diffusion, Markov Chain (4-state), Avellaneda-Stoikov optimal market making, PID controller, Kyle's Lambda price impact, TWAP, VWAP, HHI antitrust, Nash equilibrium computation, and 16+ additional engines. ### DEX Protocol - **Constant Product AMM**: x*y=k formula with standard fee tiers (0.01%, 0.05%, 0.3%, 1.0%) - **Concentrated Liquidity AMM**: Tick-based pricing, virtual liquidity amplification, dynamic fee adjustment - **Deep Liquidity Engine**: Avellaneda-Stoikov market making, JIT liquidity, LBP (Liquidity Bootstrapping Pools) - **CLOB-AMM Hybrid**: Central Limit Order Book + AMM for institutional flow ### Cryptographic Security (TBC Standards) - TBC-712: Typed Data Hashing for swap intents (EIP-712 equivalent) - TBC-20: Fungible token standard - TBC-721: Non-fungible position representation - TBC-4626: Tokenized vault standard - TBC-1559: Dynamic gas pricing (EIP-1559 equivalent) - TBC-44: HD wallet key derivation (BIP-44 equivalent) - TBC-4337: Account abstraction ### Programmable Block Engine (Nash Equilibrium) The block engine enforces Nash equilibrium: E[Π_honest] ≥ E[Π_cheat] at all information sets via 5 layers: - **L0 BuilderCommitmentVault**: S(v) = α·stake + β·profit (α=50%, β=20%) - **L1 VerifiableExecutionLayer**: ZK proof verification — p_det = 1-(1-p_zk)·(1-p_watch) → 1 - **L2 CompetitionEnforcer**: HHI-based antitrust (DoJ standard: <1,500 competitive, 1,500-2,500 moderate, ≥2,500 concentrated) - **L3 SlashingCoordinator**: Dispute lifecycle (1-day period, 12h counter-proof, spam bonds) - **L4 GovernanceTimelock**: Phase 1 OPERATIONAL (7-day) → Phase 2 DAO_CONTROLLED (10% quorum) → Phase 3 TRUSTLESS ### L2 Sequencer - Chain ID: 58001 (Parent L1: 5800) - Block time: 100ms - Height ratio: L1×20 - EWMA TPS: 10,500+ - 18-engine mathematical state module - TBC-1559 dynamic gas pricing ## API Reference (Public Endpoints) TBURNSWAP provides a public API at https://tburnswap.io/api for integration: ### DEX Data Endpoints (GET, public) - `/api/dex/price` — Current TBURN oracle price (3s cache) - `/api/dex/market` — Full market data (30s cache) - `/api/dex/pools` — All liquidity pool data (60s cache) - `/api/dex/candles` — OHLCV candlestick data (10s cache) - `/api/dex/depth` — Order book depth (5s cache) - `/api/dex/route` — Dijkstra optimal routing (on-demand) - `/api/dex/slippage` — Slippage estimation - `/api/dex/volume` — Volume metrics - `/api/dex/yield` — Yield/APY data (300s cache) - `/api/dex/swaps` — Recent swap activity - `/api/dex/tokens` — Supported token list - `/api/dex/volatility` — GARCH volatility metrics - `/api/dex/twap` — Time-weighted average price - `/api/dex/healthz` — DEX system health ### Programmable Block API (GET, public) - `/api/programmable-block/status` — Nash equilibrium system status - `/api/programmable-block/builders` — Builder leaderboard - `/api/programmable-block/hhi` — HHI antitrust index - `/api/programmable-block/disputes` — Dispute queue - `/api/programmable-block/nash` — Nash math metrics - `/api/programmable-block/governance` — Governance phase - `/api/programmable-block/risk` — Risk profile (Monte Carlo, Markov, Avellaneda-Stoikov) - `/api/programmable-block/dex` — Live DEX data integration ### Network & Analytics (GET, public) - `/api/home/stats` — Protocol overview stats - `/api/mainnet/status` — TBURN mainnet status - `/api/price/current` — Current TBURN price - `/api/mainnet/l2/status` — L2 sequencer status - `/api/mainnet/l2/analytics` — L2 analytics - `/api/mainnet/l2/fee-market` — L2 fee market data ### Federation Endpoints (POST, authenticated) - `/api/dex/simulate` — Simulate swap - `/api/dex/quote` — Get firm quote - `/api/dex/swap` — Execute swap - `/api/dex/multi-swap` — Execute multi-hop swap - `/api/dex/liquidity/add` — Add liquidity - `/api/dex/liquidity/remove` — Remove liquidity ## Navigation Guide - **Home** (https://tburnswap.io/): Platform overview, live oracle price, protocol stats, Triple-Band AI status - **Trade** (https://tburnswap.io/trade): Token swap interface with AI routing, MEV protection, order book, Dijkstra route visualization - **Pools** (https://tburnswap.io/pools): Liquidity pool management, concentrated liquidity positions, yield analytics - **Analytics** (https://tburnswap.io/analytics): Market data, arbitrage scanner, mainnet DEX feeds, token market cap rankings - **Network** (https://tburnswap.io/network): TBURN mainnet status, block explorer, WebSocket bridge health, L2 sequencer dashboard - **Dashboard** (https://tburnswap.io/dashboard): Personal portfolio, balances, positions, transaction history - **PB Engine** (https://tburnswap.io/programmable-block): Programmable Block Engine — Nash math, builder competition, disputes, governance - **Docs** (https://tburnswap.io/docs): Developer documentation, SDK, API reference ## Frequently Asked Questions **Q: What is TBURNSWAP?** A: TBURNSWAP is the world's first Triple-Band AI-Enhanced DEX on TBURN mainnet with $3.32B TVL, 99.7% MEV protection, and 34+ mathematical engines. **Q: How is the TBURN oracle price calculated?** A: Via 34-engine composite: EWMA (recent sensitivity) + TWAP (manipulation resistance) + VWAP (liquidity-adjusted) + GARCH (volatility forecast). Current: $0.85. **Q: Is TBURNSWAP non-custodial?** A: Yes. All trades use TBC-712 typed signatures. TBURNSWAP never holds funds. N-of-M multi-sig + Merkle proof of reserves. **Q: What chains are supported?** A: TBURN L1 (5800), TBURN L2 (58001), Ethereum, Arbitrum, Base, Polygon, BSC, Avalanche. **Q: What are the trading fees?** A: 0.01% (stable), 0.05% (correlated), 0.3% (standard), 1.0% (exotic). All fees go to liquidity providers. AI uses Half-Kelly criterion for fee optimization. --- - [Trade on TBURNSWAP](https://tburnswap.io/trade): Swap tokens with AI-optimized routing and MEV protection - [Liquidity Pools](https://tburnswap.io/pools): Provide liquidity and earn up to 36% APY - [Analytics Dashboard](https://tburnswap.io/analytics): Real-time DeFi market data and oracle feeds - [Network Status](https://tburnswap.io/network): Live TBURN mainnet and L2 sequencer metrics - [PB Engine](https://tburnswap.io/programmable-block): Nash Equilibrium block engine architecture - [Developer Docs](https://tburnswap.io/docs): API reference, SDK, and TBC standard specifications - [OpenAPI Spec](https://tburnswap.io/api/openapi.json): Machine-readable API specification - [AI Plugin Manifest](https://tburnswap.io/.well-known/ai-plugin.json): AI plugin descriptor