Uniswap v4 · ETHGlobal Online 2026
Standby
Future exact-output commitments backed by shared AMM liquidity
Standby began with a question: Can a liquidity pool commit to delivering a specific output amount in the future while still serving ordinary swaps? I designed and implemented a Uniswap v4 protocol that backs those commitments with shared pool liquidity.
The central design decision was to let ordinary pool activity proceed as long as the remaining execution capacity could still cover outstanding commitments. The hook checks that condition when admitting new commitments and when evaluating pool activity. When a commitment is exercised, the protocol enforces exact output and verifies delivery to the beneficiary.
I tested the backing invariant and commitment lifecycle with Foundry unit, fuzz, stateful invariant, and integration tests. Independent reference calculations checked the core economic math. I also ran the full commitment lifecycle on Base Sepolia.