20,000 USDC
View results
Submission Details
Severity: high

beedle token can not burn

Summary

beedle token can not burn

Vulnerability Details

function _burn(address account, uint256 amount)
internal
override(ERC20, ERC20Votes)
{
super._burn(account, amount);
}

seems that _burn function can never be called,because function is internal ,so beedle token can not be burned

Impact

beedle token can not burn

Tools Used

mannul

Recommendations

add burn function

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

Support

FAQs

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