Skip to main content

UniswapV2Library

Functions

getAmountOut

function getAmountOut(
uint256 amountIn,
uint256 reserveIn,
uint256 reserveOut
) internal returns (uint256 amountOut)

Parameters

NameTypeDescription
amountInuint256
reserveInuint256
reserveOutuint256