swapExactInput function returns wrong variable
Function swapExactInput returns a uint256 variable output which is never used. If we were to follow the example of the other function - swapExactOutput, the function should return the variable that is used by getOutputAmountBasedOnInput.
Manual Review
The new function should look like this:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.