TaxHook
BaseRegisteredA Uniswap v4 hook that taxes a specific ERC-20 token ("boomToken") on every swap — deducting a configurable team fee and a per-pool dev fee on both inflows (beforeSwap) and outflows (afterSwap) — and accumulates those taxes for withdrawal by the owner and registered dev addresses. LP fees are overridden to zero so only the hook-defined taxes apply.
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
2
Last new pool
18mo
Code size
15,461 B
What it can do
Runs on every swap
Its code executes inside each trade in pools that use it.
Can change what you receive
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Sets its own fee
Pools using it let the hook choose the swap fee instead of a fixed tier.
Pools using this hook
2 totalPairCreatedFeePool ID