The swapExactInput
function is expected to return the actual amount of tokens bought by the user. However, while it declares the named return value output
, it never assigns a value to it, nor uses an explicit return statement.
The return value will always be 0, giving an incorrect information to the user.
Manual review, Foundry.
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.