Nesting
An NFT is allowed to own another token (Fungible/NFT/RFT).
When the appropriate collection permissions are set, a user can send one token to another.
Changes
- A new extrinsic to manage collection permissions:
set_collection_permissions
. The extrinsicsset_mint_permission
andset_public_access_mode
was removed. - Current extrinsics:
transfer
andtransfer_from
extrinsics now can be used to send one token to/from another - New RPCs to get the topmost owner and to get all token's children:
topmostTokenOwner
,tokenChildren
Properties
Key-value pairs which associated with a collection or with an NFT.
- Collection properties can be added/modified/deleted by a collection admin.
- NFT properties can be added/modified/deleted only in accordance with token property permissions defined by a collection admin.
Changes
- New extrinsics to add/modify/delete properties and manage their permissions:
set_collection_properties
,delete_collection_properties
,set_token_properties
,delete_token_properties
,set_token_property_permissions
- New RPCs to get the properties and their permissions:
collectionProperties
,propertyPermissions
,tokenProperties
,tokenData
- Current extrinsics:
create_collection_ex
now accepts additional parameters (token_property_permissions
andproperties
) - Collections migration: the collections' fields
schemaVersion
,offchainSchema
,constOnChainSchema
, andvariableOnChainSchema
were moved into the corresponding properties with the prefix_old_
- Tokens migration: the tokens' field
variableData
was removed. The fieldconstData
was moved to the property_old_constData
unique
Require:
@unique-nft/unique-mainnet-types
v0.6.1
🏋️ Runtime size: 0.899 MB (942,320 bytes)
🗜 Compressed: Yes, 80.49%
✨ Reserved meta: OK - [6D, 65, 74, 61]
🎁 Metadata version: V14
🔥 Core version: unique-922080 (unique-0.tx1.au1)
🗳️ system.setCode hash: 0xdf78dbb36059f7e2831e6a3289da27989ce47e9ea3c10d78e8f0b1bdd03cf28b
🗳️ authorizeUpgrade hash: 0xfa0ee4c82a3b9da16d914b6a5443d8aacbaa0cf8ab56dbe9f090e21eab8f45e3
#️⃣ Blake2-256 hash: 0xcafd46b19713350e7945491db9ab3e10690e46d10642b135db8f8fce00784581
📦 IPFS: https://www.ipfs.io/ipfs/QmNZj6t4ARtWaSFpCwb3aTfQhVBYz93jDRYqm3awjUYKVQ