TestSwapReturnValues

Methods

MAX_INT

function MAX_INT() external view returns (uint256)

Returns

NameTypeDescription

_0

uint256

undefined

lpToken

function lpToken() external view returns (contract IERC20)

Returns

NameTypeDescription

_0

contract IERC20

undefined

n

function n() external view returns (uint8)

Returns

NameTypeDescription

_0

uint8

undefined

swap

function swap() external view returns (contract ISwap)

Returns

NameTypeDescription

_0

contract ISwap

undefined

test_addLiquidity

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

Parameters

NameTypeDescription

amounts

uint256[]

undefined

minToMint

uint256

undefined

test_removeLiquidity

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

Parameters

NameTypeDescription

amount

uint256

undefined

minAmounts

uint256[]

undefined

test_removeLiquidityImbalance

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

Parameters

NameTypeDescription

amounts

uint256[]

undefined

maxBurnAmount

uint256

undefined

test_removeLiquidityOneToken

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

Parameters

NameTypeDescription

tokenAmount

uint256

undefined

tokenIndex

uint8

undefined

minAmount

uint256

undefined

test_swap

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

Parameters

NameTypeDescription

tokenIndexFrom

uint8

undefined

tokenIndexTo

uint8

undefined

dx

uint256

undefined

minDy

uint256

undefined

Last updated