Likely fee sharing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x4def6f08b43a10bb1ee71e2678564c82b6574044 on Robinhood Chain · Access control
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 0
What it does
Appears to take a buyback share of swap proceeds through an afterSwap return delta and route it to a registrar-linked token flow, but the exact logic cannot be confirmed from unverified bytecode.
This read was written for the hook 0x0831…4044 on Robinhood Chain and reused here: the two run the same code.
How it works step by step
- Runs afterSwap on every swap in pools using this hook
- Returns a delta so that a share of swap output is redirected to the hook
- Uses internal accounting keyed by pool id and address to track accrued amounts
- Calls PoolManager unlock and take to move the taken currency
- Exposes owner-gated setRegistrar and transferOwnership for administration
- Swap behaviour
- After each swap, afterSwap runs and uses afterSwapReturnDelta to take a portion of the swap output for buyback accounting.
- Liquidity behaviour
- Implements no add or remove liquidity hook permissions, but exposes beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity and afterRemoveLiquidity selectors in its ABI; these are not enabled by its address permissions, so they are likely unused.
- Fee behaviour
- Not determinable from the decoded selectors; the hook has no beforeSwap fee override in its permissions, and fee handling is inferred to be unrelated to the pool's static fee, but this cannot be confirmed.
- Owner & admin controls
- Owner can transfer ownership (transferOwnership) and set the registrar address (setRegistrar). Owner-gated behaviour is inferred from selectors and storage slot 1 (owner) and slot 0 (registrar); exact access checks cannot be confirmed without source.
Enabled Uniswap v4 callbacks
afterSwap, afterSwapReturnDelta
afterSwap: runs after each swap and uses the returned delta to take a share of the swap output (buyback-style accounting). afterSwapReturnDelta: allows the hook to return a delta that changes the amounts the pool settles with the swapper.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: The owner can transfer ownership and change the registrar, which are the only privileged controls identified. Whether these can alter the buyback rate or redirect funds cannot be confirmed without source.
Risk to user funds: The hook has return-delta permission and performs take and transfer calls, so it can hold and move a portion of swap proceeds. Funds are routed through the hook on each swap; the exact split and any blocking conditions cannot be verified without source.
Security findings
- [medium] Hook takes value from swaps via return delta: afterSwapReturnDelta lets the hook take tokens from the swap output, so the hook can hold or move user-facing amounts on each swap.
- [medium] Self-unlock and currency movement: Bytecode contains unlock and take selectors and a self-unlock pattern, so the hook calls back into PoolManager to move currency from within its own flow.
- [medium] Owner-controlled registrar and ownership: Contract is Ownable with transferOwnership and setRegistrar. The owner key controls the registrar and ownership and can therefore influence the hook's external dependencies.
- [info] Possible adjustable buyback parameters: Storage shows a mutable AVLO_BUYBACK_BP-related accounting path and an external avlo token reference, suggesting buyback parameters may be adjustable; this is inferred only.
Contract details
- Verified source
- No
- Bytecode size
- 10,226 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, ownable, return-delta, self-unlock
Pools using Likely fee sharing hook
- SMOKE / AVLO (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today