Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 609 Bytes
pragma solidity ^0.4.18;
import './IERC721Metadata.sol';
import './AssetRegistryStorage.sol';
contract ERC721Metadata is AssetRegistryStorage, IERC721Metadata {
function name() external view returns (string) {
return _name;
}
function symbol() external view returns (string) {
return _symbol;
}
function description() external view returns (string) {
return _description;
}
function tokenMetadata(uint256 assetId) external view returns (string) {
return _assetData[assetId];
}
function _update(uint256 assetId, string data) internal {
_assetData[assetId] = data;
}
}