UmbrellaV4Hook on Robinhood Chain

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

Volume (24h)
$329.17K
Value locked (TVL)
$31.03K
All-time volume
$329.17K
Pools using this hook
1
Swaps (24h)
1,875 (538 traders)
Total swaps
1,875

What it does

A launchpad coin/USDG pool hook that taxes every buy and sell in USDG, starting at a high launch rate that decays to a 1% to 3% base on top of a 0.30% LP fee, sends the tax to a fixed collector, and runs a TWAP oracle behind an upgradeable beacon proxy.

How it works step by step

  • Runs a single launchpad coin / USDG pool with a fixed 0.30% LP fee and full-range-only liquidity.
  • Charges a tax on every swap: on buys from the USDG input, on sells from the USDG output, paid as USDG to a fixed collector.
  • The tax starts at a launch rate (at least 3%, below 100%) and decays over time to a base rate of 1% to 3% read from a platform settings registry.
  • Maintains a time-weighted price oracle (TWAP over a 30 minute to 4 hour window) for the coin in USDG.
  • Blocks all swaps while the coin's wind-down is due but not yet recorded, and only allows exact-input swaps.
Swap behaviour
Buys pay tax taken from the USDG input before the swap, and sells pay tax taken from the USDG output after the swap, at the current rate (launch rate decaying to a 1% to 3% base). Swaps revert before trading is enabled, during a pending wind-down, for exact-output or partial fills, and optionally if the tax exceeds a user-set maximum, the output is below a minimum, or a deadline has passed.
Liquidity behaviour
Liquidity must be full range; add and remove callbacks only update the oracle price and return no deltas. The remove-liquidity callback does not block withdrawals in the current code, but it runs on every withdrawal and the proxy is upgradeable.
Fee behaviour
Pool LP fee is fixed at 0.30%, plus a hook tax that starts at a configured launch rate (between 3% and under 100%) and decays per second to the registry's base rate (bounded 1% to 3%). The tax is held as USDG claims and anyone can trigger its transfer to the fixed collector; the premium seller and the collector's own conversion sells are tax-exempt.
Owner & admin controls
There is no owner function in the hook itself, but the platform settings registry sets the base tax (hard-checked to 1% to 3%), and the beacon owner can upgrade the implementation for every coin hook. The collector, initializer, launch schedule and premium seller are fixed at setup.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, afterAddLiquidity, afterRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only the set initializer can create the pool at the preset price; beforeAddLiquidity: enforces full-range positions; afterAddLiquidity: updates oracle price; afterRemoveLiquidity: updates oracle price; beforeSwap: checks trading state and takes buy tax from input; afterSwap: takes sell tax from output, enforces limits and checkpoints the oracle; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook deduct the tax from swap amounts.

Security & trust assessment

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

Who controls it: The beacon owner can upgrade the logic for all coin hooks, and the settings registry controls the base tax within 1% to 3%. The worst case via upgrade is changing swap taxes or blocking LP withdrawals.

Risk to user funds: The hook deducts tax from swap USDG amounts, from a 1% to 3% base up to a launch rate just under 100%, and sends it to the collector. LP principal stays in the PoolManager and is withdrawable today, but an upgrade could make the remove-liquidity callback revert.

Security findings

  • [high] Upgradeable beacon proxy with swap deltas and remove-liquidity callback: The hook is a beacon proxy whose address has swap return-delta and afterRemoveLiquidity bits enabled, so a future implementation could take larger amounts from swaps or revert LP withdrawals. Current code returns zero liquidity deltas and does not block removals.
  • [medium] High launch tax: The launch tax can start at up to just under 100% and decays to the 1% to 3% base over the configured duration; buyers and sellers early after launch may pay very large taxes. Users can protect themselves with the optional max tax and minimum output limits.
  • [medium] Wind-down swap halt: All swaps revert while the collector's reserve reports a wind-down as due and unrecorded.
  • [info] Bounded base tax: The registry-supplied base rate is rechecked on every swap to stay between 1% and 3%, otherwise the swap reverts.

Contract details

Verified source
Yes (UmbrellaV4Hook)
Compiler
solc 0.8.30+commit.73712a01
Bytecode size
321 bytes
Upgradeable proxy
Yes
Detected patterns
erc20, erc6909-claims, launchpad, moves-currency, oracle, return-delta, self-unlock, tax, upgradeable

Pools using UmbrellaV4Hook