diff --git a/pallets/api/src/nonfungibles/types.rs b/pallets/api/src/nonfungibles/types.rs index 6420bc38..53930bda 100644 --- a/pallets/api/src/nonfungibles/types.rs +++ b/pallets/api/src/nonfungibles/types.rs @@ -6,7 +6,7 @@ pub use pallet_nfts::{ MintWitness, }; use scale_info::TypeInfo; -use sp_runtime::{BoundedBTreeMap, RuntimeDebug}; +use sp_runtime::RuntimeDebug; // Type aliases for pallet-nfts. pub(super) type NftsOf = pallet_nfts::Pallet; @@ -21,18 +21,10 @@ pub(super) type CollectionIdOf = as Inspect<::AccountId>>::CollectionId; pub(super) type ItemIdOf = as Inspect<::AccountId>>::ItemId; -pub(super) type ApprovalsOf = BoundedBTreeMap< - AccountIdOf, - Option>, - ::ApprovalsLimit, ->; pub(super) type ItemPriceOf = BalanceOf; // TODO: Multi-instances. -pub(super) type ItemDepositOf = ItemDeposit, AccountIdOf>; pub(super) type CollectionDetailsFor = CollectionDetails, BalanceOf>; -pub(super) type ItemDetailsFor = - ItemDetails, ItemDepositOf, ApprovalsOf>; pub(super) type AttributeNamespaceOf = AttributeNamespace>; pub(super) type CreateCollectionConfigFor = CreateCollectionConfig, BlockNumberFor, CollectionIdOf>;