LaunchHook enforces initialization and swap rules in Uniswap v4. Its address enables exactly two callbacks: beforeInitialize and beforeSwap. The official Uniswap hook model explains callback permission bits.
- Before initialization
- Before a swap
- After the window
Only an authorized factory can initialize a registered launch pool. This
prevents pre-initialization of predictable future token pools with a
different price.