FeeHook100
RobinhoodHookFeeHook100 is a Uniswap v4 hook on Robinhood Chain. Live for 5 days. Still in use: 5 trades in the last week, and 3 new pools this week.
- Contract name
- FeeHook100
How this hook works
Trading taxA trading tax hook. It takes 1% of every trade and only lets approved callers create pools.
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 fee is paid out in the same trade.
The code that does this (beforeSwap):function _beforeSwap(address, PoolKey calldata key, SwapParams calldata params, bytes calldata) internal override returns (bytes4, BeforeSwapDelta, uint24) { PoolId poolId = key.toId(); Pool memory pool = pools[poolId]; bool specifiedIsCurrency0 = (params.amountSpecified < 0) == params.zeroForOne; if (specifiedIsCurrency0 == pool.tokenIsCurrency0) { return (IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0); } uint256 specified = params.amountSpecified < 0 ? uint256(-params.amountSpecified) : uint256(params.amountSpecified); uint256 fee = (specified * feeBps) / BPS; if (fee == 0) return (IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0); _collect(poolId, pool.token, specifiedIsCurrency0 ? key.currency0 : key.currency1, fee); return (IHooks.beforeSwap.selector, toBeforeSwapDelta(int128(int256(fee)), 0), 0); }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 sender, PoolKey calldata key, uint160) internal override returns (bytes4) { if (sender != launcher) revert NotLauncher(); address token = ILauncher(launcher).launching(); bool tokenIsCurrency0 = Currency.unwrap(key.currency0) == token; if (token == address(0) || (!tokenIsCurrency0 && Currency.unwrap(key.currency1) != token)) { revert InvalidPoolKey(); } PoolId poolId = key.toId(); pools[poolId] = Pool({token: token, tokenIsCurrency0: tokenIsCurrency0}); emit PoolRegistered(poolId, token, Currency.unwrap(tokenIsCurrency0 ? key.currency1 : key.currency0)); return IHooks.beforeInitialize.selector; }
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 auditfeeReceiver: nothing there can change how trades go.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.
It runs when a pool is created, often to lock in that pool’s settings.
Hook history
- Took its fee from a trade 5 times
Latest transactions
- 0xa4f07fe1…ec73c6 block 126,996,369
- 0x29e459b2…5057e9 block 126,982,816
- 0xe8c1fa33…90435a block 123,356,805
- 0x9c96d46b…083f4a block 123,355,728
- 0xd81c2101…06874d block 123,354,816
- Registered a new pool 3 times
Latest transactions
- 0xa4f07fe1…ec73c6 block 126,996,369
- 0x29e459b2…5057e9 block 126,982,816
- 0xd81c2101…06874d block 123,354,816
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.