PoolzFeeHook
RobinhoodPoolzFeeHook is a Uniswap v4 hook on Robinhood Chain. Brand new: its first pool went live today. Active: 281 trades in the last week, and 1 new pool this week.
- Contract name
- PoolzFeeHook
How this hook works
Trading taxA trading tax hook. It takes a cut of every trade and only lets approved callers create pools.
Takes a cut of every trade
On top of the normal pool fee, it keeps a share of each trade. The fee builds up in the hook until it is collected.
The code that does this (beforeSwap):function _beforeSwap( address sender, PoolKey calldata key, SwapParams calldata params, bytes calldata ) internal returns (bytes4, BeforeSwapDelta, uint24) { _requireExpectedPool(key); if (feesPermanentlyDisabled || !_specifiedCurrencyIsNative(params)) { return ( IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0 ); } uint256 feeAmount = _calculateFee(_absolute(params.amountSpecified)); if (feeAmount == 0) { return ( IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0 ); } _recordFee(sender, feeAmount, true); poolManager.take( CurrencyLibrary.ADDRESS_ZERO, address(this), feeAmount ); // …Only approved callers create pools
New pools with this hook can only be created by approved callers, for example its own factory or launcher.
The code that does this (beforeInitialize):function _beforeInitialize( address, PoolKey calldata key, uint160 sqrtPriceX96 ) internal view returns (bytes4) { _requireExpectedPool(key); if (sqrtPriceX96 != initialSqrtPriceX96) { revert InvalidInitialPrice(); } return IHooks.beforeInitialize.selector; }Anyone can trigger payouts
Anyone can send the collected fees on to where they go, so nobody has to wait on the hook developer.
The code that does this (sweepBucket):function sweepBucket(uint8 bucket) external returns (uint256 amount) { Destination storage configured = _destination(bucket); amount = outstandingByBucket(bucket); if (amount == 0) revert NoFeesToSweep(); address recipient = configured.current; totalSweptByBucket[bucket] += amount; totalFeesSwept += amount; emit BucketSwept(msg.sender, bucket, recipient, amount); (bool success, ) = payable(recipient).call{value: amount}(""); if (!success) revert NativeTransferFailed(); }
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?
Safety report
Before you build on it. Automated checks, not an auditWhat 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.
It runs when a pool is created, often to lock in that pool’s settings.
Hook history
- Took its fee from a trade 281 times
Latest transactions
- 0x5266b75a…3b0a3f block 116,989,899
- 0x8a4ab133…2e57bb block 116,978,746
- 0x0d118a1d…426f2f block 116,977,781
- 0x9cf856d4…c5e7c0 block 116,976,730
- 0xb50558ed…eb48de block 116,975,730
- 0x9d4c0dcf…4d0b56 block 116,974,585
- 0xfe5e201d…93fd74 block 116,973,723
- 0xf8fcb9e7…be9ca3 block 116,967,517
- 0x58bed91c…0b5c00 block 116,960,430
- 0xe57eb140…2d66e2 block 116,952,211
Counted from what the hook recorded on-chain across all its pools, for every action in its published code, plus token transfers in and out of it.