DevLauncher
EthereumDevLauncher is a Uniswap v4 hook on Ethereum. Brand new: its first pool went live today. Still in use: 1 trade in the last week, and 1 new pool this week.
- Contract name
- DevLauncher
How this hook works
Smart feesA smart fees hook. It changes its fee over time and only lets approved callers create pools.
Fee changes over time
Instead of a fixed fee, it sets the fee itself and changes it over time, for example starting high at launch and coming down. 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, bytes calldata) external view returns (bytes4, BeforeSwapDelta, uint24) { if (msg.sender != address(poolManager)) revert NotPoolManager(); uint24 fee; if (sender == positions) { fee = 0; // the PositionManager swaps only for the launch tx's own single dev buy } else { fee = currentFee(key.toId()); } return (IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, fee | LPFeeLibrary.OVERRIDE_FEE_FLAG); }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, uint160) external view returns (bytes4) { if (msg.sender != address(poolManager)) revert NotPoolManager(); if (sender != engine) revert OnlyEngine(); // nobody else can create pools with this hook 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 (collectFees):function collectFees(address token) external { PoolId id = poolOf[token]; if (launches[id].token == address(0)) revert BadParams(); IPositionManager(positions).collectFees(id); }
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 auditregisterWhat 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 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.