How it works
The full loop: Purse, Spec, Shift, Clock, then payout or slash.
The loop
- 1.Purse. Someone creates a Purse for a HyperCore spot market and funds it with HYPE. Anyone can add more.
- 2.Spec. The creator sets the target: max spread in basis points, and min depth in USD within a band around mid.
- 3.Shift auction. Before each Shift (12 h, 24 h, 48 h), market makers bid the lowest hourly Wage they accept and lock a Bond in $MSTH. The lowest bid wins.
- 4.Clock. During the Shift, the Clock reads the book at random moments, about 4 times a minute, directly from HyperCore.
- 5.Payout. Every passing check pays 15 seconds of Wage. Failing checks pay nothing.
- 6.Slash. If the Spec keeps failing for longer than the grace window (5m 0s), 10% of the Bond is slashed: 50% back to the Purse, 50% burned.
- 7.Next Shift. When the Shift ends, unused funds are released, the Bond is returned, and the next auction opens.
What is paid for
The contract never looks at who placed an order. It looks at the state of the book: is the spread at or under target, and is there enough depth on both sides inside the band. Whoever keeps it that way is the market maker who won the Shift, and that market maker is paid. That is why Misthos works without per-account order data.
Where the money goes
| Flow | From | To |
|---|---|---|
| Funding | Anyone | The Purse (HYPE) |
| Wage | The Purse | The market maker, minus 5% |
| Protocol fee | 5% of each Wage | FeeRouter → buy $MSTH → dead address |
| Bond | The market maker | Locked in the auction, returned after the Shift |
| Slash | The Bond | 50% to the Purse, 50% to the dead address |
| Withdrawal | The Purse | The creator, unreserved funds only |