20,000 USDC
View results
Submission Details
Severity: medium

No external function for `_burn` as `_mint` has

Summary

The contract has both an internal _mint and external mint function. But only internal _burn without it's external counterpart.

Vulnerability Details

Cannot call proper external function to burn your tokens.

Impact

Users not being able to burn tokens.

Tools Used

Manual review

Recommendations

Add the counterpart function in the same manner as done with mint

function burn(address account, uint256 amount) external onlyOwner {
_burn(account, amount);
}

Support

FAQs

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

Give us feedback!