AvaxJewelSwap
Methods
calculateSwap
Parameters
Name
Type
Description
tokenIndexFrom
uint8
undefined
tokenIndexTo
uint8
undefined
dx
uint256
undefined
Returns
Name
Type
Description
_0
uint256
undefined
swap
Parameters
Name
Type
Description
tokenIndexFrom
uint8
undefined
tokenIndexTo
uint8
undefined
dx
uint256
undefined
minDy
uint256
undefined
deadline
uint256
undefined
Returns
Name
Type
Description
_0
uint256
undefined
Last updated