Token hook on Robinhood Chain

Uniswap v4 Hook Contract 0xf4193f74eb950270df7a5dbdb3277c71580be0cc on Robinhood Chain · Token

Volume (24h)
$667
Value locked (TVL)
$3.57K
All-time volume
$667
Pools using this hook
1
Swaps (24h)
20 (12 traders)
Total swaps
20

What it does

This hook charges every buy and sell in the ETH/CARVY pool a fixed 3% tax that goes to the project's tax wallet, with trading opened once by the owner and LPs free to withdraw at any time.

This read was written for the hook 0xba01…20cc on Ethereum 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 fixed 3% tax on buys and a fixed 3% tax on sells in the official ETH/CARVY pool; the rates are constants and can never change.
  • Sends the tax straight to a tax wallet, in ETH whenever ETH is the side that can be charged (otherwise in CARVY).
  • Blocks all swaps until the owner opens trading once; after that trading can never be closed.
  • Only the deployer can create the single allowed ETH/CARVY pool, which stops anyone from front-running the launch price.
  • Does not touch liquidity; LPs add and withdraw through the standard Uniswap position manager.
Swap behaviour
Swaps revert until trading is enabled. After that, every buy or sell pays a 3% tax taken from the ETH input on exact-input buys, or from the unspecified side of the swap (ETH or CARVY) in other swap types, and the tax is sent to the tax wallet.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Fixed 3% tax on buys and 3% on sells, on top of the pool's normal LP fee, paid to the tax wallet. The rates are hard-coded and cannot be changed.
Owner & admin controls
The owner can enable trading once (it cannot be turned off), change the tax wallet, and transfer or renounce ownership. The owner cannot change tax rates or touch liquidity.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: restricts pool creation to the deployer and the ETH/CARVY pair; beforeSwap: enforces the trading switch and takes the 3% ETH tax on exact-input buys; afterSwap: takes the 3% tax on all other swap types; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook charge the tax out of swap amounts.

Security & trust assessment

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

Who controls it: A single owner can open trading once and redirect where the 3% tax goes. The owner cannot pause trading after launch, change rates, or touch LP funds.

Risk to user funds: The hook takes exactly 3% of each swap and sends it to the tax wallet. It holds no funds, and LP principal cannot be locked or drained.

Security findings

  • [info] Fixed 3% buy/sell tax: Both tax rates are hard-coded constants at 3%, so no one can raise them.
  • [info] One-time trading switch: Swaps revert until the owner calls enableTrading. Once enabled, trading cannot be paused again.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or tax LP withdrawals.

Contract details

Verified source
No
Bytecode size
5,085 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, ownable, return-delta

Pools using Token hook