pub trait OrderSnapshotProvider: Send + Sync {
// Required methods
fn get_open_orders_for_wallet(
&self,
wallet: &WalletAddress,
) -> Vec<RuntimeOrderSummary>;
fn get_all_orders(&self) -> Vec<(RuntimeOrderSummary, WalletAddress)>;
}Expand description
Read-only interface for accessing open orders from an engine snapshot.