contract DJeneratesSuperstar is ERC721 {
    uint256 private totalMintedTokens = 0;
    string private baseURI =
        "http://superstardjens.djenerates.com/";
    constructor() ERC721("DJENERATES SUPERSTARS", "DSS") {
         for (uint256 i; i < 31; i++) {
            ++totalMintedTokens;
            _mint(msg.sender, totalMintedTokens);    
        }
    }


    /**
     * @dev See {ERC721}.
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

     /**
     * @dev Returns the base URI for the tokens API.
     */
    function baseTokenURI() external view returns (string memory) {
        return baseURI;
    }

    /**
     * @dev Sets the base URI for the API that provides the NFT data.
     */
    function setBaseTokenURI(string memory _uri) external onlyOwner {
        baseURI = _uri;
    }

    /**
     * @dev Returns the total supply
     */
    function totalSupply() external view virtual returns (uint256) {
        return totalMintedTokens;
    }

    function mint(uint256 amount)
        external
        onlyOwner   
    {
        for (uint256 i; i < amount; i++) {
            ++totalMintedTokens;
            _mint(msg.sender, totalMintedTokens);    
        }
    }
}
function _baseURI() internal view virtual override returns (string memory) {
    return baseURI;
}

/**
 * @dev See {ERC721}.
 */