Created
July 24, 2018 19:07
-
-
Save tshallenberger/3794eb3544d3cd8f4c20d0279abbb0d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment