difftreelog
docs and bump versions
in: master
6 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6328,7 +6328,7 @@
[[package]]
name = "pallet-nonfungible"
-version = "0.1.9"
+version = "0.1.11"
dependencies = [
"ethereum 0.14.0",
"evm-coder",
@@ -6487,7 +6487,7 @@
[[package]]
name = "pallet-refungible"
-version = "0.2.8"
+version = "0.2.10"
dependencies = [
"derivative",
"ethereum 0.14.0",
pallets/common/src/eth.rsdiffbeforeafterboth--- a/pallets/common/src/eth.rs
+++ b/pallets/common/src/eth.rs
@@ -163,11 +163,17 @@
TokenOwner,
}
+/// Ethereum representation of TokenPermissions (see [`up_data_structs::PropertyPermission`]) fields as an enumeration.
#[derive(AbiCoder, Copy, Clone, Default, Debug)]
#[repr(u8)]
pub enum EthTokenPermissions {
+ /// Permission to change the property and property permission. See [`up_data_structs::PropertyPermission::mutable`]
#[default]
Mutable,
+
+ /// Change permission for the collection administrator. See [`up_data_structs::PropertyPermission::token_owner`]
TokenOwner,
+
+ /// Permission to change the property for the owner of the token. See [`up_data_structs::PropertyPermission::collection_admin`]
CollectionAdmin,
}
pallets/nonfungible/CHANGELOG.mddiffbeforeafterboth--- a/pallets/nonfungible/CHANGELOG.md
+++ b/pallets/nonfungible/CHANGELOG.md
@@ -4,6 +4,16 @@
<!-- bureaucrate goes here -->
+## [0.1.11] - 2022-12-16
+
+### Added
+
+- The function `tokenPropertyPermissions` and `setTokenPropertyPermissions` to `TokenProperties` interface.
+
+### Changed
+
+- Hide `setTokenPropertyPermission` function in `TokenProperties` interface.
+
## [0.1.10] - 2022-11-18
### Added
pallets/nonfungible/Cargo.tomldiffbeforeafterboth--- a/pallets/nonfungible/Cargo.toml
+++ b/pallets/nonfungible/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pallet-nonfungible"
-version = "0.1.9"
+version = "0.1.11"
license = "GPLv3"
edition = "2021"
pallets/refungible/CHANGELOG.mddiffbeforeafterboth1# Change Log23All notable changes to this project will be documented in this file.45<!-- bureaucrate goes here -->67## [0.2.9] - 2022-11-1889### Added1011- The functions `description`, `crossOwnerOf`, `tokenProperties` to `ERC721UniqueExtensions` interface.1213## [0.2.8] - 2022-11-141415### Changed1617- Added `transfer_cross` in eth functions.1819## [v0.2.7] - 2022-11-112021### Changed2223- Added `delete_properties` in eth functions. The `delete_property` function is now deprecated.2425## [v0.2.6] - 2022-11-022627### Changed2829- Use named structure `EthCrossAccount` in eth functions.3031## [v0.2.5] - 2022-20-103233### Change3435- Added `set_properties` method for `TokenProperties` interface.3637## [v0.2.4] - 2022-08-243839### Change4041- Add bound `AsRef<[u8; 32]>` to `T::CrossAccountId`.4243## [v0.2.3] 2022-08-164445### Other changes4647- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a4849- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf85051- refactor: Switch to new prefix removal methods 26734e9567589d75cdd99e404eabf11d5a97d9755253New methods allows to call `remove_prefix` with limit multiple times54in the same block55However, we don't use prefix removal limits, so upgrade is56straightforward5758Upstream-Change: https://github.com/paritytech/substrate/pull/114905960- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b6162## [v0.2.2] 2022-08-046364### Product changes6566- Now RefungibleMultipleItems may only receive single user on type level.6768### Added features6970- Implement property RPC 7bf45b532e32daa91f03c157b58874d21b42ae1f7172### Other changes7374- refactor: Disallow invalid bulk mints 53fec71cf728dddd012257b407ea30441e699f887576`create_multiple_items_ex` was allowing invalid (that will be always77rejected at runtime level) refungible mint extrinsics, by passing78multiple users into `RefungibleMultipleItems` call.7980## [v0.2.1] - 2022-07-278182### New features8384Implementation of ERC-721 EVM API ([#452](https://github.com/UniqueNetwork/unique-chain/pull/452))8586## [v0.2.0] - 2022-08-018788### Deprecated8990`const_data` field is removed9192- `ItemData`93- `TokenData`9495## [v0.1.2] - 2022-07-149697### Other changes9899feat(refungible-pallet): add ERC-20 EVM API for RFT token pieces ([#413](https://github.com/UniqueNetwork/unique-chain/pull/413))100test(refungible-pallet): add tests for ERC-20 EVM API for RFT token pieces ([#413](https://github.com/UniqueNetwork/unique-chain/pull/413))101102## [v0.1.1] - 2022-07-14103104### Added features105106- Support for properties for RFT collections and tokens.107108### Other changes109110- feat: RPC method `token_owners` returning 10 owners in no particular order.111112This was an internal request to improve the web interface and support fractionalization event.pallets/refungible/Cargo.tomldiffbeforeafterboth--- a/pallets/refungible/Cargo.toml
+++ b/pallets/refungible/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pallet-refungible"
-version = "0.2.8"
+version = "0.2.10"
license = "GPLv3"
edition = "2021"