interface IProfiles {
event ProfileCreated(address owner, string name, uint64 created, uint256 nftId, uint256 collectionId);
event ProfileUpdated(address owner, string name, uint256 nftId, uint256 collectionId);
function addressToProfile(address) view returns (address owner, string name, uint64 created, uint256 nftId, uint256 collectionId, string picUri);
function changeName(address _profileAddress, string _name);
function changePic(address _profileAddress, uint256 _nftId, uint256 _collectionId);
function createProfile(string _name, uint256 _nftId, uint256 _collectionId);
function getNames(address[] _addresses) view returns (string[]);
function getProfile(address _profileAddress) view returns (tuple(address owner, string name, uint64 created, uint256 nftId, uint256 collectionId, string picUri));
function getProfileByAddress(address _profileAddress) view returns (uint256 _id, address _owner, string _name, uint64 _created, uint8 _picId, uint256 _heroId, uint256 _points);
function getProfileByName(string _name) view returns (tuple(address owner, string name, uint64 created, uint256 nftId, uint256 collectionId, string picUri));
function getTokenUrisHeldByAddress(address _profileAddress, uint256 _collectionId) view returns (string[]);
function heroesNftContract() view returns (address);
function identityTokenRouter() view returns (address);
function maxChar() view returns (uint8);
function maxPic() view returns (uint8);
function minChar() view returns (uint8);
function nameToAddress(string) view returns (address);
function picUris(uint256) view returns (string);
}
interface IStylist {
event FeeAddressAdded(address indexed feeAddress, uint256 indexed feePercent);
event FeeDisbursed(address indexed source, address indexed from, address indexed to, address token, uint256 amount, uint64 timestamp);
event NameChange(address profileAddress, string oldName, string newName);
event PicChange(address profileAddress, uint256 nftId, uint256 collectionId);
function changeName(string _name);
function changePic(uint256 _nftId, uint256 _collectionId);
function feeAddresses(uint256) view returns (address);
function feePercents(uint256) view returns (uint256);
function nameChangeFee() view returns (uint256);
function paused() view returns (bool);
function picChangeFee() view returns (uint256);
function powerToken() view returns (address);
function profilesContract() view returns (address);
}
interface IIdentityTokenRouter {
event CollectionSet(uint256 collectionId, string collectionName, address externalTokenContract);
function collections(uint256) view returns (uint256 collectionId, string collectionName, address collectionContract);
function getTokenUrisHeldByAddress(address _owner, uint256 _collectionId) view returns (string[]);
function ownerOf(uint256 _tokenId, uint256 _collectionId) view returns (address);
function paused() view returns (bool);
function tokenURI(uint256 _tokenId, uint256 _collectionId) view returns (string)
}
interface IProfilesV1 {
event ProfileCreated(uint256 profileId, address owner, string name, uint64 created, uint8 picId);
event ProfileUpdated(uint256 profileId, address owner, string name, uint64 created, uint8 picId, uint256 heroId);
function addressToIndex(address) view returns (uint256);
function addresses(uint256) view returns (address);
function changeHeroPic(uint256 profileId, uint256 _heroId) returns (bool success);
function changeName(uint256 profileId, string _name) returns (bool success);
function changePic(uint256 profileId, uint8 _picId) returns (bool success);
function createProfile(string _name, uint8 _picId) returns (bool success);
function getAddressByName(string name) view returns (address profileAddress);
function getProfileByAddress(address profileAddress) view returns (uint256 _id, address _owner, string _name, uint64 _created, uint8 _picId, uint256 _heroId);
function getProfileByName(string name) view returns (uint256 _id, address _owner, string _name, uint64 _created, uint8 _picId, uint256 _heroId);
function getProfileCount() view returns (uint256 count);
function heroesNftContract() view returns (address);
function nameTaken(string name) view returns (bool taken);
function nameToIndex(string) view returns (uint256);
function profileExists(address profileAddress) view returns (bool exists);
function profiles(uint256) view returns (uint256 id, address owner, string name, uint64 created, uint8 picId, uint256 heroId, bool set);
}
interface IStylistHarmony {
event NameChange(address profileAddress, string oldName, string newName);
event PicChange(address profileAddress, uint256 nftId, uint256 collectionId);
function changeName(string _name); // Currently Unavailable
function changePic(uint256 _nftId, uint256 _collectionId);
function jewelToken() view returns (address);
function nameChangeFee() view returns (uint256);
function paused() view returns (bool);
function picChangeFee() view returns (uint256);
function profilesContract() view returns (address);
}