Access control hook on Robinhood Chain
Uniswap v4 Hook Contract 0xd8793d39b4ce68bd24362d60eec14e7071590080 on Robinhood Chain · Access control
- Volume (24h)
- $0.45
- Value locked (TVL)
- $6.74
- All-time volume
- $0.45
- Pools using this hook
- 1
- Swaps (24h)
- 2 (1 traders)
- Total swaps
- 2
What it does
This hook only lets traders swap with a valid one-time signed pass from a set signer, charges no extra fee beyond the pool's static fee, and leaves LPs free to add and withdraw.
How it works step by step
- Only lets swaps through when the trader presents a valid signed pass from a fixed signer (EIP-712 signature).
- Each pass can be used once; used passes are recorded so they cannot be replayed.
- Keeps a running count of admitted swaps.
- Appears to check that swaps come through a specific router address.
- Does not touch liquidity, so LPs can add and withdraw freely.
- Swap behaviour
- Before each swap the hook checks a signed pass in the swap data, marks it as used, and reverts the swap if the pass is missing, invalid or already used. It takes no fee and does not change swap amounts.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- Uses the pool's static fee.
- Owner & admin controls
- No owner-setter functions found; the signer and router appear to be fixed values, but whoever controls the signer key decides who can trade.
Enabled Uniswap v4 callbacks
beforeSwap
beforeSwap: verifies a one-time signed pass and blocks swaps without a valid one.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: The holder of the signer key controls which traders get passes and can effectively stop all trading by not signing. No upgrade or fund-moving admin functions were found.
Risk to user funds: The hook cannot take any tokens from swaps or LPs; it charges 0% extra. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Signature-gated trading: Swaps require a one-time pass signed by a fixed signer, so the signer key holder can decide who trades and can stop issuing passes, effectively halting swaps.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
- [info] No fee or return deltas: Swap return deltas are disabled, so the hook cannot take tokens from swaps.
Contract details
- Verified source
- No
- Bytecode size
- 5,200 bytes
- Upgradeable proxy
- No
Pools using Access control hook
- ETH / USDG (0.30% fee) — 24h volume $0.45, TVL $6.74, 2 swaps today