TestSwapReturnValues
Functions:
Function constructor(contract ISwap swapContract, contract IERC20 lpTokenContract, uint8 numOfTokens)
constructor(contract ISwap swapContract, contract IERC20 lpTokenContract, uint8 numOfTokens)
No description
Function test_swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy)
test_swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy)
No description
Function test_addLiquidity(uint256[] amounts, uint256 minToMint)
test_addLiquidity(uint256[] amounts, uint256 minToMint)
No description
Function test_removeLiquidity(uint256 amount, uint256[] minAmounts)
test_removeLiquidity(uint256 amount, uint256[] minAmounts)
No description
Function test_removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount)
test_removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount)
No description
Function test_removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount)
test_removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount)
No description
Last updated