Function preload_pools

Source
pub async fn preload_pools<P, DB>(
    client: P,
    market: SharedState<Market>,
    market_state: SharedState<MarketState<DB>>,
) -> Result<()>
where P: Provider<Ethereum> + DebugProviderExt<Ethereum> + Send + Sync + Clone + 'static, DB: DatabaseRef + DatabaseCommit + Database + Send + Sync + Clone + 'static,