pub async fn get_affected_pools( market: SharedState<Market>, state_update: &GethStateUpdateVec, ) -> Result<BTreeMap<PoolWrapper, Vec<(Address, Address)>>>