Likely custom pricing hook on Base
Uniswap v4 Hook Contract 0x13d18164e41cd0df74617447fe1330e161248088 on Base · 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
An immutable, unverified hook that runs before every swap to record swap data and may adjust swap amounts by an unknown amount, with no admin controls and no effect on LP deposits or withdrawals.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Has swap return-delta permission, so it can change how much a swapper pays or receives.
- Records swap-related values in storage on each swap, including a numbered history list (possibly a per-swap log or counter).
- Exposes read-only functions that return this stored swap data.
- Never runs on liquidity adds or withdrawals, so LPs keep full control of their funds.
- Swap behaviour
- Before each swap the hook runs and updates its stored counters and history, and it may adjust swap amounts through a return delta. No external calls or token transfers to other parties were found in the bytecode, and the exact effect on swap amounts cannot be confirmed without source.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- No explicit fee logic or fee recipient was identified. The pool's own fee applies, but the swap return delta could change swap amounts by an amount that cannot be verified from bytecode.
- Owner & admin controls
- No admin controls found; no owner or setter functions appear in the dispatched selectors.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and records state before each swap; beforeSwapReturnDelta: lets the hook change swap input or output amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged keys or admin functions were detected. The contract is not a proxy, so its behaviour cannot be changed after deployment.
Risk to user funds: Only swap amounts can be affected, through the before-swap return delta, and the maximum deduction is unknown without source. LP principal cannot be locked or drained by this hook.
Security findings
- [low] Unverified swap return delta: The hook can change swap amounts before a swap, but no source is published, so the size and direction of any change cannot be confirmed.
- [info] No admin functions: Only beforeSwap and three read-only functions are exposed, and no owner, pause or fee-setting functions were found.
- [info] LP withdrawals unrestricted: 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
- 2,270 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- ETH / LEXI (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today