How do I know if this fake token is ERC20?

Isabella: 25 May 2022

So I made a fake token, and I took the code from the website. But I'm not sure if its right.... It seems when I transfer them on the testnet in mist, mist says "50 undefined 1ee6 were transfered from..." and not the name of the token.

What could be the problem here? Code is below....

    contract Token is owned {
    string public constant name = "Token";
    string public constant symbol = "F";
    uint256 public constant decimals = 18;
    string public version = "1.0";

    /* This creates an array with all balances */
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    /* This generates a public event on the blockchain that will notify clients */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /* This notifies clients about the amount burnt */
    event Burn(address indexed from, uint256 value);

    /* Initializes contract with initial supply tokens to the creator of the contract */
   function Token(
    uint256 initialSupply,
    string tokenName,
    uint8 decimalUnits,
    string tokenSymbol,
    address centralMinter
    ) {

Oliver: 25 May 2022

A token can be recognized by wallets (such as Remix, Mew) if it follows these directives:

I had the same problem with MEW that instead of the amount of my custom token it displayed 'Not a valid ERC20 token'; see the topic here: Use MEW for testing smart contract (

After defining that contract structure, the amount of token is correctly displayed in MEW.