git.delta.rocks / unique-network / refs/commits / 4b3d05886c9a

difftreelog

feat(rmrk-proxy) add resource

Fahrrader2022-06-02parent: #47e3bf2.patch.diff
in: master

21 files changed

modifiedCargo.lockdiffbeforeafterboth
6335 "pallet-common",6335 "pallet-common",
6336 "pallet-evm",6336 "pallet-evm",
6337 "pallet-nonfungible",6337 "pallet-nonfungible",
6338 "pallet-structure",
6338 "parity-scale-codec 3.1.2",6339 "parity-scale-codec 3.1.2",
6339 "scale-info",6340 "scale-info",
6340 "sp-core",6341 "sp-core",
modifiedpallets/proxy-rmrk-core/Cargo.tomldiffbeforeafterboth
18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
19pallet-common = { default-features = false, path = '../common' }19pallet-common = { default-features = false, path = '../common' }
20pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }20pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
21pallet-structure = { default-features = false, path = "../../pallets/structure" }
21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }22up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
22pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }23pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
23frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }24frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
33 "up-data-structs/std",34 "up-data-structs/std",
34 "pallet-common/std",35 "pallet-common/std",
35 "pallet-nonfungible/std",36 "pallet-nonfungible/std",
37 "pallet-structure/std",
36 "pallet-evm/std",38 "pallet-evm/std",
37 'frame-benchmarking/std',39 'frame-benchmarking/std',
38]40]
modifiedpallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth
25 Pallet as PalletCommon, Error as CommonError, CollectionHandle, CommonCollectionOperations,25 Pallet as PalletCommon, Error as CommonError, CollectionHandle, CommonCollectionOperations,
26};26};
27use pallet_nonfungible::{Pallet as PalletNft, NonfungibleHandle, TokenData};27use pallet_nonfungible::{Pallet as PalletNft, NonfungibleHandle, TokenData};
28use pallet_structure::Pallet as PalletStructure;
28use pallet_evm::account::CrossAccountId;29use pallet_evm::account::CrossAccountId;
29use core::convert::AsRef;30use core::convert::AsRef;
3031
5657
57 #[pallet::storage]58 #[pallet::storage]
58 #[pallet::getter(fn collection_index_map)]59 #[pallet::getter(fn collection_index_map)]
59 pub type CollectionIndexMap<T: Config> = 60 pub type CollectionIndexMap<T: Config> =
60 StorageMap<_, Twox64Concat, RmrkCollectionId, CollectionId, ValueQuery>;61 StorageMap<_, Twox64Concat, RmrkCollectionId, CollectionId, ValueQuery>;
6162
62 #[pallet::pallet]63 #[pallet::pallet]
98 key: RmrkKeyString,99 key: RmrkKeyString,
99 value: RmrkValueString,100 value: RmrkValueString,
100 },101 },
102 ResourceAdded {
103 nft_id: RmrkNftId,
104 resource_id: RmrkResourceId,
105 },
101 }106 }
102107
103 #[pallet::error]108 #[pallet::error]
106 CorruptedCollectionType,111 CorruptedCollectionType,
107 NftTypeEncodeError,112 NftTypeEncodeError,
108 RmrkPropertyKeyIsTooLong,113 RmrkPropertyKeyIsTooLong,
109 RmrkPropertyValueIsTooLong,114 RmrkPropertyValueIsTooLong, // todo utilize that in RPCs
110115
111 /* RMRK compatible events */116 /* RMRK compatible events */
112 CollectionNotEmpty,117 CollectionNotEmpty,
115 CollectionUnknown,120 CollectionUnknown,
116 NoPermission,121 NoPermission,
117 CollectionFullOrLocked,122 CollectionFullOrLocked,
123 // todo add resource errors?
118 }124 }
119125
120 #[pallet::call]126 #[pallet::call]
144 ..Default::default()150 ..Default::default()
145 };151 };
146152
147 let collection_id_res =
148 <PalletNft<T>>::init_collection(T::CrossAccountId::from_sub(sender.clone()), data);
149
150 if let Err(DispatchError::Arithmetic(_)) = &collection_id_res {
151 return Err(<Error<T>>::NoAvailableCollectionId.into());
152 }
153
154 let unique_collection_id = collection_id_res?;
155 let rmrk_collection_id = <CollectionIndex<T>>::get();
156
157 <CollectionIndex<T>>::mutate(|n| *n += 1);153 <CollectionIndex<T>>::mutate(|n| *n += 1);
158 <CollectionIndexMap<T>>::insert(rmrk_collection_id, unique_collection_id);
159154
160 <PalletCommon<T>>::set_scoped_collection_properties(155 let unique_collection_id = Self::init_collection(
161 unique_collection_id,156 T::CrossAccountId::from_sub(sender.clone()),
162 PropertyScope::Rmrk,157 data,
163 [158 [
164 Self::rmrk_property(Metadata, &metadata)?,159 Self::rmrk_property(Metadata, &metadata)?,
165 Self::rmrk_property(CollectionType, &misc::CollectionType::Regular)?,160 Self::rmrk_property(CollectionType, &misc::CollectionType::Regular)?,
166 ]161 ]
167 .into_iter(),162 .into_iter(),
168 )?;163 )?; //collection_id_res?;
164 let rmrk_collection_id = <CollectionIndex<T>>::get();
169165
166 <CollectionIndexMap<T>>::insert(rmrk_collection_id, unique_collection_id);
167
170 Self::deposit_event(Event::CollectionCreated {168 Self::deposit_event(Event::CollectionCreated {
171 issuer: sender,169 issuer: sender,
172 collection_id: rmrk_collection_id,170 collection_id: rmrk_collection_id,
290 &sender,288 &sender,
291 &cross_owner,289 &cross_owner,
292 &collection,290 &collection,
293 NftType::Regular,
294 [291 [
292 Self::rmrk_property(TokenType, &NftType::Regular)?,
295 Self::rmrk_property(RoyaltyInfo, &royalty_info)?,293 Self::rmrk_property(RoyaltyInfo, &royalty_info)?,
296 Self::rmrk_property(Metadata, &metadata)?,294 Self::rmrk_property(Metadata, &metadata)?,
297 Self::rmrk_property(Equipped, &false)?,295 Self::rmrk_property(Equipped, &false)?,
298 Self::rmrk_property(ResourceCollection, &None::<CollectionId>)?,296 Self::rmrk_property(
297 ResourceCollection,
298 &Self::init_collection(
299 sender.clone(),
300 CreateCollectionData {
301 ..Default::default()
302 },
303 [Self::rmrk_property(
304 CollectionType,
305 &misc::CollectionType::Resource,
306 )?]
307 .into_iter(),
299 Self::rmrk_property(ResourcePriorities, &<Vec<u8>>::new())?,308 )?,
309 )?, // todo possibly add limits to the collection if rmrk warrants them
310 Self::rmrk_property(ResourcePriorities, &<Vec<u8>>::new())?, // todo create resource priorities?
300 ]311 ]
301 .into_iter(),312 .into_iter(),
302 )313 )
393 Ok(())404 Ok(())
394 }405 }
406
407 #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]
408 #[transactional]
409 pub fn add_basic_resource(
410 origin: OriginFor<T>,
411 collection_id: RmrkCollectionId,
412 nft_id: RmrkNftId,
413 resource: RmrkBasicResource,
414 ) -> DispatchResult {
415 let sender = ensure_signed(origin.clone())?;
416
417 let resource_id = Self::resource_add(
418 sender,
419 Self::unique_collection_id(collection_id)?,
420 nft_id.into(),
421 [
422 Self::rmrk_property(TokenType, &NftType::Resource)?,
423 Self::rmrk_property(ResourceType, &misc::ResourceType::Basic)?,
424 Self::rmrk_property(Src, &resource.src)?,
425 Self::rmrk_property(Metadata, &resource.metadata)?,
426 Self::rmrk_property(License, &resource.license)?,
427 Self::rmrk_property(Thumb, &resource.thumb)?,
428 ]
429 .into_iter(),
430 )?;
431
432 Self::deposit_event(Event::ResourceAdded {
433 nft_id,
434 resource_id,
435 });
436 Ok(())
437 }
438
439 #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]
440 #[transactional]
441 pub fn add_composable_resource(
442 origin: OriginFor<T>,
443 collection_id: RmrkCollectionId,
444 nft_id: RmrkNftId,
445 _resource_id: RmrkBoundedResource,
446 resource: RmrkComposableResource,
447 ) -> DispatchResult {
448 let sender = ensure_signed(origin.clone())?;
449
450 let resource_id = Self::resource_add(
451 sender,
452 Self::unique_collection_id(collection_id)?,
453 nft_id.into(),
454 [
455 Self::rmrk_property(TokenType, &NftType::Resource)?,
456 Self::rmrk_property(ResourceType, &misc::ResourceType::Composable)?,
457 Self::rmrk_property(Parts, &resource.parts)?,
458 Self::rmrk_property(Base, &resource.base)?,
459 Self::rmrk_property(Src, &resource.src)?,
460 Self::rmrk_property(Metadata, &resource.metadata)?,
461 Self::rmrk_property(License, &resource.license)?,
462 Self::rmrk_property(Thumb, &resource.thumb)?,
463 ]
464 .into_iter(),
465 )?;
466
467 Self::deposit_event(Event::ResourceAdded {
468 nft_id,
469 resource_id,
470 });
471 Ok(())
472 }
473
474 #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]
475 #[transactional]
476 pub fn add_slot_resource(
477 origin: OriginFor<T>,
478 collection_id: RmrkCollectionId,
479 nft_id: RmrkNftId,
480 resource: RmrkSlotResource,
481 ) -> DispatchResult {
482 let sender = ensure_signed(origin.clone())?;
483
484 let resource_id = Self::resource_add(
485 sender,
486 Self::unique_collection_id(collection_id)?,
487 nft_id.into(),
488 [
489 Self::rmrk_property(TokenType, &NftType::Resource)?,
490 Self::rmrk_property(ResourceType, &misc::ResourceType::Slot)?,
491 Self::rmrk_property(Base, &resource.base)?,
492 Self::rmrk_property(Src, &resource.src)?,
493 Self::rmrk_property(Metadata, &resource.metadata)?,
494 Self::rmrk_property(Slot, &resource.slot)?,
495 Self::rmrk_property(License, &resource.license)?,
496 Self::rmrk_property(Thumb, &resource.thumb)?,
497 ]
498 .into_iter(),
499 )?;
500
501 Self::deposit_event(Event::ResourceAdded {
502 nft_id,
503 resource_id,
504 });
505 Ok(())
506 }
395 }507 }
396}508}
397509
422 Ok(property)534 Ok(property)
423 }535 }
424536
537 fn init_collection(
538 sender: T::CrossAccountId,
539 data: CreateCollectionData<T::AccountId>,
540 properties: impl Iterator<Item = Property>,
541 ) -> Result<CollectionId, DispatchError> {
542 let collection_id = <PalletNft<T>>::init_collection(sender, data);
543
544 if let Err(DispatchError::Arithmetic(_)) = &collection_id {
545 return Err(<Error<T>>::NoAvailableCollectionId.into());
546 }
547
548 <PalletCommon<T>>::set_scoped_collection_properties(
549 collection_id?,
550 PropertyScope::Rmrk,
551 properties,
552 )?;
553
554 collection_id
555 }
556
425 pub fn create_nft(557 pub fn create_nft(
426 sender: &T::CrossAccountId,558 sender: &T::CrossAccountId,
427 owner: &T::CrossAccountId,559 owner: &T::CrossAccountId,
428 collection: &NonfungibleHandle<T>,560 collection: &NonfungibleHandle<T>,
429 nft_type: NftType,
430 properties: impl Iterator<Item = Property>,561 properties: impl Iterator<Item = Property>,
431 ) -> Result<TokenId, DispatchError> {562 ) -> Result<TokenId, DispatchError> {
432 todo!("store nft type");
433 let data = CreateNftExData {563 let data = CreateNftExData {
434 properties: BoundedVec::default(),564 properties: BoundedVec::default(),
435 owner: owner.clone(),565 owner: owner.clone(),
465 Ok(())595 Ok(())
466 }596 }
467597
598 fn resource_add(
599 sender: T::AccountId,
600 collection_id: CollectionId,
601 token_id: TokenId,
602 resource_properties: impl Iterator<Item = Property>,
603 ) -> Result<RmrkResourceId, DispatchError> {
604 let collection =
605 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;
606 ensure!(collection.owner == sender, Error::<T>::NoPermission);
607
608 // Check NFT lock status // todo depends on market, maybe later
609 //ensure!(!Pallet::<T>::is_locked(collection_id, nft_id), pallet_uniques::Error::<T>::Locked);
610
611 let sender = T::CrossAccountId::from_sub(sender);
612 let budget = budget::Value::new(10);
613 let pending = <PalletStructure<T>>::check_indirectly_owned(
614 sender.clone(),
615 collection_id,
616 token_id,
617 None,
618 &budget,
619 )?;
620
621 let resource_collection_id: CollectionId =
622 Self::get_nft_property(collection_id, token_id, ResourceCollection)?
623 .decode_or_default();
624 let resource_collection =
625 Self::get_typed_nft_collection(resource_collection_id, misc::CollectionType::Resource)?;
626
627 // todo probably add extra connections to bases, slots, etc., when RMRK starts to use them
628
629 let resource_id = Self::create_nft(
630 &sender, // todo owner of the nft?
631 &sender,
632 &resource_collection,
633 resource_properties.chain(
634 [
635 Self::rmrk_property(PendingResourceAccept, &pending)?,
636 Self::rmrk_property(PendingResourceRemoval, &false)?,
637 ]
638 .into_iter(),
639 ),
640 )
641 .map_err(|err| match err {
642 DispatchError::Arithmetic(_) => <Error<T>>::NoAvailableNftId.into(),
643 err => Self::map_common_err_to_proxy(err),
644 })?;
645
646 Ok(resource_id.0)
647 }
648
468 fn change_collection_owner(649 fn change_collection_owner(
469 collection_id: CollectionId,650 collection_id: CollectionId,
470 collection_type: misc::CollectionType,651 collection_type: misc::CollectionType,
493 <CollectionIndex<T>>::get()674 <CollectionIndex<T>>::get()
494 }675 }
495676
496 pub fn unique_collection_id(rmrk_collection_id: RmrkCollectionId) -> Result<CollectionId, DispatchError> {677 pub fn unique_collection_id(
678 rmrk_collection_id: RmrkCollectionId,
679 ) -> Result<CollectionId, DispatchError> {
497 <CollectionIndexMap<T>>::try_get(rmrk_collection_id).map_err(|_| <Error<T>>::CollectionUnknown.into())680 <CollectionIndexMap<T>>::try_get(rmrk_collection_id)
681 .map_err(|_| <Error<T>>::CollectionUnknown.into())
498 }682 }
499683
500 pub fn get_nft_collection(684 pub fn get_nft_collection(
513 <CollectionHandle<T>>::try_get(collection_id).is_ok()697 <CollectionHandle<T>>::try_get(collection_id).is_ok()
514 }698 }
515699
516 pub fn nft_exists(collection_id: CollectionId, nft_id: TokenId) -> bool {
517 <TokenData<T>>::contains_key((collection_id, nft_id))
518 }
519
520 pub fn get_collection_property(700 pub fn get_collection_property(
521 collection_id: CollectionId,701 collection_id: CollectionId,
522 key: RmrkProperty,702 key: RmrkProperty,
553 Ok(())733 Ok(())
554 }734 }
555735
736 pub fn get_typed_nft_collection(
737 collection_id: CollectionId,
738 collection_type: misc::CollectionType,
739 ) -> Result<NonfungibleHandle<T>, DispatchError> {
740 Self::ensure_collection_type(collection_id, collection_type)?;
741
742 Self::get_nft_collection(collection_id)
743 }
744
556 pub fn get_nft_property(745 pub fn get_nft_property(
557 collection_id: CollectionId,746 collection_id: CollectionId,
558 nft_id: TokenId,747 nft_id: TokenId,
559 key: RmrkProperty,748 key: RmrkProperty,
560 ) -> Result<PropertyValue, DispatchError> {749 ) -> Result<PropertyValue, DispatchError> {
561 let nft_property = <PalletNft<T>>::token_properties((collection_id, nft_id))750 let nft_property = <PalletNft<T>>::token_properties((collection_id, nft_id))
562 .get(&Self::rmrk_property_key(key)?)751 .get(&Self::rmrk_property_key(key)?)
563 .ok_or(<Error<T>>::NoAvailableNftId)?752 .ok_or(<Error<T>>::NoAvailableNftId)? // todo replace with better error
564 .clone();753 .clone();
565754
566 Ok(nft_property)755 Ok(nft_property)
567 }756 }
568757
758 pub fn nft_exists(collection_id: CollectionId, nft_id: TokenId) -> bool {
759 <TokenData<T>>::contains_key((collection_id, nft_id))
760 }
761
569 pub fn get_nft_type(762 pub fn get_nft_type(
570 _collection_id: CollectionId,763 collection_id: CollectionId,
571 _token_id: TokenId,764 token_id: TokenId,
572 ) -> Result<NftType, DispatchError> {765 ) -> Result<NftType, DispatchError> {
573 todo!("should get it from properties?")766 Ok(Self::get_nft_property(collection_id, token_id, TokenType)?.decode_or_default())
767 // todo throw error
768 // NftTypeEncodeError?
574 }769 }
575770
576 pub fn ensure_nft_type(771 pub fn ensure_nft_type(
673 });868 });
674869
675 Ok(properties)870 Ok(properties)
676 }
677
678 pub fn get_typed_nft_collection(
679 collection_id: CollectionId,
680 collection_type: misc::CollectionType,
681 ) -> Result<NonfungibleHandle<T>, DispatchError> {
682 Self::ensure_collection_type(collection_id, collection_type)?;
683
684 Self::get_nft_collection(collection_id)
685 }871 }
686872
687 fn map_common_err_to_proxy(err: DispatchError) -> DispatchError {873 fn map_common_err_to_proxy(err: DispatchError) -> DispatchError {
modifiedpallets/proxy-rmrk-core/src/misc.rsdiffbeforeafterboth
18 fn decode_or_default(&self) -> T;18 fn decode_or_default(&self) -> T;
19}19}
2020
21// todo fail if unwrap doesn't work
21impl<T: Decode + Default, S> RmrkDecode<T, S> for BoundedVec<u8, S> {22impl<T: Decode + Default, S> RmrkDecode<T, S> for BoundedVec<u8, S> {
22 fn decode_or_default(&self) -> T {23 fn decode_or_default(&self) -> T {
23 let mut value = self.as_slice();24 let mut value = self.as_slice();
30 fn rebind(&self) -> BoundedVec<u8, S>;31 fn rebind(&self) -> BoundedVec<u8, S>;
31}32}
3233
34// todo fail if unwrap doesn't work
33impl<T, S> RmrkRebind<T, S> for BoundedVec<u8, T>35impl<T, S> RmrkRebind<T, S> for BoundedVec<u8, T>
34where36where
35 BoundedVec<u8, S>: TryFrom<Vec<u8>>,37 BoundedVec<u8, S>: TryFrom<Vec<u8>>,
46 Base,48 Base,
47}49}
4850
51// todo remove default?
49#[derive(Encode, Decode, PartialEq, Eq)]52#[derive(Encode, Decode, PartialEq, Eq, Default)]
50pub enum NftType {53pub enum NftType {
54 #[default]
51 Regular,55 Regular,
52 Resource,56 Resource,
53 FixedPart,57 FixedPart,
54 SlotPart,58 SlotPart,
55 Theme,59 Theme,
56}60}
61
62// todo remove default?
63#[derive(Encode, Decode, PartialEq, Eq, Default)]
64pub enum ResourceType {
65 #[default]
66 Basic,
67 Composable,
68 Slot,
69}
5770
modifiedpallets/proxy-rmrk-core/src/property.rsdiffbeforeafterboth
4pub enum RmrkProperty<'r> {4pub enum RmrkProperty<'r> {
5 Metadata,5 Metadata,
6 CollectionType,6 CollectionType,
7 TokenType,
7 RoyaltyInfo,8 RoyaltyInfo,
8 Equipped,9 Equipped,
9 ResourceCollection,10 ResourceCollection,
47 match self {48 match self {
48 Self::Metadata => key!("metadata"),49 Self::Metadata => key!("metadata"),
49 Self::CollectionType => key!("collection-type"),50 Self::CollectionType => key!("collection-type"),
51 Self::TokenType => key!("token-type"),
50 Self::RoyaltyInfo => key!("royalty-info"),52 Self::RoyaltyInfo => key!("royalty-info"),
51 Self::Equipped => key!("equipped"),53 Self::Equipped => key!("equipped"),
52 Self::ResourceCollection => key!("resource-collection"),54 Self::ResourceCollection => key!("resource-collection"),
modifiedpallets/proxy-rmrk-equip/src/lib.rsdiffbeforeafterboth
166 &sender,166 &sender,
167 owner,167 owner,
168 &collection,168 &collection,
169 [
169 NftType::Theme,170 <PalletCore<T>>::rmrk_property(TokenType, &NftType::Theme)?,
170 [
171 <PalletCore<T>>::rmrk_property(ThemeName, &theme.name)?,171 <PalletCore<T>>::rmrk_property(ThemeName, &theme.name)?,
172 <PalletCore<T>>::rmrk_property(ThemeInherit, &theme.inherit)?,172 <PalletCore<T>>::rmrk_property(ThemeInherit, &theme.inherit)?,
173 ]173 ]
174 .into_iter(),174 .into_iter(),
175 )175 )
176 .map_err(|_| <Error<T>>::PermissionError)?;176 .map_err(|_| <Error<T>>::PermissionError)?;
212 sender,212 sender,
213 owner,213 owner,
214 collection,214 collection,
215 nft_type,
216 [215 [
216 <PalletCore<T>>::rmrk_property(TokenType, &nft_type)?,
217 <PalletCore<T>>::rmrk_property(Src, &src)?,217 <PalletCore<T>>::rmrk_property(Src, &src)?,
218 <PalletCore<T>>::rmrk_property(ZIndex, &z_index)?,218 <PalletCore<T>>::rmrk_property(ZIndex, &z_index)?,
219 ]219 ]
modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
41// RMRK41// RMRK
42use rmrk::{42use rmrk::{
43 CollectionInfo, NftInfo, ResourceInfo, PropertyInfo, BaseInfo, PartType, Theme, ThemeProperty,43 CollectionInfo, NftInfo, ResourceInfo, PropertyInfo, BaseInfo, PartType, Theme, ThemeProperty,
44 ResourceTypes, BasicResource, ComposableResource, SlotResource,
44};45};
45pub use rmrk::{46pub use rmrk::{
46 primitives::{47 primitives::{
49 },50 },
50 NftChild as RmrkNftChild, AccountIdOrCollectionNftTuple as RmrkAccountIdOrCollectionNftTuple,51 NftChild as RmrkNftChild, AccountIdOrCollectionNftTuple as RmrkAccountIdOrCollectionNftTuple,
51 FixedPart as RmrkFixedPart, SlotPart as RmrkSlotPart, EquippableList as RmrkEquippableList,52 FixedPart as RmrkFixedPart, SlotPart as RmrkSlotPart, EquippableList as RmrkEquippableList,
52 BasicResource as RmrkBasicResource, ComposableResource as RmrkComposableResource,
53 SlotResource as RmrkSlotResource,
54};53};
5554
56mod bounded;55mod bounded;
942pub type RmrkCollectionInfo<AccountId> =941pub type RmrkCollectionInfo<AccountId> =
943 CollectionInfo<RmrkString, RmrkCollectionSymbol, AccountId>;942 CollectionInfo<RmrkString, RmrkCollectionSymbol, AccountId>;
944pub type RmrkInstanceInfo<AccountId> = NftInfo<AccountId, Permill, RmrkString>;943pub type RmrkInstanceInfo<AccountId> = NftInfo<AccountId, Permill, RmrkString>;
945pub type RmrkResourceInfo = ResourceInfo<RmrkBoundedResource, RmrkString, RmrkBoundedParts>;944pub type RmrkResourceInfo = ResourceInfo<RmrkString, RmrkBoundedParts>;
946pub type RmrkPropertyInfo = PropertyInfo<RmrkKeyString, RmrkValueString>;945pub type RmrkPropertyInfo = PropertyInfo<RmrkKeyString, RmrkValueString>;
947pub type RmrkBaseInfo<AccountId> = BaseInfo<AccountId, RmrkString>;946pub type RmrkBaseInfo<AccountId> = BaseInfo<AccountId, RmrkString>;
948pub type RmrkPartType =947pub type RmrkPartType =
949 PartType<RmrkString, BoundedVec<RmrkCollectionId, RmrkMaxCollectionsEquippablePerPart>>;948 PartType<RmrkString, BoundedVec<RmrkCollectionId, RmrkMaxCollectionsEquippablePerPart>>;
950pub type RmrkThemeProperty = ThemeProperty<RmrkString>;949pub type RmrkThemeProperty = ThemeProperty<RmrkString>;
951pub type RmrkTheme = Theme<RmrkString, Vec<RmrkThemeProperty>>;950pub type RmrkTheme = Theme<RmrkString, Vec<RmrkThemeProperty>>;
952951pub type RmrkResourceTypes = ResourceTypes<RmrkString, RmrkBoundedParts>;
952
953pub type RmrkBasicResource = BasicResource<RmrkString>;
954pub type RmrkComposableResource = ComposableResource<RmrkString, RmrkBoundedParts>;
955pub type RmrkSlotResource = SlotResource<RmrkString>;
956
957pub type RmrkString = BoundedVec<u8, RmrkStringLimit>;
953pub type RmrkCollectionSymbol = BoundedVec<u8, RmrkCollectionSymbolLimit>;958pub type RmrkCollectionSymbol = BoundedVec<u8, RmrkCollectionSymbolLimit>;
954pub type RmrkKeyString = BoundedVec<u8, RmrkKeyLimit>;959pub type RmrkKeyString = BoundedVec<u8, RmrkKeyLimit>;
955pub type RmrkValueString = BoundedVec<u8, RmrkValueLimit>;960pub type RmrkValueString = BoundedVec<u8, RmrkValueLimit>;
956
957type RmrkBoundedResource = BoundedVec<u8, RmrkResourceSymbolLimit>;961pub type RmrkBoundedResource = BoundedVec<u8, RmrkResourceSymbolLimit>;
958type RmrkBoundedParts = BoundedVec<RmrkPartId, RmrkPartsLimit>;962pub type RmrkBoundedParts = BoundedVec<RmrkPartId, RmrkPartsLimit>; // todo make sure it is needed
959963
960pub type RmrkRpcString = Vec<u8>;964pub type RmrkRpcString = Vec<u8>;
961pub type RmrkThemeName = RmrkRpcString;965pub type RmrkThemeName = RmrkRpcString;
962pub type RmrkPropertyKey = RmrkRpcString;966pub type RmrkPropertyKey = RmrkRpcString;
963
964pub type RmrkString = BoundedVec<u8, RmrkStringLimit>;
965967
modifiedprimitives/data-structs/src/rmrk.rsdiffbeforeafterboth
281#[cfg_attr(feature = "std", derive(Serialize))]281#[cfg_attr(feature = "std", derive(Serialize))]
282#[cfg_attr(282#[cfg_attr(
283 feature = "std",283 feature = "std",
284 serde(bound = r#"284 serde(bound = r#"
285 BoundedResource: AsRef<[u8]>,285 BoundedString: AsRef<[u8]>,
286 BoundedString: AsRef<[u8]>,286 BoundedParts: AsRef<[PartId]>
287 BoundedParts: AsRef<[PartId]>287 "#)
288 "#)
289)]288)]
290pub struct ResourceInfo<BoundedResource, BoundedString: Default, BoundedParts> {289pub struct ResourceInfo<BoundedString: Default, BoundedParts> {
291 /// id is a 5-character string of reasonable uniqueness.290 /// id is a 5-character string of reasonable uniqueness.
292 /// The combination of base ID and resource id should be unique across the entire RMRK291 /// The combination of base ID and resource id should be unique across the entire RMRK
293 /// ecosystem which292 /// ecosystem which
294 #[cfg_attr(feature = "std", serde(with = "serialize::vec"))]293 //#[cfg_attr(feature = "std", serde(with = "serialize::vec"))]
295 pub id: BoundedResource,294 pub id: ResourceId,
296295
297 /// Resource296 /// Resource
298 pub resource: ResourceTypes<BoundedString, BoundedParts>,297 pub resource: ResourceTypes<BoundedString, BoundedParts>,
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
152 Err(_) => return Ok(None),152 Err(_) => return Ok(None),
153 };153 };
154154
155 // todo replace dispatch... calls with calls to rmrkcore and NFT collection. There's no point trying non-NFT collections
155 let nfts_count = dispatch_unique_runtime!(collection_id.total_supply())?;156 let nfts_count = dispatch_unique_runtime!(collection_id.total_supply())?;
156157
157 Ok(Some(RmrkCollectionInfo {158 Ok(Some(RmrkCollectionInfo {
171 let nft_id = TokenId(nft_by_id);172 let nft_id = TokenId(nft_by_id);
172 if !RmrkCore::nft_exists(collection_id, nft_id) { return Ok(None); }173 if !RmrkCore::nft_exists(collection_id, nft_id) { return Ok(None); }
173174
175 // todo replace dispatch with collection
174 let owner = match dispatch_unique_runtime!(collection_id.token_owner(nft_id))? {176 let owner = match dispatch_unique_runtime!(collection_id.token_owner(nft_id))? {
175 Some(owner) => match <Runtime as pallet_common::Config>::CrossTokenAddressMapping::address_to_token(&owner) {177 Some(owner) => match <Runtime as pallet_common::Config>::CrossTokenAddressMapping::address_to_token(&owner) {
176 Some((col, tok)) => RmrkAccountIdOrCollectionNftTuple::CollectionAndNftTuple(col.0, tok.0),178 Some((col, tok)) => RmrkAccountIdOrCollectionNftTuple::CollectionAndNftTuple(col.0, tok.0),
270272
271 fn nft_resources(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkResourceInfo>, DispatchError> {273 fn nft_resources(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkResourceInfo>, DispatchError> {
272 use frame_support::BoundedVec;274 use frame_support::BoundedVec;
273 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, RmrkDecode}};275 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, ResourceType, RmrkDecode}};
276 use pallet_common::CommonCollectionOperations;
274277
275 let collection_id = RmrkCore::unique_collection_id(collection_id)?;278 let collection_id = RmrkCore::unique_collection_id(collection_id)?;
276 if !RmrkCore::collection_exists(collection_id) { return Ok(Vec::new()); } // todo make sure the collection type doesn't matter279 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() { return Ok(Vec::new()); }
277280
278 let nft_id = TokenId(nft_id);281 let nft_id = TokenId(nft_id);
279 if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Resource).is_err() { return Ok(Vec::new()); }282 if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Regular).is_err() { return Ok(Vec::new()); }
280283
281 let resource_collection_id: CollectionId = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourceCollection)284 let res_collection_id: CollectionId = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourceCollection)?
282 .unwrap()
283 .decode_or_default();285 .decode_or_default();
284 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Resource).is_err() { return Ok(Vec::new()); }286 let resource_collection = RmrkCore::get_typed_nft_collection(res_collection_id, CollectionType::Resource)?;
285287
286 let resources = pallet_nonfungible::TokenProperties::<Runtime>::iter_prefix((resource_collection_id,))288 let resources = resource_collection
289 .collection_tokens()
290 .iter()
287 .filter_map(|(resource_id, properties)| Some(RmrkResourceInfo {291 .filter_map(|(res_id)| Some(RmrkResourceInfo {
288 id: BoundedVec::default(), // todo ResourceId property292 id: res_id.0,
289 pending: RmrkCore::get_nft_property(resource_collection_id, resource_id, RmrkProperty::PendingResourceAccept).unwrap().decode_or_default(),293 pending: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::PendingResourceAccept).unwrap().decode_or_default(),
290 pending_removal: RmrkCore::get_nft_property(resource_collection_id, resource_id, RmrkProperty::PendingResourceRemoval).unwrap().decode_or_default(),294 pending_removal: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::PendingResourceRemoval).unwrap().decode_or_default(),
291 resource: RmrkCore::get_nft_property(resource_collection_id, resource_id, RmrkProperty::ResourceType).unwrap().decode_or_default(),/* {295 resource: match RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::ResourceType).unwrap().decode_or_default() {
292 RmrkResourceTypes::Basic(resource) => RmrkResourceTypes::Basic(),/*(RmrkBasicResource {296 ResourceType::Basic => RmrkResourceTypes::Basic(RmrkBasicResource {
293 src: RmrkCore::get_nft_property_inner(properties, RmrkProperty::Src).unwrap().decode_or_default(),297 src: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Src).unwrap().decode_or_default(),
294 metadata: RmrkCore::get_nft_property_inner(properties, RmrkProperty::Metadata).unwrap().decode_or_default(),298 metadata: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Metadata).unwrap().decode_or_default(),
295 license: RmrkCore::get_nft_property_inner(properties, RmrkProperty::License).unwrap().decode_or_default(),299 license: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::License).unwrap().decode_or_default(),
296 thumb: RmrkCore::get_nft_property_inner(properties, RmrkProperty::Thumb).unwrap().decode_or_default(),300 thumb: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Thumb).unwrap().decode_or_default(),
297 },*///BasicResource<BoundedString>)301 }),
298 _ => todo!(), //RmrkResourceTypes::Composable(ComposableResource<BoundedString, BoundedParts>),302 ResourceType::Composable => RmrkResourceTypes::Composable(RmrkComposableResource {
299 //RmrkResourceTypes::Slot(SlotResource<BoundedString>),303 parts: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Parts).unwrap().decode_or_default(),
300 },*/304 base: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Base).unwrap().decode_or_default(),
305 src: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Src).unwrap().decode_or_default(),
306 metadata: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Metadata).unwrap().decode_or_default(),
307 license: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::License).unwrap().decode_or_default(),
308 thumb: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Thumb).unwrap().decode_or_default(),
309 }),
310 ResourceType::Slot => RmrkResourceTypes::Slot(RmrkSlotResource {
311 base: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Base).unwrap().decode_or_default(),
312 src: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Src).unwrap().decode_or_default(),
313 metadata: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Metadata).unwrap().decode_or_default(),
314 slot: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Slot).unwrap().decode_or_default(),
315 license: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::License).unwrap().decode_or_default(),
316 thumb: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Thumb).unwrap().decode_or_default(),
317 }),
318 // todo refactor :|
319 },
301 }))320 }))
302 .collect();321 .collect();
303322
308 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, RmrkDecode}};327 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, RmrkDecode}};
309328
310 let collection_id = RmrkCore::unique_collection_id(collection_id)?;329 let collection_id = RmrkCore::unique_collection_id(collection_id)?;
311 if !RmrkCore::collection_exists(collection_id) { return Ok(Vec::new()); } // todo ensure the collection type doesn't matter330 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() { return Ok(Vec::new()); }
312331
313 let nft_id = TokenId(nft_id);332 let nft_id = TokenId(nft_id);
314 if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Resource).is_err() { return Ok(Vec::new()); }333 if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Regular).is_err() { return Ok(Vec::new()); }
315334
316 /*let resource_collection_id: CollectionId = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourceCollection)335 /*let resource_collection_id: CollectionId = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourceCollection)
317 .unwrap()336 .unwrap()
327 .sort_by_key(|(_, index)| *index)346 .sort_by_key(|(_, index)| *index)
328 .into_iter().map(|(resource_id, _)| resource_id)*/347 .into_iter().map(|(resource_id, _)| resource_id)*/
329 let priorities = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourcePriorities)?.decode_or_default();348 let priorities = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourcePriorities)?.decode_or_default();
349 // todo let it simply be default here after removing default from decode
330350
331 Ok(priorities)351 Ok(priorities)
332 }352 }
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
437 **/437 **/
438 [key: string]: AugmentedError<ApiType>;438 [key: string]: AugmentedError<ApiType>;
439 };439 };
440 rmrkCore: {
441 CollectionFullOrLocked: AugmentedError<ApiType>;
442 CollectionNotEmpty: AugmentedError<ApiType>;
443 CollectionUnknown: AugmentedError<ApiType>;
444 CorruptedCollectionType: AugmentedError<ApiType>;
445 NftTypeEncodeError: AugmentedError<ApiType>;
446 NoAvailableCollectionId: AugmentedError<ApiType>;
447 NoAvailableNftId: AugmentedError<ApiType>;
448 NoPermission: AugmentedError<ApiType>;
449 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;
450 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;
451 /**
452 * Generic error
453 **/
454 [key: string]: AugmentedError<ApiType>;
455 };
456 rmrkEquip: {
457 BaseDoesntExist: AugmentedError<ApiType>;
458 NeedsDefaultThemeFirst: AugmentedError<ApiType>;
459 NoAvailableBaseId: AugmentedError<ApiType>;
460 NoAvailablePartId: AugmentedError<ApiType>;
461 PermissionError: AugmentedError<ApiType>;
462 /**
463 * Generic error
464 **/
465 [key: string]: AugmentedError<ApiType>;
466 };
440 structure: {467 structure: {
441 /**468 /**
442 * While searched for owner, encountered depth limit469 * While searched for owner, encountered depth limit
modifiedtests/src/interfaces/augment-api-events.tsdiffbeforeafterboth
396 **/396 **/
397 [key: string]: AugmentedEvent<ApiType>;397 [key: string]: AugmentedEvent<ApiType>;
398 };398 };
399 rmrkCore: {
400 CollectionCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
401 CollectionDestroyed: AugmentedEvent<ApiType, [AccountId32, u32]>;
402 CollectionLocked: AugmentedEvent<ApiType, [AccountId32, u32]>;
403 IssuerChanged: AugmentedEvent<ApiType, [AccountId32, AccountId32, u32]>;
404 NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;
405 NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
406 PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
407 ResourceAdded: AugmentedEvent<ApiType, [u32, u32]>;
408 /**
409 * Generic event
410 **/
411 [key: string]: AugmentedEvent<ApiType>;
412 };
413 rmrkEquip: {
414 BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
415 /**
416 * Generic event
417 **/
418 [key: string]: AugmentedEvent<ApiType>;
419 };
399 structure: {420 structure: {
400 /**421 /**
401 * Executed call on behalf of token422 * Executed call on behalf of token
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
415 **/415 **/
416 [key: string]: QueryableStorageEntry<ApiType>;416 [key: string]: QueryableStorageEntry<ApiType>;
417 };417 };
418 rmrkCore: {
419 collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
420 collectionIndexMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
421 /**
422 * Generic query
423 **/
424 [key: string]: QueryableStorageEntry<ApiType>;
425 };
426 rmrkEquip: {
427 baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
428 inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
429 /**
430 * Generic query
431 **/
432 [key: string]: QueryableStorageEntry<ApiType>;
433 };
418 structure: {434 structure: {
419 /**435 /**
420 * Generic query436 * Generic query
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
22import type { StorageKind } from '@polkadot/types/interfaces/offchain';22import type { StorageKind } from '@polkadot/types/interfaces/offchain';
23import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';23import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
24import type { RpcMethods } from '@polkadot/types/interfaces/rpc';24import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
25import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';25import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
26import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';26import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
27import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';27import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
28import type { IExtrinsic, Observable } from '@polkadot/types/types';28import type { IExtrinsic, Observable } from '@polkadot/types/types';
397 **/397 **/
398 queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;398 queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
399 };399 };
400 rmrk: {
401 /**
402 * Get tokens owned by an account in a collection
403 **/
404 accountTokens: AugmentedRpc<(accountId: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;
405 /**
406 * Get base info
407 **/
408 base: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkBaseInfo>>>;
409 /**
410 * Get all Base's parts
411 **/
412 baseParts: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPartType>>>;
413 /**
414 * Get collection by id
415 **/
416 collectionById: AugmentedRpc<(id: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkCollectionInfo>>>;
417 /**
418 * Get collection properties
419 **/
420 collectionProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPropertyInfo>>>;
421 /**
422 * Get the latest created collection id
423 **/
424 lastCollectionIdx: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<u32>>;
425 /**
426 * Get NFT by collection id and NFT id
427 **/
428 nftById: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkNftInfo>>>;
429 /**
430 * Get NFT children
431 **/
432 nftChildren: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkNftChild>>>;
433 /**
434 * Get NFT properties
435 **/
436 nftProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPropertyInfo>>>;
437 /**
438 * Get NFT resource priorities
439 **/
440 nftResourcePriorities: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<Bytes>>>;
441 /**
442 * Get NFT resources
443 **/
444 nftResources: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkResourceInfo>>>;
445 /**
446 * Get Base's theme names
447 **/
448 themeNames: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<Bytes>>>;
449 /**
450 * Get Theme's keys values
451 **/
452 themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkTheme>>>;
453 };
400 rpc: {454 rpc: {
401 /**455 /**
402 * Retrieves the list of RPC methods that are exposed by the node456 * Retrieves the list of RPC methods that are exposed by the node
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
4import type { ApiTypes } from '@polkadot/api-base/types';4import type { ApiTypes } from '@polkadot/api-base/types';
5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
6import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRmrkBasicResource, UpDataStructsRmrkComposableResource, UpDataStructsRmrkPartType, UpDataStructsRmrkSlotResource, UpDataStructsRmrkTheme, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
99
10declare module '@polkadot/api-base/types/submittable' {10declare module '@polkadot/api-base/types/submittable' {
11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {
346 **/346 **/
347 [key: string]: SubmittableExtrinsicFunction<ApiType>;347 [key: string]: SubmittableExtrinsicFunction<ApiType>;
348 };348 };
349 rmrkCore: {
350 addBasicResource: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: UpDataStructsRmrkBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, UpDataStructsRmrkBasicResource]>;
351 addComposableResource: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: Bytes | string | Uint8Array, resource: UpDataStructsRmrkComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes, UpDataStructsRmrkComposableResource]>;
352 addSlotResource: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: UpDataStructsRmrkSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, UpDataStructsRmrkSlotResource]>;
353 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
354 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
355 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;
356 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
357 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
358 mintNft: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes]>;
359 setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | object | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;
360 /**
361 * Generic tx
362 **/
363 [key: string]: SubmittableExtrinsicFunction<ApiType>;
364 };
365 rmrkEquip: {
366 createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<UpDataStructsRmrkPartType> | (UpDataStructsRmrkPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<UpDataStructsRmrkPartType>]>;
367 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: UpDataStructsRmrkTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsRmrkTheme]>;
368 /**
369 * Generic tx
370 **/
371 [key: string]: SubmittableExtrinsicFunction<ApiType>;
372 };
349 structure: {373 structure: {
350 /**374 /**
351 * Generic tx375 * Generic tx
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
788 PalletNonfungibleItemData: PalletNonfungibleItemData;788 PalletNonfungibleItemData: PalletNonfungibleItemData;
789 PalletRefungibleError: PalletRefungibleError;789 PalletRefungibleError: PalletRefungibleError;
790 PalletRefungibleItemData: PalletRefungibleItemData;790 PalletRefungibleItemData: PalletRefungibleItemData;
791 PalletRmrkCoreCall: PalletRmrkCoreCall;
792 PalletRmrkCoreError: PalletRmrkCoreError;
793 PalletRmrkCoreEvent: PalletRmrkCoreEvent;
794 PalletRmrkEquipCall: PalletRmrkEquipCall;
795 PalletRmrkEquipError: PalletRmrkEquipError;
796 PalletRmrkEquipEvent: PalletRmrkEquipEvent;
791 PalletsOrigin: PalletsOrigin;797 PalletsOrigin: PalletsOrigin;
792 PalletStorageMetadataLatest: PalletStorageMetadataLatest;798 PalletStorageMetadataLatest: PalletStorageMetadataLatest;
793 PalletStorageMetadataV14: PalletStorageMetadataV14;799 PalletStorageMetadataV14: PalletStorageMetadataV14;
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
1129 readonly constData: Bytes;1129 readonly constData: Bytes;
1130}1130}
1131
1132/** @name PalletRmrkCoreCall */
1133export interface PalletRmrkCoreCall extends Enum {
1134 readonly isCreateCollection: boolean;
1135 readonly asCreateCollection: {
1136 readonly metadata: Bytes;
1137 readonly max: Option<u32>;
1138 readonly symbol: Bytes;
1139 } & Struct;
1140 readonly isDestroyCollection: boolean;
1141 readonly asDestroyCollection: {
1142 readonly collectionId: u32;
1143 } & Struct;
1144 readonly isChangeCollectionIssuer: boolean;
1145 readonly asChangeCollectionIssuer: {
1146 readonly collectionId: u32;
1147 readonly newIssuer: MultiAddress;
1148 } & Struct;
1149 readonly isLockCollection: boolean;
1150 readonly asLockCollection: {
1151 readonly collectionId: u32;
1152 } & Struct;
1153 readonly isMintNft: boolean;
1154 readonly asMintNft: {
1155 readonly owner: AccountId32;
1156 readonly collectionId: u32;
1157 readonly recipient: Option<AccountId32>;
1158 readonly royaltyAmount: Option<Permill>;
1159 readonly metadata: Bytes;
1160 } & Struct;
1161 readonly isBurnNft: boolean;
1162 readonly asBurnNft: {
1163 readonly collectionId: u32;
1164 readonly nftId: u32;
1165 } & Struct;
1166 readonly isSetProperty: boolean;
1167 readonly asSetProperty: {
1168 readonly rmrkCollectionId: Compact<u32>;
1169 readonly maybeNftId: Option<u32>;
1170 readonly key: Bytes;
1171 readonly value: Bytes;
1172 } & Struct;
1173 readonly isAddBasicResource: boolean;
1174 readonly asAddBasicResource: {
1175 readonly collectionId: u32;
1176 readonly nftId: u32;
1177 readonly resource: UpDataStructsRmrkBasicResource;
1178 } & Struct;
1179 readonly isAddComposableResource: boolean;
1180 readonly asAddComposableResource: {
1181 readonly collectionId: u32;
1182 readonly nftId: u32;
1183 readonly resourceId: Bytes;
1184 readonly resource: UpDataStructsRmrkComposableResource;
1185 } & Struct;
1186 readonly isAddSlotResource: boolean;
1187 readonly asAddSlotResource: {
1188 readonly collectionId: u32;
1189 readonly nftId: u32;
1190 readonly resource: UpDataStructsRmrkSlotResource;
1191 } & Struct;
1192 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';
1193}
1194
1195/** @name PalletRmrkCoreError */
1196export interface PalletRmrkCoreError extends Enum {
1197 readonly isCorruptedCollectionType: boolean;
1198 readonly isNftTypeEncodeError: boolean;
1199 readonly isRmrkPropertyKeyIsTooLong: boolean;
1200 readonly isRmrkPropertyValueIsTooLong: boolean;
1201 readonly isCollectionNotEmpty: boolean;
1202 readonly isNoAvailableCollectionId: boolean;
1203 readonly isNoAvailableNftId: boolean;
1204 readonly isCollectionUnknown: boolean;
1205 readonly isNoPermission: boolean;
1206 readonly isCollectionFullOrLocked: boolean;
1207 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';
1208}
1209
1210/** @name PalletRmrkCoreEvent */
1211export interface PalletRmrkCoreEvent extends Enum {
1212 readonly isCollectionCreated: boolean;
1213 readonly asCollectionCreated: {
1214 readonly issuer: AccountId32;
1215 readonly collectionId: u32;
1216 } & Struct;
1217 readonly isCollectionDestroyed: boolean;
1218 readonly asCollectionDestroyed: {
1219 readonly issuer: AccountId32;
1220 readonly collectionId: u32;
1221 } & Struct;
1222 readonly isIssuerChanged: boolean;
1223 readonly asIssuerChanged: {
1224 readonly oldIssuer: AccountId32;
1225 readonly newIssuer: AccountId32;
1226 readonly collectionId: u32;
1227 } & Struct;
1228 readonly isCollectionLocked: boolean;
1229 readonly asCollectionLocked: {
1230 readonly issuer: AccountId32;
1231 readonly collectionId: u32;
1232 } & Struct;
1233 readonly isNftMinted: boolean;
1234 readonly asNftMinted: {
1235 readonly owner: AccountId32;
1236 readonly collectionId: u32;
1237 readonly nftId: u32;
1238 } & Struct;
1239 readonly isNftBurned: boolean;
1240 readonly asNftBurned: {
1241 readonly owner: AccountId32;
1242 readonly nftId: u32;
1243 } & Struct;
1244 readonly isPropertySet: boolean;
1245 readonly asPropertySet: {
1246 readonly collectionId: u32;
1247 readonly maybeNftId: Option<u32>;
1248 readonly key: Bytes;
1249 readonly value: Bytes;
1250 } & Struct;
1251 readonly isResourceAdded: boolean;
1252 readonly asResourceAdded: {
1253 readonly nftId: u32;
1254 readonly resourceId: u32;
1255 } & Struct;
1256 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet' | 'ResourceAdded';
1257}
1258
1259/** @name PalletRmrkEquipCall */
1260export interface PalletRmrkEquipCall extends Enum {
1261 readonly isCreateBase: boolean;
1262 readonly asCreateBase: {
1263 readonly baseType: Bytes;
1264 readonly symbol: Bytes;
1265 readonly parts: Vec<UpDataStructsRmrkPartType>;
1266 } & Struct;
1267 readonly isThemeAdd: boolean;
1268 readonly asThemeAdd: {
1269 readonly baseId: u32;
1270 readonly theme: UpDataStructsRmrkTheme;
1271 } & Struct;
1272 readonly type: 'CreateBase' | 'ThemeAdd';
1273}
1274
1275/** @name PalletRmrkEquipError */
1276export interface PalletRmrkEquipError extends Enum {
1277 readonly isPermissionError: boolean;
1278 readonly isNoAvailableBaseId: boolean;
1279 readonly isNoAvailablePartId: boolean;
1280 readonly isBaseDoesntExist: boolean;
1281 readonly isNeedsDefaultThemeFirst: boolean;
1282 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
1283}
1284
1285/** @name PalletRmrkEquipEvent */
1286export interface PalletRmrkEquipEvent extends Enum {
1287 readonly isBaseCreated: boolean;
1288 readonly asBaseCreated: {
1289 readonly issuer: AccountId32;
1290 readonly baseId: u32;
1291 } & Struct;
1292 readonly type: 'BaseCreated';
1293}
11311294
1132/** @name PalletStructureCall */1295/** @name PalletStructureCall */
1133export interface PalletStructureCall extends Null {}1296export interface PalletStructureCall extends Null {}
20142177
2015/** @name UpDataStructsRmrkResourceInfo */2178/** @name UpDataStructsRmrkResourceInfo */
2016export interface UpDataStructsRmrkResourceInfo extends Struct {2179export interface UpDataStructsRmrkResourceInfo extends Struct {
2017 readonly id: Bytes;2180 readonly id: u32;
2018 readonly resource: UpDataStructsRmrkResourceTypes;2181 readonly resource: UpDataStructsRmrkResourceTypes;
2019 readonly pending: bool;2182 readonly pending: bool;
2020 readonly pendingRemoval: bool;2183 readonly pendingRemoval: bool;
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
1527 * Lookup205: pallet_structure::pallet::Call<T>1527 * Lookup205: pallet_structure::pallet::Call<T>
1528 **/1528 **/
1529 PalletStructureCall: 'Null',1529 PalletStructureCall: 'Null',
1530 /**
1531 * Lookup206: pallet_rmrk_core::pallet::Call<T>
1532 **/
1533 PalletRmrkCoreCall: {
1534 _enum: {
1535 create_collection: {
1536 metadata: 'Bytes',
1537 max: 'Option<u32>',
1538 symbol: 'Bytes',
1539 },
1540 destroy_collection: {
1541 collectionId: 'u32',
1542 },
1543 change_collection_issuer: {
1544 collectionId: 'u32',
1545 newIssuer: 'MultiAddress',
1546 },
1547 lock_collection: {
1548 collectionId: 'u32',
1549 },
1550 mint_nft: {
1551 owner: 'AccountId32',
1552 collectionId: 'u32',
1553 recipient: 'Option<AccountId32>',
1554 royaltyAmount: 'Option<Permill>',
1555 metadata: 'Bytes',
1556 },
1557 burn_nft: {
1558 collectionId: 'u32',
1559 nftId: 'u32',
1560 },
1561 set_property: {
1562 rmrkCollectionId: 'Compact<u32>',
1563 maybeNftId: 'Option<u32>',
1564 key: 'Bytes',
1565 value: 'Bytes',
1566 },
1567 add_basic_resource: {
1568 collectionId: 'u32',
1569 nftId: 'u32',
1570 resource: 'UpDataStructsRmrkBasicResource',
1571 },
1572 add_composable_resource: {
1573 collectionId: 'u32',
1574 nftId: 'u32',
1575 resourceId: 'Bytes',
1576 resource: 'UpDataStructsRmrkComposableResource',
1577 },
1578 add_slot_resource: {
1579 collectionId: 'u32',
1580 nftId: 'u32',
1581 resource: 'UpDataStructsRmrkSlotResource'
1582 }
1583 }
1584 },
1585 /**
1586 * Lookup212: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
1587 **/
1588 UpDataStructsRmrkBasicResource: {
1589 src: 'Option<Bytes>',
1590 metadata: 'Option<Bytes>',
1591 license: 'Option<Bytes>',
1592 thumb: 'Option<Bytes>'
1593 },
1594 /**
1595 * Lookup215: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
1596 **/
1597 UpDataStructsRmrkComposableResource: {
1598 parts: 'Vec<u32>',
1599 base: 'u32',
1600 src: 'Option<Bytes>',
1601 metadata: 'Option<Bytes>',
1602 license: 'Option<Bytes>',
1603 thumb: 'Option<Bytes>'
1604 },
1605 /**
1606 * Lookup217: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
1607 **/
1608 UpDataStructsRmrkSlotResource: {
1609 base: 'u32',
1610 src: 'Option<Bytes>',
1611 metadata: 'Option<Bytes>',
1612 slot: 'u32',
1613 license: 'Option<Bytes>',
1614 thumb: 'Option<Bytes>'
1615 },
1616 /**
1617 * Lookup218: pallet_rmrk_equip::pallet::Call<T>
1618 **/
1619 PalletRmrkEquipCall: {
1620 _enum: {
1621 create_base: {
1622 baseType: 'Bytes',
1623 symbol: 'Bytes',
1624 parts: 'Vec<UpDataStructsRmrkPartType>',
1625 },
1626 theme_add: {
1627 baseId: 'u32',
1628 theme: 'UpDataStructsRmrkTheme'
1629 }
1630 }
1631 },
1632 /**
1633 * Lookup220: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
1634 **/
1635 UpDataStructsRmrkPartType: {
1636 _enum: {
1637 FixedPart: 'UpDataStructsRmrkFixedPart',
1638 SlotPart: 'UpDataStructsRmrkSlotPart'
1639 }
1640 },
1641 /**
1642 * Lookup222: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
1643 **/
1644 UpDataStructsRmrkFixedPart: {
1645 id: 'u32',
1646 z: 'u32',
1647 src: 'Bytes'
1648 },
1649 /**
1650 * Lookup223: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
1651 **/
1652 UpDataStructsRmrkSlotPart: {
1653 id: 'u32',
1654 equippable: 'UpDataStructsRmrkEquippableList',
1655 src: 'Bytes',
1656 z: 'u32'
1657 },
1658 /**
1659 * Lookup224: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
1660 **/
1661 UpDataStructsRmrkEquippableList: {
1662 _enum: {
1663 All: 'Null',
1664 Empty: 'Null',
1665 Custom: 'Vec<u32>'
1666 }
1667 },
1668 /**
1669 * Lookup226: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
1670 **/
1671 UpDataStructsRmrkTheme: {
1672 name: 'Bytes',
1673 properties: 'Vec<UpDataStructsRmrkThemeProperty>',
1674 inherit: 'bool'
1675 },
1676 /**
1677 * Lookup228: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
1678 **/
1679 UpDataStructsRmrkThemeProperty: {
1680 key: 'Bytes',
1681 value: 'Bytes'
1682 },
1530 /**1683 /**
1531 * Lookup206: pallet_evm::pallet::Call<T>1684 * Lookup229: pallet_evm::pallet::Call<T>
1532 **/1685 **/
1533 PalletEvmCall: {1686 PalletEvmCall: {
1534 _enum: {1687 _enum: {
1535 withdraw: {1688 withdraw: {
1570 }1723 }
1571 }1724 }
1572 },1725 },
1573 /**1726 /**
1574 * Lookup212: pallet_ethereum::pallet::Call<T>1727 * Lookup235: pallet_ethereum::pallet::Call<T>
1575 **/1728 **/
1576 PalletEthereumCall: {1729 PalletEthereumCall: {
1577 _enum: {1730 _enum: {
1578 transact: {1731 transact: {
1579 transaction: 'EthereumTransactionTransactionV2'1732 transaction: 'EthereumTransactionTransactionV2'
1580 }1733 }
1581 }1734 }
1582 },1735 },
1583 /**1736 /**
1584 * Lookup213: ethereum::transaction::TransactionV21737 * Lookup236: ethereum::transaction::TransactionV2
1585 **/1738 **/
1586 EthereumTransactionTransactionV2: {1739 EthereumTransactionTransactionV2: {
1587 _enum: {1740 _enum: {
1588 Legacy: 'EthereumTransactionLegacyTransaction',1741 Legacy: 'EthereumTransactionLegacyTransaction',
1589 EIP2930: 'EthereumTransactionEip2930Transaction',1742 EIP2930: 'EthereumTransactionEip2930Transaction',
1590 EIP1559: 'EthereumTransactionEip1559Transaction'1743 EIP1559: 'EthereumTransactionEip1559Transaction'
1591 }1744 }
1592 },1745 },
1593 /**1746 /**
1594 * Lookup214: ethereum::transaction::LegacyTransaction1747 * Lookup237: ethereum::transaction::LegacyTransaction
1595 **/1748 **/
1596 EthereumTransactionLegacyTransaction: {1749 EthereumTransactionLegacyTransaction: {
1597 nonce: 'U256',1750 nonce: 'U256',
1598 gasPrice: 'U256',1751 gasPrice: 'U256',
1602 input: 'Bytes',1755 input: 'Bytes',
1603 signature: 'EthereumTransactionTransactionSignature'1756 signature: 'EthereumTransactionTransactionSignature'
1604 },1757 },
1605 /**1758 /**
1606 * Lookup215: ethereum::transaction::TransactionAction1759 * Lookup238: ethereum::transaction::TransactionAction
1607 **/1760 **/
1608 EthereumTransactionTransactionAction: {1761 EthereumTransactionTransactionAction: {
1609 _enum: {1762 _enum: {
1610 Call: 'H160',1763 Call: 'H160',
1611 Create: 'Null'1764 Create: 'Null'
1612 }1765 }
1613 },1766 },
1614 /**1767 /**
1615 * Lookup216: ethereum::transaction::TransactionSignature1768 * Lookup239: ethereum::transaction::TransactionSignature
1616 **/1769 **/
1617 EthereumTransactionTransactionSignature: {1770 EthereumTransactionTransactionSignature: {
1618 v: 'u64',1771 v: 'u64',
1619 r: 'H256',1772 r: 'H256',
1620 s: 'H256'1773 s: 'H256'
1621 },1774 },
1622 /**1775 /**
1623 * Lookup218: ethereum::transaction::EIP2930Transaction1776 * Lookup241: ethereum::transaction::EIP2930Transaction
1624 **/1777 **/
1625 EthereumTransactionEip2930Transaction: {1778 EthereumTransactionEip2930Transaction: {
1626 chainId: 'u64',1779 chainId: 'u64',
1627 nonce: 'U256',1780 nonce: 'U256',
1635 r: 'H256',1788 r: 'H256',
1636 s: 'H256'1789 s: 'H256'
1637 },1790 },
1638 /**1791 /**
1639 * Lookup220: ethereum::transaction::AccessListItem1792 * Lookup243: ethereum::transaction::AccessListItem
1640 **/1793 **/
1641 EthereumTransactionAccessListItem: {1794 EthereumTransactionAccessListItem: {
1642 address: 'H160',1795 address: 'H160',
1643 storageKeys: 'Vec<H256>'1796 storageKeys: 'Vec<H256>'
1644 },1797 },
1645 /**1798 /**
1646 * Lookup221: ethereum::transaction::EIP1559Transaction1799 * Lookup244: ethereum::transaction::EIP1559Transaction
1647 **/1800 **/
1648 EthereumTransactionEip1559Transaction: {1801 EthereumTransactionEip1559Transaction: {
1649 chainId: 'u64',1802 chainId: 'u64',
1650 nonce: 'U256',1803 nonce: 'U256',
1659 r: 'H256',1812 r: 'H256',
1660 s: 'H256'1813 s: 'H256'
1661 },1814 },
1662 /**1815 /**
1663 * Lookup222: pallet_evm_migration::pallet::Call<T>1816 * Lookup245: pallet_evm_migration::pallet::Call<T>
1664 **/1817 **/
1665 PalletEvmMigrationCall: {1818 PalletEvmMigrationCall: {
1666 _enum: {1819 _enum: {
1667 begin: {1820 begin: {
1677 }1830 }
1678 }1831 }
1679 },1832 },
1680 /**1833 /**
1681 * Lookup225: pallet_sudo::pallet::Event<T>1834 * Lookup248: pallet_sudo::pallet::Event<T>
1682 **/1835 **/
1683 PalletSudoEvent: {1836 PalletSudoEvent: {
1684 _enum: {1837 _enum: {
1685 Sudid: {1838 Sudid: {
1693 }1846 }
1694 }1847 }
1695 },1848 },
1696 /**1849 /**
1697 * Lookup227: sp_runtime::DispatchError1850 * Lookup250: sp_runtime::DispatchError
1698 **/1851 **/
1699 SpRuntimeDispatchError: {1852 SpRuntimeDispatchError: {
1700 _enum: {1853 _enum: {
1701 Other: 'Null',1854 Other: 'Null',
1710 Transactional: 'SpRuntimeTransactionalError'1863 Transactional: 'SpRuntimeTransactionalError'
1711 }1864 }
1712 },1865 },
1713 /**1866 /**
1714 * Lookup228: sp_runtime::ModuleError1867 * Lookup251: sp_runtime::ModuleError
1715 **/1868 **/
1716 SpRuntimeModuleError: {1869 SpRuntimeModuleError: {
1717 index: 'u8',1870 index: 'u8',
1718 error: '[u8;4]'1871 error: '[u8;4]'
1719 },1872 },
1720 /**1873 /**
1721 * Lookup229: sp_runtime::TokenError1874 * Lookup252: sp_runtime::TokenError
1722 **/1875 **/
1723 SpRuntimeTokenError: {1876 SpRuntimeTokenError: {
1724 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1877 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
1725 },1878 },
1726 /**1879 /**
1727 * Lookup230: sp_runtime::ArithmeticError1880 * Lookup253: sp_runtime::ArithmeticError
1728 **/1881 **/
1729 SpRuntimeArithmeticError: {1882 SpRuntimeArithmeticError: {
1730 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1883 _enum: ['Underflow', 'Overflow', 'DivisionByZero']
1731 },1884 },
1732 /**1885 /**
1733 * Lookup231: sp_runtime::TransactionalError1886 * Lookup254: sp_runtime::TransactionalError
1734 **/1887 **/
1735 SpRuntimeTransactionalError: {1888 SpRuntimeTransactionalError: {
1736 _enum: ['LimitReached', 'NoLayer']1889 _enum: ['LimitReached', 'NoLayer']
1737 },1890 },
1738 /**1891 /**
1739 * Lookup232: pallet_sudo::pallet::Error<T>1892 * Lookup255: pallet_sudo::pallet::Error<T>
1740 **/1893 **/
1741 PalletSudoError: {1894 PalletSudoError: {
1742 _enum: ['RequireSudo']1895 _enum: ['RequireSudo']
1743 },1896 },
1744 /**1897 /**
1745 * Lookup233: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1898 * Lookup256: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
1746 **/1899 **/
1747 FrameSystemAccountInfo: {1900 FrameSystemAccountInfo: {
1748 nonce: 'u32',1901 nonce: 'u32',
1749 consumers: 'u32',1902 consumers: 'u32',
1750 providers: 'u32',1903 providers: 'u32',
1751 sufficients: 'u32',1904 sufficients: 'u32',
1752 data: 'PalletBalancesAccountData'1905 data: 'PalletBalancesAccountData'
1753 },1906 },
1754 /**1907 /**
1755 * Lookup234: frame_support::weights::PerDispatchClass<T>1908 * Lookup257: frame_support::weights::PerDispatchClass<T>
1756 **/1909 **/
1757 FrameSupportWeightsPerDispatchClassU64: {1910 FrameSupportWeightsPerDispatchClassU64: {
1758 normal: 'u64',1911 normal: 'u64',
1759 operational: 'u64',1912 operational: 'u64',
1760 mandatory: 'u64'1913 mandatory: 'u64'
1761 },1914 },
1762 /**1915 /**
1763 * Lookup235: sp_runtime::generic::digest::Digest1916 * Lookup258: sp_runtime::generic::digest::Digest
1764 **/1917 **/
1765 SpRuntimeDigest: {1918 SpRuntimeDigest: {
1766 logs: 'Vec<SpRuntimeDigestDigestItem>'1919 logs: 'Vec<SpRuntimeDigestDigestItem>'
1767 },1920 },
1768 /**1921 /**
1769 * Lookup237: sp_runtime::generic::digest::DigestItem1922 * Lookup260: sp_runtime::generic::digest::DigestItem
1770 **/1923 **/
1771 SpRuntimeDigestDigestItem: {1924 SpRuntimeDigestDigestItem: {
1772 _enum: {1925 _enum: {
1773 Other: 'Bytes',1926 Other: 'Bytes',
1781 RuntimeEnvironmentUpdated: 'Null'1934 RuntimeEnvironmentUpdated: 'Null'
1782 }1935 }
1783 },1936 },
1784 /**1937 /**
1785 * Lookup239: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>1938 * Lookup262: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
1786 **/1939 **/
1787 FrameSystemEventRecord: {1940 FrameSystemEventRecord: {
1788 phase: 'FrameSystemPhase',1941 phase: 'FrameSystemPhase',
1789 event: 'Event',1942 event: 'Event',
1790 topics: 'Vec<H256>'1943 topics: 'Vec<H256>'
1791 },1944 },
1792 /**1945 /**
1793 * Lookup241: frame_system::pallet::Event<T>1946 * Lookup264: frame_system::pallet::Event<T>
1794 **/1947 **/
1795 FrameSystemEvent: {1948 FrameSystemEvent: {
1796 _enum: {1949 _enum: {
1797 ExtrinsicSuccess: {1950 ExtrinsicSuccess: {
1817 }1970 }
1818 }1971 }
1819 },1972 },
1820 /**1973 /**
1821 * Lookup242: frame_support::weights::DispatchInfo1974 * Lookup265: frame_support::weights::DispatchInfo
1822 **/1975 **/
1823 FrameSupportWeightsDispatchInfo: {1976 FrameSupportWeightsDispatchInfo: {
1824 weight: 'u64',1977 weight: 'u64',
1825 class: 'FrameSupportWeightsDispatchClass',1978 class: 'FrameSupportWeightsDispatchClass',
1826 paysFee: 'FrameSupportWeightsPays'1979 paysFee: 'FrameSupportWeightsPays'
1827 },1980 },
1828 /**1981 /**
1829 * Lookup243: frame_support::weights::DispatchClass1982 * Lookup266: frame_support::weights::DispatchClass
1830 **/1983 **/
1831 FrameSupportWeightsDispatchClass: {1984 FrameSupportWeightsDispatchClass: {
1832 _enum: ['Normal', 'Operational', 'Mandatory']1985 _enum: ['Normal', 'Operational', 'Mandatory']
1833 },1986 },
1834 /**1987 /**
1835 * Lookup244: frame_support::weights::Pays1988 * Lookup267: frame_support::weights::Pays
1836 **/1989 **/
1837 FrameSupportWeightsPays: {1990 FrameSupportWeightsPays: {
1838 _enum: ['Yes', 'No']1991 _enum: ['Yes', 'No']
1839 },1992 },
1840 /**1993 /**
1841 * Lookup245: orml_vesting::module::Event<T>1994 * Lookup268: orml_vesting::module::Event<T>
1842 **/1995 **/
1843 OrmlVestingModuleEvent: {1996 OrmlVestingModuleEvent: {
1844 _enum: {1997 _enum: {
1845 VestingScheduleAdded: {1998 VestingScheduleAdded: {
1856 }2009 }
1857 }2010 }
1858 },2011 },
1859 /**2012 /**
1860 * Lookup246: cumulus_pallet_xcmp_queue::pallet::Event<T>2013 * Lookup269: cumulus_pallet_xcmp_queue::pallet::Event<T>
1861 **/2014 **/
1862 CumulusPalletXcmpQueueEvent: {2015 CumulusPalletXcmpQueueEvent: {
1863 _enum: {2016 _enum: {
1864 Success: 'Option<H256>',2017 Success: 'Option<H256>',
1871 OverweightServiced: '(u64,u64)'2024 OverweightServiced: '(u64,u64)'
1872 }2025 }
1873 },2026 },
1874 /**2027 /**
1875 * Lookup247: pallet_xcm::pallet::Event<T>2028 * Lookup270: pallet_xcm::pallet::Event<T>
1876 **/2029 **/
1877 PalletXcmEvent: {2030 PalletXcmEvent: {
1878 _enum: {2031 _enum: {
1879 Attempted: 'XcmV2TraitsOutcome',2032 Attempted: 'XcmV2TraitsOutcome',
1894 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2047 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'
1895 }2048 }
1896 },2049 },
1897 /**2050 /**
1898 * Lookup248: xcm::v2::traits::Outcome2051 * Lookup271: xcm::v2::traits::Outcome
1899 **/2052 **/
1900 XcmV2TraitsOutcome: {2053 XcmV2TraitsOutcome: {
1901 _enum: {2054 _enum: {
1902 Complete: 'u64',2055 Complete: 'u64',
1903 Incomplete: '(u64,XcmV2TraitsError)',2056 Incomplete: '(u64,XcmV2TraitsError)',
1904 Error: 'XcmV2TraitsError'2057 Error: 'XcmV2TraitsError'
1905 }2058 }
1906 },2059 },
1907 /**2060 /**
1908 * Lookup250: cumulus_pallet_xcm::pallet::Event<T>2061 * Lookup273: cumulus_pallet_xcm::pallet::Event<T>
1909 **/2062 **/
1910 CumulusPalletXcmEvent: {2063 CumulusPalletXcmEvent: {
1911 _enum: {2064 _enum: {
1912 InvalidFormat: '[u8;8]',2065 InvalidFormat: '[u8;8]',
1913 UnsupportedVersion: '[u8;8]',2066 UnsupportedVersion: '[u8;8]',
1914 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2067 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'
1915 }2068 }
1916 },2069 },
1917 /**2070 /**
1918 * Lookup251: cumulus_pallet_dmp_queue::pallet::Event<T>2071 * Lookup274: cumulus_pallet_dmp_queue::pallet::Event<T>
1919 **/2072 **/
1920 CumulusPalletDmpQueueEvent: {2073 CumulusPalletDmpQueueEvent: {
1921 _enum: {2074 _enum: {
1922 InvalidFormat: '[u8;32]',2075 InvalidFormat: '[u8;32]',
1927 OverweightServiced: '(u64,u64)'2080 OverweightServiced: '(u64,u64)'
1928 }2081 }
1929 },2082 },
1930 /**2083 /**
1931 * Lookup252: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2084 * Lookup275: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
1932 **/2085 **/
1933 PalletUniqueRawEvent: {2086 PalletUniqueRawEvent: {
1934 _enum: {2087 _enum: {
1935 CollectionSponsorRemoved: 'u32',2088 CollectionSponsorRemoved: 'u32',
1944 CollectionPermissionSet: 'u32'2097 CollectionPermissionSet: 'u32'
1945 }2098 }
1946 },2099 },
1947 /**2100 /**
1948 * Lookup253: pallet_common::pallet::Event<T>2101 * Lookup276: pallet_common::pallet::Event<T>
1949 **/2102 **/
1950 PalletCommonEvent: {2103 PalletCommonEvent: {
1951 _enum: {2104 _enum: {
1952 CollectionCreated: '(u32,u8,AccountId32)',2105 CollectionCreated: '(u32,u8,AccountId32)',
1962 PropertyPermissionSet: '(u32,Bytes)'2115 PropertyPermissionSet: '(u32,Bytes)'
1963 }2116 }
1964 },2117 },
1965 /**2118 /**
1966 * Lookup254: pallet_structure::pallet::Event<T>2119 * Lookup277: pallet_structure::pallet::Event<T>
1967 **/2120 **/
1968 PalletStructureEvent: {2121 PalletStructureEvent: {
1969 _enum: {2122 _enum: {
1970 Executed: 'Result<Null, SpRuntimeDispatchError>'2123 Executed: 'Result<Null, SpRuntimeDispatchError>'
1971 }2124 }
1972 },2125 },
2126 /**
2127 * Lookup278: pallet_rmrk_core::pallet::Event<T>
2128 **/
2129 PalletRmrkCoreEvent: {
2130 _enum: {
2131 CollectionCreated: {
2132 issuer: 'AccountId32',
2133 collectionId: 'u32',
2134 },
2135 CollectionDestroyed: {
2136 issuer: 'AccountId32',
2137 collectionId: 'u32',
2138 },
2139 IssuerChanged: {
2140 oldIssuer: 'AccountId32',
2141 newIssuer: 'AccountId32',
2142 collectionId: 'u32',
2143 },
2144 CollectionLocked: {
2145 issuer: 'AccountId32',
2146 collectionId: 'u32',
2147 },
2148 NftMinted: {
2149 owner: 'AccountId32',
2150 collectionId: 'u32',
2151 nftId: 'u32',
2152 },
2153 NFTBurned: {
2154 owner: 'AccountId32',
2155 nftId: 'u32',
2156 },
2157 PropertySet: {
2158 collectionId: 'u32',
2159 maybeNftId: 'Option<u32>',
2160 key: 'Bytes',
2161 value: 'Bytes',
2162 },
2163 ResourceAdded: {
2164 nftId: 'u32',
2165 resourceId: 'u32'
2166 }
2167 }
2168 },
2169 /**
2170 * Lookup279: pallet_rmrk_equip::pallet::Event<T>
2171 **/
2172 PalletRmrkEquipEvent: {
2173 _enum: {
2174 BaseCreated: {
2175 issuer: 'AccountId32',
2176 baseId: 'u32'
2177 }
2178 }
2179 },
1973 /**2180 /**
1974 * Lookup255: pallet_evm::pallet::Event<T>2181 * Lookup280: pallet_evm::pallet::Event<T>
1975 **/2182 **/
1976 PalletEvmEvent: {2183 PalletEvmEvent: {
1977 _enum: {2184 _enum: {
1978 Log: 'EthereumLog',2185 Log: 'EthereumLog',
1984 BalanceWithdraw: '(AccountId32,H160,U256)'2191 BalanceWithdraw: '(AccountId32,H160,U256)'
1985 }2192 }
1986 },2193 },
1987 /**2194 /**
1988 * Lookup256: ethereum::log::Log2195 * Lookup281: ethereum::log::Log
1989 **/2196 **/
1990 EthereumLog: {2197 EthereumLog: {
1991 address: 'H160',2198 address: 'H160',
1992 topics: 'Vec<H256>',2199 topics: 'Vec<H256>',
1993 data: 'Bytes'2200 data: 'Bytes'
1994 },2201 },
1995 /**2202 /**
1996 * Lookup257: pallet_ethereum::pallet::Event2203 * Lookup282: pallet_ethereum::pallet::Event
1997 **/2204 **/
1998 PalletEthereumEvent: {2205 PalletEthereumEvent: {
1999 _enum: {2206 _enum: {
2000 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2207 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'
2001 }2208 }
2002 },2209 },
2003 /**2210 /**
2004 * Lookup258: evm_core::error::ExitReason2211 * Lookup283: evm_core::error::ExitReason
2005 **/2212 **/
2006 EvmCoreErrorExitReason: {2213 EvmCoreErrorExitReason: {
2007 _enum: {2214 _enum: {
2008 Succeed: 'EvmCoreErrorExitSucceed',2215 Succeed: 'EvmCoreErrorExitSucceed',
2011 Fatal: 'EvmCoreErrorExitFatal'2218 Fatal: 'EvmCoreErrorExitFatal'
2012 }2219 }
2013 },2220 },
2014 /**2221 /**
2015 * Lookup259: evm_core::error::ExitSucceed2222 * Lookup284: evm_core::error::ExitSucceed
2016 **/2223 **/
2017 EvmCoreErrorExitSucceed: {2224 EvmCoreErrorExitSucceed: {
2018 _enum: ['Stopped', 'Returned', 'Suicided']2225 _enum: ['Stopped', 'Returned', 'Suicided']
2019 },2226 },
2020 /**2227 /**
2021 * Lookup260: evm_core::error::ExitError2228 * Lookup285: evm_core::error::ExitError
2022 **/2229 **/
2023 EvmCoreErrorExitError: {2230 EvmCoreErrorExitError: {
2024 _enum: {2231 _enum: {
2025 StackUnderflow: 'Null',2232 StackUnderflow: 'Null',
2039 InvalidCode: 'Null'2246 InvalidCode: 'Null'
2040 }2247 }
2041 },2248 },
2042 /**2249 /**
2043 * Lookup263: evm_core::error::ExitRevert2250 * Lookup288: evm_core::error::ExitRevert
2044 **/2251 **/
2045 EvmCoreErrorExitRevert: {2252 EvmCoreErrorExitRevert: {
2046 _enum: ['Reverted']2253 _enum: ['Reverted']
2047 },2254 },
2048 /**2255 /**
2049 * Lookup264: evm_core::error::ExitFatal2256 * Lookup289: evm_core::error::ExitFatal
2050 **/2257 **/
2051 EvmCoreErrorExitFatal: {2258 EvmCoreErrorExitFatal: {
2052 _enum: {2259 _enum: {
2053 NotSupported: 'Null',2260 NotSupported: 'Null',
2056 Other: 'Text'2263 Other: 'Text'
2057 }2264 }
2058 },2265 },
2059 /**2266 /**
2060 * Lookup265: frame_system::Phase2267 * Lookup290: frame_system::Phase
2061 **/2268 **/
2062 FrameSystemPhase: {2269 FrameSystemPhase: {
2063 _enum: {2270 _enum: {
2064 ApplyExtrinsic: 'u32',2271 ApplyExtrinsic: 'u32',
2065 Finalization: 'Null',2272 Finalization: 'Null',
2066 Initialization: 'Null'2273 Initialization: 'Null'
2067 }2274 }
2068 },2275 },
2069 /**2276 /**
2070 * Lookup267: frame_system::LastRuntimeUpgradeInfo2277 * Lookup292: frame_system::LastRuntimeUpgradeInfo
2071 **/2278 **/
2072 FrameSystemLastRuntimeUpgradeInfo: {2279 FrameSystemLastRuntimeUpgradeInfo: {
2073 specVersion: 'Compact<u32>',2280 specVersion: 'Compact<u32>',
2074 specName: 'Text'2281 specName: 'Text'
2075 },2282 },
2076 /**2283 /**
2077 * Lookup268: frame_system::limits::BlockWeights2284 * Lookup293: frame_system::limits::BlockWeights
2078 **/2285 **/
2079 FrameSystemLimitsBlockWeights: {2286 FrameSystemLimitsBlockWeights: {
2080 baseBlock: 'u64',2287 baseBlock: 'u64',
2081 maxBlock: 'u64',2288 maxBlock: 'u64',
2082 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2289 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
2083 },2290 },
2084 /**2291 /**
2085 * Lookup269: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2292 * Lookup294: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
2086 **/2293 **/
2087 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2294 FrameSupportWeightsPerDispatchClassWeightsPerClass: {
2088 normal: 'FrameSystemLimitsWeightsPerClass',2295 normal: 'FrameSystemLimitsWeightsPerClass',
2089 operational: 'FrameSystemLimitsWeightsPerClass',2296 operational: 'FrameSystemLimitsWeightsPerClass',
2090 mandatory: 'FrameSystemLimitsWeightsPerClass'2297 mandatory: 'FrameSystemLimitsWeightsPerClass'
2091 },2298 },
2092 /**2299 /**
2093 * Lookup270: frame_system::limits::WeightsPerClass2300 * Lookup295: frame_system::limits::WeightsPerClass
2094 **/2301 **/
2095 FrameSystemLimitsWeightsPerClass: {2302 FrameSystemLimitsWeightsPerClass: {
2096 baseExtrinsic: 'u64',2303 baseExtrinsic: 'u64',
2097 maxExtrinsic: 'Option<u64>',2304 maxExtrinsic: 'Option<u64>',
2098 maxTotal: 'Option<u64>',2305 maxTotal: 'Option<u64>',
2099 reserved: 'Option<u64>'2306 reserved: 'Option<u64>'
2100 },2307 },
2101 /**2308 /**
2102 * Lookup272: frame_system::limits::BlockLength2309 * Lookup297: frame_system::limits::BlockLength
2103 **/2310 **/
2104 FrameSystemLimitsBlockLength: {2311 FrameSystemLimitsBlockLength: {
2105 max: 'FrameSupportWeightsPerDispatchClassU32'2312 max: 'FrameSupportWeightsPerDispatchClassU32'
2106 },2313 },
2107 /**2314 /**
2108 * Lookup273: frame_support::weights::PerDispatchClass<T>2315 * Lookup298: frame_support::weights::PerDispatchClass<T>
2109 **/2316 **/
2110 FrameSupportWeightsPerDispatchClassU32: {2317 FrameSupportWeightsPerDispatchClassU32: {
2111 normal: 'u32',2318 normal: 'u32',
2112 operational: 'u32',2319 operational: 'u32',
2113 mandatory: 'u32'2320 mandatory: 'u32'
2114 },2321 },
2115 /**2322 /**
2116 * Lookup274: frame_support::weights::RuntimeDbWeight2323 * Lookup299: frame_support::weights::RuntimeDbWeight
2117 **/2324 **/
2118 FrameSupportWeightsRuntimeDbWeight: {2325 FrameSupportWeightsRuntimeDbWeight: {
2119 read: 'u64',2326 read: 'u64',
2120 write: 'u64'2327 write: 'u64'
2121 },2328 },
2122 /**2329 /**
2123 * Lookup275: sp_version::RuntimeVersion2330 * Lookup300: sp_version::RuntimeVersion
2124 **/2331 **/
2125 SpVersionRuntimeVersion: {2332 SpVersionRuntimeVersion: {
2126 specName: 'Text',2333 specName: 'Text',
2127 implName: 'Text',2334 implName: 'Text',
2132 transactionVersion: 'u32',2339 transactionVersion: 'u32',
2133 stateVersion: 'u8'2340 stateVersion: 'u8'
2134 },2341 },
2135 /**2342 /**
2136 * Lookup279: frame_system::pallet::Error<T>2343 * Lookup304: frame_system::pallet::Error<T>
2137 **/2344 **/
2138 FrameSystemError: {2345 FrameSystemError: {
2139 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2346 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
2140 },2347 },
2141 /**2348 /**
2142 * Lookup281: orml_vesting::module::Error<T>2349 * Lookup306: orml_vesting::module::Error<T>
2143 **/2350 **/
2144 OrmlVestingModuleError: {2351 OrmlVestingModuleError: {
2145 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2352 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
2146 },2353 },
2147 /**2354 /**
2148 * Lookup283: cumulus_pallet_xcmp_queue::InboundChannelDetails2355 * Lookup308: cumulus_pallet_xcmp_queue::InboundChannelDetails
2149 **/2356 **/
2150 CumulusPalletXcmpQueueInboundChannelDetails: {2357 CumulusPalletXcmpQueueInboundChannelDetails: {
2151 sender: 'u32',2358 sender: 'u32',
2152 state: 'CumulusPalletXcmpQueueInboundState',2359 state: 'CumulusPalletXcmpQueueInboundState',
2153 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2360 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
2154 },2361 },
2155 /**2362 /**
2156 * Lookup284: cumulus_pallet_xcmp_queue::InboundState2363 * Lookup309: cumulus_pallet_xcmp_queue::InboundState
2157 **/2364 **/
2158 CumulusPalletXcmpQueueInboundState: {2365 CumulusPalletXcmpQueueInboundState: {
2159 _enum: ['Ok', 'Suspended']2366 _enum: ['Ok', 'Suspended']
2160 },2367 },
2161 /**2368 /**
2162 * Lookup287: polkadot_parachain::primitives::XcmpMessageFormat2369 * Lookup312: polkadot_parachain::primitives::XcmpMessageFormat
2163 **/2370 **/
2164 PolkadotParachainPrimitivesXcmpMessageFormat: {2371 PolkadotParachainPrimitivesXcmpMessageFormat: {
2165 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2372 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
2166 },2373 },
2167 /**2374 /**
2168 * Lookup290: cumulus_pallet_xcmp_queue::OutboundChannelDetails2375 * Lookup315: cumulus_pallet_xcmp_queue::OutboundChannelDetails
2169 **/2376 **/
2170 CumulusPalletXcmpQueueOutboundChannelDetails: {2377 CumulusPalletXcmpQueueOutboundChannelDetails: {
2171 recipient: 'u32',2378 recipient: 'u32',
2172 state: 'CumulusPalletXcmpQueueOutboundState',2379 state: 'CumulusPalletXcmpQueueOutboundState',
2173 signalsExist: 'bool',2380 signalsExist: 'bool',
2174 firstIndex: 'u16',2381 firstIndex: 'u16',
2175 lastIndex: 'u16'2382 lastIndex: 'u16'
2176 },2383 },
2177 /**2384 /**
2178 * Lookup291: cumulus_pallet_xcmp_queue::OutboundState2385 * Lookup316: cumulus_pallet_xcmp_queue::OutboundState
2179 **/2386 **/
2180 CumulusPalletXcmpQueueOutboundState: {2387 CumulusPalletXcmpQueueOutboundState: {
2181 _enum: ['Ok', 'Suspended']2388 _enum: ['Ok', 'Suspended']
2182 },2389 },
2183 /**2390 /**
2184 * Lookup293: cumulus_pallet_xcmp_queue::QueueConfigData2391 * Lookup318: cumulus_pallet_xcmp_queue::QueueConfigData
2185 **/2392 **/
2186 CumulusPalletXcmpQueueQueueConfigData: {2393 CumulusPalletXcmpQueueQueueConfigData: {
2187 suspendThreshold: 'u32',2394 suspendThreshold: 'u32',
2188 dropThreshold: 'u32',2395 dropThreshold: 'u32',
2191 weightRestrictDecay: 'u64',2398 weightRestrictDecay: 'u64',
2192 xcmpMaxIndividualWeight: 'u64'2399 xcmpMaxIndividualWeight: 'u64'
2193 },2400 },
2194 /**2401 /**
2195 * Lookup295: cumulus_pallet_xcmp_queue::pallet::Error<T>2402 * Lookup320: cumulus_pallet_xcmp_queue::pallet::Error<T>
2196 **/2403 **/
2197 CumulusPalletXcmpQueueError: {2404 CumulusPalletXcmpQueueError: {
2198 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2405 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
2199 },2406 },
2200 /**2407 /**
2201 * Lookup296: pallet_xcm::pallet::Error<T>2408 * Lookup321: pallet_xcm::pallet::Error<T>
2202 **/2409 **/
2203 PalletXcmError: {2410 PalletXcmError: {
2204 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2411 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
2205 },2412 },
2206 /**2413 /**
2207 * Lookup297: cumulus_pallet_xcm::pallet::Error<T>2414 * Lookup322: cumulus_pallet_xcm::pallet::Error<T>
2208 **/2415 **/
2209 CumulusPalletXcmError: 'Null',2416 CumulusPalletXcmError: 'Null',
2210 /**2417 /**
2211 * Lookup298: cumulus_pallet_dmp_queue::ConfigData2418 * Lookup323: cumulus_pallet_dmp_queue::ConfigData
2212 **/2419 **/
2213 CumulusPalletDmpQueueConfigData: {2420 CumulusPalletDmpQueueConfigData: {
2214 maxIndividual: 'u64'2421 maxIndividual: 'u64'
2215 },2422 },
2216 /**2423 /**
2217 * Lookup299: cumulus_pallet_dmp_queue::PageIndexData2424 * Lookup324: cumulus_pallet_dmp_queue::PageIndexData
2218 **/2425 **/
2219 CumulusPalletDmpQueuePageIndexData: {2426 CumulusPalletDmpQueuePageIndexData: {
2220 beginUsed: 'u32',2427 beginUsed: 'u32',
2221 endUsed: 'u32',2428 endUsed: 'u32',
2222 overweightCount: 'u64'2429 overweightCount: 'u64'
2223 },2430 },
2224 /**2431 /**
2225 * Lookup302: cumulus_pallet_dmp_queue::pallet::Error<T>2432 * Lookup327: cumulus_pallet_dmp_queue::pallet::Error<T>
2226 **/2433 **/
2227 CumulusPalletDmpQueueError: {2434 CumulusPalletDmpQueueError: {
2228 _enum: ['Unknown', 'OverLimit']2435 _enum: ['Unknown', 'OverLimit']
2229 },2436 },
2230 /**2437 /**
2231 * Lookup306: pallet_unique::Error<T>2438 * Lookup331: pallet_unique::Error<T>
2232 **/2439 **/
2233 PalletUniqueError: {2440 PalletUniqueError: {
2234 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2441 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
2235 },2442 },
2236 /**2443 /**
2237 * Lookup307: up_data_structs::Collection<sp_core::crypto::AccountId32>2444 * Lookup332: up_data_structs::Collection<sp_core::crypto::AccountId32>
2238 **/2445 **/
2239 UpDataStructsCollection: {2446 UpDataStructsCollection: {
2240 owner: 'AccountId32',2447 owner: 'AccountId32',
2241 mode: 'UpDataStructsCollectionMode',2448 mode: 'UpDataStructsCollectionMode',
2246 limits: 'UpDataStructsCollectionLimits',2453 limits: 'UpDataStructsCollectionLimits',
2247 permissions: 'UpDataStructsCollectionPermissions'2454 permissions: 'UpDataStructsCollectionPermissions'
2248 },2455 },
2249 /**2456 /**
2250 * Lookup308: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2457 * Lookup333: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
2251 **/2458 **/
2252 UpDataStructsSponsorshipState: {2459 UpDataStructsSponsorshipState: {
2253 _enum: {2460 _enum: {
2254 Disabled: 'Null',2461 Disabled: 'Null',
2255 Unconfirmed: 'AccountId32',2462 Unconfirmed: 'AccountId32',
2256 Confirmed: 'AccountId32'2463 Confirmed: 'AccountId32'
2257 }2464 }
2258 },2465 },
2259 /**2466 /**
2260 * Lookup309: up_data_structs::Properties2467 * Lookup334: up_data_structs::Properties
2261 **/2468 **/
2262 UpDataStructsProperties: {2469 UpDataStructsProperties: {
2263 map: 'UpDataStructsPropertiesMapBoundedVec',2470 map: 'UpDataStructsPropertiesMapBoundedVec',
2264 consumedSpace: 'u32',2471 consumedSpace: 'u32',
2265 spaceLimit: 'u32'2472 spaceLimit: 'u32'
2266 },2473 },
2267 /**2474 /**
2268 * Lookup310: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2475 * Lookup335: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
2269 **/2476 **/
2270 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2477 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
2271 /**2478 /**
2272 * Lookup315: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2479 * Lookup340: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
2273 **/2480 **/
2274 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2481 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
2275 /**2482 /**
2276 * Lookup322: up_data_structs::CollectionStats2483 * Lookup347: up_data_structs::CollectionStats
2277 **/2484 **/
2278 UpDataStructsCollectionStats: {2485 UpDataStructsCollectionStats: {
2279 created: 'u32',2486 created: 'u32',
2280 destroyed: 'u32',2487 destroyed: 'u32',
2353 * Lookup336: up_data_structs::rmrk::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2560 * Lookup336: up_data_structs::rmrk::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
2354 **/2561 **/
2355 UpDataStructsRmrkResourceInfo: {2562 UpDataStructsRmrkResourceInfo: {
2356 id: 'Bytes',2563 id: 'u32',
2357 resource: 'UpDataStructsRmrkResourceTypes',2564 resource: 'UpDataStructsRmrkResourceTypes',
2358 pending: 'bool',2565 pending: 'bool',
2359 pendingRemoval: 'bool'2566 pendingRemoval: 'bool'
modifiedtests/src/interfaces/registry.tsdiffbeforeafterboth
104 PalletNonfungibleItemData: PalletNonfungibleItemData;104 PalletNonfungibleItemData: PalletNonfungibleItemData;
105 PalletRefungibleError: PalletRefungibleError;105 PalletRefungibleError: PalletRefungibleError;
106 PalletRefungibleItemData: PalletRefungibleItemData;106 PalletRefungibleItemData: PalletRefungibleItemData;
107 PalletRmrkCoreCall: PalletRmrkCoreCall;
108 PalletRmrkCoreError: PalletRmrkCoreError;
109 PalletRmrkCoreEvent: PalletRmrkCoreEvent;
110 PalletRmrkEquipCall: PalletRmrkEquipCall;
111 PalletRmrkEquipError: PalletRmrkEquipError;
112 PalletRmrkEquipEvent: PalletRmrkEquipEvent;
107 PalletStructureCall: PalletStructureCall;113 PalletStructureCall: PalletStructureCall;
108 PalletStructureError: PalletStructureError;114 PalletStructureError: PalletStructureError;
109 PalletStructureEvent: PalletStructureEvent;115 PalletStructureEvent: PalletStructureEvent;
modifiedtests/src/interfaces/rmrk/definitions.tsdiffbeforeafterboth
59 collectionProperties: fn(59 collectionProperties: fn(
60 'Get collection properties',60 'Get collection properties',
61 [{name: 'collectionId', type: 'u32'}],61 [
62 {name: 'collectionId', type: 'u32'},
63 {name: 'filterKeys', type: 'Vec<String>', isOptional: true},
64 ],
62 'Vec<UpDataStructsRmrkPropertyInfo>',65 'Vec<UpDataStructsRmrkPropertyInfo>',
63 ),66 ),
66 [69 [
67 {name: 'collectionId', type: 'u32'},70 {name: 'collectionId', type: 'u32'},
68 {name: 'nftId', type: 'u32'},71 {name: 'nftId', type: 'u32'},
72 {name: 'filterKeys', type: 'Vec<String>', isOptional: true},
69 ],73 ],
70 'Vec<UpDataStructsRmrkPropertyInfo>',74 'Vec<UpDataStructsRmrkPropertyInfo>',
71 ),75 ),
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
1649 /** @name PalletStructureCall (205) */1649 /** @name PalletStructureCall (205) */
1650 export type PalletStructureCall = Null;1650 export type PalletStructureCall = Null;
1651
1652 /** @name PalletRmrkCoreCall (206) */
1653 export interface PalletRmrkCoreCall extends Enum {
1654 readonly isCreateCollection: boolean;
1655 readonly asCreateCollection: {
1656 readonly metadata: Bytes;
1657 readonly max: Option<u32>;
1658 readonly symbol: Bytes;
1659 } & Struct;
1660 readonly isDestroyCollection: boolean;
1661 readonly asDestroyCollection: {
1662 readonly collectionId: u32;
1663 } & Struct;
1664 readonly isChangeCollectionIssuer: boolean;
1665 readonly asChangeCollectionIssuer: {
1666 readonly collectionId: u32;
1667 readonly newIssuer: MultiAddress;
1668 } & Struct;
1669 readonly isLockCollection: boolean;
1670 readonly asLockCollection: {
1671 readonly collectionId: u32;
1672 } & Struct;
1673 readonly isMintNft: boolean;
1674 readonly asMintNft: {
1675 readonly owner: AccountId32;
1676 readonly collectionId: u32;
1677 readonly recipient: Option<AccountId32>;
1678 readonly royaltyAmount: Option<Permill>;
1679 readonly metadata: Bytes;
1680 } & Struct;
1681 readonly isBurnNft: boolean;
1682 readonly asBurnNft: {
1683 readonly collectionId: u32;
1684 readonly nftId: u32;
1685 } & Struct;
1686 readonly isSetProperty: boolean;
1687 readonly asSetProperty: {
1688 readonly rmrkCollectionId: Compact<u32>;
1689 readonly maybeNftId: Option<u32>;
1690 readonly key: Bytes;
1691 readonly value: Bytes;
1692 } & Struct;
1693 readonly isAddBasicResource: boolean;
1694 readonly asAddBasicResource: {
1695 readonly collectionId: u32;
1696 readonly nftId: u32;
1697 readonly resource: UpDataStructsRmrkBasicResource;
1698 } & Struct;
1699 readonly isAddComposableResource: boolean;
1700 readonly asAddComposableResource: {
1701 readonly collectionId: u32;
1702 readonly nftId: u32;
1703 readonly resourceId: Bytes;
1704 readonly resource: UpDataStructsRmrkComposableResource;
1705 } & Struct;
1706 readonly isAddSlotResource: boolean;
1707 readonly asAddSlotResource: {
1708 readonly collectionId: u32;
1709 readonly nftId: u32;
1710 readonly resource: UpDataStructsRmrkSlotResource;
1711 } & Struct;
1712 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';
1713 }
1714
1715 /** @name UpDataStructsRmrkBasicResource (212) */
1716 export interface UpDataStructsRmrkBasicResource extends Struct {
1717 readonly src: Option<Bytes>;
1718 readonly metadata: Option<Bytes>;
1719 readonly license: Option<Bytes>;
1720 readonly thumb: Option<Bytes>;
1721 }
1722
1723 /** @name UpDataStructsRmrkComposableResource (215) */
1724 export interface UpDataStructsRmrkComposableResource extends Struct {
1725 readonly parts: Vec<u32>;
1726 readonly base: u32;
1727 readonly src: Option<Bytes>;
1728 readonly metadata: Option<Bytes>;
1729 readonly license: Option<Bytes>;
1730 readonly thumb: Option<Bytes>;
1731 }
1732
1733 /** @name UpDataStructsRmrkSlotResource (217) */
1734 export interface UpDataStructsRmrkSlotResource extends Struct {
1735 readonly base: u32;
1736 readonly src: Option<Bytes>;
1737 readonly metadata: Option<Bytes>;
1738 readonly slot: u32;
1739 readonly license: Option<Bytes>;
1740 readonly thumb: Option<Bytes>;
1741 }
1742
1743 /** @name PalletRmrkEquipCall (218) */
1744 export interface PalletRmrkEquipCall extends Enum {
1745 readonly isCreateBase: boolean;
1746 readonly asCreateBase: {
1747 readonly baseType: Bytes;
1748 readonly symbol: Bytes;
1749 readonly parts: Vec<UpDataStructsRmrkPartType>;
1750 } & Struct;
1751 readonly isThemeAdd: boolean;
1752 readonly asThemeAdd: {
1753 readonly baseId: u32;
1754 readonly theme: UpDataStructsRmrkTheme;
1755 } & Struct;
1756 readonly type: 'CreateBase' | 'ThemeAdd';
1757 }
1758
1759 /** @name UpDataStructsRmrkPartType (220) */
1760 export interface UpDataStructsRmrkPartType extends Enum {
1761 readonly isFixedPart: boolean;
1762 readonly asFixedPart: UpDataStructsRmrkFixedPart;
1763 readonly isSlotPart: boolean;
1764 readonly asSlotPart: UpDataStructsRmrkSlotPart;
1765 readonly type: 'FixedPart' | 'SlotPart';
1766 }
1767
1768 /** @name UpDataStructsRmrkFixedPart (222) */
1769 export interface UpDataStructsRmrkFixedPart extends Struct {
1770 readonly id: u32;
1771 readonly z: u32;
1772 readonly src: Bytes;
1773 }
1774
1775 /** @name UpDataStructsRmrkSlotPart (223) */
1776 export interface UpDataStructsRmrkSlotPart extends Struct {
1777 readonly id: u32;
1778 readonly equippable: UpDataStructsRmrkEquippableList;
1779 readonly src: Bytes;
1780 readonly z: u32;
1781 }
1782
1783 /** @name UpDataStructsRmrkEquippableList (224) */
1784 export interface UpDataStructsRmrkEquippableList extends Enum {
1785 readonly isAll: boolean;
1786 readonly isEmpty: boolean;
1787 readonly isCustom: boolean;
1788 readonly asCustom: Vec<u32>;
1789 readonly type: 'All' | 'Empty' | 'Custom';
1790 }
1791
1792 /** @name UpDataStructsRmrkTheme (226) */
1793 export interface UpDataStructsRmrkTheme extends Struct {
1794 readonly name: Bytes;
1795 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;
1796 readonly inherit: bool;
1797 }
1798
1799 /** @name UpDataStructsRmrkThemeProperty (228) */
1800 export interface UpDataStructsRmrkThemeProperty extends Struct {
1801 readonly key: Bytes;
1802 readonly value: Bytes;
1803 }
16511804
1652 /** @name PalletEvmCall (206) */1805 /** @name PalletEvmCall (229) */
1653 export interface PalletEvmCall extends Enum {1806 export interface PalletEvmCall extends Enum {
1654 readonly isWithdraw: boolean;1807 readonly isWithdraw: boolean;
1655 readonly asWithdraw: {1808 readonly asWithdraw: {
1694 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1847 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
1695 }1848 }
16961849
1697 /** @name PalletEthereumCall (212) */1850 /** @name PalletEthereumCall (235) */
1698 export interface PalletEthereumCall extends Enum {1851 export interface PalletEthereumCall extends Enum {
1699 readonly isTransact: boolean;1852 readonly isTransact: boolean;
1700 readonly asTransact: {1853 readonly asTransact: {
1703 readonly type: 'Transact';1856 readonly type: 'Transact';
1704 }1857 }
17051858
1706 /** @name EthereumTransactionTransactionV2 (213) */1859 /** @name EthereumTransactionTransactionV2 (236) */
1707 export interface EthereumTransactionTransactionV2 extends Enum {1860 export interface EthereumTransactionTransactionV2 extends Enum {
1708 readonly isLegacy: boolean;1861 readonly isLegacy: boolean;
1709 readonly asLegacy: EthereumTransactionLegacyTransaction;1862 readonly asLegacy: EthereumTransactionLegacyTransaction;
1714 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1867 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
1715 }1868 }
17161869
1717 /** @name EthereumTransactionLegacyTransaction (214) */1870 /** @name EthereumTransactionLegacyTransaction (237) */
1718 export interface EthereumTransactionLegacyTransaction extends Struct {1871 export interface EthereumTransactionLegacyTransaction extends Struct {
1719 readonly nonce: U256;1872 readonly nonce: U256;
1720 readonly gasPrice: U256;1873 readonly gasPrice: U256;
1725 readonly signature: EthereumTransactionTransactionSignature;1878 readonly signature: EthereumTransactionTransactionSignature;
1726 }1879 }
17271880
1728 /** @name EthereumTransactionTransactionAction (215) */1881 /** @name EthereumTransactionTransactionAction (238) */
1729 export interface EthereumTransactionTransactionAction extends Enum {1882 export interface EthereumTransactionTransactionAction extends Enum {
1730 readonly isCall: boolean;1883 readonly isCall: boolean;
1731 readonly asCall: H160;1884 readonly asCall: H160;
1732 readonly isCreate: boolean;1885 readonly isCreate: boolean;
1733 readonly type: 'Call' | 'Create';1886 readonly type: 'Call' | 'Create';
1734 }1887 }
17351888
1736 /** @name EthereumTransactionTransactionSignature (216) */1889 /** @name EthereumTransactionTransactionSignature (239) */
1737 export interface EthereumTransactionTransactionSignature extends Struct {1890 export interface EthereumTransactionTransactionSignature extends Struct {
1738 readonly v: u64;1891 readonly v: u64;
1739 readonly r: H256;1892 readonly r: H256;
1740 readonly s: H256;1893 readonly s: H256;
1741 }1894 }
17421895
1743 /** @name EthereumTransactionEip2930Transaction (218) */1896 /** @name EthereumTransactionEip2930Transaction (241) */
1744 export interface EthereumTransactionEip2930Transaction extends Struct {1897 export interface EthereumTransactionEip2930Transaction extends Struct {
1745 readonly chainId: u64;1898 readonly chainId: u64;
1746 readonly nonce: U256;1899 readonly nonce: U256;
1755 readonly s: H256;1908 readonly s: H256;
1756 }1909 }
17571910
1758 /** @name EthereumTransactionAccessListItem (220) */1911 /** @name EthereumTransactionAccessListItem (243) */
1759 export interface EthereumTransactionAccessListItem extends Struct {1912 export interface EthereumTransactionAccessListItem extends Struct {
1760 readonly address: H160;1913 readonly address: H160;
1761 readonly storageKeys: Vec<H256>;1914 readonly storageKeys: Vec<H256>;
1762 }1915 }
17631916
1764 /** @name EthereumTransactionEip1559Transaction (221) */1917 /** @name EthereumTransactionEip1559Transaction (244) */
1765 export interface EthereumTransactionEip1559Transaction extends Struct {1918 export interface EthereumTransactionEip1559Transaction extends Struct {
1766 readonly chainId: u64;1919 readonly chainId: u64;
1767 readonly nonce: U256;1920 readonly nonce: U256;
1777 readonly s: H256;1930 readonly s: H256;
1778 }1931 }
17791932
1780 /** @name PalletEvmMigrationCall (222) */1933 /** @name PalletEvmMigrationCall (245) */
1781 export interface PalletEvmMigrationCall extends Enum {1934 export interface PalletEvmMigrationCall extends Enum {
1782 readonly isBegin: boolean;1935 readonly isBegin: boolean;
1783 readonly asBegin: {1936 readonly asBegin: {
1796 readonly type: 'Begin' | 'SetData' | 'Finish';1949 readonly type: 'Begin' | 'SetData' | 'Finish';
1797 }1950 }
17981951
1799 /** @name PalletSudoEvent (225) */1952 /** @name PalletSudoEvent (248) */
1800 export interface PalletSudoEvent extends Enum {1953 export interface PalletSudoEvent extends Enum {
1801 readonly isSudid: boolean;1954 readonly isSudid: boolean;
1802 readonly asSudid: {1955 readonly asSudid: {
1813 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1966 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
1814 }1967 }
18151968
1816 /** @name SpRuntimeDispatchError (227) */1969 /** @name SpRuntimeDispatchError (250) */
1817 export interface SpRuntimeDispatchError extends Enum {1970 export interface SpRuntimeDispatchError extends Enum {
1818 readonly isOther: boolean;1971 readonly isOther: boolean;
1819 readonly isCannotLookup: boolean;1972 readonly isCannotLookup: boolean;
1832 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1985 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
1833 }1986 }
18341987
1835 /** @name SpRuntimeModuleError (228) */1988 /** @name SpRuntimeModuleError (251) */
1836 export interface SpRuntimeModuleError extends Struct {1989 export interface SpRuntimeModuleError extends Struct {
1837 readonly index: u8;1990 readonly index: u8;
1838 readonly error: U8aFixed;1991 readonly error: U8aFixed;
1839 }1992 }
18401993
1841 /** @name SpRuntimeTokenError (229) */1994 /** @name SpRuntimeTokenError (252) */
1842 export interface SpRuntimeTokenError extends Enum {1995 export interface SpRuntimeTokenError extends Enum {
1843 readonly isNoFunds: boolean;1996 readonly isNoFunds: boolean;
1844 readonly isWouldDie: boolean;1997 readonly isWouldDie: boolean;
1850 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2003 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
1851 }2004 }
18522005
1853 /** @name SpRuntimeArithmeticError (230) */2006 /** @name SpRuntimeArithmeticError (253) */
1854 export interface SpRuntimeArithmeticError extends Enum {2007 export interface SpRuntimeArithmeticError extends Enum {
1855 readonly isUnderflow: boolean;2008 readonly isUnderflow: boolean;
1856 readonly isOverflow: boolean;2009 readonly isOverflow: boolean;
1857 readonly isDivisionByZero: boolean;2010 readonly isDivisionByZero: boolean;
1858 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2011 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
1859 }2012 }
18602013
1861 /** @name SpRuntimeTransactionalError (231) */2014 /** @name SpRuntimeTransactionalError (254) */
1862 export interface SpRuntimeTransactionalError extends Enum {2015 export interface SpRuntimeTransactionalError extends Enum {
1863 readonly isLimitReached: boolean;2016 readonly isLimitReached: boolean;
1864 readonly isNoLayer: boolean;2017 readonly isNoLayer: boolean;
1865 readonly type: 'LimitReached' | 'NoLayer';2018 readonly type: 'LimitReached' | 'NoLayer';
1866 }2019 }
18672020
1868 /** @name PalletSudoError (232) */2021 /** @name PalletSudoError (255) */
1869 export interface PalletSudoError extends Enum {2022 export interface PalletSudoError extends Enum {
1870 readonly isRequireSudo: boolean;2023 readonly isRequireSudo: boolean;
1871 readonly type: 'RequireSudo';2024 readonly type: 'RequireSudo';
1872 }2025 }
18732026
1874 /** @name FrameSystemAccountInfo (233) */2027 /** @name FrameSystemAccountInfo (256) */
1875 export interface FrameSystemAccountInfo extends Struct {2028 export interface FrameSystemAccountInfo extends Struct {
1876 readonly nonce: u32;2029 readonly nonce: u32;
1877 readonly consumers: u32;2030 readonly consumers: u32;
1880 readonly data: PalletBalancesAccountData;2033 readonly data: PalletBalancesAccountData;
1881 }2034 }
18822035
1883 /** @name FrameSupportWeightsPerDispatchClassU64 (234) */2036 /** @name FrameSupportWeightsPerDispatchClassU64 (257) */
1884 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2037 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
1885 readonly normal: u64;2038 readonly normal: u64;
1886 readonly operational: u64;2039 readonly operational: u64;
1887 readonly mandatory: u64;2040 readonly mandatory: u64;
1888 }2041 }
18892042
1890 /** @name SpRuntimeDigest (235) */2043 /** @name SpRuntimeDigest (258) */
1891 export interface SpRuntimeDigest extends Struct {2044 export interface SpRuntimeDigest extends Struct {
1892 readonly logs: Vec<SpRuntimeDigestDigestItem>;2045 readonly logs: Vec<SpRuntimeDigestDigestItem>;
1893 }2046 }
18942047
1895 /** @name SpRuntimeDigestDigestItem (237) */2048 /** @name SpRuntimeDigestDigestItem (260) */
1896 export interface SpRuntimeDigestDigestItem extends Enum {2049 export interface SpRuntimeDigestDigestItem extends Enum {
1897 readonly isOther: boolean;2050 readonly isOther: boolean;
1898 readonly asOther: Bytes;2051 readonly asOther: Bytes;
1906 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2059 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
1907 }2060 }
19082061
1909 /** @name FrameSystemEventRecord (239) */2062 /** @name FrameSystemEventRecord (262) */
1910 export interface FrameSystemEventRecord extends Struct {2063 export interface FrameSystemEventRecord extends Struct {
1911 readonly phase: FrameSystemPhase;2064 readonly phase: FrameSystemPhase;
1912 readonly event: Event;2065 readonly event: Event;
1913 readonly topics: Vec<H256>;2066 readonly topics: Vec<H256>;
1914 }2067 }
19152068
1916 /** @name FrameSystemEvent (241) */2069 /** @name FrameSystemEvent (264) */
1917 export interface FrameSystemEvent extends Enum {2070 export interface FrameSystemEvent extends Enum {
1918 readonly isExtrinsicSuccess: boolean;2071 readonly isExtrinsicSuccess: boolean;
1919 readonly asExtrinsicSuccess: {2072 readonly asExtrinsicSuccess: {
1941 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2094 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
1942 }2095 }
19432096
1944 /** @name FrameSupportWeightsDispatchInfo (242) */2097 /** @name FrameSupportWeightsDispatchInfo (265) */
1945 export interface FrameSupportWeightsDispatchInfo extends Struct {2098 export interface FrameSupportWeightsDispatchInfo extends Struct {
1946 readonly weight: u64;2099 readonly weight: u64;
1947 readonly class: FrameSupportWeightsDispatchClass;2100 readonly class: FrameSupportWeightsDispatchClass;
1948 readonly paysFee: FrameSupportWeightsPays;2101 readonly paysFee: FrameSupportWeightsPays;
1949 }2102 }
19502103
1951 /** @name FrameSupportWeightsDispatchClass (243) */2104 /** @name FrameSupportWeightsDispatchClass (266) */
1952 export interface FrameSupportWeightsDispatchClass extends Enum {2105 export interface FrameSupportWeightsDispatchClass extends Enum {
1953 readonly isNormal: boolean;2106 readonly isNormal: boolean;
1954 readonly isOperational: boolean;2107 readonly isOperational: boolean;
1955 readonly isMandatory: boolean;2108 readonly isMandatory: boolean;
1956 readonly type: 'Normal' | 'Operational' | 'Mandatory';2109 readonly type: 'Normal' | 'Operational' | 'Mandatory';
1957 }2110 }
19582111
1959 /** @name FrameSupportWeightsPays (244) */2112 /** @name FrameSupportWeightsPays (267) */
1960 export interface FrameSupportWeightsPays extends Enum {2113 export interface FrameSupportWeightsPays extends Enum {
1961 readonly isYes: boolean;2114 readonly isYes: boolean;
1962 readonly isNo: boolean;2115 readonly isNo: boolean;
1963 readonly type: 'Yes' | 'No';2116 readonly type: 'Yes' | 'No';
1964 }2117 }
19652118
1966 /** @name OrmlVestingModuleEvent (245) */2119 /** @name OrmlVestingModuleEvent (268) */
1967 export interface OrmlVestingModuleEvent extends Enum {2120 export interface OrmlVestingModuleEvent extends Enum {
1968 readonly isVestingScheduleAdded: boolean;2121 readonly isVestingScheduleAdded: boolean;
1969 readonly asVestingScheduleAdded: {2122 readonly asVestingScheduleAdded: {
1983 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2136 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
1984 }2137 }
19852138
1986 /** @name CumulusPalletXcmpQueueEvent (246) */2139 /** @name CumulusPalletXcmpQueueEvent (269) */
1987 export interface CumulusPalletXcmpQueueEvent extends Enum {2140 export interface CumulusPalletXcmpQueueEvent extends Enum {
1988 readonly isSuccess: boolean;2141 readonly isSuccess: boolean;
1989 readonly asSuccess: Option<H256>;2142 readonly asSuccess: Option<H256>;
2004 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2157 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
2005 }2158 }
20062159
2007 /** @name PalletXcmEvent (247) */2160 /** @name PalletXcmEvent (270) */
2008 export interface PalletXcmEvent extends Enum {2161 export interface PalletXcmEvent extends Enum {
2009 readonly isAttempted: boolean;2162 readonly isAttempted: boolean;
2010 readonly asAttempted: XcmV2TraitsOutcome;2163 readonly asAttempted: XcmV2TraitsOutcome;
2041 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2194 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
2042 }2195 }
20432196
2044 /** @name XcmV2TraitsOutcome (248) */2197 /** @name XcmV2TraitsOutcome (271) */
2045 export interface XcmV2TraitsOutcome extends Enum {2198 export interface XcmV2TraitsOutcome extends Enum {
2046 readonly isComplete: boolean;2199 readonly isComplete: boolean;
2047 readonly asComplete: u64;2200 readonly asComplete: u64;
2052 readonly type: 'Complete' | 'Incomplete' | 'Error';2205 readonly type: 'Complete' | 'Incomplete' | 'Error';
2053 }2206 }
20542207
2055 /** @name CumulusPalletXcmEvent (250) */2208 /** @name CumulusPalletXcmEvent (273) */
2056 export interface CumulusPalletXcmEvent extends Enum {2209 export interface CumulusPalletXcmEvent extends Enum {
2057 readonly isInvalidFormat: boolean;2210 readonly isInvalidFormat: boolean;
2058 readonly asInvalidFormat: U8aFixed;2211 readonly asInvalidFormat: U8aFixed;
2063 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2216 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
2064 }2217 }
20652218
2066 /** @name CumulusPalletDmpQueueEvent (251) */2219 /** @name CumulusPalletDmpQueueEvent (274) */
2067 export interface CumulusPalletDmpQueueEvent extends Enum {2220 export interface CumulusPalletDmpQueueEvent extends Enum {
2068 readonly isInvalidFormat: boolean;2221 readonly isInvalidFormat: boolean;
2069 readonly asInvalidFormat: U8aFixed;2222 readonly asInvalidFormat: U8aFixed;
2080 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2233 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
2081 }2234 }
20822235
2083 /** @name PalletUniqueRawEvent (252) */2236 /** @name PalletUniqueRawEvent (275) */
2084 export interface PalletUniqueRawEvent extends Enum {2237 export interface PalletUniqueRawEvent extends Enum {
2085 readonly isCollectionSponsorRemoved: boolean;2238 readonly isCollectionSponsorRemoved: boolean;
2086 readonly asCollectionSponsorRemoved: u32;2239 readonly asCollectionSponsorRemoved: u32;
2105 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2258 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
2106 }2259 }
21072260
2108 /** @name PalletCommonEvent (253) */2261 /** @name PalletCommonEvent (276) */
2109 export interface PalletCommonEvent extends Enum {2262 export interface PalletCommonEvent extends Enum {
2110 readonly isCollectionCreated: boolean;2263 readonly isCollectionCreated: boolean;
2111 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2264 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
2132 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2285 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';
2133 }2286 }
21342287
2135 /** @name PalletStructureEvent (254) */2288 /** @name PalletStructureEvent (277) */
2136 export interface PalletStructureEvent extends Enum {2289 export interface PalletStructureEvent extends Enum {
2137 readonly isExecuted: boolean;2290 readonly isExecuted: boolean;
2138 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2291 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
2139 readonly type: 'Executed';2292 readonly type: 'Executed';
2140 }2293 }
2294
2295 /** @name PalletRmrkCoreEvent (278) */
2296 export interface PalletRmrkCoreEvent extends Enum {
2297 readonly isCollectionCreated: boolean;
2298 readonly asCollectionCreated: {
2299 readonly issuer: AccountId32;
2300 readonly collectionId: u32;
2301 } & Struct;
2302 readonly isCollectionDestroyed: boolean;
2303 readonly asCollectionDestroyed: {
2304 readonly issuer: AccountId32;
2305 readonly collectionId: u32;
2306 } & Struct;
2307 readonly isIssuerChanged: boolean;
2308 readonly asIssuerChanged: {
2309 readonly oldIssuer: AccountId32;
2310 readonly newIssuer: AccountId32;
2311 readonly collectionId: u32;
2312 } & Struct;
2313 readonly isCollectionLocked: boolean;
2314 readonly asCollectionLocked: {
2315 readonly issuer: AccountId32;
2316 readonly collectionId: u32;
2317 } & Struct;
2318 readonly isNftMinted: boolean;
2319 readonly asNftMinted: {
2320 readonly owner: AccountId32;
2321 readonly collectionId: u32;
2322 readonly nftId: u32;
2323 } & Struct;
2324 readonly isNftBurned: boolean;
2325 readonly asNftBurned: {
2326 readonly owner: AccountId32;
2327 readonly nftId: u32;
2328 } & Struct;
2329 readonly isPropertySet: boolean;
2330 readonly asPropertySet: {
2331 readonly collectionId: u32;
2332 readonly maybeNftId: Option<u32>;
2333 readonly key: Bytes;
2334 readonly value: Bytes;
2335 } & Struct;
2336 readonly isResourceAdded: boolean;
2337 readonly asResourceAdded: {
2338 readonly nftId: u32;
2339 readonly resourceId: u32;
2340 } & Struct;
2341 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet' | 'ResourceAdded';
2342 }
2343
2344 /** @name PalletRmrkEquipEvent (279) */
2345 export interface PalletRmrkEquipEvent extends Enum {
2346 readonly isBaseCreated: boolean;
2347 readonly asBaseCreated: {
2348 readonly issuer: AccountId32;
2349 readonly baseId: u32;
2350 } & Struct;
2351 readonly type: 'BaseCreated';
2352 }
21412353
2142 /** @name PalletEvmEvent (255) */2354 /** @name PalletEvmEvent (280) */
2143 export interface PalletEvmEvent extends Enum {2355 export interface PalletEvmEvent extends Enum {
2144 readonly isLog: boolean;2356 readonly isLog: boolean;
2145 readonly asLog: EthereumLog;2357 readonly asLog: EthereumLog;
2158 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2370 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
2159 }2371 }
21602372
2161 /** @name EthereumLog (256) */2373 /** @name EthereumLog (281) */
2162 export interface EthereumLog extends Struct {2374 export interface EthereumLog extends Struct {
2163 readonly address: H160;2375 readonly address: H160;
2164 readonly topics: Vec<H256>;2376 readonly topics: Vec<H256>;
2165 readonly data: Bytes;2377 readonly data: Bytes;
2166 }2378 }
21672379
2168 /** @name PalletEthereumEvent (257) */2380 /** @name PalletEthereumEvent (282) */
2169 export interface PalletEthereumEvent extends Enum {2381 export interface PalletEthereumEvent extends Enum {
2170 readonly isExecuted: boolean;2382 readonly isExecuted: boolean;
2171 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2383 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
2172 readonly type: 'Executed';2384 readonly type: 'Executed';
2173 }2385 }
21742386
2175 /** @name EvmCoreErrorExitReason (258) */2387 /** @name EvmCoreErrorExitReason (283) */
2176 export interface EvmCoreErrorExitReason extends Enum {2388 export interface EvmCoreErrorExitReason extends Enum {
2177 readonly isSucceed: boolean;2389 readonly isSucceed: boolean;
2178 readonly asSucceed: EvmCoreErrorExitSucceed;2390 readonly asSucceed: EvmCoreErrorExitSucceed;
2185 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2397 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
2186 }2398 }
21872399
2188 /** @name EvmCoreErrorExitSucceed (259) */2400 /** @name EvmCoreErrorExitSucceed (284) */
2189 export interface EvmCoreErrorExitSucceed extends Enum {2401 export interface EvmCoreErrorExitSucceed extends Enum {
2190 readonly isStopped: boolean;2402 readonly isStopped: boolean;
2191 readonly isReturned: boolean;2403 readonly isReturned: boolean;
2192 readonly isSuicided: boolean;2404 readonly isSuicided: boolean;
2193 readonly type: 'Stopped' | 'Returned' | 'Suicided';2405 readonly type: 'Stopped' | 'Returned' | 'Suicided';
2194 }2406 }
21952407
2196 /** @name EvmCoreErrorExitError (260) */2408 /** @name EvmCoreErrorExitError (285) */
2197 export interface EvmCoreErrorExitError extends Enum {2409 export interface EvmCoreErrorExitError extends Enum {
2198 readonly isStackUnderflow: boolean;2410 readonly isStackUnderflow: boolean;
2199 readonly isStackOverflow: boolean;2411 readonly isStackOverflow: boolean;
2214 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2426 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
2215 }2427 }
22162428
2217 /** @name EvmCoreErrorExitRevert (263) */2429 /** @name EvmCoreErrorExitRevert (288) */
2218 export interface EvmCoreErrorExitRevert extends Enum {2430 export interface EvmCoreErrorExitRevert extends Enum {
2219 readonly isReverted: boolean;2431 readonly isReverted: boolean;
2220 readonly type: 'Reverted';2432 readonly type: 'Reverted';
2221 }2433 }
22222434
2223 /** @name EvmCoreErrorExitFatal (264) */2435 /** @name EvmCoreErrorExitFatal (289) */
2224 export interface EvmCoreErrorExitFatal extends Enum {2436 export interface EvmCoreErrorExitFatal extends Enum {
2225 readonly isNotSupported: boolean;2437 readonly isNotSupported: boolean;
2226 readonly isUnhandledInterrupt: boolean;2438 readonly isUnhandledInterrupt: boolean;
2231 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2443 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
2232 }2444 }
22332445
2234 /** @name FrameSystemPhase (265) */2446 /** @name FrameSystemPhase (290) */
2235 export interface FrameSystemPhase extends Enum {2447 export interface FrameSystemPhase extends Enum {
2236 readonly isApplyExtrinsic: boolean;2448 readonly isApplyExtrinsic: boolean;
2237 readonly asApplyExtrinsic: u32;2449 readonly asApplyExtrinsic: u32;
2240 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2452 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
2241 }2453 }
22422454
2243 /** @name FrameSystemLastRuntimeUpgradeInfo (267) */2455 /** @name FrameSystemLastRuntimeUpgradeInfo (292) */
2244 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2456 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
2245 readonly specVersion: Compact<u32>;2457 readonly specVersion: Compact<u32>;
2246 readonly specName: Text;2458 readonly specName: Text;
2247 }2459 }
22482460
2249 /** @name FrameSystemLimitsBlockWeights (268) */2461 /** @name FrameSystemLimitsBlockWeights (293) */
2250 export interface FrameSystemLimitsBlockWeights extends Struct {2462 export interface FrameSystemLimitsBlockWeights extends Struct {
2251 readonly baseBlock: u64;2463 readonly baseBlock: u64;
2252 readonly maxBlock: u64;2464 readonly maxBlock: u64;
2253 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2465 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
2254 }2466 }
22552467
2256 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (269) */2468 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (294) */
2257 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2469 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
2258 readonly normal: FrameSystemLimitsWeightsPerClass;2470 readonly normal: FrameSystemLimitsWeightsPerClass;
2259 readonly operational: FrameSystemLimitsWeightsPerClass;2471 readonly operational: FrameSystemLimitsWeightsPerClass;
2260 readonly mandatory: FrameSystemLimitsWeightsPerClass;2472 readonly mandatory: FrameSystemLimitsWeightsPerClass;
2261 }2473 }
22622474
2263 /** @name FrameSystemLimitsWeightsPerClass (270) */2475 /** @name FrameSystemLimitsWeightsPerClass (295) */
2264 export interface FrameSystemLimitsWeightsPerClass extends Struct {2476 export interface FrameSystemLimitsWeightsPerClass extends Struct {
2265 readonly baseExtrinsic: u64;2477 readonly baseExtrinsic: u64;
2266 readonly maxExtrinsic: Option<u64>;2478 readonly maxExtrinsic: Option<u64>;
2267 readonly maxTotal: Option<u64>;2479 readonly maxTotal: Option<u64>;
2268 readonly reserved: Option<u64>;2480 readonly reserved: Option<u64>;
2269 }2481 }
22702482
2271 /** @name FrameSystemLimitsBlockLength (272) */2483 /** @name FrameSystemLimitsBlockLength (297) */
2272 export interface FrameSystemLimitsBlockLength extends Struct {2484 export interface FrameSystemLimitsBlockLength extends Struct {
2273 readonly max: FrameSupportWeightsPerDispatchClassU32;2485 readonly max: FrameSupportWeightsPerDispatchClassU32;
2274 }2486 }
22752487
2276 /** @name FrameSupportWeightsPerDispatchClassU32 (273) */2488 /** @name FrameSupportWeightsPerDispatchClassU32 (298) */
2277 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2489 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
2278 readonly normal: u32;2490 readonly normal: u32;
2279 readonly operational: u32;2491 readonly operational: u32;
2280 readonly mandatory: u32;2492 readonly mandatory: u32;
2281 }2493 }
22822494
2283 /** @name FrameSupportWeightsRuntimeDbWeight (274) */2495 /** @name FrameSupportWeightsRuntimeDbWeight (299) */
2284 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2496 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
2285 readonly read: u64;2497 readonly read: u64;
2286 readonly write: u64;2498 readonly write: u64;
2287 }2499 }
22882500
2289 /** @name SpVersionRuntimeVersion (275) */2501 /** @name SpVersionRuntimeVersion (300) */
2290 export interface SpVersionRuntimeVersion extends Struct {2502 export interface SpVersionRuntimeVersion extends Struct {
2291 readonly specName: Text;2503 readonly specName: Text;
2292 readonly implName: Text;2504 readonly implName: Text;
2298 readonly stateVersion: u8;2510 readonly stateVersion: u8;
2299 }2511 }
23002512
2301 /** @name FrameSystemError (279) */2513 /** @name FrameSystemError (304) */
2302 export interface FrameSystemError extends Enum {2514 export interface FrameSystemError extends Enum {
2303 readonly isInvalidSpecName: boolean;2515 readonly isInvalidSpecName: boolean;
2304 readonly isSpecVersionNeedsToIncrease: boolean;2516 readonly isSpecVersionNeedsToIncrease: boolean;
2309 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2521 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
2310 }2522 }
23112523
2312 /** @name OrmlVestingModuleError (281) */2524 /** @name OrmlVestingModuleError (306) */
2313 export interface OrmlVestingModuleError extends Enum {2525 export interface OrmlVestingModuleError extends Enum {
2314 readonly isZeroVestingPeriod: boolean;2526 readonly isZeroVestingPeriod: boolean;
2315 readonly isZeroVestingPeriodCount: boolean;2527 readonly isZeroVestingPeriodCount: boolean;
2320 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2532 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
2321 }2533 }
23222534
2323 /** @name CumulusPalletXcmpQueueInboundChannelDetails (283) */2535 /** @name CumulusPalletXcmpQueueInboundChannelDetails (308) */
2324 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2536 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
2325 readonly sender: u32;2537 readonly sender: u32;
2326 readonly state: CumulusPalletXcmpQueueInboundState;2538 readonly state: CumulusPalletXcmpQueueInboundState;
2327 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2539 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
2328 }2540 }
23292541
2330 /** @name CumulusPalletXcmpQueueInboundState (284) */2542 /** @name CumulusPalletXcmpQueueInboundState (309) */
2331 export interface CumulusPalletXcmpQueueInboundState extends Enum {2543 export interface CumulusPalletXcmpQueueInboundState extends Enum {
2332 readonly isOk: boolean;2544 readonly isOk: boolean;
2333 readonly isSuspended: boolean;2545 readonly isSuspended: boolean;
2334 readonly type: 'Ok' | 'Suspended';2546 readonly type: 'Ok' | 'Suspended';
2335 }2547 }
23362548
2337 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (287) */2549 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (312) */
2338 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2550 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
2339 readonly isConcatenatedVersionedXcm: boolean;2551 readonly isConcatenatedVersionedXcm: boolean;
2340 readonly isConcatenatedEncodedBlob: boolean;2552 readonly isConcatenatedEncodedBlob: boolean;
2341 readonly isSignals: boolean;2553 readonly isSignals: boolean;
2342 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2554 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
2343 }2555 }
23442556
2345 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (290) */2557 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (315) */
2346 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2558 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
2347 readonly recipient: u32;2559 readonly recipient: u32;
2348 readonly state: CumulusPalletXcmpQueueOutboundState;2560 readonly state: CumulusPalletXcmpQueueOutboundState;
2351 readonly lastIndex: u16;2563 readonly lastIndex: u16;
2352 }2564 }
23532565
2354 /** @name CumulusPalletXcmpQueueOutboundState (291) */2566 /** @name CumulusPalletXcmpQueueOutboundState (316) */
2355 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2567 export interface CumulusPalletXcmpQueueOutboundState extends Enum {
2356 readonly isOk: boolean;2568 readonly isOk: boolean;
2357 readonly isSuspended: boolean;2569 readonly isSuspended: boolean;
2358 readonly type: 'Ok' | 'Suspended';2570 readonly type: 'Ok' | 'Suspended';
2359 }2571 }
23602572
2361 /** @name CumulusPalletXcmpQueueQueueConfigData (293) */2573 /** @name CumulusPalletXcmpQueueQueueConfigData (318) */
2362 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2574 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
2363 readonly suspendThreshold: u32;2575 readonly suspendThreshold: u32;
2364 readonly dropThreshold: u32;2576 readonly dropThreshold: u32;
2368 readonly xcmpMaxIndividualWeight: u64;2580 readonly xcmpMaxIndividualWeight: u64;
2369 }2581 }
23702582
2371 /** @name CumulusPalletXcmpQueueError (295) */2583 /** @name CumulusPalletXcmpQueueError (320) */
2372 export interface CumulusPalletXcmpQueueError extends Enum {2584 export interface CumulusPalletXcmpQueueError extends Enum {
2373 readonly isFailedToSend: boolean;2585 readonly isFailedToSend: boolean;
2374 readonly isBadXcmOrigin: boolean;2586 readonly isBadXcmOrigin: boolean;
2378 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2590 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
2379 }2591 }
23802592
2381 /** @name PalletXcmError (296) */2593 /** @name PalletXcmError (321) */
2382 export interface PalletXcmError extends Enum {2594 export interface PalletXcmError extends Enum {
2383 readonly isUnreachable: boolean;2595 readonly isUnreachable: boolean;
2384 readonly isSendFailure: boolean;2596 readonly isSendFailure: boolean;
2396 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2608 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
2397 }2609 }
23982610
2399 /** @name CumulusPalletXcmError (297) */2611 /** @name CumulusPalletXcmError (322) */
2400 export type CumulusPalletXcmError = Null;2612 export type CumulusPalletXcmError = Null;
24012613
2402 /** @name CumulusPalletDmpQueueConfigData (298) */2614 /** @name CumulusPalletDmpQueueConfigData (323) */
2403 export interface CumulusPalletDmpQueueConfigData extends Struct {2615 export interface CumulusPalletDmpQueueConfigData extends Struct {
2404 readonly maxIndividual: u64;2616 readonly maxIndividual: u64;
2405 }2617 }
24062618
2407 /** @name CumulusPalletDmpQueuePageIndexData (299) */2619 /** @name CumulusPalletDmpQueuePageIndexData (324) */
2408 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2620 export interface CumulusPalletDmpQueuePageIndexData extends Struct {
2409 readonly beginUsed: u32;2621 readonly beginUsed: u32;
2410 readonly endUsed: u32;2622 readonly endUsed: u32;
2411 readonly overweightCount: u64;2623 readonly overweightCount: u64;
2412 }2624 }
24132625
2414 /** @name CumulusPalletDmpQueueError (302) */2626 /** @name CumulusPalletDmpQueueError (327) */
2415 export interface CumulusPalletDmpQueueError extends Enum {2627 export interface CumulusPalletDmpQueueError extends Enum {
2416 readonly isUnknown: boolean;2628 readonly isUnknown: boolean;
2417 readonly isOverLimit: boolean;2629 readonly isOverLimit: boolean;
2418 readonly type: 'Unknown' | 'OverLimit';2630 readonly type: 'Unknown' | 'OverLimit';
2419 }2631 }
24202632
2421 /** @name PalletUniqueError (306) */2633 /** @name PalletUniqueError (331) */
2422 export interface PalletUniqueError extends Enum {2634 export interface PalletUniqueError extends Enum {
2423 readonly isCollectionDecimalPointLimitExceeded: boolean;2635 readonly isCollectionDecimalPointLimitExceeded: boolean;
2424 readonly isConfirmUnsetSponsorFail: boolean;2636 readonly isConfirmUnsetSponsorFail: boolean;
2425 readonly isEmptyArgument: boolean;2637 readonly isEmptyArgument: boolean;
2426 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2638 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
2427 }2639 }
24282640
2429 /** @name UpDataStructsCollection (307) */2641 /** @name UpDataStructsCollection (332) */
2430 export interface UpDataStructsCollection extends Struct {2642 export interface UpDataStructsCollection extends Struct {
2431 readonly owner: AccountId32;2643 readonly owner: AccountId32;
2432 readonly mode: UpDataStructsCollectionMode;2644 readonly mode: UpDataStructsCollectionMode;
2438 readonly permissions: UpDataStructsCollectionPermissions;2650 readonly permissions: UpDataStructsCollectionPermissions;
2439 }2651 }
24402652
2441 /** @name UpDataStructsSponsorshipState (308) */2653 /** @name UpDataStructsSponsorshipState (333) */
2442 export interface UpDataStructsSponsorshipState extends Enum {2654 export interface UpDataStructsSponsorshipState extends Enum {
2443 readonly isDisabled: boolean;2655 readonly isDisabled: boolean;
2444 readonly isUnconfirmed: boolean;2656 readonly isUnconfirmed: boolean;
2448 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2660 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
2449 }2661 }
24502662
2451 /** @name UpDataStructsProperties (309) */2663 /** @name UpDataStructsProperties (334) */
2452 export interface UpDataStructsProperties extends Struct {2664 export interface UpDataStructsProperties extends Struct {
2453 readonly map: UpDataStructsPropertiesMapBoundedVec;2665 readonly map: UpDataStructsPropertiesMapBoundedVec;
2454 readonly consumedSpace: u32;2666 readonly consumedSpace: u32;
2455 readonly spaceLimit: u32;2667 readonly spaceLimit: u32;
2456 }2668 }
24572669
2458 /** @name UpDataStructsPropertiesMapBoundedVec (310) */2670 /** @name UpDataStructsPropertiesMapBoundedVec (335) */
2459 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}2671 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
24602672
2461 /** @name UpDataStructsPropertiesMapPropertyPermission (315) */2673 /** @name UpDataStructsPropertiesMapPropertyPermission (340) */
2462 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}2674 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
24632675
2464 /** @name UpDataStructsCollectionStats (322) */2676 /** @name UpDataStructsCollectionStats (347) */
2465 export interface UpDataStructsCollectionStats extends Struct {2677 export interface UpDataStructsCollectionStats extends Struct {
2466 readonly created: u32;2678 readonly created: u32;
2467 readonly destroyed: u32;2679 readonly destroyed: u32;
25322744
2533 /** @name UpDataStructsRmrkResourceInfo (336) */2745 /** @name UpDataStructsRmrkResourceInfo (336) */
2534 export interface UpDataStructsRmrkResourceInfo extends Struct {2746 export interface UpDataStructsRmrkResourceInfo extends Struct {
2535 readonly id: Bytes;2747 readonly id: u32;
2536 readonly resource: UpDataStructsRmrkResourceTypes;2748 readonly resource: UpDataStructsRmrkResourceTypes;
2537 readonly pending: bool;2749 readonly pending: bool;
2538 readonly pendingRemoval: bool;2750 readonly pendingRemoval: bool;
modifiedtests/src/interfaces/types.tsdiffbeforeafterboth
2/* eslint-disable */2/* eslint-disable */
33
4export * from './unique/types';4export * from './unique/types';
5export * from './rmrk/types';
5export * from './default/types';6export * from './default/types';
67