Balancer · interactive mechanism simulation

A weighted-invariant pool (V = A^wᵣ · B^wᵤ) holds two tokens in a shared Vault. Arbitrageurs swap to correct any mispricing, and their fees stay in the pool, growing the invariant — LPs get paid to be automatically rebalanced. BAL emissions stream to LPs on top of fees. Edit the parameters, or trigger the 2025 exploit.
Traders arbitrage swaps BAL emissions 145,000 BAL/wk LPs earn fees + BAL Balancer Vault 80% TKN / 20% WETH TKN balance 1,000,000 WETH balance 250 LP value growth: +0.0% fees stay in the pool, growing the invariant Attacker (rounding exploit) idle
Trades simulated
0
Pool balances
1,000,000 TKN · 250 WETH
LP value growth
+0.0%
BAL emitted (cumulative)
0
Parameters — edit me
80%
0.30%
3%
1.5/s
145,000/wk
Controls

Illustrative simulation. Reflects Balancer's weighted geometric-mean invariant (V = A^wᵣ·B^wᵤ), single-Vault architecture, swap-fee retention, and BAL liquidity mining, plus the November 2025 rounding-error exploit that drained ~$128M from V2 stable pools. Trade sizes and timing are randomized for visualization — not live onchain data. Part of The Onchain Experiment Atlas.