Uniswap v4 Exoloring New Possibilities I Angela Ocando and Dayitva Goel
Sun, Nov 2, 2025, 12:00 AM
Angela Ocando and Dayitva Goel (Uniswap Foundation) introduce Uniswap v4, highlighting a major architectural shift to a singleton pool contract with flash accounting and a continuous fee spectrum. The headline feature is Hooks—external smart contracts that can run before/after swaps, liquidity adds/removals, donations, fee updates, etc., letting developers program custom pool behavior (risk controls, pricing, access rules) while keeping gas costs low. Compared to v3’s multi-contract routing, v4’s singleton reduces on-chain hops and enables more seamless, gas-efficient trading and liquidity operations. They then walk through problem statements to inspire hackathon builds: TVAP execution and stable-to-stable efficiency for large trades; Pendle-style time-decay AMMs; World ID/KYC-gated pools; lottery/no-loss pools; smart borrow via re-hypothecation of out-of-range liquidity; and RWA issuance hooks with compliance checks. The session closes with a live demo of the v4 Hook Template (Foundry): scaffolding a basic hook, tests, deploying mock tokens, initializing a v4 pool (currency0/1, fee, tick spacing, hook address), adding liquidity, and performing a swap—showing how to flip specific hook callbacks on/off and verify they trigger correctly. 00:02 – Introduction and overview of Hooks in Uniswap v4 01:00 – About the Uniswap Foundation and its mission 01:31 – How the Uniswap protocol works and its evolution 02:21 – Key upgrades from v3 to v4 and ERC-20 support 02:48 – Continuous fee spectrum, singleton architecture, and flash accounting 04:18 – Gas efficiency and improved trading experience 04:48 – How Hooks work and their role in customizing liquidity behavior 06:14 – Hackathon problem statements and innovation ideas 06:31 – Stablecoin efficiency for large-scale swaps 07:07 – Time-Weighted Average Price (TVAP) execution hook 07:45 – Pendle-style AMM with time-decaying assets 08:09 – World ID verified pools and KYC-based access 08:41 – Lottery pools with social reward systems 09:17 – Smart borrowing and liquidity re-hypothecation 09:36 – Real-world asset issuance and compliance hooks 09:56 – L2 hooks for small and medium trade optimization 10:30 – Developer resources and hacker toolkit overview 11:26 – Using the V4 Hook Template for development 13:33 – Forking and deploying your first hook contract 14:54 – Creating mock tokens and setting parameters 15:15 – Deploying a pool and adding liquidity 16:32 – Performing and verifying swaps 17:20 – Closing remarks and developer invitation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 🇮🇳 *ETHGlobal New Delhi* This workshop is specifically for ETHGlobal New Delhi, a 3-day hackathon held September 19-21 at the India International Convention & Expo Centre, bringing together the most skilled web3 developers, designers and product builders from all around the globe for a weekend-long adventure to advance the Ethereum ecosystem! Watch the full ETHGlobal New Delhi 2025 playlist here: https://www.youtube.com/playlist?list=PLXzKMXK2aHh7zCFW3hBqatZ18rQaYeEJL _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ✅ *Follow Uniswap* X: https://x.com/UniswapFND ✅ *Follow ETHGlobal* X: https://x.com/ETHGlobal Warpcast: https://warpcast.com/ethglobal Website: https://ethglobal.com YouTube: https://www.youtube.com/c/ETHGlobal _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Are you interested in Ethereum development and entrepreneurship?_ 👉 Sign up for the next ETHGlobal event: https://ethglobal.com/events 🎁 Get exclusive access and perks with ETHGlobal Plus! https://ethglobal.com/plus 📣 Want us to throw an event in your city? Tell us where! https://ethglobal.com/city