FlashV3Hook on Base

Uniswap v4 Hook Contract 0x6aeabb2029dcc4758c168a0651dc4f49ad9928cc on Base · Launchpad · Verified contract

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

What it does

A Flash launchpad hook that charges traders up to 1% per swap and sellers up to an extra 11% price-impact and rolling tax, paying most to the token creator and the rest to the protocol, while LPs earn no swap fee but can withdraw freely.

How it works step by step

  • Runs launched-token pools for the Flash platform; pools can only be created through the platform's registry and must use dynamic fees.
  • Charges up to a 1% fee on the quote-token side of every buy and sell, split by policy (default 90% to the token creator, 10% to the protocol sink or buyback).
  • Adds a sell tax of up to 11% total (a price-impact tax taken in launched tokens plus a rolling sell tax in the quote token) that is routed to creator and protocol churn positions.
  • Can fill part of a buy from a hook-managed token inventory (the deck), with a price bound that keeps those fills at or below the pool's own end price.
  • Pushes accrued proceeds and may trigger a buyback after swaps, using fixed gas budgets wrapped so failures never revert the trade.
Swap behaviour
Buys pay up to a 1% quote fee and may be partly filled from the hook's token inventory; sells pay up to 1% fee plus up to 11% combined impact and rolling tax, so large-impact sells pay the most. Swaps revert if gas sent is below the pool type's gas floor, and fee-exempt protocol accounts pay nothing.
Liquidity behaviour
Adding liquidity only records same-transaction liquidity so it cannot be used to dodge the impact tax; LPs are never blocked. There are no remove-liquidity callbacks, so LPs can withdraw freely.
Fee behaviour
The LP fee is forced to 0%; the hook itself takes up to 1% of the quote side of each swap plus, on sells, up to 11% combined sell tax, with hard-coded caps that clamp any higher policy values. Proceeds are split by policy (90% creator / 10% protocol by default) to the creator wallet and the protocol sink, treasury or buyback.
Owner & admin controls
The registry owner can re-point each pool type's upgradeable policy module, set protocol sinks, the buyback address, fee-exempt accounts, trusted routers and churn on/off, but the hook clamps fees to 1% and sell taxes to 11% regardless. Creators or the owner can rotate a pool's creator payout address.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only allows registry-approved dynamic-fee launches; beforeAddLiquidity: records same-tx liquidity for tax measurement; beforeSwap: plans fees, taxes and deck fills and sets 0% LP fee; afterSwap: takes output-side fees/taxes, sweeps proceeds and may trigger buybacks; beforeSwapReturnDelta/afterSwapReturnDelta: lets the hook collect those fees and taxes from swap amounts.

Security & trust assessment

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

Who controls it: The registry owner controls policy modules, fee routing, exemptions and buyback settings; the worst they can do is push fees to the hard caps (1% fee, 11% sell tax) and redirect the protocol share.

Risk to user funds: The hook takes up to 1% of each swap's quote side plus up to 11% sell tax from sellers; it does not hold LP principal and LPs can always withdraw.

Security findings

  • [low] Sell tax up to 11% plus 1% fee: Sellers can pay up to about 12% in total (1% fee plus up to 11% impact and rolling tax); these caps are immutable in the hook.
  • [low] Upgradeable policy modules: Fee logic comes from owner-replaceable policy contracts, but any returned values above the hook's 1% fee and 11% sell-tax caps are clamped.
  • [info] Owner-controlled fee exemptions: The owner can mark accounts as exempt from all hook fees and taxes.
  • [info] LP withdrawals unrestricted: No remove-liquidity callbacks exist, so LP principal can never be blocked by this hook.

Contract details

Verified source
Yes (FlashV3Hook)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
24,233 bytes
Upgradeable proxy
No
Detected patterns
dynamic-fee, fee-sharing, mev-protection, moves-currency, ownable, return-delta, self-unlock, tax

Pools using FlashV3Hook