valkn0t
7/24/2018 - 7:07 PM

LicenseToken.sol

pragma solidity ^0.4.23;

import "../node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Token.sol";

contract SmartProductLicense is ERC721Token {

    constructor (string _name, string _symbol) public
        ERC721Token(_name, _symbol)
    {
    }

     /**
    * Custom accessor to create a unique token
    */
    function mintUniqueTokenTo(
        address _to,
        uint256 _tokenId,
        string  _tokenURI,
    ) public
    {
        super._mint(_to, _tokenId);
        super._setTokenURI(_tokenId, _tokenURI);
    }
}