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§
- Contains dynamic ABI definitions for this contract.
Structs§
- A
IUniswapV2Router
instance. - Function with signature
getAmountIn(uint256,uint256,uint256)
and selector0x85f8c259
. - Container type for the return parameters of the
getAmountIn(uint256,uint256,uint256)
function. - Function with signature
getAmountOut(uint256,uint256,uint256)
and selector0x054d50d4
. - Container type for the return parameters of the
getAmountOut(uint256,uint256,uint256)
function.
Enums§
- Container for all the
IUniswapV2Router
function calls.
Functions§
- Creates a new wrapper around an on-chain
IUniswapV2Router
contract instance.