TouchStone

Uniswap v4 hook that holds a refundable deposit on informed swaps and settles it on a signed price

ETHGlobal MumbaiShipped November 5, 2026 Shipping#defi#payments
Visit Repo
TouchStone banner

About

Every automated market maker has a quiet leak: a pool learns the price only from the trades it receives, so after the market moves it keeps quoting the old price until a bot trades against it. The bot keeps the difference and the liquidity providers pay for it. Touchstone is a Uniswap v4 hook that recovers part of that value without changing the price any trader gets.

When a swap looks informed (large, first in its block, part of fast one-sided flow, or moving toward a stale price), the hook takes a small refundable deposit out of the swap's own output, in the same transaction and with a single wallet signature. A few seconds later anyone can settle it with a signed Pyth price. The trade is measured against that price: if its markout beats a margin, part of the excess goes to the liquidity providers and the rest returns to the trader. Benign flow is refunded in full and can earn a rebate.

Around that core sit four markets: clawback on informed trades, a rented arbitrage licence that pays rent to the pool, rebates for benign flow, and quote integrity. For the last one, previewDeposit, a URC-4 indicative quote and a guarded router show the deposit before the user signs and enforce limits inside the transaction.

Backtested on 184,145 real Ethereum USDC/WETH swaps from a held-out window, the trigger flagged the trades carrying 98.9% of toxic markout while asking a deposit on 23.4% of swaps (historical backtest, pre-registered). Seven verified contracts run on Arbitrum Sepolia, with a dashboard that executes a real swap and follows its settlement.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

ShippingLast push 24 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Poincaré

A Uniswap v4 hook that detects trends and makes trend-chasing swaps pay a spread to the LPs

ETHGlobal MumbaiPrize winner Shipping#ai-agents#ai

Gantry

A Uniswap v4 hook that prices every swap by the caller's on-chain behaviour. Nobody gets blocked.