How did you integrate our partners, if any?

We use Chainlink Data Feeds as the external reference price for supported pools. The adapter handles token ordering, feed decimals, invalid and future-dated answers, staleness, and the optional L2 sequencer check. The hook is built with OpenZeppelin’s Uniswap Hooks components, including BaseHook, CurrencySettler, and IHookEvents. Lachesis also exposes the proposed URC-4 Active Liquidity Framework interface so a compatible router can quote the hook-adjusted result before executing a swap.

What are the key links to share? (Ex. demo video, GitHub, deck)

Github: https://github.com/x-maues/lachesis-hook Slides: https://drive.google.com/file/d/12PfTOMgPJeXUZE82Kbf57t5lk6gN0BUa/view?usp=sharing Project Link: https://lachesis-hook.vercel.app/ Demo Video: https://www.loom.com/share/35649f70a9ff420eba4a23155c59daac

Problem / Background: What inspired the idea? What problems are you solving?

Volatile AMM pools can become stale when the wider market moves before the pool does. The first informed trader to use the old quote receives a better price, while LPs absorb the loss. A high fee can compensate for some of this risk, but it also makes normal trading more expensive; a low fee improves ordinary flow while leaving LPs more exposed to stale-price extraction. Lachesis addresses this at settlement. It compares the amounts that actually changed hands with an external reference price, measures the positive stale-price markout, and charges part of it to the swap that received the stale quote. The proceeds are credited to the pool’s active liquidity.

Impact: What makes this project unique? What impact will this make?

Lachesis gives volatile-pair pool operators a way to separate normal trading fees from stale-price losses. Normal price impact remains part of LP revenue, while only the oracle-visible disadvantage of a stale quote is charged back to the trade that caused it. The mechanism is different from systems that change transaction ordering or adjust fees for future swaps. Lachesis measures the settled swap itself, uses a closed-form calculation that does not loop through ticks, and distributes the recovered value through Uniswap v4 custom accounting. It requires no private order-flow network, trader classification, or off-chain auction. In the included market model, a 5 bps Lachesis pool produced a 29% better LP outcome than a 30 bps vanilla pool on the same price path, while uninformed flow paid 39% less and more orders were filled. The repository also includes adversarial tests for rebate extraction and just-in-time donation capture, plus a real Unichain Sepolia deployment.

Challenges: What was challenging about building this project?

Hardest part was getting Uniswap v4’s settlement semantics exactly right. The hook must charge the correct currency for both swap directions and for both exact-input and exact-output swaps, while keeping the PoolManager’s accounting balanced. We also proved the markout calculation against an independent tick-by-tick implementation. That allowed the production calculation to use the total settled flows without iterating through every crossed tick. The biggest security challenge was the donation path. An early rebate design could be drained by a trader who also supplied just-in-time liquidity, and immediate donations could be captured around a swap. Both designs were removed or redesigned, and the attacks are now covered by dedicated tes