slack darkmode
impl LiquiditySource for UniswapLiquiditySource {
async fn get_liquidity() -> Result<Liquidity> {
//...
Ok(Liquidity::Swap(/*... */))
}
}
impl LiquiditySource for SushiSwapLiquiditySource {
async fn get_liquidity() -> Result<Liquidity> {
//...
Ok(Liquidity::Swap(/*... */))
}
}