TreasuryHook
BaseRegisteredA Uniswap v4 hook that charges a 3% buy tax on ETH→token swaps (deducted in beforeSwap) and a 3% sell tax on token→ETH swaps (deducted in afterSwap), routing fees to a treasury address. Trading is gated behind an owner-controlled enableTrading() switch, with an optional max-wallet restriction on buys.
?CheckingBytecode not analysed yet
Pools
1
Dynamic-fee pools
0
Last new pool
5mo
Code size
—
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.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.