difftreelog
fix dispatch docs
in: master
1 file changed
pallets/common/src/dispatch.rsdiffbeforeafterboth69 /// 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;717172 /// 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 }848485 /// 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>,