TestHook
BNBRegisteredTestHook is a Uniswap v4 hook on BNB Chain. A buy/sell tax hook that deducts a configurable fee (in basis points, max 2%) from each swap's input amount via custom accounting (BeforeSwapDelta), accumulating proceeds in the contract. An immutable owner address set at deployment can withdraw collected fees. Liquidity hooks are no-ops.
- Contract name
- TestHook
BProbably fineHas an admin who can change it
Pools
1
Dynamic-fee pools
0
Last new pool
3mo
Code size
4,639 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.
Can block LP withdrawals
It runs before liquidity is removed, so it can delay or refuse LP exits.
Gates who can add liquidity
It checks every deposit before it goes in.
Pools using this hook
1 totalPairCreatedFeePool ID