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

Method presign_orders

crates/simulator/src/simulation_builder.rs:300–303  ·  view source on GitHub ↗

For every order with signature scheme presign the simulation will contains state overrides to provide the signatures. This is useful when you have to author an order on behalf of an account you don't control.

(mut self)

Source from the content-addressed store, hash-verified

298 /// This is useful when you have to author an order on behalf of an account
299 /// you don't control.
300 pub fn presign_orders(mut self) -> Self {
301 self.presign_orders = true;
302 self
303 }
304
305 /// Queues [`AccountOverrideRequest`]s to be resolved and applied during
306 /// [`build`](Self::build). Multiple requests may target the same address

Callers 2

build_settle_callMethod · 0.80
prepare_simulationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected