RarityHook
BaseRegisteredRarityHook 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.
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.
Pools using this hook
1 totalPairCreatedFeePool ID