Fee sharing hook on BNB Chain
Uniswap v4 Hook Contract 0x43abf000b9783254f5ef3227b8ba598d298c40cc on BNB Chain · Fee sharing
- Volume (24h)
- $0
- Value locked (TVL)
- $14.18K
- All-time volume
- $62.76K
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 299
What it does
A Uniswap v4 hook that charges a fixed basis-point tax on swaps and routes the proceeds to an operations wallet, a burn and a tax accumulator.
How it works step by step
- Charges a fixed basis-point tax on swaps via beforeSwapReturnDelta and afterSwapReturnDelta
- Calls take on the pool manager to move the tax tokens into hook custody
- Splits collected tax between an operations wallet, a burn and a tax accumulator per fixed BPS constants
- Exposes getFeeSplit and tax constants as public views
- Owner can set the operations wallet and manage ownership with a two-step transfer
- Swap behaviour
- beforeSwap and afterSwap run on every swap and use return deltas to skim a tax from the swap amounts, which is then split between operations, burn and accumulation.
- Liquidity behaviour
- Liquidity add and remove hooks (beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity, afterRemoveLiquidity) are dispatched but their logic is not identifiable from decoded bytecode; no liquidity-level return deltas are enabled.
- Fee behaviour
- Hook takes a tax on swaps via beforeSwap/afterSwap return deltas. Dispatched views suggest fixed basis point parameters (OPERATIONS_BPS, BURN_BPS, TOTAL_TAX_BPS) and a getFeeSplit view, so the tax is split between operations, burn and a tax accumulator. Exact splits cannot be confirmed without source.
- Owner & admin controls
- Owner (Ownable2Step: transferOwnership, acceptOwnership, renounceOwnership) can set the operations wallet via setOperationsWallet and appears to control the stored addresses at slots 3 to 5 (writes to 0x5231f3a2 and 0xe993f91c and 0x4ccb1d57 are selector-linked to privileged-looking functions). No pause or upgrade mechanism identified from the decoded selectors.
Enabled Uniswap v4 callbacks
beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeSwap and afterSwap read the swap and compute a tax; beforeSwapReturnDelta and afterSwapReturnDelta let the hook take a share of the swap amounts in the pool currency; the hook calls take on the pool manager to move the tax into its own custody and then distributes it.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: The owner can change the operations wallet, which is the destination for a share of taxes, and can transfer or renounce ownership. A malicious or compromised owner could redirect tax flows to an address they control.
Risk to user funds: The hook takes a percentage of swap amounts through return deltas and holds accumulated tax, so swappers pay a tax that is routed to operations, burn and accumulation. The hook uses the pool manager take call to move tokens.
Security findings
- [medium] Swap-level tax via return deltas: The hook uses beforeSwapReturnDelta and afterSwapReturnDelta, letting it take tokens from every swap. Its tax rate and split are fixed in bytecode constants, so the hook can extract value from every swap.
- [medium] Owner can redirect tax destination: setOperationsWallet is callable by the owner and redirects a share of collected tax; no timelock is visible in the decoded selectors.
- [info] Two-step ownership: Ownership uses a two-step transfer (transferOwnership, acceptOwnership), which reduces accidental handover risk but does not prevent a malicious owner.
- [info] Unverified source: Source is unverified; behaviour is inferred from selectors and storage access, so exact tax rates, burn mechanics and accumulator logic remain unconfirmed.
Contract details
- Verified source
- No
- Bytecode size
- 6,246 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, ownable, return-delta
Pools using Fee sharing hook
- WBNB / STARBASE (0.0001% fee) — 24h volume $0, TVL $14.18K, 0 swaps today