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

Method from_solver

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

Source from the content-addressed store, hash-verified

192 }
193
194 pub fn from_solver(mut self, solver: Solver) -> Self {
195 self.solver = Some(solver);
196 self
197 }
198
199 pub fn with_auction_id(mut self, id: i64) -> Self {
200 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