Index / Launchpads
Launchpads Uniswap v4 hooks
Token launches that settle into v4 pools. Licensed Solidity excerpts with a link to the full source file.
AntiSnipe
Launch guard — max buy (% supply), snipe tax on exact-input buys for N blocks after init.
AutoBurn
Burns burnBps of token output on exact-input buys via afterSwapReturnDelta.
Buyback
Treasury-funded market buy when pool tick is at or below thresholdTick.
Clanker
Dynamic-fee launch hook: beforeSwap sets fee, claims, runs an MEV module, then takes protocol delta.
Doppler
Whetstone bonding-curve hook: rebalance slugs before swap, migrate when proceeds cap hit.
Flaunch
PositionManager hook: beforeSwap runs the internal swap pool; afterSwap distributes creator fees.
Liquidity bootstrapping
Linear-decay token sale via beforeSwapReturnDelta (LBP-style custom curve).
Liquidity lock
afterAddLiquidity sets unlock time; beforeRemoveLiquidity reverts until lock expires.
LpRewards
Pull buy-side token rewards, then flush() donates pending balance to in-range LPs.
MevWindow
Elevated swap fee and blocked add-liquidity for mevBlocks after pool init.
NthBuyPot
Deterministic Nth-buy jackpot — potBps per buy, counter advances once per block, claim-backed.
Sell guard
Sell cooldown blocks rapid dumps; repeat sells in a window pay ramp fee.
SniperTax
Launch LP fee decays linearly from startFee to baseFee over duration seconds.
SurgeFee
LP fee scales with swap size vs pool liquidity — no simulate-and-revert.
Zora Coin Hook
Creator coin hook: launch fee decay, LP positions on init, fee swap + reward distribution.