Access control hook on Robinhood Chain
Uniswap v4 Hook Contract 0xbf7f2283367072571b5265c6f53869fc9007c080 on Robinhood Chain · Access control
- Volume (24h)
- $7.13K
- Value locked (TVL)
- $0
- All-time volume
- $7.13K
- Pools using this hook
- 1
- Swaps (24h)
- 1 (1 traders)
- Total swaps
- 1
What it does
A swap gate that lets trading proceed only when an external trading-open flag is set or the trader is on an allowlist.
How it works step by step
- Implements beforeSwap to run before every swap in the pool
- Calls isOpen() on an external contract to check whether trading is enabled
- Calls allowed(address) on an external contract to check the trader against an allowlist
- Reverts with TradingNotOpen() when neither condition passes
- Does not modify fees, liquidity or balances
- Swap behaviour
- beforeSwap checks whether trading is open or the sender is allowed, and reverts with TradingNotOpen() otherwise; otherwise swaps proceed normally.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Uses the pool's static fee.
- Owner & admin controls
- No admin controls found.
Enabled Uniswap v4 callbacks
beforeSwap
beforeSwap: gates swaps before execution, reverting unless the trader is allowed or trading is open (calls isOpen() and allowed(address)).
Security & trust assessment
Risk level: medium (decoded bytecode, low confidence).
Who controls it: The contract appears to have no owner or setter functions in its dispatch table; any allowlist or open flag is likely managed by an external contract whose controls cannot be determined from bytecode alone.
Risk to user funds: The hook does not take or move tokens and returns no deltas, so it does not custody funds; it can only prevent swaps from executing via revert.
Security findings
- [medium] Swaps can be blocked by external open flag: The beforeSwap path calls isOpen() and allowed(address) on an external contract and can revert with TradingNotOpen(), so swaps can be blocked for all users if the open flag is false.
- [info] No admin functions visible in hook: Decoded selectors show no owner, setter or upgrade functions, so no admin key is visible in this contract, though the external dependency may hold controls.
- [info] Unverified source: Source is unverified and the storage layout is empty, so the exact logic and the target of the external calls could not be confirmed.
Contract details
- Verified source
- No
- Bytecode size
- 937 bytes
- Upgradeable proxy
- No
Pools using Access control hook
- ETH / 202 (0.25% fee) — 24h volume $7.13K, TVL $0, 1 swaps today