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

There is no way to burn `Beedle` token

Summary

The Beedle contract implements an ERC20 Beedle (BDL) token. It provides the external method to mint additional tokens. However, there is no external burn method implemented, therefore it will be impossible to burn the Beedle tokens.

Vulnerability Details

n/a

Impact

There is no possibility to burn Beedle tokens.

Tools Used

Manual review

Recommendations

Add the following method to the Beedle contract:

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.