UniHooks

Counter

ArbitrumRegistered

A simple counter hook that tracks pool activity by incrementing per-pool counters on beforeSwap, afterSwap, beforeAddLiquidity, and beforeRemoveLiquidity. It performs no fee modifications, access control, or token transfers — purely observational state recording.

0x8c56d33bec26cad3c3d51c84dd16eaa7fb434ac0 First pool 18 May 2026View on explorer
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
5mo
Code size
6,586 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

1 total
PairCreatedFeePool ID
QQQ / YY 5mo 0.05% 0xb187…743d Tx ↗