The lack of address(0) validation can lead to loss of fees.
Since there is no validation for address(0) in the constructor
and in the changeFeeAddress
, the feeAddress
can be set to address(0) by mistake.
In withdrawFees
we use the feeAddress
to send all the fee collected by the smart contract. If it is set to address(0) all these fees will be lost.
Manual Review
Add address(0) checks in the places where we set the feeAddress
.
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.