Robinhood Chain hook

LeshyClassicQuoteFeeHook

ListedRobinhood ChainVerified source
0x1879e765ebe769576ef3e81a59592610fabea0ccBlockscout

A Uniswap v4 hook for Leshy classic token pools that collects a controller-governed treasury fee on swaps, denominated in the quote asset. Fees are accrued as ERC-6909 claims via beforeSwap/afterSwap deltas and redeemable to the current treasury address. Pool initialization is gated to the registered factory adapter.

5Pools
2Swaps, 7 days
$1,059Volume, 7 days
55 days agoFirst pool

What it can do to your swap

  • Can take a fee from your outputAfter the pool fills your swap, the hook can keep part of what you were about to receive.
  • Can change the price you getBefore your swap runs, the hook can take or add tokens, so the amount you get is set by its code as well as the pool.
  • Runs code before your swap and can block itThe hook is called before every swap. It can revert, which makes your swap fail.
  • Runs code after your swap and can block itThe hook is called after every swap. It can revert, which undoes your swap.
  • Runs code when a pool is createdCalled once, when someone creates a pool with this hook.

Read from the hook address: flag bits beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnsDelta, afterSwapReturnsDelta. Flags glossary.

Last test swap

A quote for a tiny exact-in swap each way through SPCX / LESHY with Uniswap's V4 Quoter, compared with the pool's mid-price minus its 0.25% LP fee. It is an eth_call: nothing is signed or spent. Probed 25 h ago, every hour.

SPCX to LESHY0.05% takenIn 0.00014991 SPCXOut 90,159.4 LESHY, expected 90,205.5Gas 86,555
LESHY to SPCX0.05% takenIn 90,431.5 LESHYOut 0.000149459 SPCX, expected 0.000149535Gas 85,236

Swaps per day

10-20010-21010-22010-23210-24010-25010-260

Volume over the same days: $0, $0, $0, $1,059, $0, $0, $0. Days end at the snapshot, in UTC.

Pools

PairFeeSwaps 7dVolume 7dCreated
SPCX / LESHY
0x521de4…193ab2
0.25%2$1,05947 days agoSwap
ETH / ?
0x0eb31e…8ad7e4
1.00%0$047 days agoSwap
? / NVDA
0x70af30…f8ba29
0.25%0$053 days agoSwap
ETH / ?
0xb62387…e879bd
0.50%0$054 days agoSwap
ETH / ?
0x0c118b…4a72fe
0.25%0$054 days agoSwap