Launchpad hook on Ethereum
Uniswap v4 Hook Contract 0xabe2def95d9b9154a4ed6021a15c22ab40e0e080 on Ethereum · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 0
What it does
This hook charges a high anti-snipe fee on swaps shortly after a pool launches, so early snipers pay more, and the fee decays to a base fee for later trades.
How it works step by step
- Dynamic fee hook that sets a high anti-snipe fee for the first few blocks after pool initialization and decays it toward a base fee.
- Records the launch block in beforeInitialize and marks the pool as initialized.
- Computes the current fee in beforeSwap from the number of blocks elapsed since launch, capped by a maximum dynamic fee constant.
- Uses the stored currentFee value and an inferred snipeBlocks window to differentiate early-block swaps from later swaps.
- Exposes read-only getters for the base fee, maximum fee, snipe fee cap, snipe block count, launch block and current fee.
- Swap behaviour
- beforeSwap runs on every swap and updates the stored current fee based on blocks since launch; swaps executed within the snipe window pay a higher fee (up to MAX_SNIPE_FEE), while swaps after the window pay the base fee. Exact direction-specific behaviour cannot be confirmed from decoded bytecode.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Dynamic fee set per swap by the hook: elevated anti-snipe fee early after launch, decaying to baseFee, bounded by maxDynamicFee and MAX_SNIPE_FEE.
- Owner & admin controls
- No owner or admin setter selectors were decoded; parameters appear to be constants or set at initialization. Upgradeability and privileged roles cannot be determined from the bytecode.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap
beforeInitialize records the launch block and initialized flag when the pool is created; beforeSwap returns the dynamic fee for each swap.
Security & trust assessment
Risk level: low, estimated (decoded bytecode, medium confidence).
Who controls it: No privileged setter selectors were found, so a key holder appears unable to change fees or pause swaps; this could not be fully verified without source.
Risk to user funds: The hook takes no token custody and returns no balance deltas in the decoded callbacks; it only sets the swap fee, so it cannot directly hold or block user funds.
Security findings
- [info] Dynamic fee override in beforeSwap: The hook returns an override fee on swaps, which changes the cost of trading against the pool but does not move or hold user tokens.
- [info] No admin setters decoded: Only view and pure getters were decoded for fee parameters, so fee configuration appears fixed rather than adjustable by an owner.
- [low] Unverified source: Without verified source, the exact fee curve and any hidden privileged paths cannot be fully confirmed from bytecode alone.
Contract details
- Verified source
- No
- Bytecode size
- 2,324 bytes
- Upgradeable proxy
- No
- Detected patterns
- dynamic-fee, launchpad
Pools using Launchpad hook
- ETH / LEONIDACITY (Dynamic fee) — 24h volume $0, TVL $0, 0 swaps today