loom_defi_abi::uniswap2::router

Module IUniswapV2Router

Source
Expand description

Module containing a contract’s types and functions.

interface IUniswapV2Router {
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) public pure virtual override returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) public pure virtual override returns (uint amountIn);
}

Modules§

Structs§

Enums§

Functions§