Trade Simulation
Initial Pool State (r ≈ 32247.19)
USDC Reserve
40000
USDT Reserve
30000
DAI Reserve
30000
✅ Sphere constraint satisfied
Current Prices
USDC/USDT
1.0000
USDT/DAI
1.0000
DAI/USDC
1.0000
Pool Composition
USDC: 33.3%
USDT: 33.3%
DAI: 33.3%
Mathematical Verification
Verify that the JavaScript implementation matches the mathematical formulas from the Orbital paper:
Trade Output Log
View the complete sequence of trades with before/after pool states: