Module hotshot_types::traits::auction_results_provider
source · Expand description
This module defines the interaction layer with the Solver via the AuctionResultsProvider
trait,
which handles connecting to, and fetching the allocation results from, the Solver.
Traits§
- The AuctionResultsProvider trait is the sole source of Solver-originated state and interaction, and returns the results of the Solver’s allocation via the associated type. The associated type,
AuctionResult
, also implements theHasUrls
trait, which requires that the output type has the requisite fields available.