SealDaoFeeHook on Robinhood Chain
Uniswap v4 Hook Contract 0xeb1e05df4b1e0e7eed94cd06628900868ea3a0cc on Robinhood Chain · Fee sharing · Verified contract
- Volume (24h)
- $912
- Value locked (TVL)
- $19.25K
- All-time volume
- $487.33K
- Pools using this hook
- 1
- Swaps (24h)
- 10 (6 traders)
- Total swaps
- 4,454
What it does
Takes a fixed 1% fee in native ETH on swaps in one SEAL/ETH Uniswap v4 pool and holds it for the DAO treasury, which can sweep it out.
How it works step by step
- Accepts only the canonical SEAL/ETH pool key (ETH as currency0, SEAL as currency1, 0.25% LP fee, tick spacing 50, this hook)
- Takes 1% of the native ETH side of each swap via poolManager.take into the hook contract
- Uses beforeSwap for exact-input buys and exact-output sells, and afterSwap for exact-input sells and exact-output buys
- Tracks totalFeesAccrued and totalFeesSwept and emits NativeFeeAccrued events
- Anyone can call sweepFees to transfer the full native ETH balance to the current treasury
- Treasury can rotate via a two-step handoff or permanently disable fee collection
- Swap behaviour
- On every swap in the canonical SEAL/ETH pool, the hook takes 1% of the native-ETH amount (before or after the swap depending on which side is native ETH) and routes it to its own balance; sweepFees later forwards the balance to the treasury.
- Liquidity behaviour
- No liquidity callbacks; all liquidity hooks revert with HookNotImplemented.
- Fee behaviour
- Takes a fixed 1% (100 bps) of the native ETH side of each swap as a hook fee via poolManager.take, credited to the hook contract and reported as a hook delta. The pool LP fee is a static 0.25%. The fee is skipped entirely once feesPermanentlyDisabled is set.
- Owner & admin controls
- Treasury address (set at construction) can propose and cancel a treasury rotation via proposeTreasury/cancelTreasuryTransfer, and can permanently disable fees via disableFeesPermanently (irreversible). The pending treasury must accept. No pausing, no upgrade path, no fee-raise or parameter changes; DAO_FEE_BPS, LP_FEE, TICK_SPACING and the pool key are compile-time constants. Anyone can call sweepFees, which only sends accrued native ETH to the current treasury.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize enforces that the pool is the canonical SEAL/ETH pool and the initial sqrt price matches. beforeSwap collects the 1% fee when native ETH is the specified currency (exact-input buys and exact-output sells) and returns it as a specified delta. afterSwap collects the fee when native ETH is the unspecified currency (exact-input sells and exact-output buys) and returns it as an unspecified delta. beforeSwapReturnDelta and afterSwapReturnDelta allow these fee deltas to be applied to the swap.
Security & trust assessment
Risk level: low (verified source, high confidence).
Who controls it: x
Risk to user funds: x
Contract details
- Verified source
- Yes (SealDaoFeeHook)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 4,877 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using SealDaoFeeHook
- ETH / SEAL (0.25% fee) — 24h volume $912, TVL $19.25K, 10 swaps today