15,000 USDC
View results
Submission Details
Severity: gas
Valid

PRECISION

Summary

There is a constant variable called PRECISION = 1e18. So that we can use PRECISION instead of 1e18 everywhere in the codebase.

Vulnerability Details

return (collateralAdjustedForThreshold * 1e18) / totalDscMinted;
In above code => PRECISION = 1e18

Impact

Gas Optimization

Tools Used

Manual Review

Recommendations

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.