difftreelog
doc: fix documentation about allowlist
in: master
1 file changed
pallets/nonfungible/src/lib.rsdiffbeforeafterboth86//!86//!87//! ## Assumptions87//! ## Assumptions88//!88//!89//! * Sender should be in collection's allow list to perform operations on tokens.89//! * To perform operations on tokens sender should be in collection's allow list if collection access mode is `AllowList`.909091#![cfg_attr(not(feature = "std"), no_std)]91#![cfg_attr(not(feature = "std"), no_std)]9292441441442// unchecked calls skips any permission checks442// unchecked calls skips any permission checks443impl<T: Config> Pallet<T> {443impl<T: Config> Pallet<T> {444 /// Create ТFT collection444 /// Create NFT collection445 ///445 ///446 /// `init_collection` will take non-refundable deposit for collection creation.446 /// `init_collection` will take non-refundable deposit for collection creation.447 ///447 ///454 <PalletCommon<T>>::init_collection(owner, data, is_external)454 <PalletCommon<T>>::init_collection(owner, data, is_external)455 }455 }456456457 /// Destroy ТFT collection457 /// Destroy NFT collection458 ///458 ///459 /// `destroy_collection` will throw error if collection contains any tokens.459 /// `destroy_collection` will throw error if collection contains any tokens.460 /// Only owner can destroy collection.460 /// Only owner can destroy collection.