Likely custom pricing hook on Ethereum
Uniswap v4 Hook Contract 0xa13b60f1950dbe50c85f6b245270875149144088 on Ethereum · 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, immutable, unverified hook that runs before each swap, tracks some state, and can adjust swap amounts by an unconfirmed amount, while LPs remain free to add and withdraw liquidity.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Has permission to change swap amounts through a before-swap return delta, so it could take or add tokens to a swap.
- Stores three counters or values that are updated on each swap and can be read through one public view function.
- Has no liquidity callbacks, so LPs add and withdraw without hook involvement.
- Swap behaviour
- Before each swap the hook runs and updates three stored values, and it may adjust the swap amounts through its return-delta permission. Whether it actually deducts tokens, and by how much, cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- No explicit fee logic could be confirmed. The hook can alter swap amounts via its before-swap delta, but any amount or cap is unknown without verified source.
- Owner & admin controls
- No admin controls found. The small bytecode shows no owner or setter functions, only the swap hook and one read-only function.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates stored state before each swap; beforeSwapReturnDelta: lets the hook change how much of each token the swapper pays or receives.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged keys were found in the bytecode. Behaviour is fixed at deployment.
Risk to user funds: The hook can affect the swap amounts of traders in its pools through its before-swap delta, with an unknown maximum. LP principal cannot be locked or drained by this hook.
Security findings
- [medium] Unverified hook with swap return delta: The contract is unverified and can modify swap amounts before execution. The size and conditions of any adjustment cannot be checked from bytecode.
- [info] No admin functions and no proxy: The contract is a direct, non-upgradeable deployment with no visible owner or configuration functions.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,704 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- ETH / ARCADE (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today