difftreelog
feat(rmrk-proxy) add resource
in: master
21 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6335,6 +6335,7 @@
"pallet-common",
"pallet-evm",
"pallet-nonfungible",
+ "pallet-structure",
"parity-scale-codec 3.1.2",
"scale-info",
"sp-core",
pallets/proxy-rmrk-core/Cargo.tomldiffbeforeafterboth--- a/pallets/proxy-rmrk-core/Cargo.toml
+++ b/pallets/proxy-rmrk-core/Cargo.toml
@@ -18,6 +18,7 @@
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
pallet-common = { default-features = false, path = '../common' }
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
+pallet-structure = { default-features = false, path = "../../pallets/structure" }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
@@ -33,6 +34,7 @@
"up-data-structs/std",
"pallet-common/std",
"pallet-nonfungible/std",
+ "pallet-structure/std",
"pallet-evm/std",
'frame-benchmarking/std',
]
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/lib.rs
+++ b/pallets/proxy-rmrk-core/src/lib.rs
@@ -25,6 +25,7 @@
Pallet as PalletCommon, Error as CommonError, CollectionHandle, CommonCollectionOperations,
};
use pallet_nonfungible::{Pallet as PalletNft, NonfungibleHandle, TokenData};
+use pallet_structure::Pallet as PalletStructure;
use pallet_evm::account::CrossAccountId;
use core::convert::AsRef;
@@ -56,7 +57,7 @@
#[pallet::storage]
#[pallet::getter(fn collection_index_map)]
- pub type CollectionIndexMap<T: Config> =
+ pub type CollectionIndexMap<T: Config> =
StorageMap<_, Twox64Concat, RmrkCollectionId, CollectionId, ValueQuery>;
#[pallet::pallet]
@@ -98,6 +99,10 @@
key: RmrkKeyString,
value: RmrkValueString,
},
+ ResourceAdded {
+ nft_id: RmrkNftId,
+ resource_id: RmrkResourceId,
+ },
}
#[pallet::error]
@@ -106,7 +111,7 @@
CorruptedCollectionType,
NftTypeEncodeError,
RmrkPropertyKeyIsTooLong,
- RmrkPropertyValueIsTooLong,
+ RmrkPropertyValueIsTooLong, // todo utilize that in RPCs
/* RMRK compatible events */
CollectionNotEmpty,
@@ -115,6 +120,7 @@
CollectionUnknown,
NoPermission,
CollectionFullOrLocked,
+ // todo add resource errors?
}
#[pallet::call]
@@ -143,29 +149,21 @@
.map_err(|_| <CommonError<T>>::CollectionTokenPrefixLimitExceeded)?,
..Default::default()
};
-
- let collection_id_res =
- <PalletNft<T>>::init_collection(T::CrossAccountId::from_sub(sender.clone()), data);
-
- if let Err(DispatchError::Arithmetic(_)) = &collection_id_res {
- return Err(<Error<T>>::NoAvailableCollectionId.into());
- }
- let unique_collection_id = collection_id_res?;
- let rmrk_collection_id = <CollectionIndex<T>>::get();
-
<CollectionIndex<T>>::mutate(|n| *n += 1);
- <CollectionIndexMap<T>>::insert(rmrk_collection_id, unique_collection_id);
- <PalletCommon<T>>::set_scoped_collection_properties(
- unique_collection_id,
- PropertyScope::Rmrk,
+ let unique_collection_id = Self::init_collection(
+ T::CrossAccountId::from_sub(sender.clone()),
+ data,
[
Self::rmrk_property(Metadata, &metadata)?,
Self::rmrk_property(CollectionType, &misc::CollectionType::Regular)?,
]
.into_iter(),
- )?;
+ )?; //collection_id_res?;
+ let rmrk_collection_id = <CollectionIndex<T>>::get();
+
+ <CollectionIndexMap<T>>::insert(rmrk_collection_id, unique_collection_id);
Self::deposit_event(Event::CollectionCreated {
issuer: sender,
@@ -290,13 +288,26 @@
&sender,
&cross_owner,
&collection,
- NftType::Regular,
[
+ Self::rmrk_property(TokenType, &NftType::Regular)?,
Self::rmrk_property(RoyaltyInfo, &royalty_info)?,
Self::rmrk_property(Metadata, &metadata)?,
Self::rmrk_property(Equipped, &false)?,
- Self::rmrk_property(ResourceCollection, &None::<CollectionId>)?,
- Self::rmrk_property(ResourcePriorities, &<Vec<u8>>::new())?,
+ Self::rmrk_property(
+ ResourceCollection,
+ &Self::init_collection(
+ sender.clone(),
+ CreateCollectionData {
+ ..Default::default()
+ },
+ [Self::rmrk_property(
+ CollectionType,
+ &misc::CollectionType::Resource,
+ )?]
+ .into_iter(),
+ )?,
+ )?, // todo possibly add limits to the collection if rmrk warrants them
+ Self::rmrk_property(ResourcePriorities, &<Vec<u8>>::new())?, // todo create resource priorities?
]
.into_iter(),
)
@@ -392,6 +403,107 @@
Ok(())
}
+
+ #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]
+ #[transactional]
+ pub fn add_basic_resource(
+ origin: OriginFor<T>,
+ collection_id: RmrkCollectionId,
+ nft_id: RmrkNftId,
+ resource: RmrkBasicResource,
+ ) -> DispatchResult {
+ let sender = ensure_signed(origin.clone())?;
+
+ let resource_id = Self::resource_add(
+ sender,
+ Self::unique_collection_id(collection_id)?,
+ nft_id.into(),
+ [
+ Self::rmrk_property(TokenType, &NftType::Resource)?,
+ Self::rmrk_property(ResourceType, &misc::ResourceType::Basic)?,
+ Self::rmrk_property(Src, &resource.src)?,
+ Self::rmrk_property(Metadata, &resource.metadata)?,
+ Self::rmrk_property(License, &resource.license)?,
+ Self::rmrk_property(Thumb, &resource.thumb)?,
+ ]
+ .into_iter(),
+ )?;
+
+ Self::deposit_event(Event::ResourceAdded {
+ nft_id,
+ resource_id,
+ });
+ Ok(())
+ }
+
+ #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]
+ #[transactional]
+ pub fn add_composable_resource(
+ origin: OriginFor<T>,
+ collection_id: RmrkCollectionId,
+ nft_id: RmrkNftId,
+ _resource_id: RmrkBoundedResource,
+ resource: RmrkComposableResource,
+ ) -> DispatchResult {
+ let sender = ensure_signed(origin.clone())?;
+
+ let resource_id = Self::resource_add(
+ sender,
+ Self::unique_collection_id(collection_id)?,
+ nft_id.into(),
+ [
+ Self::rmrk_property(TokenType, &NftType::Resource)?,
+ Self::rmrk_property(ResourceType, &misc::ResourceType::Composable)?,
+ Self::rmrk_property(Parts, &resource.parts)?,
+ Self::rmrk_property(Base, &resource.base)?,
+ Self::rmrk_property(Src, &resource.src)?,
+ Self::rmrk_property(Metadata, &resource.metadata)?,
+ Self::rmrk_property(License, &resource.license)?,
+ Self::rmrk_property(Thumb, &resource.thumb)?,
+ ]
+ .into_iter(),
+ )?;
+
+ Self::deposit_event(Event::ResourceAdded {
+ nft_id,
+ resource_id,
+ });
+ Ok(())
+ }
+
+ #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]
+ #[transactional]
+ pub fn add_slot_resource(
+ origin: OriginFor<T>,
+ collection_id: RmrkCollectionId,
+ nft_id: RmrkNftId,
+ resource: RmrkSlotResource,
+ ) -> DispatchResult {
+ let sender = ensure_signed(origin.clone())?;
+
+ let resource_id = Self::resource_add(
+ sender,
+ Self::unique_collection_id(collection_id)?,
+ nft_id.into(),
+ [
+ Self::rmrk_property(TokenType, &NftType::Resource)?,
+ Self::rmrk_property(ResourceType, &misc::ResourceType::Slot)?,
+ Self::rmrk_property(Base, &resource.base)?,
+ Self::rmrk_property(Src, &resource.src)?,
+ Self::rmrk_property(Metadata, &resource.metadata)?,
+ Self::rmrk_property(Slot, &resource.slot)?,
+ Self::rmrk_property(License, &resource.license)?,
+ Self::rmrk_property(Thumb, &resource.thumb)?,
+ ]
+ .into_iter(),
+ )?;
+
+ Self::deposit_event(Event::ResourceAdded {
+ nft_id,
+ resource_id,
+ });
+ Ok(())
+ }
}
}
@@ -422,14 +534,32 @@
Ok(property)
}
+ fn init_collection(
+ sender: T::CrossAccountId,
+ data: CreateCollectionData<T::AccountId>,
+ properties: impl Iterator<Item = Property>,
+ ) -> Result<CollectionId, DispatchError> {
+ let collection_id = <PalletNft<T>>::init_collection(sender, data);
+
+ if let Err(DispatchError::Arithmetic(_)) = &collection_id {
+ return Err(<Error<T>>::NoAvailableCollectionId.into());
+ }
+
+ <PalletCommon<T>>::set_scoped_collection_properties(
+ collection_id?,
+ PropertyScope::Rmrk,
+ properties,
+ )?;
+
+ collection_id
+ }
+
pub fn create_nft(
sender: &T::CrossAccountId,
owner: &T::CrossAccountId,
collection: &NonfungibleHandle<T>,
- nft_type: NftType,
properties: impl Iterator<Item = Property>,
) -> Result<TokenId, DispatchError> {
- todo!("store nft type");
let data = CreateNftExData {
properties: BoundedVec::default(),
owner: owner.clone(),
@@ -465,6 +595,57 @@
Ok(())
}
+ fn resource_add(
+ sender: T::AccountId,
+ collection_id: CollectionId,
+ token_id: TokenId,
+ resource_properties: impl Iterator<Item = Property>,
+ ) -> Result<RmrkResourceId, DispatchError> {
+ let collection =
+ Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;
+ ensure!(collection.owner == sender, Error::<T>::NoPermission);
+
+ // Check NFT lock status // todo depends on market, maybe later
+ //ensure!(!Pallet::<T>::is_locked(collection_id, nft_id), pallet_uniques::Error::<T>::Locked);
+
+ let sender = T::CrossAccountId::from_sub(sender);
+ let budget = budget::Value::new(10);
+ let pending = <PalletStructure<T>>::check_indirectly_owned(
+ sender.clone(),
+ collection_id,
+ token_id,
+ None,
+ &budget,
+ )?;
+
+ let resource_collection_id: CollectionId =
+ Self::get_nft_property(collection_id, token_id, ResourceCollection)?
+ .decode_or_default();
+ let resource_collection =
+ Self::get_typed_nft_collection(resource_collection_id, misc::CollectionType::Resource)?;
+
+ // todo probably add extra connections to bases, slots, etc., when RMRK starts to use them
+
+ let resource_id = Self::create_nft(
+ &sender, // todo owner of the nft?
+ &sender,
+ &resource_collection,
+ resource_properties.chain(
+ [
+ Self::rmrk_property(PendingResourceAccept, &pending)?,
+ Self::rmrk_property(PendingResourceRemoval, &false)?,
+ ]
+ .into_iter(),
+ ),
+ )
+ .map_err(|err| match err {
+ DispatchError::Arithmetic(_) => <Error<T>>::NoAvailableNftId.into(),
+ err => Self::map_common_err_to_proxy(err),
+ })?;
+
+ Ok(resource_id.0)
+ }
+
fn change_collection_owner(
collection_id: CollectionId,
collection_type: misc::CollectionType,
@@ -493,8 +674,11 @@
<CollectionIndex<T>>::get()
}
- pub fn unique_collection_id(rmrk_collection_id: RmrkCollectionId) -> Result<CollectionId, DispatchError> {
- <CollectionIndexMap<T>>::try_get(rmrk_collection_id).map_err(|_| <Error<T>>::CollectionUnknown.into())
+ pub fn unique_collection_id(
+ rmrk_collection_id: RmrkCollectionId,
+ ) -> Result<CollectionId, DispatchError> {
+ <CollectionIndexMap<T>>::try_get(rmrk_collection_id)
+ .map_err(|_| <Error<T>>::CollectionUnknown.into())
}
pub fn get_nft_collection(
@@ -513,10 +697,6 @@
<CollectionHandle<T>>::try_get(collection_id).is_ok()
}
- pub fn nft_exists(collection_id: CollectionId, nft_id: TokenId) -> bool {
- <TokenData<T>>::contains_key((collection_id, nft_id))
- }
-
pub fn get_collection_property(
collection_id: CollectionId,
key: RmrkProperty,
@@ -553,6 +733,15 @@
Ok(())
}
+ pub fn get_typed_nft_collection(
+ collection_id: CollectionId,
+ collection_type: misc::CollectionType,
+ ) -> Result<NonfungibleHandle<T>, DispatchError> {
+ Self::ensure_collection_type(collection_id, collection_type)?;
+
+ Self::get_nft_collection(collection_id)
+ }
+
pub fn get_nft_property(
collection_id: CollectionId,
nft_id: TokenId,
@@ -560,17 +749,23 @@
) -> Result<PropertyValue, DispatchError> {
let nft_property = <PalletNft<T>>::token_properties((collection_id, nft_id))
.get(&Self::rmrk_property_key(key)?)
- .ok_or(<Error<T>>::NoAvailableNftId)?
+ .ok_or(<Error<T>>::NoAvailableNftId)? // todo replace with better error
.clone();
Ok(nft_property)
}
+ pub fn nft_exists(collection_id: CollectionId, nft_id: TokenId) -> bool {
+ <TokenData<T>>::contains_key((collection_id, nft_id))
+ }
+
pub fn get_nft_type(
- _collection_id: CollectionId,
- _token_id: TokenId,
+ collection_id: CollectionId,
+ token_id: TokenId,
) -> Result<NftType, DispatchError> {
- todo!("should get it from properties?")
+ Ok(Self::get_nft_property(collection_id, token_id, TokenType)?.decode_or_default())
+ // todo throw error
+ // NftTypeEncodeError?
}
pub fn ensure_nft_type(
@@ -673,15 +868,6 @@
});
Ok(properties)
- }
-
- pub fn get_typed_nft_collection(
- collection_id: CollectionId,
- collection_type: misc::CollectionType,
- ) -> Result<NonfungibleHandle<T>, DispatchError> {
- Self::ensure_collection_type(collection_id, collection_type)?;
-
- Self::get_nft_collection(collection_id)
}
fn map_common_err_to_proxy(err: DispatchError) -> DispatchError {
pallets/proxy-rmrk-core/src/misc.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/misc.rs
+++ b/pallets/proxy-rmrk-core/src/misc.rs
@@ -18,6 +18,7 @@
fn decode_or_default(&self) -> T;
}
+// todo fail if unwrap doesn't work
impl<T: Decode + Default, S> RmrkDecode<T, S> for BoundedVec<u8, S> {
fn decode_or_default(&self) -> T {
let mut value = self.as_slice();
@@ -30,6 +31,7 @@
fn rebind(&self) -> BoundedVec<u8, S>;
}
+// todo fail if unwrap doesn't work
impl<T, S> RmrkRebind<T, S> for BoundedVec<u8, T>
where
BoundedVec<u8, S>: TryFrom<Vec<u8>>,
@@ -46,11 +48,22 @@
Base,
}
-#[derive(Encode, Decode, PartialEq, Eq)]
+// todo remove default?
+#[derive(Encode, Decode, PartialEq, Eq, Default)]
pub enum NftType {
+ #[default]
Regular,
Resource,
FixedPart,
SlotPart,
Theme,
}
+
+// todo remove default?
+#[derive(Encode, Decode, PartialEq, Eq, Default)]
+pub enum ResourceType {
+ #[default]
+ Basic,
+ Composable,
+ Slot,
+}
pallets/proxy-rmrk-core/src/property.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/property.rs
+++ b/pallets/proxy-rmrk-core/src/property.rs
@@ -4,6 +4,7 @@
pub enum RmrkProperty<'r> {
Metadata,
CollectionType,
+ TokenType,
RoyaltyInfo,
Equipped,
ResourceCollection,
@@ -47,6 +48,7 @@
match self {
Self::Metadata => key!("metadata"),
Self::CollectionType => key!("collection-type"),
+ Self::TokenType => key!("token-type"),
Self::RoyaltyInfo => key!("royalty-info"),
Self::Equipped => key!("equipped"),
Self::ResourceCollection => key!("resource-collection"),
pallets/proxy-rmrk-equip/src/lib.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/src/lib.rs
+++ b/pallets/proxy-rmrk-equip/src/lib.rs
@@ -166,8 +166,8 @@
&sender,
owner,
&collection,
- NftType::Theme,
[
+ <PalletCore<T>>::rmrk_property(TokenType, &NftType::Theme)?,
<PalletCore<T>>::rmrk_property(ThemeName, &theme.name)?,
<PalletCore<T>>::rmrk_property(ThemeInherit, &theme.inherit)?,
]
@@ -212,8 +212,8 @@
sender,
owner,
collection,
- nft_type,
[
+ <PalletCore<T>>::rmrk_property(TokenType, &nft_type)?,
<PalletCore<T>>::rmrk_property(Src, &src)?,
<PalletCore<T>>::rmrk_property(ZIndex, &z_index)?,
]
primitives/data-structs/src/lib.rsdiffbeforeafterboth--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -41,6 +41,7 @@
// RMRK
use rmrk::{
CollectionInfo, NftInfo, ResourceInfo, PropertyInfo, BaseInfo, PartType, Theme, ThemeProperty,
+ ResourceTypes, BasicResource, ComposableResource, SlotResource,
};
pub use rmrk::{
primitives::{
@@ -49,8 +50,6 @@
},
NftChild as RmrkNftChild, AccountIdOrCollectionNftTuple as RmrkAccountIdOrCollectionNftTuple,
FixedPart as RmrkFixedPart, SlotPart as RmrkSlotPart, EquippableList as RmrkEquippableList,
- BasicResource as RmrkBasicResource, ComposableResource as RmrkComposableResource,
- SlotResource as RmrkSlotResource,
};
mod bounded;
@@ -942,23 +941,26 @@
pub type RmrkCollectionInfo<AccountId> =
CollectionInfo<RmrkString, RmrkCollectionSymbol, AccountId>;
pub type RmrkInstanceInfo<AccountId> = NftInfo<AccountId, Permill, RmrkString>;
-pub type RmrkResourceInfo = ResourceInfo<RmrkBoundedResource, RmrkString, RmrkBoundedParts>;
+pub type RmrkResourceInfo = ResourceInfo<RmrkString, RmrkBoundedParts>;
pub type RmrkPropertyInfo = PropertyInfo<RmrkKeyString, RmrkValueString>;
pub type RmrkBaseInfo<AccountId> = BaseInfo<AccountId, RmrkString>;
pub type RmrkPartType =
PartType<RmrkString, BoundedVec<RmrkCollectionId, RmrkMaxCollectionsEquippablePerPart>>;
pub type RmrkThemeProperty = ThemeProperty<RmrkString>;
pub type RmrkTheme = Theme<RmrkString, Vec<RmrkThemeProperty>>;
+pub type RmrkResourceTypes = ResourceTypes<RmrkString, RmrkBoundedParts>;
+
+pub type RmrkBasicResource = BasicResource<RmrkString>;
+pub type RmrkComposableResource = ComposableResource<RmrkString, RmrkBoundedParts>;
+pub type RmrkSlotResource = SlotResource<RmrkString>;
+pub type RmrkString = BoundedVec<u8, RmrkStringLimit>;
pub type RmrkCollectionSymbol = BoundedVec<u8, RmrkCollectionSymbolLimit>;
pub type RmrkKeyString = BoundedVec<u8, RmrkKeyLimit>;
pub type RmrkValueString = BoundedVec<u8, RmrkValueLimit>;
-
-type RmrkBoundedResource = BoundedVec<u8, RmrkResourceSymbolLimit>;
-type RmrkBoundedParts = BoundedVec<RmrkPartId, RmrkPartsLimit>;
+pub type RmrkBoundedResource = BoundedVec<u8, RmrkResourceSymbolLimit>;
+pub type RmrkBoundedParts = BoundedVec<RmrkPartId, RmrkPartsLimit>; // todo make sure it is needed
pub type RmrkRpcString = Vec<u8>;
pub type RmrkThemeName = RmrkRpcString;
pub type RmrkPropertyKey = RmrkRpcString;
-
-pub type RmrkString = BoundedVec<u8, RmrkStringLimit>;
primitives/data-structs/src/rmrk.rsdiffbeforeafterboth--- a/primitives/data-structs/src/rmrk.rs
+++ b/primitives/data-structs/src/rmrk.rs
@@ -282,17 +282,16 @@
#[cfg_attr(
feature = "std",
serde(bound = r#"
- BoundedResource: AsRef<[u8]>,
BoundedString: AsRef<[u8]>,
BoundedParts: AsRef<[PartId]>
"#)
)]
-pub struct ResourceInfo<BoundedResource, BoundedString: Default, BoundedParts> {
+pub struct ResourceInfo<BoundedString: Default, BoundedParts> {
/// id is a 5-character string of reasonable uniqueness.
/// The combination of base ID and resource id should be unique across the entire RMRK
/// ecosystem which
- #[cfg_attr(feature = "std", serde(with = "serialize::vec"))]
- pub id: BoundedResource,
+ //#[cfg_attr(feature = "std", serde(with = "serialize::vec"))]
+ pub id: ResourceId,
/// Resource
pub resource: ResourceTypes<BoundedString, BoundedParts>,
runtime/common/src/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -152,6 +152,7 @@
Err(_) => return Ok(None),
};
+ // todo replace dispatch... calls with calls to rmrkcore and NFT collection. There's no point trying non-NFT collections
let nfts_count = dispatch_unique_runtime!(collection_id.total_supply())?;
Ok(Some(RmrkCollectionInfo {
@@ -171,6 +172,7 @@
let nft_id = TokenId(nft_by_id);
if !RmrkCore::nft_exists(collection_id, nft_id) { return Ok(None); }
+ // todo replace dispatch with collection
let owner = match dispatch_unique_runtime!(collection_id.token_owner(nft_id))? {
Some(owner) => match <Runtime as pallet_common::Config>::CrossTokenAddressMapping::address_to_token(&owner) {
Some((col, tok)) => RmrkAccountIdOrCollectionNftTuple::CollectionAndNftTuple(col.0, tok.0),
@@ -270,34 +272,51 @@
fn nft_resources(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkResourceInfo>, DispatchError> {
use frame_support::BoundedVec;
- use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, RmrkDecode}};
+ use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, ResourceType, RmrkDecode}};
+ use pallet_common::CommonCollectionOperations;
let collection_id = RmrkCore::unique_collection_id(collection_id)?;
- if !RmrkCore::collection_exists(collection_id) { return Ok(Vec::new()); } // todo make sure the collection type doesn't matter
+ if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() { return Ok(Vec::new()); }
let nft_id = TokenId(nft_id);
- if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Resource).is_err() { return Ok(Vec::new()); }
+ if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Regular).is_err() { return Ok(Vec::new()); }
- let resource_collection_id: CollectionId = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourceCollection)
- .unwrap()
+ let res_collection_id: CollectionId = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourceCollection)?
.decode_or_default();
- if RmrkCore::ensure_collection_type(collection_id, CollectionType::Resource).is_err() { return Ok(Vec::new()); }
+ let resource_collection = RmrkCore::get_typed_nft_collection(res_collection_id, CollectionType::Resource)?;
- let resources = pallet_nonfungible::TokenProperties::<Runtime>::iter_prefix((resource_collection_id,))
- .filter_map(|(resource_id, properties)| Some(RmrkResourceInfo {
- id: BoundedVec::default(), // todo ResourceId property
- pending: RmrkCore::get_nft_property(resource_collection_id, resource_id, RmrkProperty::PendingResourceAccept).unwrap().decode_or_default(),
- pending_removal: RmrkCore::get_nft_property(resource_collection_id, resource_id, RmrkProperty::PendingResourceRemoval).unwrap().decode_or_default(),
- resource: RmrkCore::get_nft_property(resource_collection_id, resource_id, RmrkProperty::ResourceType).unwrap().decode_or_default(),/* {
- RmrkResourceTypes::Basic(resource) => RmrkResourceTypes::Basic(),/*(RmrkBasicResource {
- src: RmrkCore::get_nft_property_inner(properties, RmrkProperty::Src).unwrap().decode_or_default(),
- metadata: RmrkCore::get_nft_property_inner(properties, RmrkProperty::Metadata).unwrap().decode_or_default(),
- license: RmrkCore::get_nft_property_inner(properties, RmrkProperty::License).unwrap().decode_or_default(),
- thumb: RmrkCore::get_nft_property_inner(properties, RmrkProperty::Thumb).unwrap().decode_or_default(),
- },*///BasicResource<BoundedString>)
- _ => todo!(), //RmrkResourceTypes::Composable(ComposableResource<BoundedString, BoundedParts>),
- //RmrkResourceTypes::Slot(SlotResource<BoundedString>),
- },*/
+ let resources = resource_collection
+ .collection_tokens()
+ .iter()
+ .filter_map(|(res_id)| Some(RmrkResourceInfo {
+ id: res_id.0,
+ pending: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::PendingResourceAccept).unwrap().decode_or_default(),
+ pending_removal: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::PendingResourceRemoval).unwrap().decode_or_default(),
+ resource: match RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::ResourceType).unwrap().decode_or_default() {
+ ResourceType::Basic => RmrkResourceTypes::Basic(RmrkBasicResource {
+ src: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Src).unwrap().decode_or_default(),
+ metadata: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Metadata).unwrap().decode_or_default(),
+ license: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::License).unwrap().decode_or_default(),
+ thumb: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Thumb).unwrap().decode_or_default(),
+ }),
+ ResourceType::Composable => RmrkResourceTypes::Composable(RmrkComposableResource {
+ parts: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Parts).unwrap().decode_or_default(),
+ base: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Base).unwrap().decode_or_default(),
+ src: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Src).unwrap().decode_or_default(),
+ metadata: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Metadata).unwrap().decode_or_default(),
+ license: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::License).unwrap().decode_or_default(),
+ thumb: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Thumb).unwrap().decode_or_default(),
+ }),
+ ResourceType::Slot => RmrkResourceTypes::Slot(RmrkSlotResource {
+ base: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Base).unwrap().decode_or_default(),
+ src: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Src).unwrap().decode_or_default(),
+ metadata: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Metadata).unwrap().decode_or_default(),
+ slot: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Slot).unwrap().decode_or_default(),
+ license: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::License).unwrap().decode_or_default(),
+ thumb: RmrkCore::get_nft_property(res_collection_id, *res_id, RmrkProperty::Thumb).unwrap().decode_or_default(),
+ }),
+ // todo refactor :|
+ },
}))
.collect();
@@ -308,10 +327,10 @@
use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, RmrkDecode}};
let collection_id = RmrkCore::unique_collection_id(collection_id)?;
- if !RmrkCore::collection_exists(collection_id) { return Ok(Vec::new()); } // todo ensure the collection type doesn't matter
+ if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() { return Ok(Vec::new()); }
let nft_id = TokenId(nft_id);
- if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Resource).is_err() { return Ok(Vec::new()); }
+ if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Regular).is_err() { return Ok(Vec::new()); }
/*let resource_collection_id: CollectionId = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourceCollection)
.unwrap()
@@ -327,6 +346,7 @@
.sort_by_key(|(_, index)| *index)
.into_iter().map(|(resource_id, _)| resource_id)*/
let priorities = RmrkCore::get_nft_property(collection_id, nft_id, RmrkProperty::ResourcePriorities)?.decode_or_default();
+ // todo let it simply be default here after removing default from decode
Ok(priorities)
}
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -437,6 +437,33 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ rmrkCore: {
+ CollectionFullOrLocked: AugmentedError<ApiType>;
+ CollectionNotEmpty: AugmentedError<ApiType>;
+ CollectionUnknown: AugmentedError<ApiType>;
+ CorruptedCollectionType: AugmentedError<ApiType>;
+ NftTypeEncodeError: AugmentedError<ApiType>;
+ NoAvailableCollectionId: AugmentedError<ApiType>;
+ NoAvailableNftId: AugmentedError<ApiType>;
+ NoPermission: AugmentedError<ApiType>;
+ RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;
+ RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
+ rmrkEquip: {
+ BaseDoesntExist: AugmentedError<ApiType>;
+ NeedsDefaultThemeFirst: AugmentedError<ApiType>;
+ NoAvailableBaseId: AugmentedError<ApiType>;
+ NoAvailablePartId: AugmentedError<ApiType>;
+ PermissionError: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
structure: {
/**
* While searched for owner, encountered depth limit
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -396,6 +396,27 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ rmrkCore: {
+ CollectionCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ CollectionDestroyed: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ CollectionLocked: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ IssuerChanged: AugmentedEvent<ApiType, [AccountId32, AccountId32, u32]>;
+ NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
+ PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
+ ResourceAdded: AugmentedEvent<ApiType, [u32, u32]>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
+ rmrkEquip: {
+ BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
structure: {
/**
* Executed call on behalf of token
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -415,6 +415,22 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ rmrkCore: {
+ collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ collectionIndexMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
+ rmrkEquip: {
+ baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
structure: {
/**
* Generic query
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -22,7 +22,7 @@
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
-import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
+import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
@@ -397,6 +397,60 @@
**/
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
};
+ rmrk: {
+ /**
+ * Get tokens owned by an account in a collection
+ **/
+ accountTokens: AugmentedRpc<(accountId: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;
+ /**
+ * Get base info
+ **/
+ base: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkBaseInfo>>>;
+ /**
+ * Get all Base's parts
+ **/
+ baseParts: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPartType>>>;
+ /**
+ * Get collection by id
+ **/
+ collectionById: AugmentedRpc<(id: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkCollectionInfo>>>;
+ /**
+ * Get collection properties
+ **/
+ collectionProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPropertyInfo>>>;
+ /**
+ * Get the latest created collection id
+ **/
+ lastCollectionIdx: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<u32>>;
+ /**
+ * Get NFT by collection id and NFT id
+ **/
+ nftById: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkNftInfo>>>;
+ /**
+ * Get NFT children
+ **/
+ nftChildren: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkNftChild>>>;
+ /**
+ * Get NFT properties
+ **/
+ nftProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPropertyInfo>>>;
+ /**
+ * Get NFT resource priorities
+ **/
+ nftResourcePriorities: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<Bytes>>>;
+ /**
+ * Get NFT resources
+ **/
+ nftResources: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkResourceInfo>>>;
+ /**
+ * Get Base's theme names
+ **/
+ themeNames: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<Bytes>>>;
+ /**
+ * Get Theme's keys values
+ **/
+ themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkTheme>>>;
+ };
rpc: {
/**
* Retrieves the list of RPC methods that are exposed by the node
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -4,8 +4,8 @@
import type { ApiTypes } from '@polkadot/api-base/types';
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
-import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
+import 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';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -346,6 +346,30 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ rmrkCore: {
+ 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]>;
+ 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]>;
+ 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]>;
+ burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
+ createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;
+ destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ 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]>;
+ 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]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
+ rmrkEquip: {
+ 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>]>;
+ themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: UpDataStructsRmrkTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsRmrkTheme]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
structure: {
/**
* Generic tx
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -788,6 +788,12 @@
PalletNonfungibleItemData: PalletNonfungibleItemData;
PalletRefungibleError: PalletRefungibleError;
PalletRefungibleItemData: PalletRefungibleItemData;
+ PalletRmrkCoreCall: PalletRmrkCoreCall;
+ PalletRmrkCoreError: PalletRmrkCoreError;
+ PalletRmrkCoreEvent: PalletRmrkCoreEvent;
+ PalletRmrkEquipCall: PalletRmrkEquipCall;
+ PalletRmrkEquipError: PalletRmrkEquipError;
+ PalletRmrkEquipEvent: PalletRmrkEquipEvent;
PalletsOrigin: PalletsOrigin;
PalletStorageMetadataLatest: PalletStorageMetadataLatest;
PalletStorageMetadataV14: PalletStorageMetadataV14;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1129,6 +1129,169 @@
readonly constData: Bytes;
}
+/** @name PalletRmrkCoreCall */
+export interface PalletRmrkCoreCall extends Enum {
+ readonly isCreateCollection: boolean;
+ readonly asCreateCollection: {
+ readonly metadata: Bytes;
+ readonly max: Option<u32>;
+ readonly symbol: Bytes;
+ } & Struct;
+ readonly isDestroyCollection: boolean;
+ readonly asDestroyCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isChangeCollectionIssuer: boolean;
+ readonly asChangeCollectionIssuer: {
+ readonly collectionId: u32;
+ readonly newIssuer: MultiAddress;
+ } & Struct;
+ readonly isLockCollection: boolean;
+ readonly asLockCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isMintNft: boolean;
+ readonly asMintNft: {
+ readonly owner: AccountId32;
+ readonly collectionId: u32;
+ readonly recipient: Option<AccountId32>;
+ readonly royaltyAmount: Option<Permill>;
+ readonly metadata: Bytes;
+ } & Struct;
+ readonly isBurnNft: boolean;
+ readonly asBurnNft: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isSetProperty: boolean;
+ readonly asSetProperty: {
+ readonly rmrkCollectionId: Compact<u32>;
+ readonly maybeNftId: Option<u32>;
+ readonly key: Bytes;
+ readonly value: Bytes;
+ } & Struct;
+ readonly isAddBasicResource: boolean;
+ readonly asAddBasicResource: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ readonly resource: UpDataStructsRmrkBasicResource;
+ } & Struct;
+ readonly isAddComposableResource: boolean;
+ readonly asAddComposableResource: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ readonly resourceId: Bytes;
+ readonly resource: UpDataStructsRmrkComposableResource;
+ } & Struct;
+ readonly isAddSlotResource: boolean;
+ readonly asAddSlotResource: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ readonly resource: UpDataStructsRmrkSlotResource;
+ } & Struct;
+ readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource';
+}
+
+/** @name PalletRmrkCoreError */
+export interface PalletRmrkCoreError extends Enum {
+ readonly isCorruptedCollectionType: boolean;
+ readonly isNftTypeEncodeError: boolean;
+ readonly isRmrkPropertyKeyIsTooLong: boolean;
+ readonly isRmrkPropertyValueIsTooLong: boolean;
+ readonly isCollectionNotEmpty: boolean;
+ readonly isNoAvailableCollectionId: boolean;
+ readonly isNoAvailableNftId: boolean;
+ readonly isCollectionUnknown: boolean;
+ readonly isNoPermission: boolean;
+ readonly isCollectionFullOrLocked: boolean;
+ readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';
+}
+
+/** @name PalletRmrkCoreEvent */
+export interface PalletRmrkCoreEvent extends Enum {
+ readonly isCollectionCreated: boolean;
+ readonly asCollectionCreated: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCollectionDestroyed: boolean;
+ readonly asCollectionDestroyed: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isIssuerChanged: boolean;
+ readonly asIssuerChanged: {
+ readonly oldIssuer: AccountId32;
+ readonly newIssuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCollectionLocked: boolean;
+ readonly asCollectionLocked: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isNftMinted: boolean;
+ readonly asNftMinted: {
+ readonly owner: AccountId32;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isNftBurned: boolean;
+ readonly asNftBurned: {
+ readonly owner: AccountId32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isPropertySet: boolean;
+ readonly asPropertySet: {
+ readonly collectionId: u32;
+ readonly maybeNftId: Option<u32>;
+ readonly key: Bytes;
+ readonly value: Bytes;
+ } & Struct;
+ readonly isResourceAdded: boolean;
+ readonly asResourceAdded: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet' | 'ResourceAdded';
+}
+
+/** @name PalletRmrkEquipCall */
+export interface PalletRmrkEquipCall extends Enum {
+ readonly isCreateBase: boolean;
+ readonly asCreateBase: {
+ readonly baseType: Bytes;
+ readonly symbol: Bytes;
+ readonly parts: Vec<UpDataStructsRmrkPartType>;
+ } & Struct;
+ readonly isThemeAdd: boolean;
+ readonly asThemeAdd: {
+ readonly baseId: u32;
+ readonly theme: UpDataStructsRmrkTheme;
+ } & Struct;
+ readonly type: 'CreateBase' | 'ThemeAdd';
+}
+
+/** @name PalletRmrkEquipError */
+export interface PalletRmrkEquipError extends Enum {
+ readonly isPermissionError: boolean;
+ readonly isNoAvailableBaseId: boolean;
+ readonly isNoAvailablePartId: boolean;
+ readonly isBaseDoesntExist: boolean;
+ readonly isNeedsDefaultThemeFirst: boolean;
+ readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
+}
+
+/** @name PalletRmrkEquipEvent */
+export interface PalletRmrkEquipEvent extends Enum {
+ readonly isBaseCreated: boolean;
+ readonly asBaseCreated: {
+ readonly issuer: AccountId32;
+ readonly baseId: u32;
+ } & Struct;
+ readonly type: 'BaseCreated';
+}
+
/** @name PalletStructureCall */
export interface PalletStructureCall extends Null {}
@@ -2014,7 +2177,7 @@
/** @name UpDataStructsRmrkResourceInfo */
export interface UpDataStructsRmrkResourceInfo extends Struct {
- readonly id: Bytes;
+ readonly id: u32;
readonly resource: UpDataStructsRmrkResourceTypes;
readonly pending: bool;
readonly pendingRemoval: bool;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1528,8 +1528,161 @@
**/
PalletStructureCall: 'Null',
/**
- * Lookup206: pallet_evm::pallet::Call<T>
+ * Lookup206: pallet_rmrk_core::pallet::Call<T>
+ **/
+ PalletRmrkCoreCall: {
+ _enum: {
+ create_collection: {
+ metadata: 'Bytes',
+ max: 'Option<u32>',
+ symbol: 'Bytes',
+ },
+ destroy_collection: {
+ collectionId: 'u32',
+ },
+ change_collection_issuer: {
+ collectionId: 'u32',
+ newIssuer: 'MultiAddress',
+ },
+ lock_collection: {
+ collectionId: 'u32',
+ },
+ mint_nft: {
+ owner: 'AccountId32',
+ collectionId: 'u32',
+ recipient: 'Option<AccountId32>',
+ royaltyAmount: 'Option<Permill>',
+ metadata: 'Bytes',
+ },
+ burn_nft: {
+ collectionId: 'u32',
+ nftId: 'u32',
+ },
+ set_property: {
+ rmrkCollectionId: 'Compact<u32>',
+ maybeNftId: 'Option<u32>',
+ key: 'Bytes',
+ value: 'Bytes',
+ },
+ add_basic_resource: {
+ collectionId: 'u32',
+ nftId: 'u32',
+ resource: 'UpDataStructsRmrkBasicResource',
+ },
+ add_composable_resource: {
+ collectionId: 'u32',
+ nftId: 'u32',
+ resourceId: 'Bytes',
+ resource: 'UpDataStructsRmrkComposableResource',
+ },
+ add_slot_resource: {
+ collectionId: 'u32',
+ nftId: 'u32',
+ resource: 'UpDataStructsRmrkSlotResource'
+ }
+ }
+ },
+ /**
+ * Lookup212: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkBasicResource: {
+ src: 'Option<Bytes>',
+ metadata: 'Option<Bytes>',
+ license: 'Option<Bytes>',
+ thumb: 'Option<Bytes>'
+ },
+ /**
+ * Lookup215: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkComposableResource: {
+ parts: 'Vec<u32>',
+ base: 'u32',
+ src: 'Option<Bytes>',
+ metadata: 'Option<Bytes>',
+ license: 'Option<Bytes>',
+ thumb: 'Option<Bytes>'
+ },
+ /**
+ * Lookup217: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkSlotResource: {
+ base: 'u32',
+ src: 'Option<Bytes>',
+ metadata: 'Option<Bytes>',
+ slot: 'u32',
+ license: 'Option<Bytes>',
+ thumb: 'Option<Bytes>'
+ },
+ /**
+ * Lookup218: pallet_rmrk_equip::pallet::Call<T>
+ **/
+ PalletRmrkEquipCall: {
+ _enum: {
+ create_base: {
+ baseType: 'Bytes',
+ symbol: 'Bytes',
+ parts: 'Vec<UpDataStructsRmrkPartType>',
+ },
+ theme_add: {
+ baseId: 'u32',
+ theme: 'UpDataStructsRmrkTheme'
+ }
+ }
+ },
+ /**
+ * Lookup220: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
+ UpDataStructsRmrkPartType: {
+ _enum: {
+ FixedPart: 'UpDataStructsRmrkFixedPart',
+ SlotPart: 'UpDataStructsRmrkSlotPart'
+ }
+ },
+ /**
+ * Lookup222: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkFixedPart: {
+ id: 'u32',
+ z: 'u32',
+ src: 'Bytes'
+ },
+ /**
+ * Lookup223: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkSlotPart: {
+ id: 'u32',
+ equippable: 'UpDataStructsRmrkEquippableList',
+ src: 'Bytes',
+ z: 'u32'
+ },
+ /**
+ * Lookup224: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkEquippableList: {
+ _enum: {
+ All: 'Null',
+ Empty: 'Null',
+ Custom: 'Vec<u32>'
+ }
+ },
+ /**
+ * Lookup226: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
+ **/
+ UpDataStructsRmrkTheme: {
+ name: 'Bytes',
+ properties: 'Vec<UpDataStructsRmrkThemeProperty>',
+ inherit: 'bool'
+ },
+ /**
+ * Lookup228: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkThemeProperty: {
+ key: 'Bytes',
+ value: 'Bytes'
+ },
+ /**
+ * Lookup229: pallet_evm::pallet::Call<T>
+ **/
PalletEvmCall: {
_enum: {
withdraw: {
@@ -1571,7 +1724,7 @@
}
},
/**
- * Lookup212: pallet_ethereum::pallet::Call<T>
+ * Lookup235: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -1581,7 +1734,7 @@
}
},
/**
- * Lookup213: ethereum::transaction::TransactionV2
+ * Lookup236: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -1591,7 +1744,7 @@
}
},
/**
- * Lookup214: ethereum::transaction::LegacyTransaction
+ * Lookup237: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -1603,7 +1756,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup215: ethereum::transaction::TransactionAction
+ * Lookup238: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -1612,7 +1765,7 @@
}
},
/**
- * Lookup216: ethereum::transaction::TransactionSignature
+ * Lookup239: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -1620,7 +1773,7 @@
s: 'H256'
},
/**
- * Lookup218: ethereum::transaction::EIP2930Transaction
+ * Lookup241: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -1636,14 +1789,14 @@
s: 'H256'
},
/**
- * Lookup220: ethereum::transaction::AccessListItem
+ * Lookup243: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup221: ethereum::transaction::EIP1559Transaction
+ * Lookup244: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -1660,7 +1813,7 @@
s: 'H256'
},
/**
- * Lookup222: pallet_evm_migration::pallet::Call<T>
+ * Lookup245: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -1678,7 +1831,7 @@
}
},
/**
- * Lookup225: pallet_sudo::pallet::Event<T>
+ * Lookup248: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -1694,7 +1847,7 @@
}
},
/**
- * Lookup227: sp_runtime::DispatchError
+ * Lookup250: sp_runtime::DispatchError
**/
SpRuntimeDispatchError: {
_enum: {
@@ -1711,38 +1864,38 @@
}
},
/**
- * Lookup228: sp_runtime::ModuleError
+ * Lookup251: sp_runtime::ModuleError
**/
SpRuntimeModuleError: {
index: 'u8',
error: '[u8;4]'
},
/**
- * Lookup229: sp_runtime::TokenError
+ * Lookup252: sp_runtime::TokenError
**/
SpRuntimeTokenError: {
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup230: sp_runtime::ArithmeticError
+ * Lookup253: sp_runtime::ArithmeticError
**/
SpRuntimeArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
- * Lookup231: sp_runtime::TransactionalError
+ * Lookup254: sp_runtime::TransactionalError
**/
SpRuntimeTransactionalError: {
_enum: ['LimitReached', 'NoLayer']
},
/**
- * Lookup232: pallet_sudo::pallet::Error<T>
+ * Lookup255: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup233: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ * Lookup256: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
**/
FrameSystemAccountInfo: {
nonce: 'u32',
@@ -1752,7 +1905,7 @@
data: 'PalletBalancesAccountData'
},
/**
- * Lookup234: frame_support::weights::PerDispatchClass<T>
+ * Lookup257: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU64: {
normal: 'u64',
@@ -1760,13 +1913,13 @@
mandatory: 'u64'
},
/**
- * Lookup235: sp_runtime::generic::digest::Digest
+ * Lookup258: sp_runtime::generic::digest::Digest
**/
SpRuntimeDigest: {
logs: 'Vec<SpRuntimeDigestDigestItem>'
},
/**
- * Lookup237: sp_runtime::generic::digest::DigestItem
+ * Lookup260: sp_runtime::generic::digest::DigestItem
**/
SpRuntimeDigestDigestItem: {
_enum: {
@@ -1782,7 +1935,7 @@
}
},
/**
- * Lookup239: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
+ * Lookup262: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -1790,7 +1943,7 @@
topics: 'Vec<H256>'
},
/**
- * Lookup241: frame_system::pallet::Event<T>
+ * Lookup264: frame_system::pallet::Event<T>
**/
FrameSystemEvent: {
_enum: {
@@ -1818,7 +1971,7 @@
}
},
/**
- * Lookup242: frame_support::weights::DispatchInfo
+ * Lookup265: frame_support::weights::DispatchInfo
**/
FrameSupportWeightsDispatchInfo: {
weight: 'u64',
@@ -1826,19 +1979,19 @@
paysFee: 'FrameSupportWeightsPays'
},
/**
- * Lookup243: frame_support::weights::DispatchClass
+ * Lookup266: frame_support::weights::DispatchClass
**/
FrameSupportWeightsDispatchClass: {
_enum: ['Normal', 'Operational', 'Mandatory']
},
/**
- * Lookup244: frame_support::weights::Pays
+ * Lookup267: frame_support::weights::Pays
**/
FrameSupportWeightsPays: {
_enum: ['Yes', 'No']
},
/**
- * Lookup245: orml_vesting::module::Event<T>
+ * Lookup268: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -1857,7 +2010,7 @@
}
},
/**
- * Lookup246: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup269: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -1872,7 +2025,7 @@
}
},
/**
- * Lookup247: pallet_xcm::pallet::Event<T>
+ * Lookup270: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -1895,7 +2048,7 @@
}
},
/**
- * Lookup248: xcm::v2::traits::Outcome
+ * Lookup271: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -1905,7 +2058,7 @@
}
},
/**
- * Lookup250: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup273: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -1915,7 +2068,7 @@
}
},
/**
- * Lookup251: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup274: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -1928,7 +2081,7 @@
}
},
/**
- * Lookup252: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup275: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletUniqueRawEvent: {
_enum: {
@@ -1945,7 +2098,7 @@
}
},
/**
- * Lookup253: pallet_common::pallet::Event<T>
+ * Lookup276: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1963,7 +2116,7 @@
}
},
/**
- * Lookup254: pallet_structure::pallet::Event<T>
+ * Lookup277: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -1971,8 +2124,62 @@
}
},
/**
- * Lookup255: pallet_evm::pallet::Event<T>
+ * Lookup278: pallet_rmrk_core::pallet::Event<T>
**/
+ PalletRmrkCoreEvent: {
+ _enum: {
+ CollectionCreated: {
+ issuer: 'AccountId32',
+ collectionId: 'u32',
+ },
+ CollectionDestroyed: {
+ issuer: 'AccountId32',
+ collectionId: 'u32',
+ },
+ IssuerChanged: {
+ oldIssuer: 'AccountId32',
+ newIssuer: 'AccountId32',
+ collectionId: 'u32',
+ },
+ CollectionLocked: {
+ issuer: 'AccountId32',
+ collectionId: 'u32',
+ },
+ NftMinted: {
+ owner: 'AccountId32',
+ collectionId: 'u32',
+ nftId: 'u32',
+ },
+ NFTBurned: {
+ owner: 'AccountId32',
+ nftId: 'u32',
+ },
+ PropertySet: {
+ collectionId: 'u32',
+ maybeNftId: 'Option<u32>',
+ key: 'Bytes',
+ value: 'Bytes',
+ },
+ ResourceAdded: {
+ nftId: 'u32',
+ resourceId: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup279: pallet_rmrk_equip::pallet::Event<T>
+ **/
+ PalletRmrkEquipEvent: {
+ _enum: {
+ BaseCreated: {
+ issuer: 'AccountId32',
+ baseId: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup280: pallet_evm::pallet::Event<T>
+ **/
PalletEvmEvent: {
_enum: {
Log: 'EthereumLog',
@@ -1985,7 +2192,7 @@
}
},
/**
- * Lookup256: ethereum::log::Log
+ * Lookup281: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1993,7 +2200,7 @@
data: 'Bytes'
},
/**
- * Lookup257: pallet_ethereum::pallet::Event
+ * Lookup282: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -2001,7 +2208,7 @@
}
},
/**
- * Lookup258: evm_core::error::ExitReason
+ * Lookup283: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -2012,13 +2219,13 @@
}
},
/**
- * Lookup259: evm_core::error::ExitSucceed
+ * Lookup284: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup260: evm_core::error::ExitError
+ * Lookup285: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -2040,13 +2247,13 @@
}
},
/**
- * Lookup263: evm_core::error::ExitRevert
+ * Lookup288: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup264: evm_core::error::ExitFatal
+ * Lookup289: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -2057,7 +2264,7 @@
}
},
/**
- * Lookup265: frame_system::Phase
+ * Lookup290: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -2067,14 +2274,14 @@
}
},
/**
- * Lookup267: frame_system::LastRuntimeUpgradeInfo
+ * Lookup292: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup268: frame_system::limits::BlockWeights
+ * Lookup293: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -2082,7 +2289,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup269: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup294: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -2090,7 +2297,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup270: frame_system::limits::WeightsPerClass
+ * Lookup295: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -2099,13 +2306,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup272: frame_system::limits::BlockLength
+ * Lookup297: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup273: frame_support::weights::PerDispatchClass<T>
+ * Lookup298: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -2113,14 +2320,14 @@
mandatory: 'u32'
},
/**
- * Lookup274: frame_support::weights::RuntimeDbWeight
+ * Lookup299: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup275: sp_version::RuntimeVersion
+ * Lookup300: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -2133,19 +2340,19 @@
stateVersion: 'u8'
},
/**
- * Lookup279: frame_system::pallet::Error<T>
+ * Lookup304: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup281: orml_vesting::module::Error<T>
+ * Lookup306: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup283: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup308: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2153,19 +2360,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup284: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup309: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup287: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup312: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup290: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup315: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2175,13 +2382,13 @@
lastIndex: 'u16'
},
/**
- * Lookup291: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup316: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup293: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup318: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2192,29 +2399,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup295: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup320: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup296: pallet_xcm::pallet::Error<T>
+ * Lookup321: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup297: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup322: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup298: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup323: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup299: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup324: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2222,19 +2429,19 @@
overweightCount: 'u64'
},
/**
- * Lookup302: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup327: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup306: pallet_unique::Error<T>
+ * Lookup331: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
},
/**
- * Lookup307: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup332: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2247,7 +2454,7 @@
permissions: 'UpDataStructsCollectionPermissions'
},
/**
- * Lookup308: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup333: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2257,7 +2464,7 @@
}
},
/**
- * Lookup309: up_data_structs::Properties
+ * Lookup334: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2265,15 +2472,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup310: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup335: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup315: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup340: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup322: up_data_structs::CollectionStats
+ * Lookup347: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2353,7 +2560,7 @@
* 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>>
**/
UpDataStructsRmrkResourceInfo: {
- id: 'Bytes',
+ id: 'u32',
resource: 'UpDataStructsRmrkResourceTypes',
pending: 'bool',
pendingRemoval: 'bool'
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -104,6 +104,12 @@
PalletNonfungibleItemData: PalletNonfungibleItemData;
PalletRefungibleError: PalletRefungibleError;
PalletRefungibleItemData: PalletRefungibleItemData;
+ PalletRmrkCoreCall: PalletRmrkCoreCall;
+ PalletRmrkCoreError: PalletRmrkCoreError;
+ PalletRmrkCoreEvent: PalletRmrkCoreEvent;
+ PalletRmrkEquipCall: PalletRmrkEquipCall;
+ PalletRmrkEquipError: PalletRmrkEquipError;
+ PalletRmrkEquipEvent: PalletRmrkEquipEvent;
PalletStructureCall: PalletStructureCall;
PalletStructureError: PalletStructureError;
PalletStructureEvent: PalletStructureEvent;
tests/src/interfaces/rmrk/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/rmrk/definitions.ts
+++ b/tests/src/interfaces/rmrk/definitions.ts
@@ -58,7 +58,10 @@
),
collectionProperties: fn(
'Get collection properties',
- [{name: 'collectionId', type: 'u32'}],
+ [
+ {name: 'collectionId', type: 'u32'},
+ {name: 'filterKeys', type: 'Vec<String>', isOptional: true},
+ ],
'Vec<UpDataStructsRmrkPropertyInfo>',
),
nftProperties: fn(
@@ -66,6 +69,7 @@
[
{name: 'collectionId', type: 'u32'},
{name: 'nftId', type: 'u32'},
+ {name: 'filterKeys', type: 'Vec<String>', isOptional: true},
],
'Vec<UpDataStructsRmrkPropertyInfo>',
),
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34declare module '@polkadot/types/lookup' {5 import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6 import type { ITuple } from '@polkadot/types-codec/types';7 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8 import type { Event } from '@polkadot/types/interfaces/system';910 /** @name PolkadotPrimitivesV2PersistedValidationData (2) */11 export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {12 readonly parentHead: Bytes;13 readonly relayParentNumber: u32;14 readonly relayParentStorageRoot: H256;15 readonly maxPovSize: u32;16 }1718 /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */19 export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {20 readonly isPresent: boolean;21 readonly type: 'Present';22 }2324 /** @name SpTrieStorageProof (10) */25 export interface SpTrieStorageProof extends Struct {26 readonly trieNodes: BTreeSet<Bytes>;27 }2829 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */30 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {31 readonly dmqMqcHead: H256;32 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;33 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;34 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;35 }3637 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */38 export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {39 readonly maxCapacity: u32;40 readonly maxTotalSize: u32;41 readonly maxMessageSize: u32;42 readonly msgCount: u32;43 readonly totalSize: u32;44 readonly mqcHead: Option<H256>;45 }4647 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */48 export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {49 readonly maxCodeSize: u32;50 readonly maxHeadDataSize: u32;51 readonly maxUpwardQueueCount: u32;52 readonly maxUpwardQueueSize: u32;53 readonly maxUpwardMessageSize: u32;54 readonly maxUpwardMessageNumPerCandidate: u32;55 readonly hrmpMaxMessageNumPerCandidate: u32;56 readonly validationUpgradeCooldown: u32;57 readonly validationUpgradeDelay: u32;58 }5960 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */61 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {62 readonly recipient: u32;63 readonly data: Bytes;64 }6566 /** @name CumulusPalletParachainSystemCall (28) */67 export interface CumulusPalletParachainSystemCall extends Enum {68 readonly isSetValidationData: boolean;69 readonly asSetValidationData: {70 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;71 } & Struct;72 readonly isSudoSendUpwardMessage: boolean;73 readonly asSudoSendUpwardMessage: {74 readonly message: Bytes;75 } & Struct;76 readonly isAuthorizeUpgrade: boolean;77 readonly asAuthorizeUpgrade: {78 readonly codeHash: H256;79 } & Struct;80 readonly isEnactAuthorizedUpgrade: boolean;81 readonly asEnactAuthorizedUpgrade: {82 readonly code: Bytes;83 } & Struct;84 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';85 }8687 /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */88 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {89 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;90 readonly relayChainState: SpTrieStorageProof;91 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;92 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;93 }9495 /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */96 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {97 readonly sentAt: u32;98 readonly msg: Bytes;99 }100101 /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */102 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {103 readonly sentAt: u32;104 readonly data: Bytes;105 }106107 /** @name CumulusPalletParachainSystemEvent (37) */108 export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: u32;112 readonly isValidationFunctionDiscarded: boolean;113 readonly isUpgradeAuthorized: boolean;114 readonly asUpgradeAuthorized: H256;115 readonly isDownwardMessagesReceived: boolean;116 readonly asDownwardMessagesReceived: u32;117 readonly isDownwardMessagesProcessed: boolean;118 readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;119 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';120 }121122 /** @name CumulusPalletParachainSystemError (38) */123 export interface CumulusPalletParachainSystemError extends Enum {124 readonly isOverlappingUpgrades: boolean;125 readonly isProhibitedByPolkadot: boolean;126 readonly isTooBig: boolean;127 readonly isValidationDataNotAvailable: boolean;128 readonly isHostConfigurationNotAvailable: boolean;129 readonly isNotScheduled: boolean;130 readonly isNothingAuthorized: boolean;131 readonly isUnauthorized: boolean;132 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';133 }134135 /** @name PalletBalancesAccountData (41) */136 export interface PalletBalancesAccountData extends Struct {137 readonly free: u128;138 readonly reserved: u128;139 readonly miscFrozen: u128;140 readonly feeFrozen: u128;141 }142143 /** @name PalletBalancesBalanceLock (43) */144 export interface PalletBalancesBalanceLock extends Struct {145 readonly id: U8aFixed;146 readonly amount: u128;147 readonly reasons: PalletBalancesReasons;148 }149150 /** @name PalletBalancesReasons (45) */151 export interface PalletBalancesReasons extends Enum {152 readonly isFee: boolean;153 readonly isMisc: boolean;154 readonly isAll: boolean;155 readonly type: 'Fee' | 'Misc' | 'All';156 }157158 /** @name PalletBalancesReserveData (48) */159 export interface PalletBalancesReserveData extends Struct {160 readonly id: U8aFixed;161 readonly amount: u128;162 }163164 /** @name PalletBalancesReleases (50) */165 export interface PalletBalancesReleases extends Enum {166 readonly isV100: boolean;167 readonly isV200: boolean;168 readonly type: 'V100' | 'V200';169 }170171 /** @name PalletBalancesCall (51) */172 export interface PalletBalancesCall extends Enum {173 readonly isTransfer: boolean;174 readonly asTransfer: {175 readonly dest: MultiAddress;176 readonly value: Compact<u128>;177 } & Struct;178 readonly isSetBalance: boolean;179 readonly asSetBalance: {180 readonly who: MultiAddress;181 readonly newFree: Compact<u128>;182 readonly newReserved: Compact<u128>;183 } & Struct;184 readonly isForceTransfer: boolean;185 readonly asForceTransfer: {186 readonly source: MultiAddress;187 readonly dest: MultiAddress;188 readonly value: Compact<u128>;189 } & Struct;190 readonly isTransferKeepAlive: boolean;191 readonly asTransferKeepAlive: {192 readonly dest: MultiAddress;193 readonly value: Compact<u128>;194 } & Struct;195 readonly isTransferAll: boolean;196 readonly asTransferAll: {197 readonly dest: MultiAddress;198 readonly keepAlive: bool;199 } & Struct;200 readonly isForceUnreserve: boolean;201 readonly asForceUnreserve: {202 readonly who: MultiAddress;203 readonly amount: u128;204 } & Struct;205 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';206 }207208 /** @name PalletBalancesEvent (57) */209 export interface PalletBalancesEvent extends Enum {210 readonly isEndowed: boolean;211 readonly asEndowed: {212 readonly account: AccountId32;213 readonly freeBalance: u128;214 } & Struct;215 readonly isDustLost: boolean;216 readonly asDustLost: {217 readonly account: AccountId32;218 readonly amount: u128;219 } & Struct;220 readonly isTransfer: boolean;221 readonly asTransfer: {222 readonly from: AccountId32;223 readonly to: AccountId32;224 readonly amount: u128;225 } & Struct;226 readonly isBalanceSet: boolean;227 readonly asBalanceSet: {228 readonly who: AccountId32;229 readonly free: u128;230 readonly reserved: u128;231 } & Struct;232 readonly isReserved: boolean;233 readonly asReserved: {234 readonly who: AccountId32;235 readonly amount: u128;236 } & Struct;237 readonly isUnreserved: boolean;238 readonly asUnreserved: {239 readonly who: AccountId32;240 readonly amount: u128;241 } & Struct;242 readonly isReserveRepatriated: boolean;243 readonly asReserveRepatriated: {244 readonly from: AccountId32;245 readonly to: AccountId32;246 readonly amount: u128;247 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;248 } & Struct;249 readonly isDeposit: boolean;250 readonly asDeposit: {251 readonly who: AccountId32;252 readonly amount: u128;253 } & Struct;254 readonly isWithdraw: boolean;255 readonly asWithdraw: {256 readonly who: AccountId32;257 readonly amount: u128;258 } & Struct;259 readonly isSlashed: boolean;260 readonly asSlashed: {261 readonly who: AccountId32;262 readonly amount: u128;263 } & Struct;264 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';265 }266267 /** @name FrameSupportTokensMiscBalanceStatus (58) */268 export interface FrameSupportTokensMiscBalanceStatus extends Enum {269 readonly isFree: boolean;270 readonly isReserved: boolean;271 readonly type: 'Free' | 'Reserved';272 }273274 /** @name PalletBalancesError (59) */275 export interface PalletBalancesError extends Enum {276 readonly isVestingBalance: boolean;277 readonly isLiquidityRestrictions: boolean;278 readonly isInsufficientBalance: boolean;279 readonly isExistentialDeposit: boolean;280 readonly isKeepAlive: boolean;281 readonly isExistingVestingSchedule: boolean;282 readonly isDeadAccount: boolean;283 readonly isTooManyReserves: boolean;284 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';285 }286287 /** @name PalletTimestampCall (62) */288 export interface PalletTimestampCall extends Enum {289 readonly isSet: boolean;290 readonly asSet: {291 readonly now: Compact<u64>;292 } & Struct;293 readonly type: 'Set';294 }295296 /** @name PalletTransactionPaymentReleases (65) */297 export interface PalletTransactionPaymentReleases extends Enum {298 readonly isV1Ancient: boolean;299 readonly isV2: boolean;300 readonly type: 'V1Ancient' | 'V2';301 }302303 /** @name FrameSupportWeightsWeightToFeeCoefficient (67) */304 export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {305 readonly coeffInteger: u128;306 readonly coeffFrac: Perbill;307 readonly negative: bool;308 readonly degree: u8;309 }310311 /** @name PalletTreasuryProposal (69) */312 export interface PalletTreasuryProposal extends Struct {313 readonly proposer: AccountId32;314 readonly value: u128;315 readonly beneficiary: AccountId32;316 readonly bond: u128;317 }318319 /** @name PalletTreasuryCall (72) */320 export interface PalletTreasuryCall extends Enum {321 readonly isProposeSpend: boolean;322 readonly asProposeSpend: {323 readonly value: Compact<u128>;324 readonly beneficiary: MultiAddress;325 } & Struct;326 readonly isRejectProposal: boolean;327 readonly asRejectProposal: {328 readonly proposalId: Compact<u32>;329 } & Struct;330 readonly isApproveProposal: boolean;331 readonly asApproveProposal: {332 readonly proposalId: Compact<u32>;333 } & Struct;334 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';335 }336337 /** @name PalletTreasuryEvent (74) */338 export interface PalletTreasuryEvent extends Enum {339 readonly isProposed: boolean;340 readonly asProposed: {341 readonly proposalIndex: u32;342 } & Struct;343 readonly isSpending: boolean;344 readonly asSpending: {345 readonly budgetRemaining: u128;346 } & Struct;347 readonly isAwarded: boolean;348 readonly asAwarded: {349 readonly proposalIndex: u32;350 readonly award: u128;351 readonly account: AccountId32;352 } & Struct;353 readonly isRejected: boolean;354 readonly asRejected: {355 readonly proposalIndex: u32;356 readonly slashed: u128;357 } & Struct;358 readonly isBurnt: boolean;359 readonly asBurnt: {360 readonly burntFunds: u128;361 } & Struct;362 readonly isRollover: boolean;363 readonly asRollover: {364 readonly rolloverBalance: u128;365 } & Struct;366 readonly isDeposit: boolean;367 readonly asDeposit: {368 readonly value: u128;369 } & Struct;370 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';371 }372373 /** @name FrameSupportPalletId (77) */374 export interface FrameSupportPalletId extends U8aFixed {}375376 /** @name PalletTreasuryError (78) */377 export interface PalletTreasuryError extends Enum {378 readonly isInsufficientProposersBalance: boolean;379 readonly isInvalidIndex: boolean;380 readonly isTooManyApprovals: boolean;381 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';382 }383384 /** @name PalletSudoCall (79) */385 export interface PalletSudoCall extends Enum {386 readonly isSudo: boolean;387 readonly asSudo: {388 readonly call: Call;389 } & Struct;390 readonly isSudoUncheckedWeight: boolean;391 readonly asSudoUncheckedWeight: {392 readonly call: Call;393 readonly weight: u64;394 } & Struct;395 readonly isSetKey: boolean;396 readonly asSetKey: {397 readonly new_: MultiAddress;398 } & Struct;399 readonly isSudoAs: boolean;400 readonly asSudoAs: {401 readonly who: MultiAddress;402 readonly call: Call;403 } & Struct;404 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';405 }406407 /** @name FrameSystemCall (81) */408 export interface FrameSystemCall extends Enum {409 readonly isFillBlock: boolean;410 readonly asFillBlock: {411 readonly ratio: Perbill;412 } & Struct;413 readonly isRemark: boolean;414 readonly asRemark: {415 readonly remark: Bytes;416 } & Struct;417 readonly isSetHeapPages: boolean;418 readonly asSetHeapPages: {419 readonly pages: u64;420 } & Struct;421 readonly isSetCode: boolean;422 readonly asSetCode: {423 readonly code: Bytes;424 } & Struct;425 readonly isSetCodeWithoutChecks: boolean;426 readonly asSetCodeWithoutChecks: {427 readonly code: Bytes;428 } & Struct;429 readonly isSetStorage: boolean;430 readonly asSetStorage: {431 readonly items: Vec<ITuple<[Bytes, Bytes]>>;432 } & Struct;433 readonly isKillStorage: boolean;434 readonly asKillStorage: {435 readonly keys_: Vec<Bytes>;436 } & Struct;437 readonly isKillPrefix: boolean;438 readonly asKillPrefix: {439 readonly prefix: Bytes;440 readonly subkeys: u32;441 } & Struct;442 readonly isRemarkWithEvent: boolean;443 readonly asRemarkWithEvent: {444 readonly remark: Bytes;445 } & Struct;446 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';447 }448449 /** @name OrmlVestingModuleCall (84) */450 export interface OrmlVestingModuleCall extends Enum {451 readonly isClaim: boolean;452 readonly isVestedTransfer: boolean;453 readonly asVestedTransfer: {454 readonly dest: MultiAddress;455 readonly schedule: OrmlVestingVestingSchedule;456 } & Struct;457 readonly isUpdateVestingSchedules: boolean;458 readonly asUpdateVestingSchedules: {459 readonly who: MultiAddress;460 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;461 } & Struct;462 readonly isClaimFor: boolean;463 readonly asClaimFor: {464 readonly dest: MultiAddress;465 } & Struct;466 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';467 }468469 /** @name OrmlVestingVestingSchedule (85) */470 export interface OrmlVestingVestingSchedule extends Struct {471 readonly start: u32;472 readonly period: u32;473 readonly periodCount: u32;474 readonly perPeriod: Compact<u128>;475 }476477 /** @name CumulusPalletXcmpQueueCall (87) */478 export interface CumulusPalletXcmpQueueCall extends Enum {479 readonly isServiceOverweight: boolean;480 readonly asServiceOverweight: {481 readonly index: u64;482 readonly weightLimit: u64;483 } & Struct;484 readonly isSuspendXcmExecution: boolean;485 readonly isResumeXcmExecution: boolean;486 readonly isUpdateSuspendThreshold: boolean;487 readonly asUpdateSuspendThreshold: {488 readonly new_: u32;489 } & Struct;490 readonly isUpdateDropThreshold: boolean;491 readonly asUpdateDropThreshold: {492 readonly new_: u32;493 } & Struct;494 readonly isUpdateResumeThreshold: boolean;495 readonly asUpdateResumeThreshold: {496 readonly new_: u32;497 } & Struct;498 readonly isUpdateThresholdWeight: boolean;499 readonly asUpdateThresholdWeight: {500 readonly new_: u64;501 } & Struct;502 readonly isUpdateWeightRestrictDecay: boolean;503 readonly asUpdateWeightRestrictDecay: {504 readonly new_: u64;505 } & Struct;506 readonly isUpdateXcmpMaxIndividualWeight: boolean;507 readonly asUpdateXcmpMaxIndividualWeight: {508 readonly new_: u64;509 } & Struct;510 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';511 }512513 /** @name PalletXcmCall (88) */514 export interface PalletXcmCall extends Enum {515 readonly isSend: boolean;516 readonly asSend: {517 readonly dest: XcmVersionedMultiLocation;518 readonly message: XcmVersionedXcm;519 } & Struct;520 readonly isTeleportAssets: boolean;521 readonly asTeleportAssets: {522 readonly dest: XcmVersionedMultiLocation;523 readonly beneficiary: XcmVersionedMultiLocation;524 readonly assets: XcmVersionedMultiAssets;525 readonly feeAssetItem: u32;526 } & Struct;527 readonly isReserveTransferAssets: boolean;528 readonly asReserveTransferAssets: {529 readonly dest: XcmVersionedMultiLocation;530 readonly beneficiary: XcmVersionedMultiLocation;531 readonly assets: XcmVersionedMultiAssets;532 readonly feeAssetItem: u32;533 } & Struct;534 readonly isExecute: boolean;535 readonly asExecute: {536 readonly message: XcmVersionedXcm;537 readonly maxWeight: u64;538 } & Struct;539 readonly isForceXcmVersion: boolean;540 readonly asForceXcmVersion: {541 readonly location: XcmV1MultiLocation;542 readonly xcmVersion: u32;543 } & Struct;544 readonly isForceDefaultXcmVersion: boolean;545 readonly asForceDefaultXcmVersion: {546 readonly maybeXcmVersion: Option<u32>;547 } & Struct;548 readonly isForceSubscribeVersionNotify: boolean;549 readonly asForceSubscribeVersionNotify: {550 readonly location: XcmVersionedMultiLocation;551 } & Struct;552 readonly isForceUnsubscribeVersionNotify: boolean;553 readonly asForceUnsubscribeVersionNotify: {554 readonly location: XcmVersionedMultiLocation;555 } & Struct;556 readonly isLimitedReserveTransferAssets: boolean;557 readonly asLimitedReserveTransferAssets: {558 readonly dest: XcmVersionedMultiLocation;559 readonly beneficiary: XcmVersionedMultiLocation;560 readonly assets: XcmVersionedMultiAssets;561 readonly feeAssetItem: u32;562 readonly weightLimit: XcmV2WeightLimit;563 } & Struct;564 readonly isLimitedTeleportAssets: boolean;565 readonly asLimitedTeleportAssets: {566 readonly dest: XcmVersionedMultiLocation;567 readonly beneficiary: XcmVersionedMultiLocation;568 readonly assets: XcmVersionedMultiAssets;569 readonly feeAssetItem: u32;570 readonly weightLimit: XcmV2WeightLimit;571 } & Struct;572 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';573 }574575 /** @name XcmVersionedMultiLocation (89) */576 export interface XcmVersionedMultiLocation extends Enum {577 readonly isV0: boolean;578 readonly asV0: XcmV0MultiLocation;579 readonly isV1: boolean;580 readonly asV1: XcmV1MultiLocation;581 readonly type: 'V0' | 'V1';582 }583584 /** @name XcmV0MultiLocation (90) */585 export interface XcmV0MultiLocation extends Enum {586 readonly isNull: boolean;587 readonly isX1: boolean;588 readonly asX1: XcmV0Junction;589 readonly isX2: boolean;590 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;591 readonly isX3: boolean;592 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;593 readonly isX4: boolean;594 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;595 readonly isX5: boolean;596 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;597 readonly isX6: boolean;598 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;599 readonly isX7: boolean;600 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;601 readonly isX8: boolean;602 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;603 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';604 }605606 /** @name XcmV0Junction (91) */607 export interface XcmV0Junction extends Enum {608 readonly isParent: boolean;609 readonly isParachain: boolean;610 readonly asParachain: Compact<u32>;611 readonly isAccountId32: boolean;612 readonly asAccountId32: {613 readonly network: XcmV0JunctionNetworkId;614 readonly id: U8aFixed;615 } & Struct;616 readonly isAccountIndex64: boolean;617 readonly asAccountIndex64: {618 readonly network: XcmV0JunctionNetworkId;619 readonly index: Compact<u64>;620 } & Struct;621 readonly isAccountKey20: boolean;622 readonly asAccountKey20: {623 readonly network: XcmV0JunctionNetworkId;624 readonly key: U8aFixed;625 } & Struct;626 readonly isPalletInstance: boolean;627 readonly asPalletInstance: u8;628 readonly isGeneralIndex: boolean;629 readonly asGeneralIndex: Compact<u128>;630 readonly isGeneralKey: boolean;631 readonly asGeneralKey: Bytes;632 readonly isOnlyChild: boolean;633 readonly isPlurality: boolean;634 readonly asPlurality: {635 readonly id: XcmV0JunctionBodyId;636 readonly part: XcmV0JunctionBodyPart;637 } & Struct;638 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';639 }640641 /** @name XcmV0JunctionNetworkId (92) */642 export interface XcmV0JunctionNetworkId extends Enum {643 readonly isAny: boolean;644 readonly isNamed: boolean;645 readonly asNamed: Bytes;646 readonly isPolkadot: boolean;647 readonly isKusama: boolean;648 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';649 }650651 /** @name XcmV0JunctionBodyId (93) */652 export interface XcmV0JunctionBodyId extends Enum {653 readonly isUnit: boolean;654 readonly isNamed: boolean;655 readonly asNamed: Bytes;656 readonly isIndex: boolean;657 readonly asIndex: Compact<u32>;658 readonly isExecutive: boolean;659 readonly isTechnical: boolean;660 readonly isLegislative: boolean;661 readonly isJudicial: boolean;662 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';663 }664665 /** @name XcmV0JunctionBodyPart (94) */666 export interface XcmV0JunctionBodyPart extends Enum {667 readonly isVoice: boolean;668 readonly isMembers: boolean;669 readonly asMembers: {670 readonly count: Compact<u32>;671 } & Struct;672 readonly isFraction: boolean;673 readonly asFraction: {674 readonly nom: Compact<u32>;675 readonly denom: Compact<u32>;676 } & Struct;677 readonly isAtLeastProportion: boolean;678 readonly asAtLeastProportion: {679 readonly nom: Compact<u32>;680 readonly denom: Compact<u32>;681 } & Struct;682 readonly isMoreThanProportion: boolean;683 readonly asMoreThanProportion: {684 readonly nom: Compact<u32>;685 readonly denom: Compact<u32>;686 } & Struct;687 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';688 }689690 /** @name XcmV1MultiLocation (95) */691 export interface XcmV1MultiLocation extends Struct {692 readonly parents: u8;693 readonly interior: XcmV1MultilocationJunctions;694 }695696 /** @name XcmV1MultilocationJunctions (96) */697 export interface XcmV1MultilocationJunctions extends Enum {698 readonly isHere: boolean;699 readonly isX1: boolean;700 readonly asX1: XcmV1Junction;701 readonly isX2: boolean;702 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;703 readonly isX3: boolean;704 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;705 readonly isX4: boolean;706 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;707 readonly isX5: boolean;708 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;709 readonly isX6: boolean;710 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;711 readonly isX7: boolean;712 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;713 readonly isX8: boolean;714 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;715 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';716 }717718 /** @name XcmV1Junction (97) */719 export interface XcmV1Junction extends Enum {720 readonly isParachain: boolean;721 readonly asParachain: Compact<u32>;722 readonly isAccountId32: boolean;723 readonly asAccountId32: {724 readonly network: XcmV0JunctionNetworkId;725 readonly id: U8aFixed;726 } & Struct;727 readonly isAccountIndex64: boolean;728 readonly asAccountIndex64: {729 readonly network: XcmV0JunctionNetworkId;730 readonly index: Compact<u64>;731 } & Struct;732 readonly isAccountKey20: boolean;733 readonly asAccountKey20: {734 readonly network: XcmV0JunctionNetworkId;735 readonly key: U8aFixed;736 } & Struct;737 readonly isPalletInstance: boolean;738 readonly asPalletInstance: u8;739 readonly isGeneralIndex: boolean;740 readonly asGeneralIndex: Compact<u128>;741 readonly isGeneralKey: boolean;742 readonly asGeneralKey: Bytes;743 readonly isOnlyChild: boolean;744 readonly isPlurality: boolean;745 readonly asPlurality: {746 readonly id: XcmV0JunctionBodyId;747 readonly part: XcmV0JunctionBodyPart;748 } & Struct;749 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';750 }751752 /** @name XcmVersionedXcm (98) */753 export interface XcmVersionedXcm extends Enum {754 readonly isV0: boolean;755 readonly asV0: XcmV0Xcm;756 readonly isV1: boolean;757 readonly asV1: XcmV1Xcm;758 readonly isV2: boolean;759 readonly asV2: XcmV2Xcm;760 readonly type: 'V0' | 'V1' | 'V2';761 }762763 /** @name XcmV0Xcm (99) */764 export interface XcmV0Xcm extends Enum {765 readonly isWithdrawAsset: boolean;766 readonly asWithdrawAsset: {767 readonly assets: Vec<XcmV0MultiAsset>;768 readonly effects: Vec<XcmV0Order>;769 } & Struct;770 readonly isReserveAssetDeposit: boolean;771 readonly asReserveAssetDeposit: {772 readonly assets: Vec<XcmV0MultiAsset>;773 readonly effects: Vec<XcmV0Order>;774 } & Struct;775 readonly isTeleportAsset: boolean;776 readonly asTeleportAsset: {777 readonly assets: Vec<XcmV0MultiAsset>;778 readonly effects: Vec<XcmV0Order>;779 } & Struct;780 readonly isQueryResponse: boolean;781 readonly asQueryResponse: {782 readonly queryId: Compact<u64>;783 readonly response: XcmV0Response;784 } & Struct;785 readonly isTransferAsset: boolean;786 readonly asTransferAsset: {787 readonly assets: Vec<XcmV0MultiAsset>;788 readonly dest: XcmV0MultiLocation;789 } & Struct;790 readonly isTransferReserveAsset: boolean;791 readonly asTransferReserveAsset: {792 readonly assets: Vec<XcmV0MultiAsset>;793 readonly dest: XcmV0MultiLocation;794 readonly effects: Vec<XcmV0Order>;795 } & Struct;796 readonly isTransact: boolean;797 readonly asTransact: {798 readonly originType: XcmV0OriginKind;799 readonly requireWeightAtMost: u64;800 readonly call: XcmDoubleEncoded;801 } & Struct;802 readonly isHrmpNewChannelOpenRequest: boolean;803 readonly asHrmpNewChannelOpenRequest: {804 readonly sender: Compact<u32>;805 readonly maxMessageSize: Compact<u32>;806 readonly maxCapacity: Compact<u32>;807 } & Struct;808 readonly isHrmpChannelAccepted: boolean;809 readonly asHrmpChannelAccepted: {810 readonly recipient: Compact<u32>;811 } & Struct;812 readonly isHrmpChannelClosing: boolean;813 readonly asHrmpChannelClosing: {814 readonly initiator: Compact<u32>;815 readonly sender: Compact<u32>;816 readonly recipient: Compact<u32>;817 } & Struct;818 readonly isRelayedFrom: boolean;819 readonly asRelayedFrom: {820 readonly who: XcmV0MultiLocation;821 readonly message: XcmV0Xcm;822 } & Struct;823 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';824 }825826 /** @name XcmV0MultiAsset (101) */827 export interface XcmV0MultiAsset extends Enum {828 readonly isNone: boolean;829 readonly isAll: boolean;830 readonly isAllFungible: boolean;831 readonly isAllNonFungible: boolean;832 readonly isAllAbstractFungible: boolean;833 readonly asAllAbstractFungible: {834 readonly id: Bytes;835 } & Struct;836 readonly isAllAbstractNonFungible: boolean;837 readonly asAllAbstractNonFungible: {838 readonly class: Bytes;839 } & Struct;840 readonly isAllConcreteFungible: boolean;841 readonly asAllConcreteFungible: {842 readonly id: XcmV0MultiLocation;843 } & Struct;844 readonly isAllConcreteNonFungible: boolean;845 readonly asAllConcreteNonFungible: {846 readonly class: XcmV0MultiLocation;847 } & Struct;848 readonly isAbstractFungible: boolean;849 readonly asAbstractFungible: {850 readonly id: Bytes;851 readonly amount: Compact<u128>;852 } & Struct;853 readonly isAbstractNonFungible: boolean;854 readonly asAbstractNonFungible: {855 readonly class: Bytes;856 readonly instance: XcmV1MultiassetAssetInstance;857 } & Struct;858 readonly isConcreteFungible: boolean;859 readonly asConcreteFungible: {860 readonly id: XcmV0MultiLocation;861 readonly amount: Compact<u128>;862 } & Struct;863 readonly isConcreteNonFungible: boolean;864 readonly asConcreteNonFungible: {865 readonly class: XcmV0MultiLocation;866 readonly instance: XcmV1MultiassetAssetInstance;867 } & Struct;868 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';869 }870871 /** @name XcmV1MultiassetAssetInstance (102) */872 export interface XcmV1MultiassetAssetInstance extends Enum {873 readonly isUndefined: boolean;874 readonly isIndex: boolean;875 readonly asIndex: Compact<u128>;876 readonly isArray4: boolean;877 readonly asArray4: U8aFixed;878 readonly isArray8: boolean;879 readonly asArray8: U8aFixed;880 readonly isArray16: boolean;881 readonly asArray16: U8aFixed;882 readonly isArray32: boolean;883 readonly asArray32: U8aFixed;884 readonly isBlob: boolean;885 readonly asBlob: Bytes;886 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';887 }888889 /** @name XcmV0Order (106) */890 export interface XcmV0Order extends Enum {891 readonly isNull: boolean;892 readonly isDepositAsset: boolean;893 readonly asDepositAsset: {894 readonly assets: Vec<XcmV0MultiAsset>;895 readonly dest: XcmV0MultiLocation;896 } & Struct;897 readonly isDepositReserveAsset: boolean;898 readonly asDepositReserveAsset: {899 readonly assets: Vec<XcmV0MultiAsset>;900 readonly dest: XcmV0MultiLocation;901 readonly effects: Vec<XcmV0Order>;902 } & Struct;903 readonly isExchangeAsset: boolean;904 readonly asExchangeAsset: {905 readonly give: Vec<XcmV0MultiAsset>;906 readonly receive: Vec<XcmV0MultiAsset>;907 } & Struct;908 readonly isInitiateReserveWithdraw: boolean;909 readonly asInitiateReserveWithdraw: {910 readonly assets: Vec<XcmV0MultiAsset>;911 readonly reserve: XcmV0MultiLocation;912 readonly effects: Vec<XcmV0Order>;913 } & Struct;914 readonly isInitiateTeleport: boolean;915 readonly asInitiateTeleport: {916 readonly assets: Vec<XcmV0MultiAsset>;917 readonly dest: XcmV0MultiLocation;918 readonly effects: Vec<XcmV0Order>;919 } & Struct;920 readonly isQueryHolding: boolean;921 readonly asQueryHolding: {922 readonly queryId: Compact<u64>;923 readonly dest: XcmV0MultiLocation;924 readonly assets: Vec<XcmV0MultiAsset>;925 } & Struct;926 readonly isBuyExecution: boolean;927 readonly asBuyExecution: {928 readonly fees: XcmV0MultiAsset;929 readonly weight: u64;930 readonly debt: u64;931 readonly haltOnError: bool;932 readonly xcm: Vec<XcmV0Xcm>;933 } & Struct;934 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';935 }936937 /** @name XcmV0Response (108) */938 export interface XcmV0Response extends Enum {939 readonly isAssets: boolean;940 readonly asAssets: Vec<XcmV0MultiAsset>;941 readonly type: 'Assets';942 }943944 /** @name XcmV0OriginKind (109) */945 export interface XcmV0OriginKind extends Enum {946 readonly isNative: boolean;947 readonly isSovereignAccount: boolean;948 readonly isSuperuser: boolean;949 readonly isXcm: boolean;950 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';951 }952953 /** @name XcmDoubleEncoded (110) */954 export interface XcmDoubleEncoded extends Struct {955 readonly encoded: Bytes;956 }957958 /** @name XcmV1Xcm (111) */959 export interface XcmV1Xcm extends Enum {960 readonly isWithdrawAsset: boolean;961 readonly asWithdrawAsset: {962 readonly assets: XcmV1MultiassetMultiAssets;963 readonly effects: Vec<XcmV1Order>;964 } & Struct;965 readonly isReserveAssetDeposited: boolean;966 readonly asReserveAssetDeposited: {967 readonly assets: XcmV1MultiassetMultiAssets;968 readonly effects: Vec<XcmV1Order>;969 } & Struct;970 readonly isReceiveTeleportedAsset: boolean;971 readonly asReceiveTeleportedAsset: {972 readonly assets: XcmV1MultiassetMultiAssets;973 readonly effects: Vec<XcmV1Order>;974 } & Struct;975 readonly isQueryResponse: boolean;976 readonly asQueryResponse: {977 readonly queryId: Compact<u64>;978 readonly response: XcmV1Response;979 } & Struct;980 readonly isTransferAsset: boolean;981 readonly asTransferAsset: {982 readonly assets: XcmV1MultiassetMultiAssets;983 readonly beneficiary: XcmV1MultiLocation;984 } & Struct;985 readonly isTransferReserveAsset: boolean;986 readonly asTransferReserveAsset: {987 readonly assets: XcmV1MultiassetMultiAssets;988 readonly dest: XcmV1MultiLocation;989 readonly effects: Vec<XcmV1Order>;990 } & Struct;991 readonly isTransact: boolean;992 readonly asTransact: {993 readonly originType: XcmV0OriginKind;994 readonly requireWeightAtMost: u64;995 readonly call: XcmDoubleEncoded;996 } & Struct;997 readonly isHrmpNewChannelOpenRequest: boolean;998 readonly asHrmpNewChannelOpenRequest: {999 readonly sender: Compact<u32>;1000 readonly maxMessageSize: Compact<u32>;1001 readonly maxCapacity: Compact<u32>;1002 } & Struct;1003 readonly isHrmpChannelAccepted: boolean;1004 readonly asHrmpChannelAccepted: {1005 readonly recipient: Compact<u32>;1006 } & Struct;1007 readonly isHrmpChannelClosing: boolean;1008 readonly asHrmpChannelClosing: {1009 readonly initiator: Compact<u32>;1010 readonly sender: Compact<u32>;1011 readonly recipient: Compact<u32>;1012 } & Struct;1013 readonly isRelayedFrom: boolean;1014 readonly asRelayedFrom: {1015 readonly who: XcmV1MultilocationJunctions;1016 readonly message: XcmV1Xcm;1017 } & Struct;1018 readonly isSubscribeVersion: boolean;1019 readonly asSubscribeVersion: {1020 readonly queryId: Compact<u64>;1021 readonly maxResponseWeight: Compact<u64>;1022 } & Struct;1023 readonly isUnsubscribeVersion: boolean;1024 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1025 }10261027 /** @name XcmV1MultiassetMultiAssets (112) */1028 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10291030 /** @name XcmV1MultiAsset (114) */1031 export interface XcmV1MultiAsset extends Struct {1032 readonly id: XcmV1MultiassetAssetId;1033 readonly fun: XcmV1MultiassetFungibility;1034 }10351036 /** @name XcmV1MultiassetAssetId (115) */1037 export interface XcmV1MultiassetAssetId extends Enum {1038 readonly isConcrete: boolean;1039 readonly asConcrete: XcmV1MultiLocation;1040 readonly isAbstract: boolean;1041 readonly asAbstract: Bytes;1042 readonly type: 'Concrete' | 'Abstract';1043 }10441045 /** @name XcmV1MultiassetFungibility (116) */1046 export interface XcmV1MultiassetFungibility extends Enum {1047 readonly isFungible: boolean;1048 readonly asFungible: Compact<u128>;1049 readonly isNonFungible: boolean;1050 readonly asNonFungible: XcmV1MultiassetAssetInstance;1051 readonly type: 'Fungible' | 'NonFungible';1052 }10531054 /** @name XcmV1Order (118) */1055 export interface XcmV1Order extends Enum {1056 readonly isNoop: boolean;1057 readonly isDepositAsset: boolean;1058 readonly asDepositAsset: {1059 readonly assets: XcmV1MultiassetMultiAssetFilter;1060 readonly maxAssets: u32;1061 readonly beneficiary: XcmV1MultiLocation;1062 } & Struct;1063 readonly isDepositReserveAsset: boolean;1064 readonly asDepositReserveAsset: {1065 readonly assets: XcmV1MultiassetMultiAssetFilter;1066 readonly maxAssets: u32;1067 readonly dest: XcmV1MultiLocation;1068 readonly effects: Vec<XcmV1Order>;1069 } & Struct;1070 readonly isExchangeAsset: boolean;1071 readonly asExchangeAsset: {1072 readonly give: XcmV1MultiassetMultiAssetFilter;1073 readonly receive: XcmV1MultiassetMultiAssets;1074 } & Struct;1075 readonly isInitiateReserveWithdraw: boolean;1076 readonly asInitiateReserveWithdraw: {1077 readonly assets: XcmV1MultiassetMultiAssetFilter;1078 readonly reserve: XcmV1MultiLocation;1079 readonly effects: Vec<XcmV1Order>;1080 } & Struct;1081 readonly isInitiateTeleport: boolean;1082 readonly asInitiateTeleport: {1083 readonly assets: XcmV1MultiassetMultiAssetFilter;1084 readonly dest: XcmV1MultiLocation;1085 readonly effects: Vec<XcmV1Order>;1086 } & Struct;1087 readonly isQueryHolding: boolean;1088 readonly asQueryHolding: {1089 readonly queryId: Compact<u64>;1090 readonly dest: XcmV1MultiLocation;1091 readonly assets: XcmV1MultiassetMultiAssetFilter;1092 } & Struct;1093 readonly isBuyExecution: boolean;1094 readonly asBuyExecution: {1095 readonly fees: XcmV1MultiAsset;1096 readonly weight: u64;1097 readonly debt: u64;1098 readonly haltOnError: bool;1099 readonly instructions: Vec<XcmV1Xcm>;1100 } & Struct;1101 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1102 }11031104 /** @name XcmV1MultiassetMultiAssetFilter (119) */1105 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1106 readonly isDefinite: boolean;1107 readonly asDefinite: XcmV1MultiassetMultiAssets;1108 readonly isWild: boolean;1109 readonly asWild: XcmV1MultiassetWildMultiAsset;1110 readonly type: 'Definite' | 'Wild';1111 }11121113 /** @name XcmV1MultiassetWildMultiAsset (120) */1114 export interface XcmV1MultiassetWildMultiAsset extends Enum {1115 readonly isAll: boolean;1116 readonly isAllOf: boolean;1117 readonly asAllOf: {1118 readonly id: XcmV1MultiassetAssetId;1119 readonly fun: XcmV1MultiassetWildFungibility;1120 } & Struct;1121 readonly type: 'All' | 'AllOf';1122 }11231124 /** @name XcmV1MultiassetWildFungibility (121) */1125 export interface XcmV1MultiassetWildFungibility extends Enum {1126 readonly isFungible: boolean;1127 readonly isNonFungible: boolean;1128 readonly type: 'Fungible' | 'NonFungible';1129 }11301131 /** @name XcmV1Response (123) */1132 export interface XcmV1Response extends Enum {1133 readonly isAssets: boolean;1134 readonly asAssets: XcmV1MultiassetMultiAssets;1135 readonly isVersion: boolean;1136 readonly asVersion: u32;1137 readonly type: 'Assets' | 'Version';1138 }11391140 /** @name XcmV2Xcm (124) */1141 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11421143 /** @name XcmV2Instruction (126) */1144 export interface XcmV2Instruction extends Enum {1145 readonly isWithdrawAsset: boolean;1146 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1147 readonly isReserveAssetDeposited: boolean;1148 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1149 readonly isReceiveTeleportedAsset: boolean;1150 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1151 readonly isQueryResponse: boolean;1152 readonly asQueryResponse: {1153 readonly queryId: Compact<u64>;1154 readonly response: XcmV2Response;1155 readonly maxWeight: Compact<u64>;1156 } & Struct;1157 readonly isTransferAsset: boolean;1158 readonly asTransferAsset: {1159 readonly assets: XcmV1MultiassetMultiAssets;1160 readonly beneficiary: XcmV1MultiLocation;1161 } & Struct;1162 readonly isTransferReserveAsset: boolean;1163 readonly asTransferReserveAsset: {1164 readonly assets: XcmV1MultiassetMultiAssets;1165 readonly dest: XcmV1MultiLocation;1166 readonly xcm: XcmV2Xcm;1167 } & Struct;1168 readonly isTransact: boolean;1169 readonly asTransact: {1170 readonly originType: XcmV0OriginKind;1171 readonly requireWeightAtMost: Compact<u64>;1172 readonly call: XcmDoubleEncoded;1173 } & Struct;1174 readonly isHrmpNewChannelOpenRequest: boolean;1175 readonly asHrmpNewChannelOpenRequest: {1176 readonly sender: Compact<u32>;1177 readonly maxMessageSize: Compact<u32>;1178 readonly maxCapacity: Compact<u32>;1179 } & Struct;1180 readonly isHrmpChannelAccepted: boolean;1181 readonly asHrmpChannelAccepted: {1182 readonly recipient: Compact<u32>;1183 } & Struct;1184 readonly isHrmpChannelClosing: boolean;1185 readonly asHrmpChannelClosing: {1186 readonly initiator: Compact<u32>;1187 readonly sender: Compact<u32>;1188 readonly recipient: Compact<u32>;1189 } & Struct;1190 readonly isClearOrigin: boolean;1191 readonly isDescendOrigin: boolean;1192 readonly asDescendOrigin: XcmV1MultilocationJunctions;1193 readonly isReportError: boolean;1194 readonly asReportError: {1195 readonly queryId: Compact<u64>;1196 readonly dest: XcmV1MultiLocation;1197 readonly maxResponseWeight: Compact<u64>;1198 } & Struct;1199 readonly isDepositAsset: boolean;1200 readonly asDepositAsset: {1201 readonly assets: XcmV1MultiassetMultiAssetFilter;1202 readonly maxAssets: Compact<u32>;1203 readonly beneficiary: XcmV1MultiLocation;1204 } & Struct;1205 readonly isDepositReserveAsset: boolean;1206 readonly asDepositReserveAsset: {1207 readonly assets: XcmV1MultiassetMultiAssetFilter;1208 readonly maxAssets: Compact<u32>;1209 readonly dest: XcmV1MultiLocation;1210 readonly xcm: XcmV2Xcm;1211 } & Struct;1212 readonly isExchangeAsset: boolean;1213 readonly asExchangeAsset: {1214 readonly give: XcmV1MultiassetMultiAssetFilter;1215 readonly receive: XcmV1MultiassetMultiAssets;1216 } & Struct;1217 readonly isInitiateReserveWithdraw: boolean;1218 readonly asInitiateReserveWithdraw: {1219 readonly assets: XcmV1MultiassetMultiAssetFilter;1220 readonly reserve: XcmV1MultiLocation;1221 readonly xcm: XcmV2Xcm;1222 } & Struct;1223 readonly isInitiateTeleport: boolean;1224 readonly asInitiateTeleport: {1225 readonly assets: XcmV1MultiassetMultiAssetFilter;1226 readonly dest: XcmV1MultiLocation;1227 readonly xcm: XcmV2Xcm;1228 } & Struct;1229 readonly isQueryHolding: boolean;1230 readonly asQueryHolding: {1231 readonly queryId: Compact<u64>;1232 readonly dest: XcmV1MultiLocation;1233 readonly assets: XcmV1MultiassetMultiAssetFilter;1234 readonly maxResponseWeight: Compact<u64>;1235 } & Struct;1236 readonly isBuyExecution: boolean;1237 readonly asBuyExecution: {1238 readonly fees: XcmV1MultiAsset;1239 readonly weightLimit: XcmV2WeightLimit;1240 } & Struct;1241 readonly isRefundSurplus: boolean;1242 readonly isSetErrorHandler: boolean;1243 readonly asSetErrorHandler: XcmV2Xcm;1244 readonly isSetAppendix: boolean;1245 readonly asSetAppendix: XcmV2Xcm;1246 readonly isClearError: boolean;1247 readonly isClaimAsset: boolean;1248 readonly asClaimAsset: {1249 readonly assets: XcmV1MultiassetMultiAssets;1250 readonly ticket: XcmV1MultiLocation;1251 } & Struct;1252 readonly isTrap: boolean;1253 readonly asTrap: Compact<u64>;1254 readonly isSubscribeVersion: boolean;1255 readonly asSubscribeVersion: {1256 readonly queryId: Compact<u64>;1257 readonly maxResponseWeight: Compact<u64>;1258 } & Struct;1259 readonly isUnsubscribeVersion: boolean;1260 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';1261 }12621263 /** @name XcmV2Response (127) */1264 export interface XcmV2Response extends Enum {1265 readonly isNull: boolean;1266 readonly isAssets: boolean;1267 readonly asAssets: XcmV1MultiassetMultiAssets;1268 readonly isExecutionResult: boolean;1269 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1270 readonly isVersion: boolean;1271 readonly asVersion: u32;1272 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1273 }12741275 /** @name XcmV2TraitsError (130) */1276 export interface XcmV2TraitsError extends Enum {1277 readonly isOverflow: boolean;1278 readonly isUnimplemented: boolean;1279 readonly isUntrustedReserveLocation: boolean;1280 readonly isUntrustedTeleportLocation: boolean;1281 readonly isMultiLocationFull: boolean;1282 readonly isMultiLocationNotInvertible: boolean;1283 readonly isBadOrigin: boolean;1284 readonly isInvalidLocation: boolean;1285 readonly isAssetNotFound: boolean;1286 readonly isFailedToTransactAsset: boolean;1287 readonly isNotWithdrawable: boolean;1288 readonly isLocationCannotHold: boolean;1289 readonly isExceedsMaxMessageSize: boolean;1290 readonly isDestinationUnsupported: boolean;1291 readonly isTransport: boolean;1292 readonly isUnroutable: boolean;1293 readonly isUnknownClaim: boolean;1294 readonly isFailedToDecode: boolean;1295 readonly isMaxWeightInvalid: boolean;1296 readonly isNotHoldingFees: boolean;1297 readonly isTooExpensive: boolean;1298 readonly isTrap: boolean;1299 readonly asTrap: u64;1300 readonly isUnhandledXcmVersion: boolean;1301 readonly isWeightLimitReached: boolean;1302 readonly asWeightLimitReached: u64;1303 readonly isBarrier: boolean;1304 readonly isWeightNotComputable: boolean;1305 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';1306 }13071308 /** @name XcmV2WeightLimit (131) */1309 export interface XcmV2WeightLimit extends Enum {1310 readonly isUnlimited: boolean;1311 readonly isLimited: boolean;1312 readonly asLimited: Compact<u64>;1313 readonly type: 'Unlimited' | 'Limited';1314 }13151316 /** @name XcmVersionedMultiAssets (132) */1317 export interface XcmVersionedMultiAssets extends Enum {1318 readonly isV0: boolean;1319 readonly asV0: Vec<XcmV0MultiAsset>;1320 readonly isV1: boolean;1321 readonly asV1: XcmV1MultiassetMultiAssets;1322 readonly type: 'V0' | 'V1';1323 }13241325 /** @name CumulusPalletXcmCall (147) */1326 export type CumulusPalletXcmCall = Null;13271328 /** @name CumulusPalletDmpQueueCall (148) */1329 export interface CumulusPalletDmpQueueCall extends Enum {1330 readonly isServiceOverweight: boolean;1331 readonly asServiceOverweight: {1332 readonly index: u64;1333 readonly weightLimit: u64;1334 } & Struct;1335 readonly type: 'ServiceOverweight';1336 }13371338 /** @name PalletInflationCall (149) */1339 export interface PalletInflationCall extends Enum {1340 readonly isStartInflation: boolean;1341 readonly asStartInflation: {1342 readonly inflationStartRelayBlock: u32;1343 } & Struct;1344 readonly type: 'StartInflation';1345 }13461347 /** @name PalletUniqueCall (150) */1348 export interface PalletUniqueCall extends Enum {1349 readonly isCreateCollection: boolean;1350 readonly asCreateCollection: {1351 readonly collectionName: Vec<u16>;1352 readonly collectionDescription: Vec<u16>;1353 readonly tokenPrefix: Bytes;1354 readonly mode: UpDataStructsCollectionMode;1355 } & Struct;1356 readonly isCreateCollectionEx: boolean;1357 readonly asCreateCollectionEx: {1358 readonly data: UpDataStructsCreateCollectionData;1359 } & Struct;1360 readonly isDestroyCollection: boolean;1361 readonly asDestroyCollection: {1362 readonly collectionId: u32;1363 } & Struct;1364 readonly isAddToAllowList: boolean;1365 readonly asAddToAllowList: {1366 readonly collectionId: u32;1367 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1368 } & Struct;1369 readonly isRemoveFromAllowList: boolean;1370 readonly asRemoveFromAllowList: {1371 readonly collectionId: u32;1372 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1373 } & Struct;1374 readonly isChangeCollectionOwner: boolean;1375 readonly asChangeCollectionOwner: {1376 readonly collectionId: u32;1377 readonly newOwner: AccountId32;1378 } & Struct;1379 readonly isAddCollectionAdmin: boolean;1380 readonly asAddCollectionAdmin: {1381 readonly collectionId: u32;1382 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1383 } & Struct;1384 readonly isRemoveCollectionAdmin: boolean;1385 readonly asRemoveCollectionAdmin: {1386 readonly collectionId: u32;1387 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1388 } & Struct;1389 readonly isSetCollectionSponsor: boolean;1390 readonly asSetCollectionSponsor: {1391 readonly collectionId: u32;1392 readonly newSponsor: AccountId32;1393 } & Struct;1394 readonly isConfirmSponsorship: boolean;1395 readonly asConfirmSponsorship: {1396 readonly collectionId: u32;1397 } & Struct;1398 readonly isRemoveCollectionSponsor: boolean;1399 readonly asRemoveCollectionSponsor: {1400 readonly collectionId: u32;1401 } & Struct;1402 readonly isCreateItem: boolean;1403 readonly asCreateItem: {1404 readonly collectionId: u32;1405 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1406 readonly data: UpDataStructsCreateItemData;1407 } & Struct;1408 readonly isCreateMultipleItems: boolean;1409 readonly asCreateMultipleItems: {1410 readonly collectionId: u32;1411 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1412 readonly itemsData: Vec<UpDataStructsCreateItemData>;1413 } & Struct;1414 readonly isSetCollectionProperties: boolean;1415 readonly asSetCollectionProperties: {1416 readonly collectionId: u32;1417 readonly properties: Vec<UpDataStructsProperty>;1418 } & Struct;1419 readonly isDeleteCollectionProperties: boolean;1420 readonly asDeleteCollectionProperties: {1421 readonly collectionId: u32;1422 readonly propertyKeys: Vec<Bytes>;1423 } & Struct;1424 readonly isSetTokenProperties: boolean;1425 readonly asSetTokenProperties: {1426 readonly collectionId: u32;1427 readonly tokenId: u32;1428 readonly properties: Vec<UpDataStructsProperty>;1429 } & Struct;1430 readonly isDeleteTokenProperties: boolean;1431 readonly asDeleteTokenProperties: {1432 readonly collectionId: u32;1433 readonly tokenId: u32;1434 readonly propertyKeys: Vec<Bytes>;1435 } & Struct;1436 readonly isSetPropertyPermissions: boolean;1437 readonly asSetPropertyPermissions: {1438 readonly collectionId: u32;1439 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1440 } & Struct;1441 readonly isCreateMultipleItemsEx: boolean;1442 readonly asCreateMultipleItemsEx: {1443 readonly collectionId: u32;1444 readonly data: UpDataStructsCreateItemExData;1445 } & Struct;1446 readonly isSetTransfersEnabledFlag: boolean;1447 readonly asSetTransfersEnabledFlag: {1448 readonly collectionId: u32;1449 readonly value: bool;1450 } & Struct;1451 readonly isBurnItem: boolean;1452 readonly asBurnItem: {1453 readonly collectionId: u32;1454 readonly itemId: u32;1455 readonly value: u128;1456 } & Struct;1457 readonly isBurnFrom: boolean;1458 readonly asBurnFrom: {1459 readonly collectionId: u32;1460 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1461 readonly itemId: u32;1462 readonly value: u128;1463 } & Struct;1464 readonly isTransfer: boolean;1465 readonly asTransfer: {1466 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1467 readonly collectionId: u32;1468 readonly itemId: u32;1469 readonly value: u128;1470 } & Struct;1471 readonly isApprove: boolean;1472 readonly asApprove: {1473 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1474 readonly collectionId: u32;1475 readonly itemId: u32;1476 readonly amount: u128;1477 } & Struct;1478 readonly isTransferFrom: boolean;1479 readonly asTransferFrom: {1480 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1481 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1482 readonly collectionId: u32;1483 readonly itemId: u32;1484 readonly value: u128;1485 } & Struct;1486 readonly isSetCollectionLimits: boolean;1487 readonly asSetCollectionLimits: {1488 readonly collectionId: u32;1489 readonly newLimit: UpDataStructsCollectionLimits;1490 } & Struct;1491 readonly isSetCollectionPermissions: boolean;1492 readonly asSetCollectionPermissions: {1493 readonly collectionId: u32;1494 readonly newLimit: UpDataStructsCollectionPermissions;1495 } & Struct;1496 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions';1497 }14981499 /** @name UpDataStructsCollectionMode (156) */1500 export interface UpDataStructsCollectionMode extends Enum {1501 readonly isNft: boolean;1502 readonly isFungible: boolean;1503 readonly asFungible: u8;1504 readonly isReFungible: boolean;1505 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1506 }15071508 /** @name UpDataStructsCreateCollectionData (157) */1509 export interface UpDataStructsCreateCollectionData extends Struct {1510 readonly mode: UpDataStructsCollectionMode;1511 readonly access: Option<UpDataStructsAccessMode>;1512 readonly name: Vec<u16>;1513 readonly description: Vec<u16>;1514 readonly tokenPrefix: Bytes;1515 readonly pendingSponsor: Option<AccountId32>;1516 readonly limits: Option<UpDataStructsCollectionLimits>;1517 readonly permissions: Option<UpDataStructsCollectionPermissions>;1518 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1519 readonly properties: Vec<UpDataStructsProperty>;1520 }15211522 /** @name UpDataStructsAccessMode (159) */1523 export interface UpDataStructsAccessMode extends Enum {1524 readonly isNormal: boolean;1525 readonly isAllowList: boolean;1526 readonly type: 'Normal' | 'AllowList';1527 }15281529 /** @name UpDataStructsCollectionLimits (162) */1530 export interface UpDataStructsCollectionLimits extends Struct {1531 readonly accountTokenOwnershipLimit: Option<u32>;1532 readonly sponsoredDataSize: Option<u32>;1533 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1534 readonly tokenLimit: Option<u32>;1535 readonly sponsorTransferTimeout: Option<u32>;1536 readonly sponsorApproveTimeout: Option<u32>;1537 readonly ownerCanTransfer: Option<bool>;1538 readonly ownerCanDestroy: Option<bool>;1539 readonly transfersEnabled: Option<bool>;1540 }15411542 /** @name UpDataStructsSponsoringRateLimit (164) */1543 export interface UpDataStructsSponsoringRateLimit extends Enum {1544 readonly isSponsoringDisabled: boolean;1545 readonly isBlocks: boolean;1546 readonly asBlocks: u32;1547 readonly type: 'SponsoringDisabled' | 'Blocks';1548 }15491550 /** @name UpDataStructsCollectionPermissions (167) */1551 export interface UpDataStructsCollectionPermissions extends Struct {1552 readonly access: Option<UpDataStructsAccessMode>;1553 readonly mintMode: Option<bool>;1554 readonly nesting: Option<UpDataStructsNestingRule>;1555 }15561557 /** @name UpDataStructsNestingRule (169) */1558 export interface UpDataStructsNestingRule extends Enum {1559 readonly isDisabled: boolean;1560 readonly isOwner: boolean;1561 readonly isOwnerRestricted: boolean;1562 readonly asOwnerRestricted: BTreeSet<u32>;1563 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1564 }15651566 /** @name UpDataStructsPropertyKeyPermission (175) */1567 export interface UpDataStructsPropertyKeyPermission extends Struct {1568 readonly key: Bytes;1569 readonly permission: UpDataStructsPropertyPermission;1570 }15711572 /** @name UpDataStructsPropertyPermission (177) */1573 export interface UpDataStructsPropertyPermission extends Struct {1574 readonly mutable: bool;1575 readonly collectionAdmin: bool;1576 readonly tokenOwner: bool;1577 }15781579 /** @name UpDataStructsProperty (180) */1580 export interface UpDataStructsProperty extends Struct {1581 readonly key: Bytes;1582 readonly value: Bytes;1583 }15841585 /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */1586 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1587 readonly isSubstrate: boolean;1588 readonly asSubstrate: AccountId32;1589 readonly isEthereum: boolean;1590 readonly asEthereum: H160;1591 readonly type: 'Substrate' | 'Ethereum';1592 }15931594 /** @name UpDataStructsCreateItemData (185) */1595 export interface UpDataStructsCreateItemData extends Enum {1596 readonly isNft: boolean;1597 readonly asNft: UpDataStructsCreateNftData;1598 readonly isFungible: boolean;1599 readonly asFungible: UpDataStructsCreateFungibleData;1600 readonly isReFungible: boolean;1601 readonly asReFungible: UpDataStructsCreateReFungibleData;1602 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1603 }16041605 /** @name UpDataStructsCreateNftData (186) */1606 export interface UpDataStructsCreateNftData extends Struct {1607 readonly properties: Vec<UpDataStructsProperty>;1608 }16091610 /** @name UpDataStructsCreateFungibleData (187) */1611 export interface UpDataStructsCreateFungibleData extends Struct {1612 readonly value: u128;1613 }16141615 /** @name UpDataStructsCreateReFungibleData (188) */1616 export interface UpDataStructsCreateReFungibleData extends Struct {1617 readonly constData: Bytes;1618 readonly pieces: u128;1619 }16201621 /** @name UpDataStructsCreateItemExData (193) */1622 export interface UpDataStructsCreateItemExData extends Enum {1623 readonly isNft: boolean;1624 readonly asNft: Vec<UpDataStructsCreateNftExData>;1625 readonly isFungible: boolean;1626 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1627 readonly isRefungibleMultipleItems: boolean;1628 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1629 readonly isRefungibleMultipleOwners: boolean;1630 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1631 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1632 }16331634 /** @name UpDataStructsCreateNftExData (195) */1635 export interface UpDataStructsCreateNftExData extends Struct {1636 readonly properties: Vec<UpDataStructsProperty>;1637 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1638 }16391640 /** @name UpDataStructsCreateRefungibleExData (202) */1641 export interface UpDataStructsCreateRefungibleExData extends Struct {1642 readonly constData: Bytes;1643 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1644 }16451646 /** @name PalletTemplateTransactionPaymentCall (204) */1647 export type PalletTemplateTransactionPaymentCall = Null;16481649 /** @name PalletStructureCall (205) */1650 export type PalletStructureCall = Null;16511652 /** @name PalletEvmCall (206) */1653 export interface PalletEvmCall extends Enum {1654 readonly isWithdraw: boolean;1655 readonly asWithdraw: {1656 readonly address: H160;1657 readonly value: u128;1658 } & Struct;1659 readonly isCall: boolean;1660 readonly asCall: {1661 readonly source: H160;1662 readonly target: H160;1663 readonly input: Bytes;1664 readonly value: U256;1665 readonly gasLimit: u64;1666 readonly maxFeePerGas: U256;1667 readonly maxPriorityFeePerGas: Option<U256>;1668 readonly nonce: Option<U256>;1669 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1670 } & Struct;1671 readonly isCreate: boolean;1672 readonly asCreate: {1673 readonly source: H160;1674 readonly init: Bytes;1675 readonly value: U256;1676 readonly gasLimit: u64;1677 readonly maxFeePerGas: U256;1678 readonly maxPriorityFeePerGas: Option<U256>;1679 readonly nonce: Option<U256>;1680 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1681 } & Struct;1682 readonly isCreate2: boolean;1683 readonly asCreate2: {1684 readonly source: H160;1685 readonly init: Bytes;1686 readonly salt: H256;1687 readonly value: U256;1688 readonly gasLimit: u64;1689 readonly maxFeePerGas: U256;1690 readonly maxPriorityFeePerGas: Option<U256>;1691 readonly nonce: Option<U256>;1692 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1693 } & Struct;1694 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1695 }16961697 /** @name PalletEthereumCall (212) */1698 export interface PalletEthereumCall extends Enum {1699 readonly isTransact: boolean;1700 readonly asTransact: {1701 readonly transaction: EthereumTransactionTransactionV2;1702 } & Struct;1703 readonly type: 'Transact';1704 }17051706 /** @name EthereumTransactionTransactionV2 (213) */1707 export interface EthereumTransactionTransactionV2 extends Enum {1708 readonly isLegacy: boolean;1709 readonly asLegacy: EthereumTransactionLegacyTransaction;1710 readonly isEip2930: boolean;1711 readonly asEip2930: EthereumTransactionEip2930Transaction;1712 readonly isEip1559: boolean;1713 readonly asEip1559: EthereumTransactionEip1559Transaction;1714 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1715 }17161717 /** @name EthereumTransactionLegacyTransaction (214) */1718 export interface EthereumTransactionLegacyTransaction extends Struct {1719 readonly nonce: U256;1720 readonly gasPrice: U256;1721 readonly gasLimit: U256;1722 readonly action: EthereumTransactionTransactionAction;1723 readonly value: U256;1724 readonly input: Bytes;1725 readonly signature: EthereumTransactionTransactionSignature;1726 }17271728 /** @name EthereumTransactionTransactionAction (215) */1729 export interface EthereumTransactionTransactionAction extends Enum {1730 readonly isCall: boolean;1731 readonly asCall: H160;1732 readonly isCreate: boolean;1733 readonly type: 'Call' | 'Create';1734 }17351736 /** @name EthereumTransactionTransactionSignature (216) */1737 export interface EthereumTransactionTransactionSignature extends Struct {1738 readonly v: u64;1739 readonly r: H256;1740 readonly s: H256;1741 }17421743 /** @name EthereumTransactionEip2930Transaction (218) */1744 export interface EthereumTransactionEip2930Transaction extends Struct {1745 readonly chainId: u64;1746 readonly nonce: U256;1747 readonly gasPrice: U256;1748 readonly gasLimit: U256;1749 readonly action: EthereumTransactionTransactionAction;1750 readonly value: U256;1751 readonly input: Bytes;1752 readonly accessList: Vec<EthereumTransactionAccessListItem>;1753 readonly oddYParity: bool;1754 readonly r: H256;1755 readonly s: H256;1756 }17571758 /** @name EthereumTransactionAccessListItem (220) */1759 export interface EthereumTransactionAccessListItem extends Struct {1760 readonly address: H160;1761 readonly storageKeys: Vec<H256>;1762 }17631764 /** @name EthereumTransactionEip1559Transaction (221) */1765 export interface EthereumTransactionEip1559Transaction extends Struct {1766 readonly chainId: u64;1767 readonly nonce: U256;1768 readonly maxPriorityFeePerGas: U256;1769 readonly maxFeePerGas: U256;1770 readonly gasLimit: U256;1771 readonly action: EthereumTransactionTransactionAction;1772 readonly value: U256;1773 readonly input: Bytes;1774 readonly accessList: Vec<EthereumTransactionAccessListItem>;1775 readonly oddYParity: bool;1776 readonly r: H256;1777 readonly s: H256;1778 }17791780 /** @name PalletEvmMigrationCall (222) */1781 export interface PalletEvmMigrationCall extends Enum {1782 readonly isBegin: boolean;1783 readonly asBegin: {1784 readonly address: H160;1785 } & Struct;1786 readonly isSetData: boolean;1787 readonly asSetData: {1788 readonly address: H160;1789 readonly data: Vec<ITuple<[H256, H256]>>;1790 } & Struct;1791 readonly isFinish: boolean;1792 readonly asFinish: {1793 readonly address: H160;1794 readonly code: Bytes;1795 } & Struct;1796 readonly type: 'Begin' | 'SetData' | 'Finish';1797 }17981799 /** @name PalletSudoEvent (225) */1800 export interface PalletSudoEvent extends Enum {1801 readonly isSudid: boolean;1802 readonly asSudid: {1803 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1804 } & Struct;1805 readonly isKeyChanged: boolean;1806 readonly asKeyChanged: {1807 readonly oldSudoer: Option<AccountId32>;1808 } & Struct;1809 readonly isSudoAsDone: boolean;1810 readonly asSudoAsDone: {1811 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1812 } & Struct;1813 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1814 }18151816 /** @name SpRuntimeDispatchError (227) */1817 export interface SpRuntimeDispatchError extends Enum {1818 readonly isOther: boolean;1819 readonly isCannotLookup: boolean;1820 readonly isBadOrigin: boolean;1821 readonly isModule: boolean;1822 readonly asModule: SpRuntimeModuleError;1823 readonly isConsumerRemaining: boolean;1824 readonly isNoProviders: boolean;1825 readonly isTooManyConsumers: boolean;1826 readonly isToken: boolean;1827 readonly asToken: SpRuntimeTokenError;1828 readonly isArithmetic: boolean;1829 readonly asArithmetic: SpRuntimeArithmeticError;1830 readonly isTransactional: boolean;1831 readonly asTransactional: SpRuntimeTransactionalError;1832 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1833 }18341835 /** @name SpRuntimeModuleError (228) */1836 export interface SpRuntimeModuleError extends Struct {1837 readonly index: u8;1838 readonly error: U8aFixed;1839 }18401841 /** @name SpRuntimeTokenError (229) */1842 export interface SpRuntimeTokenError extends Enum {1843 readonly isNoFunds: boolean;1844 readonly isWouldDie: boolean;1845 readonly isBelowMinimum: boolean;1846 readonly isCannotCreate: boolean;1847 readonly isUnknownAsset: boolean;1848 readonly isFrozen: boolean;1849 readonly isUnsupported: boolean;1850 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1851 }18521853 /** @name SpRuntimeArithmeticError (230) */1854 export interface SpRuntimeArithmeticError extends Enum {1855 readonly isUnderflow: boolean;1856 readonly isOverflow: boolean;1857 readonly isDivisionByZero: boolean;1858 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1859 }18601861 /** @name SpRuntimeTransactionalError (231) */1862 export interface SpRuntimeTransactionalError extends Enum {1863 readonly isLimitReached: boolean;1864 readonly isNoLayer: boolean;1865 readonly type: 'LimitReached' | 'NoLayer';1866 }18671868 /** @name PalletSudoError (232) */1869 export interface PalletSudoError extends Enum {1870 readonly isRequireSudo: boolean;1871 readonly type: 'RequireSudo';1872 }18731874 /** @name FrameSystemAccountInfo (233) */1875 export interface FrameSystemAccountInfo extends Struct {1876 readonly nonce: u32;1877 readonly consumers: u32;1878 readonly providers: u32;1879 readonly sufficients: u32;1880 readonly data: PalletBalancesAccountData;1881 }18821883 /** @name FrameSupportWeightsPerDispatchClassU64 (234) */1884 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {1885 readonly normal: u64;1886 readonly operational: u64;1887 readonly mandatory: u64;1888 }18891890 /** @name SpRuntimeDigest (235) */1891 export interface SpRuntimeDigest extends Struct {1892 readonly logs: Vec<SpRuntimeDigestDigestItem>;1893 }18941895 /** @name SpRuntimeDigestDigestItem (237) */1896 export interface SpRuntimeDigestDigestItem extends Enum {1897 readonly isOther: boolean;1898 readonly asOther: Bytes;1899 readonly isConsensus: boolean;1900 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1901 readonly isSeal: boolean;1902 readonly asSeal: ITuple<[U8aFixed, Bytes]>;1903 readonly isPreRuntime: boolean;1904 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1905 readonly isRuntimeEnvironmentUpdated: boolean;1906 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1907 }19081909 /** @name FrameSystemEventRecord (239) */1910 export interface FrameSystemEventRecord extends Struct {1911 readonly phase: FrameSystemPhase;1912 readonly event: Event;1913 readonly topics: Vec<H256>;1914 }19151916 /** @name FrameSystemEvent (241) */1917 export interface FrameSystemEvent extends Enum {1918 readonly isExtrinsicSuccess: boolean;1919 readonly asExtrinsicSuccess: {1920 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;1921 } & Struct;1922 readonly isExtrinsicFailed: boolean;1923 readonly asExtrinsicFailed: {1924 readonly dispatchError: SpRuntimeDispatchError;1925 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;1926 } & Struct;1927 readonly isCodeUpdated: boolean;1928 readonly isNewAccount: boolean;1929 readonly asNewAccount: {1930 readonly account: AccountId32;1931 } & Struct;1932 readonly isKilledAccount: boolean;1933 readonly asKilledAccount: {1934 readonly account: AccountId32;1935 } & Struct;1936 readonly isRemarked: boolean;1937 readonly asRemarked: {1938 readonly sender: AccountId32;1939 readonly hash_: H256;1940 } & Struct;1941 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';1942 }19431944 /** @name FrameSupportWeightsDispatchInfo (242) */1945 export interface FrameSupportWeightsDispatchInfo extends Struct {1946 readonly weight: u64;1947 readonly class: FrameSupportWeightsDispatchClass;1948 readonly paysFee: FrameSupportWeightsPays;1949 }19501951 /** @name FrameSupportWeightsDispatchClass (243) */1952 export interface FrameSupportWeightsDispatchClass extends Enum {1953 readonly isNormal: boolean;1954 readonly isOperational: boolean;1955 readonly isMandatory: boolean;1956 readonly type: 'Normal' | 'Operational' | 'Mandatory';1957 }19581959 /** @name FrameSupportWeightsPays (244) */1960 export interface FrameSupportWeightsPays extends Enum {1961 readonly isYes: boolean;1962 readonly isNo: boolean;1963 readonly type: 'Yes' | 'No';1964 }19651966 /** @name OrmlVestingModuleEvent (245) */1967 export interface OrmlVestingModuleEvent extends Enum {1968 readonly isVestingScheduleAdded: boolean;1969 readonly asVestingScheduleAdded: {1970 readonly from: AccountId32;1971 readonly to: AccountId32;1972 readonly vestingSchedule: OrmlVestingVestingSchedule;1973 } & Struct;1974 readonly isClaimed: boolean;1975 readonly asClaimed: {1976 readonly who: AccountId32;1977 readonly amount: u128;1978 } & Struct;1979 readonly isVestingSchedulesUpdated: boolean;1980 readonly asVestingSchedulesUpdated: {1981 readonly who: AccountId32;1982 } & Struct;1983 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';1984 }19851986 /** @name CumulusPalletXcmpQueueEvent (246) */1987 export interface CumulusPalletXcmpQueueEvent extends Enum {1988 readonly isSuccess: boolean;1989 readonly asSuccess: Option<H256>;1990 readonly isFail: boolean;1991 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;1992 readonly isBadVersion: boolean;1993 readonly asBadVersion: Option<H256>;1994 readonly isBadFormat: boolean;1995 readonly asBadFormat: Option<H256>;1996 readonly isUpwardMessageSent: boolean;1997 readonly asUpwardMessageSent: Option<H256>;1998 readonly isXcmpMessageSent: boolean;1999 readonly asXcmpMessageSent: Option<H256>;2000 readonly isOverweightEnqueued: boolean;2001 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;2002 readonly isOverweightServiced: boolean;2003 readonly asOverweightServiced: ITuple<[u64, u64]>;2004 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2005 }20062007 /** @name PalletXcmEvent (247) */2008 export interface PalletXcmEvent extends Enum {2009 readonly isAttempted: boolean;2010 readonly asAttempted: XcmV2TraitsOutcome;2011 readonly isSent: boolean;2012 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2013 readonly isUnexpectedResponse: boolean;2014 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2015 readonly isResponseReady: boolean;2016 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2017 readonly isNotified: boolean;2018 readonly asNotified: ITuple<[u64, u8, u8]>;2019 readonly isNotifyOverweight: boolean;2020 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2021 readonly isNotifyDispatchError: boolean;2022 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2023 readonly isNotifyDecodeFailed: boolean;2024 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2025 readonly isInvalidResponder: boolean;2026 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2027 readonly isInvalidResponderVersion: boolean;2028 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2029 readonly isResponseTaken: boolean;2030 readonly asResponseTaken: u64;2031 readonly isAssetsTrapped: boolean;2032 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2033 readonly isVersionChangeNotified: boolean;2034 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2035 readonly isSupportedVersionChanged: boolean;2036 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2037 readonly isNotifyTargetSendFail: boolean;2038 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2039 readonly isNotifyTargetMigrationFail: boolean;2040 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2041 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2042 }20432044 /** @name XcmV2TraitsOutcome (248) */2045 export interface XcmV2TraitsOutcome extends Enum {2046 readonly isComplete: boolean;2047 readonly asComplete: u64;2048 readonly isIncomplete: boolean;2049 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2050 readonly isError: boolean;2051 readonly asError: XcmV2TraitsError;2052 readonly type: 'Complete' | 'Incomplete' | 'Error';2053 }20542055 /** @name CumulusPalletXcmEvent (250) */2056 export interface CumulusPalletXcmEvent extends Enum {2057 readonly isInvalidFormat: boolean;2058 readonly asInvalidFormat: U8aFixed;2059 readonly isUnsupportedVersion: boolean;2060 readonly asUnsupportedVersion: U8aFixed;2061 readonly isExecutedDownward: boolean;2062 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2063 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2064 }20652066 /** @name CumulusPalletDmpQueueEvent (251) */2067 export interface CumulusPalletDmpQueueEvent extends Enum {2068 readonly isInvalidFormat: boolean;2069 readonly asInvalidFormat: U8aFixed;2070 readonly isUnsupportedVersion: boolean;2071 readonly asUnsupportedVersion: U8aFixed;2072 readonly isExecutedDownward: boolean;2073 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2074 readonly isWeightExhausted: boolean;2075 readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;2076 readonly isOverweightEnqueued: boolean;2077 readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;2078 readonly isOverweightServiced: boolean;2079 readonly asOverweightServiced: ITuple<[u64, u64]>;2080 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2081 }20822083 /** @name PalletUniqueRawEvent (252) */2084 export interface PalletUniqueRawEvent extends Enum {2085 readonly isCollectionSponsorRemoved: boolean;2086 readonly asCollectionSponsorRemoved: u32;2087 readonly isCollectionAdminAdded: boolean;2088 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2089 readonly isCollectionOwnedChanged: boolean;2090 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2091 readonly isCollectionSponsorSet: boolean;2092 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2093 readonly isSponsorshipConfirmed: boolean;2094 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2095 readonly isCollectionAdminRemoved: boolean;2096 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2097 readonly isAllowListAddressRemoved: boolean;2098 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2099 readonly isAllowListAddressAdded: boolean;2100 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2101 readonly isCollectionLimitSet: boolean;2102 readonly asCollectionLimitSet: u32;2103 readonly isCollectionPermissionSet: boolean;2104 readonly asCollectionPermissionSet: u32;2105 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2106 }21072108 /** @name PalletCommonEvent (253) */2109 export interface PalletCommonEvent extends Enum {2110 readonly isCollectionCreated: boolean;2111 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2112 readonly isCollectionDestroyed: boolean;2113 readonly asCollectionDestroyed: u32;2114 readonly isItemCreated: boolean;2115 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2116 readonly isItemDestroyed: boolean;2117 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2118 readonly isTransfer: boolean;2119 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2120 readonly isApproved: boolean;2121 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2122 readonly isCollectionPropertySet: boolean;2123 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;2124 readonly isCollectionPropertyDeleted: boolean;2125 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;2126 readonly isTokenPropertySet: boolean;2127 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;2128 readonly isTokenPropertyDeleted: boolean;2129 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;2130 readonly isPropertyPermissionSet: boolean;2131 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;2132 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2133 }21342135 /** @name PalletStructureEvent (254) */2136 export interface PalletStructureEvent extends Enum {2137 readonly isExecuted: boolean;2138 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2139 readonly type: 'Executed';2140 }21412142 /** @name PalletEvmEvent (255) */2143 export interface PalletEvmEvent extends Enum {2144 readonly isLog: boolean;2145 readonly asLog: EthereumLog;2146 readonly isCreated: boolean;2147 readonly asCreated: H160;2148 readonly isCreatedFailed: boolean;2149 readonly asCreatedFailed: H160;2150 readonly isExecuted: boolean;2151 readonly asExecuted: H160;2152 readonly isExecutedFailed: boolean;2153 readonly asExecutedFailed: H160;2154 readonly isBalanceDeposit: boolean;2155 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2156 readonly isBalanceWithdraw: boolean;2157 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2158 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2159 }21602161 /** @name EthereumLog (256) */2162 export interface EthereumLog extends Struct {2163 readonly address: H160;2164 readonly topics: Vec<H256>;2165 readonly data: Bytes;2166 }21672168 /** @name PalletEthereumEvent (257) */2169 export interface PalletEthereumEvent extends Enum {2170 readonly isExecuted: boolean;2171 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2172 readonly type: 'Executed';2173 }21742175 /** @name EvmCoreErrorExitReason (258) */2176 export interface EvmCoreErrorExitReason extends Enum {2177 readonly isSucceed: boolean;2178 readonly asSucceed: EvmCoreErrorExitSucceed;2179 readonly isError: boolean;2180 readonly asError: EvmCoreErrorExitError;2181 readonly isRevert: boolean;2182 readonly asRevert: EvmCoreErrorExitRevert;2183 readonly isFatal: boolean;2184 readonly asFatal: EvmCoreErrorExitFatal;2185 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2186 }21872188 /** @name EvmCoreErrorExitSucceed (259) */2189 export interface EvmCoreErrorExitSucceed extends Enum {2190 readonly isStopped: boolean;2191 readonly isReturned: boolean;2192 readonly isSuicided: boolean;2193 readonly type: 'Stopped' | 'Returned' | 'Suicided';2194 }21952196 /** @name EvmCoreErrorExitError (260) */2197 export interface EvmCoreErrorExitError extends Enum {2198 readonly isStackUnderflow: boolean;2199 readonly isStackOverflow: boolean;2200 readonly isInvalidJump: boolean;2201 readonly isInvalidRange: boolean;2202 readonly isDesignatedInvalid: boolean;2203 readonly isCallTooDeep: boolean;2204 readonly isCreateCollision: boolean;2205 readonly isCreateContractLimit: boolean;2206 readonly isOutOfOffset: boolean;2207 readonly isOutOfGas: boolean;2208 readonly isOutOfFund: boolean;2209 readonly isPcUnderflow: boolean;2210 readonly isCreateEmpty: boolean;2211 readonly isOther: boolean;2212 readonly asOther: Text;2213 readonly isInvalidCode: boolean;2214 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2215 }22162217 /** @name EvmCoreErrorExitRevert (263) */2218 export interface EvmCoreErrorExitRevert extends Enum {2219 readonly isReverted: boolean;2220 readonly type: 'Reverted';2221 }22222223 /** @name EvmCoreErrorExitFatal (264) */2224 export interface EvmCoreErrorExitFatal extends Enum {2225 readonly isNotSupported: boolean;2226 readonly isUnhandledInterrupt: boolean;2227 readonly isCallErrorAsFatal: boolean;2228 readonly asCallErrorAsFatal: EvmCoreErrorExitError;2229 readonly isOther: boolean;2230 readonly asOther: Text;2231 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2232 }22332234 /** @name FrameSystemPhase (265) */2235 export interface FrameSystemPhase extends Enum {2236 readonly isApplyExtrinsic: boolean;2237 readonly asApplyExtrinsic: u32;2238 readonly isFinalization: boolean;2239 readonly isInitialization: boolean;2240 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2241 }22422243 /** @name FrameSystemLastRuntimeUpgradeInfo (267) */2244 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2245 readonly specVersion: Compact<u32>;2246 readonly specName: Text;2247 }22482249 /** @name FrameSystemLimitsBlockWeights (268) */2250 export interface FrameSystemLimitsBlockWeights extends Struct {2251 readonly baseBlock: u64;2252 readonly maxBlock: u64;2253 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2254 }22552256 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (269) */2257 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2258 readonly normal: FrameSystemLimitsWeightsPerClass;2259 readonly operational: FrameSystemLimitsWeightsPerClass;2260 readonly mandatory: FrameSystemLimitsWeightsPerClass;2261 }22622263 /** @name FrameSystemLimitsWeightsPerClass (270) */2264 export interface FrameSystemLimitsWeightsPerClass extends Struct {2265 readonly baseExtrinsic: u64;2266 readonly maxExtrinsic: Option<u64>;2267 readonly maxTotal: Option<u64>;2268 readonly reserved: Option<u64>;2269 }22702271 /** @name FrameSystemLimitsBlockLength (272) */2272 export interface FrameSystemLimitsBlockLength extends Struct {2273 readonly max: FrameSupportWeightsPerDispatchClassU32;2274 }22752276 /** @name FrameSupportWeightsPerDispatchClassU32 (273) */2277 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2278 readonly normal: u32;2279 readonly operational: u32;2280 readonly mandatory: u32;2281 }22822283 /** @name FrameSupportWeightsRuntimeDbWeight (274) */2284 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2285 readonly read: u64;2286 readonly write: u64;2287 }22882289 /** @name SpVersionRuntimeVersion (275) */2290 export interface SpVersionRuntimeVersion extends Struct {2291 readonly specName: Text;2292 readonly implName: Text;2293 readonly authoringVersion: u32;2294 readonly specVersion: u32;2295 readonly implVersion: u32;2296 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2297 readonly transactionVersion: u32;2298 readonly stateVersion: u8;2299 }23002301 /** @name FrameSystemError (279) */2302 export interface FrameSystemError extends Enum {2303 readonly isInvalidSpecName: boolean;2304 readonly isSpecVersionNeedsToIncrease: boolean;2305 readonly isFailedToExtractRuntimeVersion: boolean;2306 readonly isNonDefaultComposite: boolean;2307 readonly isNonZeroRefCount: boolean;2308 readonly isCallFiltered: boolean;2309 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2310 }23112312 /** @name OrmlVestingModuleError (281) */2313 export interface OrmlVestingModuleError extends Enum {2314 readonly isZeroVestingPeriod: boolean;2315 readonly isZeroVestingPeriodCount: boolean;2316 readonly isInsufficientBalanceToLock: boolean;2317 readonly isTooManyVestingSchedules: boolean;2318 readonly isAmountLow: boolean;2319 readonly isMaxVestingSchedulesExceeded: boolean;2320 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2321 }23222323 /** @name CumulusPalletXcmpQueueInboundChannelDetails (283) */2324 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2325 readonly sender: u32;2326 readonly state: CumulusPalletXcmpQueueInboundState;2327 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2328 }23292330 /** @name CumulusPalletXcmpQueueInboundState (284) */2331 export interface CumulusPalletXcmpQueueInboundState extends Enum {2332 readonly isOk: boolean;2333 readonly isSuspended: boolean;2334 readonly type: 'Ok' | 'Suspended';2335 }23362337 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (287) */2338 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2339 readonly isConcatenatedVersionedXcm: boolean;2340 readonly isConcatenatedEncodedBlob: boolean;2341 readonly isSignals: boolean;2342 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2343 }23442345 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (290) */2346 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2347 readonly recipient: u32;2348 readonly state: CumulusPalletXcmpQueueOutboundState;2349 readonly signalsExist: bool;2350 readonly firstIndex: u16;2351 readonly lastIndex: u16;2352 }23532354 /** @name CumulusPalletXcmpQueueOutboundState (291) */2355 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2356 readonly isOk: boolean;2357 readonly isSuspended: boolean;2358 readonly type: 'Ok' | 'Suspended';2359 }23602361 /** @name CumulusPalletXcmpQueueQueueConfigData (293) */2362 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2363 readonly suspendThreshold: u32;2364 readonly dropThreshold: u32;2365 readonly resumeThreshold: u32;2366 readonly thresholdWeight: u64;2367 readonly weightRestrictDecay: u64;2368 readonly xcmpMaxIndividualWeight: u64;2369 }23702371 /** @name CumulusPalletXcmpQueueError (295) */2372 export interface CumulusPalletXcmpQueueError extends Enum {2373 readonly isFailedToSend: boolean;2374 readonly isBadXcmOrigin: boolean;2375 readonly isBadXcm: boolean;2376 readonly isBadOverweightIndex: boolean;2377 readonly isWeightOverLimit: boolean;2378 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2379 }23802381 /** @name PalletXcmError (296) */2382 export interface PalletXcmError extends Enum {2383 readonly isUnreachable: boolean;2384 readonly isSendFailure: boolean;2385 readonly isFiltered: boolean;2386 readonly isUnweighableMessage: boolean;2387 readonly isDestinationNotInvertible: boolean;2388 readonly isEmpty: boolean;2389 readonly isCannotReanchor: boolean;2390 readonly isTooManyAssets: boolean;2391 readonly isInvalidOrigin: boolean;2392 readonly isBadVersion: boolean;2393 readonly isBadLocation: boolean;2394 readonly isNoSubscription: boolean;2395 readonly isAlreadySubscribed: boolean;2396 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2397 }23982399 /** @name CumulusPalletXcmError (297) */2400 export type CumulusPalletXcmError = Null;24012402 /** @name CumulusPalletDmpQueueConfigData (298) */2403 export interface CumulusPalletDmpQueueConfigData extends Struct {2404 readonly maxIndividual: u64;2405 }24062407 /** @name CumulusPalletDmpQueuePageIndexData (299) */2408 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2409 readonly beginUsed: u32;2410 readonly endUsed: u32;2411 readonly overweightCount: u64;2412 }24132414 /** @name CumulusPalletDmpQueueError (302) */2415 export interface CumulusPalletDmpQueueError extends Enum {2416 readonly isUnknown: boolean;2417 readonly isOverLimit: boolean;2418 readonly type: 'Unknown' | 'OverLimit';2419 }24202421 /** @name PalletUniqueError (306) */2422 export interface PalletUniqueError extends Enum {2423 readonly isCollectionDecimalPointLimitExceeded: boolean;2424 readonly isConfirmUnsetSponsorFail: boolean;2425 readonly isEmptyArgument: boolean;2426 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2427 }24282429 /** @name UpDataStructsCollection (307) */2430 export interface UpDataStructsCollection extends Struct {2431 readonly owner: AccountId32;2432 readonly mode: UpDataStructsCollectionMode;2433 readonly name: Vec<u16>;2434 readonly description: Vec<u16>;2435 readonly tokenPrefix: Bytes;2436 readonly sponsorship: UpDataStructsSponsorshipState;2437 readonly limits: UpDataStructsCollectionLimits;2438 readonly permissions: UpDataStructsCollectionPermissions;2439 }24402441 /** @name UpDataStructsSponsorshipState (308) */2442 export interface UpDataStructsSponsorshipState extends Enum {2443 readonly isDisabled: boolean;2444 readonly isUnconfirmed: boolean;2445 readonly asUnconfirmed: AccountId32;2446 readonly isConfirmed: boolean;2447 readonly asConfirmed: AccountId32;2448 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2449 }24502451 /** @name UpDataStructsProperties (309) */2452 export interface UpDataStructsProperties extends Struct {2453 readonly map: UpDataStructsPropertiesMapBoundedVec;2454 readonly consumedSpace: u32;2455 readonly spaceLimit: u32;2456 }24572458 /** @name UpDataStructsPropertiesMapBoundedVec (310) */2459 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}24602461 /** @name UpDataStructsPropertiesMapPropertyPermission (315) */2462 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}24632464 /** @name UpDataStructsCollectionStats (322) */2465 export interface UpDataStructsCollectionStats extends Struct {2466 readonly created: u32;2467 readonly destroyed: u32;2468 readonly alive: u32;2469 }24702471 /** @name UpDataStructsTokenChild (323) */2472 export interface UpDataStructsTokenChild extends Struct {2473 readonly token: u32;2474 readonly collection: u32;2475 }24762477 /** @name PhantomTypeUpDataStructs (324) */2478 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}24792480 /** @name UpDataStructsTokenData (326) */2481 export interface UpDataStructsTokenData extends Struct {2482 readonly properties: Vec<UpDataStructsProperty>;2483 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2484 }24852486 /** @name UpDataStructsRpcCollection (328) */2487 export interface UpDataStructsRpcCollection extends Struct {2488 readonly owner: AccountId32;2489 readonly mode: UpDataStructsCollectionMode;2490 readonly name: Vec<u16>;2491 readonly description: Vec<u16>;2492 readonly tokenPrefix: Bytes;2493 readonly sponsorship: UpDataStructsSponsorshipState;2494 readonly limits: UpDataStructsCollectionLimits;2495 readonly permissions: UpDataStructsCollectionPermissions;2496 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2497 readonly properties: Vec<UpDataStructsProperty>;2498 }24992500 /** @name UpDataStructsRmrkCollectionInfo (329) */2501 export interface UpDataStructsRmrkCollectionInfo extends Struct {2502 readonly issuer: AccountId32;2503 readonly metadata: Bytes;2504 readonly max: Option<u32>;2505 readonly symbol: Bytes;2506 readonly nftsCount: u32;2507 }25082509 /** @name UpDataStructsRmrkNftInfo (332) */2510 export interface UpDataStructsRmrkNftInfo extends Struct {2511 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2512 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2513 readonly metadata: Bytes;2514 readonly equipped: bool;2515 readonly pending: bool;2516 }25172518 /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (333) */2519 export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2520 readonly isAccountId: boolean;2521 readonly asAccountId: AccountId32;2522 readonly isCollectionAndNftTuple: boolean;2523 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2524 readonly type: 'AccountId' | 'CollectionAndNftTuple';2525 }25262527 /** @name UpDataStructsRmrkRoyaltyInfo (335) */2528 export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2529 readonly recipient: AccountId32;2530 readonly amount: Permill;2531 }25322533 /** @name UpDataStructsRmrkResourceInfo (336) */2534 export interface UpDataStructsRmrkResourceInfo extends Struct {2535 readonly id: Bytes;2536 readonly resource: UpDataStructsRmrkResourceTypes;2537 readonly pending: bool;2538 readonly pendingRemoval: bool;2539 }25402541 /** @name UpDataStructsRmrkResourceTypes (339) */2542 export interface UpDataStructsRmrkResourceTypes extends Enum {2543 readonly isBasic: boolean;2544 readonly asBasic: UpDataStructsRmrkBasicResource;2545 readonly isComposable: boolean;2546 readonly asComposable: UpDataStructsRmrkComposableResource;2547 readonly isSlot: boolean;2548 readonly asSlot: UpDataStructsRmrkSlotResource;2549 readonly type: 'Basic' | 'Composable' | 'Slot';2550 }25512552 /** @name UpDataStructsRmrkBasicResource (340) */2553 export interface UpDataStructsRmrkBasicResource extends Struct {2554 readonly src: Option<Bytes>;2555 readonly metadata: Option<Bytes>;2556 readonly license: Option<Bytes>;2557 readonly thumb: Option<Bytes>;2558 }25592560 /** @name UpDataStructsRmrkComposableResource (342) */2561 export interface UpDataStructsRmrkComposableResource extends Struct {2562 readonly parts: Vec<u32>;2563 readonly base: u32;2564 readonly src: Option<Bytes>;2565 readonly metadata: Option<Bytes>;2566 readonly license: Option<Bytes>;2567 readonly thumb: Option<Bytes>;2568 }25692570 /** @name UpDataStructsRmrkSlotResource (343) */2571 export interface UpDataStructsRmrkSlotResource extends Struct {2572 readonly base: u32;2573 readonly src: Option<Bytes>;2574 readonly metadata: Option<Bytes>;2575 readonly slot: u32;2576 readonly license: Option<Bytes>;2577 readonly thumb: Option<Bytes>;2578 }25792580 /** @name UpDataStructsRmrkPropertyInfo (344) */2581 export interface UpDataStructsRmrkPropertyInfo extends Struct {2582 readonly key: Bytes;2583 readonly value: Bytes;2584 }25852586 /** @name UpDataStructsRmrkBaseInfo (347) */2587 export interface UpDataStructsRmrkBaseInfo extends Struct {2588 readonly issuer: AccountId32;2589 readonly baseType: Bytes;2590 readonly symbol: Bytes;2591 }25922593 /** @name UpDataStructsRmrkPartType (348) */2594 export interface UpDataStructsRmrkPartType extends Enum {2595 readonly isFixedPart: boolean;2596 readonly asFixedPart: UpDataStructsRmrkFixedPart;2597 readonly isSlotPart: boolean;2598 readonly asSlotPart: UpDataStructsRmrkSlotPart;2599 readonly type: 'FixedPart' | 'SlotPart';2600 }26012602 /** @name UpDataStructsRmrkFixedPart (350) */2603 export interface UpDataStructsRmrkFixedPart extends Struct {2604 readonly id: u32;2605 readonly z: u32;2606 readonly src: Bytes;2607 }26082609 /** @name UpDataStructsRmrkSlotPart (351) */2610 export interface UpDataStructsRmrkSlotPart extends Struct {2611 readonly id: u32;2612 readonly equippable: UpDataStructsRmrkEquippableList;2613 readonly src: Bytes;2614 readonly z: u32;2615 }26162617 /** @name UpDataStructsRmrkEquippableList (352) */2618 export interface UpDataStructsRmrkEquippableList extends Enum {2619 readonly isAll: boolean;2620 readonly isEmpty: boolean;2621 readonly isCustom: boolean;2622 readonly asCustom: Vec<u32>;2623 readonly type: 'All' | 'Empty' | 'Custom';2624 }26252626 /** @name UpDataStructsRmrkTheme (353) */2627 export interface UpDataStructsRmrkTheme extends Struct {2628 readonly name: Bytes;2629 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;2630 readonly inherit: bool;2631 }26322633 /** @name UpDataStructsRmrkThemeProperty (355) */2634 export interface UpDataStructsRmrkThemeProperty extends Struct {2635 readonly key: Bytes;2636 readonly value: Bytes;2637 }26382639 /** @name UpDataStructsRmrkNftChild (356) */2640 export interface UpDataStructsRmrkNftChild extends Struct {2641 readonly collectionId: u32;2642 readonly nftId: u32;2643 }26442645 /** @name PalletCommonError (358) */2646 export interface PalletCommonError extends Enum {2647 readonly isCollectionNotFound: boolean;2648 readonly isMustBeTokenOwner: boolean;2649 readonly isNoPermission: boolean;2650 readonly isCantDestroyNotEmptyCollection: boolean;2651 readonly isPublicMintingNotAllowed: boolean;2652 readonly isAddressNotInAllowlist: boolean;2653 readonly isCollectionNameLimitExceeded: boolean;2654 readonly isCollectionDescriptionLimitExceeded: boolean;2655 readonly isCollectionTokenPrefixLimitExceeded: boolean;2656 readonly isTotalCollectionsLimitExceeded: boolean;2657 readonly isCollectionAdminCountExceeded: boolean;2658 readonly isCollectionLimitBoundsExceeded: boolean;2659 readonly isOwnerPermissionsCantBeReverted: boolean;2660 readonly isTransferNotAllowed: boolean;2661 readonly isAccountTokenLimitExceeded: boolean;2662 readonly isCollectionTokenLimitExceeded: boolean;2663 readonly isMetadataFlagFrozen: boolean;2664 readonly isTokenNotFound: boolean;2665 readonly isTokenValueTooLow: boolean;2666 readonly isApprovedValueTooLow: boolean;2667 readonly isCantApproveMoreThanOwned: boolean;2668 readonly isAddressIsZero: boolean;2669 readonly isUnsupportedOperation: boolean;2670 readonly isNotSufficientFounds: boolean;2671 readonly isNestingIsDisabled: boolean;2672 readonly isOnlyOwnerAllowedToNest: boolean;2673 readonly isSourceCollectionIsNotAllowedToNest: boolean;2674 readonly isCollectionFieldSizeExceeded: boolean;2675 readonly isNoSpaceForProperty: boolean;2676 readonly isPropertyLimitReached: boolean;2677 readonly isPropertyKeyIsTooLong: boolean;2678 readonly isInvalidCharacterInPropertyKey: boolean;2679 readonly isEmptyPropertyKey: boolean;2680 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';2681 }26822683 /** @name PalletFungibleError (360) */2684 export interface PalletFungibleError extends Enum {2685 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2686 readonly isFungibleItemsHaveNoId: boolean;2687 readonly isFungibleItemsDontHaveData: boolean;2688 readonly isFungibleDisallowsNesting: boolean;2689 readonly isSettingPropertiesNotAllowed: boolean;2690 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2691 }26922693 /** @name PalletRefungibleItemData (361) */2694 export interface PalletRefungibleItemData extends Struct {2695 readonly constData: Bytes;2696 }26972698 /** @name PalletRefungibleError (365) */2699 export interface PalletRefungibleError extends Enum {2700 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2701 readonly isWrongRefungiblePieces: boolean;2702 readonly isRefungibleDisallowsNesting: boolean;2703 readonly isSettingPropertiesNotAllowed: boolean;2704 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2705 }27062707 /** @name PalletNonfungibleItemData (366) */2708 export interface PalletNonfungibleItemData extends Struct {2709 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2710 }27112712 /** @name PalletNonfungibleError (368) */2713 export interface PalletNonfungibleError extends Enum {2714 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2715 readonly isNonfungibleItemsHaveNoAmount: boolean;2716 readonly isCantBurnNftWithChildren: boolean;2717 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';2718 }27192720 /** @name PalletStructureError (369) */2721 export interface PalletStructureError extends Enum {2722 readonly isOuroborosDetected: boolean;2723 readonly isDepthLimit: boolean;2724 readonly isTokenNotFound: boolean;2725 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';2726 }27272728 /** @name PalletEvmError (372) */2729 export interface PalletEvmError extends Enum {2730 readonly isBalanceLow: boolean;2731 readonly isFeeOverflow: boolean;2732 readonly isPaymentOverflow: boolean;2733 readonly isWithdrawFailed: boolean;2734 readonly isGasPriceTooLow: boolean;2735 readonly isInvalidNonce: boolean;2736 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2737 }27382739 /** @name FpRpcTransactionStatus (375) */2740 export interface FpRpcTransactionStatus extends Struct {2741 readonly transactionHash: H256;2742 readonly transactionIndex: u32;2743 readonly from: H160;2744 readonly to: Option<H160>;2745 readonly contractAddress: Option<H160>;2746 readonly logs: Vec<EthereumLog>;2747 readonly logsBloom: EthbloomBloom;2748 }27492750 /** @name EthbloomBloom (377) */2751 export interface EthbloomBloom extends U8aFixed {}27522753 /** @name EthereumReceiptReceiptV3 (379) */2754 export interface EthereumReceiptReceiptV3 extends Enum {2755 readonly isLegacy: boolean;2756 readonly asLegacy: EthereumReceiptEip658ReceiptData;2757 readonly isEip2930: boolean;2758 readonly asEip2930: EthereumReceiptEip658ReceiptData;2759 readonly isEip1559: boolean;2760 readonly asEip1559: EthereumReceiptEip658ReceiptData;2761 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2762 }27632764 /** @name EthereumReceiptEip658ReceiptData (380) */2765 export interface EthereumReceiptEip658ReceiptData extends Struct {2766 readonly statusCode: u8;2767 readonly usedGas: U256;2768 readonly logsBloom: EthbloomBloom;2769 readonly logs: Vec<EthereumLog>;2770 }27712772 /** @name EthereumBlock (381) */2773 export interface EthereumBlock extends Struct {2774 readonly header: EthereumHeader;2775 readonly transactions: Vec<EthereumTransactionTransactionV2>;2776 readonly ommers: Vec<EthereumHeader>;2777 }27782779 /** @name EthereumHeader (382) */2780 export interface EthereumHeader extends Struct {2781 readonly parentHash: H256;2782 readonly ommersHash: H256;2783 readonly beneficiary: H160;2784 readonly stateRoot: H256;2785 readonly transactionsRoot: H256;2786 readonly receiptsRoot: H256;2787 readonly logsBloom: EthbloomBloom;2788 readonly difficulty: U256;2789 readonly number: U256;2790 readonly gasLimit: U256;2791 readonly gasUsed: U256;2792 readonly timestamp: u64;2793 readonly extraData: Bytes;2794 readonly mixHash: H256;2795 readonly nonce: EthereumTypesHashH64;2796 }27972798 /** @name EthereumTypesHashH64 (383) */2799 export interface EthereumTypesHashH64 extends U8aFixed {}28002801 /** @name PalletEthereumError (388) */2802 export interface PalletEthereumError extends Enum {2803 readonly isInvalidSignature: boolean;2804 readonly isPreLogExists: boolean;2805 readonly type: 'InvalidSignature' | 'PreLogExists';2806 }28072808 /** @name PalletEvmCoderSubstrateError (389) */2809 export interface PalletEvmCoderSubstrateError extends Enum {2810 readonly isOutOfGas: boolean;2811 readonly isOutOfFund: boolean;2812 readonly type: 'OutOfGas' | 'OutOfFund';2813 }28142815 /** @name PalletEvmContractHelpersSponsoringModeT (390) */2816 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2817 readonly isDisabled: boolean;2818 readonly isAllowlisted: boolean;2819 readonly isGenerous: boolean;2820 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2821 }28222823 /** @name PalletEvmContractHelpersError (392) */2824 export interface PalletEvmContractHelpersError extends Enum {2825 readonly isNoPermission: boolean;2826 readonly type: 'NoPermission';2827 }28282829 /** @name PalletEvmMigrationError (393) */2830 export interface PalletEvmMigrationError extends Enum {2831 readonly isAccountNotEmpty: boolean;2832 readonly isAccountIsNotMigrating: boolean;2833 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2834 }28352836 /** @name SpRuntimeMultiSignature (395) */2837 export interface SpRuntimeMultiSignature extends Enum {2838 readonly isEd25519: boolean;2839 readonly asEd25519: SpCoreEd25519Signature;2840 readonly isSr25519: boolean;2841 readonly asSr25519: SpCoreSr25519Signature;2842 readonly isEcdsa: boolean;2843 readonly asEcdsa: SpCoreEcdsaSignature;2844 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2845 }28462847 /** @name SpCoreEd25519Signature (396) */2848 export interface SpCoreEd25519Signature extends U8aFixed {}28492850 /** @name SpCoreSr25519Signature (398) */2851 export interface SpCoreSr25519Signature extends U8aFixed {}28522853 /** @name SpCoreEcdsaSignature (399) */2854 export interface SpCoreEcdsaSignature extends U8aFixed {}28552856 /** @name FrameSystemExtensionsCheckSpecVersion (402) */2857 export type FrameSystemExtensionsCheckSpecVersion = Null;28582859 /** @name FrameSystemExtensionsCheckGenesis (403) */2860 export type FrameSystemExtensionsCheckGenesis = Null;28612862 /** @name FrameSystemExtensionsCheckNonce (406) */2863 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}28642865 /** @name FrameSystemExtensionsCheckWeight (407) */2866 export type FrameSystemExtensionsCheckWeight = Null;28672868 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (408) */2869 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}28702871 /** @name OpalRuntimeRuntime (409) */2872 export type OpalRuntimeRuntime = Null;28732874 /** @name PalletEthereumFakeTransactionFinalizer (410) */2875 export type PalletEthereumFakeTransactionFinalizer = Null;28762877} // declare module1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34declare module '@polkadot/types/lookup' {5 import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6 import type { ITuple } from '@polkadot/types-codec/types';7 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8 import type { Event } from '@polkadot/types/interfaces/system';910 /** @name PolkadotPrimitivesV2PersistedValidationData (2) */11 export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {12 readonly parentHead: Bytes;13 readonly relayParentNumber: u32;14 readonly relayParentStorageRoot: H256;15 readonly maxPovSize: u32;16 }1718 /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */19 export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {20 readonly isPresent: boolean;21 readonly type: 'Present';22 }2324 /** @name SpTrieStorageProof (10) */25 export interface SpTrieStorageProof extends Struct {26 readonly trieNodes: BTreeSet<Bytes>;27 }2829 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */30 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {31 readonly dmqMqcHead: H256;32 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;33 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;34 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;35 }3637 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */38 export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {39 readonly maxCapacity: u32;40 readonly maxTotalSize: u32;41 readonly maxMessageSize: u32;42 readonly msgCount: u32;43 readonly totalSize: u32;44 readonly mqcHead: Option<H256>;45 }4647 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */48 export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {49 readonly maxCodeSize: u32;50 readonly maxHeadDataSize: u32;51 readonly maxUpwardQueueCount: u32;52 readonly maxUpwardQueueSize: u32;53 readonly maxUpwardMessageSize: u32;54 readonly maxUpwardMessageNumPerCandidate: u32;55 readonly hrmpMaxMessageNumPerCandidate: u32;56 readonly validationUpgradeCooldown: u32;57 readonly validationUpgradeDelay: u32;58 }5960 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */61 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {62 readonly recipient: u32;63 readonly data: Bytes;64 }6566 /** @name CumulusPalletParachainSystemCall (28) */67 export interface CumulusPalletParachainSystemCall extends Enum {68 readonly isSetValidationData: boolean;69 readonly asSetValidationData: {70 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;71 } & Struct;72 readonly isSudoSendUpwardMessage: boolean;73 readonly asSudoSendUpwardMessage: {74 readonly message: Bytes;75 } & Struct;76 readonly isAuthorizeUpgrade: boolean;77 readonly asAuthorizeUpgrade: {78 readonly codeHash: H256;79 } & Struct;80 readonly isEnactAuthorizedUpgrade: boolean;81 readonly asEnactAuthorizedUpgrade: {82 readonly code: Bytes;83 } & Struct;84 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';85 }8687 /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */88 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {89 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;90 readonly relayChainState: SpTrieStorageProof;91 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;92 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;93 }9495 /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */96 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {97 readonly sentAt: u32;98 readonly msg: Bytes;99 }100101 /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */102 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {103 readonly sentAt: u32;104 readonly data: Bytes;105 }106107 /** @name CumulusPalletParachainSystemEvent (37) */108 export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: u32;112 readonly isValidationFunctionDiscarded: boolean;113 readonly isUpgradeAuthorized: boolean;114 readonly asUpgradeAuthorized: H256;115 readonly isDownwardMessagesReceived: boolean;116 readonly asDownwardMessagesReceived: u32;117 readonly isDownwardMessagesProcessed: boolean;118 readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;119 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';120 }121122 /** @name CumulusPalletParachainSystemError (38) */123 export interface CumulusPalletParachainSystemError extends Enum {124 readonly isOverlappingUpgrades: boolean;125 readonly isProhibitedByPolkadot: boolean;126 readonly isTooBig: boolean;127 readonly isValidationDataNotAvailable: boolean;128 readonly isHostConfigurationNotAvailable: boolean;129 readonly isNotScheduled: boolean;130 readonly isNothingAuthorized: boolean;131 readonly isUnauthorized: boolean;132 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';133 }134135 /** @name PalletBalancesAccountData (41) */136 export interface PalletBalancesAccountData extends Struct {137 readonly free: u128;138 readonly reserved: u128;139 readonly miscFrozen: u128;140 readonly feeFrozen: u128;141 }142143 /** @name PalletBalancesBalanceLock (43) */144 export interface PalletBalancesBalanceLock extends Struct {145 readonly id: U8aFixed;146 readonly amount: u128;147 readonly reasons: PalletBalancesReasons;148 }149150 /** @name PalletBalancesReasons (45) */151 export interface PalletBalancesReasons extends Enum {152 readonly isFee: boolean;153 readonly isMisc: boolean;154 readonly isAll: boolean;155 readonly type: 'Fee' | 'Misc' | 'All';156 }157158 /** @name PalletBalancesReserveData (48) */159 export interface PalletBalancesReserveData extends Struct {160 readonly id: U8aFixed;161 readonly amount: u128;162 }163164 /** @name PalletBalancesReleases (50) */165 export interface PalletBalancesReleases extends Enum {166 readonly isV100: boolean;167 readonly isV200: boolean;168 readonly type: 'V100' | 'V200';169 }170171 /** @name PalletBalancesCall (51) */172 export interface PalletBalancesCall extends Enum {173 readonly isTransfer: boolean;174 readonly asTransfer: {175 readonly dest: MultiAddress;176 readonly value: Compact<u128>;177 } & Struct;178 readonly isSetBalance: boolean;179 readonly asSetBalance: {180 readonly who: MultiAddress;181 readonly newFree: Compact<u128>;182 readonly newReserved: Compact<u128>;183 } & Struct;184 readonly isForceTransfer: boolean;185 readonly asForceTransfer: {186 readonly source: MultiAddress;187 readonly dest: MultiAddress;188 readonly value: Compact<u128>;189 } & Struct;190 readonly isTransferKeepAlive: boolean;191 readonly asTransferKeepAlive: {192 readonly dest: MultiAddress;193 readonly value: Compact<u128>;194 } & Struct;195 readonly isTransferAll: boolean;196 readonly asTransferAll: {197 readonly dest: MultiAddress;198 readonly keepAlive: bool;199 } & Struct;200 readonly isForceUnreserve: boolean;201 readonly asForceUnreserve: {202 readonly who: MultiAddress;203 readonly amount: u128;204 } & Struct;205 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';206 }207208 /** @name PalletBalancesEvent (57) */209 export interface PalletBalancesEvent extends Enum {210 readonly isEndowed: boolean;211 readonly asEndowed: {212 readonly account: AccountId32;213 readonly freeBalance: u128;214 } & Struct;215 readonly isDustLost: boolean;216 readonly asDustLost: {217 readonly account: AccountId32;218 readonly amount: u128;219 } & Struct;220 readonly isTransfer: boolean;221 readonly asTransfer: {222 readonly from: AccountId32;223 readonly to: AccountId32;224 readonly amount: u128;225 } & Struct;226 readonly isBalanceSet: boolean;227 readonly asBalanceSet: {228 readonly who: AccountId32;229 readonly free: u128;230 readonly reserved: u128;231 } & Struct;232 readonly isReserved: boolean;233 readonly asReserved: {234 readonly who: AccountId32;235 readonly amount: u128;236 } & Struct;237 readonly isUnreserved: boolean;238 readonly asUnreserved: {239 readonly who: AccountId32;240 readonly amount: u128;241 } & Struct;242 readonly isReserveRepatriated: boolean;243 readonly asReserveRepatriated: {244 readonly from: AccountId32;245 readonly to: AccountId32;246 readonly amount: u128;247 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;248 } & Struct;249 readonly isDeposit: boolean;250 readonly asDeposit: {251 readonly who: AccountId32;252 readonly amount: u128;253 } & Struct;254 readonly isWithdraw: boolean;255 readonly asWithdraw: {256 readonly who: AccountId32;257 readonly amount: u128;258 } & Struct;259 readonly isSlashed: boolean;260 readonly asSlashed: {261 readonly who: AccountId32;262 readonly amount: u128;263 } & Struct;264 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';265 }266267 /** @name FrameSupportTokensMiscBalanceStatus (58) */268 export interface FrameSupportTokensMiscBalanceStatus extends Enum {269 readonly isFree: boolean;270 readonly isReserved: boolean;271 readonly type: 'Free' | 'Reserved';272 }273274 /** @name PalletBalancesError (59) */275 export interface PalletBalancesError extends Enum {276 readonly isVestingBalance: boolean;277 readonly isLiquidityRestrictions: boolean;278 readonly isInsufficientBalance: boolean;279 readonly isExistentialDeposit: boolean;280 readonly isKeepAlive: boolean;281 readonly isExistingVestingSchedule: boolean;282 readonly isDeadAccount: boolean;283 readonly isTooManyReserves: boolean;284 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';285 }286287 /** @name PalletTimestampCall (62) */288 export interface PalletTimestampCall extends Enum {289 readonly isSet: boolean;290 readonly asSet: {291 readonly now: Compact<u64>;292 } & Struct;293 readonly type: 'Set';294 }295296 /** @name PalletTransactionPaymentReleases (65) */297 export interface PalletTransactionPaymentReleases extends Enum {298 readonly isV1Ancient: boolean;299 readonly isV2: boolean;300 readonly type: 'V1Ancient' | 'V2';301 }302303 /** @name FrameSupportWeightsWeightToFeeCoefficient (67) */304 export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {305 readonly coeffInteger: u128;306 readonly coeffFrac: Perbill;307 readonly negative: bool;308 readonly degree: u8;309 }310311 /** @name PalletTreasuryProposal (69) */312 export interface PalletTreasuryProposal extends Struct {313 readonly proposer: AccountId32;314 readonly value: u128;315 readonly beneficiary: AccountId32;316 readonly bond: u128;317 }318319 /** @name PalletTreasuryCall (72) */320 export interface PalletTreasuryCall extends Enum {321 readonly isProposeSpend: boolean;322 readonly asProposeSpend: {323 readonly value: Compact<u128>;324 readonly beneficiary: MultiAddress;325 } & Struct;326 readonly isRejectProposal: boolean;327 readonly asRejectProposal: {328 readonly proposalId: Compact<u32>;329 } & Struct;330 readonly isApproveProposal: boolean;331 readonly asApproveProposal: {332 readonly proposalId: Compact<u32>;333 } & Struct;334 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';335 }336337 /** @name PalletTreasuryEvent (74) */338 export interface PalletTreasuryEvent extends Enum {339 readonly isProposed: boolean;340 readonly asProposed: {341 readonly proposalIndex: u32;342 } & Struct;343 readonly isSpending: boolean;344 readonly asSpending: {345 readonly budgetRemaining: u128;346 } & Struct;347 readonly isAwarded: boolean;348 readonly asAwarded: {349 readonly proposalIndex: u32;350 readonly award: u128;351 readonly account: AccountId32;352 } & Struct;353 readonly isRejected: boolean;354 readonly asRejected: {355 readonly proposalIndex: u32;356 readonly slashed: u128;357 } & Struct;358 readonly isBurnt: boolean;359 readonly asBurnt: {360 readonly burntFunds: u128;361 } & Struct;362 readonly isRollover: boolean;363 readonly asRollover: {364 readonly rolloverBalance: u128;365 } & Struct;366 readonly isDeposit: boolean;367 readonly asDeposit: {368 readonly value: u128;369 } & Struct;370 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';371 }372373 /** @name FrameSupportPalletId (77) */374 export interface FrameSupportPalletId extends U8aFixed {}375376 /** @name PalletTreasuryError (78) */377 export interface PalletTreasuryError extends Enum {378 readonly isInsufficientProposersBalance: boolean;379 readonly isInvalidIndex: boolean;380 readonly isTooManyApprovals: boolean;381 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';382 }383384 /** @name PalletSudoCall (79) */385 export interface PalletSudoCall extends Enum {386 readonly isSudo: boolean;387 readonly asSudo: {388 readonly call: Call;389 } & Struct;390 readonly isSudoUncheckedWeight: boolean;391 readonly asSudoUncheckedWeight: {392 readonly call: Call;393 readonly weight: u64;394 } & Struct;395 readonly isSetKey: boolean;396 readonly asSetKey: {397 readonly new_: MultiAddress;398 } & Struct;399 readonly isSudoAs: boolean;400 readonly asSudoAs: {401 readonly who: MultiAddress;402 readonly call: Call;403 } & Struct;404 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';405 }406407 /** @name FrameSystemCall (81) */408 export interface FrameSystemCall extends Enum {409 readonly isFillBlock: boolean;410 readonly asFillBlock: {411 readonly ratio: Perbill;412 } & Struct;413 readonly isRemark: boolean;414 readonly asRemark: {415 readonly remark: Bytes;416 } & Struct;417 readonly isSetHeapPages: boolean;418 readonly asSetHeapPages: {419 readonly pages: u64;420 } & Struct;421 readonly isSetCode: boolean;422 readonly asSetCode: {423 readonly code: Bytes;424 } & Struct;425 readonly isSetCodeWithoutChecks: boolean;426 readonly asSetCodeWithoutChecks: {427 readonly code: Bytes;428 } & Struct;429 readonly isSetStorage: boolean;430 readonly asSetStorage: {431 readonly items: Vec<ITuple<[Bytes, Bytes]>>;432 } & Struct;433 readonly isKillStorage: boolean;434 readonly asKillStorage: {435 readonly keys_: Vec<Bytes>;436 } & Struct;437 readonly isKillPrefix: boolean;438 readonly asKillPrefix: {439 readonly prefix: Bytes;440 readonly subkeys: u32;441 } & Struct;442 readonly isRemarkWithEvent: boolean;443 readonly asRemarkWithEvent: {444 readonly remark: Bytes;445 } & Struct;446 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';447 }448449 /** @name OrmlVestingModuleCall (84) */450 export interface OrmlVestingModuleCall extends Enum {451 readonly isClaim: boolean;452 readonly isVestedTransfer: boolean;453 readonly asVestedTransfer: {454 readonly dest: MultiAddress;455 readonly schedule: OrmlVestingVestingSchedule;456 } & Struct;457 readonly isUpdateVestingSchedules: boolean;458 readonly asUpdateVestingSchedules: {459 readonly who: MultiAddress;460 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;461 } & Struct;462 readonly isClaimFor: boolean;463 readonly asClaimFor: {464 readonly dest: MultiAddress;465 } & Struct;466 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';467 }468469 /** @name OrmlVestingVestingSchedule (85) */470 export interface OrmlVestingVestingSchedule extends Struct {471 readonly start: u32;472 readonly period: u32;473 readonly periodCount: u32;474 readonly perPeriod: Compact<u128>;475 }476477 /** @name CumulusPalletXcmpQueueCall (87) */478 export interface CumulusPalletXcmpQueueCall extends Enum {479 readonly isServiceOverweight: boolean;480 readonly asServiceOverweight: {481 readonly index: u64;482 readonly weightLimit: u64;483 } & Struct;484 readonly isSuspendXcmExecution: boolean;485 readonly isResumeXcmExecution: boolean;486 readonly isUpdateSuspendThreshold: boolean;487 readonly asUpdateSuspendThreshold: {488 readonly new_: u32;489 } & Struct;490 readonly isUpdateDropThreshold: boolean;491 readonly asUpdateDropThreshold: {492 readonly new_: u32;493 } & Struct;494 readonly isUpdateResumeThreshold: boolean;495 readonly asUpdateResumeThreshold: {496 readonly new_: u32;497 } & Struct;498 readonly isUpdateThresholdWeight: boolean;499 readonly asUpdateThresholdWeight: {500 readonly new_: u64;501 } & Struct;502 readonly isUpdateWeightRestrictDecay: boolean;503 readonly asUpdateWeightRestrictDecay: {504 readonly new_: u64;505 } & Struct;506 readonly isUpdateXcmpMaxIndividualWeight: boolean;507 readonly asUpdateXcmpMaxIndividualWeight: {508 readonly new_: u64;509 } & Struct;510 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';511 }512513 /** @name PalletXcmCall (88) */514 export interface PalletXcmCall extends Enum {515 readonly isSend: boolean;516 readonly asSend: {517 readonly dest: XcmVersionedMultiLocation;518 readonly message: XcmVersionedXcm;519 } & Struct;520 readonly isTeleportAssets: boolean;521 readonly asTeleportAssets: {522 readonly dest: XcmVersionedMultiLocation;523 readonly beneficiary: XcmVersionedMultiLocation;524 readonly assets: XcmVersionedMultiAssets;525 readonly feeAssetItem: u32;526 } & Struct;527 readonly isReserveTransferAssets: boolean;528 readonly asReserveTransferAssets: {529 readonly dest: XcmVersionedMultiLocation;530 readonly beneficiary: XcmVersionedMultiLocation;531 readonly assets: XcmVersionedMultiAssets;532 readonly feeAssetItem: u32;533 } & Struct;534 readonly isExecute: boolean;535 readonly asExecute: {536 readonly message: XcmVersionedXcm;537 readonly maxWeight: u64;538 } & Struct;539 readonly isForceXcmVersion: boolean;540 readonly asForceXcmVersion: {541 readonly location: XcmV1MultiLocation;542 readonly xcmVersion: u32;543 } & Struct;544 readonly isForceDefaultXcmVersion: boolean;545 readonly asForceDefaultXcmVersion: {546 readonly maybeXcmVersion: Option<u32>;547 } & Struct;548 readonly isForceSubscribeVersionNotify: boolean;549 readonly asForceSubscribeVersionNotify: {550 readonly location: XcmVersionedMultiLocation;551 } & Struct;552 readonly isForceUnsubscribeVersionNotify: boolean;553 readonly asForceUnsubscribeVersionNotify: {554 readonly location: XcmVersionedMultiLocation;555 } & Struct;556 readonly isLimitedReserveTransferAssets: boolean;557 readonly asLimitedReserveTransferAssets: {558 readonly dest: XcmVersionedMultiLocation;559 readonly beneficiary: XcmVersionedMultiLocation;560 readonly assets: XcmVersionedMultiAssets;561 readonly feeAssetItem: u32;562 readonly weightLimit: XcmV2WeightLimit;563 } & Struct;564 readonly isLimitedTeleportAssets: boolean;565 readonly asLimitedTeleportAssets: {566 readonly dest: XcmVersionedMultiLocation;567 readonly beneficiary: XcmVersionedMultiLocation;568 readonly assets: XcmVersionedMultiAssets;569 readonly feeAssetItem: u32;570 readonly weightLimit: XcmV2WeightLimit;571 } & Struct;572 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';573 }574575 /** @name XcmVersionedMultiLocation (89) */576 export interface XcmVersionedMultiLocation extends Enum {577 readonly isV0: boolean;578 readonly asV0: XcmV0MultiLocation;579 readonly isV1: boolean;580 readonly asV1: XcmV1MultiLocation;581 readonly type: 'V0' | 'V1';582 }583584 /** @name XcmV0MultiLocation (90) */585 export interface XcmV0MultiLocation extends Enum {586 readonly isNull: boolean;587 readonly isX1: boolean;588 readonly asX1: XcmV0Junction;589 readonly isX2: boolean;590 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;591 readonly isX3: boolean;592 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;593 readonly isX4: boolean;594 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;595 readonly isX5: boolean;596 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;597 readonly isX6: boolean;598 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;599 readonly isX7: boolean;600 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;601 readonly isX8: boolean;602 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;603 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';604 }605606 /** @name XcmV0Junction (91) */607 export interface XcmV0Junction extends Enum {608 readonly isParent: boolean;609 readonly isParachain: boolean;610 readonly asParachain: Compact<u32>;611 readonly isAccountId32: boolean;612 readonly asAccountId32: {613 readonly network: XcmV0JunctionNetworkId;614 readonly id: U8aFixed;615 } & Struct;616 readonly isAccountIndex64: boolean;617 readonly asAccountIndex64: {618 readonly network: XcmV0JunctionNetworkId;619 readonly index: Compact<u64>;620 } & Struct;621 readonly isAccountKey20: boolean;622 readonly asAccountKey20: {623 readonly network: XcmV0JunctionNetworkId;624 readonly key: U8aFixed;625 } & Struct;626 readonly isPalletInstance: boolean;627 readonly asPalletInstance: u8;628 readonly isGeneralIndex: boolean;629 readonly asGeneralIndex: Compact<u128>;630 readonly isGeneralKey: boolean;631 readonly asGeneralKey: Bytes;632 readonly isOnlyChild: boolean;633 readonly isPlurality: boolean;634 readonly asPlurality: {635 readonly id: XcmV0JunctionBodyId;636 readonly part: XcmV0JunctionBodyPart;637 } & Struct;638 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';639 }640641 /** @name XcmV0JunctionNetworkId (92) */642 export interface XcmV0JunctionNetworkId extends Enum {643 readonly isAny: boolean;644 readonly isNamed: boolean;645 readonly asNamed: Bytes;646 readonly isPolkadot: boolean;647 readonly isKusama: boolean;648 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';649 }650651 /** @name XcmV0JunctionBodyId (93) */652 export interface XcmV0JunctionBodyId extends Enum {653 readonly isUnit: boolean;654 readonly isNamed: boolean;655 readonly asNamed: Bytes;656 readonly isIndex: boolean;657 readonly asIndex: Compact<u32>;658 readonly isExecutive: boolean;659 readonly isTechnical: boolean;660 readonly isLegislative: boolean;661 readonly isJudicial: boolean;662 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';663 }664665 /** @name XcmV0JunctionBodyPart (94) */666 export interface XcmV0JunctionBodyPart extends Enum {667 readonly isVoice: boolean;668 readonly isMembers: boolean;669 readonly asMembers: {670 readonly count: Compact<u32>;671 } & Struct;672 readonly isFraction: boolean;673 readonly asFraction: {674 readonly nom: Compact<u32>;675 readonly denom: Compact<u32>;676 } & Struct;677 readonly isAtLeastProportion: boolean;678 readonly asAtLeastProportion: {679 readonly nom: Compact<u32>;680 readonly denom: Compact<u32>;681 } & Struct;682 readonly isMoreThanProportion: boolean;683 readonly asMoreThanProportion: {684 readonly nom: Compact<u32>;685 readonly denom: Compact<u32>;686 } & Struct;687 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';688 }689690 /** @name XcmV1MultiLocation (95) */691 export interface XcmV1MultiLocation extends Struct {692 readonly parents: u8;693 readonly interior: XcmV1MultilocationJunctions;694 }695696 /** @name XcmV1MultilocationJunctions (96) */697 export interface XcmV1MultilocationJunctions extends Enum {698 readonly isHere: boolean;699 readonly isX1: boolean;700 readonly asX1: XcmV1Junction;701 readonly isX2: boolean;702 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;703 readonly isX3: boolean;704 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;705 readonly isX4: boolean;706 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;707 readonly isX5: boolean;708 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;709 readonly isX6: boolean;710 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;711 readonly isX7: boolean;712 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;713 readonly isX8: boolean;714 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;715 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';716 }717718 /** @name XcmV1Junction (97) */719 export interface XcmV1Junction extends Enum {720 readonly isParachain: boolean;721 readonly asParachain: Compact<u32>;722 readonly isAccountId32: boolean;723 readonly asAccountId32: {724 readonly network: XcmV0JunctionNetworkId;725 readonly id: U8aFixed;726 } & Struct;727 readonly isAccountIndex64: boolean;728 readonly asAccountIndex64: {729 readonly network: XcmV0JunctionNetworkId;730 readonly index: Compact<u64>;731 } & Struct;732 readonly isAccountKey20: boolean;733 readonly asAccountKey20: {734 readonly network: XcmV0JunctionNetworkId;735 readonly key: U8aFixed;736 } & Struct;737 readonly isPalletInstance: boolean;738 readonly asPalletInstance: u8;739 readonly isGeneralIndex: boolean;740 readonly asGeneralIndex: Compact<u128>;741 readonly isGeneralKey: boolean;742 readonly asGeneralKey: Bytes;743 readonly isOnlyChild: boolean;744 readonly isPlurality: boolean;745 readonly asPlurality: {746 readonly id: XcmV0JunctionBodyId;747 readonly part: XcmV0JunctionBodyPart;748 } & Struct;749 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';750 }751752 /** @name XcmVersionedXcm (98) */753 export interface XcmVersionedXcm extends Enum {754 readonly isV0: boolean;755 readonly asV0: XcmV0Xcm;756 readonly isV1: boolean;757 readonly asV1: XcmV1Xcm;758 readonly isV2: boolean;759 readonly asV2: XcmV2Xcm;760 readonly type: 'V0' | 'V1' | 'V2';761 }762763 /** @name XcmV0Xcm (99) */764 export interface XcmV0Xcm extends Enum {765 readonly isWithdrawAsset: boolean;766 readonly asWithdrawAsset: {767 readonly assets: Vec<XcmV0MultiAsset>;768 readonly effects: Vec<XcmV0Order>;769 } & Struct;770 readonly isReserveAssetDeposit: boolean;771 readonly asReserveAssetDeposit: {772 readonly assets: Vec<XcmV0MultiAsset>;773 readonly effects: Vec<XcmV0Order>;774 } & Struct;775 readonly isTeleportAsset: boolean;776 readonly asTeleportAsset: {777 readonly assets: Vec<XcmV0MultiAsset>;778 readonly effects: Vec<XcmV0Order>;779 } & Struct;780 readonly isQueryResponse: boolean;781 readonly asQueryResponse: {782 readonly queryId: Compact<u64>;783 readonly response: XcmV0Response;784 } & Struct;785 readonly isTransferAsset: boolean;786 readonly asTransferAsset: {787 readonly assets: Vec<XcmV0MultiAsset>;788 readonly dest: XcmV0MultiLocation;789 } & Struct;790 readonly isTransferReserveAsset: boolean;791 readonly asTransferReserveAsset: {792 readonly assets: Vec<XcmV0MultiAsset>;793 readonly dest: XcmV0MultiLocation;794 readonly effects: Vec<XcmV0Order>;795 } & Struct;796 readonly isTransact: boolean;797 readonly asTransact: {798 readonly originType: XcmV0OriginKind;799 readonly requireWeightAtMost: u64;800 readonly call: XcmDoubleEncoded;801 } & Struct;802 readonly isHrmpNewChannelOpenRequest: boolean;803 readonly asHrmpNewChannelOpenRequest: {804 readonly sender: Compact<u32>;805 readonly maxMessageSize: Compact<u32>;806 readonly maxCapacity: Compact<u32>;807 } & Struct;808 readonly isHrmpChannelAccepted: boolean;809 readonly asHrmpChannelAccepted: {810 readonly recipient: Compact<u32>;811 } & Struct;812 readonly isHrmpChannelClosing: boolean;813 readonly asHrmpChannelClosing: {814 readonly initiator: Compact<u32>;815 readonly sender: Compact<u32>;816 readonly recipient: Compact<u32>;817 } & Struct;818 readonly isRelayedFrom: boolean;819 readonly asRelayedFrom: {820 readonly who: XcmV0MultiLocation;821 readonly message: XcmV0Xcm;822 } & Struct;823 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';824 }825826 /** @name XcmV0MultiAsset (101) */827 export interface XcmV0MultiAsset extends Enum {828 readonly isNone: boolean;829 readonly isAll: boolean;830 readonly isAllFungible: boolean;831 readonly isAllNonFungible: boolean;832 readonly isAllAbstractFungible: boolean;833 readonly asAllAbstractFungible: {834 readonly id: Bytes;835 } & Struct;836 readonly isAllAbstractNonFungible: boolean;837 readonly asAllAbstractNonFungible: {838 readonly class: Bytes;839 } & Struct;840 readonly isAllConcreteFungible: boolean;841 readonly asAllConcreteFungible: {842 readonly id: XcmV0MultiLocation;843 } & Struct;844 readonly isAllConcreteNonFungible: boolean;845 readonly asAllConcreteNonFungible: {846 readonly class: XcmV0MultiLocation;847 } & Struct;848 readonly isAbstractFungible: boolean;849 readonly asAbstractFungible: {850 readonly id: Bytes;851 readonly amount: Compact<u128>;852 } & Struct;853 readonly isAbstractNonFungible: boolean;854 readonly asAbstractNonFungible: {855 readonly class: Bytes;856 readonly instance: XcmV1MultiassetAssetInstance;857 } & Struct;858 readonly isConcreteFungible: boolean;859 readonly asConcreteFungible: {860 readonly id: XcmV0MultiLocation;861 readonly amount: Compact<u128>;862 } & Struct;863 readonly isConcreteNonFungible: boolean;864 readonly asConcreteNonFungible: {865 readonly class: XcmV0MultiLocation;866 readonly instance: XcmV1MultiassetAssetInstance;867 } & Struct;868 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';869 }870871 /** @name XcmV1MultiassetAssetInstance (102) */872 export interface XcmV1MultiassetAssetInstance extends Enum {873 readonly isUndefined: boolean;874 readonly isIndex: boolean;875 readonly asIndex: Compact<u128>;876 readonly isArray4: boolean;877 readonly asArray4: U8aFixed;878 readonly isArray8: boolean;879 readonly asArray8: U8aFixed;880 readonly isArray16: boolean;881 readonly asArray16: U8aFixed;882 readonly isArray32: boolean;883 readonly asArray32: U8aFixed;884 readonly isBlob: boolean;885 readonly asBlob: Bytes;886 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';887 }888889 /** @name XcmV0Order (106) */890 export interface XcmV0Order extends Enum {891 readonly isNull: boolean;892 readonly isDepositAsset: boolean;893 readonly asDepositAsset: {894 readonly assets: Vec<XcmV0MultiAsset>;895 readonly dest: XcmV0MultiLocation;896 } & Struct;897 readonly isDepositReserveAsset: boolean;898 readonly asDepositReserveAsset: {899 readonly assets: Vec<XcmV0MultiAsset>;900 readonly dest: XcmV0MultiLocation;901 readonly effects: Vec<XcmV0Order>;902 } & Struct;903 readonly isExchangeAsset: boolean;904 readonly asExchangeAsset: {905 readonly give: Vec<XcmV0MultiAsset>;906 readonly receive: Vec<XcmV0MultiAsset>;907 } & Struct;908 readonly isInitiateReserveWithdraw: boolean;909 readonly asInitiateReserveWithdraw: {910 readonly assets: Vec<XcmV0MultiAsset>;911 readonly reserve: XcmV0MultiLocation;912 readonly effects: Vec<XcmV0Order>;913 } & Struct;914 readonly isInitiateTeleport: boolean;915 readonly asInitiateTeleport: {916 readonly assets: Vec<XcmV0MultiAsset>;917 readonly dest: XcmV0MultiLocation;918 readonly effects: Vec<XcmV0Order>;919 } & Struct;920 readonly isQueryHolding: boolean;921 readonly asQueryHolding: {922 readonly queryId: Compact<u64>;923 readonly dest: XcmV0MultiLocation;924 readonly assets: Vec<XcmV0MultiAsset>;925 } & Struct;926 readonly isBuyExecution: boolean;927 readonly asBuyExecution: {928 readonly fees: XcmV0MultiAsset;929 readonly weight: u64;930 readonly debt: u64;931 readonly haltOnError: bool;932 readonly xcm: Vec<XcmV0Xcm>;933 } & Struct;934 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';935 }936937 /** @name XcmV0Response (108) */938 export interface XcmV0Response extends Enum {939 readonly isAssets: boolean;940 readonly asAssets: Vec<XcmV0MultiAsset>;941 readonly type: 'Assets';942 }943944 /** @name XcmV0OriginKind (109) */945 export interface XcmV0OriginKind extends Enum {946 readonly isNative: boolean;947 readonly isSovereignAccount: boolean;948 readonly isSuperuser: boolean;949 readonly isXcm: boolean;950 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';951 }952953 /** @name XcmDoubleEncoded (110) */954 export interface XcmDoubleEncoded extends Struct {955 readonly encoded: Bytes;956 }957958 /** @name XcmV1Xcm (111) */959 export interface XcmV1Xcm extends Enum {960 readonly isWithdrawAsset: boolean;961 readonly asWithdrawAsset: {962 readonly assets: XcmV1MultiassetMultiAssets;963 readonly effects: Vec<XcmV1Order>;964 } & Struct;965 readonly isReserveAssetDeposited: boolean;966 readonly asReserveAssetDeposited: {967 readonly assets: XcmV1MultiassetMultiAssets;968 readonly effects: Vec<XcmV1Order>;969 } & Struct;970 readonly isReceiveTeleportedAsset: boolean;971 readonly asReceiveTeleportedAsset: {972 readonly assets: XcmV1MultiassetMultiAssets;973 readonly effects: Vec<XcmV1Order>;974 } & Struct;975 readonly isQueryResponse: boolean;976 readonly asQueryResponse: {977 readonly queryId: Compact<u64>;978 readonly response: XcmV1Response;979 } & Struct;980 readonly isTransferAsset: boolean;981 readonly asTransferAsset: {982 readonly assets: XcmV1MultiassetMultiAssets;983 readonly beneficiary: XcmV1MultiLocation;984 } & Struct;985 readonly isTransferReserveAsset: boolean;986 readonly asTransferReserveAsset: {987 readonly assets: XcmV1MultiassetMultiAssets;988 readonly dest: XcmV1MultiLocation;989 readonly effects: Vec<XcmV1Order>;990 } & Struct;991 readonly isTransact: boolean;992 readonly asTransact: {993 readonly originType: XcmV0OriginKind;994 readonly requireWeightAtMost: u64;995 readonly call: XcmDoubleEncoded;996 } & Struct;997 readonly isHrmpNewChannelOpenRequest: boolean;998 readonly asHrmpNewChannelOpenRequest: {999 readonly sender: Compact<u32>;1000 readonly maxMessageSize: Compact<u32>;1001 readonly maxCapacity: Compact<u32>;1002 } & Struct;1003 readonly isHrmpChannelAccepted: boolean;1004 readonly asHrmpChannelAccepted: {1005 readonly recipient: Compact<u32>;1006 } & Struct;1007 readonly isHrmpChannelClosing: boolean;1008 readonly asHrmpChannelClosing: {1009 readonly initiator: Compact<u32>;1010 readonly sender: Compact<u32>;1011 readonly recipient: Compact<u32>;1012 } & Struct;1013 readonly isRelayedFrom: boolean;1014 readonly asRelayedFrom: {1015 readonly who: XcmV1MultilocationJunctions;1016 readonly message: XcmV1Xcm;1017 } & Struct;1018 readonly isSubscribeVersion: boolean;1019 readonly asSubscribeVersion: {1020 readonly queryId: Compact<u64>;1021 readonly maxResponseWeight: Compact<u64>;1022 } & Struct;1023 readonly isUnsubscribeVersion: boolean;1024 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1025 }10261027 /** @name XcmV1MultiassetMultiAssets (112) */1028 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10291030 /** @name XcmV1MultiAsset (114) */1031 export interface XcmV1MultiAsset extends Struct {1032 readonly id: XcmV1MultiassetAssetId;1033 readonly fun: XcmV1MultiassetFungibility;1034 }10351036 /** @name XcmV1MultiassetAssetId (115) */1037 export interface XcmV1MultiassetAssetId extends Enum {1038 readonly isConcrete: boolean;1039 readonly asConcrete: XcmV1MultiLocation;1040 readonly isAbstract: boolean;1041 readonly asAbstract: Bytes;1042 readonly type: 'Concrete' | 'Abstract';1043 }10441045 /** @name XcmV1MultiassetFungibility (116) */1046 export interface XcmV1MultiassetFungibility extends Enum {1047 readonly isFungible: boolean;1048 readonly asFungible: Compact<u128>;1049 readonly isNonFungible: boolean;1050 readonly asNonFungible: XcmV1MultiassetAssetInstance;1051 readonly type: 'Fungible' | 'NonFungible';1052 }10531054 /** @name XcmV1Order (118) */1055 export interface XcmV1Order extends Enum {1056 readonly isNoop: boolean;1057 readonly isDepositAsset: boolean;1058 readonly asDepositAsset: {1059 readonly assets: XcmV1MultiassetMultiAssetFilter;1060 readonly maxAssets: u32;1061 readonly beneficiary: XcmV1MultiLocation;1062 } & Struct;1063 readonly isDepositReserveAsset: boolean;1064 readonly asDepositReserveAsset: {1065 readonly assets: XcmV1MultiassetMultiAssetFilter;1066 readonly maxAssets: u32;1067 readonly dest: XcmV1MultiLocation;1068 readonly effects: Vec<XcmV1Order>;1069 } & Struct;1070 readonly isExchangeAsset: boolean;1071 readonly asExchangeAsset: {1072 readonly give: XcmV1MultiassetMultiAssetFilter;1073 readonly receive: XcmV1MultiassetMultiAssets;1074 } & Struct;1075 readonly isInitiateReserveWithdraw: boolean;1076 readonly asInitiateReserveWithdraw: {1077 readonly assets: XcmV1MultiassetMultiAssetFilter;1078 readonly reserve: XcmV1MultiLocation;1079 readonly effects: Vec<XcmV1Order>;1080 } & Struct;1081 readonly isInitiateTeleport: boolean;1082 readonly asInitiateTeleport: {1083 readonly assets: XcmV1MultiassetMultiAssetFilter;1084 readonly dest: XcmV1MultiLocation;1085 readonly effects: Vec<XcmV1Order>;1086 } & Struct;1087 readonly isQueryHolding: boolean;1088 readonly asQueryHolding: {1089 readonly queryId: Compact<u64>;1090 readonly dest: XcmV1MultiLocation;1091 readonly assets: XcmV1MultiassetMultiAssetFilter;1092 } & Struct;1093 readonly isBuyExecution: boolean;1094 readonly asBuyExecution: {1095 readonly fees: XcmV1MultiAsset;1096 readonly weight: u64;1097 readonly debt: u64;1098 readonly haltOnError: bool;1099 readonly instructions: Vec<XcmV1Xcm>;1100 } & Struct;1101 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1102 }11031104 /** @name XcmV1MultiassetMultiAssetFilter (119) */1105 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1106 readonly isDefinite: boolean;1107 readonly asDefinite: XcmV1MultiassetMultiAssets;1108 readonly isWild: boolean;1109 readonly asWild: XcmV1MultiassetWildMultiAsset;1110 readonly type: 'Definite' | 'Wild';1111 }11121113 /** @name XcmV1MultiassetWildMultiAsset (120) */1114 export interface XcmV1MultiassetWildMultiAsset extends Enum {1115 readonly isAll: boolean;1116 readonly isAllOf: boolean;1117 readonly asAllOf: {1118 readonly id: XcmV1MultiassetAssetId;1119 readonly fun: XcmV1MultiassetWildFungibility;1120 } & Struct;1121 readonly type: 'All' | 'AllOf';1122 }11231124 /** @name XcmV1MultiassetWildFungibility (121) */1125 export interface XcmV1MultiassetWildFungibility extends Enum {1126 readonly isFungible: boolean;1127 readonly isNonFungible: boolean;1128 readonly type: 'Fungible' | 'NonFungible';1129 }11301131 /** @name XcmV1Response (123) */1132 export interface XcmV1Response extends Enum {1133 readonly isAssets: boolean;1134 readonly asAssets: XcmV1MultiassetMultiAssets;1135 readonly isVersion: boolean;1136 readonly asVersion: u32;1137 readonly type: 'Assets' | 'Version';1138 }11391140 /** @name XcmV2Xcm (124) */1141 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11421143 /** @name XcmV2Instruction (126) */1144 export interface XcmV2Instruction extends Enum {1145 readonly isWithdrawAsset: boolean;1146 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1147 readonly isReserveAssetDeposited: boolean;1148 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1149 readonly isReceiveTeleportedAsset: boolean;1150 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1151 readonly isQueryResponse: boolean;1152 readonly asQueryResponse: {1153 readonly queryId: Compact<u64>;1154 readonly response: XcmV2Response;1155 readonly maxWeight: Compact<u64>;1156 } & Struct;1157 readonly isTransferAsset: boolean;1158 readonly asTransferAsset: {1159 readonly assets: XcmV1MultiassetMultiAssets;1160 readonly beneficiary: XcmV1MultiLocation;1161 } & Struct;1162 readonly isTransferReserveAsset: boolean;1163 readonly asTransferReserveAsset: {1164 readonly assets: XcmV1MultiassetMultiAssets;1165 readonly dest: XcmV1MultiLocation;1166 readonly xcm: XcmV2Xcm;1167 } & Struct;1168 readonly isTransact: boolean;1169 readonly asTransact: {1170 readonly originType: XcmV0OriginKind;1171 readonly requireWeightAtMost: Compact<u64>;1172 readonly call: XcmDoubleEncoded;1173 } & Struct;1174 readonly isHrmpNewChannelOpenRequest: boolean;1175 readonly asHrmpNewChannelOpenRequest: {1176 readonly sender: Compact<u32>;1177 readonly maxMessageSize: Compact<u32>;1178 readonly maxCapacity: Compact<u32>;1179 } & Struct;1180 readonly isHrmpChannelAccepted: boolean;1181 readonly asHrmpChannelAccepted: {1182 readonly recipient: Compact<u32>;1183 } & Struct;1184 readonly isHrmpChannelClosing: boolean;1185 readonly asHrmpChannelClosing: {1186 readonly initiator: Compact<u32>;1187 readonly sender: Compact<u32>;1188 readonly recipient: Compact<u32>;1189 } & Struct;1190 readonly isClearOrigin: boolean;1191 readonly isDescendOrigin: boolean;1192 readonly asDescendOrigin: XcmV1MultilocationJunctions;1193 readonly isReportError: boolean;1194 readonly asReportError: {1195 readonly queryId: Compact<u64>;1196 readonly dest: XcmV1MultiLocation;1197 readonly maxResponseWeight: Compact<u64>;1198 } & Struct;1199 readonly isDepositAsset: boolean;1200 readonly asDepositAsset: {1201 readonly assets: XcmV1MultiassetMultiAssetFilter;1202 readonly maxAssets: Compact<u32>;1203 readonly beneficiary: XcmV1MultiLocation;1204 } & Struct;1205 readonly isDepositReserveAsset: boolean;1206 readonly asDepositReserveAsset: {1207 readonly assets: XcmV1MultiassetMultiAssetFilter;1208 readonly maxAssets: Compact<u32>;1209 readonly dest: XcmV1MultiLocation;1210 readonly xcm: XcmV2Xcm;1211 } & Struct;1212 readonly isExchangeAsset: boolean;1213 readonly asExchangeAsset: {1214 readonly give: XcmV1MultiassetMultiAssetFilter;1215 readonly receive: XcmV1MultiassetMultiAssets;1216 } & Struct;1217 readonly isInitiateReserveWithdraw: boolean;1218 readonly asInitiateReserveWithdraw: {1219 readonly assets: XcmV1MultiassetMultiAssetFilter;1220 readonly reserve: XcmV1MultiLocation;1221 readonly xcm: XcmV2Xcm;1222 } & Struct;1223 readonly isInitiateTeleport: boolean;1224 readonly asInitiateTeleport: {1225 readonly assets: XcmV1MultiassetMultiAssetFilter;1226 readonly dest: XcmV1MultiLocation;1227 readonly xcm: XcmV2Xcm;1228 } & Struct;1229 readonly isQueryHolding: boolean;1230 readonly asQueryHolding: {1231 readonly queryId: Compact<u64>;1232 readonly dest: XcmV1MultiLocation;1233 readonly assets: XcmV1MultiassetMultiAssetFilter;1234 readonly maxResponseWeight: Compact<u64>;1235 } & Struct;1236 readonly isBuyExecution: boolean;1237 readonly asBuyExecution: {1238 readonly fees: XcmV1MultiAsset;1239 readonly weightLimit: XcmV2WeightLimit;1240 } & Struct;1241 readonly isRefundSurplus: boolean;1242 readonly isSetErrorHandler: boolean;1243 readonly asSetErrorHandler: XcmV2Xcm;1244 readonly isSetAppendix: boolean;1245 readonly asSetAppendix: XcmV2Xcm;1246 readonly isClearError: boolean;1247 readonly isClaimAsset: boolean;1248 readonly asClaimAsset: {1249 readonly assets: XcmV1MultiassetMultiAssets;1250 readonly ticket: XcmV1MultiLocation;1251 } & Struct;1252 readonly isTrap: boolean;1253 readonly asTrap: Compact<u64>;1254 readonly isSubscribeVersion: boolean;1255 readonly asSubscribeVersion: {1256 readonly queryId: Compact<u64>;1257 readonly maxResponseWeight: Compact<u64>;1258 } & Struct;1259 readonly isUnsubscribeVersion: boolean;1260 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';1261 }12621263 /** @name XcmV2Response (127) */1264 export interface XcmV2Response extends Enum {1265 readonly isNull: boolean;1266 readonly isAssets: boolean;1267 readonly asAssets: XcmV1MultiassetMultiAssets;1268 readonly isExecutionResult: boolean;1269 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1270 readonly isVersion: boolean;1271 readonly asVersion: u32;1272 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1273 }12741275 /** @name XcmV2TraitsError (130) */1276 export interface XcmV2TraitsError extends Enum {1277 readonly isOverflow: boolean;1278 readonly isUnimplemented: boolean;1279 readonly isUntrustedReserveLocation: boolean;1280 readonly isUntrustedTeleportLocation: boolean;1281 readonly isMultiLocationFull: boolean;1282 readonly isMultiLocationNotInvertible: boolean;1283 readonly isBadOrigin: boolean;1284 readonly isInvalidLocation: boolean;1285 readonly isAssetNotFound: boolean;1286 readonly isFailedToTransactAsset: boolean;1287 readonly isNotWithdrawable: boolean;1288 readonly isLocationCannotHold: boolean;1289 readonly isExceedsMaxMessageSize: boolean;1290 readonly isDestinationUnsupported: boolean;1291 readonly isTransport: boolean;1292 readonly isUnroutable: boolean;1293 readonly isUnknownClaim: boolean;1294 readonly isFailedToDecode: boolean;1295 readonly isMaxWeightInvalid: boolean;1296 readonly isNotHoldingFees: boolean;1297 readonly isTooExpensive: boolean;1298 readonly isTrap: boolean;1299 readonly asTrap: u64;1300 readonly isUnhandledXcmVersion: boolean;1301 readonly isWeightLimitReached: boolean;1302 readonly asWeightLimitReached: u64;1303 readonly isBarrier: boolean;1304 readonly isWeightNotComputable: boolean;1305 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';1306 }13071308 /** @name XcmV2WeightLimit (131) */1309 export interface XcmV2WeightLimit extends Enum {1310 readonly isUnlimited: boolean;1311 readonly isLimited: boolean;1312 readonly asLimited: Compact<u64>;1313 readonly type: 'Unlimited' | 'Limited';1314 }13151316 /** @name XcmVersionedMultiAssets (132) */1317 export interface XcmVersionedMultiAssets extends Enum {1318 readonly isV0: boolean;1319 readonly asV0: Vec<XcmV0MultiAsset>;1320 readonly isV1: boolean;1321 readonly asV1: XcmV1MultiassetMultiAssets;1322 readonly type: 'V0' | 'V1';1323 }13241325 /** @name CumulusPalletXcmCall (147) */1326 export type CumulusPalletXcmCall = Null;13271328 /** @name CumulusPalletDmpQueueCall (148) */1329 export interface CumulusPalletDmpQueueCall extends Enum {1330 readonly isServiceOverweight: boolean;1331 readonly asServiceOverweight: {1332 readonly index: u64;1333 readonly weightLimit: u64;1334 } & Struct;1335 readonly type: 'ServiceOverweight';1336 }13371338 /** @name PalletInflationCall (149) */1339 export interface PalletInflationCall extends Enum {1340 readonly isStartInflation: boolean;1341 readonly asStartInflation: {1342 readonly inflationStartRelayBlock: u32;1343 } & Struct;1344 readonly type: 'StartInflation';1345 }13461347 /** @name PalletUniqueCall (150) */1348 export interface PalletUniqueCall extends Enum {1349 readonly isCreateCollection: boolean;1350 readonly asCreateCollection: {1351 readonly collectionName: Vec<u16>;1352 readonly collectionDescription: Vec<u16>;1353 readonly tokenPrefix: Bytes;1354 readonly mode: UpDataStructsCollectionMode;1355 } & Struct;1356 readonly isCreateCollectionEx: boolean;1357 readonly asCreateCollectionEx: {1358 readonly data: UpDataStructsCreateCollectionData;1359 } & Struct;1360 readonly isDestroyCollection: boolean;1361 readonly asDestroyCollection: {1362 readonly collectionId: u32;1363 } & Struct;1364 readonly isAddToAllowList: boolean;1365 readonly asAddToAllowList: {1366 readonly collectionId: u32;1367 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1368 } & Struct;1369 readonly isRemoveFromAllowList: boolean;1370 readonly asRemoveFromAllowList: {1371 readonly collectionId: u32;1372 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1373 } & Struct;1374 readonly isChangeCollectionOwner: boolean;1375 readonly asChangeCollectionOwner: {1376 readonly collectionId: u32;1377 readonly newOwner: AccountId32;1378 } & Struct;1379 readonly isAddCollectionAdmin: boolean;1380 readonly asAddCollectionAdmin: {1381 readonly collectionId: u32;1382 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1383 } & Struct;1384 readonly isRemoveCollectionAdmin: boolean;1385 readonly asRemoveCollectionAdmin: {1386 readonly collectionId: u32;1387 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1388 } & Struct;1389 readonly isSetCollectionSponsor: boolean;1390 readonly asSetCollectionSponsor: {1391 readonly collectionId: u32;1392 readonly newSponsor: AccountId32;1393 } & Struct;1394 readonly isConfirmSponsorship: boolean;1395 readonly asConfirmSponsorship: {1396 readonly collectionId: u32;1397 } & Struct;1398 readonly isRemoveCollectionSponsor: boolean;1399 readonly asRemoveCollectionSponsor: {1400 readonly collectionId: u32;1401 } & Struct;1402 readonly isCreateItem: boolean;1403 readonly asCreateItem: {1404 readonly collectionId: u32;1405 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1406 readonly data: UpDataStructsCreateItemData;1407 } & Struct;1408 readonly isCreateMultipleItems: boolean;1409 readonly asCreateMultipleItems: {1410 readonly collectionId: u32;1411 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1412 readonly itemsData: Vec<UpDataStructsCreateItemData>;1413 } & Struct;1414 readonly isSetCollectionProperties: boolean;1415 readonly asSetCollectionProperties: {1416 readonly collectionId: u32;1417 readonly properties: Vec<UpDataStructsProperty>;1418 } & Struct;1419 readonly isDeleteCollectionProperties: boolean;1420 readonly asDeleteCollectionProperties: {1421 readonly collectionId: u32;1422 readonly propertyKeys: Vec<Bytes>;1423 } & Struct;1424 readonly isSetTokenProperties: boolean;1425 readonly asSetTokenProperties: {1426 readonly collectionId: u32;1427 readonly tokenId: u32;1428 readonly properties: Vec<UpDataStructsProperty>;1429 } & Struct;1430 readonly isDeleteTokenProperties: boolean;1431 readonly asDeleteTokenProperties: {1432 readonly collectionId: u32;1433 readonly tokenId: u32;1434 readonly propertyKeys: Vec<Bytes>;1435 } & Struct;1436 readonly isSetPropertyPermissions: boolean;1437 readonly asSetPropertyPermissions: {1438 readonly collectionId: u32;1439 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1440 } & Struct;1441 readonly isCreateMultipleItemsEx: boolean;1442 readonly asCreateMultipleItemsEx: {1443 readonly collectionId: u32;1444 readonly data: UpDataStructsCreateItemExData;1445 } & Struct;1446 readonly isSetTransfersEnabledFlag: boolean;1447 readonly asSetTransfersEnabledFlag: {1448 readonly collectionId: u32;1449 readonly value: bool;1450 } & Struct;1451 readonly isBurnItem: boolean;1452 readonly asBurnItem: {1453 readonly collectionId: u32;1454 readonly itemId: u32;1455 readonly value: u128;1456 } & Struct;1457 readonly isBurnFrom: boolean;1458 readonly asBurnFrom: {1459 readonly collectionId: u32;1460 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1461 readonly itemId: u32;1462 readonly value: u128;1463 } & Struct;1464 readonly isTransfer: boolean;1465 readonly asTransfer: {1466 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1467 readonly collectionId: u32;1468 readonly itemId: u32;1469 readonly value: u128;1470 } & Struct;1471 readonly isApprove: boolean;1472 readonly asApprove: {1473 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1474 readonly collectionId: u32;1475 readonly itemId: u32;1476 readonly amount: u128;1477 } & Struct;1478 readonly isTransferFrom: boolean;1479 readonly asTransferFrom: {1480 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1481 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1482 readonly collectionId: u32;1483 readonly itemId: u32;1484 readonly value: u128;1485 } & Struct;1486 readonly isSetCollectionLimits: boolean;1487 readonly asSetCollectionLimits: {1488 readonly collectionId: u32;1489 readonly newLimit: UpDataStructsCollectionLimits;1490 } & Struct;1491 readonly isSetCollectionPermissions: boolean;1492 readonly asSetCollectionPermissions: {1493 readonly collectionId: u32;1494 readonly newLimit: UpDataStructsCollectionPermissions;1495 } & Struct;1496 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions';1497 }14981499 /** @name UpDataStructsCollectionMode (156) */1500 export interface UpDataStructsCollectionMode extends Enum {1501 readonly isNft: boolean;1502 readonly isFungible: boolean;1503 readonly asFungible: u8;1504 readonly isReFungible: boolean;1505 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1506 }15071508 /** @name UpDataStructsCreateCollectionData (157) */1509 export interface UpDataStructsCreateCollectionData extends Struct {1510 readonly mode: UpDataStructsCollectionMode;1511 readonly access: Option<UpDataStructsAccessMode>;1512 readonly name: Vec<u16>;1513 readonly description: Vec<u16>;1514 readonly tokenPrefix: Bytes;1515 readonly pendingSponsor: Option<AccountId32>;1516 readonly limits: Option<UpDataStructsCollectionLimits>;1517 readonly permissions: Option<UpDataStructsCollectionPermissions>;1518 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1519 readonly properties: Vec<UpDataStructsProperty>;1520 }15211522 /** @name UpDataStructsAccessMode (159) */1523 export interface UpDataStructsAccessMode extends Enum {1524 readonly isNormal: boolean;1525 readonly isAllowList: boolean;1526 readonly type: 'Normal' | 'AllowList';1527 }15281529 /** @name UpDataStructsCollectionLimits (162) */1530 export interface UpDataStructsCollectionLimits extends Struct {1531 readonly accountTokenOwnershipLimit: Option<u32>;1532 readonly sponsoredDataSize: Option<u32>;1533 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1534 readonly tokenLimit: Option<u32>;1535 readonly sponsorTransferTimeout: Option<u32>;1536 readonly sponsorApproveTimeout: Option<u32>;1537 readonly ownerCanTransfer: Option<bool>;1538 readonly ownerCanDestroy: Option<bool>;1539 readonly transfersEnabled: Option<bool>;1540 }15411542 /** @name UpDataStructsSponsoringRateLimit (164) */1543 export interface UpDataStructsSponsoringRateLimit extends Enum {1544 readonly isSponsoringDisabled: boolean;1545 readonly isBlocks: boolean;1546 readonly asBlocks: u32;1547 readonly type: 'SponsoringDisabled' | 'Blocks';1548 }15491550 /** @name UpDataStructsCollectionPermissions (167) */1551 export interface UpDataStructsCollectionPermissions extends Struct {1552 readonly access: Option<UpDataStructsAccessMode>;1553 readonly mintMode: Option<bool>;1554 readonly nesting: Option<UpDataStructsNestingRule>;1555 }15561557 /** @name UpDataStructsNestingRule (169) */1558 export interface UpDataStructsNestingRule extends Enum {1559 readonly isDisabled: boolean;1560 readonly isOwner: boolean;1561 readonly isOwnerRestricted: boolean;1562 readonly asOwnerRestricted: BTreeSet<u32>;1563 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1564 }15651566 /** @name UpDataStructsPropertyKeyPermission (175) */1567 export interface UpDataStructsPropertyKeyPermission extends Struct {1568 readonly key: Bytes;1569 readonly permission: UpDataStructsPropertyPermission;1570 }15711572 /** @name UpDataStructsPropertyPermission (177) */1573 export interface UpDataStructsPropertyPermission extends Struct {1574 readonly mutable: bool;1575 readonly collectionAdmin: bool;1576 readonly tokenOwner: bool;1577 }15781579 /** @name UpDataStructsProperty (180) */1580 export interface UpDataStructsProperty extends Struct {1581 readonly key: Bytes;1582 readonly value: Bytes;1583 }15841585 /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */1586 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1587 readonly isSubstrate: boolean;1588 readonly asSubstrate: AccountId32;1589 readonly isEthereum: boolean;1590 readonly asEthereum: H160;1591 readonly type: 'Substrate' | 'Ethereum';1592 }15931594 /** @name UpDataStructsCreateItemData (185) */1595 export interface UpDataStructsCreateItemData extends Enum {1596 readonly isNft: boolean;1597 readonly asNft: UpDataStructsCreateNftData;1598 readonly isFungible: boolean;1599 readonly asFungible: UpDataStructsCreateFungibleData;1600 readonly isReFungible: boolean;1601 readonly asReFungible: UpDataStructsCreateReFungibleData;1602 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1603 }16041605 /** @name UpDataStructsCreateNftData (186) */1606 export interface UpDataStructsCreateNftData extends Struct {1607 readonly properties: Vec<UpDataStructsProperty>;1608 }16091610 /** @name UpDataStructsCreateFungibleData (187) */1611 export interface UpDataStructsCreateFungibleData extends Struct {1612 readonly value: u128;1613 }16141615 /** @name UpDataStructsCreateReFungibleData (188) */1616 export interface UpDataStructsCreateReFungibleData extends Struct {1617 readonly constData: Bytes;1618 readonly pieces: u128;1619 }16201621 /** @name UpDataStructsCreateItemExData (193) */1622 export interface UpDataStructsCreateItemExData extends Enum {1623 readonly isNft: boolean;1624 readonly asNft: Vec<UpDataStructsCreateNftExData>;1625 readonly isFungible: boolean;1626 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1627 readonly isRefungibleMultipleItems: boolean;1628 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1629 readonly isRefungibleMultipleOwners: boolean;1630 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1631 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1632 }16331634 /** @name UpDataStructsCreateNftExData (195) */1635 export interface UpDataStructsCreateNftExData extends Struct {1636 readonly properties: Vec<UpDataStructsProperty>;1637 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1638 }16391640 /** @name UpDataStructsCreateRefungibleExData (202) */1641 export interface UpDataStructsCreateRefungibleExData extends Struct {1642 readonly constData: Bytes;1643 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1644 }16451646 /** @name PalletTemplateTransactionPaymentCall (204) */1647 export type PalletTemplateTransactionPaymentCall = Null;16481649 /** @name PalletStructureCall (205) */1650 export type PalletStructureCall = Null;16511652 /** @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 }17141715 /** @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 }17221723 /** @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 }17321733 /** @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 }17421743 /** @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 }17581759 /** @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 }17671768 /** @name UpDataStructsRmrkFixedPart (222) */1769 export interface UpDataStructsRmrkFixedPart extends Struct {1770 readonly id: u32;1771 readonly z: u32;1772 readonly src: Bytes;1773 }17741775 /** @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 }17821783 /** @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 }17911792 /** @name UpDataStructsRmrkTheme (226) */1793 export interface UpDataStructsRmrkTheme extends Struct {1794 readonly name: Bytes;1795 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;1796 readonly inherit: bool;1797 }17981799 /** @name UpDataStructsRmrkThemeProperty (228) */1800 export interface UpDataStructsRmrkThemeProperty extends Struct {1801 readonly key: Bytes;1802 readonly value: Bytes;1803 }18041805 /** @name PalletEvmCall (229) */1806 export interface PalletEvmCall extends Enum {1807 readonly isWithdraw: boolean;1808 readonly asWithdraw: {1809 readonly address: H160;1810 readonly value: u128;1811 } & Struct;1812 readonly isCall: boolean;1813 readonly asCall: {1814 readonly source: H160;1815 readonly target: H160;1816 readonly input: Bytes;1817 readonly value: U256;1818 readonly gasLimit: u64;1819 readonly maxFeePerGas: U256;1820 readonly maxPriorityFeePerGas: Option<U256>;1821 readonly nonce: Option<U256>;1822 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1823 } & Struct;1824 readonly isCreate: boolean;1825 readonly asCreate: {1826 readonly source: H160;1827 readonly init: Bytes;1828 readonly value: U256;1829 readonly gasLimit: u64;1830 readonly maxFeePerGas: U256;1831 readonly maxPriorityFeePerGas: Option<U256>;1832 readonly nonce: Option<U256>;1833 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1834 } & Struct;1835 readonly isCreate2: boolean;1836 readonly asCreate2: {1837 readonly source: H160;1838 readonly init: Bytes;1839 readonly salt: H256;1840 readonly value: U256;1841 readonly gasLimit: u64;1842 readonly maxFeePerGas: U256;1843 readonly maxPriorityFeePerGas: Option<U256>;1844 readonly nonce: Option<U256>;1845 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1846 } & Struct;1847 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1848 }18491850 /** @name PalletEthereumCall (235) */1851 export interface PalletEthereumCall extends Enum {1852 readonly isTransact: boolean;1853 readonly asTransact: {1854 readonly transaction: EthereumTransactionTransactionV2;1855 } & Struct;1856 readonly type: 'Transact';1857 }18581859 /** @name EthereumTransactionTransactionV2 (236) */1860 export interface EthereumTransactionTransactionV2 extends Enum {1861 readonly isLegacy: boolean;1862 readonly asLegacy: EthereumTransactionLegacyTransaction;1863 readonly isEip2930: boolean;1864 readonly asEip2930: EthereumTransactionEip2930Transaction;1865 readonly isEip1559: boolean;1866 readonly asEip1559: EthereumTransactionEip1559Transaction;1867 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1868 }18691870 /** @name EthereumTransactionLegacyTransaction (237) */1871 export interface EthereumTransactionLegacyTransaction extends Struct {1872 readonly nonce: U256;1873 readonly gasPrice: U256;1874 readonly gasLimit: U256;1875 readonly action: EthereumTransactionTransactionAction;1876 readonly value: U256;1877 readonly input: Bytes;1878 readonly signature: EthereumTransactionTransactionSignature;1879 }18801881 /** @name EthereumTransactionTransactionAction (238) */1882 export interface EthereumTransactionTransactionAction extends Enum {1883 readonly isCall: boolean;1884 readonly asCall: H160;1885 readonly isCreate: boolean;1886 readonly type: 'Call' | 'Create';1887 }18881889 /** @name EthereumTransactionTransactionSignature (239) */1890 export interface EthereumTransactionTransactionSignature extends Struct {1891 readonly v: u64;1892 readonly r: H256;1893 readonly s: H256;1894 }18951896 /** @name EthereumTransactionEip2930Transaction (241) */1897 export interface EthereumTransactionEip2930Transaction extends Struct {1898 readonly chainId: u64;1899 readonly nonce: U256;1900 readonly gasPrice: U256;1901 readonly gasLimit: U256;1902 readonly action: EthereumTransactionTransactionAction;1903 readonly value: U256;1904 readonly input: Bytes;1905 readonly accessList: Vec<EthereumTransactionAccessListItem>;1906 readonly oddYParity: bool;1907 readonly r: H256;1908 readonly s: H256;1909 }19101911 /** @name EthereumTransactionAccessListItem (243) */1912 export interface EthereumTransactionAccessListItem extends Struct {1913 readonly address: H160;1914 readonly storageKeys: Vec<H256>;1915 }19161917 /** @name EthereumTransactionEip1559Transaction (244) */1918 export interface EthereumTransactionEip1559Transaction extends Struct {1919 readonly chainId: u64;1920 readonly nonce: U256;1921 readonly maxPriorityFeePerGas: U256;1922 readonly maxFeePerGas: U256;1923 readonly gasLimit: U256;1924 readonly action: EthereumTransactionTransactionAction;1925 readonly value: U256;1926 readonly input: Bytes;1927 readonly accessList: Vec<EthereumTransactionAccessListItem>;1928 readonly oddYParity: bool;1929 readonly r: H256;1930 readonly s: H256;1931 }19321933 /** @name PalletEvmMigrationCall (245) */1934 export interface PalletEvmMigrationCall extends Enum {1935 readonly isBegin: boolean;1936 readonly asBegin: {1937 readonly address: H160;1938 } & Struct;1939 readonly isSetData: boolean;1940 readonly asSetData: {1941 readonly address: H160;1942 readonly data: Vec<ITuple<[H256, H256]>>;1943 } & Struct;1944 readonly isFinish: boolean;1945 readonly asFinish: {1946 readonly address: H160;1947 readonly code: Bytes;1948 } & Struct;1949 readonly type: 'Begin' | 'SetData' | 'Finish';1950 }19511952 /** @name PalletSudoEvent (248) */1953 export interface PalletSudoEvent extends Enum {1954 readonly isSudid: boolean;1955 readonly asSudid: {1956 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1957 } & Struct;1958 readonly isKeyChanged: boolean;1959 readonly asKeyChanged: {1960 readonly oldSudoer: Option<AccountId32>;1961 } & Struct;1962 readonly isSudoAsDone: boolean;1963 readonly asSudoAsDone: {1964 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1965 } & Struct;1966 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1967 }19681969 /** @name SpRuntimeDispatchError (250) */1970 export interface SpRuntimeDispatchError extends Enum {1971 readonly isOther: boolean;1972 readonly isCannotLookup: boolean;1973 readonly isBadOrigin: boolean;1974 readonly isModule: boolean;1975 readonly asModule: SpRuntimeModuleError;1976 readonly isConsumerRemaining: boolean;1977 readonly isNoProviders: boolean;1978 readonly isTooManyConsumers: boolean;1979 readonly isToken: boolean;1980 readonly asToken: SpRuntimeTokenError;1981 readonly isArithmetic: boolean;1982 readonly asArithmetic: SpRuntimeArithmeticError;1983 readonly isTransactional: boolean;1984 readonly asTransactional: SpRuntimeTransactionalError;1985 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1986 }19871988 /** @name SpRuntimeModuleError (251) */1989 export interface SpRuntimeModuleError extends Struct {1990 readonly index: u8;1991 readonly error: U8aFixed;1992 }19931994 /** @name SpRuntimeTokenError (252) */1995 export interface SpRuntimeTokenError extends Enum {1996 readonly isNoFunds: boolean;1997 readonly isWouldDie: boolean;1998 readonly isBelowMinimum: boolean;1999 readonly isCannotCreate: boolean;2000 readonly isUnknownAsset: boolean;2001 readonly isFrozen: boolean;2002 readonly isUnsupported: boolean;2003 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2004 }20052006 /** @name SpRuntimeArithmeticError (253) */2007 export interface SpRuntimeArithmeticError extends Enum {2008 readonly isUnderflow: boolean;2009 readonly isOverflow: boolean;2010 readonly isDivisionByZero: boolean;2011 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2012 }20132014 /** @name SpRuntimeTransactionalError (254) */2015 export interface SpRuntimeTransactionalError extends Enum {2016 readonly isLimitReached: boolean;2017 readonly isNoLayer: boolean;2018 readonly type: 'LimitReached' | 'NoLayer';2019 }20202021 /** @name PalletSudoError (255) */2022 export interface PalletSudoError extends Enum {2023 readonly isRequireSudo: boolean;2024 readonly type: 'RequireSudo';2025 }20262027 /** @name FrameSystemAccountInfo (256) */2028 export interface FrameSystemAccountInfo extends Struct {2029 readonly nonce: u32;2030 readonly consumers: u32;2031 readonly providers: u32;2032 readonly sufficients: u32;2033 readonly data: PalletBalancesAccountData;2034 }20352036 /** @name FrameSupportWeightsPerDispatchClassU64 (257) */2037 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2038 readonly normal: u64;2039 readonly operational: u64;2040 readonly mandatory: u64;2041 }20422043 /** @name SpRuntimeDigest (258) */2044 export interface SpRuntimeDigest extends Struct {2045 readonly logs: Vec<SpRuntimeDigestDigestItem>;2046 }20472048 /** @name SpRuntimeDigestDigestItem (260) */2049 export interface SpRuntimeDigestDigestItem extends Enum {2050 readonly isOther: boolean;2051 readonly asOther: Bytes;2052 readonly isConsensus: boolean;2053 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2054 readonly isSeal: boolean;2055 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2056 readonly isPreRuntime: boolean;2057 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2058 readonly isRuntimeEnvironmentUpdated: boolean;2059 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2060 }20612062 /** @name FrameSystemEventRecord (262) */2063 export interface FrameSystemEventRecord extends Struct {2064 readonly phase: FrameSystemPhase;2065 readonly event: Event;2066 readonly topics: Vec<H256>;2067 }20682069 /** @name FrameSystemEvent (264) */2070 export interface FrameSystemEvent extends Enum {2071 readonly isExtrinsicSuccess: boolean;2072 readonly asExtrinsicSuccess: {2073 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2074 } & Struct;2075 readonly isExtrinsicFailed: boolean;2076 readonly asExtrinsicFailed: {2077 readonly dispatchError: SpRuntimeDispatchError;2078 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2079 } & Struct;2080 readonly isCodeUpdated: boolean;2081 readonly isNewAccount: boolean;2082 readonly asNewAccount: {2083 readonly account: AccountId32;2084 } & Struct;2085 readonly isKilledAccount: boolean;2086 readonly asKilledAccount: {2087 readonly account: AccountId32;2088 } & Struct;2089 readonly isRemarked: boolean;2090 readonly asRemarked: {2091 readonly sender: AccountId32;2092 readonly hash_: H256;2093 } & Struct;2094 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2095 }20962097 /** @name FrameSupportWeightsDispatchInfo (265) */2098 export interface FrameSupportWeightsDispatchInfo extends Struct {2099 readonly weight: u64;2100 readonly class: FrameSupportWeightsDispatchClass;2101 readonly paysFee: FrameSupportWeightsPays;2102 }21032104 /** @name FrameSupportWeightsDispatchClass (266) */2105 export interface FrameSupportWeightsDispatchClass extends Enum {2106 readonly isNormal: boolean;2107 readonly isOperational: boolean;2108 readonly isMandatory: boolean;2109 readonly type: 'Normal' | 'Operational' | 'Mandatory';2110 }21112112 /** @name FrameSupportWeightsPays (267) */2113 export interface FrameSupportWeightsPays extends Enum {2114 readonly isYes: boolean;2115 readonly isNo: boolean;2116 readonly type: 'Yes' | 'No';2117 }21182119 /** @name OrmlVestingModuleEvent (268) */2120 export interface OrmlVestingModuleEvent extends Enum {2121 readonly isVestingScheduleAdded: boolean;2122 readonly asVestingScheduleAdded: {2123 readonly from: AccountId32;2124 readonly to: AccountId32;2125 readonly vestingSchedule: OrmlVestingVestingSchedule;2126 } & Struct;2127 readonly isClaimed: boolean;2128 readonly asClaimed: {2129 readonly who: AccountId32;2130 readonly amount: u128;2131 } & Struct;2132 readonly isVestingSchedulesUpdated: boolean;2133 readonly asVestingSchedulesUpdated: {2134 readonly who: AccountId32;2135 } & Struct;2136 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2137 }21382139 /** @name CumulusPalletXcmpQueueEvent (269) */2140 export interface CumulusPalletXcmpQueueEvent extends Enum {2141 readonly isSuccess: boolean;2142 readonly asSuccess: Option<H256>;2143 readonly isFail: boolean;2144 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;2145 readonly isBadVersion: boolean;2146 readonly asBadVersion: Option<H256>;2147 readonly isBadFormat: boolean;2148 readonly asBadFormat: Option<H256>;2149 readonly isUpwardMessageSent: boolean;2150 readonly asUpwardMessageSent: Option<H256>;2151 readonly isXcmpMessageSent: boolean;2152 readonly asXcmpMessageSent: Option<H256>;2153 readonly isOverweightEnqueued: boolean;2154 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;2155 readonly isOverweightServiced: boolean;2156 readonly asOverweightServiced: ITuple<[u64, u64]>;2157 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2158 }21592160 /** @name PalletXcmEvent (270) */2161 export interface PalletXcmEvent extends Enum {2162 readonly isAttempted: boolean;2163 readonly asAttempted: XcmV2TraitsOutcome;2164 readonly isSent: boolean;2165 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2166 readonly isUnexpectedResponse: boolean;2167 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2168 readonly isResponseReady: boolean;2169 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2170 readonly isNotified: boolean;2171 readonly asNotified: ITuple<[u64, u8, u8]>;2172 readonly isNotifyOverweight: boolean;2173 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2174 readonly isNotifyDispatchError: boolean;2175 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2176 readonly isNotifyDecodeFailed: boolean;2177 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2178 readonly isInvalidResponder: boolean;2179 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2180 readonly isInvalidResponderVersion: boolean;2181 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2182 readonly isResponseTaken: boolean;2183 readonly asResponseTaken: u64;2184 readonly isAssetsTrapped: boolean;2185 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2186 readonly isVersionChangeNotified: boolean;2187 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2188 readonly isSupportedVersionChanged: boolean;2189 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2190 readonly isNotifyTargetSendFail: boolean;2191 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2192 readonly isNotifyTargetMigrationFail: boolean;2193 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2194 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2195 }21962197 /** @name XcmV2TraitsOutcome (271) */2198 export interface XcmV2TraitsOutcome extends Enum {2199 readonly isComplete: boolean;2200 readonly asComplete: u64;2201 readonly isIncomplete: boolean;2202 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2203 readonly isError: boolean;2204 readonly asError: XcmV2TraitsError;2205 readonly type: 'Complete' | 'Incomplete' | 'Error';2206 }22072208 /** @name CumulusPalletXcmEvent (273) */2209 export interface CumulusPalletXcmEvent extends Enum {2210 readonly isInvalidFormat: boolean;2211 readonly asInvalidFormat: U8aFixed;2212 readonly isUnsupportedVersion: boolean;2213 readonly asUnsupportedVersion: U8aFixed;2214 readonly isExecutedDownward: boolean;2215 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2216 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2217 }22182219 /** @name CumulusPalletDmpQueueEvent (274) */2220 export interface CumulusPalletDmpQueueEvent extends Enum {2221 readonly isInvalidFormat: boolean;2222 readonly asInvalidFormat: U8aFixed;2223 readonly isUnsupportedVersion: boolean;2224 readonly asUnsupportedVersion: U8aFixed;2225 readonly isExecutedDownward: boolean;2226 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2227 readonly isWeightExhausted: boolean;2228 readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;2229 readonly isOverweightEnqueued: boolean;2230 readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;2231 readonly isOverweightServiced: boolean;2232 readonly asOverweightServiced: ITuple<[u64, u64]>;2233 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2234 }22352236 /** @name PalletUniqueRawEvent (275) */2237 export interface PalletUniqueRawEvent extends Enum {2238 readonly isCollectionSponsorRemoved: boolean;2239 readonly asCollectionSponsorRemoved: u32;2240 readonly isCollectionAdminAdded: boolean;2241 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2242 readonly isCollectionOwnedChanged: boolean;2243 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2244 readonly isCollectionSponsorSet: boolean;2245 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2246 readonly isSponsorshipConfirmed: boolean;2247 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2248 readonly isCollectionAdminRemoved: boolean;2249 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2250 readonly isAllowListAddressRemoved: boolean;2251 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2252 readonly isAllowListAddressAdded: boolean;2253 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2254 readonly isCollectionLimitSet: boolean;2255 readonly asCollectionLimitSet: u32;2256 readonly isCollectionPermissionSet: boolean;2257 readonly asCollectionPermissionSet: u32;2258 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2259 }22602261 /** @name PalletCommonEvent (276) */2262 export interface PalletCommonEvent extends Enum {2263 readonly isCollectionCreated: boolean;2264 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2265 readonly isCollectionDestroyed: boolean;2266 readonly asCollectionDestroyed: u32;2267 readonly isItemCreated: boolean;2268 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2269 readonly isItemDestroyed: boolean;2270 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2271 readonly isTransfer: boolean;2272 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2273 readonly isApproved: boolean;2274 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2275 readonly isCollectionPropertySet: boolean;2276 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;2277 readonly isCollectionPropertyDeleted: boolean;2278 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;2279 readonly isTokenPropertySet: boolean;2280 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;2281 readonly isTokenPropertyDeleted: boolean;2282 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;2283 readonly isPropertyPermissionSet: boolean;2284 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;2285 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2286 }22872288 /** @name PalletStructureEvent (277) */2289 export interface PalletStructureEvent extends Enum {2290 readonly isExecuted: boolean;2291 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2292 readonly type: 'Executed';2293 }22942295 /** @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 }23432344 /** @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 }23532354 /** @name PalletEvmEvent (280) */2355 export interface PalletEvmEvent extends Enum {2356 readonly isLog: boolean;2357 readonly asLog: EthereumLog;2358 readonly isCreated: boolean;2359 readonly asCreated: H160;2360 readonly isCreatedFailed: boolean;2361 readonly asCreatedFailed: H160;2362 readonly isExecuted: boolean;2363 readonly asExecuted: H160;2364 readonly isExecutedFailed: boolean;2365 readonly asExecutedFailed: H160;2366 readonly isBalanceDeposit: boolean;2367 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2368 readonly isBalanceWithdraw: boolean;2369 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2370 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2371 }23722373 /** @name EthereumLog (281) */2374 export interface EthereumLog extends Struct {2375 readonly address: H160;2376 readonly topics: Vec<H256>;2377 readonly data: Bytes;2378 }23792380 /** @name PalletEthereumEvent (282) */2381 export interface PalletEthereumEvent extends Enum {2382 readonly isExecuted: boolean;2383 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2384 readonly type: 'Executed';2385 }23862387 /** @name EvmCoreErrorExitReason (283) */2388 export interface EvmCoreErrorExitReason extends Enum {2389 readonly isSucceed: boolean;2390 readonly asSucceed: EvmCoreErrorExitSucceed;2391 readonly isError: boolean;2392 readonly asError: EvmCoreErrorExitError;2393 readonly isRevert: boolean;2394 readonly asRevert: EvmCoreErrorExitRevert;2395 readonly isFatal: boolean;2396 readonly asFatal: EvmCoreErrorExitFatal;2397 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2398 }23992400 /** @name EvmCoreErrorExitSucceed (284) */2401 export interface EvmCoreErrorExitSucceed extends Enum {2402 readonly isStopped: boolean;2403 readonly isReturned: boolean;2404 readonly isSuicided: boolean;2405 readonly type: 'Stopped' | 'Returned' | 'Suicided';2406 }24072408 /** @name EvmCoreErrorExitError (285) */2409 export interface EvmCoreErrorExitError extends Enum {2410 readonly isStackUnderflow: boolean;2411 readonly isStackOverflow: boolean;2412 readonly isInvalidJump: boolean;2413 readonly isInvalidRange: boolean;2414 readonly isDesignatedInvalid: boolean;2415 readonly isCallTooDeep: boolean;2416 readonly isCreateCollision: boolean;2417 readonly isCreateContractLimit: boolean;2418 readonly isOutOfOffset: boolean;2419 readonly isOutOfGas: boolean;2420 readonly isOutOfFund: boolean;2421 readonly isPcUnderflow: boolean;2422 readonly isCreateEmpty: boolean;2423 readonly isOther: boolean;2424 readonly asOther: Text;2425 readonly isInvalidCode: boolean;2426 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2427 }24282429 /** @name EvmCoreErrorExitRevert (288) */2430 export interface EvmCoreErrorExitRevert extends Enum {2431 readonly isReverted: boolean;2432 readonly type: 'Reverted';2433 }24342435 /** @name EvmCoreErrorExitFatal (289) */2436 export interface EvmCoreErrorExitFatal extends Enum {2437 readonly isNotSupported: boolean;2438 readonly isUnhandledInterrupt: boolean;2439 readonly isCallErrorAsFatal: boolean;2440 readonly asCallErrorAsFatal: EvmCoreErrorExitError;2441 readonly isOther: boolean;2442 readonly asOther: Text;2443 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2444 }24452446 /** @name FrameSystemPhase (290) */2447 export interface FrameSystemPhase extends Enum {2448 readonly isApplyExtrinsic: boolean;2449 readonly asApplyExtrinsic: u32;2450 readonly isFinalization: boolean;2451 readonly isInitialization: boolean;2452 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2453 }24542455 /** @name FrameSystemLastRuntimeUpgradeInfo (292) */2456 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2457 readonly specVersion: Compact<u32>;2458 readonly specName: Text;2459 }24602461 /** @name FrameSystemLimitsBlockWeights (293) */2462 export interface FrameSystemLimitsBlockWeights extends Struct {2463 readonly baseBlock: u64;2464 readonly maxBlock: u64;2465 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2466 }24672468 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (294) */2469 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2470 readonly normal: FrameSystemLimitsWeightsPerClass;2471 readonly operational: FrameSystemLimitsWeightsPerClass;2472 readonly mandatory: FrameSystemLimitsWeightsPerClass;2473 }24742475 /** @name FrameSystemLimitsWeightsPerClass (295) */2476 export interface FrameSystemLimitsWeightsPerClass extends Struct {2477 readonly baseExtrinsic: u64;2478 readonly maxExtrinsic: Option<u64>;2479 readonly maxTotal: Option<u64>;2480 readonly reserved: Option<u64>;2481 }24822483 /** @name FrameSystemLimitsBlockLength (297) */2484 export interface FrameSystemLimitsBlockLength extends Struct {2485 readonly max: FrameSupportWeightsPerDispatchClassU32;2486 }24872488 /** @name FrameSupportWeightsPerDispatchClassU32 (298) */2489 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2490 readonly normal: u32;2491 readonly operational: u32;2492 readonly mandatory: u32;2493 }24942495 /** @name FrameSupportWeightsRuntimeDbWeight (299) */2496 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2497 readonly read: u64;2498 readonly write: u64;2499 }25002501 /** @name SpVersionRuntimeVersion (300) */2502 export interface SpVersionRuntimeVersion extends Struct {2503 readonly specName: Text;2504 readonly implName: Text;2505 readonly authoringVersion: u32;2506 readonly specVersion: u32;2507 readonly implVersion: u32;2508 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2509 readonly transactionVersion: u32;2510 readonly stateVersion: u8;2511 }25122513 /** @name FrameSystemError (304) */2514 export interface FrameSystemError extends Enum {2515 readonly isInvalidSpecName: boolean;2516 readonly isSpecVersionNeedsToIncrease: boolean;2517 readonly isFailedToExtractRuntimeVersion: boolean;2518 readonly isNonDefaultComposite: boolean;2519 readonly isNonZeroRefCount: boolean;2520 readonly isCallFiltered: boolean;2521 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2522 }25232524 /** @name OrmlVestingModuleError (306) */2525 export interface OrmlVestingModuleError extends Enum {2526 readonly isZeroVestingPeriod: boolean;2527 readonly isZeroVestingPeriodCount: boolean;2528 readonly isInsufficientBalanceToLock: boolean;2529 readonly isTooManyVestingSchedules: boolean;2530 readonly isAmountLow: boolean;2531 readonly isMaxVestingSchedulesExceeded: boolean;2532 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2533 }25342535 /** @name CumulusPalletXcmpQueueInboundChannelDetails (308) */2536 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2537 readonly sender: u32;2538 readonly state: CumulusPalletXcmpQueueInboundState;2539 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2540 }25412542 /** @name CumulusPalletXcmpQueueInboundState (309) */2543 export interface CumulusPalletXcmpQueueInboundState extends Enum {2544 readonly isOk: boolean;2545 readonly isSuspended: boolean;2546 readonly type: 'Ok' | 'Suspended';2547 }25482549 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (312) */2550 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2551 readonly isConcatenatedVersionedXcm: boolean;2552 readonly isConcatenatedEncodedBlob: boolean;2553 readonly isSignals: boolean;2554 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2555 }25562557 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (315) */2558 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2559 readonly recipient: u32;2560 readonly state: CumulusPalletXcmpQueueOutboundState;2561 readonly signalsExist: bool;2562 readonly firstIndex: u16;2563 readonly lastIndex: u16;2564 }25652566 /** @name CumulusPalletXcmpQueueOutboundState (316) */2567 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2568 readonly isOk: boolean;2569 readonly isSuspended: boolean;2570 readonly type: 'Ok' | 'Suspended';2571 }25722573 /** @name CumulusPalletXcmpQueueQueueConfigData (318) */2574 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2575 readonly suspendThreshold: u32;2576 readonly dropThreshold: u32;2577 readonly resumeThreshold: u32;2578 readonly thresholdWeight: u64;2579 readonly weightRestrictDecay: u64;2580 readonly xcmpMaxIndividualWeight: u64;2581 }25822583 /** @name CumulusPalletXcmpQueueError (320) */2584 export interface CumulusPalletXcmpQueueError extends Enum {2585 readonly isFailedToSend: boolean;2586 readonly isBadXcmOrigin: boolean;2587 readonly isBadXcm: boolean;2588 readonly isBadOverweightIndex: boolean;2589 readonly isWeightOverLimit: boolean;2590 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2591 }25922593 /** @name PalletXcmError (321) */2594 export interface PalletXcmError extends Enum {2595 readonly isUnreachable: boolean;2596 readonly isSendFailure: boolean;2597 readonly isFiltered: boolean;2598 readonly isUnweighableMessage: boolean;2599 readonly isDestinationNotInvertible: boolean;2600 readonly isEmpty: boolean;2601 readonly isCannotReanchor: boolean;2602 readonly isTooManyAssets: boolean;2603 readonly isInvalidOrigin: boolean;2604 readonly isBadVersion: boolean;2605 readonly isBadLocation: boolean;2606 readonly isNoSubscription: boolean;2607 readonly isAlreadySubscribed: boolean;2608 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2609 }26102611 /** @name CumulusPalletXcmError (322) */2612 export type CumulusPalletXcmError = Null;26132614 /** @name CumulusPalletDmpQueueConfigData (323) */2615 export interface CumulusPalletDmpQueueConfigData extends Struct {2616 readonly maxIndividual: u64;2617 }26182619 /** @name CumulusPalletDmpQueuePageIndexData (324) */2620 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2621 readonly beginUsed: u32;2622 readonly endUsed: u32;2623 readonly overweightCount: u64;2624 }26252626 /** @name CumulusPalletDmpQueueError (327) */2627 export interface CumulusPalletDmpQueueError extends Enum {2628 readonly isUnknown: boolean;2629 readonly isOverLimit: boolean;2630 readonly type: 'Unknown' | 'OverLimit';2631 }26322633 /** @name PalletUniqueError (331) */2634 export interface PalletUniqueError extends Enum {2635 readonly isCollectionDecimalPointLimitExceeded: boolean;2636 readonly isConfirmUnsetSponsorFail: boolean;2637 readonly isEmptyArgument: boolean;2638 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2639 }26402641 /** @name UpDataStructsCollection (332) */2642 export interface UpDataStructsCollection extends Struct {2643 readonly owner: AccountId32;2644 readonly mode: UpDataStructsCollectionMode;2645 readonly name: Vec<u16>;2646 readonly description: Vec<u16>;2647 readonly tokenPrefix: Bytes;2648 readonly sponsorship: UpDataStructsSponsorshipState;2649 readonly limits: UpDataStructsCollectionLimits;2650 readonly permissions: UpDataStructsCollectionPermissions;2651 }26522653 /** @name UpDataStructsSponsorshipState (333) */2654 export interface UpDataStructsSponsorshipState extends Enum {2655 readonly isDisabled: boolean;2656 readonly isUnconfirmed: boolean;2657 readonly asUnconfirmed: AccountId32;2658 readonly isConfirmed: boolean;2659 readonly asConfirmed: AccountId32;2660 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2661 }26622663 /** @name UpDataStructsProperties (334) */2664 export interface UpDataStructsProperties extends Struct {2665 readonly map: UpDataStructsPropertiesMapBoundedVec;2666 readonly consumedSpace: u32;2667 readonly spaceLimit: u32;2668 }26692670 /** @name UpDataStructsPropertiesMapBoundedVec (335) */2671 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26722673 /** @name UpDataStructsPropertiesMapPropertyPermission (340) */2674 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26752676 /** @name UpDataStructsCollectionStats (347) */2677 export interface UpDataStructsCollectionStats extends Struct {2678 readonly created: u32;2679 readonly destroyed: u32;2680 readonly alive: u32;2681 }26822683 /** @name UpDataStructsTokenChild (323) */2684 export interface UpDataStructsTokenChild extends Struct {2685 readonly token: u32;2686 readonly collection: u32;2687 }26882689 /** @name PhantomTypeUpDataStructs (324) */2690 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}26912692 /** @name UpDataStructsTokenData (326) */2693 export interface UpDataStructsTokenData extends Struct {2694 readonly properties: Vec<UpDataStructsProperty>;2695 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2696 }26972698 /** @name UpDataStructsRpcCollection (328) */2699 export interface UpDataStructsRpcCollection extends Struct {2700 readonly owner: AccountId32;2701 readonly mode: UpDataStructsCollectionMode;2702 readonly name: Vec<u16>;2703 readonly description: Vec<u16>;2704 readonly tokenPrefix: Bytes;2705 readonly sponsorship: UpDataStructsSponsorshipState;2706 readonly limits: UpDataStructsCollectionLimits;2707 readonly permissions: UpDataStructsCollectionPermissions;2708 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2709 readonly properties: Vec<UpDataStructsProperty>;2710 }27112712 /** @name UpDataStructsRmrkCollectionInfo (329) */2713 export interface UpDataStructsRmrkCollectionInfo extends Struct {2714 readonly issuer: AccountId32;2715 readonly metadata: Bytes;2716 readonly max: Option<u32>;2717 readonly symbol: Bytes;2718 readonly nftsCount: u32;2719 }27202721 /** @name UpDataStructsRmrkNftInfo (332) */2722 export interface UpDataStructsRmrkNftInfo extends Struct {2723 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2724 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2725 readonly metadata: Bytes;2726 readonly equipped: bool;2727 readonly pending: bool;2728 }27292730 /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (333) */2731 export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2732 readonly isAccountId: boolean;2733 readonly asAccountId: AccountId32;2734 readonly isCollectionAndNftTuple: boolean;2735 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2736 readonly type: 'AccountId' | 'CollectionAndNftTuple';2737 }27382739 /** @name UpDataStructsRmrkRoyaltyInfo (335) */2740 export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2741 readonly recipient: AccountId32;2742 readonly amount: Permill;2743 }27442745 /** @name UpDataStructsRmrkResourceInfo (336) */2746 export interface UpDataStructsRmrkResourceInfo extends Struct {2747 readonly id: u32;2748 readonly resource: UpDataStructsRmrkResourceTypes;2749 readonly pending: bool;2750 readonly pendingRemoval: bool;2751 }27522753 /** @name UpDataStructsRmrkResourceTypes (339) */2754 export interface UpDataStructsRmrkResourceTypes extends Enum {2755 readonly isBasic: boolean;2756 readonly asBasic: UpDataStructsRmrkBasicResource;2757 readonly isComposable: boolean;2758 readonly asComposable: UpDataStructsRmrkComposableResource;2759 readonly isSlot: boolean;2760 readonly asSlot: UpDataStructsRmrkSlotResource;2761 readonly type: 'Basic' | 'Composable' | 'Slot';2762 }27632764 /** @name UpDataStructsRmrkBasicResource (340) */2765 export interface UpDataStructsRmrkBasicResource extends Struct {2766 readonly src: Option<Bytes>;2767 readonly metadata: Option<Bytes>;2768 readonly license: Option<Bytes>;2769 readonly thumb: Option<Bytes>;2770 }27712772 /** @name UpDataStructsRmrkComposableResource (342) */2773 export interface UpDataStructsRmrkComposableResource extends Struct {2774 readonly parts: Vec<u32>;2775 readonly base: u32;2776 readonly src: Option<Bytes>;2777 readonly metadata: Option<Bytes>;2778 readonly license: Option<Bytes>;2779 readonly thumb: Option<Bytes>;2780 }27812782 /** @name UpDataStructsRmrkSlotResource (343) */2783 export interface UpDataStructsRmrkSlotResource extends Struct {2784 readonly base: u32;2785 readonly src: Option<Bytes>;2786 readonly metadata: Option<Bytes>;2787 readonly slot: u32;2788 readonly license: Option<Bytes>;2789 readonly thumb: Option<Bytes>;2790 }27912792 /** @name UpDataStructsRmrkPropertyInfo (344) */2793 export interface UpDataStructsRmrkPropertyInfo extends Struct {2794 readonly key: Bytes;2795 readonly value: Bytes;2796 }27972798 /** @name UpDataStructsRmrkBaseInfo (347) */2799 export interface UpDataStructsRmrkBaseInfo extends Struct {2800 readonly issuer: AccountId32;2801 readonly baseType: Bytes;2802 readonly symbol: Bytes;2803 }28042805 /** @name UpDataStructsRmrkPartType (348) */2806 export interface UpDataStructsRmrkPartType extends Enum {2807 readonly isFixedPart: boolean;2808 readonly asFixedPart: UpDataStructsRmrkFixedPart;2809 readonly isSlotPart: boolean;2810 readonly asSlotPart: UpDataStructsRmrkSlotPart;2811 readonly type: 'FixedPart' | 'SlotPart';2812 }28132814 /** @name UpDataStructsRmrkFixedPart (350) */2815 export interface UpDataStructsRmrkFixedPart extends Struct {2816 readonly id: u32;2817 readonly z: u32;2818 readonly src: Bytes;2819 }28202821 /** @name UpDataStructsRmrkSlotPart (351) */2822 export interface UpDataStructsRmrkSlotPart extends Struct {2823 readonly id: u32;2824 readonly equippable: UpDataStructsRmrkEquippableList;2825 readonly src: Bytes;2826 readonly z: u32;2827 }28282829 /** @name UpDataStructsRmrkEquippableList (352) */2830 export interface UpDataStructsRmrkEquippableList extends Enum {2831 readonly isAll: boolean;2832 readonly isEmpty: boolean;2833 readonly isCustom: boolean;2834 readonly asCustom: Vec<u32>;2835 readonly type: 'All' | 'Empty' | 'Custom';2836 }28372838 /** @name UpDataStructsRmrkTheme (353) */2839 export interface UpDataStructsRmrkTheme extends Struct {2840 readonly name: Bytes;2841 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;2842 readonly inherit: bool;2843 }28442845 /** @name UpDataStructsRmrkThemeProperty (355) */2846 export interface UpDataStructsRmrkThemeProperty extends Struct {2847 readonly key: Bytes;2848 readonly value: Bytes;2849 }28502851 /** @name UpDataStructsRmrkNftChild (356) */2852 export interface UpDataStructsRmrkNftChild extends Struct {2853 readonly collectionId: u32;2854 readonly nftId: u32;2855 }28562857 /** @name PalletCommonError (358) */2858 export interface PalletCommonError extends Enum {2859 readonly isCollectionNotFound: boolean;2860 readonly isMustBeTokenOwner: boolean;2861 readonly isNoPermission: boolean;2862 readonly isCantDestroyNotEmptyCollection: boolean;2863 readonly isPublicMintingNotAllowed: boolean;2864 readonly isAddressNotInAllowlist: boolean;2865 readonly isCollectionNameLimitExceeded: boolean;2866 readonly isCollectionDescriptionLimitExceeded: boolean;2867 readonly isCollectionTokenPrefixLimitExceeded: boolean;2868 readonly isTotalCollectionsLimitExceeded: boolean;2869 readonly isCollectionAdminCountExceeded: boolean;2870 readonly isCollectionLimitBoundsExceeded: boolean;2871 readonly isOwnerPermissionsCantBeReverted: boolean;2872 readonly isTransferNotAllowed: boolean;2873 readonly isAccountTokenLimitExceeded: boolean;2874 readonly isCollectionTokenLimitExceeded: boolean;2875 readonly isMetadataFlagFrozen: boolean;2876 readonly isTokenNotFound: boolean;2877 readonly isTokenValueTooLow: boolean;2878 readonly isApprovedValueTooLow: boolean;2879 readonly isCantApproveMoreThanOwned: boolean;2880 readonly isAddressIsZero: boolean;2881 readonly isUnsupportedOperation: boolean;2882 readonly isNotSufficientFounds: boolean;2883 readonly isNestingIsDisabled: boolean;2884 readonly isOnlyOwnerAllowedToNest: boolean;2885 readonly isSourceCollectionIsNotAllowedToNest: boolean;2886 readonly isCollectionFieldSizeExceeded: boolean;2887 readonly isNoSpaceForProperty: boolean;2888 readonly isPropertyLimitReached: boolean;2889 readonly isPropertyKeyIsTooLong: boolean;2890 readonly isInvalidCharacterInPropertyKey: boolean;2891 readonly isEmptyPropertyKey: boolean;2892 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';2893 }28942895 /** @name PalletFungibleError (360) */2896 export interface PalletFungibleError extends Enum {2897 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2898 readonly isFungibleItemsHaveNoId: boolean;2899 readonly isFungibleItemsDontHaveData: boolean;2900 readonly isFungibleDisallowsNesting: boolean;2901 readonly isSettingPropertiesNotAllowed: boolean;2902 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2903 }29042905 /** @name PalletRefungibleItemData (361) */2906 export interface PalletRefungibleItemData extends Struct {2907 readonly constData: Bytes;2908 }29092910 /** @name PalletRefungibleError (365) */2911 export interface PalletRefungibleError extends Enum {2912 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2913 readonly isWrongRefungiblePieces: boolean;2914 readonly isRefungibleDisallowsNesting: boolean;2915 readonly isSettingPropertiesNotAllowed: boolean;2916 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2917 }29182919 /** @name PalletNonfungibleItemData (366) */2920 export interface PalletNonfungibleItemData extends Struct {2921 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2922 }29232924 /** @name PalletNonfungibleError (368) */2925 export interface PalletNonfungibleError extends Enum {2926 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2927 readonly isNonfungibleItemsHaveNoAmount: boolean;2928 readonly isCantBurnNftWithChildren: boolean;2929 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';2930 }29312932 /** @name PalletStructureError (369) */2933 export interface PalletStructureError extends Enum {2934 readonly isOuroborosDetected: boolean;2935 readonly isDepthLimit: boolean;2936 readonly isTokenNotFound: boolean;2937 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';2938 }29392940 /** @name PalletEvmError (372) */2941 export interface PalletEvmError extends Enum {2942 readonly isBalanceLow: boolean;2943 readonly isFeeOverflow: boolean;2944 readonly isPaymentOverflow: boolean;2945 readonly isWithdrawFailed: boolean;2946 readonly isGasPriceTooLow: boolean;2947 readonly isInvalidNonce: boolean;2948 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2949 }29502951 /** @name FpRpcTransactionStatus (375) */2952 export interface FpRpcTransactionStatus extends Struct {2953 readonly transactionHash: H256;2954 readonly transactionIndex: u32;2955 readonly from: H160;2956 readonly to: Option<H160>;2957 readonly contractAddress: Option<H160>;2958 readonly logs: Vec<EthereumLog>;2959 readonly logsBloom: EthbloomBloom;2960 }29612962 /** @name EthbloomBloom (377) */2963 export interface EthbloomBloom extends U8aFixed {}29642965 /** @name EthereumReceiptReceiptV3 (379) */2966 export interface EthereumReceiptReceiptV3 extends Enum {2967 readonly isLegacy: boolean;2968 readonly asLegacy: EthereumReceiptEip658ReceiptData;2969 readonly isEip2930: boolean;2970 readonly asEip2930: EthereumReceiptEip658ReceiptData;2971 readonly isEip1559: boolean;2972 readonly asEip1559: EthereumReceiptEip658ReceiptData;2973 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2974 }29752976 /** @name EthereumReceiptEip658ReceiptData (380) */2977 export interface EthereumReceiptEip658ReceiptData extends Struct {2978 readonly statusCode: u8;2979 readonly usedGas: U256;2980 readonly logsBloom: EthbloomBloom;2981 readonly logs: Vec<EthereumLog>;2982 }29832984 /** @name EthereumBlock (381) */2985 export interface EthereumBlock extends Struct {2986 readonly header: EthereumHeader;2987 readonly transactions: Vec<EthereumTransactionTransactionV2>;2988 readonly ommers: Vec<EthereumHeader>;2989 }29902991 /** @name EthereumHeader (382) */2992 export interface EthereumHeader extends Struct {2993 readonly parentHash: H256;2994 readonly ommersHash: H256;2995 readonly beneficiary: H160;2996 readonly stateRoot: H256;2997 readonly transactionsRoot: H256;2998 readonly receiptsRoot: H256;2999 readonly logsBloom: EthbloomBloom;3000 readonly difficulty: U256;3001 readonly number: U256;3002 readonly gasLimit: U256;3003 readonly gasUsed: U256;3004 readonly timestamp: u64;3005 readonly extraData: Bytes;3006 readonly mixHash: H256;3007 readonly nonce: EthereumTypesHashH64;3008 }30093010 /** @name EthereumTypesHashH64 (383) */3011 export interface EthereumTypesHashH64 extends U8aFixed {}30123013 /** @name PalletEthereumError (388) */3014 export interface PalletEthereumError extends Enum {3015 readonly isInvalidSignature: boolean;3016 readonly isPreLogExists: boolean;3017 readonly type: 'InvalidSignature' | 'PreLogExists';3018 }30193020 /** @name PalletEvmCoderSubstrateError (389) */3021 export interface PalletEvmCoderSubstrateError extends Enum {3022 readonly isOutOfGas: boolean;3023 readonly isOutOfFund: boolean;3024 readonly type: 'OutOfGas' | 'OutOfFund';3025 }30263027 /** @name PalletEvmContractHelpersSponsoringModeT (390) */3028 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3029 readonly isDisabled: boolean;3030 readonly isAllowlisted: boolean;3031 readonly isGenerous: boolean;3032 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3033 }30343035 /** @name PalletEvmContractHelpersError (392) */3036 export interface PalletEvmContractHelpersError extends Enum {3037 readonly isNoPermission: boolean;3038 readonly type: 'NoPermission';3039 }30403041 /** @name PalletEvmMigrationError (393) */3042 export interface PalletEvmMigrationError extends Enum {3043 readonly isAccountNotEmpty: boolean;3044 readonly isAccountIsNotMigrating: boolean;3045 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3046 }30473048 /** @name SpRuntimeMultiSignature (395) */3049 export interface SpRuntimeMultiSignature extends Enum {3050 readonly isEd25519: boolean;3051 readonly asEd25519: SpCoreEd25519Signature;3052 readonly isSr25519: boolean;3053 readonly asSr25519: SpCoreSr25519Signature;3054 readonly isEcdsa: boolean;3055 readonly asEcdsa: SpCoreEcdsaSignature;3056 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3057 }30583059 /** @name SpCoreEd25519Signature (396) */3060 export interface SpCoreEd25519Signature extends U8aFixed {}30613062 /** @name SpCoreSr25519Signature (398) */3063 export interface SpCoreSr25519Signature extends U8aFixed {}30643065 /** @name SpCoreEcdsaSignature (399) */3066 export interface SpCoreEcdsaSignature extends U8aFixed {}30673068 /** @name FrameSystemExtensionsCheckSpecVersion (402) */3069 export type FrameSystemExtensionsCheckSpecVersion = Null;30703071 /** @name FrameSystemExtensionsCheckGenesis (403) */3072 export type FrameSystemExtensionsCheckGenesis = Null;30733074 /** @name FrameSystemExtensionsCheckNonce (406) */3075 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}30763077 /** @name FrameSystemExtensionsCheckWeight (407) */3078 export type FrameSystemExtensionsCheckWeight = Null;30793080 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (408) */3081 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}30823083 /** @name OpalRuntimeRuntime (409) */3084 export type OpalRuntimeRuntime = Null;30853086 /** @name PalletEthereumFakeTransactionFinalizer (410) */3087 export type PalletEthereumFakeTransactionFinalizer = Null;30883089} // declare moduletests/src/interfaces/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/types.ts
+++ b/tests/src/interfaces/types.ts
@@ -2,4 +2,5 @@
/* eslint-disable */
export * from './unique/types';
+export * from './rmrk/types';
export * from './default/types';