Access control hook on BNB Chain
Uniswap v4 Hook Contract 0x6a156fd06769e475f3edd0ef40ab6e29bd6a8800 on BNB Chain · Access control
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $12.49K
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 131
What it does
An allowlist hook that lets only owner-approved addresses add liquidity, while swaps pay the normal pool fee and all LPs can withdraw freely.
How it works step by step
- Restricts who can add liquidity to pools using this hook to an owner-managed allowlist of providers.
- The owner can add or remove single addresses or batches of addresses from the allowlist.
- Does not touch swaps at all; trading uses the pool's normal fee.
- Never runs on withdrawals, so existing LPs can always remove their liquidity.
- Swap behaviour
- No swap callbacks.
- Liquidity behaviour
- When liquidity is added, the hook checks an allowlist and likely rejects deposits from callers (probably the position manager or router address passed as sender) that are not approved. Removing liquidity is never intercepted, so LPs can withdraw freely.
- Fee behaviour
- Uses the pool's static fee.
- Owner & admin controls
- The owner can approve or revoke liquidity providers individually or in batches, and can transfer ownership. No fee or withdrawal controls exist.
Enabled Uniswap v4 callbacks
beforeAddLiquidity
beforeAddLiquidity: checks the adding address against the allowed-provider list and blocks unapproved deposits.
Security & trust assessment
Risk level: low, estimated (decoded bytecode, medium confidence).
Who controls it: A single owner controls the provider allowlist. The worst they can do is stop new liquidity deposits; they cannot touch swaps, fees, or existing LP funds.
Risk to user funds: The hook holds and moves no funds and takes no fees (0%). LP principal cannot be locked or drained by this hook.
Security findings
- [info] Gated liquidity deposits: Only owner-approved addresses can add liquidity; the owner can revoke approval at any time, which stops new deposits but cannot affect existing positions.
- [info] Withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,684 bytes
- Upgradeable proxy
- No
- Detected patterns
- access-control, ownable
Pools using Access control hook
- CT / USDT (0.0322% fee) — 24h volume $0, TVL $0, 0 swaps today