add mint function to DepositOwnerToken
@@ -8,6 +8,14 @@ contract DepositOwnerToken is ERC721Metadata {
// solium-disable-previous-line no-empty-blocks
}
+ /// @dev Mints a new token.
+ /// Reverts if the given token ID already exists.
+ /// @param to The address that will own the minted token
+ /// @param tokenId uint256 ID of the token to be minted
+ function mint(address _to, uint256 _tokenId) public {
+ _mint(_to, _tokenId);
+ }
+
/// @dev Returns whether the specified token exists.
/// @param tokenId uint256 ID of the token to query the existence of
/// @return bool whether the token exists
