TaxHook
RobinhoodTaxHook is a Uniswap v4 hook on Robinhood Chain. Brand new: its first pool went live today. Still in use: 28 trades in the last week, and 1 new pool this week.
- Contract name
- TaxHook
How this hook works
Trading taxThis TaxHook runs one launch pool with a buy tax and a sell tax in ETH. The tax builds up and is sent to a tax wallet. The rates can only ever be lowered.
Buy and sell tax in ETH
Buys and sells each pay their own tax, taken from the ETH side before or after the swap depending on how the trade is entered.
The code that does this (beforeSwap):function beforeSwap(address, PoolKey calldata key, SwapParams calldata params, bytes calldata) external onlyPoolManager returns (bytes4, int256, uint24) { if (_isLaunch(key) && _quoteSpecified(params)) { uint256 tax = _specifiedTax(params); _collect(_isBuy(params), tax); return (this.beforeSwap.selector, int256(_toInt128(tax)) << 128, 0); } return (this.beforeSwap.selector, 0, 0); }Taxes can only go down
The hook developer can lower the rates but the code blocks any increase.
The code that does this (setTaxes):function setTaxes(uint256 buyBps, uint256 sellBps) external onlyOwner { if (buyBps > buyTaxBps || sellBps > sellTaxBps) revert TaxIncrease(); buyTaxBps = buyBps; sellTaxBps = sellBps; emit TaxesUpdated(buyBps, sellBps); }Paid to a tax wallet
Anyone can trigger sending the collected tax to the tax wallet.
The code that does this (claimTaxes):function claimTaxes() external returns (uint256 amount) { amount = totalTaxes - paidOut; if (amount == 0) revert NothingToClaim(); paidOut += amount; poolManager.unlock(abi.encode(amount)); emit TaxesClaimed(taxRecipient, amount); }
Who controls it: The hook developer can lower taxes, change the tax wallet and hand over control. 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 runs when a pool is created, often to lock in that pool’s settings.
Hook history
- Took tax from a trade 28 times
Latest transactions
- 0x6b52c967…b8c77f block 121,737,723
- 0x9c0a3299…a0674b block 121,714,804
- 0x053526c5…b1686f block 121,656,756
- 0x9d142385…7d1341 block 121,582,296
- 0xa4222a2f…501902 block 121,565,737
- 0xd97f4ebc…802b17 block 121,565,584
- 0x4ccfa028…a88090 block 121,565,441
- 0xe87b690e…7035bc block 121,565,292
- 0xbe5e27ab…90e595 block 121,565,242
- 0x286015ca…2a8925 block 121,557,837
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.