Likely launchpad hook on Ethereum
Uniswap v4 Hook Contract 0xa92f72dcdd90229c32f6d51229f4cc5c916410cc on Ethereum · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 96 (41 traders)
- Total swaps
- 96
What it does
A game hook that takes an unverified fee from every swap into a prize chest and pays out winnings to players, while LPs can add and remove liquidity freely.
How it works step by step
- Turns swaps into moves in an on-chain game run by an external game engine contract.
- Takes a hook fee from swaps and adds it to a per-pool prize chest.
- Lets anyone top up a pool's chest through a funding function.
- Records winnings for players, who claim them later through withdraw functions.
- Tracks player stats, game state and turn timeouts.
- Swap behaviour
- On each swap the hook can adjust the swap amounts through return deltas, keeping a slice for the game chest, and may call an external game engine to play a move. The exact fee size and any payout to the swapper cannot be confirmed from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- A hook fee (named HOOK_FEE_PIPS, with CHEST_BPS and SLICE_BPS splits and a PAYOUT_CAP) is taken from swaps and routed to the game chest and player payouts. The exact percentages are not visible in the decoded bytecode.
- Owner & admin controls
- No owner or admin setter functions were found in the decoded selectors; parameters appear to be constants or set at pool initialization.
Enabled Uniswap v4 callbacks
afterInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
afterInitialize: links the pool to a game and stores setup data; beforeSwap: runs game logic and can take a fee or change amounts before the swap; afterSwap: settles chest updates and payouts after the swap; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook change the swap's input or output amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No admin functions were identified; behaviour appears fixed at deployment and pool initialization, though the external engine address is set at initialization.
Risk to user funds: The hook can take part of each swap into its chest and holds chest and owed balances for later withdrawal; the exact fee range is unknown from bytecode. LP principal cannot be locked or taken.
Security findings
- [medium] Unverified swap fee via return deltas: The hook can change swap amounts through return deltas to fund a game chest, but the fee size and caps cannot be verified without source.
- [low] Depends on external game engine: Swaps call an external engine contract; if it reverts, swaps in the pool could fail.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.
Contract details
- Verified source
- No
- Bytecode size
- 16,900 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, moves-currency, return-delta, self-unlock
Pools using Likely launchpad hook
- IMDUEL / IMD (1.25% fee) — 24h volume $0, TVL $0, 96 swaps today