Uniswap v4 hooks let developers add custom behavior to pools, including dynamic fees, custom accounting, and external integrations. Uniswap v4 adds hooks: independent contracts that execute custom logic at specific points in the swap and liquidity lifecycle. A hook’s accounting can still be wrong even when settlement succeeds. Address bits are part of the APIIn v4, the hook address itself encodes which hook functions the PoolManager will call. If you’re building on Uniswap v4 and want help reviewing your hooks, reach out to Trail of Bits.