Fee sharing hook on BNB Chain

Uniswap v4 Hook Contract 0x1c37290b6af28381657a95826d5b8c8b437bc880 on BNB Chain · Fee sharing

Volume (24h)
$0
Value locked (TVL)
<$0.01
All-time volume
$11.47M
Pools using this hook
2
Swaps (24h)
0 (0 traders)
Total swaps
10,266

What it does

A fee-configuration hook that sets per-pool dynamic fee tiers and can gate liquidity additions and swaps, controlled by an owner.

How it works step by step

  • Runs beforeSwap to compute and apply a dynamic fee for each swap
  • Runs beforeAddLiquidity to enforce registration or allowlist checks on liquidity additions
  • Stores fee tiers (tier one, two, three) and a default fee, with per-address fee overrides
  • Tracks swap counts and registered pools per pool id
  • Provides an owner-controlled pause switch and allowlist
Swap behaviour
beforeSwap is active and likely applies the dynamic fee tier and records swap counts per pool.
Liquidity behaviour
beforeAddLiquidity is implemented and may register pool state or enforce allowlist/weight rules; details are not fully determinable from bytecode.
Fee behaviour
Fees appear to be configured per pool and per tier (tierOneFee, tierTwoFee, tierThreeFee, defaultFee, getFeeOverride per address) with a fee config struct; the hook overrides fees via the dynamic fee flag. Exact fee logic cannot be fully confirmed without source.
Owner & admin controls
Owner-gated functions include setPaused, setAllowed, setGasThreshold, registerPool and fee/config setters; owner is read via owner(). Pausing is controlled by the owner through setPaused(bool).

Enabled Uniswap v4 callbacks

beforeAddLiquidity, beforeSwap

beforeAddLiquidity: runs logic before liquidity is added to a pool, likely for registration or access checks. beforeSwap: runs logic before each swap, likely to compute the dynamic fee and track swapCount.

Security & trust assessment

Risk level: medium (decoded bytecode, low confidence).

Who controls it: The owner can pause the hook, add or remove allowed addresses, change fee tiers and gas thresholds, and register pools, which could alter fees or block swaps and liquidity additions for users.

Risk to user funds: The hook does not appear to hold user tokens directly, but it can influence swap fees and block swaps or liquidity additions through pause and allowlist controls.

Security findings

  • [medium] Owner pause control: The owner can toggle a pause flag via setPaused, which can block hook-gated operations for all users.
  • [medium] Mutable fee parameters: Owner-gated setters for fee tiers, default fee and gas threshold can change swap pricing and behaviour after users have committed funds.
  • [low] Allowlist gating: Allowlist management via setAllowed and access checks in beforeAddLiquidity mean the owner decides which addresses can add liquidity.
  • [info] Single owner key: Bytecode references owner checks and custom errors, indicating a single privileged owner key with no visible timelock.

Contract details

Verified source
No
Bytecode size
12,142 bytes
Upgradeable proxy
No
Detected patterns
pausable

Pools using Fee sharing hook