Likely custom pricing hook on BNB Chain
Uniswap v4 Hook Contract 0x2265dee0a7d24bc922745390a939a9ba4f664088 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
Unverified, non-upgradeable hook that can take an unknown cut from every swap before it executes, while LPs can always add and withdraw liquidity freely.
How it works step by step
- Runs before every swap in pools that use it and can change the swap amounts through a return delta.
- Calls the PoolManager's take function during swaps, moving tokens out of the pool's swap flow to an address chosen by the hook.
- Keeps two small stored numbers: one set through an unnamed function that takes two values, and one updated on each swap (likely a counter or running total).
- Has no liquidity callbacks, so LPs add and remove liquidity without the hook ever running.
- Swap behaviour
- Before each swap the hook can adjust the swap amounts and take tokens from the PoolManager, which amounts to a fee or skim on the trade. The size and recipient of that deduction cannot be confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- Any hook fee or deduction is taken in beforeSwap through a return delta plus a take call. The exact percentage, cap and recipient are unknown because the source is unverified.
- Owner & admin controls
- An unnamed function writes a stored value that the swap logic reads, and it may act as an admin-set parameter such as a fee rate. Whether it is access-restricted, and whether that value is capped, cannot be determined from bytecode.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and takes tokens before each swap; beforeSwapReturnDelta: lets the hook change how much the trader pays or receives.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: It is unclear who can call the parameter-setting function. If it is admin-controlled, the worst case is a change to how much the hook takes from swaps.
Risk to user funds: Traders' swap amounts can be reduced by an unknown deduction taken before each swap. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified swap deduction: The hook can change swap amounts and take tokens during beforeSwap. The fee size and any cap cannot be verified without source code.
- [low] Configurable stored parameter: A function updates a stored value that the swap logic reads, possibly a fee setting. Who can call it and its bounds are unknown.
- [info] LP withdrawals unaffected: Remove-liquidity callbacks are disabled in the hook address, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,301 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- BNB / OSPAD (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today