Auctions
The batch
Every four seconds the auction service closes a batch: the open orders whose window, part and balance allow a fill, with reference prices per token. Solvers read it at GET /api/auction and answer with a solution and a signed Commit before the deadline.
Scoring
The service simulates each solution against the latest Elysium block and scores it by total surplus: for every trade, what the receiver gets above its limit, valued in HYPE at the batch's reference prices. The highest score wins. A solution that does not simulate scores nothing.
The award
The auctioneer key signs an Award for the winning solver and the hash of its solution, with a deadline. Only that solver can settle that solution, and only until the deadline. A won auction left unsettled is a strike against the solver, reported on chain with the Award and the solver's own Commit signature.
Open book
Orders, auctions and solvers are public JSON: /api/orders, /api/auction, /api/auctions, /api/solvers. Anyone can read the book and build a solver.
