MCPcopy Create free account
hub / github.com/cowprotocol/services / from_solver

Method from_solver

crates/simulator/src/simulation_builder.rs:191–194  ·  view source on GitHub ↗
(mut self, solver: Solver)

Source from the content-addressed store, hash-verified

189 }
190
191 pub fn from_solver(mut self, solver: Solver) -> Self {
192 self.solver = Some(solver);
193 self
194 }
195
196 pub fn with_auction_id(mut self, id: i64) -> Self {
197 self.auction_id = Some(id);

Callers 6

build_settle_callMethod · 0.80
prepare_simulationMethod · 0.80
simulate_orderMethod · 0.80
simulate_custom_orderMethod · 0.80
build_replay_simulationFunction · 0.80

Calls

no outgoing calls

Tested by 2

build_replay_simulationFunction · 0.64