EphemeralHook
EthereumRegisteredEphemeralHook is a Uniswap v4 hook on Ethereum by 0xa9548c0e16b3e94b1b8e6646cc0b71fae7e397b8. Launch pool hook for EPH: time-based ETH fee via return deltas, LP fee 0, no owner. Brand new: its first pool went live today. Active: 182 trades in the last week, and 1 new pool this week.
- Made by
- 0xa9548c0e16b3e94b1b8e6646cc0b71fae7e397b8
- Contract name
- EphemeralHook
How this hook works
Trading taxA trading tax hook. It takes a cut of every trade, charges more right after launch and controls who adds liquidity.
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 sender, PoolKey calldata, IPoolManager.SwapParams calldata params, bytes calldata) external onlyPoolManager returns (bytes4, BeforeSwapDelta, uint24) { bool exactInput = params.amountSpecified < 0; if (exactInput == params.zeroForOne) { uint256 bps = feeBps(sender); if (bps != 0) { uint256 amount = exactInput ? uint256(-params.amountSpecified) : uint256(params.amountSpecified); // exact input: fee is a share of the ETH paid; exact output: of the gross ETH the pool sends out uint256 fee = _fee(amount, bps, exactInput); if (fee != 0) { _collect(sender, bps, fee); return (IHooks.beforeSwap.selector, toBeforeSwapDelta(fee.toInt128(), 0), 0); } } } return (IHooks.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0); }Higher at launch
The fee starts higher right after launch and comes down over time, which makes it costly for bots to buy first.
The code that does this (feeBps):function feeBps(address sender) public view returns (uint256) { if (sender == launcher && block.number == launchBlock) return 0; uint256 elapsed = block.timestamp - launchTime; if (elapsed < C.FEE_WINDOW_1) return C.FEE_1; if (elapsed < C.FEE_WINDOW_2) return C.FEE_2; if (elapsed < C.FEE_WINDOW_3) return C.FEE_3; if (elapsed < C.FEE_WINDOW_4) return C.FEE_4; if (elapsed < C.FEE_WINDOW_5) return C.FEE_5; if (elapsed < C.FEE_WINDOW_6) return C.FEE_6; return C.FEE_FOREVER; }Rules for adding liquidity
It decides who can add liquidity, or when.
The code that does this (beforeAddLiquidity):function beforeAddLiquidity( address sender, PoolKey calldata, IPoolManager.ModifyLiquidityParams calldata, bytes calldata ) external view onlyPoolManager returns (bytes4) { if (sender != launcher) revert NotLauncher(); return IHooks.beforeAddLiquidity.selector; }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 onlyPoolManager returns (bytes4) { if (sender != launcher) revert NotLauncher(); if (launchTime != 0) revert AlreadyInitialized(); if ( !key.currency0.isAddressZero() || Currency.unwrap(key.currency1) != token || key.fee != C.LP_FEE || key.tickSpacing != C.TICK_SPACING || address(key.hooks) != address(this) ) revert WrongPool(); launchTime = uint64(block.timestamp); launchBlock = uint64(block.number); poolId = key.toId(); emit Launched(poolId, launchTime, launchBlock); return IHooks.beforeInitialize.selector; }Anyone can trigger payouts
Anyone can pay out what it has collected, so nobody has to wait on the hook developer.
The code that does this (distribute):function distribute() external { _pay(true, true); }
Who controls it: The hook developer can change the wallets that receive its fees. The hook developer can also change: team. 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.
Hook history
- Took its fee from a trade 192 times
Latest transactions
- 0x8cded6d3…960c60 block 26,436,055
- 0xf201626f…2b7668 block 26,436,055
- 0x4e5e0640…f3c5b9 block 26,436,053
- 0x1092831c…c16601 block 26,436,049
- 0x3c667b8f…bcbc2c block 26,436,046
- 0xc9cd4230…b58d4a block 26,436,045
- 0x9691d13f…099383 block 26,436,037
- 0x979dbdda…507ce6 block 26,436,034
- 0x5f533be7…bceb40 block 26,436,032
- 0xd2b5de3e…06bf27 block 26,436,031
- Launched a new token 1 time
- Paid out 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.