The swapExactInput
function is intended to return the actual amount of tokens purchased by the caller. However, despite declaring a named return value output, it neither assigns a value to output nor uses an explicit return statement.
The return value will always be 0, giving incorrect information to the caller.
Manual Review
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.