No form of balance check before token transfer
The absence of this check can cause a sender to initiate a conversion of fees token more than that of his balance
This can result in function execution failure, loss of fees or incomplete token conversion(which will make the event indicating completion of token conversion to not be emitted )
VS Code Manual Review
Adding "require(LibSilo.balanceOf(msg.sender, fromToken) >= fromAmount, "Insufficient balance for conversion");" will remediate this issue
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.