difftreelog
fix gramar
in: master
5 files changed
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth178178179use RmrkProperty::*;179use RmrkProperty::*;180180181/// Maximum number of levels of depth in the token nesting tree.181/// A maximum number of levels of depth in the token nesting tree.182pub const NESTING_BUDGET: u32 = 5;182pub const NESTING_BUDGET: u32 = 5;183183184type PendingTarget = (CollectionId, TokenId);184type PendingTarget = (CollectionId, TokenId);pallets/unique/src/lib.rsdiffbeforeafterboth104pub mod weights;104pub mod weights;105use weights::WeightInfo;105use weights::WeightInfo;106106107/// Maximum number of levels of depth in the token nesting tree.107/// A maximum number of levels of depth in the token nesting tree.108pub const NESTING_BUDGET: u32 = 5;108pub const NESTING_BUDGET: u32 = 5;109109110decl_error! {110decl_error! {279 {279 {280 type Error = Error<T>;280 type Error = Error<T>;281281282 #[doc = "Maximum number of levels of depth in the token nesting tree."]282 #[doc = "A maximum number of levels of depth in the token nesting tree."]283 const NESTING_BUDGET: u32 = NESTING_BUDGET;283 const NESTING_BUDGET: u32 = NESTING_BUDGET;284284285 #[doc = "Maximum length for collection name."]285 #[doc = "Maximal length of a collection name."]286 const MAX_COLLECTION_NAME_LENGTH: u32 = MAX_COLLECTION_NAME_LENGTH;286 const MAX_COLLECTION_NAME_LENGTH: u32 = MAX_COLLECTION_NAME_LENGTH;287287288 #[doc = "Maximum length for collection description."]288 #[doc = "Maximal length of a collection description."]289 const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = MAX_COLLECTION_DESCRIPTION_LENGTH;289 const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = MAX_COLLECTION_DESCRIPTION_LENGTH;290290291 #[doc = "Maximal token prefix length."]291 #[doc = "Maximal length of a token prefix."]292 const MAX_TOKEN_PREFIX_LENGTH: u32 = MAX_TOKEN_PREFIX_LENGTH;292 const MAX_TOKEN_PREFIX_LENGTH: u32 = MAX_TOKEN_PREFIX_LENGTH;293293294 #[doc = "Maximum admins per collection."]294 #[doc = "Maximum admins per collection."]295 const COLLECTION_ADMINS_LIMIT: u32 = COLLECTION_ADMINS_LIMIT;295 const COLLECTION_ADMINS_LIMIT: u32 = COLLECTION_ADMINS_LIMIT;296296297 #[doc = "Maximal lenght of property key."]297 #[doc = "Maximal length of a property key."]298 const MAX_PROPERTY_KEY_LENGTH: u32 = MAX_PROPERTY_KEY_LENGTH;298 const MAX_PROPERTY_KEY_LENGTH: u32 = MAX_PROPERTY_KEY_LENGTH;299299300 #[doc = "Maximal lenght of property value."]300 #[doc = "Maximal length of a property value."]301 const MAX_PROPERTY_VALUE_LENGTH: u32 = MAX_PROPERTY_VALUE_LENGTH;301 const MAX_PROPERTY_VALUE_LENGTH: u32 = MAX_PROPERTY_VALUE_LENGTH;302302303 #[doc = "Maximum properties that can be assigned to token."]303 #[doc = "A maximum number of token properties."]304 const MAX_PROPERTIES_PER_ITEM: u32 = MAX_PROPERTIES_PER_ITEM;304 const MAX_PROPERTIES_PER_ITEM: u32 = MAX_PROPERTIES_PER_ITEM;305305306 #[doc = "Maximum size for all collection properties."]306 #[doc = "Maximum size for all collection properties."]307 const MAX_COLLECTION_PROPERTIES_SIZE: u32 = MAX_COLLECTION_PROPERTIES_SIZE;307 const MAX_COLLECTION_PROPERTIES_SIZE: u32 = MAX_COLLECTION_PROPERTIES_SIZE;308308309 #[doc = "Maximum size for all token properties."]309 #[doc = "Maximum size of all token properties."]310 const MAX_TOKEN_PROPERTIES_SIZE: u32 = MAX_TOKEN_PROPERTIES_SIZE;310 const MAX_TOKEN_PROPERTIES_SIZE: u32 = MAX_TOKEN_PROPERTIES_SIZE;311311312 #[doc = "Default NFT collection limit."]312 #[doc = "Default NFT collection limit."]primitives/data-structs/CHANGELOG.mddiffbeforeafterboth444445### Added45### Added464647- Аields with properties to `CreateReFungibleData` and `CreateRefungibleExData`.47- Fields with properties to `CreateReFungibleData` and `CreateRefungibleExData`.4848primitives/data-structs/src/lib.rsdiffbeforeafterboth120// TODO: not used. Delete?120// TODO: not used. Delete?121pub const COLLECTION_FIELD_LIMIT: u32 = CONST_ON_CHAIN_SCHEMA_LIMIT;121pub const COLLECTION_FIELD_LIMIT: u32 = CONST_ON_CHAIN_SCHEMA_LIMIT;122122123/// Maximum length for collection name.123/// Maximal length of a collection name.124pub const MAX_COLLECTION_NAME_LENGTH: u32 = 64;124pub const MAX_COLLECTION_NAME_LENGTH: u32 = 64;125125126/// Maximum length for collection description.126/// Maximal length of a collection description.127pub const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = 256;127pub const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = 256;128128129/// Maximal token prefix length.129/// Maximal length of a token prefix.130pub const MAX_TOKEN_PREFIX_LENGTH: u32 = 16;130pub const MAX_TOKEN_PREFIX_LENGTH: u32 = 16;131131132/// Maximal lenght of property key.132/// Maximal length of a property key.133pub const MAX_PROPERTY_KEY_LENGTH: u32 = 256;133pub const MAX_PROPERTY_KEY_LENGTH: u32 = 256;134134135/// Maximal lenght of property value.135/// Maximal length of a property value.136pub const MAX_PROPERTY_VALUE_LENGTH: u32 = 32768;136pub const MAX_PROPERTY_VALUE_LENGTH: u32 = 32768;137137138/// Maximum properties that can be assigned to token.138/// A maximum number of token properties.139pub const MAX_PROPERTIES_PER_ITEM: u32 = 64;139pub const MAX_PROPERTIES_PER_ITEM: u32 = 64;140140141/// Maximal lenght of extended property value.141/// Maximal lenght of extended property value.144/// Maximum size for all collection properties.144/// Maximum size for all collection properties.145pub const MAX_COLLECTION_PROPERTIES_SIZE: u32 = 40960;145pub const MAX_COLLECTION_PROPERTIES_SIZE: u32 = 40960;146146147/// Maximum size for all token properties.147/// Maximum size of all token properties.148pub const MAX_TOKEN_PROPERTIES_SIZE: u32 = 32768;148pub const MAX_TOKEN_PROPERTIES_SIZE: u32 = 32768;149149150/// How much items can be created per single150/// How much items can be created per singletests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth254 * Default FT collection limit.254 * Default FT collection limit.255 **/255 **/256 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;256 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;257 /**257 /**258 * Maximum length for collection description.258 * Maximal length of a collection description.259 **/259 **/260 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;260 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;261 /**261 /**262 * Maximum length for collection name.262 * Maximal length of a collection name.263 **/263 **/264 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;264 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;265 /**265 /**266 * Maximum size for all collection properties.266 * Maximum size for all collection properties.267 **/267 **/268 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;268 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;269 /**269 /**270 * Maximum properties that can be assigned to token.270 * A maximum number of token properties.271 **/271 **/272 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;272 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;273 /**273 /**274 * Maximal lenght of property key.274 * Maximal length of a property key.275 **/275 **/276 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;276 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;277 /**277 /**278 * Maximal lenght of property value.278 * Maximal length of a property value.279 **/279 **/280 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;280 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;281 /**281 /**282 * Maximal token prefix length.282 * Maximal length of a token prefix.283 **/283 **/284 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;284 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;285 /**285 /**286 * Maximum size for all token properties.286 * Maximum size of all token properties.287 **/287 **/288 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;288 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;289 /**289 /**290 * Maximum number of levels of depth in the token nesting tree.290 * A maximum number of levels of depth in the token nesting tree.291 **/291 **/292 nestingBudget: u32 & AugmentedConst<ApiType>;292 nestingBudget: u32 & AugmentedConst<ApiType>;293 /**293 /**294 * Default NFT collection limit.294 * Default NFT collection limit.