Hook 0xf3a1…c088 on BNB Chain
Uniswap v4 Hook Contract 0xf3a17715f2be993d4c8a762dd35b0c64ffdac088 on BNB Chain · Other
- 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 swap hook that runs before each swap and takes a portion of swap currency via a return delta, with the exact economic logic not verifiable from bytecode alone.
How it works step by step
- Runs custom logic in beforeSwap on every swap
- Reads and writes three storage slots holding packed and full-width values
- Returns a before-swap delta that adjusts swap amounts
- Calls take() to move currency out of the pool manager
- Uses no static fee override and no liquidity callbacks
- Swap behaviour
- On each swap, beforeSwap executes custom logic, updates stored state, and may take currency from the swap through a return delta.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Uses the pool's static fee.
- Owner & admin controls
- No admin controls found.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic before each swap and can call take() to move currency; beforeSwapReturnDelta: lets the hook return a delta that alters the swap amounts, so the hook can take a share of swap flow.
Security & trust assessment
Risk level: medium (decoded bytecode, low confidence).
Who controls it: No privileged role or owner function was identified in the decoded selectors, so no admin key abilities are evident from the bytecode.
Risk to user funds: The hook can take currency from swaps through take() and return deltas, so part of the traded amount may be diverted to the hook; exact amounts and recipients cannot be confirmed without source.
Security findings
- [medium] Hook takes currency via return delta: The hook can return a before-swap delta and calls take(), so it can withhold or redirect part of a swap's input or output from the pool's normal settlement.
- [medium] Swap economics not determinable from bytecode: Only one entry point (beforeSwap) is dispatched; the logic that determines the delta amount could not be read without source, so the size and conditions of any taken amount are unknown.
- [info] Stateful swap hook: Storage slots 0 through 2 are read and written during beforeSwap, indicating per-pool or global state updated on every swap.
- [info] No upgrade path observed: Contract is small (1178 bytes) with no owner or upgrade selectors found, which suggests no upgradeability.
Contract details
- Verified source
- No
- Bytecode size
- 1,178 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Hook 0xf3a1…c088
- BNB / FEAST (0.05% fee) — 24h volume $0, TVL $0, 0 swaps today