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

Method with_orders

crates/simulator/src/simulation_builder.rs:169–172  ·  view source on GitHub ↗
(mut self, orders: impl IntoIterator<Item = Order>)

Source from the content-addressed store, hash-verified

167
168impl SimulationBuilder {
169 pub fn with_orders(mut self, orders: impl IntoIterator<Item = Order>) -> Self {
170 self.orders = orders.into_iter().collect();
171 self
172 }
173
174 pub fn append_pre_interactions(
175 mut self,

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 2

collectMethod · 0.80
into_iterMethod · 0.45

Tested by 2

build_replay_simulationFunction · 0.64