Custom pricing hook on BNB Chain
Uniswap v4 Hook Contract 0xd37c081e528f0daba9b3fec1a98434aff997aaa8 on BNB Chain · Custom pricing
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 3
- Swaps (24h)
- 2 (1 traders)
- Total swaps
- 2
What it does
This hook is a self-market-making token that prices all buys and sells from its own Venus-backed reserves, charges a fixed (unverified) fee on every trade, and can block sells that exceed a cap or come from unqualified wallets.
How it works step by step
- The hook is itself an ERC20 token that acts as its own market maker, pricing buys and sells with its own internal formula (custom curve) instead of normal pool liquidity.
- Supports pools pairing the token with WBNB, USDT or USDC, set up once at pool initialization.
- Swaps are settled by the hook through return deltas, and paired assets appear to be parked in Venus lending markets (mint and redeem calls) to earn yield.
- Sells appear limited by a per-pool sell cap and a minimum reserve check, and some actions check whether a wallet is a qualified Binance wallet.
- Adding liquidity, removing liquidity and donations appear to be blocked or restricted, since all trading runs through the hook's own reserves.
- Swap behaviour
- On each swap the hook takes over pricing, quotes the trade from its own reserves, charges a fixed fee constant, and settles via return deltas; swaps can revert if a sell exceeds the sell cap, reserves drop below a minimum, or the wallet fails a Binance-wallet qualification check.
- Liquidity behaviour
- Add and remove liquidity callbacks are enabled and appear to revert, so regular LPs likely cannot provide liquidity; the hook itself holds the trading reserves rather than outside LPs.
- Fee behaviour
- A fixed fee constant (FEE_BPS) is applied to swaps, likely sent to a hard-coded treasury address; the exact percentage cannot be read from the decoded bytecode.
- Owner & admin controls
- No owner or admin setter functions were found; addresses and constants such as treasury, fee and caps appear hard-coded.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, beforeDonate, beforeSwapReturnDelta
beforeInitialize registers the supported pools and paired assets; beforeAddLiquidity and beforeRemoveLiquidity gate or block normal LP actions; beforeSwap prices and settles trades and enforces caps; beforeDonate blocks or gates donations; beforeSwapReturnDelta lets the hook replace the pool's swap amounts with its own.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No admin functions were found; behaviour appears fixed in code with hard-coded treasury and external Venus contracts.
Risk to user funds: Swap amounts are fully handled by the hook through return deltas and reserves sit in the hook and Venus; fee size is unknown from bytecode. There are no outside LP positions to lock, since normal liquidity provision appears blocked.
Security findings
- [medium] Hook custodies trading reserves: Swap proceeds are held by the hook and deposited into Venus lending markets, so buyers and sellers depend on the hook's custom math and Venus solvency to be paid.
- [medium] Sell restrictions: Sells can revert when they exceed a computed sell cap or when reserves are below a minimum, and some wallets may be rejected by a qualification check; exact limits are not verifiable from bytecode.
- [info] Unverified fee value: A fixed fee constant exists but its exact value and recipient split cannot be confirmed without source.
Contract details
- Verified source
- No
- Bytecode size
- 11,569 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, moves-currency, return-delta
Pools using Custom pricing hook
- WBNB / BLOOD (0.00% fee) — 24h volume $0, TVL $0, 2 swaps today
- USDC / BLOOD (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDT / BLOOD (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today