NoboriHook
EthereumNoboriHook is a Uniswap v4 hook on Ethereum. Brand new: its first pool went live today. Still in use: 61 trades in the last week, and 1 new pool this week.
- Contract name
- NoboriHook
How this hook works
Trading taxA trading tax hook. It takes 3% of every trade, keeps rewards to claim and controls who adds liquidity.
Takes 3% of every trade
On top of the normal pool fee, it takes 3% of each trade. The rate is written into the code. The tax builds up in the hook until it is collected.
The code that does this (beforeSwap):function beforeSwap(address, PoolKey calldata, SwapParams calldata params, bytes calldata) external override onlyPoolManager returns (bytes4, BeforeSwapDelta, uint24) { _roll(); uint256 fee; if (params.zeroForOne) { // sell for exactly X WETH: the pool pays out X + fee, the fee is 3% of that if (params.amountSpecified > 0) { fee = FullMath.mulDivRoundingUp(uint256(params.amountSpecified), TAX_BPS, BPS - TAX_BPS); } } else if (params.amountSpecified < 0) { // buy with exactly A WETH: 3% of A fee = (uint256(-params.amountSpecified) * TAX_BPS) / BPS; } if (fee == 0) return (IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0); _move(fee, !params.zeroForOne); return (IHooks.beforeSwap.selector, toBeforeSwapDelta(fee.toInt128(), 0), 0); }Rewards to claim
It keeps track of what people have earned, and they claim it themselves.
The code that does this (claim):function claim(address player, uint256 season) external returns (uint256 amount) { if (!initialized) revert NotInitialized(); if (_busy) revert Busy(); _roll(); uint256 mask = visited[player][season]; uint8 clan = clanOf(player); for (uint256 i; mask != 0; ++i) { if (mask & 1 != 0) { Station storage st = _stations[season][i]; _muster(season, i, st); _settle(season, i, st, player, clan); } mask >>= 1; } amount = owed[player]; if (amount == 0) return 0; owed[player] = 0; booked -= amount; totalPaid += amount; _busy = true; poolManager.unlock(abi.encode(player, amount)); _busy = false; emit Paid(player, amount); }Rules for adding liquidity
It decides who can add liquidity, or when.
The code that does this (beforeAddLiquidity):function beforeAddLiquidity(address, PoolKey calldata, ModifyLiquidityParams calldata, bytes calldata) external view override onlyPoolManager returns (bytes4) { if (poolSealed) revert PoolIsSealed(); return IHooks.beforeAddLiquidity.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 (sweep):function sweep() external returns (uint256 swept) { if (_busy) revert Busy(); _busy = true; swept = abi.decode(poolManager.unlock(""), (uint256)); _busy = false; if (swept != 0) emit Swept(swept); }
Who controls it: The pool creator can call: seal. 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 checks every deposit before it goes in.
It runs when a pool is created, often to lock in that pool’s settings.
It runs when someone donates tokens to the pool’s LPs.
Hook history
- Move 61 times
Latest transactions
- 0x51e3fac9…942bee block 26,440,809
- 0xe51ab040…8fb2f8 block 26,440,804
- 0x76135b42…a7d0a3 block 26,440,795
- 0x43ac4c85…2aac0f block 26,440,781
- 0x987a33d8…4bee05 block 26,440,778
- 0x8b16315b…2632c4 block 26,440,741
- 0xbd4e0cc4…5db938 block 26,440,739
- 0x10cd9648…5248f2 block 26,440,739
- 0x0dd394b5…ec1495 block 26,440,738
- 0x40840103…59cf32 block 26,440,737
- Paid a toll 24 times
Latest transactions
- 0x76135b42…a7d0a3 block 26,440,795
- 0x562450ca…6b0be4 block 26,440,737
- 0x86e222c2…7fd005 block 26,440,736
- 0x3561bb86…b60be7 block 26,440,729
- 0x4d418890…6d077f block 26,440,728
- 0xe08c1775…d92884 block 26,440,723
- 0xe921e428…bcd746 block 26,440,702
- 0xc58cc4ba…704fd9 block 26,440,683
- 0x01b05575…b2ddaf block 26,440,679
- 0x2a81eed3…498a4d block 26,440,678
- Took a station 13 times
Latest transactions
- 0x51e3fac9…942bee block 26,440,809
- 0x43ac4c85…2aac0f block 26,440,781
- 0x987a33d8…4bee05 block 26,440,778
- 0x562450ca…6b0be4 block 26,440,737
- 0xe921e428…bcd746 block 26,440,702
- 0x93df4488…5b3eff block 26,440,670
- 0x3c5f84b1…4b1bb1 block 26,440,669
- 0xd4a9fc72…c2cc1b block 26,440,666
- 0x04e81ae1…41e47f block 26,440,665
- 0xc3fde84a…4554af block 26,440,662
- Summit 2 times
Latest transactions
- 0x987a33d8…4bee05 block 26,440,778
- 0x5370acda…69b9ff block 26,440,606
- Poured 1 time
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.