UniHooks

TestHook

UnichainRegistered

A hook that restricts swaps to an owner-managed allowlist of verified routers and requires native currency as input, minting ERC721 NFTs to swappers proportional to the ETH swapped. Liquidity can only be added once, and the pool can only be initialized once.

0x50481e187f66f23553669e51b3cc87db404c28c0 First pool 22 Mar 2025View on explorer
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
19mo
Code size
18,355 B

What it can do

Runs code on every swap

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

Gates who can add liquidity

It checks every deposit before it goes in.

Runs at pool creation

It runs when a pool is created, often to lock in that pool’s settings.

Safety report

Automated checks, not an audit
✓Not upgradeableNo proxy pattern found: the code is fixed.
!Has an adminowner() is 0x4e59…956c. That account can usually change fees, limits or allowlists after you trade.
✓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: TestHook).
iRestricted swapsSwap access: allowlist. Not everyone can trade every pool.
?No audit linkedAutomated checks only.

Pools using this hook

1 total
PairCreatedFeePool ID
ETH / TEST 19mo 0.01% 0xcf73…28af Tx ↗