Predatory execution is taxed
The hook scores every incoming swap on five toxicity dimensions and applies a fee multiplier in the same transaction. Sandwich legs, atomic arbs, and slippage-tolerant predator orders pay 2× to 17× the base fee.
Extractable Value
The hook runs entirely inside Uniswap V4's beforeSwap and afterSwap entrypoints.
Every toxic swap pays a tax. The tax fuels LPs, burns float, and deepens the pool.
The more predators show up, the more $EV captures.
The hook scores every incoming swap on five toxicity dimensions and applies a fee multiplier in the same transaction. Sandwich legs, atomic arbs, and slippage-tolerant predator orders pay 2× to 17× the base fee.
The toxicity fee is collected as BeforeSwapDelta and credited to the pool's LP claim balance proportional to in-range liquidity. Honest LPs effectively earn a yield surcharge funded by the MEV economy.
25% of each toxicity fee is converted to $EV via the pool itself and transferred to 0x...dead. Aggressive extraction shrinks the float monotonically. There is no mint function.
The remaining 10% is reinvested as protocol-owned liquidity. Each attack widens the pool. Each widened pool makes the next attack more expensive. Self-healing depth.
The fee function: f(s) = 0.30% × (1 + 16s) where s β [0, 1] is the toxicity score returned by the classifier.
The split is written into immutable storage at deploy. No admin can rebalance it. No governance vote can change it.
Settled as BalanceDelta against the pool's liquidity at the current tick. In-range LPs earn a yield surcharge funded entirely by the MEV economy.
Tax denominated in the counter-token is swapped for $EV through the pool itself, then sent to the burn address (0xβ¦dEaD). Float shrinks every block that sees toxic flow.
Added at the active tick. Pool depth strictly increases on every toxic swap. Each attack makes the next attack more expensive. Self-healing depth.
The classifier signals, the architecture, the security model, the deploy plan.