📅  最后修改于: 2022-03-11 14:55:03.444000             🧑  作者: Mango
impl LiquiditySource for UniswapLiquiditySource {
async fn get_liquidity() -> Result {
//...
Ok(Liquidity::Swap(/*... */))
}
}
impl LiquiditySource for SushiSwapLiquiditySource {
async fn get_liquidity() -> Result {
//...
Ok(Liquidity::Swap(/*... */))
}
}