Robinhood Chain hook

DTFFeeHook

ListedRobinhood ChainVerified source
0x380a2836760631d8b69ac1cbafce60bb919b40ccBlockscout

Swap-tax hook that skims a configurable buy/sell fee (always denominated in a fixed fee token) off every swap and forwards it directly to a treasury. Features a time-decaying launch tax (starting up to 90%, decaying linearly to the baseline fee over an immutable window) as an anti-sniper measure, with permanent exemptions for the protocol router and launcher. Fee rate and treasury are admin-adjustable via OpenZeppelin AccessManager.

1Pools
6,488Swaps, 7 days
$62.5KVolume, 7 days
88 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.

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

Last test swap

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

DTF to USDG3.00% takenIn 808.113 DTFOut 0.360054 USDG, expected 0.371192Gas 88,405
USDG to DTF3.00% takenIn 0.374942 USDGOut 776.024 DTF, expected 800.032Gas 86,777

Swaps per day

10-202,98010-212,45510-221,05110-23110-24010-25110-260

Volume over the same days: $30.2K, $23.0K, $9,322, $9, $0, $16, $0. Days end at the snapshot, in UTC.

Pools

PairFeeSwaps 7dVolume 7dCreated
DTF / USDG
0x5fec21…b7bdb5
1.00%6,488$62.5K88 days agoSwap