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

Method at_block

crates/simulator/src/simulation_builder.rs:213–216  ·  view source on GitHub ↗
(mut self, block: Block)

Source from the content-addressed store, hash-verified

211 }
212
213 pub fn at_block(mut self, block: Block) -> Self {
214 self.block = block;
215 self
216 }
217
218 /// Parses the app data JSON and configures the builder accordingly:
219 /// - Pre/post hooks are encoded as interactions via the [`HooksTrampoline`]

Callers 5

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