Dynamic fee hook on BNB Chain
Uniswap v4 Hook Contract 0x69bc75a9cc2237b5b3f0db5e5e49aab8ea424088 on BNB Chain · Dynamic fee
- 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 hook on BNB Chain that runs custom logic before each swap and adjusts the swap settlement through a return delta, though its exact purpose cannot be confirmed without source.
How it works step by step
- Runs custom logic in beforeSwap on every swap in pools using this hook
- Reads and writes internal state in storage slots 0 to 2 during swaps
- Returns a delta from beforeSwap that adjusts swap settlement amounts
- Exposes a view function (0xf81f3f86) that reads hook state
- Exact fee or pricing formula cannot be determined without source
- Swap behaviour
- beforeSwap runs before every swap, reads and updates internal hook state, and returns a delta that changes the swap amounts.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- beforeSwap writes to storage slots 1 and 2 (a uint256 and a bool) and returns a delta, which suggests a dynamically computed adjustment to swap amounts or fees; the exact fee formula cannot be determined from the decoded bytecode.
- Owner & admin controls
- No admin controls found.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs before each swap and is used to read and update hook state; beforeSwapReturnDelta: allows the hook to return a delta that alters the amounts settled for the swap.
Security & trust assessment
Risk level: medium (decoded bytecode, low confidence).
Who controls it: Without source, it cannot be determined whether any privileged key controls the state written in beforeSwap. The selector 0xf81f3f86 is a view function that reads storage, but its purpose is unknown.
Risk to user funds: The hook can alter swap settlement through return deltas, so it can affect the amounts traders receive or pay. It does not appear to hold funds directly, but the return-delta mechanism means it can shift value between swapper and pool.
Security findings
- [medium] Return delta on swaps: The hook enables beforeSwapReturnDelta, so it can alter the amounts exchanged in a swap and effectively take or give tokens during trades.
- [medium] Stateful swap logic without source: beforeSwap writes to three storage slots on every swap, so swap outcomes depend on hook state that cannot be audited without source.
- [info] Unverified contract: No verified source is available, so the intended behaviour and any owner or upgrade controls could not be confirmed.
Contract details
- Verified source
- No
- Bytecode size
- 1,501 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Dynamic fee hook
- BNB / 4POT (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today