github UniqueNetwork/unique-chain unique-v922080
UNIQUE v922080

latest releases: v10030070, v10010064, v10010063...
2 years ago

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 extrinsics set_mint_permission and set_public_access_mode was removed.
  • Current extrinsics: transfer and transfer_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 and properties)
  • Collections migration: the collections' fields schemaVersion, offchainSchema, constOnChainSchema, and variableOnChainSchema were moved into the corresponding properties with the prefix _old_
  • Tokens migration: the tokens' field variableData was removed. The field constData 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

Don't miss a new unique-chain release

NewReleases is sending notifications on new releases.