Skip to content

Commit 9e2b403

Browse files
jaslukint-vs
authored andcommitted
Make pallet_nfts storages public (paritytech#13517)
1 parent c3c227c commit 9e2b403

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

frame/nfts/src/lib.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub mod pallet {
196196

197197
/// Details of a collection.
198198
#[pallet::storage]
199-
pub(super) type Collection<T: Config<I>, I: 'static = ()> = StorageMap<
199+
pub type Collection<T: Config<I>, I: 'static = ()> = StorageMap<
200200
_,
201201
Blake2_128Concat,
202202
T::CollectionId,
@@ -205,13 +205,13 @@ pub mod pallet {
205205

206206
/// The collection, if any, of which an account is willing to take ownership.
207207
#[pallet::storage]
208-
pub(super) type OwnershipAcceptance<T: Config<I>, I: 'static = ()> =
208+
pub type OwnershipAcceptance<T: Config<I>, I: 'static = ()> =
209209
StorageMap<_, Blake2_128Concat, T::AccountId, T::CollectionId>;
210210

211211
/// The items held by any given account; set out this way so that items owned by a single
212212
/// account can be enumerated.
213213
#[pallet::storage]
214-
pub(super) type Account<T: Config<I>, I: 'static = ()> = StorageNMap<
214+
pub type Account<T: Config<I>, I: 'static = ()> = StorageNMap<
215215
_,
216216
(
217217
NMapKey<Blake2_128Concat, T::AccountId>, // owner
@@ -225,7 +225,7 @@ pub mod pallet {
225225
/// The collections owned by any given account; set out this way so that collections owned by
226226
/// a single account can be enumerated.
227227
#[pallet::storage]
228-
pub(super) type CollectionAccount<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
228+
pub type CollectionAccount<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
229229
_,
230230
Blake2_128Concat,
231231
T::AccountId,
@@ -238,7 +238,7 @@ pub mod pallet {
238238
/// The items in existence and their ownership details.
239239
#[pallet::storage]
240240
/// Stores collection roles as per account.
241-
pub(super) type CollectionRoleOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
241+
pub type CollectionRoleOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
242242
_,
243243
Blake2_128Concat,
244244
T::CollectionId,
@@ -250,7 +250,7 @@ pub mod pallet {
250250

251251
/// The items in existence and their ownership details.
252252
#[pallet::storage]
253-
pub(super) type Item<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
253+
pub type Item<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
254254
_,
255255
Blake2_128Concat,
256256
T::CollectionId,
@@ -262,7 +262,7 @@ pub mod pallet {
262262

263263
/// Metadata of a collection.
264264
#[pallet::storage]
265-
pub(super) type CollectionMetadataOf<T: Config<I>, I: 'static = ()> = StorageMap<
265+
pub type CollectionMetadataOf<T: Config<I>, I: 'static = ()> = StorageMap<
266266
_,
267267
Blake2_128Concat,
268268
T::CollectionId,
@@ -272,7 +272,7 @@ pub mod pallet {
272272

273273
/// Metadata of an item.
274274
#[pallet::storage]
275-
pub(super) type ItemMetadataOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
275+
pub type ItemMetadataOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
276276
_,
277277
Blake2_128Concat,
278278
T::CollectionId,
@@ -284,7 +284,7 @@ pub mod pallet {
284284

285285
/// Attributes of a collection.
286286
#[pallet::storage]
287-
pub(super) type Attribute<T: Config<I>, I: 'static = ()> = StorageNMap<
287+
pub type Attribute<T: Config<I>, I: 'static = ()> = StorageNMap<
288288
_,
289289
(
290290
NMapKey<Blake2_128Concat, T::CollectionId>,
@@ -298,7 +298,7 @@ pub mod pallet {
298298

299299
/// A price of an item.
300300
#[pallet::storage]
301-
pub(super) type ItemPriceOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
301+
pub type ItemPriceOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
302302
_,
303303
Blake2_128Concat,
304304
T::CollectionId,
@@ -310,7 +310,7 @@ pub mod pallet {
310310

311311
/// Item attribute approvals.
312312
#[pallet::storage]
313-
pub(super) type ItemAttributesApprovalsOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
313+
pub type ItemAttributesApprovalsOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
314314
_,
315315
Blake2_128Concat,
316316
T::CollectionId,
@@ -323,12 +323,12 @@ pub mod pallet {
323323
/// Stores the `CollectionId` that is going to be used for the next collection.
324324
/// This gets incremented whenever a new collection is created.
325325
#[pallet::storage]
326-
pub(super) type NextCollectionId<T: Config<I>, I: 'static = ()> =
326+
pub type NextCollectionId<T: Config<I>, I: 'static = ()> =
327327
StorageValue<_, T::CollectionId, OptionQuery>;
328328

329329
/// Handles all the pending swaps.
330330
#[pallet::storage]
331-
pub(super) type PendingSwapOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
331+
pub type PendingSwapOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
332332
_,
333333
Blake2_128Concat,
334334
T::CollectionId,
@@ -345,12 +345,12 @@ pub mod pallet {
345345

346346
/// Config of a collection.
347347
#[pallet::storage]
348-
pub(super) type CollectionConfigOf<T: Config<I>, I: 'static = ()> =
348+
pub type CollectionConfigOf<T: Config<I>, I: 'static = ()> =
349349
StorageMap<_, Blake2_128Concat, T::CollectionId, CollectionConfigFor<T, I>, OptionQuery>;
350350

351351
/// Config of an item.
352352
#[pallet::storage]
353-
pub(super) type ItemConfigOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
353+
pub type ItemConfigOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
354354
_,
355355
Blake2_128Concat,
356356
T::CollectionId,

0 commit comments

Comments
 (0)