difftreelog
refactor nesting permission structure
in: master
20 files changed
pallets/common/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/common/src/benchmarking.rs
+++ b/pallets/common/src/benchmarking.rs
@@ -20,7 +20,7 @@
use frame_benchmarking::{benchmarks, account};
use up_data_structs::{
CollectionMode, CreateCollectionData, CollectionId, Property, PropertyKey, PropertyValue,
- CollectionPermissions, NestingRule, MAX_COLLECTION_NAME_LENGTH,
+ CollectionPermissions, NestingPermissions, MAX_COLLECTION_NAME_LENGTH,
MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_TOKEN_PREFIX_LENGTH, MAX_PROPERTIES_PER_ITEM,
};
use frame_support::{
@@ -94,7 +94,12 @@
description,
token_prefix,
permissions: Some(CollectionPermissions {
- nesting: Some(NestingRule::Permissive),
+ nesting: Some(NestingPermissions {
+ token_owner: false,
+ admin: false,
+ restricted: None,
+ permissive: true,
+ }),
..Default::default()
}),
..Default::default()
pallets/common/src/erc.rsdiffbeforeafterboth--- a/pallets/common/src/erc.rs
+++ b/pallets/common/src/erc.rs
@@ -22,7 +22,7 @@
pub use pallet_evm::{PrecompileOutput, PrecompileResult, PrecompileHandle, account::CrossAccountId};
use pallet_evm_coder_substrate::dispatch_to_evm;
use sp_std::vec::Vec;
-use up_data_structs::{Property, SponsoringRateLimit, NestingRule, OwnerRestrictedSet, AccessMode};
+use up_data_structs::{Property, SponsoringRateLimit, OwnerRestrictedSet, AccessMode};
use alloc::format;
use crate::{Pallet, CollectionHandle, Config, CollectionProperties};
@@ -215,12 +215,21 @@
let caller = T::CrossAccountId::from_eth(caller);
self.check_is_owner_or_admin(&caller)
.map_err(dispatch_to_evm::<T>)?;
- self.collection.permissions.nesting = Some(match enable {
- false => NestingRule::Disabled,
- true => NestingRule::Owner,
- });
- save(self)?;
- Ok(())
+
+ let mut permissions = self.collection.permissions.clone();
+ let mut nesting = permissions.nesting().clone();
+ nesting.token_owner = enable;
+ nesting.restricted = None;
+ permissions.nesting = Some(nesting);
+
+ self.collection.permissions = <Pallet<T>>::clamp_permissions(
+ self.collection.mode.clone(),
+ &self.collection.permissions,
+ permissions,
+ )
+ .map_err(dispatch_to_evm::<T>)?;
+
+ save(self)
}
#[solidity(rename_selector = "setCollectionNesting")]
@@ -233,31 +242,41 @@
if collections.is_empty() {
return Err("No addresses provided".into());
}
- if collections.len() >= OwnerRestrictedSet::bound() {
- return Err(Error::Revert(format!(
- "Out of bound: {} >= {}",
- collections.len(),
- OwnerRestrictedSet::bound()
- )));
- }
let caller = T::CrossAccountId::from_eth(caller);
self.check_is_owner_or_admin(&caller)
.map_err(dispatch_to_evm::<T>)?;
- self.collection.permissions.nesting = Some(match enable {
- false => NestingRule::Disabled,
+
+ let mut permissions = self.collection.permissions.clone();
+ match enable {
+ false => {
+ let mut nesting = permissions.nesting().clone();
+ nesting.token_owner = false;
+ nesting.restricted = None;
+ permissions.nesting = Some(nesting);
+ }
true => {
let mut bv = OwnerRestrictedSet::new();
for i in collections {
bv.try_insert(crate::eth::map_eth_to_id(&i).ok_or(Error::Revert(
"Can't convert address into collection id".into(),
))?)
- .map_err(|e| Error::Revert(format!("{:?}", e)))?;
+ .map_err(|_| "too many collections")?;
}
- NestingRule::OwnerRestricted(bv)
+ let mut nesting = permissions.nesting().clone();
+ nesting.token_owner = true;
+ nesting.restricted = Some(bv);
+ permissions.nesting = Some(nesting);
}
- });
- save(self)?;
- Ok(())
+ };
+
+ self.collection.permissions = <Pallet<T>>::clamp_permissions(
+ self.collection.mode.clone(),
+ &self.collection.permissions,
+ permissions,
+ )
+ .map_err(dispatch_to_evm::<T>)?;
+
+ save(self)
}
fn set_collection_access(&mut self, caller: caller, mode: uint8) -> Result<void> {
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -430,10 +430,8 @@
/// Not sufficient funds to perform action
NotSufficientFounds,
- /// Collection has nesting disabled
- NestingIsDisabled,
- /// Only owner may nest tokens under this collection
- OnlyOwnerAllowedToNest,
+ /// User not passed nesting rule
+ UserIsNotAllowedToNest,
/// Only tokens from specific collections may nest tokens under this
SourceCollectionIsNotAllowedToNest,
@@ -1212,7 +1210,11 @@
limit_default_clone!(old_limit, new_limit,
access => {},
mint_mode => {},
- nesting => {},
+ nesting => ensure!(
+ // Permissive is only allowed for tests and internal usage of chain for now
+ old_limit.permissive || !new_limit.permissive,
+ <Error<T>>::NoPermission,
+ ),
);
Ok(new_limit)
}
pallets/nonfungible/src/lib.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/lib.rs
+++ b/pallets/nonfungible/src/lib.rs
@@ -27,8 +27,8 @@
};
use up_data_structs::{
AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,
- mapping::TokenAddressMapping, NestingRule, budget::Budget, Property, PropertyPermission,
- PropertyKey, PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild,
+ mapping::TokenAddressMapping, budget::Budget, Property, PropertyPermission, PropertyKey,
+ PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild,
};
use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};
use pallet_common::{
@@ -996,38 +996,29 @@
under: TokenId,
nesting_budget: &dyn Budget,
) -> DispatchResult {
- fn ensure_sender_allowed<T: Config>(
- collection: CollectionId,
- token: TokenId,
- for_nest: (CollectionId, TokenId),
- sender: T::CrossAccountId,
- budget: &dyn Budget,
- ) -> DispatchResult {
+ let nesting = handle.permissions.nesting();
+ if nesting.permissive {
+ // Pass
+ } else if nesting.token_owner
+ && <PalletStructure<T>>::check_indirectly_owned(
+ sender.clone(),
+ handle.id,
+ under,
+ Some(from),
+ nesting_budget,
+ )? {
+ // Pass
+ } else if nesting.admin && handle.is_owner_or_admin(&sender) {
+ // Pass
+ } else {
+ fail!(<CommonError<T>>::UserIsNotAllowedToNest);
+ }
+
+ if let Some(whitelist) = &nesting.restricted {
ensure!(
- <PalletStructure<T>>::check_indirectly_owned(
- sender,
- collection,
- token,
- Some(for_nest),
- budget
- )?,
- <CommonError<T>>::OnlyOwnerAllowedToNest,
+ whitelist.contains(&from.0),
+ <CommonError<T>>::SourceCollectionIsNotAllowedToNest
);
- Ok(())
- }
- match handle.permissions.nesting() {
- NestingRule::Disabled => fail!(<CommonError<T>>::NestingIsDisabled),
- NestingRule::Owner => {
- ensure_sender_allowed::<T>(handle.id, under, from, sender, nesting_budget)?
- }
- NestingRule::OwnerRestricted(whitelist) => {
- ensure!(
- whitelist.contains(&from.0),
- <CommonError<T>>::SourceCollectionIsNotAllowedToNest
- );
- ensure_sender_allowed::<T>(handle.id, under, from, sender, nesting_budget)?
- }
- NestingRule::Permissive => {}
}
Ok(())
}
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/lib.rs
+++ b/pallets/proxy-rmrk-core/src/lib.rs
@@ -200,7 +200,13 @@
.try_into()
.map_err(|_| <CommonError<T>>::CollectionTokenPrefixLimitExceeded)?,
permissions: Some(CollectionPermissions {
- nesting: Some(NestingRule::Owner),
+ nesting: Some(NestingPermissions {
+ token_owner: true,
+ admin: false,
+ restricted: None,
+
+ permissive: false,
+ }),
..Default::default()
}),
..Default::default()
@@ -600,7 +606,7 @@
&budget,
)
.map_err(|err| {
- if err == <CommonError<T>>::OnlyOwnerAllowedToNest.into() {
+ if err == <CommonError<T>>::UserIsNotAllowedToNest.into() {
<Error<T>>::CannotAcceptNonOwnedNft.into()
} else {
Self::map_unique_err_to_proxy(err)
primitives/data-structs/src/lib.rsdiffbeforeafterboth--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -441,7 +441,7 @@
pub struct CollectionPermissions {
pub access: Option<AccessMode>,
pub mint_mode: Option<bool>,
- pub nesting: Option<NestingRule>,
+ pub nesting: Option<NestingPermissions>,
}
impl CollectionPermissions {
@@ -451,30 +451,58 @@
pub fn mint_mode(&self) -> bool {
self.mint_mode.unwrap_or(false)
}
- pub fn nesting(&self) -> &NestingRule {
- static DEFAULT: NestingRule = NestingRule::Disabled;
+ pub fn nesting(&self) -> &NestingPermissions {
+ static DEFAULT: NestingPermissions = NestingPermissions {
+ token_owner: false,
+ admin: false,
+ restricted: None,
+
+ permissive: false,
+ };
self.nesting.as_ref().unwrap_or(&DEFAULT)
}
}
-pub type OwnerRestrictedSet = BoundedBTreeSet<CollectionId, ConstU32<16>>;
+type OwnerRestrictedSetInner = BoundedBTreeSet<CollectionId, ConstU32<16>>;
+
+#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, MaxEncodedLen, Derivative)]
+#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
+#[derivative(Debug)]
+pub struct OwnerRestrictedSet(
+ #[cfg_attr(feature = "serde1", serde(with = "bounded::set_serde"))]
+ #[derivative(Debug(format_with = "bounded::set_debug"))]
+ pub OwnerRestrictedSetInner,
+);
+impl OwnerRestrictedSet {
+ pub fn new() -> Self {
+ Self(Default::default())
+ }
+}
+impl core::ops::Deref for OwnerRestrictedSet {
+ type Target = OwnerRestrictedSetInner;
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+impl core::ops::DerefMut for OwnerRestrictedSet {
+ fn deref_mut(&mut self) -> &mut Self::Target {
+ &mut self.0
+ }
+}
#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, MaxEncodedLen, Derivative)]
#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
#[derivative(Debug)]
-pub enum NestingRule {
- /// No one can nest tokens
- Disabled,
- /// Owner can nest any tokens
- Owner,
- /// Owner can nest tokens from specified collections
- OwnerRestricted(
- #[cfg_attr(feature = "serde1", serde(with = "bounded::set_serde"))]
- #[derivative(Debug(format_with = "bounded::set_debug"))]
- OwnerRestrictedSet,
- ),
- /// Used for tests
- Permissive,
+pub struct NestingPermissions {
+ /// Owner of token can nest tokens under it
+ pub token_owner: bool,
+ /// Admin of token collection can nest tokens under token
+ pub admin: bool,
+ /// If set - only tokens from specified collections can be nested
+ pub restricted: Option<OwnerRestrictedSet>,
+
+ /// Anyone can nest tokens, mutually exclusive with `token_owner`, `admin`
+ pub permissive: bool,
}
#[derive(Encode, Decode, Debug, Clone, Copy, PartialEq, TypeInfo, MaxEncodedLen)]
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -5,7 +5,7 @@
"main": "",
"devDependencies": {
"@polkadot/ts": "0.4.22",
- "@polkadot/typegen": "8.7.2-11",
+ "@polkadot/typegen": "8.7.2-15",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.1.1",
@@ -86,8 +86,8 @@
"license": "SEE LICENSE IN ../LICENSE",
"homepage": "",
"dependencies": {
- "@polkadot/api": "8.7.2-11",
- "@polkadot/api-contract": "8.7.2-11",
+ "@polkadot/api": "8.7.2-15",
+ "@polkadot/api-contract": "8.7.2-15",
"@polkadot/util-crypto": "9.4.1",
"bignumber.js": "^9.0.2",
"chai-as-promised": "^7.1.1",
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -125,10 +125,6 @@
**/
MustBeTokenOwner: AugmentedError<ApiType>;
/**
- * Collection has nesting disabled
- **/
- NestingIsDisabled: AugmentedError<ApiType>;
- /**
* No permission to perform action
**/
NoPermission: AugmentedError<ApiType>;
@@ -137,13 +133,9 @@
**/
NoSpaceForProperty: AugmentedError<ApiType>;
/**
- * Not sufficient founds to perform action
+ * Not sufficient funds to perform action
**/
NotSufficientFounds: AugmentedError<ApiType>;
- /**
- * Only owner may nest tokens under this collection
- **/
- OnlyOwnerAllowedToNest: AugmentedError<ApiType>;
/**
* Tried to enable permissions which are only permitted to be disabled
**/
@@ -185,6 +177,10 @@
**/
UnsupportedOperation: AugmentedError<ApiType>;
/**
+ * User not passed nesting rule
+ **/
+ UserIsNotAllowedToNest: AugmentedError<ApiType>;
+ /**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
@@ -502,6 +498,10 @@
};
structure: {
/**
+ * While iterating over children, encountered breadth limit
+ **/
+ BreadthLimit: AugmentedError<ApiType>;
+ /**
* While searched for owner, encountered depth limit
**/
DepthLimit: AugmentedError<ApiType>;
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -13,45 +13,45 @@
/**
* A balance was set by root.
**/
- BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
+ BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128, reserved: u128], { who: AccountId32, free: u128, reserved: u128 }>;
/**
* Some amount was deposited (e.g. for transaction fees).
**/
- Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* An account was removed whose balance was non-zero but below ExistentialDeposit,
* resulting in an outright loss.
**/
- DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
/**
* An account was created with some free balance.
**/
- Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
/**
* Some balance was reserved (moved from free to reserved).
**/
- Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some balance was moved from the reserve of the first account to the second account.
* Final argument indicates the destination balance type.
**/
- ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;
+ ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus }>;
/**
* Some amount was removed from the account (e.g. for misbehavior).
**/
- Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Transfer succeeded.
**/
- Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
+ Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
/**
* Some balance was unreserved (moved from reserved to free).
**/
- Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some amount was withdrawn from the account (e.g. for transaction fees).
**/
- Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Generic event
**/
@@ -398,28 +398,28 @@
[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]>;
- NFTAccepted: AugmentedEvent<ApiType, [AccountId32, RmrkTraitsNftAccountIdOrCollectionNftTuple, u32, u32]>;
- NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;
- NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
- NFTRejected: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
- NFTSent: AugmentedEvent<ApiType, [AccountId32, RmrkTraitsNftAccountIdOrCollectionNftTuple, u32, u32, bool]>;
- PrioritySet: AugmentedEvent<ApiType, [u32, u32]>;
- PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
- ResourceAccepted: AugmentedEvent<ApiType, [u32, u32]>;
- ResourceAdded: AugmentedEvent<ApiType, [u32, u32]>;
- ResourceRemoval: AugmentedEvent<ApiType, [u32, u32]>;
- ResourceRemovalAccepted: AugmentedEvent<ApiType, [u32, u32]>;
+ CollectionCreated: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
+ CollectionDestroyed: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
+ CollectionLocked: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
+ IssuerChanged: AugmentedEvent<ApiType, [oldIssuer: AccountId32, newIssuer: AccountId32, collectionId: u32], { oldIssuer: AccountId32, newIssuer: AccountId32, collectionId: u32 }>;
+ NFTAccepted: AugmentedEvent<ApiType, [sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32], { sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32 }>;
+ NFTBurned: AugmentedEvent<ApiType, [owner: AccountId32, nftId: u32], { owner: AccountId32, nftId: u32 }>;
+ NftMinted: AugmentedEvent<ApiType, [owner: AccountId32, collectionId: u32, nftId: u32], { owner: AccountId32, collectionId: u32, nftId: u32 }>;
+ NFTRejected: AugmentedEvent<ApiType, [sender: AccountId32, collectionId: u32, nftId: u32], { sender: AccountId32, collectionId: u32, nftId: u32 }>;
+ NFTSent: AugmentedEvent<ApiType, [sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32, approvalRequired: bool], { sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32, approvalRequired: bool }>;
+ PrioritySet: AugmentedEvent<ApiType, [collectionId: u32, nftId: u32], { collectionId: u32, nftId: u32 }>;
+ PropertySet: AugmentedEvent<ApiType, [collectionId: u32, maybeNftId: Option<u32>, key: Bytes, value: Bytes], { collectionId: u32, maybeNftId: Option<u32>, key: Bytes, value: Bytes }>;
+ ResourceAccepted: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
+ ResourceAdded: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
+ ResourceRemoval: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
+ ResourceRemovalAccepted: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
rmrkEquip: {
- BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ BaseCreated: AugmentedEvent<ApiType, [issuer: AccountId32, baseId: u32], { issuer: AccountId32, baseId: u32 }>;
/**
* Generic event
**/
@@ -429,19 +429,19 @@
/**
* The call for the provided hash was not found so the task has been aborted.
**/
- CallLookupFailed: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<U8aFixed>, FrameSupportScheduleLookupError]>;
+ CallLookupFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, error: FrameSupportScheduleLookupError], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, error: FrameSupportScheduleLookupError }>;
/**
* Canceled some task.
**/
- Canceled: AugmentedEvent<ApiType, [u32, u32]>;
+ Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
/**
* Dispatched some task.
**/
- Dispatched: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<U8aFixed>, Result<Null, SpRuntimeDispatchError>]>;
+ Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>;
/**
* Scheduled some task.
**/
- Scheduled: AugmentedEvent<ApiType, [u32, u32]>;
+ Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
/**
* Generic event
**/
@@ -461,15 +461,15 @@
/**
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
**/
- KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;
+ KeyChanged: AugmentedEvent<ApiType, [oldSudoer: Option<AccountId32>], { oldSudoer: Option<AccountId32> }>;
/**
* A sudo just took place. \[result\]
**/
- Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
+ Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
/**
* A sudo just took place. \[result\]
**/
- SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
+ SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
/**
* Generic event
**/
@@ -483,23 +483,23 @@
/**
* An extrinsic failed.
**/
- ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;
+ ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo }>;
/**
* An extrinsic completed successfully.
**/
- ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchInfo: FrameSupportWeightsDispatchInfo }>;
/**
* An account was reaped.
**/
- KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;
+ KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* A new account was created.
**/
- NewAccount: AugmentedEvent<ApiType, [AccountId32]>;
+ NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* On on-chain remark happened.
**/
- Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;
+ Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
/**
* Generic event
**/
@@ -509,31 +509,31 @@
/**
* Some funds have been allocated.
**/
- Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
+ Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], { proposalIndex: u32, award: u128, account: AccountId32 }>;
/**
* Some of our funds have been burnt.
**/
- Burnt: AugmentedEvent<ApiType, [u128]>;
+ Burnt: AugmentedEvent<ApiType, [burntFunds: u128], { burntFunds: u128 }>;
/**
* Some funds have been deposited.
**/
- Deposit: AugmentedEvent<ApiType, [u128]>;
+ Deposit: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
/**
* New proposal.
**/
- Proposed: AugmentedEvent<ApiType, [u32]>;
+ Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
/**
* A proposal was rejected; funds were slashed.
**/
- Rejected: AugmentedEvent<ApiType, [u32, u128]>;
+ Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
/**
* Spending has finished; this is the amount that rolls over until next spend.
**/
- Rollover: AugmentedEvent<ApiType, [u128]>;
+ Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], { rolloverBalance: u128 }>;
/**
* We have ended a spend period and will now allocate funds.
**/
- Spending: AugmentedEvent<ApiType, [u128]>;
+ Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], { budgetRemaining: u128 }>;
/**
* Generic event
**/
@@ -636,15 +636,15 @@
/**
* Claimed vesting.
**/
- Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Claimed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Added new vesting schedule.
**/
- VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;
+ VestingScheduleAdded: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, vestingSchedule: OrmlVestingVestingSchedule], { from: AccountId32, to: AccountId32, vestingSchedule: OrmlVestingVestingSchedule }>;
/**
* Updated vesting schedules.
**/
- VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;
+ VestingSchedulesUpdated: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
/**
* Generic event
**/
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -347,22 +347,105 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
rmrkCore: {
+ /**
+ * Accepts an NFT sent from another account to self or owned NFT
+ *
+ * Parameters:
+ * - `origin`: sender of the transaction
+ * - `rmrk_collection_id`: collection id of the nft to be accepted
+ * - `rmrk_nft_id`: nft id of the nft to be accepted
+ * - `new_owner`: either origin's account ID or origin-owned NFT, whichever the NFT was
+ * sent to
+ **/
acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
+ /**
+ * accept the addition of a new resource to an existing NFT
+ **/
acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ /**
+ * accept the removal of a resource of an existing NFT
+ **/
acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ /**
+ * Create basic resource
+ **/
addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceBasicResource]>;
+ /**
+ * Create composable resource
+ **/
addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: Bytes | string | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes, RmrkTraitsResourceComposableResource]>;
+ /**
+ * Create slot resource
+ **/
addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;
+ /**
+ * burn nft
+ **/
burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ /**
+ * Change the issuer of a collection
+ *
+ * Parameters:
+ * - `origin`: sender of the transaction
+ * - `collection_id`: collection id of the nft to change issuer of
+ * - `new_issuer`: Collection's new issuer
+ **/
changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
+ /**
+ * Create a collection
+ **/
createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;
+ /**
+ * destroy collection
+ **/
destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * lock collection
+ **/
lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Mints an NFT in the specified collection
+ * Sets metadata and the royalty attribute
+ *
+ * Parameters:
+ * - `collection_id`: The class of the asset to be minted.
+ * - `nft_id`: The nft value of the asset to be minted.
+ * - `recipient`: Receiver of the royalty
+ * - `royalty`: Permillage reward from each trade for the Recipient
+ * - `metadata`: Arbitrary data about an nft, e.g. IPFS hash
+ * - `transferable`: Ability to transfer this NFT
+ **/
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, transferable: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes, bool]>;
+ /**
+ * Rejects an NFT sent from another account to self or owned NFT
+ *
+ * Parameters:
+ * - `origin`: sender of the transaction
+ * - `rmrk_collection_id`: collection id of the nft to be accepted
+ * - `rmrk_nft_id`: nft id of the nft to be accepted
+ **/
rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ /**
+ * remove resource
+ **/
removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ /**
+ * Transfers a NFT from an Account or NFT A to another Account or NFT B
+ *
+ * Parameters:
+ * - `origin`: sender of the transaction
+ * - `rmrk_collection_id`: collection id of the nft to be transferred
+ * - `rmrk_nft_id`: nft id of the nft to be transferred
+ * - `new_owner`: new owner of the nft which can be either an account or a NFT
+ **/
send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
+ /**
+ * set a different order of resource priority
+ **/
setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;
+ /**
+ * set a custom value on an NFT
+ **/
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
@@ -370,7 +453,33 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
rmrkEquip: {
+ /**
+ * Creates a new Base.
+ * Modeled after [base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)
+ *
+ * Parameters:
+ * - origin: Caller, will be assigned as the issuer of the Base
+ * - base_type: media type, e.g. "svg"
+ * - symbol: arbitrary client-chosen symbol
+ * - parts: array of Fixed and Slot parts composing the base, confined in length by
+ * RmrkPartsLimit
+ **/
createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;
+ /**
+ * Adds a Theme to a Base.
+ * Modeled after [themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md)
+ * Themes are stored in the Themes storage
+ * A Theme named "default" is required prior to adding other Themes.
+ *
+ * Parameters:
+ * - origin: The caller of the function, must be issuer of the base
+ * - base_id: The Base containing the Theme to be updated
+ * - theme: The Theme to add to the Base. A Theme has a name and properties, which are an
+ * array of [key, value, inherit].
+ * - key: arbitrary BoundedString, defined by client
+ * - value: arbitrary BoundedString, defined by client
+ * - inherit: optional bool
+ **/
themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;
/**
* Generic tx
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUnqSchedulerCall, PalletUnqSchedulerError, PalletUnqSchedulerEvent, PalletUnqSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUnqSchedulerCall, PalletUnqSchedulerError, PalletUnqSchedulerEvent, PalletUnqSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -1218,7 +1218,8 @@
UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
- UpDataStructsNestingRule: UpDataStructsNestingRule;
+ UpDataStructsNestingPermissions: UpDataStructsNestingPermissions;
+ UpDataStructsOwnerRestrictedSet: UpDataStructsOwnerRestrictedSet;
UpDataStructsProperties: UpDataStructsProperties;
UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;
UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -935,8 +935,7 @@
readonly isAddressIsZero: boolean;
readonly isUnsupportedOperation: boolean;
readonly isNotSufficientFounds: boolean;
- readonly isNestingIsDisabled: boolean;
- readonly isOnlyOwnerAllowedToNest: boolean;
+ readonly isUserIsNotAllowedToNest: boolean;
readonly isSourceCollectionIsNotAllowedToNest: boolean;
readonly isCollectionFieldSizeExceeded: boolean;
readonly isNoSpaceForProperty: boolean;
@@ -946,7 +945,7 @@
readonly isEmptyPropertyKey: boolean;
readonly isCollectionIsExternal: boolean;
readonly isCollectionIsInternal: boolean;
- 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' | 'CollectionIsExternal' | 'CollectionIsInternal';
+ 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' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';
}
/** @name PalletCommonEvent */
@@ -1445,8 +1444,9 @@
export interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
+ readonly isBreadthLimit: boolean;
readonly isTokenNotFound: boolean;
- readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
+ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
/** @name PalletStructureEvent */
@@ -2348,7 +2348,7 @@
export interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
- readonly nesting: Option<UpDataStructsNestingRule>;
+ readonly nesting: Option<UpDataStructsNestingPermissions>;
}
/** @name UpDataStructsCollectionStats */
@@ -2424,15 +2424,17 @@
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
}
-/** @name UpDataStructsNestingRule */
-export interface UpDataStructsNestingRule extends Enum {
- readonly isDisabled: boolean;
- readonly isOwner: boolean;
- readonly isOwnerRestricted: boolean;
- readonly asOwnerRestricted: BTreeSet<u32>;
- readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';
+/** @name UpDataStructsNestingPermissions */
+export interface UpDataStructsNestingPermissions extends Struct {
+ readonly tokenOwner: bool;
+ readonly admin: bool;
+ readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
+ readonly permissive: bool;
}
+/** @name UpDataStructsOwnerRestrictedSet */
+export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
+
/** @name UpDataStructsProperties */
export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1425,27 +1425,30 @@
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
mintMode: 'Option<bool>',
- nesting: 'Option<UpDataStructsNestingRule>'
+ nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup169: up_data_structs::NestingRule
+ * Lookup169: up_data_structs::NestingPermissions
**/
- UpDataStructsNestingRule: {
- _enum: {
- Disabled: 'Null',
- Owner: 'Null',
- OwnerRestricted: 'BTreeSet<u32>'
- }
+ UpDataStructsNestingPermissions: {
+ tokenOwner: 'bool',
+ admin: 'bool',
+ restricted: 'Option<UpDataStructsOwnerRestrictedSet>',
+ permissive: 'bool'
},
/**
- * Lookup175: up_data_structs::PropertyKeyPermission
+ * Lookup171: up_data_structs::OwnerRestrictedSet
**/
+ UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
+ /**
+ * Lookup177: up_data_structs::PropertyKeyPermission
+ **/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup177: up_data_structs::PropertyPermission
+ * Lookup179: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -1453,14 +1456,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup180: up_data_structs::Property
+ * Lookup182: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup183: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ * Lookup185: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
**/
PalletEvmAccountBasicCrossAccountIdRepr: {
_enum: {
@@ -1469,7 +1472,7 @@
}
},
/**
- * Lookup185: up_data_structs::CreateItemData
+ * Lookup187: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -1479,26 +1482,26 @@
}
},
/**
- * Lookup186: up_data_structs::CreateNftData
+ * Lookup188: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup187: up_data_structs::CreateFungibleData
+ * Lookup189: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup188: up_data_structs::CreateReFungibleData
+ * Lookup190: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
constData: 'Bytes',
pieces: 'u128'
},
/**
- * Lookup193: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup195: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -1509,21 +1512,21 @@
}
},
/**
- * Lookup195: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup197: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup202: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup204: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExData: {
constData: 'Bytes',
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'
},
/**
- * Lookup204: pallet_unq_scheduler::pallet::Call<T>
+ * Lookup206: pallet_unq_scheduler::pallet::Call<T>
**/
PalletUnqSchedulerCall: {
_enum: {
@@ -1547,7 +1550,7 @@
}
},
/**
- * Lookup206: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>
+ * Lookup208: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>
**/
FrameSupportScheduleMaybeHashed: {
_enum: {
@@ -1556,15 +1559,15 @@
}
},
/**
- * Lookup207: pallet_template_transaction_payment::Call<T>
+ * Lookup209: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup208: pallet_structure::pallet::Call<T>
+ * Lookup210: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup209: pallet_rmrk_core::pallet::Call<T>
+ * Lookup211: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -1654,7 +1657,7 @@
}
},
/**
- * Lookup213: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
+ * Lookup215: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
**/
RmrkTraitsNftAccountIdOrCollectionNftTuple: {
_enum: {
@@ -1663,7 +1666,7 @@
}
},
/**
- * Lookup217: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup219: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -1672,7 +1675,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup220: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup222: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -1683,7 +1686,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup222: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup224: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -1694,7 +1697,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup223: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup225: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -1710,7 +1713,7 @@
}
},
/**
- * Lookup225: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup227: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -1719,7 +1722,7 @@
}
},
/**
- * Lookup227: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup229: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -1727,7 +1730,7 @@
src: 'Bytes'
},
/**
- * Lookup228: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup230: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -1736,7 +1739,7 @@
z: 'u32'
},
/**
- * Lookup229: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup231: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -1746,7 +1749,7 @@
}
},
/**
- * Lookup231: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
+ * Lookup233: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
**/
RmrkTraitsTheme: {
name: 'Bytes',
@@ -1754,14 +1757,14 @@
inherit: 'bool'
},
/**
- * Lookup233: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup235: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup234: pallet_evm::pallet::Call<T>
+ * Lookup236: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -1804,7 +1807,7 @@
}
},
/**
- * Lookup240: pallet_ethereum::pallet::Call<T>
+ * Lookup242: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -1814,7 +1817,7 @@
}
},
/**
- * Lookup241: ethereum::transaction::TransactionV2
+ * Lookup243: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -1824,7 +1827,7 @@
}
},
/**
- * Lookup242: ethereum::transaction::LegacyTransaction
+ * Lookup244: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -1836,7 +1839,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup243: ethereum::transaction::TransactionAction
+ * Lookup245: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -1845,7 +1848,7 @@
}
},
/**
- * Lookup244: ethereum::transaction::TransactionSignature
+ * Lookup246: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -1853,7 +1856,7 @@
s: 'H256'
},
/**
- * Lookup246: ethereum::transaction::EIP2930Transaction
+ * Lookup248: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -1869,14 +1872,14 @@
s: 'H256'
},
/**
- * Lookup248: ethereum::transaction::AccessListItem
+ * Lookup250: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup249: ethereum::transaction::EIP1559Transaction
+ * Lookup251: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -1893,7 +1896,7 @@
s: 'H256'
},
/**
- * Lookup250: pallet_evm_migration::pallet::Call<T>
+ * Lookup252: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -1911,7 +1914,7 @@
}
},
/**
- * Lookup253: pallet_sudo::pallet::Event<T>
+ * Lookup255: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -1927,7 +1930,7 @@
}
},
/**
- * Lookup255: sp_runtime::DispatchError
+ * Lookup257: sp_runtime::DispatchError
**/
SpRuntimeDispatchError: {
_enum: {
@@ -1944,38 +1947,38 @@
}
},
/**
- * Lookup256: sp_runtime::ModuleError
+ * Lookup258: sp_runtime::ModuleError
**/
SpRuntimeModuleError: {
index: 'u8',
error: '[u8;4]'
},
/**
- * Lookup257: sp_runtime::TokenError
+ * Lookup259: sp_runtime::TokenError
**/
SpRuntimeTokenError: {
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup258: sp_runtime::ArithmeticError
+ * Lookup260: sp_runtime::ArithmeticError
**/
SpRuntimeArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
- * Lookup259: sp_runtime::TransactionalError
+ * Lookup261: sp_runtime::TransactionalError
**/
SpRuntimeTransactionalError: {
_enum: ['LimitReached', 'NoLayer']
},
/**
- * Lookup260: pallet_sudo::pallet::Error<T>
+ * Lookup262: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup261: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ * Lookup263: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
**/
FrameSystemAccountInfo: {
nonce: 'u32',
@@ -1985,7 +1988,7 @@
data: 'PalletBalancesAccountData'
},
/**
- * Lookup262: frame_support::weights::PerDispatchClass<T>
+ * Lookup264: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU64: {
normal: 'u64',
@@ -1993,13 +1996,13 @@
mandatory: 'u64'
},
/**
- * Lookup263: sp_runtime::generic::digest::Digest
+ * Lookup265: sp_runtime::generic::digest::Digest
**/
SpRuntimeDigest: {
logs: 'Vec<SpRuntimeDigestDigestItem>'
},
/**
- * Lookup265: sp_runtime::generic::digest::DigestItem
+ * Lookup267: sp_runtime::generic::digest::DigestItem
**/
SpRuntimeDigestDigestItem: {
_enum: {
@@ -2015,7 +2018,7 @@
}
},
/**
- * Lookup267: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
+ * Lookup269: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -2023,7 +2026,7 @@
topics: 'Vec<H256>'
},
/**
- * Lookup269: frame_system::pallet::Event<T>
+ * Lookup271: frame_system::pallet::Event<T>
**/
FrameSystemEvent: {
_enum: {
@@ -2051,7 +2054,7 @@
}
},
/**
- * Lookup270: frame_support::weights::DispatchInfo
+ * Lookup272: frame_support::weights::DispatchInfo
**/
FrameSupportWeightsDispatchInfo: {
weight: 'u64',
@@ -2059,19 +2062,19 @@
paysFee: 'FrameSupportWeightsPays'
},
/**
- * Lookup271: frame_support::weights::DispatchClass
+ * Lookup273: frame_support::weights::DispatchClass
**/
FrameSupportWeightsDispatchClass: {
_enum: ['Normal', 'Operational', 'Mandatory']
},
/**
- * Lookup272: frame_support::weights::Pays
+ * Lookup274: frame_support::weights::Pays
**/
FrameSupportWeightsPays: {
_enum: ['Yes', 'No']
},
/**
- * Lookup273: orml_vesting::module::Event<T>
+ * Lookup275: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -2090,7 +2093,7 @@
}
},
/**
- * Lookup274: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup276: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -2105,7 +2108,7 @@
}
},
/**
- * Lookup275: pallet_xcm::pallet::Event<T>
+ * Lookup277: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -2128,7 +2131,7 @@
}
},
/**
- * Lookup276: xcm::v2::traits::Outcome
+ * Lookup278: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -2138,7 +2141,7 @@
}
},
/**
- * Lookup278: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup280: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -2148,7 +2151,7 @@
}
},
/**
- * Lookup279: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup281: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -2161,7 +2164,7 @@
}
},
/**
- * Lookup280: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup282: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletUniqueRawEvent: {
_enum: {
@@ -2178,7 +2181,7 @@
}
},
/**
- * Lookup281: pallet_unq_scheduler::pallet::Event<T>
+ * Lookup283: pallet_unq_scheduler::pallet::Event<T>
**/
PalletUnqSchedulerEvent: {
_enum: {
@@ -2203,13 +2206,13 @@
}
},
/**
- * Lookup283: frame_support::traits::schedule::LookupError
+ * Lookup285: frame_support::traits::schedule::LookupError
**/
FrameSupportScheduleLookupError: {
_enum: ['Unknown', 'BadFormat']
},
/**
- * Lookup284: pallet_common::pallet::Event<T>
+ * Lookup286: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -2227,7 +2230,7 @@
}
},
/**
- * Lookup285: pallet_structure::pallet::Event<T>
+ * Lookup287: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -2235,7 +2238,7 @@
}
},
/**
- * Lookup286: pallet_rmrk_core::pallet::Event<T>
+ * Lookup288: pallet_rmrk_core::pallet::Event<T>
**/
PalletRmrkCoreEvent: {
_enum: {
@@ -2312,7 +2315,7 @@
}
},
/**
- * Lookup287: pallet_rmrk_equip::pallet::Event<T>
+ * Lookup289: pallet_rmrk_equip::pallet::Event<T>
**/
PalletRmrkEquipEvent: {
_enum: {
@@ -2323,7 +2326,7 @@
}
},
/**
- * Lookup288: pallet_evm::pallet::Event<T>
+ * Lookup290: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -2337,7 +2340,7 @@
}
},
/**
- * Lookup289: ethereum::log::Log
+ * Lookup291: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -2345,7 +2348,7 @@
data: 'Bytes'
},
/**
- * Lookup290: pallet_ethereum::pallet::Event
+ * Lookup292: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -2353,7 +2356,7 @@
}
},
/**
- * Lookup291: evm_core::error::ExitReason
+ * Lookup293: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -2364,13 +2367,13 @@
}
},
/**
- * Lookup292: evm_core::error::ExitSucceed
+ * Lookup294: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup293: evm_core::error::ExitError
+ * Lookup295: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -2392,13 +2395,13 @@
}
},
/**
- * Lookup296: evm_core::error::ExitRevert
+ * Lookup298: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup297: evm_core::error::ExitFatal
+ * Lookup299: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -2409,7 +2412,7 @@
}
},
/**
- * Lookup298: frame_system::Phase
+ * Lookup300: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -2419,14 +2422,14 @@
}
},
/**
- * Lookup300: frame_system::LastRuntimeUpgradeInfo
+ * Lookup302: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup301: frame_system::limits::BlockWeights
+ * Lookup303: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -2434,7 +2437,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup302: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup304: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -2442,7 +2445,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup303: frame_system::limits::WeightsPerClass
+ * Lookup305: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -2451,13 +2454,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup305: frame_system::limits::BlockLength
+ * Lookup307: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup306: frame_support::weights::PerDispatchClass<T>
+ * Lookup308: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -2465,14 +2468,14 @@
mandatory: 'u32'
},
/**
- * Lookup307: frame_support::weights::RuntimeDbWeight
+ * Lookup309: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup308: sp_version::RuntimeVersion
+ * Lookup310: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -2485,19 +2488,19 @@
stateVersion: 'u8'
},
/**
- * Lookup312: frame_system::pallet::Error<T>
+ * Lookup314: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup314: orml_vesting::module::Error<T>
+ * Lookup316: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup316: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup318: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2505,19 +2508,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup317: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup319: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup320: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup322: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup323: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup325: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2527,13 +2530,13 @@
lastIndex: 'u16'
},
/**
- * Lookup324: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup326: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup326: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup328: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2544,29 +2547,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup328: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup330: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup329: pallet_xcm::pallet::Error<T>
+ * Lookup331: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup330: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup332: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup331: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup333: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup332: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup334: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2574,19 +2577,19 @@
overweightCount: 'u64'
},
/**
- * Lookup335: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup337: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup339: pallet_unique::Error<T>
+ * Lookup341: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
},
/**
- * Lookup342: pallet_unq_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
+ * Lookup344: pallet_unq_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
**/
PalletUnqSchedulerScheduledV3: {
maybeId: 'Option<[u8;16]>',
@@ -2596,7 +2599,7 @@
origin: 'OpalRuntimeOriginCaller'
},
/**
- * Lookup343: opal_runtime::OriginCaller
+ * Lookup345: opal_runtime::OriginCaller
**/
OpalRuntimeOriginCaller: {
_enum: {
@@ -2705,7 +2708,7 @@
}
},
/**
- * Lookup344: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
+ * Lookup346: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
**/
FrameSupportDispatchRawOrigin: {
_enum: {
@@ -2715,7 +2718,7 @@
}
},
/**
- * Lookup345: pallet_xcm::pallet::Origin
+ * Lookup347: pallet_xcm::pallet::Origin
**/
PalletXcmOrigin: {
_enum: {
@@ -2724,7 +2727,7 @@
}
},
/**
- * Lookup346: cumulus_pallet_xcm::pallet::Origin
+ * Lookup348: cumulus_pallet_xcm::pallet::Origin
**/
CumulusPalletXcmOrigin: {
_enum: {
@@ -2733,7 +2736,7 @@
}
},
/**
- * Lookup347: pallet_ethereum::RawOrigin
+ * Lookup349: pallet_ethereum::RawOrigin
**/
PalletEthereumRawOrigin: {
_enum: {
@@ -2741,17 +2744,17 @@
}
},
/**
- * Lookup348: sp_core::Void
+ * Lookup350: sp_core::Void
**/
SpCoreVoid: 'Null',
/**
- * Lookup349: pallet_unq_scheduler::pallet::Error<T>
+ * Lookup351: pallet_unq_scheduler::pallet::Error<T>
**/
PalletUnqSchedulerError: {
_enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']
},
/**
- * Lookup350: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup352: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2765,7 +2768,7 @@
externalCollection: 'bool'
},
/**
- * Lookup351: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup353: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2775,7 +2778,7 @@
}
},
/**
- * Lookup352: up_data_structs::Properties
+ * Lookup354: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2783,15 +2786,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup353: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup355: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup358: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup360: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup365: up_data_structs::CollectionStats
+ * Lookup367: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2799,25 +2802,25 @@
alive: 'u32'
},
/**
- * Lookup366: up_data_structs::TokenChild
+ * Lookup368: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup367: PhantomType::up_data_structs<T>
+ * Lookup369: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup369: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup371: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'
},
/**
- * Lookup371: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup373: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -2833,7 +2836,7 @@
readOnly: 'bool'
},
/**
- * Lookup372: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup374: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -2843,7 +2846,7 @@
nftsCount: 'u32'
},
/**
- * Lookup373: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup375: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -2853,14 +2856,14 @@
pending: 'bool'
},
/**
- * Lookup375: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup377: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup376: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup378: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -2869,7 +2872,7 @@
pendingRemoval: 'bool'
},
/**
- * Lookup377: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup379: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -2879,14 +2882,14 @@
}
},
/**
- * Lookup378: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup380: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup379: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup381: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -2894,74 +2897,74 @@
symbol: 'Bytes'
},
/**
- * Lookup380: rmrk_traits::nft::NftChild
+ * Lookup382: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup382: pallet_common::pallet::Error<T>
+ * Lookup384: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
- _enum: ['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', 'CollectionIsExternal', 'CollectionIsInternal']
+ _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal']
},
/**
- * Lookup384: pallet_fungible::pallet::Error<T>
+ * Lookup386: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup385: pallet_refungible::ItemData
+ * Lookup387: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup389: pallet_refungible::pallet::Error<T>
+ * Lookup391: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup390: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup392: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup392: pallet_nonfungible::pallet::Error<T>
+ * Lookup394: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup393: pallet_structure::pallet::Error<T>
+ * Lookup395: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
- _enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']
+ _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup394: pallet_rmrk_core::pallet::Error<T>
+ * Lookup396: pallet_rmrk_core::pallet::Error<T>
**/
PalletRmrkCoreError: {
_enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'ResourceNotPending']
},
/**
- * Lookup396: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup398: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']
},
/**
- * Lookup399: pallet_evm::pallet::Error<T>
+ * Lookup401: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup402: fp_rpc::TransactionStatus
+ * Lookup404: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -2973,11 +2976,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup404: ethbloom::Bloom
+ * Lookup406: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup406: ethereum::receipt::ReceiptV3
+ * Lookup408: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -2987,7 +2990,7 @@
}
},
/**
- * Lookup407: ethereum::receipt::EIP658ReceiptData
+ * Lookup409: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -2996,7 +2999,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup408: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup410: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3004,7 +3007,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup409: ethereum::header::Header
+ * Lookup411: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3024,41 +3027,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup410: ethereum_types::hash::H64
+ * Lookup412: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup415: pallet_ethereum::pallet::Error<T>
+ * Lookup417: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup416: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup418: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup417: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup419: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup419: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup421: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup420: pallet_evm_migration::pallet::Error<T>
+ * Lookup422: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup422: sp_runtime::MultiSignature
+ * Lookup424: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3068,43 +3071,43 @@
}
},
/**
- * Lookup423: sp_core::ed25519::Signature
+ * Lookup425: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup425: sp_core::sr25519::Signature
+ * Lookup427: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup426: sp_core::ecdsa::Signature
+ * Lookup428: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup429: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup431: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup430: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup432: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup433: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup435: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup434: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup436: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup435: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup437: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup436: opal_runtime::Runtime
+ * Lookup438: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup437: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup439: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUnqSchedulerCall, PalletUnqSchedulerError, PalletUnqSchedulerEvent, PalletUnqSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUnqSchedulerCall, PalletUnqSchedulerError, PalletUnqSchedulerEvent, PalletUnqSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
export interface InterfaceTypes {
@@ -196,7 +196,8 @@
UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
- UpDataStructsNestingRule: UpDataStructsNestingRule;
+ UpDataStructsNestingPermissions: UpDataStructsNestingPermissions;
+ UpDataStructsOwnerRestrictedSet: UpDataStructsOwnerRestrictedSet;
UpDataStructsProperties: UpDataStructsProperties;
UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;
UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission;
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 (51) */165 export interface PalletBalancesReleases extends Enum {166 readonly isV100: boolean;167 readonly isV200: boolean;168 readonly type: 'V100' | 'V200';169 }170171 /** @name PalletBalancesCall (52) */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 (58) */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 (59) */268 export interface FrameSupportTokensMiscBalanceStatus extends Enum {269 readonly isFree: boolean;270 readonly isReserved: boolean;271 readonly type: 'Free' | 'Reserved';272 }273274 /** @name PalletBalancesError (60) */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 (63) */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 (66) */297 export interface PalletTransactionPaymentReleases extends Enum {298 readonly isV1Ancient: boolean;299 readonly isV2: boolean;300 readonly type: 'V1Ancient' | 'V2';301 }302303 /** @name FrameSupportWeightsWeightToFeeCoefficient (68) */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 (70) */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 (73) */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 isRemoveApproval: boolean;335 readonly asRemoveApproval: {336 readonly proposalId: Compact<u32>;337 } & Struct;338 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'RemoveApproval';339 }340341 /** @name PalletTreasuryEvent (75) */342 export interface PalletTreasuryEvent extends Enum {343 readonly isProposed: boolean;344 readonly asProposed: {345 readonly proposalIndex: u32;346 } & Struct;347 readonly isSpending: boolean;348 readonly asSpending: {349 readonly budgetRemaining: u128;350 } & Struct;351 readonly isAwarded: boolean;352 readonly asAwarded: {353 readonly proposalIndex: u32;354 readonly award: u128;355 readonly account: AccountId32;356 } & Struct;357 readonly isRejected: boolean;358 readonly asRejected: {359 readonly proposalIndex: u32;360 readonly slashed: u128;361 } & Struct;362 readonly isBurnt: boolean;363 readonly asBurnt: {364 readonly burntFunds: u128;365 } & Struct;366 readonly isRollover: boolean;367 readonly asRollover: {368 readonly rolloverBalance: u128;369 } & Struct;370 readonly isDeposit: boolean;371 readonly asDeposit: {372 readonly value: u128;373 } & Struct;374 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';375 }376377 /** @name FrameSupportPalletId (78) */378 export interface FrameSupportPalletId extends U8aFixed {}379380 /** @name PalletTreasuryError (79) */381 export interface PalletTreasuryError extends Enum {382 readonly isInsufficientProposersBalance: boolean;383 readonly isInvalidIndex: boolean;384 readonly isTooManyApprovals: boolean;385 readonly isProposalNotApproved: boolean;386 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'ProposalNotApproved';387 }388389 /** @name PalletSudoCall (80) */390 export interface PalletSudoCall extends Enum {391 readonly isSudo: boolean;392 readonly asSudo: {393 readonly call: Call;394 } & Struct;395 readonly isSudoUncheckedWeight: boolean;396 readonly asSudoUncheckedWeight: {397 readonly call: Call;398 readonly weight: u64;399 } & Struct;400 readonly isSetKey: boolean;401 readonly asSetKey: {402 readonly new_: MultiAddress;403 } & Struct;404 readonly isSudoAs: boolean;405 readonly asSudoAs: {406 readonly who: MultiAddress;407 readonly call: Call;408 } & Struct;409 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';410 }411412 /** @name FrameSystemCall (82) */413 export interface FrameSystemCall extends Enum {414 readonly isFillBlock: boolean;415 readonly asFillBlock: {416 readonly ratio: Perbill;417 } & Struct;418 readonly isRemark: boolean;419 readonly asRemark: {420 readonly remark: Bytes;421 } & Struct;422 readonly isSetHeapPages: boolean;423 readonly asSetHeapPages: {424 readonly pages: u64;425 } & Struct;426 readonly isSetCode: boolean;427 readonly asSetCode: {428 readonly code: Bytes;429 } & Struct;430 readonly isSetCodeWithoutChecks: boolean;431 readonly asSetCodeWithoutChecks: {432 readonly code: Bytes;433 } & Struct;434 readonly isSetStorage: boolean;435 readonly asSetStorage: {436 readonly items: Vec<ITuple<[Bytes, Bytes]>>;437 } & Struct;438 readonly isKillStorage: boolean;439 readonly asKillStorage: {440 readonly keys_: Vec<Bytes>;441 } & Struct;442 readonly isKillPrefix: boolean;443 readonly asKillPrefix: {444 readonly prefix: Bytes;445 readonly subkeys: u32;446 } & Struct;447 readonly isRemarkWithEvent: boolean;448 readonly asRemarkWithEvent: {449 readonly remark: Bytes;450 } & Struct;451 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';452 }453454 /** @name OrmlVestingModuleCall (85) */455 export interface OrmlVestingModuleCall extends Enum {456 readonly isClaim: boolean;457 readonly isVestedTransfer: boolean;458 readonly asVestedTransfer: {459 readonly dest: MultiAddress;460 readonly schedule: OrmlVestingVestingSchedule;461 } & Struct;462 readonly isUpdateVestingSchedules: boolean;463 readonly asUpdateVestingSchedules: {464 readonly who: MultiAddress;465 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;466 } & Struct;467 readonly isClaimFor: boolean;468 readonly asClaimFor: {469 readonly dest: MultiAddress;470 } & Struct;471 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';472 }473474 /** @name OrmlVestingVestingSchedule (86) */475 export interface OrmlVestingVestingSchedule extends Struct {476 readonly start: u32;477 readonly period: u32;478 readonly periodCount: u32;479 readonly perPeriod: Compact<u128>;480 }481482 /** @name CumulusPalletXcmpQueueCall (88) */483 export interface CumulusPalletXcmpQueueCall extends Enum {484 readonly isServiceOverweight: boolean;485 readonly asServiceOverweight: {486 readonly index: u64;487 readonly weightLimit: u64;488 } & Struct;489 readonly isSuspendXcmExecution: boolean;490 readonly isResumeXcmExecution: boolean;491 readonly isUpdateSuspendThreshold: boolean;492 readonly asUpdateSuspendThreshold: {493 readonly new_: u32;494 } & Struct;495 readonly isUpdateDropThreshold: boolean;496 readonly asUpdateDropThreshold: {497 readonly new_: u32;498 } & Struct;499 readonly isUpdateResumeThreshold: boolean;500 readonly asUpdateResumeThreshold: {501 readonly new_: u32;502 } & Struct;503 readonly isUpdateThresholdWeight: boolean;504 readonly asUpdateThresholdWeight: {505 readonly new_: u64;506 } & Struct;507 readonly isUpdateWeightRestrictDecay: boolean;508 readonly asUpdateWeightRestrictDecay: {509 readonly new_: u64;510 } & Struct;511 readonly isUpdateXcmpMaxIndividualWeight: boolean;512 readonly asUpdateXcmpMaxIndividualWeight: {513 readonly new_: u64;514 } & Struct;515 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';516 }517518 /** @name PalletXcmCall (89) */519 export interface PalletXcmCall extends Enum {520 readonly isSend: boolean;521 readonly asSend: {522 readonly dest: XcmVersionedMultiLocation;523 readonly message: XcmVersionedXcm;524 } & Struct;525 readonly isTeleportAssets: boolean;526 readonly asTeleportAssets: {527 readonly dest: XcmVersionedMultiLocation;528 readonly beneficiary: XcmVersionedMultiLocation;529 readonly assets: XcmVersionedMultiAssets;530 readonly feeAssetItem: u32;531 } & Struct;532 readonly isReserveTransferAssets: boolean;533 readonly asReserveTransferAssets: {534 readonly dest: XcmVersionedMultiLocation;535 readonly beneficiary: XcmVersionedMultiLocation;536 readonly assets: XcmVersionedMultiAssets;537 readonly feeAssetItem: u32;538 } & Struct;539 readonly isExecute: boolean;540 readonly asExecute: {541 readonly message: XcmVersionedXcm;542 readonly maxWeight: u64;543 } & Struct;544 readonly isForceXcmVersion: boolean;545 readonly asForceXcmVersion: {546 readonly location: XcmV1MultiLocation;547 readonly xcmVersion: u32;548 } & Struct;549 readonly isForceDefaultXcmVersion: boolean;550 readonly asForceDefaultXcmVersion: {551 readonly maybeXcmVersion: Option<u32>;552 } & Struct;553 readonly isForceSubscribeVersionNotify: boolean;554 readonly asForceSubscribeVersionNotify: {555 readonly location: XcmVersionedMultiLocation;556 } & Struct;557 readonly isForceUnsubscribeVersionNotify: boolean;558 readonly asForceUnsubscribeVersionNotify: {559 readonly location: XcmVersionedMultiLocation;560 } & Struct;561 readonly isLimitedReserveTransferAssets: boolean;562 readonly asLimitedReserveTransferAssets: {563 readonly dest: XcmVersionedMultiLocation;564 readonly beneficiary: XcmVersionedMultiLocation;565 readonly assets: XcmVersionedMultiAssets;566 readonly feeAssetItem: u32;567 readonly weightLimit: XcmV2WeightLimit;568 } & Struct;569 readonly isLimitedTeleportAssets: boolean;570 readonly asLimitedTeleportAssets: {571 readonly dest: XcmVersionedMultiLocation;572 readonly beneficiary: XcmVersionedMultiLocation;573 readonly assets: XcmVersionedMultiAssets;574 readonly feeAssetItem: u32;575 readonly weightLimit: XcmV2WeightLimit;576 } & Struct;577 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';578 }579580 /** @name XcmVersionedMultiLocation (90) */581 export interface XcmVersionedMultiLocation extends Enum {582 readonly isV0: boolean;583 readonly asV0: XcmV0MultiLocation;584 readonly isV1: boolean;585 readonly asV1: XcmV1MultiLocation;586 readonly type: 'V0' | 'V1';587 }588589 /** @name XcmV0MultiLocation (91) */590 export interface XcmV0MultiLocation extends Enum {591 readonly isNull: boolean;592 readonly isX1: boolean;593 readonly asX1: XcmV0Junction;594 readonly isX2: boolean;595 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;596 readonly isX3: boolean;597 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;598 readonly isX4: boolean;599 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;600 readonly isX5: boolean;601 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;602 readonly isX6: boolean;603 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;604 readonly isX7: boolean;605 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;606 readonly isX8: boolean;607 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;608 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';609 }610611 /** @name XcmV0Junction (92) */612 export interface XcmV0Junction extends Enum {613 readonly isParent: boolean;614 readonly isParachain: boolean;615 readonly asParachain: Compact<u32>;616 readonly isAccountId32: boolean;617 readonly asAccountId32: {618 readonly network: XcmV0JunctionNetworkId;619 readonly id: U8aFixed;620 } & Struct;621 readonly isAccountIndex64: boolean;622 readonly asAccountIndex64: {623 readonly network: XcmV0JunctionNetworkId;624 readonly index: Compact<u64>;625 } & Struct;626 readonly isAccountKey20: boolean;627 readonly asAccountKey20: {628 readonly network: XcmV0JunctionNetworkId;629 readonly key: U8aFixed;630 } & Struct;631 readonly isPalletInstance: boolean;632 readonly asPalletInstance: u8;633 readonly isGeneralIndex: boolean;634 readonly asGeneralIndex: Compact<u128>;635 readonly isGeneralKey: boolean;636 readonly asGeneralKey: Bytes;637 readonly isOnlyChild: boolean;638 readonly isPlurality: boolean;639 readonly asPlurality: {640 readonly id: XcmV0JunctionBodyId;641 readonly part: XcmV0JunctionBodyPart;642 } & Struct;643 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';644 }645646 /** @name XcmV0JunctionNetworkId (93) */647 export interface XcmV0JunctionNetworkId extends Enum {648 readonly isAny: boolean;649 readonly isNamed: boolean;650 readonly asNamed: Bytes;651 readonly isPolkadot: boolean;652 readonly isKusama: boolean;653 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';654 }655656 /** @name XcmV0JunctionBodyId (94) */657 export interface XcmV0JunctionBodyId extends Enum {658 readonly isUnit: boolean;659 readonly isNamed: boolean;660 readonly asNamed: Bytes;661 readonly isIndex: boolean;662 readonly asIndex: Compact<u32>;663 readonly isExecutive: boolean;664 readonly isTechnical: boolean;665 readonly isLegislative: boolean;666 readonly isJudicial: boolean;667 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';668 }669670 /** @name XcmV0JunctionBodyPart (95) */671 export interface XcmV0JunctionBodyPart extends Enum {672 readonly isVoice: boolean;673 readonly isMembers: boolean;674 readonly asMembers: {675 readonly count: Compact<u32>;676 } & Struct;677 readonly isFraction: boolean;678 readonly asFraction: {679 readonly nom: Compact<u32>;680 readonly denom: Compact<u32>;681 } & Struct;682 readonly isAtLeastProportion: boolean;683 readonly asAtLeastProportion: {684 readonly nom: Compact<u32>;685 readonly denom: Compact<u32>;686 } & Struct;687 readonly isMoreThanProportion: boolean;688 readonly asMoreThanProportion: {689 readonly nom: Compact<u32>;690 readonly denom: Compact<u32>;691 } & Struct;692 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';693 }694695 /** @name XcmV1MultiLocation (96) */696 export interface XcmV1MultiLocation extends Struct {697 readonly parents: u8;698 readonly interior: XcmV1MultilocationJunctions;699 }700701 /** @name XcmV1MultilocationJunctions (97) */702 export interface XcmV1MultilocationJunctions extends Enum {703 readonly isHere: boolean;704 readonly isX1: boolean;705 readonly asX1: XcmV1Junction;706 readonly isX2: boolean;707 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;708 readonly isX3: boolean;709 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;710 readonly isX4: boolean;711 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;712 readonly isX5: boolean;713 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;714 readonly isX6: boolean;715 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;716 readonly isX7: boolean;717 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;718 readonly isX8: boolean;719 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;720 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';721 }722723 /** @name XcmV1Junction (98) */724 export interface XcmV1Junction extends Enum {725 readonly isParachain: boolean;726 readonly asParachain: Compact<u32>;727 readonly isAccountId32: boolean;728 readonly asAccountId32: {729 readonly network: XcmV0JunctionNetworkId;730 readonly id: U8aFixed;731 } & Struct;732 readonly isAccountIndex64: boolean;733 readonly asAccountIndex64: {734 readonly network: XcmV0JunctionNetworkId;735 readonly index: Compact<u64>;736 } & Struct;737 readonly isAccountKey20: boolean;738 readonly asAccountKey20: {739 readonly network: XcmV0JunctionNetworkId;740 readonly key: U8aFixed;741 } & Struct;742 readonly isPalletInstance: boolean;743 readonly asPalletInstance: u8;744 readonly isGeneralIndex: boolean;745 readonly asGeneralIndex: Compact<u128>;746 readonly isGeneralKey: boolean;747 readonly asGeneralKey: Bytes;748 readonly isOnlyChild: boolean;749 readonly isPlurality: boolean;750 readonly asPlurality: {751 readonly id: XcmV0JunctionBodyId;752 readonly part: XcmV0JunctionBodyPart;753 } & Struct;754 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';755 }756757 /** @name XcmVersionedXcm (99) */758 export interface XcmVersionedXcm extends Enum {759 readonly isV0: boolean;760 readonly asV0: XcmV0Xcm;761 readonly isV1: boolean;762 readonly asV1: XcmV1Xcm;763 readonly isV2: boolean;764 readonly asV2: XcmV2Xcm;765 readonly type: 'V0' | 'V1' | 'V2';766 }767768 /** @name XcmV0Xcm (100) */769 export interface XcmV0Xcm extends Enum {770 readonly isWithdrawAsset: boolean;771 readonly asWithdrawAsset: {772 readonly assets: Vec<XcmV0MultiAsset>;773 readonly effects: Vec<XcmV0Order>;774 } & Struct;775 readonly isReserveAssetDeposit: boolean;776 readonly asReserveAssetDeposit: {777 readonly assets: Vec<XcmV0MultiAsset>;778 readonly effects: Vec<XcmV0Order>;779 } & Struct;780 readonly isTeleportAsset: boolean;781 readonly asTeleportAsset: {782 readonly assets: Vec<XcmV0MultiAsset>;783 readonly effects: Vec<XcmV0Order>;784 } & Struct;785 readonly isQueryResponse: boolean;786 readonly asQueryResponse: {787 readonly queryId: Compact<u64>;788 readonly response: XcmV0Response;789 } & Struct;790 readonly isTransferAsset: boolean;791 readonly asTransferAsset: {792 readonly assets: Vec<XcmV0MultiAsset>;793 readonly dest: XcmV0MultiLocation;794 } & Struct;795 readonly isTransferReserveAsset: boolean;796 readonly asTransferReserveAsset: {797 readonly assets: Vec<XcmV0MultiAsset>;798 readonly dest: XcmV0MultiLocation;799 readonly effects: Vec<XcmV0Order>;800 } & Struct;801 readonly isTransact: boolean;802 readonly asTransact: {803 readonly originType: XcmV0OriginKind;804 readonly requireWeightAtMost: u64;805 readonly call: XcmDoubleEncoded;806 } & Struct;807 readonly isHrmpNewChannelOpenRequest: boolean;808 readonly asHrmpNewChannelOpenRequest: {809 readonly sender: Compact<u32>;810 readonly maxMessageSize: Compact<u32>;811 readonly maxCapacity: Compact<u32>;812 } & Struct;813 readonly isHrmpChannelAccepted: boolean;814 readonly asHrmpChannelAccepted: {815 readonly recipient: Compact<u32>;816 } & Struct;817 readonly isHrmpChannelClosing: boolean;818 readonly asHrmpChannelClosing: {819 readonly initiator: Compact<u32>;820 readonly sender: Compact<u32>;821 readonly recipient: Compact<u32>;822 } & Struct;823 readonly isRelayedFrom: boolean;824 readonly asRelayedFrom: {825 readonly who: XcmV0MultiLocation;826 readonly message: XcmV0Xcm;827 } & Struct;828 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';829 }830831 /** @name XcmV0MultiAsset (102) */832 export interface XcmV0MultiAsset extends Enum {833 readonly isNone: boolean;834 readonly isAll: boolean;835 readonly isAllFungible: boolean;836 readonly isAllNonFungible: boolean;837 readonly isAllAbstractFungible: boolean;838 readonly asAllAbstractFungible: {839 readonly id: Bytes;840 } & Struct;841 readonly isAllAbstractNonFungible: boolean;842 readonly asAllAbstractNonFungible: {843 readonly class: Bytes;844 } & Struct;845 readonly isAllConcreteFungible: boolean;846 readonly asAllConcreteFungible: {847 readonly id: XcmV0MultiLocation;848 } & Struct;849 readonly isAllConcreteNonFungible: boolean;850 readonly asAllConcreteNonFungible: {851 readonly class: XcmV0MultiLocation;852 } & Struct;853 readonly isAbstractFungible: boolean;854 readonly asAbstractFungible: {855 readonly id: Bytes;856 readonly amount: Compact<u128>;857 } & Struct;858 readonly isAbstractNonFungible: boolean;859 readonly asAbstractNonFungible: {860 readonly class: Bytes;861 readonly instance: XcmV1MultiassetAssetInstance;862 } & Struct;863 readonly isConcreteFungible: boolean;864 readonly asConcreteFungible: {865 readonly id: XcmV0MultiLocation;866 readonly amount: Compact<u128>;867 } & Struct;868 readonly isConcreteNonFungible: boolean;869 readonly asConcreteNonFungible: {870 readonly class: XcmV0MultiLocation;871 readonly instance: XcmV1MultiassetAssetInstance;872 } & Struct;873 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';874 }875876 /** @name XcmV1MultiassetAssetInstance (103) */877 export interface XcmV1MultiassetAssetInstance extends Enum {878 readonly isUndefined: boolean;879 readonly isIndex: boolean;880 readonly asIndex: Compact<u128>;881 readonly isArray4: boolean;882 readonly asArray4: U8aFixed;883 readonly isArray8: boolean;884 readonly asArray8: U8aFixed;885 readonly isArray16: boolean;886 readonly asArray16: U8aFixed;887 readonly isArray32: boolean;888 readonly asArray32: U8aFixed;889 readonly isBlob: boolean;890 readonly asBlob: Bytes;891 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';892 }893894 /** @name XcmV0Order (106) */895 export interface XcmV0Order extends Enum {896 readonly isNull: boolean;897 readonly isDepositAsset: boolean;898 readonly asDepositAsset: {899 readonly assets: Vec<XcmV0MultiAsset>;900 readonly dest: XcmV0MultiLocation;901 } & Struct;902 readonly isDepositReserveAsset: boolean;903 readonly asDepositReserveAsset: {904 readonly assets: Vec<XcmV0MultiAsset>;905 readonly dest: XcmV0MultiLocation;906 readonly effects: Vec<XcmV0Order>;907 } & Struct;908 readonly isExchangeAsset: boolean;909 readonly asExchangeAsset: {910 readonly give: Vec<XcmV0MultiAsset>;911 readonly receive: Vec<XcmV0MultiAsset>;912 } & Struct;913 readonly isInitiateReserveWithdraw: boolean;914 readonly asInitiateReserveWithdraw: {915 readonly assets: Vec<XcmV0MultiAsset>;916 readonly reserve: XcmV0MultiLocation;917 readonly effects: Vec<XcmV0Order>;918 } & Struct;919 readonly isInitiateTeleport: boolean;920 readonly asInitiateTeleport: {921 readonly assets: Vec<XcmV0MultiAsset>;922 readonly dest: XcmV0MultiLocation;923 readonly effects: Vec<XcmV0Order>;924 } & Struct;925 readonly isQueryHolding: boolean;926 readonly asQueryHolding: {927 readonly queryId: Compact<u64>;928 readonly dest: XcmV0MultiLocation;929 readonly assets: Vec<XcmV0MultiAsset>;930 } & Struct;931 readonly isBuyExecution: boolean;932 readonly asBuyExecution: {933 readonly fees: XcmV0MultiAsset;934 readonly weight: u64;935 readonly debt: u64;936 readonly haltOnError: bool;937 readonly xcm: Vec<XcmV0Xcm>;938 } & Struct;939 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';940 }941942 /** @name XcmV0Response (108) */943 export interface XcmV0Response extends Enum {944 readonly isAssets: boolean;945 readonly asAssets: Vec<XcmV0MultiAsset>;946 readonly type: 'Assets';947 }948949 /** @name XcmV0OriginKind (109) */950 export interface XcmV0OriginKind extends Enum {951 readonly isNative: boolean;952 readonly isSovereignAccount: boolean;953 readonly isSuperuser: boolean;954 readonly isXcm: boolean;955 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';956 }957958 /** @name XcmDoubleEncoded (110) */959 export interface XcmDoubleEncoded extends Struct {960 readonly encoded: Bytes;961 }962963 /** @name XcmV1Xcm (111) */964 export interface XcmV1Xcm extends Enum {965 readonly isWithdrawAsset: boolean;966 readonly asWithdrawAsset: {967 readonly assets: XcmV1MultiassetMultiAssets;968 readonly effects: Vec<XcmV1Order>;969 } & Struct;970 readonly isReserveAssetDeposited: boolean;971 readonly asReserveAssetDeposited: {972 readonly assets: XcmV1MultiassetMultiAssets;973 readonly effects: Vec<XcmV1Order>;974 } & Struct;975 readonly isReceiveTeleportedAsset: boolean;976 readonly asReceiveTeleportedAsset: {977 readonly assets: XcmV1MultiassetMultiAssets;978 readonly effects: Vec<XcmV1Order>;979 } & Struct;980 readonly isQueryResponse: boolean;981 readonly asQueryResponse: {982 readonly queryId: Compact<u64>;983 readonly response: XcmV1Response;984 } & Struct;985 readonly isTransferAsset: boolean;986 readonly asTransferAsset: {987 readonly assets: XcmV1MultiassetMultiAssets;988 readonly beneficiary: XcmV1MultiLocation;989 } & Struct;990 readonly isTransferReserveAsset: boolean;991 readonly asTransferReserveAsset: {992 readonly assets: XcmV1MultiassetMultiAssets;993 readonly dest: XcmV1MultiLocation;994 readonly effects: Vec<XcmV1Order>;995 } & Struct;996 readonly isTransact: boolean;997 readonly asTransact: {998 readonly originType: XcmV0OriginKind;999 readonly requireWeightAtMost: u64;1000 readonly call: XcmDoubleEncoded;1001 } & Struct;1002 readonly isHrmpNewChannelOpenRequest: boolean;1003 readonly asHrmpNewChannelOpenRequest: {1004 readonly sender: Compact<u32>;1005 readonly maxMessageSize: Compact<u32>;1006 readonly maxCapacity: Compact<u32>;1007 } & Struct;1008 readonly isHrmpChannelAccepted: boolean;1009 readonly asHrmpChannelAccepted: {1010 readonly recipient: Compact<u32>;1011 } & Struct;1012 readonly isHrmpChannelClosing: boolean;1013 readonly asHrmpChannelClosing: {1014 readonly initiator: Compact<u32>;1015 readonly sender: Compact<u32>;1016 readonly recipient: Compact<u32>;1017 } & Struct;1018 readonly isRelayedFrom: boolean;1019 readonly asRelayedFrom: {1020 readonly who: XcmV1MultilocationJunctions;1021 readonly message: XcmV1Xcm;1022 } & Struct;1023 readonly isSubscribeVersion: boolean;1024 readonly asSubscribeVersion: {1025 readonly queryId: Compact<u64>;1026 readonly maxResponseWeight: Compact<u64>;1027 } & Struct;1028 readonly isUnsubscribeVersion: boolean;1029 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1030 }10311032 /** @name XcmV1MultiassetMultiAssets (112) */1033 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10341035 /** @name XcmV1MultiAsset (114) */1036 export interface XcmV1MultiAsset extends Struct {1037 readonly id: XcmV1MultiassetAssetId;1038 readonly fun: XcmV1MultiassetFungibility;1039 }10401041 /** @name XcmV1MultiassetAssetId (115) */1042 export interface XcmV1MultiassetAssetId extends Enum {1043 readonly isConcrete: boolean;1044 readonly asConcrete: XcmV1MultiLocation;1045 readonly isAbstract: boolean;1046 readonly asAbstract: Bytes;1047 readonly type: 'Concrete' | 'Abstract';1048 }10491050 /** @name XcmV1MultiassetFungibility (116) */1051 export interface XcmV1MultiassetFungibility extends Enum {1052 readonly isFungible: boolean;1053 readonly asFungible: Compact<u128>;1054 readonly isNonFungible: boolean;1055 readonly asNonFungible: XcmV1MultiassetAssetInstance;1056 readonly type: 'Fungible' | 'NonFungible';1057 }10581059 /** @name XcmV1Order (118) */1060 export interface XcmV1Order extends Enum {1061 readonly isNoop: boolean;1062 readonly isDepositAsset: boolean;1063 readonly asDepositAsset: {1064 readonly assets: XcmV1MultiassetMultiAssetFilter;1065 readonly maxAssets: u32;1066 readonly beneficiary: XcmV1MultiLocation;1067 } & Struct;1068 readonly isDepositReserveAsset: boolean;1069 readonly asDepositReserveAsset: {1070 readonly assets: XcmV1MultiassetMultiAssetFilter;1071 readonly maxAssets: u32;1072 readonly dest: XcmV1MultiLocation;1073 readonly effects: Vec<XcmV1Order>;1074 } & Struct;1075 readonly isExchangeAsset: boolean;1076 readonly asExchangeAsset: {1077 readonly give: XcmV1MultiassetMultiAssetFilter;1078 readonly receive: XcmV1MultiassetMultiAssets;1079 } & Struct;1080 readonly isInitiateReserveWithdraw: boolean;1081 readonly asInitiateReserveWithdraw: {1082 readonly assets: XcmV1MultiassetMultiAssetFilter;1083 readonly reserve: XcmV1MultiLocation;1084 readonly effects: Vec<XcmV1Order>;1085 } & Struct;1086 readonly isInitiateTeleport: boolean;1087 readonly asInitiateTeleport: {1088 readonly assets: XcmV1MultiassetMultiAssetFilter;1089 readonly dest: XcmV1MultiLocation;1090 readonly effects: Vec<XcmV1Order>;1091 } & Struct;1092 readonly isQueryHolding: boolean;1093 readonly asQueryHolding: {1094 readonly queryId: Compact<u64>;1095 readonly dest: XcmV1MultiLocation;1096 readonly assets: XcmV1MultiassetMultiAssetFilter;1097 } & Struct;1098 readonly isBuyExecution: boolean;1099 readonly asBuyExecution: {1100 readonly fees: XcmV1MultiAsset;1101 readonly weight: u64;1102 readonly debt: u64;1103 readonly haltOnError: bool;1104 readonly instructions: Vec<XcmV1Xcm>;1105 } & Struct;1106 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1107 }11081109 /** @name XcmV1MultiassetMultiAssetFilter (119) */1110 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1111 readonly isDefinite: boolean;1112 readonly asDefinite: XcmV1MultiassetMultiAssets;1113 readonly isWild: boolean;1114 readonly asWild: XcmV1MultiassetWildMultiAsset;1115 readonly type: 'Definite' | 'Wild';1116 }11171118 /** @name XcmV1MultiassetWildMultiAsset (120) */1119 export interface XcmV1MultiassetWildMultiAsset extends Enum {1120 readonly isAll: boolean;1121 readonly isAllOf: boolean;1122 readonly asAllOf: {1123 readonly id: XcmV1MultiassetAssetId;1124 readonly fun: XcmV1MultiassetWildFungibility;1125 } & Struct;1126 readonly type: 'All' | 'AllOf';1127 }11281129 /** @name XcmV1MultiassetWildFungibility (121) */1130 export interface XcmV1MultiassetWildFungibility extends Enum {1131 readonly isFungible: boolean;1132 readonly isNonFungible: boolean;1133 readonly type: 'Fungible' | 'NonFungible';1134 }11351136 /** @name XcmV1Response (123) */1137 export interface XcmV1Response extends Enum {1138 readonly isAssets: boolean;1139 readonly asAssets: XcmV1MultiassetMultiAssets;1140 readonly isVersion: boolean;1141 readonly asVersion: u32;1142 readonly type: 'Assets' | 'Version';1143 }11441145 /** @name XcmV2Xcm (124) */1146 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11471148 /** @name XcmV2Instruction (126) */1149 export interface XcmV2Instruction extends Enum {1150 readonly isWithdrawAsset: boolean;1151 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1152 readonly isReserveAssetDeposited: boolean;1153 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1154 readonly isReceiveTeleportedAsset: boolean;1155 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1156 readonly isQueryResponse: boolean;1157 readonly asQueryResponse: {1158 readonly queryId: Compact<u64>;1159 readonly response: XcmV2Response;1160 readonly maxWeight: Compact<u64>;1161 } & Struct;1162 readonly isTransferAsset: boolean;1163 readonly asTransferAsset: {1164 readonly assets: XcmV1MultiassetMultiAssets;1165 readonly beneficiary: XcmV1MultiLocation;1166 } & Struct;1167 readonly isTransferReserveAsset: boolean;1168 readonly asTransferReserveAsset: {1169 readonly assets: XcmV1MultiassetMultiAssets;1170 readonly dest: XcmV1MultiLocation;1171 readonly xcm: XcmV2Xcm;1172 } & Struct;1173 readonly isTransact: boolean;1174 readonly asTransact: {1175 readonly originType: XcmV0OriginKind;1176 readonly requireWeightAtMost: Compact<u64>;1177 readonly call: XcmDoubleEncoded;1178 } & Struct;1179 readonly isHrmpNewChannelOpenRequest: boolean;1180 readonly asHrmpNewChannelOpenRequest: {1181 readonly sender: Compact<u32>;1182 readonly maxMessageSize: Compact<u32>;1183 readonly maxCapacity: Compact<u32>;1184 } & Struct;1185 readonly isHrmpChannelAccepted: boolean;1186 readonly asHrmpChannelAccepted: {1187 readonly recipient: Compact<u32>;1188 } & Struct;1189 readonly isHrmpChannelClosing: boolean;1190 readonly asHrmpChannelClosing: {1191 readonly initiator: Compact<u32>;1192 readonly sender: Compact<u32>;1193 readonly recipient: Compact<u32>;1194 } & Struct;1195 readonly isClearOrigin: boolean;1196 readonly isDescendOrigin: boolean;1197 readonly asDescendOrigin: XcmV1MultilocationJunctions;1198 readonly isReportError: boolean;1199 readonly asReportError: {1200 readonly queryId: Compact<u64>;1201 readonly dest: XcmV1MultiLocation;1202 readonly maxResponseWeight: Compact<u64>;1203 } & Struct;1204 readonly isDepositAsset: boolean;1205 readonly asDepositAsset: {1206 readonly assets: XcmV1MultiassetMultiAssetFilter;1207 readonly maxAssets: Compact<u32>;1208 readonly beneficiary: XcmV1MultiLocation;1209 } & Struct;1210 readonly isDepositReserveAsset: boolean;1211 readonly asDepositReserveAsset: {1212 readonly assets: XcmV1MultiassetMultiAssetFilter;1213 readonly maxAssets: Compact<u32>;1214 readonly dest: XcmV1MultiLocation;1215 readonly xcm: XcmV2Xcm;1216 } & Struct;1217 readonly isExchangeAsset: boolean;1218 readonly asExchangeAsset: {1219 readonly give: XcmV1MultiassetMultiAssetFilter;1220 readonly receive: XcmV1MultiassetMultiAssets;1221 } & Struct;1222 readonly isInitiateReserveWithdraw: boolean;1223 readonly asInitiateReserveWithdraw: {1224 readonly assets: XcmV1MultiassetMultiAssetFilter;1225 readonly reserve: XcmV1MultiLocation;1226 readonly xcm: XcmV2Xcm;1227 } & Struct;1228 readonly isInitiateTeleport: boolean;1229 readonly asInitiateTeleport: {1230 readonly assets: XcmV1MultiassetMultiAssetFilter;1231 readonly dest: XcmV1MultiLocation;1232 readonly xcm: XcmV2Xcm;1233 } & Struct;1234 readonly isQueryHolding: boolean;1235 readonly asQueryHolding: {1236 readonly queryId: Compact<u64>;1237 readonly dest: XcmV1MultiLocation;1238 readonly assets: XcmV1MultiassetMultiAssetFilter;1239 readonly maxResponseWeight: Compact<u64>;1240 } & Struct;1241 readonly isBuyExecution: boolean;1242 readonly asBuyExecution: {1243 readonly fees: XcmV1MultiAsset;1244 readonly weightLimit: XcmV2WeightLimit;1245 } & Struct;1246 readonly isRefundSurplus: boolean;1247 readonly isSetErrorHandler: boolean;1248 readonly asSetErrorHandler: XcmV2Xcm;1249 readonly isSetAppendix: boolean;1250 readonly asSetAppendix: XcmV2Xcm;1251 readonly isClearError: boolean;1252 readonly isClaimAsset: boolean;1253 readonly asClaimAsset: {1254 readonly assets: XcmV1MultiassetMultiAssets;1255 readonly ticket: XcmV1MultiLocation;1256 } & Struct;1257 readonly isTrap: boolean;1258 readonly asTrap: Compact<u64>;1259 readonly isSubscribeVersion: boolean;1260 readonly asSubscribeVersion: {1261 readonly queryId: Compact<u64>;1262 readonly maxResponseWeight: Compact<u64>;1263 } & Struct;1264 readonly isUnsubscribeVersion: boolean;1265 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';1266 }12671268 /** @name XcmV2Response (127) */1269 export interface XcmV2Response extends Enum {1270 readonly isNull: boolean;1271 readonly isAssets: boolean;1272 readonly asAssets: XcmV1MultiassetMultiAssets;1273 readonly isExecutionResult: boolean;1274 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1275 readonly isVersion: boolean;1276 readonly asVersion: u32;1277 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1278 }12791280 /** @name XcmV2TraitsError (130) */1281 export interface XcmV2TraitsError extends Enum {1282 readonly isOverflow: boolean;1283 readonly isUnimplemented: boolean;1284 readonly isUntrustedReserveLocation: boolean;1285 readonly isUntrustedTeleportLocation: boolean;1286 readonly isMultiLocationFull: boolean;1287 readonly isMultiLocationNotInvertible: boolean;1288 readonly isBadOrigin: boolean;1289 readonly isInvalidLocation: boolean;1290 readonly isAssetNotFound: boolean;1291 readonly isFailedToTransactAsset: boolean;1292 readonly isNotWithdrawable: boolean;1293 readonly isLocationCannotHold: boolean;1294 readonly isExceedsMaxMessageSize: boolean;1295 readonly isDestinationUnsupported: boolean;1296 readonly isTransport: boolean;1297 readonly isUnroutable: boolean;1298 readonly isUnknownClaim: boolean;1299 readonly isFailedToDecode: boolean;1300 readonly isMaxWeightInvalid: boolean;1301 readonly isNotHoldingFees: boolean;1302 readonly isTooExpensive: boolean;1303 readonly isTrap: boolean;1304 readonly asTrap: u64;1305 readonly isUnhandledXcmVersion: boolean;1306 readonly isWeightLimitReached: boolean;1307 readonly asWeightLimitReached: u64;1308 readonly isBarrier: boolean;1309 readonly isWeightNotComputable: boolean;1310 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';1311 }13121313 /** @name XcmV2WeightLimit (131) */1314 export interface XcmV2WeightLimit extends Enum {1315 readonly isUnlimited: boolean;1316 readonly isLimited: boolean;1317 readonly asLimited: Compact<u64>;1318 readonly type: 'Unlimited' | 'Limited';1319 }13201321 /** @name XcmVersionedMultiAssets (132) */1322 export interface XcmVersionedMultiAssets extends Enum {1323 readonly isV0: boolean;1324 readonly asV0: Vec<XcmV0MultiAsset>;1325 readonly isV1: boolean;1326 readonly asV1: XcmV1MultiassetMultiAssets;1327 readonly type: 'V0' | 'V1';1328 }13291330 /** @name CumulusPalletXcmCall (147) */1331 export type CumulusPalletXcmCall = Null;13321333 /** @name CumulusPalletDmpQueueCall (148) */1334 export interface CumulusPalletDmpQueueCall extends Enum {1335 readonly isServiceOverweight: boolean;1336 readonly asServiceOverweight: {1337 readonly index: u64;1338 readonly weightLimit: u64;1339 } & Struct;1340 readonly type: 'ServiceOverweight';1341 }13421343 /** @name PalletInflationCall (149) */1344 export interface PalletInflationCall extends Enum {1345 readonly isStartInflation: boolean;1346 readonly asStartInflation: {1347 readonly inflationStartRelayBlock: u32;1348 } & Struct;1349 readonly type: 'StartInflation';1350 }13511352 /** @name PalletUniqueCall (150) */1353 export interface PalletUniqueCall extends Enum {1354 readonly isCreateCollection: boolean;1355 readonly asCreateCollection: {1356 readonly collectionName: Vec<u16>;1357 readonly collectionDescription: Vec<u16>;1358 readonly tokenPrefix: Bytes;1359 readonly mode: UpDataStructsCollectionMode;1360 } & Struct;1361 readonly isCreateCollectionEx: boolean;1362 readonly asCreateCollectionEx: {1363 readonly data: UpDataStructsCreateCollectionData;1364 } & Struct;1365 readonly isDestroyCollection: boolean;1366 readonly asDestroyCollection: {1367 readonly collectionId: u32;1368 } & Struct;1369 readonly isAddToAllowList: boolean;1370 readonly asAddToAllowList: {1371 readonly collectionId: u32;1372 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1373 } & Struct;1374 readonly isRemoveFromAllowList: boolean;1375 readonly asRemoveFromAllowList: {1376 readonly collectionId: u32;1377 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1378 } & Struct;1379 readonly isChangeCollectionOwner: boolean;1380 readonly asChangeCollectionOwner: {1381 readonly collectionId: u32;1382 readonly newOwner: AccountId32;1383 } & Struct;1384 readonly isAddCollectionAdmin: boolean;1385 readonly asAddCollectionAdmin: {1386 readonly collectionId: u32;1387 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1388 } & Struct;1389 readonly isRemoveCollectionAdmin: boolean;1390 readonly asRemoveCollectionAdmin: {1391 readonly collectionId: u32;1392 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1393 } & Struct;1394 readonly isSetCollectionSponsor: boolean;1395 readonly asSetCollectionSponsor: {1396 readonly collectionId: u32;1397 readonly newSponsor: AccountId32;1398 } & Struct;1399 readonly isConfirmSponsorship: boolean;1400 readonly asConfirmSponsorship: {1401 readonly collectionId: u32;1402 } & Struct;1403 readonly isRemoveCollectionSponsor: boolean;1404 readonly asRemoveCollectionSponsor: {1405 readonly collectionId: u32;1406 } & Struct;1407 readonly isCreateItem: boolean;1408 readonly asCreateItem: {1409 readonly collectionId: u32;1410 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1411 readonly data: UpDataStructsCreateItemData;1412 } & Struct;1413 readonly isCreateMultipleItems: boolean;1414 readonly asCreateMultipleItems: {1415 readonly collectionId: u32;1416 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1417 readonly itemsData: Vec<UpDataStructsCreateItemData>;1418 } & Struct;1419 readonly isSetCollectionProperties: boolean;1420 readonly asSetCollectionProperties: {1421 readonly collectionId: u32;1422 readonly properties: Vec<UpDataStructsProperty>;1423 } & Struct;1424 readonly isDeleteCollectionProperties: boolean;1425 readonly asDeleteCollectionProperties: {1426 readonly collectionId: u32;1427 readonly propertyKeys: Vec<Bytes>;1428 } & Struct;1429 readonly isSetTokenProperties: boolean;1430 readonly asSetTokenProperties: {1431 readonly collectionId: u32;1432 readonly tokenId: u32;1433 readonly properties: Vec<UpDataStructsProperty>;1434 } & Struct;1435 readonly isDeleteTokenProperties: boolean;1436 readonly asDeleteTokenProperties: {1437 readonly collectionId: u32;1438 readonly tokenId: u32;1439 readonly propertyKeys: Vec<Bytes>;1440 } & Struct;1441 readonly isSetPropertyPermissions: boolean;1442 readonly asSetPropertyPermissions: {1443 readonly collectionId: u32;1444 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1445 } & Struct;1446 readonly isCreateMultipleItemsEx: boolean;1447 readonly asCreateMultipleItemsEx: {1448 readonly collectionId: u32;1449 readonly data: UpDataStructsCreateItemExData;1450 } & Struct;1451 readonly isSetTransfersEnabledFlag: boolean;1452 readonly asSetTransfersEnabledFlag: {1453 readonly collectionId: u32;1454 readonly value: bool;1455 } & Struct;1456 readonly isBurnItem: boolean;1457 readonly asBurnItem: {1458 readonly collectionId: u32;1459 readonly itemId: u32;1460 readonly value: u128;1461 } & Struct;1462 readonly isBurnFrom: boolean;1463 readonly asBurnFrom: {1464 readonly collectionId: u32;1465 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1466 readonly itemId: u32;1467 readonly value: u128;1468 } & Struct;1469 readonly isTransfer: boolean;1470 readonly asTransfer: {1471 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1472 readonly collectionId: u32;1473 readonly itemId: u32;1474 readonly value: u128;1475 } & Struct;1476 readonly isApprove: boolean;1477 readonly asApprove: {1478 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1479 readonly collectionId: u32;1480 readonly itemId: u32;1481 readonly amount: u128;1482 } & Struct;1483 readonly isTransferFrom: boolean;1484 readonly asTransferFrom: {1485 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1486 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1487 readonly collectionId: u32;1488 readonly itemId: u32;1489 readonly value: u128;1490 } & Struct;1491 readonly isSetCollectionLimits: boolean;1492 readonly asSetCollectionLimits: {1493 readonly collectionId: u32;1494 readonly newLimit: UpDataStructsCollectionLimits;1495 } & Struct;1496 readonly isSetCollectionPermissions: boolean;1497 readonly asSetCollectionPermissions: {1498 readonly collectionId: u32;1499 readonly newLimit: UpDataStructsCollectionPermissions;1500 } & Struct;1501 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';1502 }15031504 /** @name UpDataStructsCollectionMode (156) */1505 export interface UpDataStructsCollectionMode extends Enum {1506 readonly isNft: boolean;1507 readonly isFungible: boolean;1508 readonly asFungible: u8;1509 readonly isReFungible: boolean;1510 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1511 }15121513 /** @name UpDataStructsCreateCollectionData (157) */1514 export interface UpDataStructsCreateCollectionData extends Struct {1515 readonly mode: UpDataStructsCollectionMode;1516 readonly access: Option<UpDataStructsAccessMode>;1517 readonly name: Vec<u16>;1518 readonly description: Vec<u16>;1519 readonly tokenPrefix: Bytes;1520 readonly pendingSponsor: Option<AccountId32>;1521 readonly limits: Option<UpDataStructsCollectionLimits>;1522 readonly permissions: Option<UpDataStructsCollectionPermissions>;1523 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1524 readonly properties: Vec<UpDataStructsProperty>;1525 }15261527 /** @name UpDataStructsAccessMode (159) */1528 export interface UpDataStructsAccessMode extends Enum {1529 readonly isNormal: boolean;1530 readonly isAllowList: boolean;1531 readonly type: 'Normal' | 'AllowList';1532 }15331534 /** @name UpDataStructsCollectionLimits (162) */1535 export interface UpDataStructsCollectionLimits extends Struct {1536 readonly accountTokenOwnershipLimit: Option<u32>;1537 readonly sponsoredDataSize: Option<u32>;1538 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1539 readonly tokenLimit: Option<u32>;1540 readonly sponsorTransferTimeout: Option<u32>;1541 readonly sponsorApproveTimeout: Option<u32>;1542 readonly ownerCanTransfer: Option<bool>;1543 readonly ownerCanDestroy: Option<bool>;1544 readonly transfersEnabled: Option<bool>;1545 }15461547 /** @name UpDataStructsSponsoringRateLimit (164) */1548 export interface UpDataStructsSponsoringRateLimit extends Enum {1549 readonly isSponsoringDisabled: boolean;1550 readonly isBlocks: boolean;1551 readonly asBlocks: u32;1552 readonly type: 'SponsoringDisabled' | 'Blocks';1553 }15541555 /** @name UpDataStructsCollectionPermissions (167) */1556 export interface UpDataStructsCollectionPermissions extends Struct {1557 readonly access: Option<UpDataStructsAccessMode>;1558 readonly mintMode: Option<bool>;1559 readonly nesting: Option<UpDataStructsNestingRule>;1560 }15611562 /** @name UpDataStructsNestingRule (169) */1563 export interface UpDataStructsNestingRule extends Enum {1564 readonly isDisabled: boolean;1565 readonly isOwner: boolean;1566 readonly isOwnerRestricted: boolean;1567 readonly asOwnerRestricted: BTreeSet<u32>;1568 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1569 }15701571 /** @name UpDataStructsPropertyKeyPermission (175) */1572 export interface UpDataStructsPropertyKeyPermission extends Struct {1573 readonly key: Bytes;1574 readonly permission: UpDataStructsPropertyPermission;1575 }15761577 /** @name UpDataStructsPropertyPermission (177) */1578 export interface UpDataStructsPropertyPermission extends Struct {1579 readonly mutable: bool;1580 readonly collectionAdmin: bool;1581 readonly tokenOwner: bool;1582 }15831584 /** @name UpDataStructsProperty (180) */1585 export interface UpDataStructsProperty extends Struct {1586 readonly key: Bytes;1587 readonly value: Bytes;1588 }15891590 /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */1591 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1592 readonly isSubstrate: boolean;1593 readonly asSubstrate: AccountId32;1594 readonly isEthereum: boolean;1595 readonly asEthereum: H160;1596 readonly type: 'Substrate' | 'Ethereum';1597 }15981599 /** @name UpDataStructsCreateItemData (185) */1600 export interface UpDataStructsCreateItemData extends Enum {1601 readonly isNft: boolean;1602 readonly asNft: UpDataStructsCreateNftData;1603 readonly isFungible: boolean;1604 readonly asFungible: UpDataStructsCreateFungibleData;1605 readonly isReFungible: boolean;1606 readonly asReFungible: UpDataStructsCreateReFungibleData;1607 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1608 }16091610 /** @name UpDataStructsCreateNftData (186) */1611 export interface UpDataStructsCreateNftData extends Struct {1612 readonly properties: Vec<UpDataStructsProperty>;1613 }16141615 /** @name UpDataStructsCreateFungibleData (187) */1616 export interface UpDataStructsCreateFungibleData extends Struct {1617 readonly value: u128;1618 }16191620 /** @name UpDataStructsCreateReFungibleData (188) */1621 export interface UpDataStructsCreateReFungibleData extends Struct {1622 readonly constData: Bytes;1623 readonly pieces: u128;1624 }16251626 /** @name UpDataStructsCreateItemExData (193) */1627 export interface UpDataStructsCreateItemExData extends Enum {1628 readonly isNft: boolean;1629 readonly asNft: Vec<UpDataStructsCreateNftExData>;1630 readonly isFungible: boolean;1631 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1632 readonly isRefungibleMultipleItems: boolean;1633 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1634 readonly isRefungibleMultipleOwners: boolean;1635 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1636 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1637 }16381639 /** @name UpDataStructsCreateNftExData (195) */1640 export interface UpDataStructsCreateNftExData extends Struct {1641 readonly properties: Vec<UpDataStructsProperty>;1642 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1643 }16441645 /** @name UpDataStructsCreateRefungibleExData (202) */1646 export interface UpDataStructsCreateRefungibleExData extends Struct {1647 readonly constData: Bytes;1648 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1649 }16501651 /** @name PalletUnqSchedulerCall (204) */1652 export interface PalletUnqSchedulerCall extends Enum {1653 readonly isScheduleNamed: boolean;1654 readonly asScheduleNamed: {1655 readonly id: U8aFixed;1656 readonly when: u32;1657 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1658 readonly priority: u8;1659 readonly call: FrameSupportScheduleMaybeHashed;1660 } & Struct;1661 readonly isCancelNamed: boolean;1662 readonly asCancelNamed: {1663 readonly id: U8aFixed;1664 } & Struct;1665 readonly isScheduleNamedAfter: boolean;1666 readonly asScheduleNamedAfter: {1667 readonly id: U8aFixed;1668 readonly after: u32;1669 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1670 readonly priority: u8;1671 readonly call: FrameSupportScheduleMaybeHashed;1672 } & Struct;1673 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1674 }16751676 /** @name FrameSupportScheduleMaybeHashed (206) */1677 export interface FrameSupportScheduleMaybeHashed extends Enum {1678 readonly isValue: boolean;1679 readonly asValue: Call;1680 readonly isHash: boolean;1681 readonly asHash: H256;1682 readonly type: 'Value' | 'Hash';1683 }16841685 /** @name PalletTemplateTransactionPaymentCall (207) */1686 export type PalletTemplateTransactionPaymentCall = Null;16871688 /** @name PalletStructureCall (208) */1689 export type PalletStructureCall = Null;16901691 /** @name PalletRmrkCoreCall (209) */1692 export interface PalletRmrkCoreCall extends Enum {1693 readonly isCreateCollection: boolean;1694 readonly asCreateCollection: {1695 readonly metadata: Bytes;1696 readonly max: Option<u32>;1697 readonly symbol: Bytes;1698 } & Struct;1699 readonly isDestroyCollection: boolean;1700 readonly asDestroyCollection: {1701 readonly collectionId: u32;1702 } & Struct;1703 readonly isChangeCollectionIssuer: boolean;1704 readonly asChangeCollectionIssuer: {1705 readonly collectionId: u32;1706 readonly newIssuer: MultiAddress;1707 } & Struct;1708 readonly isLockCollection: boolean;1709 readonly asLockCollection: {1710 readonly collectionId: u32;1711 } & Struct;1712 readonly isMintNft: boolean;1713 readonly asMintNft: {1714 readonly owner: AccountId32;1715 readonly collectionId: u32;1716 readonly recipient: Option<AccountId32>;1717 readonly royaltyAmount: Option<Permill>;1718 readonly metadata: Bytes;1719 readonly transferable: bool;1720 } & Struct;1721 readonly isBurnNft: boolean;1722 readonly asBurnNft: {1723 readonly collectionId: u32;1724 readonly nftId: u32;1725 } & Struct;1726 readonly isSend: boolean;1727 readonly asSend: {1728 readonly rmrkCollectionId: u32;1729 readonly rmrkNftId: u32;1730 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1731 } & Struct;1732 readonly isAcceptNft: boolean;1733 readonly asAcceptNft: {1734 readonly rmrkCollectionId: u32;1735 readonly rmrkNftId: u32;1736 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1737 } & Struct;1738 readonly isRejectNft: boolean;1739 readonly asRejectNft: {1740 readonly rmrkCollectionId: u32;1741 readonly rmrkNftId: u32;1742 } & Struct;1743 readonly isAcceptResource: boolean;1744 readonly asAcceptResource: {1745 readonly rmrkCollectionId: u32;1746 readonly rmrkNftId: u32;1747 readonly rmrkResourceId: u32;1748 } & Struct;1749 readonly isAcceptResourceRemoval: boolean;1750 readonly asAcceptResourceRemoval: {1751 readonly rmrkCollectionId: u32;1752 readonly rmrkNftId: u32;1753 readonly rmrkResourceId: u32;1754 } & Struct;1755 readonly isSetProperty: boolean;1756 readonly asSetProperty: {1757 readonly rmrkCollectionId: Compact<u32>;1758 readonly maybeNftId: Option<u32>;1759 readonly key: Bytes;1760 readonly value: Bytes;1761 } & Struct;1762 readonly isSetPriority: boolean;1763 readonly asSetPriority: {1764 readonly rmrkCollectionId: u32;1765 readonly rmrkNftId: u32;1766 readonly priorities: Vec<u32>;1767 } & Struct;1768 readonly isAddBasicResource: boolean;1769 readonly asAddBasicResource: {1770 readonly rmrkCollectionId: u32;1771 readonly nftId: u32;1772 readonly resource: RmrkTraitsResourceBasicResource;1773 } & Struct;1774 readonly isAddComposableResource: boolean;1775 readonly asAddComposableResource: {1776 readonly rmrkCollectionId: u32;1777 readonly nftId: u32;1778 readonly resourceId: Bytes;1779 readonly resource: RmrkTraitsResourceComposableResource;1780 } & Struct;1781 readonly isAddSlotResource: boolean;1782 readonly asAddSlotResource: {1783 readonly rmrkCollectionId: u32;1784 readonly nftId: u32;1785 readonly resource: RmrkTraitsResourceSlotResource;1786 } & Struct;1787 readonly isRemoveResource: boolean;1788 readonly asRemoveResource: {1789 readonly rmrkCollectionId: u32;1790 readonly nftId: u32;1791 readonly resourceId: u32;1792 } & Struct;1793 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1794 }17951796 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (213) */1797 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1798 readonly isAccountId: boolean;1799 readonly asAccountId: AccountId32;1800 readonly isCollectionAndNftTuple: boolean;1801 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1802 readonly type: 'AccountId' | 'CollectionAndNftTuple';1803 }18041805 /** @name RmrkTraitsResourceBasicResource (217) */1806 export interface RmrkTraitsResourceBasicResource extends Struct {1807 readonly src: Option<Bytes>;1808 readonly metadata: Option<Bytes>;1809 readonly license: Option<Bytes>;1810 readonly thumb: Option<Bytes>;1811 }18121813 /** @name RmrkTraitsResourceComposableResource (220) */1814 export interface RmrkTraitsResourceComposableResource extends Struct {1815 readonly parts: Vec<u32>;1816 readonly base: u32;1817 readonly src: Option<Bytes>;1818 readonly metadata: Option<Bytes>;1819 readonly license: Option<Bytes>;1820 readonly thumb: Option<Bytes>;1821 }18221823 /** @name RmrkTraitsResourceSlotResource (222) */1824 export interface RmrkTraitsResourceSlotResource extends Struct {1825 readonly base: u32;1826 readonly src: Option<Bytes>;1827 readonly metadata: Option<Bytes>;1828 readonly slot: u32;1829 readonly license: Option<Bytes>;1830 readonly thumb: Option<Bytes>;1831 }18321833 /** @name PalletRmrkEquipCall (223) */1834 export interface PalletRmrkEquipCall extends Enum {1835 readonly isCreateBase: boolean;1836 readonly asCreateBase: {1837 readonly baseType: Bytes;1838 readonly symbol: Bytes;1839 readonly parts: Vec<RmrkTraitsPartPartType>;1840 } & Struct;1841 readonly isThemeAdd: boolean;1842 readonly asThemeAdd: {1843 readonly baseId: u32;1844 readonly theme: RmrkTraitsTheme;1845 } & Struct;1846 readonly type: 'CreateBase' | 'ThemeAdd';1847 }18481849 /** @name RmrkTraitsPartPartType (225) */1850 export interface RmrkTraitsPartPartType extends Enum {1851 readonly isFixedPart: boolean;1852 readonly asFixedPart: RmrkTraitsPartFixedPart;1853 readonly isSlotPart: boolean;1854 readonly asSlotPart: RmrkTraitsPartSlotPart;1855 readonly type: 'FixedPart' | 'SlotPart';1856 }18571858 /** @name RmrkTraitsPartFixedPart (227) */1859 export interface RmrkTraitsPartFixedPart extends Struct {1860 readonly id: u32;1861 readonly z: u32;1862 readonly src: Bytes;1863 }18641865 /** @name RmrkTraitsPartSlotPart (228) */1866 export interface RmrkTraitsPartSlotPart extends Struct {1867 readonly id: u32;1868 readonly equippable: RmrkTraitsPartEquippableList;1869 readonly src: Bytes;1870 readonly z: u32;1871 }18721873 /** @name RmrkTraitsPartEquippableList (229) */1874 export interface RmrkTraitsPartEquippableList extends Enum {1875 readonly isAll: boolean;1876 readonly isEmpty: boolean;1877 readonly isCustom: boolean;1878 readonly asCustom: Vec<u32>;1879 readonly type: 'All' | 'Empty' | 'Custom';1880 }18811882 /** @name RmrkTraitsTheme (231) */1883 export interface RmrkTraitsTheme extends Struct {1884 readonly name: Bytes;1885 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;1886 readonly inherit: bool;1887 }18881889 /** @name RmrkTraitsThemeThemeProperty (233) */1890 export interface RmrkTraitsThemeThemeProperty extends Struct {1891 readonly key: Bytes;1892 readonly value: Bytes;1893 }18941895 /** @name PalletEvmCall (234) */1896 export interface PalletEvmCall extends Enum {1897 readonly isWithdraw: boolean;1898 readonly asWithdraw: {1899 readonly address: H160;1900 readonly value: u128;1901 } & Struct;1902 readonly isCall: boolean;1903 readonly asCall: {1904 readonly source: H160;1905 readonly target: H160;1906 readonly input: Bytes;1907 readonly value: U256;1908 readonly gasLimit: u64;1909 readonly maxFeePerGas: U256;1910 readonly maxPriorityFeePerGas: Option<U256>;1911 readonly nonce: Option<U256>;1912 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1913 } & Struct;1914 readonly isCreate: boolean;1915 readonly asCreate: {1916 readonly source: H160;1917 readonly init: Bytes;1918 readonly value: U256;1919 readonly gasLimit: u64;1920 readonly maxFeePerGas: U256;1921 readonly maxPriorityFeePerGas: Option<U256>;1922 readonly nonce: Option<U256>;1923 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1924 } & Struct;1925 readonly isCreate2: boolean;1926 readonly asCreate2: {1927 readonly source: H160;1928 readonly init: Bytes;1929 readonly salt: H256;1930 readonly value: U256;1931 readonly gasLimit: u64;1932 readonly maxFeePerGas: U256;1933 readonly maxPriorityFeePerGas: Option<U256>;1934 readonly nonce: Option<U256>;1935 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1936 } & Struct;1937 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1938 }19391940 /** @name PalletEthereumCall (240) */1941 export interface PalletEthereumCall extends Enum {1942 readonly isTransact: boolean;1943 readonly asTransact: {1944 readonly transaction: EthereumTransactionTransactionV2;1945 } & Struct;1946 readonly type: 'Transact';1947 }19481949 /** @name EthereumTransactionTransactionV2 (241) */1950 export interface EthereumTransactionTransactionV2 extends Enum {1951 readonly isLegacy: boolean;1952 readonly asLegacy: EthereumTransactionLegacyTransaction;1953 readonly isEip2930: boolean;1954 readonly asEip2930: EthereumTransactionEip2930Transaction;1955 readonly isEip1559: boolean;1956 readonly asEip1559: EthereumTransactionEip1559Transaction;1957 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1958 }19591960 /** @name EthereumTransactionLegacyTransaction (242) */1961 export interface EthereumTransactionLegacyTransaction extends Struct {1962 readonly nonce: U256;1963 readonly gasPrice: U256;1964 readonly gasLimit: U256;1965 readonly action: EthereumTransactionTransactionAction;1966 readonly value: U256;1967 readonly input: Bytes;1968 readonly signature: EthereumTransactionTransactionSignature;1969 }19701971 /** @name EthereumTransactionTransactionAction (243) */1972 export interface EthereumTransactionTransactionAction extends Enum {1973 readonly isCall: boolean;1974 readonly asCall: H160;1975 readonly isCreate: boolean;1976 readonly type: 'Call' | 'Create';1977 }19781979 /** @name EthereumTransactionTransactionSignature (244) */1980 export interface EthereumTransactionTransactionSignature extends Struct {1981 readonly v: u64;1982 readonly r: H256;1983 readonly s: H256;1984 }19851986 /** @name EthereumTransactionEip2930Transaction (246) */1987 export interface EthereumTransactionEip2930Transaction extends Struct {1988 readonly chainId: u64;1989 readonly nonce: U256;1990 readonly gasPrice: U256;1991 readonly gasLimit: U256;1992 readonly action: EthereumTransactionTransactionAction;1993 readonly value: U256;1994 readonly input: Bytes;1995 readonly accessList: Vec<EthereumTransactionAccessListItem>;1996 readonly oddYParity: bool;1997 readonly r: H256;1998 readonly s: H256;1999 }20002001 /** @name EthereumTransactionAccessListItem (248) */2002 export interface EthereumTransactionAccessListItem extends Struct {2003 readonly address: H160;2004 readonly storageKeys: Vec<H256>;2005 }20062007 /** @name EthereumTransactionEip1559Transaction (249) */2008 export interface EthereumTransactionEip1559Transaction extends Struct {2009 readonly chainId: u64;2010 readonly nonce: U256;2011 readonly maxPriorityFeePerGas: U256;2012 readonly maxFeePerGas: U256;2013 readonly gasLimit: U256;2014 readonly action: EthereumTransactionTransactionAction;2015 readonly value: U256;2016 readonly input: Bytes;2017 readonly accessList: Vec<EthereumTransactionAccessListItem>;2018 readonly oddYParity: bool;2019 readonly r: H256;2020 readonly s: H256;2021 }20222023 /** @name PalletEvmMigrationCall (250) */2024 export interface PalletEvmMigrationCall extends Enum {2025 readonly isBegin: boolean;2026 readonly asBegin: {2027 readonly address: H160;2028 } & Struct;2029 readonly isSetData: boolean;2030 readonly asSetData: {2031 readonly address: H160;2032 readonly data: Vec<ITuple<[H256, H256]>>;2033 } & Struct;2034 readonly isFinish: boolean;2035 readonly asFinish: {2036 readonly address: H160;2037 readonly code: Bytes;2038 } & Struct;2039 readonly type: 'Begin' | 'SetData' | 'Finish';2040 }20412042 /** @name PalletSudoEvent (253) */2043 export interface PalletSudoEvent extends Enum {2044 readonly isSudid: boolean;2045 readonly asSudid: {2046 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2047 } & Struct;2048 readonly isKeyChanged: boolean;2049 readonly asKeyChanged: {2050 readonly oldSudoer: Option<AccountId32>;2051 } & Struct;2052 readonly isSudoAsDone: boolean;2053 readonly asSudoAsDone: {2054 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2055 } & Struct;2056 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2057 }20582059 /** @name SpRuntimeDispatchError (255) */2060 export interface SpRuntimeDispatchError extends Enum {2061 readonly isOther: boolean;2062 readonly isCannotLookup: boolean;2063 readonly isBadOrigin: boolean;2064 readonly isModule: boolean;2065 readonly asModule: SpRuntimeModuleError;2066 readonly isConsumerRemaining: boolean;2067 readonly isNoProviders: boolean;2068 readonly isTooManyConsumers: boolean;2069 readonly isToken: boolean;2070 readonly asToken: SpRuntimeTokenError;2071 readonly isArithmetic: boolean;2072 readonly asArithmetic: SpRuntimeArithmeticError;2073 readonly isTransactional: boolean;2074 readonly asTransactional: SpRuntimeTransactionalError;2075 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2076 }20772078 /** @name SpRuntimeModuleError (256) */2079 export interface SpRuntimeModuleError extends Struct {2080 readonly index: u8;2081 readonly error: U8aFixed;2082 }20832084 /** @name SpRuntimeTokenError (257) */2085 export interface SpRuntimeTokenError extends Enum {2086 readonly isNoFunds: boolean;2087 readonly isWouldDie: boolean;2088 readonly isBelowMinimum: boolean;2089 readonly isCannotCreate: boolean;2090 readonly isUnknownAsset: boolean;2091 readonly isFrozen: boolean;2092 readonly isUnsupported: boolean;2093 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2094 }20952096 /** @name SpRuntimeArithmeticError (258) */2097 export interface SpRuntimeArithmeticError extends Enum {2098 readonly isUnderflow: boolean;2099 readonly isOverflow: boolean;2100 readonly isDivisionByZero: boolean;2101 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2102 }21032104 /** @name SpRuntimeTransactionalError (259) */2105 export interface SpRuntimeTransactionalError extends Enum {2106 readonly isLimitReached: boolean;2107 readonly isNoLayer: boolean;2108 readonly type: 'LimitReached' | 'NoLayer';2109 }21102111 /** @name PalletSudoError (260) */2112 export interface PalletSudoError extends Enum {2113 readonly isRequireSudo: boolean;2114 readonly type: 'RequireSudo';2115 }21162117 /** @name FrameSystemAccountInfo (261) */2118 export interface FrameSystemAccountInfo extends Struct {2119 readonly nonce: u32;2120 readonly consumers: u32;2121 readonly providers: u32;2122 readonly sufficients: u32;2123 readonly data: PalletBalancesAccountData;2124 }21252126 /** @name FrameSupportWeightsPerDispatchClassU64 (262) */2127 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2128 readonly normal: u64;2129 readonly operational: u64;2130 readonly mandatory: u64;2131 }21322133 /** @name SpRuntimeDigest (263) */2134 export interface SpRuntimeDigest extends Struct {2135 readonly logs: Vec<SpRuntimeDigestDigestItem>;2136 }21372138 /** @name SpRuntimeDigestDigestItem (265) */2139 export interface SpRuntimeDigestDigestItem extends Enum {2140 readonly isOther: boolean;2141 readonly asOther: Bytes;2142 readonly isConsensus: boolean;2143 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2144 readonly isSeal: boolean;2145 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2146 readonly isPreRuntime: boolean;2147 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2148 readonly isRuntimeEnvironmentUpdated: boolean;2149 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2150 }21512152 /** @name FrameSystemEventRecord (267) */2153 export interface FrameSystemEventRecord extends Struct {2154 readonly phase: FrameSystemPhase;2155 readonly event: Event;2156 readonly topics: Vec<H256>;2157 }21582159 /** @name FrameSystemEvent (269) */2160 export interface FrameSystemEvent extends Enum {2161 readonly isExtrinsicSuccess: boolean;2162 readonly asExtrinsicSuccess: {2163 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2164 } & Struct;2165 readonly isExtrinsicFailed: boolean;2166 readonly asExtrinsicFailed: {2167 readonly dispatchError: SpRuntimeDispatchError;2168 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2169 } & Struct;2170 readonly isCodeUpdated: boolean;2171 readonly isNewAccount: boolean;2172 readonly asNewAccount: {2173 readonly account: AccountId32;2174 } & Struct;2175 readonly isKilledAccount: boolean;2176 readonly asKilledAccount: {2177 readonly account: AccountId32;2178 } & Struct;2179 readonly isRemarked: boolean;2180 readonly asRemarked: {2181 readonly sender: AccountId32;2182 readonly hash_: H256;2183 } & Struct;2184 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2185 }21862187 /** @name FrameSupportWeightsDispatchInfo (270) */2188 export interface FrameSupportWeightsDispatchInfo extends Struct {2189 readonly weight: u64;2190 readonly class: FrameSupportWeightsDispatchClass;2191 readonly paysFee: FrameSupportWeightsPays;2192 }21932194 /** @name FrameSupportWeightsDispatchClass (271) */2195 export interface FrameSupportWeightsDispatchClass extends Enum {2196 readonly isNormal: boolean;2197 readonly isOperational: boolean;2198 readonly isMandatory: boolean;2199 readonly type: 'Normal' | 'Operational' | 'Mandatory';2200 }22012202 /** @name FrameSupportWeightsPays (272) */2203 export interface FrameSupportWeightsPays extends Enum {2204 readonly isYes: boolean;2205 readonly isNo: boolean;2206 readonly type: 'Yes' | 'No';2207 }22082209 /** @name OrmlVestingModuleEvent (273) */2210 export interface OrmlVestingModuleEvent extends Enum {2211 readonly isVestingScheduleAdded: boolean;2212 readonly asVestingScheduleAdded: {2213 readonly from: AccountId32;2214 readonly to: AccountId32;2215 readonly vestingSchedule: OrmlVestingVestingSchedule;2216 } & Struct;2217 readonly isClaimed: boolean;2218 readonly asClaimed: {2219 readonly who: AccountId32;2220 readonly amount: u128;2221 } & Struct;2222 readonly isVestingSchedulesUpdated: boolean;2223 readonly asVestingSchedulesUpdated: {2224 readonly who: AccountId32;2225 } & Struct;2226 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2227 }22282229 /** @name CumulusPalletXcmpQueueEvent (274) */2230 export interface CumulusPalletXcmpQueueEvent extends Enum {2231 readonly isSuccess: boolean;2232 readonly asSuccess: Option<H256>;2233 readonly isFail: boolean;2234 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;2235 readonly isBadVersion: boolean;2236 readonly asBadVersion: Option<H256>;2237 readonly isBadFormat: boolean;2238 readonly asBadFormat: Option<H256>;2239 readonly isUpwardMessageSent: boolean;2240 readonly asUpwardMessageSent: Option<H256>;2241 readonly isXcmpMessageSent: boolean;2242 readonly asXcmpMessageSent: Option<H256>;2243 readonly isOverweightEnqueued: boolean;2244 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;2245 readonly isOverweightServiced: boolean;2246 readonly asOverweightServiced: ITuple<[u64, u64]>;2247 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2248 }22492250 /** @name PalletXcmEvent (275) */2251 export interface PalletXcmEvent extends Enum {2252 readonly isAttempted: boolean;2253 readonly asAttempted: XcmV2TraitsOutcome;2254 readonly isSent: boolean;2255 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2256 readonly isUnexpectedResponse: boolean;2257 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2258 readonly isResponseReady: boolean;2259 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2260 readonly isNotified: boolean;2261 readonly asNotified: ITuple<[u64, u8, u8]>;2262 readonly isNotifyOverweight: boolean;2263 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2264 readonly isNotifyDispatchError: boolean;2265 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2266 readonly isNotifyDecodeFailed: boolean;2267 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2268 readonly isInvalidResponder: boolean;2269 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2270 readonly isInvalidResponderVersion: boolean;2271 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2272 readonly isResponseTaken: boolean;2273 readonly asResponseTaken: u64;2274 readonly isAssetsTrapped: boolean;2275 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2276 readonly isVersionChangeNotified: boolean;2277 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2278 readonly isSupportedVersionChanged: boolean;2279 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2280 readonly isNotifyTargetSendFail: boolean;2281 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2282 readonly isNotifyTargetMigrationFail: boolean;2283 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2284 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2285 }22862287 /** @name XcmV2TraitsOutcome (276) */2288 export interface XcmV2TraitsOutcome extends Enum {2289 readonly isComplete: boolean;2290 readonly asComplete: u64;2291 readonly isIncomplete: boolean;2292 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2293 readonly isError: boolean;2294 readonly asError: XcmV2TraitsError;2295 readonly type: 'Complete' | 'Incomplete' | 'Error';2296 }22972298 /** @name CumulusPalletXcmEvent (278) */2299 export interface CumulusPalletXcmEvent extends Enum {2300 readonly isInvalidFormat: boolean;2301 readonly asInvalidFormat: U8aFixed;2302 readonly isUnsupportedVersion: boolean;2303 readonly asUnsupportedVersion: U8aFixed;2304 readonly isExecutedDownward: boolean;2305 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2306 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2307 }23082309 /** @name CumulusPalletDmpQueueEvent (279) */2310 export interface CumulusPalletDmpQueueEvent extends Enum {2311 readonly isInvalidFormat: boolean;2312 readonly asInvalidFormat: U8aFixed;2313 readonly isUnsupportedVersion: boolean;2314 readonly asUnsupportedVersion: U8aFixed;2315 readonly isExecutedDownward: boolean;2316 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2317 readonly isWeightExhausted: boolean;2318 readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;2319 readonly isOverweightEnqueued: boolean;2320 readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;2321 readonly isOverweightServiced: boolean;2322 readonly asOverweightServiced: ITuple<[u64, u64]>;2323 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2324 }23252326 /** @name PalletUniqueRawEvent (280) */2327 export interface PalletUniqueRawEvent extends Enum {2328 readonly isCollectionSponsorRemoved: boolean;2329 readonly asCollectionSponsorRemoved: u32;2330 readonly isCollectionAdminAdded: boolean;2331 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2332 readonly isCollectionOwnedChanged: boolean;2333 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2334 readonly isCollectionSponsorSet: boolean;2335 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2336 readonly isSponsorshipConfirmed: boolean;2337 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2338 readonly isCollectionAdminRemoved: boolean;2339 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2340 readonly isAllowListAddressRemoved: boolean;2341 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2342 readonly isAllowListAddressAdded: boolean;2343 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2344 readonly isCollectionLimitSet: boolean;2345 readonly asCollectionLimitSet: u32;2346 readonly isCollectionPermissionSet: boolean;2347 readonly asCollectionPermissionSet: u32;2348 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2349 }23502351 /** @name PalletUnqSchedulerEvent (281) */2352 export interface PalletUnqSchedulerEvent extends Enum {2353 readonly isScheduled: boolean;2354 readonly asScheduled: {2355 readonly when: u32;2356 readonly index: u32;2357 } & Struct;2358 readonly isCanceled: boolean;2359 readonly asCanceled: {2360 readonly when: u32;2361 readonly index: u32;2362 } & Struct;2363 readonly isDispatched: boolean;2364 readonly asDispatched: {2365 readonly task: ITuple<[u32, u32]>;2366 readonly id: Option<U8aFixed>;2367 readonly result: Result<Null, SpRuntimeDispatchError>;2368 } & Struct;2369 readonly isCallLookupFailed: boolean;2370 readonly asCallLookupFailed: {2371 readonly task: ITuple<[u32, u32]>;2372 readonly id: Option<U8aFixed>;2373 readonly error: FrameSupportScheduleLookupError;2374 } & Struct;2375 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2376 }23772378 /** @name FrameSupportScheduleLookupError (283) */2379 export interface FrameSupportScheduleLookupError extends Enum {2380 readonly isUnknown: boolean;2381 readonly isBadFormat: boolean;2382 readonly type: 'Unknown' | 'BadFormat';2383 }23842385 /** @name PalletCommonEvent (284) */2386 export interface PalletCommonEvent extends Enum {2387 readonly isCollectionCreated: boolean;2388 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2389 readonly isCollectionDestroyed: boolean;2390 readonly asCollectionDestroyed: u32;2391 readonly isItemCreated: boolean;2392 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2393 readonly isItemDestroyed: boolean;2394 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2395 readonly isTransfer: boolean;2396 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2397 readonly isApproved: boolean;2398 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2399 readonly isCollectionPropertySet: boolean;2400 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;2401 readonly isCollectionPropertyDeleted: boolean;2402 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;2403 readonly isTokenPropertySet: boolean;2404 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;2405 readonly isTokenPropertyDeleted: boolean;2406 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;2407 readonly isPropertyPermissionSet: boolean;2408 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;2409 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2410 }24112412 /** @name PalletStructureEvent (285) */2413 export interface PalletStructureEvent extends Enum {2414 readonly isExecuted: boolean;2415 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2416 readonly type: 'Executed';2417 }24182419 /** @name PalletRmrkCoreEvent (286) */2420 export interface PalletRmrkCoreEvent extends Enum {2421 readonly isCollectionCreated: boolean;2422 readonly asCollectionCreated: {2423 readonly issuer: AccountId32;2424 readonly collectionId: u32;2425 } & Struct;2426 readonly isCollectionDestroyed: boolean;2427 readonly asCollectionDestroyed: {2428 readonly issuer: AccountId32;2429 readonly collectionId: u32;2430 } & Struct;2431 readonly isIssuerChanged: boolean;2432 readonly asIssuerChanged: {2433 readonly oldIssuer: AccountId32;2434 readonly newIssuer: AccountId32;2435 readonly collectionId: u32;2436 } & Struct;2437 readonly isCollectionLocked: boolean;2438 readonly asCollectionLocked: {2439 readonly issuer: AccountId32;2440 readonly collectionId: u32;2441 } & Struct;2442 readonly isNftMinted: boolean;2443 readonly asNftMinted: {2444 readonly owner: AccountId32;2445 readonly collectionId: u32;2446 readonly nftId: u32;2447 } & Struct;2448 readonly isNftBurned: boolean;2449 readonly asNftBurned: {2450 readonly owner: AccountId32;2451 readonly nftId: u32;2452 } & Struct;2453 readonly isNftSent: boolean;2454 readonly asNftSent: {2455 readonly sender: AccountId32;2456 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2457 readonly collectionId: u32;2458 readonly nftId: u32;2459 readonly approvalRequired: bool;2460 } & Struct;2461 readonly isNftAccepted: boolean;2462 readonly asNftAccepted: {2463 readonly sender: AccountId32;2464 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2465 readonly collectionId: u32;2466 readonly nftId: u32;2467 } & Struct;2468 readonly isNftRejected: boolean;2469 readonly asNftRejected: {2470 readonly sender: AccountId32;2471 readonly collectionId: u32;2472 readonly nftId: u32;2473 } & Struct;2474 readonly isPropertySet: boolean;2475 readonly asPropertySet: {2476 readonly collectionId: u32;2477 readonly maybeNftId: Option<u32>;2478 readonly key: Bytes;2479 readonly value: Bytes;2480 } & Struct;2481 readonly isResourceAdded: boolean;2482 readonly asResourceAdded: {2483 readonly nftId: u32;2484 readonly resourceId: u32;2485 } & Struct;2486 readonly isResourceRemoval: boolean;2487 readonly asResourceRemoval: {2488 readonly nftId: u32;2489 readonly resourceId: u32;2490 } & Struct;2491 readonly isResourceAccepted: boolean;2492 readonly asResourceAccepted: {2493 readonly nftId: u32;2494 readonly resourceId: u32;2495 } & Struct;2496 readonly isResourceRemovalAccepted: boolean;2497 readonly asResourceRemovalAccepted: {2498 readonly nftId: u32;2499 readonly resourceId: u32;2500 } & Struct;2501 readonly isPrioritySet: boolean;2502 readonly asPrioritySet: {2503 readonly collectionId: u32;2504 readonly nftId: u32;2505 } & Struct;2506 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2507 }25082509 /** @name PalletRmrkEquipEvent (287) */2510 export interface PalletRmrkEquipEvent extends Enum {2511 readonly isBaseCreated: boolean;2512 readonly asBaseCreated: {2513 readonly issuer: AccountId32;2514 readonly baseId: u32;2515 } & Struct;2516 readonly type: 'BaseCreated';2517 }25182519 /** @name PalletEvmEvent (288) */2520 export interface PalletEvmEvent extends Enum {2521 readonly isLog: boolean;2522 readonly asLog: EthereumLog;2523 readonly isCreated: boolean;2524 readonly asCreated: H160;2525 readonly isCreatedFailed: boolean;2526 readonly asCreatedFailed: H160;2527 readonly isExecuted: boolean;2528 readonly asExecuted: H160;2529 readonly isExecutedFailed: boolean;2530 readonly asExecutedFailed: H160;2531 readonly isBalanceDeposit: boolean;2532 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2533 readonly isBalanceWithdraw: boolean;2534 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2535 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2536 }25372538 /** @name EthereumLog (289) */2539 export interface EthereumLog extends Struct {2540 readonly address: H160;2541 readonly topics: Vec<H256>;2542 readonly data: Bytes;2543 }25442545 /** @name PalletEthereumEvent (290) */2546 export interface PalletEthereumEvent extends Enum {2547 readonly isExecuted: boolean;2548 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2549 readonly type: 'Executed';2550 }25512552 /** @name EvmCoreErrorExitReason (291) */2553 export interface EvmCoreErrorExitReason extends Enum {2554 readonly isSucceed: boolean;2555 readonly asSucceed: EvmCoreErrorExitSucceed;2556 readonly isError: boolean;2557 readonly asError: EvmCoreErrorExitError;2558 readonly isRevert: boolean;2559 readonly asRevert: EvmCoreErrorExitRevert;2560 readonly isFatal: boolean;2561 readonly asFatal: EvmCoreErrorExitFatal;2562 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2563 }25642565 /** @name EvmCoreErrorExitSucceed (292) */2566 export interface EvmCoreErrorExitSucceed extends Enum {2567 readonly isStopped: boolean;2568 readonly isReturned: boolean;2569 readonly isSuicided: boolean;2570 readonly type: 'Stopped' | 'Returned' | 'Suicided';2571 }25722573 /** @name EvmCoreErrorExitError (293) */2574 export interface EvmCoreErrorExitError extends Enum {2575 readonly isStackUnderflow: boolean;2576 readonly isStackOverflow: boolean;2577 readonly isInvalidJump: boolean;2578 readonly isInvalidRange: boolean;2579 readonly isDesignatedInvalid: boolean;2580 readonly isCallTooDeep: boolean;2581 readonly isCreateCollision: boolean;2582 readonly isCreateContractLimit: boolean;2583 readonly isOutOfOffset: boolean;2584 readonly isOutOfGas: boolean;2585 readonly isOutOfFund: boolean;2586 readonly isPcUnderflow: boolean;2587 readonly isCreateEmpty: boolean;2588 readonly isOther: boolean;2589 readonly asOther: Text;2590 readonly isInvalidCode: boolean;2591 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2592 }25932594 /** @name EvmCoreErrorExitRevert (296) */2595 export interface EvmCoreErrorExitRevert extends Enum {2596 readonly isReverted: boolean;2597 readonly type: 'Reverted';2598 }25992600 /** @name EvmCoreErrorExitFatal (297) */2601 export interface EvmCoreErrorExitFatal extends Enum {2602 readonly isNotSupported: boolean;2603 readonly isUnhandledInterrupt: boolean;2604 readonly isCallErrorAsFatal: boolean;2605 readonly asCallErrorAsFatal: EvmCoreErrorExitError;2606 readonly isOther: boolean;2607 readonly asOther: Text;2608 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2609 }26102611 /** @name FrameSystemPhase (298) */2612 export interface FrameSystemPhase extends Enum {2613 readonly isApplyExtrinsic: boolean;2614 readonly asApplyExtrinsic: u32;2615 readonly isFinalization: boolean;2616 readonly isInitialization: boolean;2617 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2618 }26192620 /** @name FrameSystemLastRuntimeUpgradeInfo (300) */2621 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2622 readonly specVersion: Compact<u32>;2623 readonly specName: Text;2624 }26252626 /** @name FrameSystemLimitsBlockWeights (301) */2627 export interface FrameSystemLimitsBlockWeights extends Struct {2628 readonly baseBlock: u64;2629 readonly maxBlock: u64;2630 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2631 }26322633 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (302) */2634 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2635 readonly normal: FrameSystemLimitsWeightsPerClass;2636 readonly operational: FrameSystemLimitsWeightsPerClass;2637 readonly mandatory: FrameSystemLimitsWeightsPerClass;2638 }26392640 /** @name FrameSystemLimitsWeightsPerClass (303) */2641 export interface FrameSystemLimitsWeightsPerClass extends Struct {2642 readonly baseExtrinsic: u64;2643 readonly maxExtrinsic: Option<u64>;2644 readonly maxTotal: Option<u64>;2645 readonly reserved: Option<u64>;2646 }26472648 /** @name FrameSystemLimitsBlockLength (305) */2649 export interface FrameSystemLimitsBlockLength extends Struct {2650 readonly max: FrameSupportWeightsPerDispatchClassU32;2651 }26522653 /** @name FrameSupportWeightsPerDispatchClassU32 (306) */2654 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2655 readonly normal: u32;2656 readonly operational: u32;2657 readonly mandatory: u32;2658 }26592660 /** @name FrameSupportWeightsRuntimeDbWeight (307) */2661 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2662 readonly read: u64;2663 readonly write: u64;2664 }26652666 /** @name SpVersionRuntimeVersion (308) */2667 export interface SpVersionRuntimeVersion extends Struct {2668 readonly specName: Text;2669 readonly implName: Text;2670 readonly authoringVersion: u32;2671 readonly specVersion: u32;2672 readonly implVersion: u32;2673 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2674 readonly transactionVersion: u32;2675 readonly stateVersion: u8;2676 }26772678 /** @name FrameSystemError (312) */2679 export interface FrameSystemError extends Enum {2680 readonly isInvalidSpecName: boolean;2681 readonly isSpecVersionNeedsToIncrease: boolean;2682 readonly isFailedToExtractRuntimeVersion: boolean;2683 readonly isNonDefaultComposite: boolean;2684 readonly isNonZeroRefCount: boolean;2685 readonly isCallFiltered: boolean;2686 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2687 }26882689 /** @name OrmlVestingModuleError (314) */2690 export interface OrmlVestingModuleError extends Enum {2691 readonly isZeroVestingPeriod: boolean;2692 readonly isZeroVestingPeriodCount: boolean;2693 readonly isInsufficientBalanceToLock: boolean;2694 readonly isTooManyVestingSchedules: boolean;2695 readonly isAmountLow: boolean;2696 readonly isMaxVestingSchedulesExceeded: boolean;2697 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2698 }26992700 /** @name CumulusPalletXcmpQueueInboundChannelDetails (316) */2701 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2702 readonly sender: u32;2703 readonly state: CumulusPalletXcmpQueueInboundState;2704 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2705 }27062707 /** @name CumulusPalletXcmpQueueInboundState (317) */2708 export interface CumulusPalletXcmpQueueInboundState extends Enum {2709 readonly isOk: boolean;2710 readonly isSuspended: boolean;2711 readonly type: 'Ok' | 'Suspended';2712 }27132714 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (320) */2715 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2716 readonly isConcatenatedVersionedXcm: boolean;2717 readonly isConcatenatedEncodedBlob: boolean;2718 readonly isSignals: boolean;2719 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2720 }27212722 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (323) */2723 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2724 readonly recipient: u32;2725 readonly state: CumulusPalletXcmpQueueOutboundState;2726 readonly signalsExist: bool;2727 readonly firstIndex: u16;2728 readonly lastIndex: u16;2729 }27302731 /** @name CumulusPalletXcmpQueueOutboundState (324) */2732 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2733 readonly isOk: boolean;2734 readonly isSuspended: boolean;2735 readonly type: 'Ok' | 'Suspended';2736 }27372738 /** @name CumulusPalletXcmpQueueQueueConfigData (326) */2739 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2740 readonly suspendThreshold: u32;2741 readonly dropThreshold: u32;2742 readonly resumeThreshold: u32;2743 readonly thresholdWeight: u64;2744 readonly weightRestrictDecay: u64;2745 readonly xcmpMaxIndividualWeight: u64;2746 }27472748 /** @name CumulusPalletXcmpQueueError (328) */2749 export interface CumulusPalletXcmpQueueError extends Enum {2750 readonly isFailedToSend: boolean;2751 readonly isBadXcmOrigin: boolean;2752 readonly isBadXcm: boolean;2753 readonly isBadOverweightIndex: boolean;2754 readonly isWeightOverLimit: boolean;2755 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2756 }27572758 /** @name PalletXcmError (329) */2759 export interface PalletXcmError extends Enum {2760 readonly isUnreachable: boolean;2761 readonly isSendFailure: boolean;2762 readonly isFiltered: boolean;2763 readonly isUnweighableMessage: boolean;2764 readonly isDestinationNotInvertible: boolean;2765 readonly isEmpty: boolean;2766 readonly isCannotReanchor: boolean;2767 readonly isTooManyAssets: boolean;2768 readonly isInvalidOrigin: boolean;2769 readonly isBadVersion: boolean;2770 readonly isBadLocation: boolean;2771 readonly isNoSubscription: boolean;2772 readonly isAlreadySubscribed: boolean;2773 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2774 }27752776 /** @name CumulusPalletXcmError (330) */2777 export type CumulusPalletXcmError = Null;27782779 /** @name CumulusPalletDmpQueueConfigData (331) */2780 export interface CumulusPalletDmpQueueConfigData extends Struct {2781 readonly maxIndividual: u64;2782 }27832784 /** @name CumulusPalletDmpQueuePageIndexData (332) */2785 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2786 readonly beginUsed: u32;2787 readonly endUsed: u32;2788 readonly overweightCount: u64;2789 }27902791 /** @name CumulusPalletDmpQueueError (335) */2792 export interface CumulusPalletDmpQueueError extends Enum {2793 readonly isUnknown: boolean;2794 readonly isOverLimit: boolean;2795 readonly type: 'Unknown' | 'OverLimit';2796 }27972798 /** @name PalletUniqueError (339) */2799 export interface PalletUniqueError extends Enum {2800 readonly isCollectionDecimalPointLimitExceeded: boolean;2801 readonly isConfirmUnsetSponsorFail: boolean;2802 readonly isEmptyArgument: boolean;2803 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2804 }28052806 /** @name PalletUnqSchedulerScheduledV3 (342) */2807 export interface PalletUnqSchedulerScheduledV3 extends Struct {2808 readonly maybeId: Option<U8aFixed>;2809 readonly priority: u8;2810 readonly call: FrameSupportScheduleMaybeHashed;2811 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2812 readonly origin: OpalRuntimeOriginCaller;2813 }28142815 /** @name OpalRuntimeOriginCaller (343) */2816 export interface OpalRuntimeOriginCaller extends Enum {2817 readonly isVoid: boolean;2818 readonly isSystem: boolean;2819 readonly asSystem: FrameSupportDispatchRawOrigin;2820 readonly isPolkadotXcm: boolean;2821 readonly asPolkadotXcm: PalletXcmOrigin;2822 readonly isCumulusXcm: boolean;2823 readonly asCumulusXcm: CumulusPalletXcmOrigin;2824 readonly isEthereum: boolean;2825 readonly asEthereum: PalletEthereumRawOrigin;2826 readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2827 }28282829 /** @name FrameSupportDispatchRawOrigin (344) */2830 export interface FrameSupportDispatchRawOrigin extends Enum {2831 readonly isRoot: boolean;2832 readonly isSigned: boolean;2833 readonly asSigned: AccountId32;2834 readonly isNone: boolean;2835 readonly type: 'Root' | 'Signed' | 'None';2836 }28372838 /** @name PalletXcmOrigin (345) */2839 export interface PalletXcmOrigin extends Enum {2840 readonly isXcm: boolean;2841 readonly asXcm: XcmV1MultiLocation;2842 readonly isResponse: boolean;2843 readonly asResponse: XcmV1MultiLocation;2844 readonly type: 'Xcm' | 'Response';2845 }28462847 /** @name CumulusPalletXcmOrigin (346) */2848 export interface CumulusPalletXcmOrigin extends Enum {2849 readonly isRelay: boolean;2850 readonly isSiblingParachain: boolean;2851 readonly asSiblingParachain: u32;2852 readonly type: 'Relay' | 'SiblingParachain';2853 }28542855 /** @name PalletEthereumRawOrigin (347) */2856 export interface PalletEthereumRawOrigin extends Enum {2857 readonly isEthereumTransaction: boolean;2858 readonly asEthereumTransaction: H160;2859 readonly type: 'EthereumTransaction';2860 }28612862 /** @name SpCoreVoid (348) */2863 export type SpCoreVoid = Null;28642865 /** @name PalletUnqSchedulerError (349) */2866 export interface PalletUnqSchedulerError extends Enum {2867 readonly isFailedToSchedule: boolean;2868 readonly isNotFound: boolean;2869 readonly isTargetBlockNumberInPast: boolean;2870 readonly isRescheduleNoChange: boolean;2871 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2872 }28732874 /** @name UpDataStructsCollection (350) */2875 export interface UpDataStructsCollection extends Struct {2876 readonly owner: AccountId32;2877 readonly mode: UpDataStructsCollectionMode;2878 readonly name: Vec<u16>;2879 readonly description: Vec<u16>;2880 readonly tokenPrefix: Bytes;2881 readonly sponsorship: UpDataStructsSponsorshipState;2882 readonly limits: UpDataStructsCollectionLimits;2883 readonly permissions: UpDataStructsCollectionPermissions;2884 readonly externalCollection: bool;2885 }28862887 /** @name UpDataStructsSponsorshipState (351) */2888 export interface UpDataStructsSponsorshipState extends Enum {2889 readonly isDisabled: boolean;2890 readonly isUnconfirmed: boolean;2891 readonly asUnconfirmed: AccountId32;2892 readonly isConfirmed: boolean;2893 readonly asConfirmed: AccountId32;2894 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2895 }28962897 /** @name UpDataStructsProperties (352) */2898 export interface UpDataStructsProperties extends Struct {2899 readonly map: UpDataStructsPropertiesMapBoundedVec;2900 readonly consumedSpace: u32;2901 readonly spaceLimit: u32;2902 }29032904 /** @name UpDataStructsPropertiesMapBoundedVec (353) */2905 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}29062907 /** @name UpDataStructsPropertiesMapPropertyPermission (358) */2908 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}29092910 /** @name UpDataStructsCollectionStats (365) */2911 export interface UpDataStructsCollectionStats extends Struct {2912 readonly created: u32;2913 readonly destroyed: u32;2914 readonly alive: u32;2915 }29162917 /** @name UpDataStructsTokenChild (366) */2918 export interface UpDataStructsTokenChild extends Struct {2919 readonly token: u32;2920 readonly collection: u32;2921 }29222923 /** @name PhantomTypeUpDataStructs (367) */2924 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}29252926 /** @name UpDataStructsTokenData (369) */2927 export interface UpDataStructsTokenData extends Struct {2928 readonly properties: Vec<UpDataStructsProperty>;2929 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2930 }29312932 /** @name UpDataStructsRpcCollection (371) */2933 export interface UpDataStructsRpcCollection extends Struct {2934 readonly owner: AccountId32;2935 readonly mode: UpDataStructsCollectionMode;2936 readonly name: Vec<u16>;2937 readonly description: Vec<u16>;2938 readonly tokenPrefix: Bytes;2939 readonly sponsorship: UpDataStructsSponsorshipState;2940 readonly limits: UpDataStructsCollectionLimits;2941 readonly permissions: UpDataStructsCollectionPermissions;2942 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2943 readonly properties: Vec<UpDataStructsProperty>;2944 readonly readOnly: bool;2945 }29462947 /** @name RmrkTraitsCollectionCollectionInfo (372) */2948 export interface RmrkTraitsCollectionCollectionInfo extends Struct {2949 readonly issuer: AccountId32;2950 readonly metadata: Bytes;2951 readonly max: Option<u32>;2952 readonly symbol: Bytes;2953 readonly nftsCount: u32;2954 }29552956 /** @name RmrkTraitsNftNftInfo (373) */2957 export interface RmrkTraitsNftNftInfo extends Struct {2958 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2959 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2960 readonly metadata: Bytes;2961 readonly equipped: bool;2962 readonly pending: bool;2963 }29642965 /** @name RmrkTraitsNftRoyaltyInfo (375) */2966 export interface RmrkTraitsNftRoyaltyInfo extends Struct {2967 readonly recipient: AccountId32;2968 readonly amount: Permill;2969 }29702971 /** @name RmrkTraitsResourceResourceInfo (376) */2972 export interface RmrkTraitsResourceResourceInfo extends Struct {2973 readonly id: u32;2974 readonly resource: RmrkTraitsResourceResourceTypes;2975 readonly pending: bool;2976 readonly pendingRemoval: bool;2977 }29782979 /** @name RmrkTraitsResourceResourceTypes (377) */2980 export interface RmrkTraitsResourceResourceTypes extends Enum {2981 readonly isBasic: boolean;2982 readonly asBasic: RmrkTraitsResourceBasicResource;2983 readonly isComposable: boolean;2984 readonly asComposable: RmrkTraitsResourceComposableResource;2985 readonly isSlot: boolean;2986 readonly asSlot: RmrkTraitsResourceSlotResource;2987 readonly type: 'Basic' | 'Composable' | 'Slot';2988 }29892990 /** @name RmrkTraitsPropertyPropertyInfo (378) */2991 export interface RmrkTraitsPropertyPropertyInfo extends Struct {2992 readonly key: Bytes;2993 readonly value: Bytes;2994 }29952996 /** @name RmrkTraitsBaseBaseInfo (379) */2997 export interface RmrkTraitsBaseBaseInfo extends Struct {2998 readonly issuer: AccountId32;2999 readonly baseType: Bytes;3000 readonly symbol: Bytes;3001 }30023003 /** @name RmrkTraitsNftNftChild (380) */3004 export interface RmrkTraitsNftNftChild extends Struct {3005 readonly collectionId: u32;3006 readonly nftId: u32;3007 }30083009 /** @name PalletCommonError (382) */3010 export interface PalletCommonError extends Enum {3011 readonly isCollectionNotFound: boolean;3012 readonly isMustBeTokenOwner: boolean;3013 readonly isNoPermission: boolean;3014 readonly isCantDestroyNotEmptyCollection: boolean;3015 readonly isPublicMintingNotAllowed: boolean;3016 readonly isAddressNotInAllowlist: boolean;3017 readonly isCollectionNameLimitExceeded: boolean;3018 readonly isCollectionDescriptionLimitExceeded: boolean;3019 readonly isCollectionTokenPrefixLimitExceeded: boolean;3020 readonly isTotalCollectionsLimitExceeded: boolean;3021 readonly isCollectionAdminCountExceeded: boolean;3022 readonly isCollectionLimitBoundsExceeded: boolean;3023 readonly isOwnerPermissionsCantBeReverted: boolean;3024 readonly isTransferNotAllowed: boolean;3025 readonly isAccountTokenLimitExceeded: boolean;3026 readonly isCollectionTokenLimitExceeded: boolean;3027 readonly isMetadataFlagFrozen: boolean;3028 readonly isTokenNotFound: boolean;3029 readonly isTokenValueTooLow: boolean;3030 readonly isApprovedValueTooLow: boolean;3031 readonly isCantApproveMoreThanOwned: boolean;3032 readonly isAddressIsZero: boolean;3033 readonly isUnsupportedOperation: boolean;3034 readonly isNotSufficientFounds: boolean;3035 readonly isNestingIsDisabled: boolean;3036 readonly isOnlyOwnerAllowedToNest: boolean;3037 readonly isSourceCollectionIsNotAllowedToNest: boolean;3038 readonly isCollectionFieldSizeExceeded: boolean;3039 readonly isNoSpaceForProperty: boolean;3040 readonly isPropertyLimitReached: boolean;3041 readonly isPropertyKeyIsTooLong: boolean;3042 readonly isInvalidCharacterInPropertyKey: boolean;3043 readonly isEmptyPropertyKey: boolean;3044 readonly isCollectionIsExternal: boolean;3045 readonly isCollectionIsInternal: boolean;3046 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' | 'CollectionIsExternal' | 'CollectionIsInternal';3047 }30483049 /** @name PalletFungibleError (384) */3050 export interface PalletFungibleError extends Enum {3051 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3052 readonly isFungibleItemsHaveNoId: boolean;3053 readonly isFungibleItemsDontHaveData: boolean;3054 readonly isFungibleDisallowsNesting: boolean;3055 readonly isSettingPropertiesNotAllowed: boolean;3056 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3057 }30583059 /** @name PalletRefungibleItemData (385) */3060 export interface PalletRefungibleItemData extends Struct {3061 readonly constData: Bytes;3062 }30633064 /** @name PalletRefungibleError (389) */3065 export interface PalletRefungibleError extends Enum {3066 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3067 readonly isWrongRefungiblePieces: boolean;3068 readonly isRefungibleDisallowsNesting: boolean;3069 readonly isSettingPropertiesNotAllowed: boolean;3070 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3071 }30723073 /** @name PalletNonfungibleItemData (390) */3074 export interface PalletNonfungibleItemData extends Struct {3075 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3076 }30773078 /** @name PalletNonfungibleError (392) */3079 export interface PalletNonfungibleError extends Enum {3080 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3081 readonly isNonfungibleItemsHaveNoAmount: boolean;3082 readonly isCantBurnNftWithChildren: boolean;3083 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3084 }30853086 /** @name PalletStructureError (393) */3087 export interface PalletStructureError extends Enum {3088 readonly isOuroborosDetected: boolean;3089 readonly isDepthLimit: boolean;3090 readonly isTokenNotFound: boolean;3091 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';3092 }30933094 /** @name PalletRmrkCoreError (394) */3095 export interface PalletRmrkCoreError extends Enum {3096 readonly isCorruptedCollectionType: boolean;3097 readonly isNftTypeEncodeError: boolean;3098 readonly isRmrkPropertyKeyIsTooLong: boolean;3099 readonly isRmrkPropertyValueIsTooLong: boolean;3100 readonly isCollectionNotEmpty: boolean;3101 readonly isNoAvailableCollectionId: boolean;3102 readonly isNoAvailableNftId: boolean;3103 readonly isCollectionUnknown: boolean;3104 readonly isNoPermission: boolean;3105 readonly isNonTransferable: boolean;3106 readonly isCollectionFullOrLocked: boolean;3107 readonly isResourceDoesntExist: boolean;3108 readonly isCannotSendToDescendentOrSelf: boolean;3109 readonly isCannotAcceptNonOwnedNft: boolean;3110 readonly isCannotRejectNonOwnedNft: boolean;3111 readonly isResourceNotPending: boolean;3112 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';3113 }31143115 /** @name PalletRmrkEquipError (396) */3116 export interface PalletRmrkEquipError extends Enum {3117 readonly isPermissionError: boolean;3118 readonly isNoAvailableBaseId: boolean;3119 readonly isNoAvailablePartId: boolean;3120 readonly isBaseDoesntExist: boolean;3121 readonly isNeedsDefaultThemeFirst: boolean;3122 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';3123 }31243125 /** @name PalletEvmError (399) */3126 export interface PalletEvmError extends Enum {3127 readonly isBalanceLow: boolean;3128 readonly isFeeOverflow: boolean;3129 readonly isPaymentOverflow: boolean;3130 readonly isWithdrawFailed: boolean;3131 readonly isGasPriceTooLow: boolean;3132 readonly isInvalidNonce: boolean;3133 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3134 }31353136 /** @name FpRpcTransactionStatus (402) */3137 export interface FpRpcTransactionStatus extends Struct {3138 readonly transactionHash: H256;3139 readonly transactionIndex: u32;3140 readonly from: H160;3141 readonly to: Option<H160>;3142 readonly contractAddress: Option<H160>;3143 readonly logs: Vec<EthereumLog>;3144 readonly logsBloom: EthbloomBloom;3145 }31463147 /** @name EthbloomBloom (404) */3148 export interface EthbloomBloom extends U8aFixed {}31493150 /** @name EthereumReceiptReceiptV3 (406) */3151 export interface EthereumReceiptReceiptV3 extends Enum {3152 readonly isLegacy: boolean;3153 readonly asLegacy: EthereumReceiptEip658ReceiptData;3154 readonly isEip2930: boolean;3155 readonly asEip2930: EthereumReceiptEip658ReceiptData;3156 readonly isEip1559: boolean;3157 readonly asEip1559: EthereumReceiptEip658ReceiptData;3158 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3159 }31603161 /** @name EthereumReceiptEip658ReceiptData (407) */3162 export interface EthereumReceiptEip658ReceiptData extends Struct {3163 readonly statusCode: u8;3164 readonly usedGas: U256;3165 readonly logsBloom: EthbloomBloom;3166 readonly logs: Vec<EthereumLog>;3167 }31683169 /** @name EthereumBlock (408) */3170 export interface EthereumBlock extends Struct {3171 readonly header: EthereumHeader;3172 readonly transactions: Vec<EthereumTransactionTransactionV2>;3173 readonly ommers: Vec<EthereumHeader>;3174 }31753176 /** @name EthereumHeader (409) */3177 export interface EthereumHeader extends Struct {3178 readonly parentHash: H256;3179 readonly ommersHash: H256;3180 readonly beneficiary: H160;3181 readonly stateRoot: H256;3182 readonly transactionsRoot: H256;3183 readonly receiptsRoot: H256;3184 readonly logsBloom: EthbloomBloom;3185 readonly difficulty: U256;3186 readonly number: U256;3187 readonly gasLimit: U256;3188 readonly gasUsed: U256;3189 readonly timestamp: u64;3190 readonly extraData: Bytes;3191 readonly mixHash: H256;3192 readonly nonce: EthereumTypesHashH64;3193 }31943195 /** @name EthereumTypesHashH64 (410) */3196 export interface EthereumTypesHashH64 extends U8aFixed {}31973198 /** @name PalletEthereumError (415) */3199 export interface PalletEthereumError extends Enum {3200 readonly isInvalidSignature: boolean;3201 readonly isPreLogExists: boolean;3202 readonly type: 'InvalidSignature' | 'PreLogExists';3203 }32043205 /** @name PalletEvmCoderSubstrateError (416) */3206 export interface PalletEvmCoderSubstrateError extends Enum {3207 readonly isOutOfGas: boolean;3208 readonly isOutOfFund: boolean;3209 readonly type: 'OutOfGas' | 'OutOfFund';3210 }32113212 /** @name PalletEvmContractHelpersSponsoringModeT (417) */3213 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3214 readonly isDisabled: boolean;3215 readonly isAllowlisted: boolean;3216 readonly isGenerous: boolean;3217 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3218 }32193220 /** @name PalletEvmContractHelpersError (419) */3221 export interface PalletEvmContractHelpersError extends Enum {3222 readonly isNoPermission: boolean;3223 readonly type: 'NoPermission';3224 }32253226 /** @name PalletEvmMigrationError (420) */3227 export interface PalletEvmMigrationError extends Enum {3228 readonly isAccountNotEmpty: boolean;3229 readonly isAccountIsNotMigrating: boolean;3230 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3231 }32323233 /** @name SpRuntimeMultiSignature (422) */3234 export interface SpRuntimeMultiSignature extends Enum {3235 readonly isEd25519: boolean;3236 readonly asEd25519: SpCoreEd25519Signature;3237 readonly isSr25519: boolean;3238 readonly asSr25519: SpCoreSr25519Signature;3239 readonly isEcdsa: boolean;3240 readonly asEcdsa: SpCoreEcdsaSignature;3241 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3242 }32433244 /** @name SpCoreEd25519Signature (423) */3245 export interface SpCoreEd25519Signature extends U8aFixed {}32463247 /** @name SpCoreSr25519Signature (425) */3248 export interface SpCoreSr25519Signature extends U8aFixed {}32493250 /** @name SpCoreEcdsaSignature (426) */3251 export interface SpCoreEcdsaSignature extends U8aFixed {}32523253 /** @name FrameSystemExtensionsCheckSpecVersion (429) */3254 export type FrameSystemExtensionsCheckSpecVersion = Null;32553256 /** @name FrameSystemExtensionsCheckGenesis (430) */3257 export type FrameSystemExtensionsCheckGenesis = Null;32583259 /** @name FrameSystemExtensionsCheckNonce (433) */3260 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}32613262 /** @name FrameSystemExtensionsCheckWeight (434) */3263 export type FrameSystemExtensionsCheckWeight = Null;32643265 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (435) */3266 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}32673268 /** @name OpalRuntimeRuntime (436) */3269 export type OpalRuntimeRuntime = Null;32703271 /** @name PalletEthereumFakeTransactionFinalizer (437) */3272 export type PalletEthereumFakeTransactionFinalizer = Null;32733274} // declare moduletests/src/nesting/nest.test.tsdiffbeforeafterboth--- a/tests/src/nesting/nest.test.ts
+++ b/tests/src/nesting/nest.test.ts
@@ -32,7 +32,7 @@
it('Performs the full suite: bundles a token, transfers, and unnests', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Create a nested token
@@ -62,7 +62,7 @@
it('Transfers an already bundled token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const tokenA = await createItemExpectSuccess(alice, collection, 'NFT');
const tokenB = await createItemExpectSuccess(alice, collection, 'NFT');
@@ -92,7 +92,7 @@
it('Checks token children', async () => {
await usingApi(async api => {
const collectionA = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: {tokenOwner: true}});
const collectionB = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
const targetToken = await createItemExpectSuccess(alice, collectionA, 'NFT');
@@ -151,7 +151,7 @@
it('NFT: allows an Owner to nest/unnest their token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Create a nested token
@@ -170,7 +170,7 @@
it('NFT: allows an Owner to nest/unnest their token (Restricted nesting)', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[collection]}});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[collection]}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Create a nested token
@@ -191,7 +191,7 @@
it('Fungible: allows an Owner to nest/unnest their token', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT', {Substrate: alice.address});
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
@@ -218,7 +218,7 @@
const collectionFT = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted: [collectionFT]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted: [collectionFT]}});
// Create a nested token
await expect(executeTransaction(api, alice, api.tx.unique.createItem(
@@ -238,7 +238,7 @@
it('ReFungible: allows an Owner to nest/unnest their token', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT', {Substrate: alice.address});
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
@@ -265,7 +265,7 @@
const collectionRFT = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionRFT]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionRFT]}});
// Create a nested token
await expect(executeTransaction(api, alice, api.tx.unique.createItem(
@@ -292,7 +292,7 @@
it('Disallows excessive token nesting', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const maxNestingLevel = 5;
@@ -326,7 +326,7 @@
it('NFT: disallows to nest token if nesting is disabled', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Disabled'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Try to create a nested token
@@ -334,12 +334,12 @@
collection,
{Ethereum: tokenIdToAddress(collection, targetToken)},
{nft: {const_data: [], variable_data: []}} as any,
- )), 'while creating nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);
+ )), 'while creating nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
// Create a token to be nested
const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Try to nest
- await expect(executeTransaction(api, alice, api.tx.unique.transfer({Ethereum: tokenIdToAddress(collection, targetToken)}, collection, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.NestingIsDisabled/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer({Ethereum: tokenIdToAddress(collection, targetToken)}, collection, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
expect(await getTopmostTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: alice.address});
expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: alice.address});
});
@@ -348,7 +348,7 @@
it('NFT: disallows a non-Owner to nest someone else\'s token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
await addToAllowListExpectSuccess(alice, collection, bob.address);
await enableAllowListExpectSuccess(alice, collection);
@@ -362,7 +362,7 @@
collection,
{Ethereum: tokenIdToAddress(collection, targetToken)},
{nft: {const_data: [], variable_data: []}} as any,
- )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
@@ -374,7 +374,7 @@
it('NFT: disallows a non-Owner to nest someone else\'s token (Restricted nesting)', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[collection]}});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[collection]}});
await addToAllowListExpectSuccess(alice, collection, bob.address);
await enableAllowListExpectSuccess(alice, collection);
@@ -388,7 +388,7 @@
collection,
{Ethereum: tokenIdToAddress(collection, targetToken)},
{nft: {const_data: [], variable_data: []}} as any,
- )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
@@ -400,7 +400,7 @@
it('NFT: disallows to nest token in an unlisted collection', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[]}});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[]}});
// Create a token to attempt to be nested into
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
@@ -424,7 +424,7 @@
it('Fungible: disallows to nest token if nesting is disabled', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Disabled'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {}});
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
@@ -435,12 +435,12 @@
collectionFT,
targetAddress,
{Fungible: {Value: 10}},
- )), 'while creating nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);
+ )), 'while creating nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
// Create a token to be nested
const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
// Try to nest
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.NestingIsDisabled/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Create another token to be nested
const newToken2 = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
@@ -452,7 +452,7 @@
it('Fungible: disallows a non-Owner to nest someone else\'s token', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
await addToAllowListExpectSuccess(alice, collectionNFT, bob.address);
await enableAllowListExpectSuccess(alice, collectionNFT);
@@ -469,11 +469,11 @@
collectionFT,
targetAddress,
{Fungible: {Value: 10}},
- )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
});
});
@@ -489,25 +489,25 @@
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
const collectionFT = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionFT]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionFT]}});
// Try to create a nested token in the wrong collection
await expect(executeTransaction(api, alice, api.tx.unique.createItem(
collectionFT,
targetAddress,
{Fungible: {Value: 10}},
- )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
});
});
it('Fungible: disallows to nest token in an unlisted collection', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[]}});
// Create a token to attempt to be nested into
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
@@ -533,7 +533,7 @@
it('ReFungible: disallows to nest token if nesting is disabled', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Disabled'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {}});
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
@@ -544,14 +544,14 @@
collectionRFT,
targetAddress,
{ReFungible: {const_data: [], pieces: 100}},
- )), 'while creating a nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);
+ )), 'while creating a nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
// Create a token to be nested
const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
// Try to nest
await transferExpectFailure(collectionRFT, newToken, alice, targetAddress, 100);
// Try to nest
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.NestingIsDisabled/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Create another token to be nested
const newToken2 = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
@@ -563,7 +563,7 @@
it('ReFungible: disallows a non-Owner to nest someone else\'s token', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
await addToAllowListExpectSuccess(alice, collectionNFT, bob.address);
await enableAllowListExpectSuccess(alice, collectionNFT);
@@ -580,11 +580,11 @@
collectionRFT,
targetAddress,
{ReFungible: {const_data: [], pieces: 100}},
- )), 'while creating a nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
});
});
@@ -600,25 +600,25 @@
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
const collectionRFT = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionRFT]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionRFT]}});
// Try to create a nested token in the wrong collection
await expect(executeTransaction(api, alice, api.tx.unique.createItem(
collectionRFT,
targetAddress,
{ReFungible: {const_data: [], pieces: 100}},
- )), 'while creating a nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
});
});
it('ReFungible: disallows to nest token to an unlisted collection', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[]}});
// Create a token to attempt to be nested into
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
tests/src/nesting/rules-smoke.test.tsdiffbeforeafterboth--- a/tests/src/nesting/rules-smoke.test.ts
+++ b/tests/src/nesting/rules-smoke.test.ts
@@ -14,7 +14,7 @@
const events = await executeTransaction(api, alice, api.tx.unique.createCollectionEx({
mode: 'NFT',
permissions: {
- nesting: {OwnerRestricted: []},
+ nesting: {tokenOwner: true, restricted: []},
},
}));
const collection = getCreateCollectionResult(events).collectionId;
tests/src/nesting/unnest.test.tsdiffbeforeafterboth--- a/tests/src/nesting/unnest.test.ts
+++ b/tests/src/nesting/unnest.test.ts
@@ -27,7 +27,7 @@
it('NFT: allows the owner to successfully unnest a token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
@@ -56,7 +56,7 @@
it('Fungible: allows the owner to successfully unnest a token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
@@ -83,7 +83,7 @@
it('ReFungible: allows the owner to successfully unnest a token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
@@ -118,7 +118,7 @@
it('Disallows a non-owner to unnest/burn a token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
@@ -148,7 +148,7 @@
// Recursive nesting
it('Prevents Ouroboros creation', async () => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Create a nested token ouroboros
tests/src/util/helpers.tsdiffbeforeafterboth--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -193,7 +193,7 @@
if (method === 'ExtrinsicSuccess') {
success = true;
} else if ((expectSection == section) && (expectMethod == method)) {
- successData = extractAction!(data);
+ successData = extractAction!(data as any);
}
});
@@ -547,7 +547,7 @@
});
}
-export const setCollectionPermissionsExpectSuccess = async (sender: IKeyringPair, collectionId: number, permissions: {mintMode?: boolean, access?: 'Normal' | 'AllowList', nesting?: 'Disabled' | 'Owner' | {OwnerRestricted: number[]}}) => {
+export const setCollectionPermissionsExpectSuccess = async (sender: IKeyringPair, collectionId: number, permissions: any) => {
await usingApi(async(api) => {
const tx = api.tx.unique.setCollectionPermissions(collectionId, permissions);
const events = await submitTransactionAsync(sender, tx);
tests/yarn.lockdiffbeforeafterboth--- a/tests/yarn.lock
+++ b/tests/yarn.lock
@@ -508,78 +508,78 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"
-"@polkadot/api-augment@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-8.7.2-11.tgz#7f174f830c181d82863eb41f48e24fd6bbde3065"
- integrity sha512-yKsuxjez1ArwSEZJ+g8mausm38CgOtaWBG5ob5cmO9M2v45HBXy3Kmviqr8Dputtu23deT85p7m/8RFLlAnzSA==
+"@polkadot/api-augment@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-8.7.2-15.tgz#a141d3cd595a39e7e2965330268b5eb92bdd5849"
+ integrity sha512-QGXosX6p0RFYNhWepZCIaRiyCvHnVt5Pb6U7/77UxIszgGRHfHFDsYr4v5bGiaRTOj/E8moc2Ufi/+VgOiG9sw==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/api-base" "8.7.2-11"
- "@polkadot/rpc-augment" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-augment" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/api-base" "8.7.2-15"
+ "@polkadot/rpc-augment" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-augment" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/api-base@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-8.7.2-11.tgz#7e297a0ca283a58bc9d8d11c1edb099bc61da9f1"
- integrity sha512-WQE5uvb7W7AKSfy4ekW2i6mJJzZYLMS/eNPNXYpURW/cRPt9NhT9lNz2Ae2d7gaWgWil+jNLecXTHTUzxobRbA==
+"@polkadot/api-base@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-8.7.2-15.tgz#c909d3bf0fbfb3cc46ca7067199e36e72b959bdb"
+ integrity sha512-HXdtaqbpnfFbOazjI9CPSYM37S4mzhxUs8hLMKrWqpHL//at4tiMa5dRyev9VSKeE6gqeqCT9JTBvEAZ9eNR6Q==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/rpc-core" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
+ "@polkadot/rpc-core" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
"@polkadot/util" "^9.4.1"
rxjs "^7.5.5"
-"@polkadot/api-contract@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-8.7.2-11.tgz#9487394286e536a7b1edfb6296529722fa63a43a"
- integrity sha512-vOi4FX33ttkotJDzSum0nFUworWJ2+yfDejZkC33mM8zb+ne0Quggfz2nQqiKS2lgkj2z4YwJbsf/9paRQeS3w==
+"@polkadot/api-contract@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-8.7.2-15.tgz#687706fb4bd33c4a88187db3a269292f6e559892"
+ integrity sha512-Pr1Nm5zBpW9foCKm/Q6hIT5KHCeFVE8EFSfHBgjbitYpFOGnz19kduEpa0vxIcfq2WVXcVPTQ2eqjGtHoThNqA==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/api" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
+ "@polkadot/api" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
rxjs "^7.5.5"
-"@polkadot/api-derive@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-8.7.2-11.tgz#21e315d554a8cd31bb1f3b10077960e35391a311"
- integrity sha512-8fkYidDgNjJcWHtiRfJQaI4H386uGZh5Ie0t21KG4sSC5R+Lbnm0CJwIX4scJvQ/U+38gCyQW07b+Pxt9oDwvg==
+"@polkadot/api-derive@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-8.7.2-15.tgz#b29f24d435c036c9bf5624d18a9d93196cf2c4f4"
+ integrity sha512-0R3M9LFKoQ0d7elIDQjPKuV5EAHTtkU/72Lgxw2GYStsOqcnfFNomfLoLMuk8Xy4ETUAp/Kq1eMJpvsY6hSTtA==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/api" "8.7.2-11"
- "@polkadot/api-augment" "8.7.2-11"
- "@polkadot/api-base" "8.7.2-11"
- "@polkadot/rpc-core" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/api" "8.7.2-15"
+ "@polkadot/api-augment" "8.7.2-15"
+ "@polkadot/api-base" "8.7.2-15"
+ "@polkadot/rpc-core" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
rxjs "^7.5.5"
-"@polkadot/api@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-8.7.2-11.tgz#d76ad24f96fc9eba49825c11277105d12bf5e05c"
- integrity sha512-eFQtZOJOVK5IbNSjvrk1JrOZJrtZRjaecMAhnQiglMPoIfQJiRbnXhUslGbXsgFoJsfWW6DAVY5aJi/PjuF9OQ==
+"@polkadot/api@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-8.7.2-15.tgz#c7ede416e4d277c227fc93fdfdc4d27634935d08"
+ integrity sha512-tzEUWsXIPzPbnpn/3LTGtJ7SXzMgCJ/da5d9q0UH3vsx1gDEjuZEWXOeSYLHgbqQSgwPukvMVuGtRjcC+A/WZQ==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/api-augment" "8.7.2-11"
- "@polkadot/api-base" "8.7.2-11"
- "@polkadot/api-derive" "8.7.2-11"
+ "@polkadot/api-augment" "8.7.2-15"
+ "@polkadot/api-base" "8.7.2-15"
+ "@polkadot/api-derive" "8.7.2-15"
"@polkadot/keyring" "^9.4.1"
- "@polkadot/rpc-augment" "8.7.2-11"
- "@polkadot/rpc-core" "8.7.2-11"
- "@polkadot/rpc-provider" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-augment" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
- "@polkadot/types-known" "8.7.2-11"
+ "@polkadot/rpc-augment" "8.7.2-15"
+ "@polkadot/rpc-core" "8.7.2-15"
+ "@polkadot/rpc-provider" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-augment" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
+ "@polkadot/types-known" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
eventemitter3 "^4.0.7"
@@ -603,38 +603,38 @@
"@polkadot/util" "9.4.1"
"@substrate/ss58-registry" "^1.22.0"
-"@polkadot/rpc-augment@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-8.7.2-11.tgz#b118303653fb6f80688c62600fde2ed489e1c974"
- integrity sha512-/h50Kzz/UZwhsV+g7bwGWf0fkVvlWIQ/zaA7H9xtuE4VGvmZRE4Uu06011ToVWNyAwM5xQfXBx1gUznRhem+pg==
+"@polkadot/rpc-augment@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-8.7.2-15.tgz#6175126968dfb79ba5549b03cac8c3860666e72b"
+ integrity sha512-IgfkR9CHT8jDuGYkb75DBFu+yJNW32+vOt3oS0sf57VqkHketSq9rD3mtZD37V/21Q4a17yrqKQOte7mMl9kcg==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/rpc-core" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/rpc-core" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/rpc-core@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-8.7.2-11.tgz#9c31a34bc2f70e4dab40f9ba08ca9b89c8f3e5c0"
- integrity sha512-DyHYgzBusMFfsDJ/2VBaVTNHRwZ2cf/woaeJA/ijJbxK2Ke/sg9UW6zr+3Ip8T62GnSNnJoSHMOaMdqvebkNVQ==
+"@polkadot/rpc-core@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-8.7.2-15.tgz#827a31adf833fb866cb5f39dbd86c5f0b44d63a4"
+ integrity sha512-yGmpESOmGyzY7+D3yUxbKToz/eP/q8vDyOGajLnHn12TcnjgbAfMdc4xdU6cQex+mSsPwS0YQFuPrPXGloCOHA==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/rpc-augment" "8.7.2-11"
- "@polkadot/rpc-provider" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
+ "@polkadot/rpc-augment" "8.7.2-15"
+ "@polkadot/rpc-provider" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
"@polkadot/util" "^9.4.1"
rxjs "^7.5.5"
-"@polkadot/rpc-provider@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-8.7.2-11.tgz#1f4ef542aee83e0c4e1b2a126ed00ade7c818660"
- integrity sha512-LE5kKEMxL4mZ+dLbU8lOPG2GuPYliYtX1SnXv509zAgUjSCWW9fkdeMBF3tFCjSJJcUmle3mlxG8kYuAqNUScA==
+"@polkadot/rpc-provider@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-8.7.2-15.tgz#99dd30085284442265225e0f12aef3849b7bfe44"
+ integrity sha512-EwgBnUIpGhEfSanDXVviQQ784HYD3DWUPdv9pIvn9qnCZPk7o+MGPvKW73A+XbQpPV9j8tAGnVsSnbDuoSVp1g==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/keyring" "^9.4.1"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-support" "8.7.2-11"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-support" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
"@polkadot/x-fetch" "^9.4.1"
@@ -652,86 +652,86 @@
dependencies:
"@types/chrome" "^0.0.171"
-"@polkadot/typegen@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-8.7.2-11.tgz#047c3c91f4b34f0188853bed606fd12f6a0fbf4d"
- integrity sha512-YZpyT8LJFm3akFurrxHpRWxZU50yKvrfdgyZpJh+JJOhSIIDtkx58JNj2+lv0QvhUFOUkd4IWap9bbCPmeLf6w==
+"@polkadot/typegen@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-8.7.2-15.tgz#06e9d054db1c63d9862186429a8017b2b80bce2a"
+ integrity sha512-NC8Ticirh20k1Co17D8cqQawIJ8W9HWDuq6oDyEMT4XkeBbZ1hQRO9JBO14neWDJmYJBhlUotP65jgjs8D5bMw==
dependencies:
"@babel/core" "^7.18.2"
"@babel/register" "^7.17.7"
"@babel/runtime" "^7.18.3"
- "@polkadot/api" "8.7.2-11"
- "@polkadot/api-augment" "8.7.2-11"
- "@polkadot/rpc-augment" "8.7.2-11"
- "@polkadot/rpc-provider" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-augment" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
- "@polkadot/types-support" "8.7.2-11"
+ "@polkadot/api" "8.7.2-15"
+ "@polkadot/api-augment" "8.7.2-15"
+ "@polkadot/rpc-augment" "8.7.2-15"
+ "@polkadot/rpc-provider" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-augment" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
+ "@polkadot/types-support" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/x-ws" "^9.4.1"
handlebars "^4.7.7"
websocket "^1.0.34"
yargs "^17.5.1"
-"@polkadot/types-augment@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-8.7.2-11.tgz#c63105c76f8d85f7e642f8e81e16c3ffc3b3e7c4"
- integrity sha512-1meIbpS0Synfdz+Jo90jc/utxwbwl9XQiH5WoFCUYLlbtE/H/yQcIoeme5o6gr/q7BalFQMYYwGBfctGT/KGjA==
+"@polkadot/types-augment@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-8.7.2-15.tgz#7ab077a1a31190ad17183196efb1da065c0d0bcd"
+ integrity sha512-th1jVBDqpyQVB2gCNzo/HV0dIeNinjyPla01BFdhQ5mDKYXJ8fugsLCk5oKUPpItBrj+5NWCgynVvCwm0YJw3g==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/types-codec@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-8.7.2-11.tgz#a852d3493062ee1052f7a837d07cce4146f2c67e"
- integrity sha512-ZvRBiVo5IwZ+vcbKIMv6l0kRG2bVpBmU+pCPdWV9zGtKpgumz1FTvxBmjXoNo6OJVX23fKNMF8qBD/DEiC9ZwA==
+"@polkadot/types-codec@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-8.7.2-15.tgz#6afa4ff45dc7afb9250f283f70a40be641367941"
+ integrity sha512-k8t7/Ern7sY4ZKQc5cYY3h1bg7/GAEaTPmKz094DhPJmEhi3NNgeJ4uyeB/JYCo5GbxXQG6W2M021s582urjMw==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/util" "^9.4.1"
-"@polkadot/types-create@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-8.7.2-11.tgz#2489409155d55c941a322349d740e9f8f8325147"
- integrity sha512-489UaZP7JKfZ2Fn0oDQ32setAiV7vv9Q3Kg4a+j4m2TGEEXAVeiNE4Uvijmsw3ayLTtzO9hL0WtMpFWa8GlIMg==
+"@polkadot/types-create@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-8.7.2-15.tgz#106a11eb71dc2743b140d8640a3b3e7fc5ccf10e"
+ integrity sha512-xB9jAJ3XQh/U05b+X77m5TPh4N9oBwwpePkAmLhovTSOSeobj7qeUKrZqccs0BSxJnJPlLwrwuusjeTtTfZCHw==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/types-known@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-8.7.2-11.tgz#89cb0cdea197ed3887b30948a560b0cd13b39c23"
- integrity sha512-ulPQCmwJTJ/MGJGVJZfjWEGq28HGl7D4sOrigbfLOlo6/KyFl2p5H4GUFeF/s+/lGfUQsxfu4Q6QgXDZAOkB1A==
+"@polkadot/types-known@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-8.7.2-15.tgz#171b8d3963a5c38d46f98a7c14be59033f9a4da8"
+ integrity sha512-c5YuuauPCu70chDnV7Fphh7SbAQl8JWj+PoY37I5BACCNFxtUx5KnP93BChiD0QxcHs2QqD6RdjW6O7cVRUKfA==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/networks" "^9.4.1"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/types-support@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-8.7.2-11.tgz#ed08331ba1faf7a803e35aafa0692eefd28baa90"
- integrity sha512-oflUi0eahFMoS3Sxz6EKjZKNl7GMRnd91kClEV0FzR1wEha+3CL1BCXTGV3n8YoJtfztUUNInVHPQTvMW78WvQ==
+"@polkadot/types-support@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-8.7.2-15.tgz#2d726e3d5615383ca97db3f32ee21e2aad077fcb"
+ integrity sha512-Tl6xm9r/uqrKQK1OUdi5X9MaTgplBYPj3tY9677ZPV7QGYWt0Uz912u9fC2v0PGNReDXtzvrlgvk0aoErwzF5Q==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/util" "^9.4.1"
-"@polkadot/types@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-8.7.2-11.tgz#84b1dca2896fec4af23d4096fa810b59f44071ac"
- integrity sha512-PSreCXr/csWpMVqtByEj7Pk5j+JEqxOiipsP+PdtOJaRnWtBMFpMqs7Fj2uULVYqFJKKPyp+JofnRDRcH1YDYg==
+"@polkadot/types@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-8.7.2-15.tgz#5b25b6b76c916637a1d15133b5880a73079e65bc"
+ integrity sha512-KfJKzk6/Ta8vZVJH8+xYYPvd9SD+4fdl4coGgKuPGYZFsjDGnYvAX4ls6/WKby51JK5s24sqaUP3vZisIgh4wA==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/keyring" "^9.4.1"
- "@polkadot/types-augment" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
+ "@polkadot/types-augment" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
rxjs "^7.5.5"