Both burn()
and mint()
uses in DecentralizedStableCoin.sol uses redundant checks that are already being checked in the Openzeppelin ERC20 implementation, therefore can be removed to save gas.
Openzeppelin links : 1. burn()
2. mint()
Extra gas usage
Manual Review
Both checks are present in openzeppelin v4.8.0 implementation, hence can be safe to remove to save gas.
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.