Hookathon UHI8 — Specialized Markets

Autonomous depeg defense
for stablecoin pools

A Uniswap v4 hook that dynamically adjusts swap fees when stablecoins lose their peg — powered by real-time cross-chain monitoring via Reactive Network.

View Source

How it works

1

Detect

We monitor stablecoin prices on Ethereum in real time. If the price drifts from its peg, we catch it instantly.

2

Classify

The drift is classified as Mild, Severe, or Critical based on how far the price has moved. Two consecutive readings are required to confirm.

3

Protect

Swap fees on Unichain adjust automatically — higher fees during depeg protect liquidity providers. At critical levels, LP withdrawals are blocked entirely.

Ready to explore?

Connect your wallet to see live hook state and trigger depeg scenarios on Unichain Sepolia.