LaunchTaxHook on Robinhood Chain
Uniswap v4 Hook Contract 0xa726975b51e716708417374c39180c1f12e960cc on Robinhood Chain · Launchpad · Verified contract
- Volume (24h)
- $1.74K
- Value locked (TVL)
- $41.53K
- All-time volume
- $6.89M
- Pools using this hook
- 21
- Swaps (24h)
- 53 (49 traders)
- Total swaps
- 81,863
What it does
Taxes swaps of launch tokens in their quote currency, sending a platform share to the tax collector and the rest to the token creator.
How it works step by step
- Recognises launch pools by checking the token and its quote currency against the launch factory registry.
- Blocks swaps before the configured trading start timestamp.
- Withholds a tax percentage on buys (exact input) and sells (exact output) through a before-swap return delta.
- Taxes the complementary swap direction in after-swap using the realised quote amount.
- Splits each fee between the platform TaxCollector and the token's fee recipient, emitting CreatorFeesPaid.
- Restricts pool initialization to the V4LiquidityHelper to prevent graduation front-running.
- Swap behaviour
- On each swap of a registered launch pool the hook computes a tax from swapTaxBps, takes it from the quote currency via PoolManager, and forwards platform and creator shares; buys are taxed in beforeSwap for exact-input and in afterSwap for exact-output, and sells the opposite way.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Charges a swap tax (swapTaxBps from SystemConfig) in the launch quote currency on buys with exact input and sells with exact output (and the inverse via afterSwap); tax is split between a platform TaxCollector share (systemFeeShareBps) and the token's fee recipient; ETH and ERC20 quotes are routed differently.
- Owner & admin controls
- Hook is not upgradeable and stores no owner; tax rates (swapTaxBps, systemFeeShareBps) and taxCollector are read live from SystemConfig/TokenLaunchFactory, so whoever controls those contracts can change tax parameters and destination for all launches using this hook; beforeInitialize restricts pool initialization to the configured V4LiquidityHelper.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: restricts pool creation to the V4LiquidityHelper to block graduation front-running. beforeSwap: withholds tax via a return delta on the specified amount and routes the fee. afterSwap: taxes the other swap direction using the post-swap quote delta and returns an unspecified-currency delta. beforeSwapReturnDelta and afterSwapReturnDelta: enable the hook to take a share of swap amounts as fees.
Security & trust assessment
Risk level: medium (verified source, high confidence).
Who controls it: Tax rate, system fee share and tax collector are controlled by the SystemConfig/TokenLaunchFactory owners; changing swapTaxBps to a high value would heavily tax every launch swap, and redirecting taxCollector would redirect platform fees.
Risk to user funds: The hook takes a configurable share of swap proceeds through return deltas and can revert trading before the start time, but it does not hold a user principal balance beyond transient fee accounting and creator fee accruals.
Security findings
- [medium] Tax rate controlled externally: The hook takes a percentage of every trade via return deltas; the rate is read from SystemConfig and can be changed externally, so traders' effective cost depends on an external admin key.
- [low] Fee routing depends on factory-configured recipients: The hook calls poolManager.take and forwards ETH/ERC20 fees to the TaxCollector and creator fee recipients; a malicious or misconfigured recipient address in the factory would receive these fees.
- [info] Trading start gate: Tax is applied only in the launch's own pool and only in the trading direction defined by the quote currency; swaps revert before tradingStartsAt.
- [info] Pool initialization restricted: Pool initialization is restricted to the V4LiquidityHelper, which blocks front-running of the canonical launch pool.
Contract details
- Verified source
- Yes (LaunchTaxHook)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 9,466 bytes
- Upgradeable proxy
- No
- Detected patterns
- launchpad, moves-currency, return-delta, rewards, tax
Pools using LaunchTaxHook
- USDG / uGold (0.00% fee) — 24h volume $1.73K, TVL $1.32K, 38 swaps today
- ETH / uDAY (0.00% fee) — 24h volume $12, TVL $3.00K, 4 swaps today
- NVDA / GPU (0.00% fee) — 24h volume $1.66, TVL $1.77K, 1 swaps today
- ETH / uBully (0.00% fee) — 24h volume $0.29, TVL $2.15K, 1 swaps today
- pBTC / cbBTC (0.00% fee) — 24h volume $0, TVL $541, 7 swaps today
- JACKET / NVDA (0.00% fee) — 24h volume $0, TVL $561, 2 swaps today
- ETH / SOCCS (0.00% fee) — 24h volume $0, TVL $7.59K, 0 swaps today
- ETH / miu (0.00% fee) — 24h volume $0, TVL $1.92K, 0 swaps today
- ETH / µToken (0.00% fee) — 24h volume $0, TVL $718, 0 swaps today
- ETH / uNKS (0.00% fee) — 24h volume $0, TVL $3.54K, 0 swaps today
- ETH / NERFS (0.00% fee) — 24h volume $0, TVL $3.02K, 0 swaps today
- uSTONK / NVDA (0.00% fee) — 24h volume $0, TVL $2.90K, 0 swaps today
- ETH / UNICORN (0.00% fee) — 24h volume $0, TVL $5.30K, 0 swaps today
- ETH / NBA (0.00% fee) — 24h volume $0, TVL $4.36K, 0 swaps today
- METBTC / cbBTC (0.00% fee) — 24h volume $0, TVL $396, 0 swaps today
- MIM / cbBTC (0.00% fee) — 24h volume $0, TVL $493, 0 swaps today
- ETH / ETHWP (0.00% fee) — 24h volume $0, TVL $929, 0 swaps today
- AAPL / TIM (0.00% fee) — 24h volume $0, TVL $76, 0 swaps today
- 6STARS / TTWO (0.00% fee) — 24h volume $0, TVL $391, 0 swaps today
- ETH / uGift (0.00% fee) — 24h volume $0, TVL $509, 0 swaps today