Likely custom pricing hook on Monad

Uniswap v4 Hook Contract 0xfbcf90bcc679292cc1956f3e77dd8f7ed88c80cc on Monad · Rewards

Volume (24h)
$0.21
Value locked (TVL)
$0.21
All-time volume
$0.21
Pools using this hook
1
Swaps (24h)
1 (1 traders)
Total swaps
1

What it does

A token-launch hook on Uniswap v4 that takes fees on swaps and routes them to creators, holders and the platform, with trade limits and buyback logic.

This read was written for the hook 0x0eaa…80cc on Arc and reused here: the two share a code shape, so constants such as fees, owners and addresses can differ.

How it works step by step

  • Runs logic in beforeSwap and afterSwap to compute and collect fees on trades
  • Splits collected fees among creator, holder and platform balances tracked in mappings
  • Enforces max-wallet and max-buy/max-sell limit parameters (MaxSellExceeded error present)
  • Executes buybacks through executeBuyback using a buyback threshold
  • Uses unlock and take on the pool manager to settle currency deltas
  • Exposes claim and sweep functions so holders and the platform can withdraw accumulated fees
Swap behaviour
beforeSwap and afterSwap run on every swap and can take fees or limits via return deltas.
Liquidity behaviour
beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity and afterRemoveLiquidity selectors are present in the dispatch table, so the hook observes liquidity changes; the precise behaviour cannot be determined from bytecode alone.
Fee behaviour
Fee and tax parameters are stored per pool and per launch in mappings written by configuration and fee-collection selectors; exact fee formula cannot be confirmed without source, though named getters indicate creator, platform, total and max-tax fee splits in basis points.
Owner & admin controls
Not stated.

Enabled Uniswap v4 callbacks

beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeSwap and afterSwap are used to run swap-time logic, and beforeSwapReturnDelta and afterSwapReturnDelta allow the hook to take or give currency on swaps; the hook also calls take and unlock on the pool manager.

Security & trust assessment

Risk level: medium, estimated (decoded bytecode, low confidence).

Who controls it: A configurator, treasury admin and platform treasury are present, and selectors for rotateTreasury, configure and sweepPlatformFees indicate privileged roles that can redirect or sweep accumulated fees.

Risk to user funds: The hook takes currency through return deltas and holds accumulated fee balances for creators, holders and the platform; a privileged key can sweep or redirect those balances, and limit parameters may block sells.

Security findings

  • [high] Return-delta swap accounting: Return-delta permissions let the hook take currency during swaps, so the hook can extract value from trades on pools where it is enabled.
  • [medium] Privileged treasury and fee sweep: rotateTreasury, sweepPlatformFees and configure selectors suggest a privileged key can change where fees go and withdraw accumulated balances.
  • [medium] Admin-tunable trade limits: Selectors such as setLimit-style parameter writers and MaxSellExceeded error indicate owner-tunable trading limits that could block sells.
  • [info] Unverified source: Source is unverified, so function semantics, access checks and upgrade paths could not be confirmed from the input.

Contract details

Verified source
No
Bytecode size
18,338 bytes
Upgradeable proxy
No
Detected patterns
erc20, moves-currency, return-delta, self-unlock

Pools using Likely custom pricing hook