#
LibObject
Contains internal methods for core Nayms system functionality
#
Functions
#
_createObject
function _createObject(bytes32 _objectId, bytes12 _objectType, bytes32 _parentId, bytes32 _dataHash) internal;
#
_createObject
function _createObject(bytes32 _objectId, bytes12 _objectType, bytes32 _dataHash) internal;
#
_createObject
function _createObject(bytes32 _objectId, bytes12 _objectType) internal;
#
_setDataHash
function _setDataHash(bytes32 _objectId, bytes32 _dataHash) internal;
#
_getDataHash
function _getDataHash(bytes32 _objectId) internal view returns (bytes32 objectDataHash);
#
_getParent
function _getParent(bytes32 _objectId) internal view returns (bytes32);
#
_getParentFromAddress
function _getParentFromAddress(address addr) internal view returns (bytes32);
#
_setParent
function _setParent(bytes32 _objectId, bytes32 _parentId) internal;
#
_isObjectTokenizable
function _isObjectTokenizable(bytes32 _objectId) internal view returns (bool);
#
_tokenSymbolNotUsed
function _tokenSymbolNotUsed(string memory _symbol) internal view returns (bool);
#
_validateTokenNameAndSymbol
function _validateTokenNameAndSymbol(bytes32 _objectId, string memory _symbol, string memory _name) private view;
#
_enableObjectTokenization
function _enableObjectTokenization(bytes32 _objectId, string memory _symbol, string memory _name, uint256 _minimumSell)
internal;
#
_updateTokenInfo
function _updateTokenInfo(bytes32 _objectId, string memory _symbol, string memory _name) internal;
#
_isObjectTokenWrapped
function _isObjectTokenWrapped(bytes32 _objectId) internal view returns (bool);
#
_wrapToken
function _wrapToken(bytes32 _entityId) internal;
#
_isObject
function _isObject(bytes32 _id) internal view returns (bool);
#
_getObjectType
function _getObjectType(bytes32 _objectId) internal pure returns (bytes12 objectType);
#
_isObjectType
function _isObjectType(bytes32 _objectId, bytes12 _objectType) internal pure returns (bool);
#
_getObjectMeta
function _getObjectMeta(bytes32 _id)
internal
view
returns (bytes32 parent, bytes32 dataHash, string memory tokenSymbol, string memory tokenName, address tokenWrapper);
#
_objectTokenSymbol
function _objectTokenSymbol(bytes32 _objectId) internal view returns (string memory);
#
Events
#
TokenizationEnabled
event TokenizationEnabled(bytes32 objectId, string tokenSymbol, string tokenName);
#
TokenWrapped
event TokenWrapped(bytes32 indexed entityId, address tokenWrapper);
#
TokenInfoUpdated
event TokenInfoUpdated(bytes32 indexed objectId, string symbol, string name);
#
ObjectCreated
event ObjectCreated(bytes32 objectId, bytes32 parentId, bytes32 dataHash);
#
ObjectUpdated
event ObjectUpdated(bytes32 objectId, bytes32 parentId, bytes32 dataHash);