loom_strategy_backrun::affected_pools_code

Function get_affected_pools_from_code

Source
pub async fn get_affected_pools_from_code<P, T, N>(
    client: P,
    market: SharedState<Market>,
    state_update: &GethStateUpdateVec,
) -> Result<BTreeMap<PoolWrapper, Vec<(Address, Address)>>>
where T: Transport + Clone, N: Network, P: Provider<T, N> + Send + Sync + Clone + 'static,