NoOp on Robinhood Chain
Uniswap v4 Hook Contract 0x8ef1699f78f830375239f6f3165cb72d5b64c0c4 on Robinhood Chain · Fee sharing · Verified contract
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0.16
- Pools using this hook
- 3
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 1
What it does
A pass-through hook that lets every swap execute normally while taking a fixed, non-changeable 0.10% protocol fee on each trade and sending it to a hardcoded recipient.
How it works step by step
- Emits a BeforeSwapFired event on every swap without altering pricing or amounts
- Calculates 10 bps of the swap's unspecified currency amount in afterSwap
- Calls poolManager.take to send the fee directly to the fixed AEON_FEE_RECIPIENT
- Handles both exact-input and exact-output swaps by choosing the correct currency side
- Returns the taken fee as a hook delta so the pool's accounting stays balanced
- Restricts callbacks to the PoolManager via onlyPoolManager
- Swap behaviour
- beforeSwap emits BeforeSwapFired and returns a zero delta, so swap parameters are untouched. afterSwap takes 10 bps of the unspecified output (or input on exact-output) currency to AEON_FEE_RECIPIENT and returns that amount as a positive hook delta.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Takes a fixed 10 bps (0.10%) protocol fee on the unspecified currency of every swap in afterSwap via poolManager.take, sending it to a hardcoded recipient; the hook itself adds no extra fee and returns zero delta in beforeSwap.
- Owner & admin controls
- No admin controls found. The fee recipient (AEON_FEE_RECIPIENT) and rate (AEON_FEE_BPS) are compile-time constants and cannot be changed after deployment; poolManager is immutable. No owner, pause, or upgrade functions are present.
Enabled Uniswap v4 callbacks
beforeSwap, afterSwap, afterSwapReturnDelta
beforeSwap is used to emit a BeforeSwapFired event and return a zero delta; afterSwap is used to take the mandatory 10 bps protocol fee on the output (or input for exact-output) currency; afterSwapReturnDelta is enabled so the fee taken in afterSwap is reflected in the pool's delta accounting.
Security & trust assessment
Risk level: low (verified source, high confidence).
Who controls it: No privileged key exists. The recipient and fee rate are immutable constants, so no admin can alter fees, redirect funds, or pause swaps.
Risk to user funds: The hook can take up to 0.10% of the unspecified currency of each swap and send it to the fixed recipient. It cannot hold user funds long-term, cannot block swaps by admin action, and cannot redirect or increase the fee.
Security findings
- [info] Mandatory fixed protocol fee: Every swap pays a fixed 0.10% fee that is taken by the hook through poolManager.take and cannot be disabled or changed.
- [low] Return-delta ledger movement: The hook holds return-delta permission and moves the token ledger on every swap; an arithmetic or take() failure would revert swaps, though the code guards overflow and zero-amount cases.
- [info] Overflow guard present: Fee is computed on the unspecified side and converted to int128 with an explicit overflow check, limiting the chance of incorrect deltas.
Contract details
- Verified source
- Yes (NoOp)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 1,442 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using NoOp
- USDG / BPOOL (2.50% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDG / BPOOL (0.30% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDG / BPOOL (0.25% fee) — 24h volume $0, TVL $0, 0 swaps today