difftreelog
style cargo fmt
in: master
3 files changed
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -329,7 +329,7 @@
ItemDestroyed(CollectionId, TokenId, T::CrossAccountId, u128),
/// Item was transferred.
- ///
+ ///
/// # Arguments
///
/// * collection_id: ID of the collection to which the item belongs.
@@ -350,9 +350,9 @@
),
/// Sponsoring allowance was approved.
- ///
+ ///
/// # Arguments
- ///
+ ///
/// * collection_id
///
/// * item_id
@@ -371,51 +371,51 @@
),
/// Collection property was added or edited.
- ///
+ ///
/// # Arguments
- ///
+ ///
/// * collection_id: ID of the collection, whose property was just set.
- ///
+ ///
/// * property_key: Key of the property that was just set.
CollectionPropertySet(CollectionId, PropertyKey),
/// Collection property was deleted.
- ///
+ ///
/// # Arguments
- ///
+ ///
/// * collection_id: ID of the collection, whose property was just deleted.
- ///
+ ///
/// * property_key: Key of the property that was just deleted.
CollectionPropertyDeleted(CollectionId, PropertyKey),
/// Item property was added or edited.
- ///
+ ///
/// # Arguments
- ///
+ ///
/// * collection_id: ID of the collection, whose token's property was just set.
- ///
+ ///
/// * item_id: ID of the item, whose property was just set.
- ///
+ ///
/// * property_key: Key of the property that was just set.
TokenPropertySet(CollectionId, TokenId, PropertyKey),
/// Item property was deleted.
- ///
+ ///
/// # Arguments
- ///
+ ///
/// * collection_id: ID of the collection, whose token's property was just deleted.
- ///
+ ///
/// * item_id: ID of the item, whose property was just deleted.
- ///
+ ///
/// * property_key: Key of the property that was just deleted.
TokenPropertyDeleted(CollectionId, TokenId, PropertyKey),
/// Token property permission was added or updated for a collection.
- ///
+ ///
/// # Arguments
- ///
+ ///
/// * collection_id: ID of the collection, whose permissions were just set/updated.
- ///
+ ///
/// * property_key: Key of the property of the set/updated permission.
PropertyPermissionSet(CollectionId, PropertyKey),
}
pallets/refungible/src/lib.rsdiffbeforeafterbothno syntactic changes
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -163,9 +163,9 @@
CollectionLimitSet(CollectionId),
/// Collection permissions were set
- ///
+ ///
/// # Arguments
- ///
+ ///
/// * collection_id: Globally unique collection identifier.
CollectionPermissionSet(CollectionId),
}
@@ -219,7 +219,7 @@
/// Collection id (controlled?2), token id (controlled?2)
#[deprecated]
pub VariableMetaDataBasket get(fn variable_meta_data_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber>;
- /// Last sponsoring of token property setting // todo:doc rephrase this and the following
+ /// Last sponsoring of token property setting // todo:doc rephrase this and the following
pub TokenPropertyBasket get(fn token_property_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber>;
/// Last sponsoring of NFT approval in a collection
@@ -294,7 +294,7 @@
/// * Anyone.
///
/// # Arguments
- ///
+ ///
/// * data: explicit create-collection data.
#[weight = <SelfWeightOf<T>>::create_collection()]
#[transactional]
@@ -495,7 +495,7 @@
}
/// Set (invite) a new collection sponsor. If successful, confirmation from the sponsor-to-be will be pending.
- ///
+ ///
/// # Permissions
///
/// * Collection Owner
@@ -526,7 +526,7 @@
}
/// Confirm own sponsorship of a collection.
- ///
+ ///
/// # Permissions
///
/// * The sponsor to-be
@@ -699,7 +699,7 @@
/// # Arguments
///
/// * collection_id.
- ///
+ ///
/// * token_id.
///
/// * properties: a vector of key-value pairs stored as the token's metadata. Keys support Latin letters, '-', '_', and '.' as symbols.
@@ -778,7 +778,7 @@
}
/// Create multiple items inside a collection with explicitly specified initial parameters.
- ///
+ ///
/// # Permissions
///
/// * Collection Owner
@@ -792,7 +792,7 @@
///
/// * collection_id: ID of the collection.
///
- /// * data: explicit item creation data.
+ /// * data: explicit item creation data.
#[weight = T::CommonWeightInfo::create_multiple_items_ex(&data)]
#[transactional]
pub fn create_multiple_items_ex(origin, collection_id: CollectionId, data: CreateItemExData<T::CrossAccountId>) -> DispatchResultWithPostInfo {
@@ -939,7 +939,7 @@
/// Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.
///
/// # Permissions
- ///
+ ///
/// * Collection Owner
/// * Collection Admin
/// * Current NFT owner
@@ -968,7 +968,7 @@
/// Set specific limits of a collection. Empty, or None fields mean chain default.
///.
/// # Permissions
- ///
+ ///
/// * Collection Owner
/// * Collection Admin
///
@@ -1002,7 +1002,7 @@
/// Set specific permissions of a collection. Empty, or None fields mean chain default.
///
/// # Permissions
- ///
+ ///
/// * Collection Owner
/// * Collection Admin
///
@@ -1036,15 +1036,15 @@
/// Re-partition a refungible token, while owning all of its parts.
///
/// # Permissions
- ///
+ ///
/// * Token Owner (must own every part)
///
/// # Arguments
///
/// * collection_id.
- ///
- /// * token: the ID of the RFT.
///
+ /// * token: the ID of the RFT.
+ ///
/// * amount: The new number of parts into which the token shall be partitioned.
#[weight = T::RefungibleExtensionsWeightInfo::repartition()]
#[transactional]