JBUniswapV4Hook
EthereumRegisteredA Uniswap v4 hook that routes swaps between the V4 pool and Juicebox project terminals, selecting whichever venue gives the user more output tokens. Uses a 30-minute TWAP oracle to compare routes for buy-side (pay into project for tokens) and sell-side (cash out project tokens) swaps. Also serves as a TWAP oracle for external contracts via an IGeomeanOracle-compatible interface.
ALooks safeRegistered, verified, immutable
Pools
6
Dynamic-fee pools
0
Last new pool
4mo
Code size
18,089 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Can take tokens from swaps
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.