LaunchHook
EthereumLaunchHook is a Uniswap v4 hook on Ethereum. Brand new: its first pool went live today. Still in use: 6 trades in the last week, and 6 new pools this week.
- Contract name
- LaunchHook
How this hook works
Trading taxA trading tax hook. It takes a tax on trades, charges more right after launch and keeps rewards to claim.
Takes a tax on trades
On top of the normal pool fee, it keeps part of each trade as a tax. It can never be above 15%. The tax builds up in the hook until it is collected.
The code that does this (beforeSwap):function beforeSwap(address, PoolKey calldata key, SwapParams calldata params, bytes calldata) external onlyPoolManager returns (bytes4, BeforeSwapDelta, uint24) { bool exactIn = params.amountSpecified < 0; // currency0 (ETH) is the specified currency iff zeroForOne == exactIn if (params.zeroForOne != exactIn) { return (IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0); } uint256 ethAmount = exactIn ? uint256(-params.amountSpecified) : uint256(params.amountSpecified); // exact-in buy: ethAmount is the gross ETH paid; exact-out sell: it's the net ETH received uint256 fee = _takeFee(key, ethAmount, exactIn); // positive specified delta = hook is owed `fee` ETH: // exact-in buy → less ETH goes into the swap // exact-out sell→ the swap produces `fee` more ETH, which the hook keeps return (IHooks.beforeSwap.selector, toBeforeSwapDelta(fee.toInt128(), 0), 0); }Higher at launch
The tax starts higher right after launch and comes down over time, which makes it costly for bots to buy first.
The code that does this (snipeTaxBps):function _snipeTaxBps(Launch memory l) internal view returns (uint256) { uint256 elapsed = block.timestamp - l.startTime; if (elapsed >= l.decaySeconds) return 0; return uint256(l.snipeTaxBps) * (l.decaySeconds - elapsed) / l.decaySeconds; }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 to) external returns (uint256 amount) { amount = claimable[msg.sender]; if (amount == 0) revert NothingToClaim(); claimable[msg.sender] = 0; emit Claimed(msg.sender, to, amount); poolManager.unlock(abi.encode(to, amount)); }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) external view onlyPoolManager returns (bytes4) { if (sender != factory) revert NotFactory(); if (launches[key.toId()].creator == address(0)) revert NotRegistered(); 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 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
- Registered a launch 6 times
Latest transactions
- 0xea92a50f…723c06 block 26,425,885
- 0x2ffb0c33…1ac948 block 26,425,854
- 0xb9202676…bc5c55 block 26,425,797
- 0x556fd604…807950 block 26,425,767
- 0x6c7d459d…77423b block 26,425,706
- 0x9bd227ee…96c489 block 26,425,688
- Took its fee from a trade 6 times
Latest transactions
- 0x7dc48d3c…081c32 block 26,425,812
- 0x67f4a904…ec115d block 26,425,812
- 0x4bee3c00…b9e5ba block 26,425,768
- 0xfb8310c9…78f789 block 26,425,737
- 0xd15c1dc8…32e23a block 26,425,716
- 0x973ffccd…a99249 block 26,425,707
- Paid out rewards 4 times
Latest transactions
- 0x4efeedfd…38b57b block 26,425,828
- 0x455f51a9…bc7bc4 block 26,425,825
- 0x35a09504…8c7b5d block 26,425,780
- 0xa5a5eb20…037fee block 26,425,734
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.
Pools
6 totalOnly pools with trades in the last 7 days are listed here: 3 of 6. See all, newest first.