UniHooks

BaseHookMock

ArbitrumRegistered

A minimal BaseHook mock implementation for Uniswap v4 that stubs beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, and afterSwap as no-ops. The beforeSwap returns a hardcoded fee value (4000) without the OVERRIDE_FEE_FLAG set, so it has no effect on swap execution.

0x5f65f898e879c903ea78ce565756ec6f27a48ac0 First pool 29 May 2025View on explorer
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
17mo
Code size
5,297 B

What it can do

Runs code on every swap

Its code executes inside each trade in pools that use it.

Can block LP withdrawals

It runs before liquidity is removed, so it can delay or refuse LP exits.

Gates who can add liquidity

It checks every deposit before it goes in.

Safety report

Automated checks, not an audit
✓Not upgradeableNo proxy pattern found: the code is fixed.
✓No owner foundNo owner() function: nobody has an admin switch (as far as the standard check goes).
✓Listed in Uniswap’s hook registryRegistered with Uniswap Labs (a listing, not a security review).
✓Source code publishedThe code on the block explorer matches what's deployed (contract: BaseHookMock).
?No audit linkedAutomated checks only.

Pools using this hook

1 total
PairCreatedFeePool ID
FUSD / USD₮0 17mo 0.40% 0x8ff4…0372 Tx ↗