Uniswap v4 hook

Sandwich botspay 20× morethan you do

A Uniswap v4 hook that prices each swap by the caller's behaviour. Nobody is ever blocked.

314,450swaps read486sandwiches found12,180reverted attempts
01The problem

A pool quotes a bot the same price it quotes you.

The pool is holding the evidence the whole time. It just never reads it.

486sandwiches found
12,180reverted attempts
0.30%what all of them pay today
One block · one pool486 found in 19,911 blocks
buy0x76f30e3f…5b1athe bot0.30%
buyanother traderyou0.30%
sell0x76f30e3f…5b1athe bot0.30%
same fee

One address, end to end.

02 | the mechanism

The mechanism
01

The caller

Every swap arrives with an address attached. That address is the only thing Gantry prices on.

02

Read

Its swaps and its traces. A reverted attempt emits no logs, so no subgraph can see one.

03

Score

Scored inside a Chainlink enclave. The rules are public; the thresholds never leave it.

04

Price

One storage slot, read in beforeSwap. The fee is the pool’s own, so the LPs keep it.

01
03The proof

Same pool. Same size. Six times the price.

Three tolls charged on a live v4 pool. Nothing was blocked | only priced.

0.30%the router992.30 gETHno attestation
1.00%extractor985.82 gETHattested
0.05%clean994.30 gETHattested

Swap through a router and the hook sees the router, so you pay the default. Sign an attestation and it sees you: the same wallet, re-scored, kept 8.47 more tokens out of 1,000.

04Built on

Three pieces, each doing the part only it can.