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

Beedle tokens can never be burned due to no external burn function.

Summary

Owner is unable to burn any beedle tokens due to no external burn function.

Vulnerability Details

Based on the fact that there is an internal _burn function I am assuming that it is intended that the owner should be able to burn tokens if they need to. However as _burn() is labelled internal and there is no corresponding external burn() function there is no way for the owner to call it.

Impact

Tokens can not be burned.

Tools Used

Manual Review.

Recommendations

Add an external onlyOwner function similar to mint().

Support

FAQs

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