Bunni · interactive mechanism simulation

Uniswap v4 "shapeshifting" pool: a Liquidity Density Function reshapes where LP capital sits, surge fees tax volatility-driven arbitrage, an am-AMM auctions the right to capture that toxic flow (rent paid to LPs), and idle reserves are rehypothecated into Aave. In Sept 2025 a rounding flaw in withdrawal accounting let an attacker drain active balance far faster than shares burned — try the failure-mode button.
Traders swap 1.5/s Bunni v4 pool (LDF) TVL: $5.0M shape: tracking price LPs shares: 5.0M am-AMM auction rent capture 8% rents fee-setting rights Aave (rehypothecation) 25% of idle reserve lent idle capital earns yield Attacker: dust withdrawals 44 rounding-down redemptions balance drained >> shares burned
Swaps simulated
0
Active balance (TVL)
5.00 $M
am-AMM rent paid to LPs
0.000 $M
Rehypothecation yield
0.000 $M
Pool health (balance ÷ shares)
1.00×
Parameters — edit me
35%
8%
25%
1.5/s
Controls

Illustrative simulation. Defaults mirror the researched Bunni v2 mechanism (LDF-shaped liquidity, surge fees, am-AMM rent auction, Aave rehypothecation) and the Sept 2025 rounding-error exploit, but trade sizes, timing, and dollar figures are randomized/simplified for visualization — not live onchain data. Part of The Onchain Experiment Atlas.