TestSwapReturnValues
Methods
MAX_INT
Returns
Name
Type
Description
_0
uint256
undefined
lpToken
Returns
Name
Type
Description
_0
contract IERC20
undefined
n
Returns
Name
Type
Description
_0
uint8
undefined
swap
Returns
Name
Type
Description
_0
contract ISwap
undefined
test_addLiquidity
Parameters
Name
Type
Description
amounts
uint256[]
undefined
minToMint
uint256
undefined
test_removeLiquidity
Parameters
Name
Type
Description
amount
uint256
undefined
minAmounts
uint256[]
undefined
test_removeLiquidityImbalance
Parameters
Name
Type
Description
amounts
uint256[]
undefined
maxBurnAmount
uint256
undefined
test_removeLiquidityOneToken
Parameters
Name
Type
Description
tokenAmount
uint256
undefined
tokenIndex
uint8
undefined
minAmount
uint256
undefined
test_swap
Parameters
Name
Type
Description
tokenIndexFrom
uint8
undefined
tokenIndexTo
uint8
undefined
dx
uint256
undefined
minDy
uint256
undefined
Last updated