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

Beedle contract does not have burn function with external keyword.

Summary

Beedle contract is lacking a burn function with an external keyword.

Vulnerability Details

Beedle contract has a mint function with an external keyword. Allowing the owner (most likely the governance) to mint tokens. But, there is no burn function which is external, but just an internal function _burn which cannot be called by the owner. Hence, it prevents the owner from burning tokens when intended.

Impact

Tokens cannot be burnt because of a lack of external burn function.

Tools Used

Manual review

Recommendations

Please use a burn function which is external.

Support

FAQs

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