Save gas by replacing <= 0
with '!=0' when using unsigned integers.
In the DecentralizedStableCoin.sol
mint
and burn
functions there are two if statements which check that _amount <= 0
.
Replacing it with _amount != 0
Won't affect the logic since it's an unsigned integer and will save some gas for the users.
Save gas for the user anytime minting / burning DSC
VSCode
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.