AdvancedFeeHookV6B on Base
Uniswap v4 Hook Contract 0x3e6b46810b1fd5085086fd1417e8adb02f34a044 on Base · Launchpad · Verified contract
- Volume (24h)
- $0
- Value locked (TVL)
- $118
- All-time volume
- $17.85K
- Pools using this hook
- 550
- Swaps (24h)
- 3 (2 traders)
- Total swaps
- 2,471
What it does
A token-launch fee hook that charges a configurable buy and sell tax on swaps, with a time-decaying sniper tax at launch, and routes the tax to a platform treasury, creator payees, a burn address, or single-sided liquidity.
How it works step by step
- Charges a per-pool buy tax and sell tax on swaps, with a maximum of 10% each.
- Decays buy tax from a higher sniper rate to the base buy rate over a configurable window of 10 seconds to 30 minutes.
- Caps the platform's cut at 1% of swap volume and sends the rest of the tax to the creator side.
- Splits the creator share among up to 8 payees by basis points, with a burn share and a liquidity share.
- Buys back and burns the token when the tax is taken in the paired currency, and adds single-sided liquidity on a narrow range.
- Lets payees renounce their share to a token-owned reward tracker, with admin changes constrained by that renounced floor.
- Swap behaviour
- On each swap of a configured pool, afterSwap computes a tax at the buy or sell rate (sniper rate during the launch window for buys), takes it as a return delta, pays up to 1% of volume to the platform, and distributes the rest to burn, liquidity and payees.
- Liquidity behaviour
- No liquidity callbacks are implemented; beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity and afterRemoveLiquidity all revert. The hook itself adds single-sided liquidity in a narrow range (LP_WIDTH of 10 tick spacings) using a portion of the creator fee, and can remove that liquidity if it would cost the hook.
- Fee behaviour
- Buy and sell taxes are set per pool at configuration (up to 10%). Buy tax can decay from a higher sniper rate toward the base buy tax over a launch window of 10 seconds to 30 minutes. Each fee is split into a platform cut (capped at 1% of swap volume) and a creator share. The creator share is burned, added as one-sided liquidity, or distributed to payees by share basis points.
- Owner & admin controls
- Launcher-only: configurePool, configureSniper and setSniperExempt (launcher or platformAdmin) can set pool parameters once per pool. platformAdmin can replace payee lists via setPayees, subject to a renounced-share floor. Payees can renounce their share via renounceFees and transfer their slot via transferPayeeSlot. No pause, upgrade proxy or owner-withdraw function was found; the immutable addresses (poolManager, platformTreasury, launcher, platformAdmin) cannot be changed after deployment.
Enabled Uniswap v4 callbacks
beforeInitialize, afterSwap, afterSwapReturnDelta
beforeInitialize restricts pool initialization to the launcher. afterSwap collects the tax on swaps, pays platform and creator shares, buys back and burns tokens or deposits liquidity. afterSwapReturnDelta lets the hook take the tax as a return delta from the swap amount.
Security & trust assessment
Risk level: medium (verified source, high confidence).
Who controls it: platformAdmin can replace payee distribution on any configured pool through setPayees, but cannot raise taxes or move funds directly. The launcher controls pool configuration and sniper settings and can exempt addresses from the sniper tax. Payees can redirect their own slots.
Risk to user funds: The hook takes a tax on each swap on configured pools and can hold a temporary balance during settlement, which is then paid to the treasury, payees, burn address, or liquidity. Users can be charged a high sniper tax early in the launch window. The hook cannot be paused or upgraded, and it does not hold a long-term custody balance.
Security findings
- [info] Deferred payout fallback: Payout uses poolManager.take with a gas cap and falls back to minting ERC-6909 claims to the recipient if the transfer fails, so funds are not lost to a reverting recipient.
- [medium] Sniper tax can reach 99%: The hook takes its tax through afterSwap return delta, so every swap on configured pools pays the fee; buy taxes can start high during the sniper window (up to 99%).
- [medium] Admin can reroute creator fee payouts: setPayees is callable by platformAdmin and can reassign creator fee distribution, subject only to a floor for renounced shares.
- [low] Silent failure of buyback and liquidity steps: The hook performs internal buybacks and liquidity additions with the platform's own pool manager calls and swallows failures in try/catch, which can silently skip buybacks or wedge placement.
- [info] No persistent custody of user funds: The hook does not hold a user balance; fees are paid out in the same swap transaction, and the hook keeps only undistributed remainders which are swept to the platform treasury.
Contract details
- Verified source
- Yes (AdvancedFeeHookV6B)
- Compiler
- solc 0.8.28+commit.7893614a
- Bytecode size
- 17,593 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc6909-claims, launchpad, mev-protection, moves-currency, return-delta, tax
Pools using AdvancedFeeHookV6B
- wtCOIN / SPIKE (0.30% fee) — 24h volume $0, TVL $0, 2 swaps today
- TRADER / SPCXc (0.30% fee) — 24h volume $0, TVL $0.25, 1 swaps today
- wtCOIN / PSA10 (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- WETH / SPIKE (0.30% fee) — 24h volume $0, TVL $25, 0 swaps today
- JOLLY / METAc (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- wtMCD / BURGER (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- STRONG / ARMc (0.30% fee) — 24h volume $0, TVL $59, 0 swaps today
- PEA / POD (0.30% fee) — 24h volume $0, TVL $4.85, 0 swaps today
- wtCOIN / COINBASE (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- WETH / SA (0.30% fee) — 24h volume $0, TVL $5.02, 0 swaps today
- BSTONK / JESSEPOLLAK (0.30% fee) — 24h volume $0, TVL $1.45, 0 swaps today
- VIRTUAL / VI (0.30% fee) — 24h volume $0, TVL $11, 0 swaps today
- BNKR / GAMAL (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- wtCOIN / MEMECOINS🤝 (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- wtCOIN / TOSHI (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- wtCOIN / BASESTOCK (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- wtSGOV / AMERICA (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- JOLLY / METAc (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- WETH / FTC (0.30% fee) — 24h volume $0, TVL $2.05, 0 swaps today
- TESLR / TSLAc (0.30% fee) — 24h volume $0, TVL $0.22, 0 swaps today