The return values from _collateral.deposit() and _collateral.transferFrom() are not used. This means that the values returned by those functions will not be stored or used in the code. The _swapRouter.exactInputSingle() function also likely returns no value, so no value can be returned by that code.
<https://github.com/prepo-io/prepo-monorepo/blob/3541bc704ab185a969f300e96e2f744a572a3640/apps/smart-contracts/core/contracts/DepositTradeHelper.sol#L31-L33>
exactInputSingleParams object of type ISwapRouter.ExactInputSingleParams and calls the _swapRouter.exactInputSingle() function with that object as the argument. However, because there is no information about the possible data types returned by the _swapRouter.exactInputSingle() function,the possible return values.
Manual Review
consideration returns _swapRouter.exactInputSingle(exactInputSingleParams);
The text was updated successfully, but these errors were encountered:
All reactions