OrynthEthFeeHook on Robinhood Chain

Uniswap v4 Hook Contract 0x953391a2ddf7e8437feb878fdf2c6f325fbf00cc on Robinhood Chain · Launchpad · Verified contract

Volume (24h)
$0
Value locked (TVL)
$2.41K
All-time volume
$2.53M
Pools using this hook
224
Swaps (24h)
0 (0 traders)
Total swaps
29,226

What it does

Charges a fixed 2% fee in native ETH on swaps in launchpad pools and splits it between the token creator and the Orynth platform.

How it works step by step

  • Charges a fixed 2% fee (200 bps) in native ETH only on registered pool swaps.
  • Takes the fee through the pool manager and records it via beforeSwap or afterSwap return deltas depending on swap direction and exact-input/output mode.
  • Splits each fee 50/50 between the pool creator (creatorEthAccrued per pool) and the platform (platformEthAccrued).
  • Lets the creator claim their pool share with claimCreator and the platform claim its share with claimPlatform, both reentrancy-guarded.
  • Requires the launcher to register each pool with a creator before initialization and rejects pools whose currency0 is not native ETH.
Swap behaviour
Swaps in registered pools pay a 2% fee taken in ETH via return deltas: exact-input ETH buys carve the fee from input, exact-output ETH buys add it on top, and token-to-ETH swaps take it from the ETH output. Unregistered pools revert.
Liquidity behaviour
No liquidity callbacks.
Fee behaviour
Fixed 2% fee (FEE_BPS = 200) charged in native ETH only, taken via poolManager.take and split 50% to the pool creator and 50% to the platform. Fee is carved from supplied ETH on exact-input ETH->token swaps, added on top for exact-output ETH->token swaps, and taken from the ETH output for token->ETH swaps.
Owner & admin controls
Owner is immutable and only sets the launcher once via setLauncher; owner has no pause, upgrade, or fee-change function. Platform address (immutable) can claim accrued platform ETH fees. No admin controls over fee rate (fixed at 2%, creator share fixed at 50%).

Enabled Uniswap v4 callbacks

beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeSwap: charges fee on swaps where ETH is the specified currency (exact-input ETH in, exact-output ETH out) and returns a specified-currency delta. afterSwap: charges fee on swaps where ETH is the unspecified currency and returns an unspecified-currency delta. beforeSwapReturnDelta and afterSwapReturnDelta: allow the hook to take its fee by adjusting the swap deltas.

Security & trust assessment

Risk level: low (verified source, high confidence).

Who controls it: Owner can only set the launcher once and cannot change fees, pause swaps, or move funds. Platform address can only withdraw its accrued platform share. The launcher can register pools and is the sole entity able to create pools using this hook.

Risk to user funds: The hook takes a fixed 2% of ETH value from registered swaps and holds accrued creator and platform ETH balances until claimed. It cannot block swaps administratively or move pool liquidity beyond the fee, and balances are protected by reentrancy guards on claims.

Security findings

  • [info] Return-delta fee capture: The hook returns deltas that take 2% of swap value in ETH on every registered pool swap, so swappers pay the fee through the hook's return-delta mechanism.
  • [low] Launcher controls pool registration: Only the one-time launcher address may register pools, and pools must use native ETH as currency0 and this hook; a misconfigured or malicious launcher could register arbitrary pools but cannot alter the fee rate or drain balances.
  • [info] No upgradeability or pause: Owner and platform keys have no pause, upgrade, or parameter-change functions, so the fee logic is immutable after deployment.
  • [info] Accounting and reentrancy protections present: Fee is computed with integer division and _toInt128 reverts on overflow; creator and platform accruals are tracked in storage and withdrawn via ReentrancyGuard-protected claim functions.

Contract details

Verified source
Yes (OrynthEthFeeHook)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
6,004 bytes
Upgradeable proxy
No
Detected patterns
launchpad, return-delta

Pools using OrynthEthFeeHook