InternEthFeeHook
EthereumInternEthFeeHook is a Uniswap v4 hook on Ethereum. Brand new: its first pool went live today. Active: 161 trades in the last week, and 1 new pool this week.
- Contract name
- InternEthFeeHook
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, PoolKey calldata key, SwapParams calldata p, bytes calldata) external returns (bytes4, BeforeSwapDelta, uint24) { _check(key); uint256 amount = _amount(p.amountSpecified); uint256 fee; if (p.zeroForOne && p.amountSpecified < 0) fee = amount * 200 / 10000; if (!p.zeroForOne && p.amountSpecified > 0) fee = _grossUpFee(amount); _claim(p.zeroForOne, 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 price) external view returns (bytes4) { _check(key); if (sender != initializer || price != initialSqrtPriceX96) revert Unauthorized(); return IHooks.beforeInitialize.selector; }Anyone can trigger payouts
Anyone can collect the fees it has built up, so nobody has to wait on the hook developer.
The code that does this (collect):function collect() external returns (uint256 amount) { if (collecting) revert Unauthorized(); amount = accrued; if (amount == 0) return 0; collecting = true; accrued = 0; poolManager.unlock(abi.encode(amount)); collecting = false; emit FeesCollected(recipient, amount); }
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 161 times
Latest transactions
- 0xe12f2ceb…17acc3 block 26,508,717
- 0x0de1254b…d41944 block 26,508,604
- 0x244a94cd…b3feb1 block 26,508,589
- 0x4b30d9ea…988589 block 26,508,588
- 0x3a14bee4…131fcc block 26,508,587
- 0xbcd9d7d6…576a39 block 26,508,586
- 0x6fe09e9f…d0c1cc block 26,508,586
- 0x39fdd144…edbbf3 block 26,508,586
- 0xc84cc75e…9a263d block 26,508,586
- 0x2b5df4ad…fc209d block 26,508,586
- Took its fee from a trade 2 times
Latest transactions
- 0x64e80d71…f9d340 block 26,508,590
- 0x77627b20…36f54e block 26,508,442
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.