example_uniswap_v2_usdc_swap

Function get_reserves

Source
pub(crate) fn get_reserves(
    pair_address: Address,
    cache_db: &mut CacheDB<WrapDatabaseAsync<AlloyDB<Http<Client>, Ethereum, RootProvider<Http<Client>>>>>,
) -> Result<(U256, U256)>