Likely custom pricing hook on BNB Chain
Uniswap v4 Hook Contract 0xd0f93548d29ebd75f32155d53303a0cc71a20088 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
A small unverified hook that appears to charge every trader a fixed fee before each swap and track the totals, while LPs can withdraw freely.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Can take a cut of the swap input using a return delta and send it to an address via the PoolManager.
- Keeps running counters (likely total fees or volume collected) that update on each swap.
- Reads a small stored setting (likely a fee rate) that has no visible setter in the bytecode.
- Has one view function that reports the stored values.
- Swap behaviour
- Before each swap the hook can change the swap amounts and pull tokens out through the PoolManager, most likely as a fee on the input. The exact rate could not be confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- A hook fee appears to be taken before swaps, probably a rate stored as a 16-bit number (for example in basis points). No function to change it was found, but the exact percentage and the recipient are unknown.
- Owner & admin controls
- No admin or setter functions were found in the bytecode. The fee setting appears fixed at deployment.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs fee or accounting logic before each swap; beforeSwapReturnDelta: lets the hook adjust swap amounts to collect tokens.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: Not stated.
Risk to user funds: The hook can take part of a trader's swap amount at an unknown, apparently fixed rate. LP principal cannot be locked or drained. ```
Security findings
- [low] Swap fee via return delta, cap unverified: The hook can deduct tokens from swaps and withdraw them with take. The rate is a stored 16-bit value of unknown size because the source is not verified.
- [info] No admin setters visible: Only beforeSwap and one view function are exposed, so no owner appears able to change the fee or pause swaps.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.
Contract details
- Verified source
- No
- Bytecode size
- 1,223 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- BNB / ATHENA (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today