TestSwapReturnValues

Methods

MAX_INT

function MAX_INT() external view returns (uint256)

Returns

Name
Type
Description

_0

uint256

undefined

lpToken

function lpToken() external view returns (contract IERC20)

Returns

Name
Type
Description

_0

contract IERC20

undefined

n

function n() external view returns (uint8)

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

Was this helpful?