15,000 USDC
View results
Submission Details
Severity: gas

Functions not used internally could be marked external

Summary

Functions not used internally could be marked external

Vulnerability Details

Instances (1):

File: src/DecentralizedStableCoin.sol
46: function burn(uint256 _amount) public override onlyOwner {

Link to code - https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/tree/main/src/DecentralizedStableCoin.sol

Tools Used

Code Review using VSCode

Recommendations

Mark the method as external that are not used internally

Support

FAQs

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