SlotMachineHook
BaseRegisteredA gamified hook that collects a configurable fee (default 2%) on all swaps via BeforeSwapDelta, splitting it into dual per-pool ETH jackpots. On qualifying ETH buys (above a configurable minimum), it triggers a slot machine spin for the buyer; winning combinations (pair, two-pair, three-of-a-kind, four-of-a-kind) pay out ETH directly. Sell fees are converted to ETH via a JackpotSellExecutor. Buyers receive SpinToken ERC-20 tokens for additional spins.
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
0
Last new pool
13mo
Code size
16,087 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Can take tokens from swaps
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Gates who can add liquidity
It checks every deposit before it goes in.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.
Pools using this hook
2 totalPairCreatedFeePool ID