📜  slack darkmode - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:03.444000             🧑  作者: Mango

代码示例1
impl LiquiditySource for UniswapLiquiditySource {
    async fn get_liquidity() -> Result {
         //...
         Ok(Liquidity::Swap(/*... */))
    }
}

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