Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (14 sloc) 857 Bytes
pragma solidity ^0.4.19;
pragma experimental ABIEncoderV2;
contract ILicensor {
function RegisterRecording(string _isrc) public returns (uint);
function IssueLicense(string _userID, uint _recordingID, uint8 _licenseType) public returns (uint);
function LinkToLicense(string _videoID, uint _licenseID) public;
function RevokeLicense(uint _licenseID) public;
function GetISRCs() view public returns (string);
function GetLicense(uint _licenseID) view public returns (uint, string, uint, uint8, uint8, string);
function GetRecording(uint _recordingID) view public returns (uint, string);
function GetRecordingByISRC(string _isrc) view public returns (uint, string);
function GetLicensesByVideoID(string _videoID) view public returns (string);
function GetLicensesByUserID(string _userID) view public returns (string);
}