Access control hook on Robinhood Chain
Uniswap v4 Hook Contract 0x5a209909da79c9fdc692aa472d1a991478d08080 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
A simple, immutable gate that checks each swap before it runs, likely allowing only an approved router during an active phase, while charging no extra fee and leaving LP withdrawals completely free.
How it works step by step
- Runs a check before every swap in pools that use it.
- Stores a fixed pool manager address and a fixed router address.
- Appears to restrict swaps to a specific router, possibly together with an external 'active wave' status query.
- Never touches liquidity, so LPs can add and withdraw freely.
- Does not take any fee or move tokens itself.
- Swap behaviour
- Before each swap the hook runs a read-only check. It likely confirms the swap comes through an approved router and may query an external contract for an active 'wave' or phase, rejecting swaps that fail. The hook cannot change swap amounts.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- Uses the pool's static fee. The hook has no return-delta permissions, so it cannot take extra fees.
- Owner & admin controls
- No admin functions were found in the bytecode, and storage is empty. Any gating depends on the fixed router and on whatever external contract reports the active wave, which may itself have an operator.
Enabled Uniswap v4 callbacks
beforeSwap
beforeSwap: gates swaps with a read-only check on the router and possibly an external wave status.
Security & trust assessment
Risk level: low, estimated (decoded bytecode, medium confidence).
Who controls it: There is no owner or upgrade path in the hook. Whoever controls the external router or wave contract could effectively enable or disable trading, but they cannot touch funds.
Risk to user funds: The hook holds no funds and cannot deduct tokens from swaps or liquidity, so the extra fee is 0%. LP principal cannot be locked or drained by this hook.
Security findings
- [info] Swap gating via router/external status: The beforeSwap check is view-only and can revert swaps that do not meet its conditions, such as an unapproved router or an inactive wave phase. It cannot take funds.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled by the address bits, so LPs can always withdraw.
Contract details
- Verified source
- No
- Bytecode size
- 1,323 bytes
- Upgradeable proxy
- No
Pools using Access control hook
- WETH / USDG (0.05% fee) — 24h volume $0, TVL $0, 0 swaps today