RouletteHookEth on Ethereum
Uniswap v4 Hook Contract 0x6a6105a40a66ee23ce4371b1c036c40468fa60cc on Ethereum · Launchpad · Verified contract
- Volume (24h)
- $107
- Value locked (TVL)
- $695
- All-time volume
- $74.88K
- Pools using this hook
- 1
- Swaps (24h)
- 1 (1 traders)
- Total swaps
- 353
What it does
Every buy and sell in this ETH/token pool pays a fixed 3.3% ETH fee, split between a randomly-resolved pot (burn, dip buyback, holder rewards, or locked liquidity), the developer, and a platform address, while LPs remain free to withdraw.
How it works step by step
- Charges a fixed 3.3% fee on the ETH side of every user swap in a single ETH/token pool: 2% to a round pot, 1% to the developer, 0.3% to a fixed platform address.
- Every 33 qualifying swaps (above a minimum ETH size) closes a round; a keeper bot reveals a secret, which is combined with a later block hash to randomly pick how the pot is used.
- Pot outcomes: buy and burn the token, buy on a dip and burn, send ETH to the token contract for holder rewards, or add permanent full-range liquidity that can never be removed.
- A 'mood' based on round price change and volume makes one outcome 55% likely, with the other three at 15% each.
- If the reveal fails or times out, the pot goes to a burn jar that the keeper later spends on buy-and-burn.
- Swap behaviour
- Every user buy or sell pays a fixed 3.3% fee taken from the ETH side of the swap (from ETH input on buys, from ETH output on sells); the hook's own buybacks pay only the 0.3% platform fee. Swaps also update round counters and may trigger round closing, but are not restricted.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely. The hook itself adds pot-funded full-range liquidity that is permanently locked, since it has no removal function.
- Fee behaviour
- Pool LP fee is 0%; the hook takes a hard-coded 3.3% of the ETH amount of each swap (2% pot, 1% developer, 0.3% fixed platform recipient). Fees cannot be changed by anyone and can only be withdrawn to the fixed dev and platform addresses.
- Owner & admin controls
- The owner can only change the keeper address and the secret hash chain (when no round is pending) and transfer ownership; it cannot change fees or withdraw funds. The keeper chooses when to execute burn and dip buybacks from the jars.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize restricts the hook to one ETH/token pool created by a set initializer; beforeSwap takes the fee when ETH is the specified amount; afterSwap takes the fee when ETH is the unspecified amount and counts round volume; the swap return-delta bits let the hook deduct these fees from the swap.
Security & trust assessment
Risk level: low (verified source, high confidence).
Who controls it: The dev address is the owner and can swap the keeper and secret chain; the keeper controls reveal and buyback timing. Neither can change fees or withdraw pot funds to arbitrary addresses.
Risk to user funds: The hook takes exactly 3.3% of the ETH side of each user swap and holds it as claims in the PoolManager for the pot, dev, and platform. It cannot touch LP principal, and LPs can withdraw freely.
Security findings
- [info] Fixed 3.3% swap fee: Fee rates are constants (2% + 1% + 0.3%) and cannot be changed; dev and platform shares can only be sent to fixed addresses.
- [low] Keeper influences outcome timing: The keeper holds the secret and decides when to reveal and when to spend dip and burn jars, so it controls buyback timing, but it cannot redirect the pot elsewhere.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals; only the hook's own full-range position is permanently locked.
Contract details
- Verified source
- Yes (RouletteHookEth)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 15,802 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, moves-currency, ownable, return-delta, self-unlock
Pools using RouletteHookEth
- ETH / LEON (0.00% fee) — 24h volume $107, TVL $695, 1 swaps today