AtomicMemeHook
RobinhoodAtomicMemeHook is a Uniswap v4 hook on Robinhood Chain. Runs code on every swap. Can take tokens from swaps. Runs at pool creation.
- Contract name
- AtomicMemeHook
How this hook works
Meme coin launcherPons lets anyone launch a meme coin. Every trade pays a small fee, which is split between Pons, the token creator, and buying back the coin.
Small fee on every trade
After each trade, the hook keeps a small fee from it.
The code that does this (afterSwap):function _afterSwap( address, PoolKey calldata key, SwapParams calldata params, BalanceDelta delta, bytes calldata hookData ) internal override returns (bytes4, int128) { PoolId poolId = key.toId(); uint256 bookFilled; bytes32 slot = BOOK_UNSPECIFIED_SLOT; assembly { bookFilled := tload(slot) tstore(slot, 0) } bool holdersInToken; bytes32 holdersSlot = HOLDERS_IN_TOKEN_SLOT; assembly { holdersInToken := tload(holdersSlot) tstore(holdersSlot, 0) } LaunchInfo memory info = launches[poolId]; if (!info.registered) return (IHooks.afterSwap.selector, 0); if (info.hookFeeBps == 0 && info.creatorTaxBps == 0) return (IHooks.afterSwap.selector, 0); if (_quoteIsSpecified(params, info)) return (IHooks.afterSwap.selector, 0); int128 quoteAmount = info.memecoinIsCurrency0 ? delta.amount1() : delta.amount0(); // …The token creator gets a share
The collected fees are split between Pons and the token creator.
Buys back the coin
Part of the fees is used to buy the coin and lock it away, which supports its price. Each buyback is capped so it doesn’t move the price too much.
Who controls it: The hook developer (Pons) sets the fee and tax rates, how the fees are split and who receives them, for all coins. The code itself can’t be changed.
What do these labels mean? This hook’s code works like PonsV2MemeHook (same design, possibly different settings or names), so this is that contract’s description.
What it can do
Its code executes inside each trade in pools that use it.
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
It runs when a pool is created, often to lock in that pool’s settings.
Hook history
Across all its pools, the hook took its fee from a trade: $0.00000849.
- Took its fee from a trade 1 time, worth $0.00000849
- Launched a new coin 1 time
- Split collected fees (Pons, token creator, buyback) 1 time
- Pool holders paid in token 1 time
- Credited pool fee shares 1 time
Counted from what the hook recorded on-chain across all its pools, for every action in its published code, plus token transfers in and out of it. Dollar values count the amounts paid in ETH, stablecoins, BNB and BTC, at today’s prices.