Hi,
I need to know the significance of direction argument in the v2 swap call
function dodoSwapV2TokenToToken(
address fromToken,
address toToken,
uint256 fromTokenAmount,
uint256 minReturnAmount,
address[] memory dodoPairs,
uint256 directions,
bool isIncentive,
uint256 deadLine
)
also, trying to integrate dodo swap how is minReturnAmount being calculated?
Thanks