SwapTaxHook
BaseSwapTaxHook is a Uniswap v4 hook on Base. Brand new: its first pool went live today. Still in use: 4 trades in the last week, and 1 new pool this week.
- Contract name
- SwapTaxHook
How this hook works
Trading taxA trading tax hook. It takes 1% of every trade.
Takes 1% of every trade
On top of the normal pool fee, it takes 1% of each trade. The rate is written into the code. The tax is paid out in the same trade.
The code that does this (take):function _take(address currency, int256 amount) private returns (uint256 tax) { tax = (uint256(amount < 0 ? -amount : amount) * TAX_BPS) / 10_000; if (tax > 0) POOL_MANAGER.take(currency, recipient, tax); }
Who controls it: Nobody. The hook has no admin functions, and the code cannot be changed.
Based on the hook’s published code.What do these labels mean?
What it can do
Its code executes inside each trade in pools that use it.
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Hook history
Nothing recorded yet.
Counted from token transfers in and out of the hook. Its published code records no actions of its own.