Rewards hook on Robinhood Chain
Uniswap v4 Hook Contract 0xc0c07213dd4a3af24cb590de1980f534098b9440 on Robinhood Chain · Rewards
- Volume (24h)
- $539
- Value locked (TVL)
- $0
- All-time volume
- $539
- Pools using this hook
- 1
- Swaps (24h)
- 9 (5 traders)
- Total swaps
- 9
What it does
A swap-tracking reward hook that credits claimable points for qualifying swaps without charging any extra fee, so all trades pay only the pool's standard fee and LPs can withdraw freely.
How it works step by step
- Binds itself to a single pool when that pool is created and records which token in the pair is the tracked token.
- After each swap, it checks the trade against a capture threshold and credits internal claimable points to some address (likely the swapper).
- Keeps running totals of points earned and points still claimable; an authorized contract can spend a user's claim (for example, to mint something).
- Runs a check after liquidity is added but does not move LP tokens.
- Appears tied to an external art or mint controller (artist, site and controller references) with role-based permissions.
- Swap behaviour
- Swaps go through normally at the pool's price; afterwards the hook may record claimable credit when a swap passes a threshold. It cannot take tokens from swaps because return deltas are disabled.
- Liquidity behaviour
- After liquidity is added the hook runs bookkeeping or checks only. Remove-liquidity callbacks are disabled, so LPs can always withdraw freely.
- Fee behaviour
- Uses the pool's static fee; the hook charges no extra fee.
- Owner & admin controls
- A privileged role can change the threshold a swap must meet to earn credit, and an authorized caller can spend users' claims. Exact role holders cannot be confirmed from bytecode.
Enabled Uniswap v4 callbacks
afterInitialize, afterAddLiquidity, afterSwap
afterInitialize: binds the hook to one pool and records token ordering; afterAddLiquidity: post-deposit check or bookkeeping; afterSwap: tracks swaps and credits claimable points.
Security & trust assessment
Risk level: low, estimated (decoded bytecode, medium confidence).
Who controls it: A controller with minter or registrar roles can adjust the capture threshold and consume users' claim credits. They cannot touch pool funds or block trading via fees.
Risk to user funds: The hook does not hold or move user or LP tokens and adds no fee. LP principal cannot be locked or drained by this hook.
Security findings
- [info] No token deductions possible: Swap and liquidity return deltas are disabled, so the hook cannot take tokens from traders or LPs.
- [info] Withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LP withdrawals can never be blocked.
- [low] Admin-adjustable reward threshold: A role-gated setter changes the swap threshold for earning credit, and authorized callers can spend recorded claims; this only affects off-pool reward points.
Contract details
- Verified source
- No
- Bytecode size
- 6,107 bytes
- Upgradeable proxy
- No
Pools using Rewards hook
- ETH / TRACE (1.00% fee) — 24h volume $539, TVL $0, 9 swaps today