git.delta.rocks / unique-network / refs/commits / 0e38a03c0c10

difftreelog

fix dispatch docs

Daniel Shiposha2023-10-25parent: #9cc291b.patch.diff
in: master

1 file changed

modifiedpallets/common/src/dispatch.rsdiffbeforeafterboth
69 /// Check if the collection is internal.69 /// Check if the collection is internal.
70 fn check_is_internal(&self) -> DispatchResult;70 fn check_is_internal(&self) -> DispatchResult;
7171
72 /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode).72 /// Create a regular collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode).
73 ///73 ///
74 /// * `sender` - The user who will become the owner of the collection.74 /// * `sender` - The user who will become the owner of the collection.
75 /// * `payer` - If set, the user who pays the collection creation deposit.75 /// * `payer` - If set, the user who pays the collection creation deposit.
82 Self::create_raw(sender, payer, false, data)82 Self::create_raw(sender, payer, false, data)
83 }83 }
8484
85 /// Create a collection. The collection will be created according to the value of [`data.mode`](CreateCollectionData::mode).85 /// Function for creating regular and special collections.
86 ///86 ///
87 /// * `sender` - The user who will become the owner of the collection.87 /// * `sender` - The user who will become the owner of the collection.
88 /// * `payer` - If set, the user who pays the collection creation deposit.88 /// * `payer` - If set, the user who pays the collection creation deposit.
89 /// * `data` - Description of the created collection.89 /// * `data` - Description of the created collection.
90 /// * `is_special_collection` -- Whether this collection is a system one, i.e. can have special flags set.90 /// * `is_special_collection` -- Whether this collection is a special one, i.e. can have special flags set.
91 fn create_raw(91 fn create_raw(
92 sender: T::CrossAccountId,92 sender: T::CrossAccountId,
93 payer: Option<T::CrossAccountId>,93 payer: Option<T::CrossAccountId>,