Dynamic fee hook on Robinhood Chain
Uniswap v4 Hook Contract 0x52db9c7f640ff10cbde53ea92a0b551583f6e000 on Robinhood Chain · Dynamic fee
- Volume (24h)
- $11
- Value locked (TVL)
- $0.27
- All-time volume
- $11
- Pools using this hook
- 1
- Swaps (24h)
- 6 (1 traders)
- Total swaps
- 6
What it does
A simple dynamic-fee hook where a fixed controller can change the pool's swap fee at any time, with no cap visible in the bytecode, so all trades pay whatever fee it sets; LPs can always withdraw freely.
How it works step by step
- Runs a check when a pool is first created with this hook, likely requiring the pool to use a dynamic fee.
- Lets a fixed controller address change the pool's LP fee at any time by calling the PoolManager's dynamic fee update.
- Does not run during swaps or liquidity changes, so it never touches trader or LP tokens directly.
- Very small contract (about 1 KB) with no storage, so the manager and controller are fixed when it is deployed.
- Swap behaviour
- No swap callbacks. Swaps pay whatever dynamic LP fee the controller last set for the pool.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- The LP fee is dynamic and set by the controller through updateFee. The bytecode shows no visible cap, but Uniswap v4 itself limits LP fees to at most 100%. Fees go to LPs as normal pool fees.
- Owner & admin controls
- A controller address, apparently fixed at deployment, can set the pool's LP fee to any value Uniswap v4 allows. No cap could be confirmed from the bytecode.
Enabled Uniswap v4 callbacks
beforeInitialize
beforeInitialize: validates pool setup when the pool is created (likely enforcing dynamic-fee mode).
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: A single controller address holds fee-setting power. The worst it can do is raise swap fees very high, which would discourage trading but would not touch LP principal.
Risk to user funds: The hook holds no funds and cannot take tokens through deltas. Traders pay a controller-set fee that may range from 0% up to the protocol maximum. LP principal cannot be locked or drained.
Security findings
- [medium] Controller sets fees without visible cap: The controller can update the dynamic LP fee at any time, and the unverified bytecode shows no cap below the protocol maximum of 100%.
- [info] LP withdrawals unrestricted: Remove-liquidity and return-delta callbacks are disabled, so the hook cannot block withdrawals or take tokens from swaps.
Contract details
- Verified source
- No
- Bytecode size
- 1,004 bytes
- Upgradeable proxy
- No
- Detected patterns
- dynamic-fee
Pools using Dynamic fee hook
- ETH / ODP (Dynamic fee) — 24h volume $11, TVL $0.27, 6 swaps today