Function fetch_state_and_add_pool
Source pub async fn fetch_state_and_add_pool<P, N, DB, LDT>(
client: P,
market: Arc<RwLock<Market>>,
market_state: Arc<RwLock<MarketState<DB>>>,
pool_wrapped: PoolWrapper,
) -> Result<(PoolId, Vec<usize>)>where
N: Network<TransactionRequest = TransactionRequest>,
P: Provider<N> + DebugProviderExt<N> +
Send +
Sync +
Clone + 'static,
DB: Database + DatabaseRef + DatabaseCommit +
Send +
Sync +
Clone + 'static,
LDT: NodePrimitives,