Rewards hook on Robinhood Chain
Uniswap v4 Hook Contract 0x328533938d658c513b0e318462511ca479a220cc on Robinhood Chain · Rewards
- Volume (24h)
- $0
- Value locked (TVL)
- $2.95
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 0
What it does
Every swap in this pool pays a fixed hook fee of unverified size that is split between the author, token burns, LP donations, and trader/staker rewards, while LPs keep full freedom to withdraw.
How it works step by step
- Charges a fee on swaps in its single pool (exact percentage set by a fixed FEE_BPS constant that cannot be read from bytecode alone).
- Splits collected fees between an author share, a burn share (sent to a dead address), donations back to pool LPs, and staker/trader rewards.
- Tracks per-trader credits and daily top buys, and lets credited users claim rewards.
- Owner can pause parts of the fee routing, set a keeper, and plug in an external module and author address.
- Supports withdraw and withdrawAll functions controlled by the owner for funds held by the hook.
- Swap behaviour
- On each swap the hook can take a fee from the swap amounts through return deltas and records buy credits for traders; when paused, some fee-routing logic changes. The exact fee rate is a hard-coded constant but its value is not confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely. The hook may donate part of collected fees to in-range LPs.
- Fee behaviour
- A fixed fee (FEE_BPS constant, value not verified) is taken from swaps and split between the author (AUTHOR_BPS), burning (BURN_BPS), LP donations, and rewards for stakers and top buyers. The fee rate appears to be constant rather than admin-adjustable.
- Owner & admin controls
- The owner can pause, set a keeper, set the module and author addresses, trigger burns, and withdraw funds held by the hook; renouncing ownership is disabled. Fee constants appear fixed, but exact caps cannot be verified without source.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: binds the hook to one pool; beforeSwap: may take the fee before the trade; afterSwap: takes or accounts fees and records buyer credits; beforeSwapReturnDelta/afterSwapReturnDelta: lets the hook deduct its fee from swap amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: A single owner (two-step transfer, cannot renounce) controls pausing, keeper, module/author addresses, burns, and withdrawal of hook-held fees. They cannot change pool LP positions.
Risk to user funds: The hook can deduct its fee from swap amounts and holds accumulated fees/rewards, which the owner can withdraw; the fee percentage is unverified. LP principal in the pool cannot be locked or drained.
Security findings
- [medium] Unverified fee-taking hook: Swap return deltas are enabled and fees are taken from trades, but the exact fee rate cannot be confirmed from bytecode.
- [medium] Owner withdrawal of hook-held funds: Owner-only withdraw and withdrawAll functions can move accumulated fees held by the hook, which may include balances intended for rewards claims.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 11,342 bytes
- Upgradeable proxy
- No
- Detected patterns
- donates, moves-currency, ownable, pausable, return-delta, rewards, self-unlock
Pools using Rewards hook
- ETH / HIBOU (0.00% fee) — 24h volume $0, TVL $2.95, 0 swaps today