BloxBrokerHook
RobinhoodBloxBrokerHook is a Uniswap v4 hook on Robinhood Chain. Live for 1 day. Still in use: 66 trades in the last week, and 1 new pool this week.
- Contract name
- BloxBrokerHook
How this hook works
Smart feesA smart fees hook. It sets its own trading fee.
Sets its own trading fee
Instead of a fixed fee chosen by the pool creator, it decides the fee itself on each trade. The fee goes to liquidity providers; the hook keeps nothing for itself.
The code that does this (beforeSwap):function beforeSwap(address sender, PoolKey calldata key, IPoolManager.SwapParams calldata params, bytes calldata hookData) external view override returns (bytes4, BeforeSwapDelta, uint24) { uint256 weight = collection.walletWeight(_swapperOf(sender, hookData)); uint24 fee = BASE_FEE; if (weight != 0 && _notionalInQuote(key, params) <= _capacityFor(weight)) { fee = _feeFor(weight); } return ( IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, fee | LPFeeLibrary.OVERRIDE_FEE_FLAG ); }
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.
Pools using it let the hook choose the swap fee instead of a fixed tier.
It runs when a pool is created, often to lock in that pool’s settings.
Hook history
Nothing recorded yet.
Counted from token transfers in and out of the hook. Its published code records no actions of its own.