Fee sharing hook on BNB Chain
Uniswap v4 Hook Contract 0xc799c6098fb98e39338f17d660caa3c896c200cc on BNB Chain · Fee sharing
- 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
Every trade, buy or sell, pays a fixed 1% fee in the native token to a fixed receiver, while LPs can add and withdraw liquidity freely with no admin able to change anything.
This read was written for the hook 0xc799…00cc on Robinhood Chain and reused here: the two share a code shape, so constants such as fees, owners and addresses can differ.
How it works step by step
- Charges a fixed 1% fee on every swap, always paid in currency0 (the native token side of the launch pool).
- Sends the fee straight to a fixed receiver address set when the hook was deployed.
- When the native amount is the one the trader specifies, the fee is taken before the swap; otherwise it is taken from the native amount after the swap.
- Has no liquidity callbacks, so LPs add and remove liquidity normally.
- Has no owner or admin; the fee rate and receiver can never change.
- Swap behaviour
- Each swap pays 1% of the native (currency0) amount to the fee receiver: buys with exact input and sells with exact output pay it up front from the specified amount, while sells with exact input and buys with exact output pay it from the native amount after the swap. There are no other restrictions, cooldowns or price limits.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- A fixed 1% hook fee in the native token (currency0) on every swap, in addition to the pool's normal LP fee, sent to an immutable receiver address. The rate is a hard-coded constant and cannot change.
- Owner & admin controls
- No admin controls found.
Enabled Uniswap v4 callbacks
beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeSwap takes the 1% fee when the native amount is the specified side; beforeSwapReturnDelta charges that fee to the trader; afterSwap takes the 1% fee from the native result otherwise; afterSwapReturnDelta charges that fee to the trader.
Security & trust assessment
Risk level: low, estimated (decoded bytecode, high confidence).
Who controls it: No one holds admin keys; the pool manager address, fee receiver and 1% rate are fixed at deployment and the contract is not upgradeable.
Risk to user funds: The hook only takes 1% of the native-side amount of each swap from traders; it holds no funds and cannot touch LP principal, which remains freely withdrawable.
Security findings
- [info] Fixed 1% swap fee: Every swap pays a hard-coded 1% of the native-side amount to an immutable receiver; it cannot be raised or redirected.
- [info] Unrestricted LP withdrawals: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
- [info] Receiver must accept native token: If the fixed receiver cannot accept native token transfers, swaps that trigger a fee would revert, but this does not affect LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 2,582 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta