Rewards hook on Robinhood Chain

Uniswap v4 Hook Contract 0xd538c98cfba4604639791d7fa254c2e3925c8044 on Robinhood Chain · Rewards

Volume (24h)
$0
Value locked (TVL)
$0.04
All-time volume
$0
Pools using this hook
6
Swaps (24h)
0 (0 traders)
Total swaps
74

What it does

A Uniswap v4 hook that takes a buyback and staking share of swaps and tracks milestone-based rewards for the associated token, using decoded bytecode only.

This read was written for the hook 0x95b1…0044 on Robinhood Chain and reused here: the two run the same code.

How it works step by step

  • Hooks afterSwap and claims a share of swap output via return delta
  • Accrues buyback and staking amounts per pool id
  • Tracks milestone values and staking per pool
  • Distributes accrued amounts through an unlock callback and token transfers
  • Owner can set registrar, auto-process flag and parameters
Swap behaviour
afterSwap runs after each swap and, through afterSwapReturnDelta, can take a share of the output for buyback and staking distribution.
Liquidity behaviour
Before/after add and remove liquidity callbacks are present but appear to only read and possibly record staking or milestone state; no clear liquidity movement is confirmed from decoded bytecode.
Fee behaviour
Likely takes a protocol buyback or staking share of swap output via afterSwap return delta (AVLO_BUYBACK_BP constant), with the remainder routed by milestone and staking logic; exact split cannot be confirmed without source.
Owner & admin controls
Owner (slot 1) can transfer ownership, set the registrar (setRegistrar) and set the defaultStaking/auto-process flag (setAutoProcess); owner-gated functions also include setting per-pool fee/parameter values via setter selectors. Owner can change protocol parameters but no verified source confirms exact scope.

Enabled Uniswap v4 callbacks

afterSwap, afterSwapReturnDelta

afterSwap: runs after each swap to account the buyback/staking share; afterSwapReturnDelta: lets the hook claim a portion of the swap output as a delta that it then distributes.

Security & trust assessment

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

Who controls it: The owner controls the registrar, ownership and auto-process settings and can change parameters that affect reward and buyback routing; a compromised owner key could redirect accrued value.

Risk to user funds: The hook can take a share of swap output via return delta and move tokens through its unlock callback and take/transfer calls, so accrued funds are held by the hook until distributed.

Security findings

  • [medium] Return delta takes swap output: afterSwapReturnDelta lets the hook take a share of every swap output, so the hook holds a claim on trader proceeds.
  • [medium] Owner-controlled parameters: Owner can transfer ownership and change registrar and parameters; no timelock is evident in the decoded selectors.
  • [low] Self-unlock moves currency: Hook uses an unlock callback and transfer/take calls, so it can move pool tokens during settlement.
  • [info] Unverified source: Contract is not verified, so behaviour is inferred from selectors and storage only.

Contract details

Verified source
No
Bytecode size
17,943 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, ownable, return-delta, self-unlock

Pools using Rewards hook