Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.89 KB

testswapreturnvalues.md

File metadata and controls

32 lines (19 loc) · 1.89 KB

Functions:

Function constructor(contract ISwap swapContract, contract IERC20 lpTokenContract, uint8 numOfTokens) {#TestSwapReturnValues-constructor-contract-ISwap-contract-IERC20-uint8-}

No description

Function test_swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy) {#TestSwapReturnValues-test_swap-uint8-uint8-uint256-uint256-}

No description

Function test_addLiquidity(uint256[] amounts, uint256 minToMint) {#TestSwapReturnValues-test_addLiquidity-uint256---uint256-}

No description

Function test_removeLiquidity(uint256 amount, uint256[] minAmounts) {#TestSwapReturnValues-test_removeLiquidity-uint256-uint256---}

No description

Function test_removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount) {#TestSwapReturnValues-test_removeLiquidityImbalance-uint256---uint256-}

No description

Function test_removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount) {#TestSwapReturnValues-test_removeLiquidityOneToken-uint256-uint8-uint256-}

No description