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

Burn function not used

Summary

Unused Token Burn Function in Beedle.sol

Vulnerability Details

The contract Beedle.sol contains an unused internal _burn function, and there is no corresponding external burn function available. This means that the contract lacks the ability to burn tokens, preventing token holders from permanently destroying their tokens.

Impact

The absence of a token burn functionality restricts token holders from reducing the token supply by permanently destroying their tokens. This may be necessary for various reasons, such as token burning to manage inflation or to comply with specific tokenomics requirements. The lack of a burn function could hinder the contract's utility and limit the available options for managing token circulation.

Tools Used

Manual Review

Recommendations

Implement an external burn function that allows token holders to destroy their tokens, reducing the total token supply when necessary. This would provide flexibility in managing token circulation and support various tokenomics requirements, enhancing the overall utility and versatility of the Beedle.sol contract.

Support

FAQs

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

Give us feedback!