Fee sharing hook on BNB Chain
Uniswap v4 Hook Contract 0x0f14b9c7d290dba0ff03486bfdf6c8340f9760cc on BNB Chain · Fee sharing
- Volume (24h)
- $0.05
- Value locked (TVL)
- <$0.01
- All-time volume
- $0.05
- Pools using this hook
- 4
- Swaps (24h)
- 10 (1 traders)
- Total swaps
- 10
What it does
Every swap in these pools pays an extra hook fee of unverified size, split between the platform and the pool's project, while LPs can add and withdraw freely.
How it works step by step
- Takes a fee on swaps through its pools and splits it between a platform address and a per-pool project balance.
- Keeps a running record of fees owed to the platform and to each project (pool).
- Lets accrued project fees be settled, apparently by converting them through a converter contract.
- Records per-pool timing data at pool creation and on each swap, readable through a consult function, which looks like a simple oracle.
- Never runs on liquidity changes, so LPs can add and withdraw freely.
- Swap behaviour
- On each swap the hook can take a fee from the swap amounts using return deltas and record it for the platform and the pool's project. The exact fee rate and split cannot be read from bytecode, though a platform share constant (in parts per million) exists.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- A hook fee is deducted from swaps on top of the pool's LP fee and divided between a fixed platform address and the pool's project. The exact percentages are not verifiable from bytecode.
- Owner & admin controls
- No owner functions were clearly identified. The platform address and share appear to be fixed constants, and settlement functions move accrued fees, but who may call them is unknown.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: registers the pool and records its start time; beforeSwap: may take a fee from the input and updates tracking; afterSwap: may take a fee from the output and credits accrued balances; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook take its fee out of swap amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No upgrade path exists and no clear owner role was found. A fixed platform address receives a share of the fees.
Risk to user funds: Traders pay a hook fee of unknown size that is deducted from their swaps. LP principal cannot be locked or taken by this hook.
Security findings
- [medium] Swap fee taken via return deltas: The hook can deduct tokens from swap input or output. The fee size and any cap cannot be confirmed without verified source.
- [low] Fee settlement functions: Functions that settle project fees and process platform balances use approvals and the converter. They appear to handle only accrued fees, but access rules are unverified.
- [info] LP withdrawals unrestricted: The remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 11,130 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta, self-unlock
Pools using Fee sharing hook
- USDT / FGMSTD (0.00% fee) — 24h volume $0.02, TVL <$0.01, 4 swaps today
- FGMCUSTOM / WBNB (0.00% fee) — 24h volume $0.01, TVL $0, 2 swaps today
- FGMCHAR / SPCXB (0.00% fee) — 24h volume <$0.01, TVL $0, 2 swaps today
- BNB / FGMZERO (0.00% fee) — 24h volume $0.01, TVL $0, 2 swaps today