Likely fee sharing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x49a446e0dc7a4f998ac2cb4e5ce861cc79e16054 on Robinhood Chain · Fee sharing

Volume (24h)
$1.99
Value locked (TVL)
$29
All-time volume
$957
Pools using this hook
91
Swaps (24h)
7 (6 traders)
Total swaps
3,707

What it does

A fee-sharing hook that skims a portion of swap output and splits it between protocol, developer, creator and burn recipients.

How it works step by step

  • Validates pools and records pool creator data in beforeInitialize
  • Takes a share of each swap's output in afterSwap using afterSwapReturnDelta
  • Tracks donations per round in afterDonate
  • Accrues protocol, developer, creator and burn shares
  • Lets operator and owner trigger distribution and burns of accrued balances
Swap behaviour
afterSwap computes a fee share and takes it from swap output via a return delta, accruing it for distribution.
Liquidity behaviour
Liquidity add and remove callbacks (beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity, afterRemoveLiquidity) are present as selectors but are not enabled in the hook permissions, so they do not run.
Fee behaviour
Hook takes a protocol and burn share of swap fees via afterSwap with a return delta (dev, creator, protocol and burn shares are read from constants and fees are accrued to protocolFees and per-round balances). Exact fee percentages cannot be determined without source.
Owner & admin controls
Owner (slot 1) can transfer ownership via transferOwnership and set the burn token via setBurnToken (slot 0 holds burnToken). The contract appears to have a burn operator and burn router role (burnOperator, burnRouter selectors present) and onlyOperator/onlyOwner reverts, suggesting privileged roles can trigger fee distribution and burns. No pause or upgrade mechanism is evident from the decoded functions.

Enabled Uniswap v4 callbacks

beforeInitialize, afterSwap, afterDonate, afterSwapReturnDelta

beforeInitialize validates the pool and records pool creator data; afterSwap collects a fee share and returns a delta to the pool manager; afterDonate tracks donations per round; afterSwapReturnDelta lets the hook take part of the swap output.

Security & trust assessment

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

Who controls it: The owner can transfer ownership and change the burn token, and the operator/router roles can direct fee distribution and burns. A compromised owner or operator could redirect accrued fees or alter the burn configuration.

Risk to user funds: The hook can take a share of swap output via return deltas and holds accrued protocol and burn balances that it transfers out. It does not appear to block swaps or hold LP principal, but the owner-controlled burn configuration determines where those fees end up.

Security findings

  • [medium] Hook takes swap value via return delta: afterSwapReturnDelta lets the hook take tokens from swap output through return deltas, so the hook directly moves user swap value.
  • [medium] Owner can change burn token: setBurnToken is callable by the owner and changes where burned value is routed; no timelock is visible.
  • [low] Hook custodies fee balances: The hook uses take() and transfer() to move currency, and holds accrued protocol and burn balances, so funds are custodied by the contract until distributed.
  • [low] Single-step ownership transfer: Ownership transfer is single-step (transferOwnership) with no visible acceptance step.

Contract details

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

Pools using Likely fee sharing hook