HamsterWheel on Ethereum

Uniswap v4 Hook Contract 0x35db6777e2eb667d0f87287e2ad2133f709b20cc on Ethereum · Launchpad · Verified contract

Volume (24h)
$0
Value locked (TVL)
$0
All-time volume
$0
Pools using this hook
1
Swaps (24h)
1 (1 traders)
Total swaps
1

What it does

Launch hook for the ETH/SQK pool that taxes every buy and sell in ETH, starting at 85% at open and falling to a permanent 1% after 22 minutes, with the tax going to the deployer and LPs free to withdraw.

How it works step by step

  • Lets only the deployer create one ETH/SQK pool, adding SQK-only liquidity from a chosen starting price, with the LP position NFT sent to the deployer.
  • Blocks all trading until the deployer opens trading once.
  • Charges a buy and sell tax in ETH that starts at 85% when trading opens and falls in a straight line to 1% over 22 minutes, then stays at 1% forever.
  • Keeps collected tax as ETH claims inside the Uniswap PoolManager, and only the deployer can withdraw it.
  • Blocks anyone else from creating a pool that uses this hook.
Swap behaviour
Swaps revert until trading is opened; after that, every buy and sell pays an ETH tax taken from the ETH side of the trade, either from ETH paid in or from ETH received. The tax is 85% at open, decays linearly to 1% over 22 minutes, and stays at 1% afterwards, on top of the pool's 0.3% LP fee.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely. The deployer's launch position is not locked and can be removed at any time.
Fee behaviour
Hard-coded tax of 85% falling linearly to 1% over 22 minutes after trading opens, then 1% permanently, always charged in ETH and sent to the deployer's treasury. The pool also charges a fixed 0.3% LP fee to liquidity providers.
Owner & admin controls
The deployer can only create the pool once, open trading once, and withdraw collected ETH tax to any address. There are no pause, blacklist, tax change, or upgrade functions.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: blocks outside pool creation; beforeSwap: blocks trades before launch and takes tax on exact-in buys and exact-out sells; afterSwap: takes tax on exact-out buys and exact-in sells; beforeSwapReturnDelta/afterSwapReturnDelta: charge the ETH tax to the trader.

Security & trust assessment

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

Who controls it: A single immutable deployer address can open the pool and trading once and withdraw collected ETH tax; it cannot change the tax, pause trading, or block traders.

Risk to user funds: The hook takes 85% down to 1% of each trade's ETH side as tax, settling at 1% after 22 minutes; it cannot touch LP principal and LP withdrawals are unrestricted.

Security findings

  • [medium] Very high launch tax: Trades in the first minutes after opening pay up to 85% of their ETH value as tax, decaying to 1% over 22 minutes. The schedule is fixed in code and cannot be raised.
  • [low] Deployer controls launch timing and liquidity: Only the deployer creates the pool, sets the starting price, opens trading, and holds the removable LP position, so liquidity can be pulled at any time.
  • [info] Immutable tax, free withdrawals: The contract is not a proxy, tax constants are hard-coded, and remove-liquidity callbacks are disabled so LPs can always exit.

Contract details

Verified source
Yes (HamsterWheel)
Compiler
solc 0.8.30+commit.73712a01
Bytecode size
11,198 bytes
Upgradeable proxy
No
Detected patterns
erc6909-claims, moves-currency, return-delta, self-unlock, tax

Pools using HamsterWheel