contract MyERC20 is ERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    constructor(
        string memory name,
        string memory symbol,
        uint8 decimals,
        uint256 cap
    ) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
        super._mint(msg.sender, cap);
    }

    /**
     * @return the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @return the symbol of the token.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @return the number of decimals of the token.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}
function symbol() public view returns (string memory) {
    return _symbol;
}

/**
 * @return the symbol of the token.
 */