OdysHook2 on Arbitrum

Uniswap v4 Hook Contract 0x18a6ba193352036ef8a7c22be2cb288bb26da8cc on Arbitrum · Launchpad · Verified contract

Volume (24h)
$123
Value locked (TVL)
$3.12K
All-time volume
$713.74K
Pools using this hook
39
Swaps (24h)
2 (2 traders)
Total swaps
5,233

What it does

A launchpad fee hook that charges a fixed 1%, 3% or 5% ETH-side swap fee (15% then 5% for snipers in the first 15 seconds, optional higher tax that settles to 1%), split 80/20 creator/platform, while LPs can always withdraw freely.

How it works step by step

  • Charges a launch-fixed swap fee of 1%, 3% or 5% on the ETH side of every trade in ODYS token pools, split 80% to the token creator and 20% to the platform.
  • Applies an anti-snipe surcharge right after launch: 15% total fee for the first 5 seconds, at least 5% until 15 seconds, then the normal rate.
  • Optionally locks a 3% or 5% tax for exactly 1, 2 or 3 days, after which the fee drops to 1% forever; the schedule cannot be changed after launch.
  • Blocks outside liquidity additions until the pool graduates (price reaches a set tick); the pool LP fee is 0, so outside LPs earn no swap fees.
  • Fees accrue inside the PoolManager and are claimed in ETH by the creator (or their chosen wallet) and the platform treasury.
Swap behaviour
Each swap pays the current fee (15%, then 5%, then 1%/3%/5%) taken from the ETH amount, either from input or output depending on swap direction; the factory's launch dev-buy is fee-free. Swaps that only partially fill revert.
Liquidity behaviour
Until graduation only the factory and the hook itself can add liquidity; afterwards anyone can add. Remove-liquidity callbacks are disabled, so LPs can always withdraw freely.
Fee behaviour
Total fee is 15% for the first 5 seconds after launch, at least 5% until 15 seconds, then the launch tier of 1%, 3% or 5% (a windowed 3%/5% tax drops to 1% after 1 to 3 days). Fees are split 80% creator, 20% platform; the pool LP fee is 0%.
Owner & admin controls
No fee knobs after launch: a one-time wirer sets the factory once, the factory registers pools with fees limited to 1%, 3% or 5%, and creators can only change their fee recipient wallet. The platform can only claim its 20% share.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only the factory can create registered pools; beforeAddLiquidity: locks outside LP until graduation; beforeSwap: charges fee when ETH amount is specified; afterSwap: charges fee when token amount is specified, checks graduation; beforeSwapReturnDelta/afterSwapReturnDelta: deduct the ETH fee from the swap.

Security & trust assessment

Risk level: low (verified source, high confidence).

Who controls it: The factory controls which pools are registered and initialized and gets fee-free swaps; no one can change fees, pause trading, or move pool funds after launch.

Risk to user funds: The hook only takes the stated ETH fee from swaps, 1% to 5% normally and up to 15% in the first seconds after launch. LP principal cannot be locked or drained.

Security findings

  • [low] Short high anti-snipe fee: Trades in the first 5 seconds after launch pay a 15% fee, and up to 15 seconds pay at least 5%; this is hard-coded and ends automatically.
  • [info] Immutable fee schedule: Fee tiers are restricted to 1%, 3% or 5% at registration and cannot be changed afterwards; the contract is not upgradeable.
  • [info] Free LP withdrawals: The hook has no remove-liquidity callbacks, so it cannot block or tax withdrawals; it only gates new liquidity before graduation.

Contract details

Verified source
Yes (OdysHook2)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
8,847 bytes
Upgradeable proxy
No
Detected patterns
dynamic-fee, fee-sharing, launchpad, moves-currency, return-delta, rewards, self-unlock, tax

Pools using OdysHook2