MetricEquityHook
RobinhoodMetricEquityHook is a Uniswap v4 hook on Robinhood Chain. Brand new: its first pool went live today. Still in use: 10 trades in the last week, and 10 new pools this week.
- Contract name
- MetricEquityHook
How this hook works
Trading taxA trading tax hook. It takes a cut of every trade, stops liquidity being added directly and creates its pools itself.
Takes a cut of every trade
On top of the normal pool fee, it keeps a share of each trade. It can never be above 0.05%. The fee is paid out in the same trade.
The code that does this (swap):function _swap(address sender, PoolKey calldata key, bool zeroForOne, int256 amountSpecified) internal returns (int256 beforeSwapDelta) { SwapCtx memory c; c.poolId = _toId(key); LinkedPool memory lp = _activePool(c.poolId); if (_tload(T_EXPECTED_POOL) != 0) revert Reentrancy(); (c.exactIn, c.specifiedAbs, c.metricAbs) = _amounts(amountSpecified); c.inCur = zeroForOne ? key.currency0 : key.currency1; c.outCur = zeroForOne ? key.currency1 : key.currency0; c.protocolFee = _protocolFee(c.poolId, zeroForOne); (c.inputPaid, c.grossOut) = _fillOnMetric(lp, zeroForOne != lp.flipped, c); (int128 specifiedDelta, int128 unspecifiedDelta, uint256 fee) = _userAmounts(c.exactIn, c.specifiedAbs, c.metricAbs, c.inputPaid, c.grossOut); if (fee != 0) { IPoolManager(poolManager).mint(feeRecipient, uint256(uint160(c.outCur)), fee); emit HookFeeCollected(c.poolId, c.outCur, feeRecipient, fee); } unspecifiedDelta = _chargeProtocolFee(c, unspecifiedDelta); _emitHookSwap(c.poolId, sender, zeroForOne == c.exactIn, specifiedDelta, unspecifiedDelta, c.protocolFee); beforeSwapDelta = _toBeforeSwapDelta(specifiedDelta, unspecifiedDelta); }Liquidity can’t be added directly
Nobody can add liquidity to its pools through Uniswap directly. Liquidity only comes in through the hook’s own code.
Only the hook creates its pools
Nobody can create a pool with this hook directly. Pools are only created through the hook’s own code.
Who controls it: Nobody. The hook has no admin functions, and the code cannot be changed.
Based on the hook’s published code.What do these labels mean?
Safety report
Before you build on it. Automated checks, not an auditMetricOmmPoolFactory: nothing there can change how trades go.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 checks every deposit before it goes in.
It runs when a pool is created, often to lock in that pool’s settings.
Hook history
Across all its pools, the hook handled a trade: $0.531.
- Handled a trade 10 times, worth $0.531
Latest transactions
- 0x20f0cb1c…38f622 block 117,899,414
- 0xca950927…c986bc block 117,899,369
- 0x3e360197…da3798 block 117,899,305
- 0x19c72919…dd477d block 117,898,991
- 0xacf4ff2a…eb3ad0 block 117,898,920
- 0xc2186c93…e98fc2 block 117,898,865
- 0xb3b83b90…d1040b block 117,898,782
- 0xe34eed76…6f1f62 block 117,898,708
- 0xb2e75813…d17721 block 117,898,661
- 0x026b5c3a…6a702b block 117,898,616
- Linked the metric pool 10 times
- Took its fee from a trade 10 times
Latest transactions
- 0x20f0cb1c…38f622 block 117,899,414 · 2.23e-8 MU
- 0xca950927…c986bc block 117,899,369 · 2.39e-8 QQQ
- 0x3e360197…da3798 block 117,899,305 · 2.16e-8 SPY
- 0x19c72919…dd477d block 117,898,991 · 2.87e-7 INTC
- 0xacf4ff2a…eb3ad0 block 117,898,920 · 1.05e-7 NVDA
- 0xc2186c93…e98fc2 block 117,898,865 · 1.10e-7 SPCX
- 0xb3b83b90…d1040b block 117,898,782 · 5.57e-8 GOOGL
- 0xe34eed76…6f1f62 block 117,898,708 · 4.13e-8 TSLA
- 0xb2e75813…d17721 block 117,898,661 · 2.57e-8 META
- 0x026b5c3a…6a702b block 117,898,616 · 4.49e-8 AAPL
- Registered an aggregator pool 10 times
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.