UniHooks

Counter

BaseRegistered

A minimal hook that counts beforeSwap, afterSwap, beforeAddLiquidity, and beforeRemoveLiquidity calls per pool. Does not modify swap behavior or fees.

0xc15f260357d542334605e7a949a504f8e3fc8ac0 First pool 7 Feb 2025View on explorer
ALooks safeRegistered, verified, immutable
Pools
5
Dynamic-fee pools
0
Last new pool
20mo
Code size
3,252 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: Counter).
?No audit linkedAutomated checks only.

Pools using this hook

5 total
PairCreatedFeePool ID
ETH / USDC 20mo 0.05% 0xb744…48da Tx ↗
ETH / USDC 21mo 0.05% 0x2b2d…e9f1 Tx ↗
ETH / USDC 21mo 0.30% 0xe91f…1511 Tx ↗
WETH / USDC 21mo 0.30% 0x0a9c…790b Tx ↗
WETH / USDC 21mo 0.30% 0xf494…63a3 Tx ↗