The mechanic

Four levers. One flywheel.

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.

01

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.

02

LPs get 65% of every tax

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.

03

Supply burns continuously

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.

04

Liquidity reinforces itself

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.

Fee curve

Linear in toxicity score, exponential in attacker pain.

The fee function: f(s) = 0.30% × (1 + 16s) where s ∈ [0, 1] is the toxicity score returned by the classifier.

0.30% 1.50% 3.00% 5.10% 0.0 0.25 0.50 0.75 1.00 toxicity score BENIGN TOXIC
Benign zone Β· score < 0.20 Β· pays base 0.30%. Indistinguishable from any other Uniswap V4 0.30 pool.
Suspect zone Β· 0.20 ≤ score < 0.60 Β· pays 1.30–6.10Γ— base. Most retail trades that just happen to land in a high-vol block.
Toxic zone Β· score ≥ 0.60 Β· pays 11×–17Γ— base. Sandwich legs, atomic arbs, MEV-bundle insertions.
Where the tax goes

65 / 25 / 10. Hard-coded. Settled atomically.

The split is written into immutable storage at deploy. No admin can rebalance it. No governance vote can change it.

65%
LP claim balance

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.

25%
Burn

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.

10%
Protocol-owned liquidity

Added at the active tick. Pool depth strictly increases on every toxic swap. Each attack makes the next attack more expensive. Self-healing depth.

Want the technical depth?

The classifier signals, the architecture, the security model, the deploy plan.

See the architecture Read the docs