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

Method with_orders

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

Source from the content-addressed store, hash-verified

155
156impl SimulationBuilder {
157 pub fn with_orders(mut self, orders: impl IntoIterator<Item = Order>) -> Self {
158 self.orders = orders.into_iter().collect();
159 self
160 }
161
162 pub fn append_pre_interactions(
163 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