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

Method build

crates/simulator/src/simulation_builder.rs:306–310  ·  view source on GitHub ↗

Finishes the simulation struct based on the configuration thus far.

(self)

Source from the content-addressed store, hash-verified

304
305 /// Finishes the simulation struct based on the configuration thus far.
306 pub async fn build(self) -> Result<EthCallInputs, BuildError> {
307 // Forward to a helper function to split the boring repetitive builder
308 // code from the non-trivial code that actually does the encoding.
309 crate::encoding::finish_simulation_builder(self).await
310 }
311}
312
313/// Euler is the only integration for now using wrappers and they have a

Calls 1