Skip to main content

IMockUniswapV2PairLiquidity

Functions

burnEth

function burnEth(
address to,
struct Decimal.D256 ratio
) external returns (uint256 amountEth, uint256 amount1)

Parameters

NameTypeDescription
toaddress
ratiostruct Decimal.D256

burnToken

function burnToken(
address to,
struct Decimal.D256 ratio
) external returns (uint256 amount0, uint256 amount1)

Parameters

NameTypeDescription
toaddress
ratiostruct Decimal.D256

mintAmount

function mintAmount(
address to,
uint256 _liquidity
) external

Parameters

NameTypeDescription
toaddress
_liquidityuint256

setReserves

function setReserves(
uint112 newReserve0,
uint112 newReserve1
) external

Parameters

NameTypeDescription
newReserve0uint112
newReserve1uint112