UniHooks

SwapHook

BaseRegistered

A minimal counter hook that increments per-pool counters on each beforeSwap and afterSwap call. It does not modify swap behavior, fees, or token flows — purely observational.

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

Pools using this hook

2 total
PairCreatedFeePool ID
ETH / ALB 20mo 0.30% 0xa13e…a6bd Tx ↗
ETH / CBTST 21mo 0.01% 0x77ef…ea48 Tx ↗