Function get_amount_out

Source
pub(crate) async fn get_amount_out(
    amount_in: U256,
    reserve_in: U256,
    reserve_out: U256,
    cache_db: &mut CacheDB<WrapDatabaseAsync<AlloyDB<Ethereum, DynProvider>>>,
) -> Result<U256>