UniHooks

RarityHook

BaseRegistered

RarityHook is a Uniswap v4 hook on Base. A hook for Yunipals rarity pools that enforces two invariants: only the core contract may initialize pools or add liquidity (external LPs are blocked via beforeInitialize/beforeAddLiquidity), and 1% of the output side of every external exact-input swap is burned via afterSwap return delta. Includes a permissionless TWAP oracle updated on every swap.

0x542f8c17c69b71453aa3a5e3c723834d75226844 First pool 31 Aug 2026View on explorer
ALooks safeRegistered, verified, immutable, no admin
Pools
1
Dynamic-fee pools
0
Last new pool
2mo
Code size
5,359 B

What it can do

Runs code on every swap

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

Can take tokens from swaps

It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.

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.
✓No owner foundNo owner() function: nobody has an admin switch (as far as the standard check goes).
!In Uniswap’s hook registry, not tradeable in Uniswap’s app yetRegistered with Uniswap Labs (a listing, not a security review). It runs code on swaps, so Uniswap’s app only routes it once Uniswap Labs approves it, and it isn’t approved yet. Adding liquidity still works, and other apps can trade it.
✓Source code publishedThe code on the block explorer matches what's deployed.
iCan change swap amountsIt has a ReturnDelta permission. Normal for fees and burns, but also how fake-quote hooks steal.
?No audit linkedAutomated checks only.

Pools using this hook

1 total
PairCreatedFeePool ID
pFOIL / PROTO 2mo 0.00% 0x5a93…b2b8 Tx ↗