DeFiFoundry
20,000 USDC
View results
Submission Details
Severity: high
Invalid

FjordToken should be burnable as mentioned in documentation

Title

FjordToken should be burnable as mentioned in documentation

Summary

FjordToken should be burnable as mentioned in documentation

Vulnerability Details

The FjordToken, according to its documentation, is intended to have a burnable feature. However, the current implementation of the Fjord token contract does not include the required functions to facilitate token burning. This report highlights the impact of this missing functionality and suggests a solution to incorporate the burn feature.

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity =0.8.21;
import { ERC20 } from "solmate/tokens/ERC20.sol";
contract FjordToken is ERC20 {
constructor() ERC20("Fjord Foundry", "FJO", 18) {
_mint(msg.sender, 100_000_000 ether);
}
}

Impact

The absence of a burn feature contradicts the documentation, undermining trust and limiting supply control.

Tools Used

Manual Review

Recommendations

Inherit from the ERC20Burnable contract.

Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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