Gas price error when minting a created token

Hello!!

I created the following token "https://bscscan.com/address/0xb3497b2a0368e9b96ace9b6ad3033f440457d1b9". In addition to the written code, the imported calls were ERC20 such as "import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";" but the token was created correctly. However, when executing any function of the token, such as mint for example, it gives a gas error, it returns the message shown in the image. Does anyone know the reason?

1 Like

As you have already minted the maximum token amount in the constructor, an error will occur during the following check from the mint function:

require(totalSupply() + amount <= _maxSupply, "Total supply limit exceeded");