AgentFoboHook
RobinhoodAgentFoboHook is a Uniswap v4 hook on Robinhood Chain. Brand new: its first pool went live today. Still in use: 3 trades in the last week, and 3 new pools this week.
- Contract name
- AgentFoboHook
How this hook works
Token launcher with price floorFobo is a token launchpad. This hook runs every Fobo pool: it places all the new tokens itself, taxes every trade, and uses most of that tax to build a rising price floor, with shares for the token creator and the Fobo team.
Tax that falls over time
Every buy and sell pays a tax in the paired coin. It starts high right after launch and drops as time passes.
The code that does this (_rate):function _rate(Pool storage p, PoolId id, address sender) internal view returns (uint256, bool) { if (sender == factory) { bytes32 slot = LAUNCHING_SLOT; bytes32 launching; assembly ("memory-safe") { launching := tload(slot) } if (launching == PoolId.unwrap(id)) return (BASE_TAX, false); } return Tax.rate(block.timestamp - p.launchedAt); }Tax builds a price floor
Most of the tax is saved in a pot and used to add liquidity just below the current price, so there is always money waiting to buy the token. The floor moves up as the pot grows, and it can buy back and burn tokens.
The code that does this (_raise):function _raise(PoolKey memory key) internal { PoolId id = key.toId(); Pool storage p = pools[id]; uint256 bn = _blockNumber(); if (p.lastRaiseBlock == bn) return; Ctx memory c = _plan(p, id); if (!c.go) return; // this block's raise (or drain): a revert below rolls it back with everything else. A block number: < 2^64 // forge-lint: disable-next-line(unsafe-typecast) p.lastRaiseBlock = uint64(bn); if (c.drain) return _drain(key, p, c); // the vested snipe tax joins the pot; what the holders can't carry leaves in the rebuild (c.cap) p.pot += c.vested; p.snipeReleased += c.vested.toUint128(); // binary search for the lowest t (highest floor) that still absorbs everything; hi always satisfies the check. // The floor goes one spacing under it (the margin, see _plan) int256 lo = int256((c.buy ? c.tBuyMin : c.tLow) / SPACING); int256 hi = int256((c.buy ? c.tBuy : c.tHigh) / SPACING) - 1; while (lo < hi) { int256 mid = (lo + hi) >> 1; // arithmetic shift = floor division, also for negatives // forge-lint: disable-next-line(unsafe-typecast) int24 m = int24(mid * SPACING); // lo <= mid <= hi: between two int24 ticks if (c.buy ? _okBuy(p, c, m) : _ok(p, c, m)) hi = mid; else lo = mid + 1; } int24 t = int24((hi + 1) * SPACING); _setCap(c); (uint256 bandQuote, uint256 burned) = _rebuild(key, p, t, c); // re-check against what the positions actually hold now (uint160 sNow,,,) = poolManager.getSlot0(id); // …Creator and Fobo get a share
Part of each tax goes to the token creator and part to the Fobo team, who can claim it any time.
The code that does this (_collect):function _collect( Pool storage p, PoolId id, Currency quote, address swapper, bool buy, uint256 volume, uint256 tax, bool snipe, address trader ) internal { if (tax == 0) return; poolManager.mint(address(this), quote.toId(), tax); uint256 toCreator; uint256 toTeam; uint256 toBurn; uint256 fee; // the protocol fee (none in the snipe window) if (snipe) { uint256 share = Tax.snipeBurn(tax); // $FOBO's own pool can't buy itself back: the share is its creator fee if (p.creator == address(0)) { toCreator = share; } else { _burnShare(p, id, quote, share); toBurn = share; } p.snipePot += (tax - share).toUint128(); } else { toCreator = Tax.creatorShare(tax); toTeam = fee = Tax.protocolShare(tax); // …Early snipers lose part of their tax
In the first moments after launch, part of the tax paid by fast bots is burned, and the rest is set aside separately.
The code that does this (_collect):function _collect( Pool storage p, PoolId id, Currency quote, address swapper, bool buy, uint256 volume, uint256 tax, bool snipe, address trader ) internal { if (tax == 0) return; poolManager.mint(address(this), quote.toId(), tax); uint256 toCreator; uint256 toTeam; uint256 toBurn; uint256 fee; // the protocol fee (none in the snipe window) if (snipe) { uint256 share = Tax.snipeBurn(tax); // $FOBO's own pool can't buy itself back: the share is its creator fee if (p.creator == address(0)) { toCreator = share; } else { _burnShare(p, id, quote, share); toBurn = share; } p.snipePot += (tax - share).toUint128(); } else { toCreator = Tax.creatorShare(tax); toTeam = fee = Tax.protocolShare(tax); // …
Who controls it: Only Fobo's factory can create pools, and nobody else can add liquidity. The token creator role can be handed to a new address. Tax rates and splits are fixed in the code. The code cannot be upgraded.
Based on the hook’s published code.What do these labels mean?
Safety report
Before you build on it. Automated checks, not an auditWhat 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 checks every deposit before it goes in.
It runs when a pool is created, often to lock in that pool’s settings.
It runs when someone donates tokens to the pool’s LPs.
Hook history
- Took tax from a trade 3 times
Latest transactions
- 0xe21b6277…05f469 block 123,253,112
- 0x23c0bf03…0a1dde block 123,252,922
- 0x3f3fa861…020348 block 123,246,636
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.
Pools
3 totalOnly pools with liquidity we could value are listed here: 2 of 3. See all, newest first.