LaunchHook
EthereumLaunchHook is a Uniswap v4 hook on Ethereum. Brand new: its first pool went live today. Still in use: 5 trades in the last week, and 17 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 20%. 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 (the quote) is the specified currency iff zeroForOne == exactIn if (params.zeroForOne != exactIn) { return (IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0); } uint256 quoteAmount = exactIn ? uint256(-params.amountSpecified) : uint256(params.amountSpecified); // exact-in buy: quoteAmount is the gross quote paid; exact-out sell: it's the net quote received uint256 fee = _takeFee(key, quoteAmount, exactIn); // positive specified delta = hook is owed `fee` of the quote: // exact-in buy → less quote goes into the swap // exact-out sell→ the swap produces `fee` more quote, 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(Currency currency, address to) external returns (uint256 amount) { amount = claimable[msg.sender][currency]; if (amount == 0) revert NothingToClaim(); claimable[msg.sender][currency] = 0; emit Claimed(msg.sender, currency, to, amount); poolManager.unlock(abi.encode(currency, 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
Across all its pools, the hook took its fee from a trade: $32.95, and paid out rewards: $32.90.
- Took its fee from a trade 5 times, worth $32.95
Latest transactions
- 0xa450d7ff…74ed86 block 26,427,790 · 0.0000277 ETH
- 0x0494f03f…0cad44 block 26,427,140 · 0.00249 ETH
- 0xf3481467…2c0778 block 26,427,138 · 0.00299 ETH
- 0x6fdfda29…69496f block 26,426,680 · 0.00139 ETH
- 0x336505c5…eb25db block 26,426,610 · 0.0114 ETH
- Paid out rewards 2 times, worth $32.90
Latest transactions
- 0x20df7e65…96c304 block 26,427,586 · 0.0128 ETH
- 0x8ccf036e…7ff521 block 26,427,168 · 0.00548 ETH
- Registered a launch 17 times
Latest transactions
- 0x04263c4a…bb43a1 block 26,427,759
- 0x5d5861cc…1e74e6 block 26,427,750
- 0x30369e9f…b7dd1b block 26,427,726
- 0xa04ec447…0ae013 block 26,427,608
- 0xe77298e6…cb20ab block 26,427,597
- 0xc9c9a6c3…2f12c7 block 26,427,383
- 0xf020494c…2a4a85 block 26,427,362
- 0x6397e625…3555b4 block 26,427,172
- 0x6a80ec82…2b8a02 block 26,427,132
- 0x9efaf7e5…03e02e block 26,427,114
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. Dollar values count the amounts paid in ETH, stablecoins, BNB and BTC, at today’s prices.
Pools
17 totalOnly pools with trades in the last 7 days are listed here: 2 of 17. See all, newest first.