There are a lot of functions that could use more input validation in order to improve the user experience. Though funds aren't directly at risk, these functions will revert upon overflow but in reality, they are reverting for another reason.
Functions like withdraw
and deposit
can be improved by adding more input validation.
This function will revert with overflow if _amount
is greater than balances[msg.sender]
however adding a check for this would be better for the user as it would add a useful revert message.
User experience.
Manual review.
It would be useful to analyze the gas trade offs for adding 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.