The engine

An order book with two glossy black quotes piping into a burn vessel

The engine loop

Four steps run in a loop:

  1. Quote: bid and ask around mid on HyperCore, placed through ElysiumCoreWriter.
  2. Fill: a trader hits the bid or the ask; the engine buys low or sells high.
  3. Capture: a completed round trip realizes the spread as profit in HYPE.
  4. Burn: above 5 HYPE, the spread buys SPRUE and those tokens are destroyed. Then the loop starts again.

The loop never touches the engine's inventory: only realized spread leaves it, and only to be burned.

Engine rules

The engine follows five fixed rules. In the design, they are enforced by the contract, not by a person. The engine is not live.

RuleLaunch valueWhat it does
Quote width0.30% total spread around midBid at mid minus 0.15%, ask at mid plus 0.15%
RefreshEvery block where mid moves more than 0.05%Quotes follow the market without spamming orders
Inventory skewUp to 50% wider on the heavy sideIf the engine holds too much SPRUE it sells more eagerly, and the reverse for HYPE
Volatility pauseQuotes pulled if mid moves more than 3% in 60 secondsProtects the treasury from being run over in a fast move
Burn triggerRealized spread above 5 HYPEMarket buys SPRUE with the realized spread and burns it

Only realized spread is burned. The inventory the engine needs to keep quoting (its SPRUE and HYPE balances) is never burned, so the engine can keep running.

Realized spread is counted per round trip: when the engine buys at its bid and later sells at its ask, the difference is profit. Unrealized gains on inventory are not counted.