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

Manual inspection

Recommendations

Consider marking the method as external

Support

FAQs

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