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

Class ScriptedProvider

crates/autopilot-svm/src/run_loop.rs:393–393  ·  view source on GitHub ↗

Gives the result of the sync and of the cut from a script, one entry for each cycle.

Source from the content-addressed store, hash-verified

391 /// Gives the result of the sync and of the cut from a script, one entry
392 /// for each cycle.
393 struct ScriptedProvider(Mutex<VecDeque<(bool, NextAuction<TestAuction>)>>);
394
395 #[async_trait]
396 impl AuctionProvider<TestCycle> for ScriptedProvider {

Calls

no outgoing calls

Tested by

no test coverage detected