TestSwapReturnValues

Methods

MAX_INT

function MAX_INT() external view returns (uint256)

Returns

lpToken

function lpToken() external view returns (contract IERC20)

Returns

n

function n() external view returns (uint8)

Returns

swap

function swap() external view returns (contract ISwap)

Returns

test_addLiquidity

function test_addLiquidity(uint256[] amounts, uint256 minToMint) external nonpayable

Parameters

test_removeLiquidity

function test_removeLiquidity(uint256 amount, uint256[] minAmounts) external nonpayable

Parameters

test_removeLiquidityImbalance

function test_removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount) external nonpayable

Parameters

test_removeLiquidityOneToken

function test_removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount) external nonpayable

Parameters

test_swap

function test_swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy) external nonpayable

Parameters

Last updated