AdvancedFeeHookV6 on Arc
Uniswap v4 Hook Contract 0xe8f9eae16a6ab395191b1b409ab7ab5b5dc36044 on Arc · Launchpad · Verified contract
- Volume (24h)
- $0
- Value locked (TVL)
- $30
- All-time volume
- $34
- Pools using this hook
- 47
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 154
What it does
A Uniswap v4 launchpad hook for BaseStonk tokens that taxes buys and sells on the pool and distributes the tax to the platform, creator payees, a burn, and single-sided liquidity.
This read was written for the hook 0xf42b…e044 on Robinhood Chain 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
- Charges a configured buy tax and sell tax (each up to 10%) on swaps against the launched token, returned as afterSwap return delta.
- Starts buys at a high sniper tax that decays linearly to the base buy tax over a launcher-set window.
- Sends a capped platform cut (half the tax, max 1%) to the platform treasury on every taxed swap.
- Splits the creator portion among up to 8 payees by basis-point shares, with burn and liquidity reserved before distribution.
- Buys back and burns the token when burn fees are collected in the paired currency, and adds single-sided liquidity from fee proceeds.
- Allows a payee to renounce its share to a deployed reward tracker, with a floor enforced on later payee updates.
- Swap behaviour
- On each swap not made by the launcher, afterSwap computes a per-pool tax rate (sell tax, or a decaying buy tax during the sniper window), takes that percentage of the unspecified-side amount as a return delta, sends up to half of it (max 1%) to the platform treasury, and splits the remainder to burn, liquidity and payees.
- Liquidity behaviour
- No liquidity callbacks are implemented (beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity, afterRemoveLiquidity all revert). However, the hook itself adds single-sided liquidity positions via poolManager.modifyLiquidity during swaps when a liquidity share is configured, using the hook as the liquidity owner, and can remove them again if settlement is negative (WedgeUndone).
- Fee behaviour
- Per-pool buy and sell tax in bps (max 10%) taken on the unspecified side of each swap via afterSwap return delta. Buy tax can decay linearly from a sniper start rate to the base buy tax over a launcher-set window (10 seconds to 30 minutes). Platform takes min(tax/2, 1%) of each fee. Creator share is split among payees by shareBps after burn and liquidity reservations; burn share on a non-token-denominated fee is executed as a buyback and burn swap.
- Owner & admin controls
- Launcher-gated: configurePool and configureSniper callable only by the immutable launcher; setSniperExempt callable by launcher or platformAdmin; setPayees callable only by platformAdmin (can rewrite payee split, subject to renounced floor); renounceFees and transferPayeeSlot callable by the payee holder. No pause, no upgrade proxy, no owner-set fee beyond per-pool config capped at 10% (MAX_TAX_BPS 1000) at configuration time.
Enabled Uniswap v4 callbacks
beforeInitialize, afterSwap, afterSwapReturnDelta
beforeInitialize: restricts pool initialization to the launcher as sender. afterSwap: charges the swap tax, pays the platform treasury and creator payees, performs burn buybacks and adds single-sided liquidity from fee proceeds, and returns the fee as an afterSwap delta. afterSwapReturnDelta: enables the hook to take a portion of the swap output as its fee.
Security & trust assessment
Risk level: medium (verified source, high confidence).
Who controls it: The platformAdmin can replace the entire payee list at any time (setPayees), including redirecting creator fees, as long as renounced slots keep their floor. The launcher can configure pools, set sniper parameters once per pool, and exempt addresses from the sniper tax. Users cannot be blocked from swapping by the admin, and the admin cannot change the tax rate after pool configuration.
Risk to user funds: The hook does not custody user principal in a withdrawable way; it takes a percentage of swap output, pays it out to treasury and payees, and deposits some proceeds as single-sided liquidity it owns. Swappers pay the configured tax (max 10%, up to 99% during a sniper window). Funds can be held as ERC-6909 claims if a payout fails. Admin can redirect future creator fees.
Security findings
- [medium] Admin can redirect creator fee payees: platformAdmin can call setPayees at any time to reassign creator fee shares to arbitrary addresses, bounded only by the renounced floor for tracker-held shares.
- [medium] Sniper tax up to 99% at launch: Buy tax starts at a launcher-chosen sniper rate up to 99% and decays over up to 30 minutes, so early buyers can face very high effective taxes by design.
- [low] Deferred payouts as ERC-6909 claims: Payouts use a 500k gas-limited take and fall back to minting ERC-6909 claims to the recipient on failure, so a payee that reverts does not block swaps but its funds sit as claims rather than tokens.
- [info] Hook interacts with pool and holds positions: Hook takes a tax from swaps via afterSwapReturnDelta and also performs buybacks and liquidity additions inside afterSwap, so swap outputs depend on the hook's internal state and external pool price.
- [info] Reliance on token rewardTracker interface: Some pool-state reads use token.staticcall for rewardTracker, which is an external dependency on the token contract's behaviour.
Contract details
- Verified source
- Yes (AdvancedFeeHookV6)
- Compiler
- solc 0.8.28+commit.7893614a
- Bytecode size
- 16,670 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc6909-claims, launchpad, mev-protection, moves-currency, return-delta, tax
Pools using AdvancedFeeHookV6
- DUKE / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- JACKET / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- RIVAL / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- MINARA / USDC (0.30% fee) — 24h volume $0, TVL <$0.01, 0 swaps today
- FULLCIRCLE / CRCL (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- FEET / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- FAKE / USDC (0.30% fee) — 24h volume $0, TVL $0.50, 0 swaps today
- EXTREME / USDC (0.30% fee) — 24h volume $0, TVL $0.10, 0 swaps today
- 6067 / USDC (0.30% fee) — 24h volume $0, TVL $0.50, 0 swaps today
- DEPEG / USDC (0.30% fee) — 24h volume $0, TVL $29, 0 swaps today
- SEALAND / USDC (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- CREDITS / USDC (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- DINU / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- $REKT / USDC (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- DUKE / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- PEPE / NVDA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today