Skip to content

Sandwich Guard

By HookrUnavailable

A swap that moves the price back toward where its window opened pays that move, up to a maximum, and so does a sandwich inside one window.

How it behaves

A trade that undoes a recent price move pays for it, so sandwiches lose.

What you set

Fixed with the pool at launch.

Window
1 blockor 2 blocks, 3 blocks, 4 blocks
Most per swap
10%5% to 15%

What you take on

  • If the price moved earlier in the window, any trade back the other way pays that move as a fee, up to the maximum, even a small honest trade.
  • A sandwich can still profit when the victim's trade alone moves the price more than the maximum.
  • A back-run in a later window than the front-run is not charged.
  • Hookr keeps its share of each charge, at least 20% and fixed at launch.
  • On a new token launched on Hookr the rest fills the Holder Pot, and on any other token the rest goes to Hookr's treasury too, so LPs and the creator get none of it.
  • On a new token launched on Hookr it brings Holder Pot and rules out Auto Burn, and on any other token it rules out a creator royalty.
  • A launch that mints a revenue token can't take it, and its maximum counts toward the 20% a sell can pay all Hook Blocks together.
  • If your trade carries the price back past where the window opened, the part of the charge beyond that point can come back to you as a claim.
  • The full charge can stand on a trade that crosses many small price steps, or where Hookr's minimum leaves nothing to give back.
  • The window is 1 to 4 Robinhood Chain blocks and the maximum is 5% to 15%, both fixed at launch.
  • Sandwich Guard runs beside arbitrage recapture, whose own legs it does not charge.

Tradeoff

  • Sandwich Guard charges nothing on the first trade in a window, on a trade that pushes the price further the same way, or during the launch guard.