gasbench::preloader

Function preload_pools

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