Skip to content
Snippets Groups Projects
Unverified Commit 64d52f22 authored by Sergej Sakac's avatar Sergej Sakac Committed by GitHub
Browse files

Publicly expose inaccessible `pallet_uniques` state (#2727)

A small PR to publicly expose the `pallet_uniques` state that is not
accessible through the nonfungibles implementation.

Currently, this state is unreachable from chain extensions.
parent e5b2adac
No related merge requests found
Pipeline #426793 passed with stages
in 49 minutes and 10 seconds
......@@ -165,7 +165,7 @@ pub mod pallet {
#[pallet::storage]
#[pallet::storage_prefix = "Class"]
/// Details of a collection.
pub(super) type Collection<T: Config<I>, I: 'static = ()> = StorageMap<
pub type Collection<T: Config<I>, I: 'static = ()> = StorageMap<
_,
Blake2_128Concat,
T::CollectionId,
......@@ -174,7 +174,7 @@ pub mod pallet {
#[pallet::storage]
/// The collection, if any, of which an account is willing to take ownership.
pub(super) type OwnershipAcceptance<T: Config<I>, I: 'static = ()> =
pub type OwnershipAcceptance<T: Config<I>, I: 'static = ()> =
StorageMap<_, Blake2_128Concat, T::AccountId, T::CollectionId>;
#[pallet::storage]
......@@ -208,7 +208,7 @@ pub mod pallet {
#[pallet::storage]
#[pallet::storage_prefix = "Asset"]
/// The items in existence and their ownership details.
pub(super) type Item<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
pub type Item<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
_,
Blake2_128Concat,
T::CollectionId,
......@@ -257,7 +257,7 @@ pub mod pallet {
#[pallet::storage]
/// Price of an asset instance.
pub(super) type ItemPriceOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
pub type ItemPriceOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
_,
Blake2_128Concat,
T::CollectionId,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment