maintain_amm_cache

Function maintain_amm_cache 

Source
pub async fn maintain_amm_cache<Client>(pool: TempoTransactionPool<Client>)
where Client: StateProviderFactory + ChainSpecProvider<ChainSpec = TempoChainSpec> + CanonStateSubscriptions<Primitives = TempoPrimitives> + 'static,
Expand description

An endless future that updates the crate::amm::AmmLiquidityCache based on the storage changes of the FeeManager precompile.