Likely custom pricing hook on BNB Chain
Uniswap v4 Hook Contract 0xdfbe1d4f951bdb0b18d99ec7db78cd64dce44088 on BNB Chain · Custom pricing
- 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
This small, non-upgradeable hook runs before each swap and can take an unverified share of the trade, so every swapper may pay an extra cost, while LPs can add and withdraw liquidity freely.
How it works step by step
- Runs before every swap in pools that use it.
- Can take tokens out of the swap through the PoolManager and adjust swap amounts using a return delta.
- Keeps two counters in storage that it updates on each swap, readable through one public view function.
- Has no visible owner or admin functions.
- Swap behaviour
- Before each swap the hook can take a portion of tokens via the PoolManager and change the swap amounts, which works like a fee or deduction on the trade. The exact amount and who receives it cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- The hook may deduct an unknown amount from swaps through its return delta and send it to an address encoded in the contract. The exact percentage is not verifiable from bytecode.
- Owner & admin controls
- No admin controls found; only one swap function and one view function are exposed.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No admin keys or upgrade path were found. Behaviour is fixed at deployment.
Risk to user funds: Swappers' tokens can be partly taken during swaps by an unknown amount that cannot be confirmed from bytecode. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified swap deduction: The hook can take tokens from swaps through its return delta, but the amount and recipient cannot be verified because no source is available.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
- [info] No admin functions: The contract is not a proxy and exposes no owner setters, so its behaviour cannot be changed after deployment.
Contract details
- Verified source
- No
- Bytecode size
- 1,188 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- BNB / FORGE (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today