difftreelog
chore fix code review requests
in: master
36 files changed
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -248,8 +248,8 @@
) -> Result<Option<String>>;
/// Get whether an operator is approved by a given owner.
- #[method(name = "unique_isApprovedForAll")]
- fn is_approved_for_all(
+ #[method(name = "unique_allowanceForAll")]
+ fn allowance_for_all(
&self,
collection: CollectionId,
owner: CrossAccountId,
@@ -579,7 +579,7 @@
pass_method!(effective_collection_limits(collection_id: CollectionId) -> Option<CollectionLimits>, unique_api);
pass_method!(total_pieces(collection_id: CollectionId, token_id: TokenId) -> Option<String> => |o| o.map(|number| number.to_string()) , unique_api);
pass_method!(token_owners(collection: CollectionId, token: TokenId) -> Vec<CrossAccountId>, unique_api);
- pass_method!(is_approved_for_all(collection: CollectionId, owner: CrossAccountId, operator: CrossAccountId) -> bool, unique_api);
+ pass_method!(allowance_for_all(collection: CollectionId, owner: CrossAccountId, operator: CrossAccountId) -> bool, unique_api);
}
impl<C, Block, BlockNumber, CrossAccountId, AccountId>
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -1535,7 +1535,7 @@
fn token_owner() -> Weight;
/// The price of setting approval for all
- fn set_approval_for_all() -> Weight;
+ fn set_allowance_for_all() -> Weight;
}
/// Weight info extension trait for refungible pallet.
@@ -1844,11 +1844,11 @@
/// Get extension for RFT collection.
fn refungible_extensions(&self) -> Option<&dyn RefungibleExtensions<T>>;
- /// An operator is allowed to transfer all tokens of the sender on their behalf.
+ /// The `operator` is allowed to transfer all tokens of the `owner` on their behalf.
/// * `owner` - Token owner
/// * `operator` - Operator
/// * `approve` - Should operator status be granted or revoked?
- fn set_approval_for_all(
+ fn set_allowance_for_all(
&self,
owner: T::CrossAccountId,
operator: T::CrossAccountId,
@@ -1856,7 +1856,7 @@
) -> DispatchResultWithPostInfo;
/// Tells whether the given `owner` approves the `operator`.
- fn is_approved_for_all(&self, owner: T::CrossAccountId, operator: T::CrossAccountId) -> bool;
+ fn allowance_for_all(&self, owner: T::CrossAccountId, operator: T::CrossAccountId) -> bool;
}
/// Extension for RFT collection.
pallets/fungible/src/common.rsdiffbeforeafterboth--- a/pallets/fungible/src/common.rs
+++ b/pallets/fungible/src/common.rs
@@ -108,7 +108,7 @@
Weight::zero()
}
- fn set_approval_for_all() -> Weight {
+ fn set_allowance_for_all() -> Weight {
Weight::zero()
}
}
@@ -429,7 +429,7 @@
<TotalSupply<T>>::try_get(self.id).ok()
}
- fn set_approval_for_all(
+ fn set_allowance_for_all(
&self,
_owner: T::CrossAccountId,
_operator: T::CrossAccountId,
@@ -438,7 +438,7 @@
fail!(<Error<T>>::SettingApprovalForAllNotAllowed)
}
- fn is_approved_for_all(&self, _owner: T::CrossAccountId, _operator: T::CrossAccountId) -> bool {
+ fn allowance_for_all(&self, _owner: T::CrossAccountId, _operator: T::CrossAccountId) -> bool {
false
}
}
pallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/benchmarking.rs
+++ b/pallets/nonfungible/src/benchmarking.rs
@@ -223,17 +223,17 @@
}: {collection.token_owner(item)}
- set_approval_for_all {
+ set_allowance_for_all {
bench_init!{
owner: sub; collection: collection(owner);
operator: cross_from_sub(owner); owner: cross_sub;
};
- }: {<Pallet<T>>::set_approval_for_all(&collection, &owner, &operator, true)}
+ }: {<Pallet<T>>::set_allowance_for_all(&collection, &owner, &operator, true)}
- is_approved_for_all {
+ allowance_for_all {
bench_init!{
owner: sub; collection: collection(owner);
operator: cross_from_sub(owner); owner: cross_sub;
};
- }: {<Pallet<T>>::is_approved_for_all(&collection, &owner, &operator)}
+ }: {<Pallet<T>>::allowance_for_all(&collection, &owner, &operator)}
}
pallets/nonfungible/src/common.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/common.rs
+++ b/pallets/nonfungible/src/common.rs
@@ -123,8 +123,8 @@
<SelfWeightOf<T>>::token_owner()
}
- fn set_approval_for_all() -> Weight {
- <SelfWeightOf<T>>::set_approval_for_all()
+ fn set_allowance_for_all() -> Weight {
+ <SelfWeightOf<T>>::set_allowance_for_all()
}
}
@@ -517,19 +517,19 @@
}
}
- fn set_approval_for_all(
+ fn set_allowance_for_all(
&self,
owner: T::CrossAccountId,
operator: T::CrossAccountId,
approve: bool,
) -> DispatchResultWithPostInfo {
with_weight(
- <Pallet<T>>::set_approval_for_all(self, &owner, &operator, approve),
- <CommonWeights<T>>::set_approval_for_all(),
+ <Pallet<T>>::set_allowance_for_all(self, &owner, &operator, approve),
+ <CommonWeights<T>>::set_allowance_for_all(),
)
}
- fn is_approved_for_all(&self, owner: T::CrossAccountId, operator: T::CrossAccountId) -> bool {
- <Pallet<T>>::is_approved_for_all(self, &owner, &operator)
+ fn allowance_for_all(&self, owner: T::CrossAccountId, operator: T::CrossAccountId) -> bool {
+ <Pallet<T>>::allowance_for_all(self, &owner, &operator)
}
}
pallets/nonfungible/src/erc.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/erc.rs
+++ b/pallets/nonfungible/src/erc.rs
@@ -472,8 +472,8 @@
/// @notice Sets or unsets the approval of a given operator.
/// The `operator` is allowed to transfer all tokens of the `caller` on their behalf.
/// @param operator Operator
- /// @param approved Is operator enabled or disabled
- #[weight(<SelfWeightOf<T>>::set_approval_for_all())]
+ /// @param approved Should operator status be granted or revoked?
+ #[weight(<SelfWeightOf<T>>::set_allowance_for_all())]
fn set_approval_for_all(
&mut self,
caller: caller,
@@ -483,7 +483,7 @@
let caller = T::CrossAccountId::from_eth(caller);
let operator = T::CrossAccountId::from_eth(operator);
- <Pallet<T>>::set_approval_for_all(self, &caller, &operator, approved)
+ <Pallet<T>>::set_allowance_for_all(self, &caller, &operator, approved)
.map_err(dispatch_to_evm::<T>)?;
Ok(())
}
@@ -494,13 +494,13 @@
Err("not implemented".into())
}
- /// @notice Tells whether an operator is approved by a given owner.
- #[weight(<SelfWeightOf<T>>::is_approved_for_all())]
+ /// @notice Tells whether the given `owner` approves the `operator`.
+ #[weight(<SelfWeightOf<T>>::allowance_for_all())]
fn is_approved_for_all(&self, owner: address, operator: address) -> Result<bool> {
let owner = T::CrossAccountId::from_eth(owner);
let operator = T::CrossAccountId::from_eth(operator);
- Ok(<Pallet<T>>::is_approved_for_all(self, &owner, &operator))
+ Ok(<Pallet<T>>::allowance_for_all(self, &owner, &operator))
}
/// @notice Returns collection helper contract address
pallets/nonfungible/src/lib.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/lib.rs
+++ b/pallets/nonfungible/src/lib.rs
@@ -274,7 +274,7 @@
/// Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.
#[pallet::storage]
- pub type WalletOperator<T: Config> = StorageNMap<
+ pub type CollectionAllowance<T: Config> = StorageNMap<
Key = (
Key<Twox64Concat, CollectionId>,
Key<Blake2_128Concat, T::CrossAccountId>,
@@ -450,7 +450,7 @@
<TokensBurnt<T>>::remove(id);
let _ = <Allowance<T>>::clear_prefix((id,), u32::MAX, None);
let _ = <AccountBalance<T>>::clear_prefix((id,), u32::MAX, None);
- let _ = <WalletOperator<T>>::clear_prefix((id,), u32::MAX, None);
+ let _ = <CollectionAllowance<T>>::clear_prefix((id,), u32::MAX, None);
Ok(())
}
@@ -1206,7 +1206,7 @@
if <Allowance<T>>::get((collection.id, token)).as_ref() == Some(spender) {
return Ok(());
}
- if <WalletOperator<T>>::get((collection.id, from, spender)) == Some(true) {
+ if <CollectionAllowance<T>>::get((collection.id, from, spender)) {
return Ok(());
}
ensure!(
@@ -1345,11 +1345,11 @@
/// Sets or unsets the approval of a given operator.
///
- /// An operator is allowed to transfer all token pieces of the sender on their behalf.
+ /// The `operator` is allowed to transfer all token pieces of the `owner` on their behalf.
/// - `owner`: Token owner
/// - `operator`: Operator
- /// - `approve`: Is operator enabled or disabled
- pub fn set_approval_for_all(
+ /// - `approve`: Should operator status be granted or revoked?
+ pub fn set_allowance_for_all(
collection: &NonfungibleHandle<T>,
owner: &T::CrossAccountId,
operator: &T::CrossAccountId,
@@ -1364,7 +1364,7 @@
// =========
- <WalletOperator<T>>::insert((collection.id, owner, operator), approve);
+ <CollectionAllowance<T>>::insert((collection.id, owner, operator), approve);
<PalletEvm<T>>::deposit_log(
ERC721Events::ApprovalForAll {
owner: *owner.as_eth(),
@@ -1382,12 +1382,12 @@
Ok(())
}
- /// Tells whether an operator is approved by a given owner.
- pub fn is_approved_for_all(
+ /// Tells whether the given `owner` approves the `operator`.
+ pub fn allowance_for_all(
collection: &NonfungibleHandle<T>,
owner: &T::CrossAccountId,
operator: &T::CrossAccountId,
) -> bool {
- <WalletOperator<T>>::get((collection.id, owner, operator)).unwrap_or(false)
+ <CollectionAllowance<T>>::get((collection.id, owner, operator))
}
}
pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth--- a/pallets/nonfungible/src/stubs/UniqueNFT.sol
+++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol
@@ -1021,9 +1021,9 @@
}
/// @notice Sets or unsets the approval of a given operator.
- /// An operator is allowed to transfer all tokens of the sender on their behalf.
+ /// The `operator` is allowed to transfer all tokens of the `caller` on their behalf.
/// @param operator Operator
- /// @param approved Is operator enabled or disabled
+ /// @param approved Should operator status be granted or revoked?
/// @dev EVM selector for this function is: 0xa22cb465,
/// or in textual repr: setApprovalForAll(address,bool)
function setApprovalForAll(address operator, bool approved) public {
@@ -1043,7 +1043,7 @@
return 0x0000000000000000000000000000000000000000;
}
- /// @notice Tells whether an operator is approved by a given owner.
+ /// @notice Tells whether the given `owner` approves the `operator`.
/// @dev EVM selector for this function is: 0xe985e9c5,
/// or in textual repr: isApprovedForAll(address,address)
function isApprovedForAll(address owner, address operator) public view returns (bool) {
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -48,8 +48,8 @@
fn set_token_properties(b: u32, ) -> Weight;
fn delete_token_properties(b: u32, ) -> Weight;
fn token_owner() -> Weight;
- fn set_approval_for_all() -> Weight;
- fn is_approved_for_all() -> Weight;
+ fn set_allowance_for_all() -> Weight;
+ fn allowance_for_all() -> Weight;
}
/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.
@@ -199,12 +199,12 @@
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Nonfungible WalletOperator (r:0 w:1)
- fn set_approval_for_all() -> Weight {
+ fn set_allowance_for_all() -> Weight {
Weight::from_ref_time(16_231_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible WalletOperator (r:1 w:0)
- fn is_approved_for_all() -> Weight {
+ fn allowance_for_all() -> Weight {
Weight::from_ref_time(6_161_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
@@ -356,12 +356,12 @@
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
// Storage: Nonfungible WalletOperator (r:0 w:1)
- fn set_approval_for_all() -> Weight {
+ fn set_allowance_for_all() -> Weight {
Weight::from_ref_time(16_231_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible WalletOperator (r:1 w:0)
- fn is_approved_for_all() -> Weight {
+ fn allowance_for_all() -> Weight {
Weight::from_ref_time(6_161_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
pallets/refungible/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/refungible/src/benchmarking.rs
+++ b/pallets/refungible/src/benchmarking.rs
@@ -291,17 +291,17 @@
let item = create_max_item(&collection, &sender, [(owner.clone(), 100)])?;
}: {<Pallet<T>>::token_owner(collection.id, item)}
- set_approval_for_all {
+ set_allowance_for_all {
bench_init!{
owner: sub; collection: collection(owner);
operator: cross_from_sub(owner); owner: cross_sub;
};
- }: {<Pallet<T>>::set_approval_for_all(&collection, &owner, &operator, true)}
+ }: {<Pallet<T>>::set_allowance_for_all(&collection, &owner, &operator, true)}
- is_approved_for_all {
+ allowance_for_all {
bench_init!{
owner: sub; collection: collection(owner);
operator: cross_from_sub(owner); owner: cross_sub;
};
- }: {<Pallet<T>>::is_approved_for_all(&collection, &owner, &operator)}
+ }: {<Pallet<T>>::allowance_for_all(&collection, &owner, &operator)}
}
pallets/refungible/src/common.rsdiffbeforeafterboth--- a/pallets/refungible/src/common.rs
+++ b/pallets/refungible/src/common.rs
@@ -153,8 +153,8 @@
<SelfWeightOf<T>>::token_owner()
}
- fn set_approval_for_all() -> Weight {
- <SelfWeightOf<T>>::set_approval_for_all()
+ fn set_allowance_for_all() -> Weight {
+ <SelfWeightOf<T>>::set_allowance_for_all()
}
}
@@ -521,20 +521,20 @@
<Pallet<T>>::total_pieces(self.id, token)
}
- fn set_approval_for_all(
+ fn set_allowance_for_all(
&self,
owner: T::CrossAccountId,
operator: T::CrossAccountId,
approve: bool,
) -> DispatchResultWithPostInfo {
with_weight(
- <Pallet<T>>::set_approval_for_all(self, &owner, &operator, approve),
- <CommonWeights<T>>::set_approval_for_all(),
+ <Pallet<T>>::set_allowance_for_all(self, &owner, &operator, approve),
+ <CommonWeights<T>>::set_allowance_for_all(),
)
}
- fn is_approved_for_all(&self, owner: T::CrossAccountId, operator: T::CrossAccountId) -> bool {
- <Pallet<T>>::is_approved_for_all(self, &owner, &operator)
+ fn allowance_for_all(&self, owner: T::CrossAccountId, operator: T::CrossAccountId) -> bool {
+ <Pallet<T>>::allowance_for_all(self, &owner, &operator)
}
}
pallets/refungible/src/erc.rsdiffbeforeafterboth--- a/pallets/refungible/src/erc.rs
+++ b/pallets/refungible/src/erc.rs
@@ -462,10 +462,10 @@
}
/// @notice Sets or unsets the approval of a given operator.
- /// An operator is allowed to transfer all tokens of the sender on their behalf.
+ /// The `operator` is allowed to transfer all token pieces of the `caller` on their behalf.
/// @param operator Operator
- /// @param approved Is operator enabled or disabled
- #[weight(<SelfWeightOf<T>>::set_approval_for_all())]
+ /// @param approved Should operator status be granted or revoked?
+ #[weight(<SelfWeightOf<T>>::set_allowance_for_all())]
fn set_approval_for_all(
&mut self,
caller: caller,
@@ -475,7 +475,7 @@
let caller = T::CrossAccountId::from_eth(caller);
let operator = T::CrossAccountId::from_eth(operator);
- <Pallet<T>>::set_approval_for_all(self, &caller, &operator, approved)
+ <Pallet<T>>::set_allowance_for_all(self, &caller, &operator, approved)
.map_err(dispatch_to_evm::<T>)?;
Ok(())
}
@@ -486,13 +486,13 @@
Err("not implemented".into())
}
- /// @notice Tells whether an operator is approved by a given owner.
- #[weight(<SelfWeightOf<T>>::is_approved_for_all())]
+ /// @notice Tells whether the given `owner` approves the `operator`.
+ #[weight(<SelfWeightOf<T>>::allowance_for_all())]
fn is_approved_for_all(&self, owner: address, operator: address) -> Result<bool> {
let owner = T::CrossAccountId::from_eth(owner);
let operator = T::CrossAccountId::from_eth(operator);
- Ok(<Pallet<T>>::is_approved_for_all(self, &owner, &operator))
+ Ok(<Pallet<T>>::allowance_for_all(self, &owner, &operator))
}
/// @notice Returns collection helper contract address
pallets/refungible/src/lib.rsdiffbeforeafterboth--- a/pallets/refungible/src/lib.rs
+++ b/pallets/refungible/src/lib.rs
@@ -275,14 +275,14 @@
/// Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.
#[pallet::storage]
- pub type WalletOperator<T: Config> = StorageNMap<
+ pub type CollectionAllowance<T: Config> = StorageNMap<
Key = (
Key<Twox64Concat, CollectionId>,
Key<Blake2_128Concat, T::CrossAccountId>,
Key<Blake2_128Concat, T::CrossAccountId>,
),
Value = bool,
- QueryKind = OptionQuery,
+ QueryKind = ValueQuery,
>;
#[pallet::hooks]
@@ -1174,8 +1174,8 @@
let allowance =
<Allowance<T>>::get((collection.id, token, from, &spender)).checked_sub(amount);
- // Allowance if any would be reduced if spender is also wallet operator
- if <WalletOperator<T>>::get((collection.id, from, spender)) == Some(true) {
+ // Allowance (if any) would be reduced if spender is also wallet operator
+ if <CollectionAllowance<T>>::get((collection.id, from, spender)) {
return Ok(allowance);
}
@@ -1408,11 +1408,11 @@
/// Sets or unsets the approval of a given operator.
///
- /// An operator is allowed to transfer all tokens of the sender on their behalf.
+ /// The `operator` is allowed to transfer all token pieces of the `owner` on their behalf.
/// - `owner`: Token owner
/// - `operator`: Operator
- /// - `approve`: Is operator enabled or disabled
- pub fn set_approval_for_all(
+ /// - `approve`: Should operator status be granted or revoked?
+ pub fn set_allowance_for_all(
collection: &RefungibleHandle<T>,
owner: &T::CrossAccountId,
operator: &T::CrossAccountId,
@@ -1427,7 +1427,7 @@
// =========
- <WalletOperator<T>>::insert((collection.id, owner, operator), approve);
+ <CollectionAllowance<T>>::insert((collection.id, owner, operator), approve);
<PalletEvm<T>>::deposit_log(
ERC721Events::ApprovalForAll {
owner: *owner.as_eth(),
@@ -1445,12 +1445,12 @@
Ok(())
}
- /// Tells whether an operator is approved by a given owner.
- pub fn is_approved_for_all(
+ /// Tells whether the given `owner` approves the `operator`.
+ pub fn allowance_for_all(
collection: &RefungibleHandle<T>,
owner: &T::CrossAccountId,
operator: &T::CrossAccountId,
) -> bool {
- <WalletOperator<T>>::get((collection.id, owner, operator)).unwrap_or(false)
+ <CollectionAllowance<T>>::get((collection.id, owner, operator))
}
}
pallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth--- a/pallets/refungible/src/stubs/UniqueRefungible.sol
+++ b/pallets/refungible/src/stubs/UniqueRefungible.sol
@@ -1018,9 +1018,9 @@
}
/// @notice Sets or unsets the approval of a given operator.
- /// An operator is allowed to transfer all tokens of the sender on their behalf.
+ /// The `operator` is allowed to transfer all token pieces of the `caller` on their behalf.
/// @param operator Operator
- /// @param approved Is operator enabled or disabled
+ /// @param approved Should operator status be granted or revoked?
/// @dev EVM selector for this function is: 0xa22cb465,
/// or in textual repr: setApprovalForAll(address,bool)
function setApprovalForAll(address operator, bool approved) public {
@@ -1040,7 +1040,7 @@
return 0x0000000000000000000000000000000000000000;
}
- /// @notice Tells whether an operator is approved by a given owner.
+ /// @notice Tells whether the given `owner` approves the `operator`.
/// @dev EVM selector for this function is: 0xe985e9c5,
/// or in textual repr: isApprovedForAll(address,address)
function isApprovedForAll(address owner, address operator) public view returns (bool) {
pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -55,8 +55,8 @@
fn delete_token_properties(b: u32, ) -> Weight;
fn repartition_item() -> Weight;
fn token_owner() -> Weight;
- fn set_approval_for_all() -> Weight;
- fn is_approved_for_all() -> Weight;
+ fn set_allowance_for_all() -> Weight;
+ fn allowance_for_all() -> Weight;
}
/// Weights for pallet_refungible using the Substrate node and recommended hardware.
@@ -263,12 +263,12 @@
.saturating_add(T::DbWeight::get().reads(2 as u64))
}
// Storage: Refungible WalletOperator (r:0 w:1)
- fn set_approval_for_all() -> Weight {
+ fn set_allowance_for_all() -> Weight {
Weight::from_ref_time(16_150_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Refungible WalletOperator (r:1 w:0)
- fn is_approved_for_all() -> Weight {
+ fn allowance_for_all() -> Weight {
Weight::from_ref_time(5_901_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
@@ -477,12 +477,12 @@
.saturating_add(RocksDbWeight::get().reads(2 as u64))
}
// Storage: Refungible WalletOperator (r:0 w:1)
- fn set_approval_for_all() -> Weight {
+ fn set_allowance_for_all() -> Weight {
Weight::from_ref_time(16_150_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Refungible WalletOperator (r:1 w:0)
- fn is_approved_for_all() -> Weight {
+ fn allowance_for_all() -> Weight {
Weight::from_ref_time(5_901_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
pallets/unique/src/eth/mod.rsdiffbeforeafterboth--- a/pallets/unique/src/eth/mod.rs
+++ b/pallets/unique/src/eth/mod.rs
@@ -36,7 +36,7 @@
use sp_std::vec;
use up_data_structs::{
CollectionDescription, CollectionMode, CollectionName, CollectionTokenPrefix,
- CreateCollectionData, CollectionId,
+ CreateCollectionData,
};
use crate::{weights::WeightInfo, Config, SelfWeightOf};
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -1129,15 +1129,15 @@
/// Sets or unsets the approval of a given operator.
///
- /// An operator is allowed to transfer all tokens of the sender on their behalf.
+ /// The `operator` is allowed to transfer all tokens of the `owner` on their behalf.
///
/// # Arguments
///
/// * `owner`: Token owner
/// * `operator`: Operator
- /// * `approve`: Is operator enabled or disabled
- #[weight = T::CommonWeightInfo::set_approval_for_all()]
- pub fn set_approval_for_all(
+ /// * `approve`: Should operator status be granted or revoked?
+ #[weight = T::CommonWeightInfo::set_allowance_for_all()]
+ pub fn set_allowance_for_all(
origin,
collection_id: CollectionId,
operator: T::CrossAccountId,
@@ -1145,7 +1145,7 @@
) -> DispatchResultWithPostInfo {
let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);
dispatch_tx::<T, _>(collection_id, |d| {
- d.set_approval_for_all(sender, operator, approve)
+ d.set_allowance_for_all(sender, operator, approve)
})
}
}
primitives/rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -134,6 +134,6 @@
fn token_owners(collection: CollectionId, token: TokenId) -> Result<Vec<CrossAccountId>>;
/// Get whether an operator is approved by a given owner.
- fn is_approved_for_all(collection: CollectionId, owner: CrossAccountId, operator: CrossAccountId) -> Result<bool>;
+ fn allowance_for_all(collection: CollectionId, owner: CrossAccountId, operator: CrossAccountId) -> Result<bool>;
}
}
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -188,8 +188,8 @@
dispatch_unique_runtime!(collection.total_pieces(token_id))
}
- fn is_approved_for_all(collection: CollectionId, owner: CrossAccountId, operator: CrossAccountId) -> Result<bool, DispatchError> {
- dispatch_unique_runtime!(collection.is_approved_for_all(owner, operator))
+ fn allowance_for_all(collection: CollectionId, owner: CrossAccountId, operator: CrossAccountId) -> Result<bool, DispatchError> {
+ dispatch_unique_runtime!(collection.allowance_for_all(owner, operator))
}
}
runtime/common/weights.rsdiffbeforeafterboth--- a/runtime/common/weights.rs
+++ b/runtime/common/weights.rs
@@ -121,8 +121,8 @@
max_weight_of!(token_owner())
}
- fn set_approval_for_all() -> Weight {
- max_weight_of!(set_approval_for_all())
+ fn set_allowance_for_all() -> Weight {
+ max_weight_of!(set_allowance_for_all())
}
}
tests/src/approve.test.tsdiffbeforeafterboth--- a/tests/src/approve.test.ts
+++ b/tests/src/approve.test.ts
@@ -617,26 +617,31 @@
itSub('[nft] Enable and disable approval', async ({helper}) => {
const {collectionId} = await helper.nft.mintCollection(alice, {name: 'col', description: 'descr', tokenPrefix: 'COL'});
- await helper.nft.mintToken(alice, {collectionId: collectionId, owner: alice.address});
- const checkBeforeApproval = await helper.nft.isApprovedForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
+
+ const checkBeforeApproval = await helper.nft.allowanceForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
expect(checkBeforeApproval).to.be.false;
- await helper.nft.setApprovalForAll(alice, collectionId, {Substrate: bob.address}, true);
- const checkAfterApproval = await helper.nft.isApprovedForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
+
+ await helper.nft.setAllowanceForAll(alice, collectionId, {Substrate: bob.address}, true);
+ const checkAfterApproval = await helper.nft.allowanceForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
expect(checkAfterApproval).to.be.true;
- await helper.nft.setApprovalForAll(alice, collectionId, {Substrate: bob.address}, false);
- const checkAfterDisapproval = await helper.nft.isApprovedForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
+
+ await helper.nft.setAllowanceForAll(alice, collectionId, {Substrate: bob.address}, false);
+ const checkAfterDisapproval = await helper.nft.allowanceForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
expect(checkAfterDisapproval).to.be.false;
});
itSub.ifWithPallets('[rft] Enable and disable approval', [Pallets.ReFungible], async ({helper}) => {
const {collectionId} = await helper.rft.mintCollection(alice, {name: 'col', description: 'descr', tokenPrefix: 'COL'});
- const checkBeforeApproval = await helper.rft.isApprovedForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
+
+ const checkBeforeApproval = await helper.rft.allowanceForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
expect(checkBeforeApproval).to.be.false;
- await helper.rft.setApprovalForAll(alice, collectionId, {Substrate: bob.address}, true);
- const checkAfterApproval = await helper.rft.isApprovedForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
+
+ await helper.rft.setAllowanceForAll(alice, collectionId, {Substrate: bob.address}, true);
+ const checkAfterApproval = await helper.rft.allowanceForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
expect(checkAfterApproval).to.be.true;
- await helper.rft.setApprovalForAll(alice, collectionId, {Substrate: bob.address}, false);
- const checkAfterDisapproval = await helper.rft.isApprovedForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
+
+ await helper.rft.setAllowanceForAll(alice, collectionId, {Substrate: bob.address}, false);
+ const checkAfterDisapproval = await helper.rft.allowanceForAll(collectionId, {Substrate: alice.address}, {Substrate: bob.address});
expect(checkAfterDisapproval).to.be.false;
});
});
tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth--- a/tests/src/eth/api/UniqueNFT.sol
+++ b/tests/src/eth/api/UniqueNFT.sol
@@ -672,9 +672,9 @@
function approve(address approved, uint256 tokenId) external;
/// @notice Sets or unsets the approval of a given operator.
- /// An operator is allowed to transfer all tokens of the sender on their behalf.
+ /// The `operator` is allowed to transfer all tokens of the `caller` on their behalf.
/// @param operator Operator
- /// @param approved Is operator enabled or disabled
+ /// @param approved Should operator status be granted or revoked?
/// @dev EVM selector for this function is: 0xa22cb465,
/// or in textual repr: setApprovalForAll(address,bool)
function setApprovalForAll(address operator, bool approved) external;
@@ -684,7 +684,7 @@
/// or in textual repr: getApproved(uint256)
function getApproved(uint256 tokenId) external view returns (address);
- /// @notice Tells whether an operator is approved by a given owner.
+ /// @notice Tells whether the given `owner` approves the `operator`.
/// @dev EVM selector for this function is: 0xe985e9c5,
/// or in textual repr: isApprovedForAll(address,address)
function isApprovedForAll(address owner, address operator) external view returns (bool);
tests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth--- a/tests/src/eth/api/UniqueRefungible.sol
+++ b/tests/src/eth/api/UniqueRefungible.sol
@@ -669,9 +669,9 @@
function approve(address approved, uint256 tokenId) external;
/// @notice Sets or unsets the approval of a given operator.
- /// An operator is allowed to transfer all tokens of the sender on their behalf.
+ /// The `operator` is allowed to transfer all token pieces of the `caller` on their behalf.
/// @param operator Operator
- /// @param approved Is operator enabled or disabled
+ /// @param approved Should operator status be granted or revoked?
/// @dev EVM selector for this function is: 0xa22cb465,
/// or in textual repr: setApprovalForAll(address,bool)
function setApprovalForAll(address operator, bool approved) external;
@@ -681,7 +681,7 @@
/// or in textual repr: getApproved(uint256)
function getApproved(uint256 tokenId) external view returns (address);
- /// @notice Tells whether an operator is approved by a given owner.
+ /// @notice Tells whether the given `owner` approves the `operator`.
/// @dev EVM selector for this function is: 0xe985e9c5,
/// or in textual repr: isApprovedForAll(address,address)
function isApprovedForAll(address owner, address operator) external view returns (bool);
tests/src/eth/nonFungible.test.tsdiffbeforeafterboth--- a/tests/src/eth/nonFungible.test.ts
+++ b/tests/src/eth/nonFungible.test.ts
@@ -935,48 +935,54 @@
let donor: IKeyringPair;
let minter: IKeyringPair;
let alice: IKeyringPair;
- let bob: IKeyringPair;
before(async function() {
await usingEthPlaygrounds(async (helper, privateKey) => {
donor = await privateKey({filename: __filename});
- [minter, alice, bob] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);
+ [minter, alice] = await helper.arrange.createAccounts([100n, 100n], donor);
});
});
itEth('[negative] Cant perform burn without approval', async ({helper}) => {
const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});
- const owner = bob;
+ const owner = await helper.eth.createAccountWithBalance(donor, 100n);
const spender = await helper.eth.createAccountWithBalance(donor, 100n);
- const token = await collection.mintToken(minter, {Substrate: owner.address});
+ const token = await collection.mintToken(minter, {Ethereum: owner});
const address = helper.ethAddress.fromCollectionId(collection.collectionId);
const contract = helper.ethNativeContract.collection(address, 'nft');
- {
- const ownerCross = helper.ethCrossAccount.fromKeyringPair(owner);
- await expect(contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: spender})).to.be.rejected;
- }
+ const ownerCross = helper.ethCrossAccount.fromAddress(owner);
+ await expect(contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: spender})).to.be.rejected;
+
+ await contract.methods.setApprovalForAll(spender, true).send({from: owner});
+ await contract.methods.setApprovalForAll(spender, false).send({from: owner});
+
+ await expect(contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: spender})).to.be.rejected;
});
itEth('[negative] Cant perform transfer without approval', async ({helper}) => {
const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});
- const owner = bob;
const receiver = alice;
+ const owner = await helper.eth.createAccountWithBalance(donor, 100n);
const spender = await helper.eth.createAccountWithBalance(donor, 100n);
- const token = await collection.mintToken(minter, {Substrate: owner.address});
+ const token = await collection.mintToken(minter, {Ethereum: owner});
const address = helper.ethAddress.fromCollectionId(collection.collectionId);
const contract = helper.ethNativeContract.collection(address, 'nft');
- {
- const ownerCross = helper.ethCrossAccount.fromKeyringPair(owner);
- const recieverCross = helper.ethCrossAccount.fromKeyringPair(receiver);
- await expect(contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender})).to.be.rejected;
- }
+ const ownerCross = helper.ethCrossAccount.fromAddress(owner);
+ const recieverCross = helper.ethCrossAccount.fromKeyringPair(receiver);
+
+ await expect(contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender})).to.be.rejected;
+
+ await contract.methods.setApprovalForAll(spender, true).send({from: owner});
+ await contract.methods.setApprovalForAll(spender, false).send({from: owner});
+
+ await expect(contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender})).to.be.rejected;
});
});
tests/src/eth/reFungible.test.tsdiffbeforeafterboth--- a/tests/src/eth/reFungible.test.ts
+++ b/tests/src/eth/reFungible.test.ts
@@ -750,10 +750,14 @@
const address = helper.ethAddress.fromCollectionId(collection.collectionId);
const contract = helper.ethNativeContract.collection(address, 'rft');
- {
- const ownerCross = helper.ethCrossAccount.fromAddress(owner);
- await expect(contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: spender})).to.be.rejected;
- }
+ const ownerCross = helper.ethCrossAccount.fromAddress(owner);
+
+ await expect(contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: spender})).to.be.rejected;
+
+ await contract.methods.setApprovalForAll(spender, true).send({from: owner});
+ await contract.methods.setApprovalForAll(spender, false).send({from: owner});
+
+ await expect(contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: spender})).to.be.rejected;
});
itEth('[negative] Cant perform transfer without approval', async ({helper}) => {
@@ -768,10 +772,14 @@
const address = helper.ethAddress.fromCollectionId(collection.collectionId);
const contract = helper.ethNativeContract.collection(address, 'rft');
- {
- const ownerCross = helper.ethCrossAccount.fromAddress(owner);
- const recieverCross = helper.ethCrossAccount.fromKeyringPair(receiver);
- await expect(contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender})).to.be.rejected;
- }
+ const ownerCross = helper.ethCrossAccount.fromAddress(owner);
+ const recieverCross = helper.ethCrossAccount.fromKeyringPair(receiver);
+
+ await expect(contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender})).to.be.rejected;
+
+ await contract.methods.setApprovalForAll(spender, true).send({from: owner});
+ await contract.methods.setApprovalForAll(spender, false).send({from: owner});
+
+ await expect(contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender})).to.be.rejected;
});
});
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -107,7 +107,7 @@
**/
Approved: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
/**
- * Amount pieces of token owned by `sender` was approved for `spender`.
+ * A `sender` approves operations on all owned tokens for `spender`.
**/
ApprovedForAll: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;
/**
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -406,6 +406,10 @@
**/
allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
+ * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.
+ **/
+ collectionAllowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ /**
* Used to enumerate tokens owned by account.
**/
owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;
@@ -441,10 +445,6 @@
* Total amount of minted tokens in a collection.
**/
tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
- /**
- * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.
- **/
- walletOperator: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<Option<bool>>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
/**
* Generic query
**/
@@ -625,6 +625,10 @@
**/
balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
/**
+ * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.
+ **/
+ collectionAllowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ /**
* Used to enumerate tokens owned by account.
**/
owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;
@@ -648,10 +652,6 @@
* Total amount of pieces for token
**/
totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
- /**
- * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.
- **/
- walletOperator: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<Option<bool>>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
/**
* Generic query
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -684,6 +684,10 @@
**/
allowance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, sender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
/**
+ * Tells whether the given `owner` approves the `operator`.
+ **/
+ allowanceForAll: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<bool>>>;
+ /**
* Check if a user is allowed to operate within a collection
**/
allowed: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
@@ -719,10 +723,6 @@
* Get effective collection limits
**/
effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimits>>>;
- /**
- * Tells whether an operator is approved by a given owner.
- **/
- isApprovedForAll: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<bool>>>;
/**
* Get the last token ID created in a collection
**/
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -1547,15 +1547,15 @@
/**
* Sets or unsets the approval of a given operator.
*
- * An operator is allowed to transfer all tokens of the sender on their behalf.
+ * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.
*
* # Arguments
*
* * `owner`: Token owner
* * `operator`: Operator
- * * `approve`: Is operator enabled or disabled
+ * * `approve`: Should operator status be granted or revoked?
**/
- setApprovalForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;
+ setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;
/**
* Set specific limits of a collection. Empty, or None fields mean chain default.
*
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -2312,13 +2312,13 @@
readonly tokenId: u32;
readonly amount: u128;
} & Struct;
- readonly isSetApprovalForAll: boolean;
- readonly asSetApprovalForAll: {
+ readonly isSetAllowanceForAll: boolean;
+ readonly asSetAllowanceForAll: {
readonly collectionId: u32;
readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;
readonly approve: bool;
} & Struct;
- readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetApprovalForAll';
+ readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll';
}
/** @name PalletUniqueError */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -2305,7 +2305,7 @@
tokenId: 'u32',
amount: 'u128',
},
- set_approval_for_all: {
+ set_allowance_for_all: {
collectionId: 'u32',
operator: 'PalletEvmAccountBasicCrossAccountIdRepr',
approve: 'bool'
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill, Weight } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */32 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {33 readonly normal: Weight;34 readonly operational: Weight;35 readonly mandatory: Weight;36 }3738 /** @name SpRuntimeDigest (12) */39 interface SpRuntimeDigest extends Struct {40 readonly logs: Vec<SpRuntimeDigestDigestItem>;41 }4243 /** @name SpRuntimeDigestDigestItem (14) */44 interface SpRuntimeDigestDigestItem extends Enum {45 readonly isOther: boolean;46 readonly asOther: Bytes;47 readonly isConsensus: boolean;48 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;49 readonly isSeal: boolean;50 readonly asSeal: ITuple<[U8aFixed, Bytes]>;51 readonly isPreRuntime: boolean;52 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;53 readonly isRuntimeEnvironmentUpdated: boolean;54 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';55 }5657 /** @name FrameSystemEventRecord (17) */58 interface FrameSystemEventRecord extends Struct {59 readonly phase: FrameSystemPhase;60 readonly event: Event;61 readonly topics: Vec<H256>;62 }6364 /** @name FrameSystemEvent (19) */65 interface FrameSystemEvent extends Enum {66 readonly isExtrinsicSuccess: boolean;67 readonly asExtrinsicSuccess: {68 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;69 } & Struct;70 readonly isExtrinsicFailed: boolean;71 readonly asExtrinsicFailed: {72 readonly dispatchError: SpRuntimeDispatchError;73 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;74 } & Struct;75 readonly isCodeUpdated: boolean;76 readonly isNewAccount: boolean;77 readonly asNewAccount: {78 readonly account: AccountId32;79 } & Struct;80 readonly isKilledAccount: boolean;81 readonly asKilledAccount: {82 readonly account: AccountId32;83 } & Struct;84 readonly isRemarked: boolean;85 readonly asRemarked: {86 readonly sender: AccountId32;87 readonly hash_: H256;88 } & Struct;89 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';90 }9192 /** @name FrameSupportDispatchDispatchInfo (20) */93 interface FrameSupportDispatchDispatchInfo extends Struct {94 readonly weight: Weight;95 readonly class: FrameSupportDispatchDispatchClass;96 readonly paysFee: FrameSupportDispatchPays;97 }9899 /** @name FrameSupportDispatchDispatchClass (21) */100 interface FrameSupportDispatchDispatchClass extends Enum {101 readonly isNormal: boolean;102 readonly isOperational: boolean;103 readonly isMandatory: boolean;104 readonly type: 'Normal' | 'Operational' | 'Mandatory';105 }106107 /** @name FrameSupportDispatchPays (22) */108 interface FrameSupportDispatchPays extends Enum {109 readonly isYes: boolean;110 readonly isNo: boolean;111 readonly type: 'Yes' | 'No';112 }113114 /** @name SpRuntimeDispatchError (23) */115 interface SpRuntimeDispatchError extends Enum {116 readonly isOther: boolean;117 readonly isCannotLookup: boolean;118 readonly isBadOrigin: boolean;119 readonly isModule: boolean;120 readonly asModule: SpRuntimeModuleError;121 readonly isConsumerRemaining: boolean;122 readonly isNoProviders: boolean;123 readonly isTooManyConsumers: boolean;124 readonly isToken: boolean;125 readonly asToken: SpRuntimeTokenError;126 readonly isArithmetic: boolean;127 readonly asArithmetic: SpRuntimeArithmeticError;128 readonly isTransactional: boolean;129 readonly asTransactional: SpRuntimeTransactionalError;130 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';131 }132133 /** @name SpRuntimeModuleError (24) */134 interface SpRuntimeModuleError extends Struct {135 readonly index: u8;136 readonly error: U8aFixed;137 }138139 /** @name SpRuntimeTokenError (25) */140 interface SpRuntimeTokenError extends Enum {141 readonly isNoFunds: boolean;142 readonly isWouldDie: boolean;143 readonly isBelowMinimum: boolean;144 readonly isCannotCreate: boolean;145 readonly isUnknownAsset: boolean;146 readonly isFrozen: boolean;147 readonly isUnsupported: boolean;148 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';149 }150151 /** @name SpRuntimeArithmeticError (26) */152 interface SpRuntimeArithmeticError extends Enum {153 readonly isUnderflow: boolean;154 readonly isOverflow: boolean;155 readonly isDivisionByZero: boolean;156 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';157 }158159 /** @name SpRuntimeTransactionalError (27) */160 interface SpRuntimeTransactionalError extends Enum {161 readonly isLimitReached: boolean;162 readonly isNoLayer: boolean;163 readonly type: 'LimitReached' | 'NoLayer';164 }165166 /** @name CumulusPalletParachainSystemEvent (28) */167 interface CumulusPalletParachainSystemEvent extends Enum {168 readonly isValidationFunctionStored: boolean;169 readonly isValidationFunctionApplied: boolean;170 readonly asValidationFunctionApplied: {171 readonly relayChainBlockNum: u32;172 } & Struct;173 readonly isValidationFunctionDiscarded: boolean;174 readonly isUpgradeAuthorized: boolean;175 readonly asUpgradeAuthorized: {176 readonly codeHash: H256;177 } & Struct;178 readonly isDownwardMessagesReceived: boolean;179 readonly asDownwardMessagesReceived: {180 readonly count: u32;181 } & Struct;182 readonly isDownwardMessagesProcessed: boolean;183 readonly asDownwardMessagesProcessed: {184 readonly weightUsed: Weight;185 readonly dmqHead: H256;186 } & Struct;187 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';188 }189190 /** @name PalletBalancesEvent (29) */191 interface PalletBalancesEvent extends Enum {192 readonly isEndowed: boolean;193 readonly asEndowed: {194 readonly account: AccountId32;195 readonly freeBalance: u128;196 } & Struct;197 readonly isDustLost: boolean;198 readonly asDustLost: {199 readonly account: AccountId32;200 readonly amount: u128;201 } & Struct;202 readonly isTransfer: boolean;203 readonly asTransfer: {204 readonly from: AccountId32;205 readonly to: AccountId32;206 readonly amount: u128;207 } & Struct;208 readonly isBalanceSet: boolean;209 readonly asBalanceSet: {210 readonly who: AccountId32;211 readonly free: u128;212 readonly reserved: u128;213 } & Struct;214 readonly isReserved: boolean;215 readonly asReserved: {216 readonly who: AccountId32;217 readonly amount: u128;218 } & Struct;219 readonly isUnreserved: boolean;220 readonly asUnreserved: {221 readonly who: AccountId32;222 readonly amount: u128;223 } & Struct;224 readonly isReserveRepatriated: boolean;225 readonly asReserveRepatriated: {226 readonly from: AccountId32;227 readonly to: AccountId32;228 readonly amount: u128;229 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;230 } & Struct;231 readonly isDeposit: boolean;232 readonly asDeposit: {233 readonly who: AccountId32;234 readonly amount: u128;235 } & Struct;236 readonly isWithdraw: boolean;237 readonly asWithdraw: {238 readonly who: AccountId32;239 readonly amount: u128;240 } & Struct;241 readonly isSlashed: boolean;242 readonly asSlashed: {243 readonly who: AccountId32;244 readonly amount: u128;245 } & Struct;246 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';247 }248249 /** @name FrameSupportTokensMiscBalanceStatus (30) */250 interface FrameSupportTokensMiscBalanceStatus extends Enum {251 readonly isFree: boolean;252 readonly isReserved: boolean;253 readonly type: 'Free' | 'Reserved';254 }255256 /** @name PalletTransactionPaymentEvent (31) */257 interface PalletTransactionPaymentEvent extends Enum {258 readonly isTransactionFeePaid: boolean;259 readonly asTransactionFeePaid: {260 readonly who: AccountId32;261 readonly actualFee: u128;262 readonly tip: u128;263 } & Struct;264 readonly type: 'TransactionFeePaid';265 }266267 /** @name PalletTreasuryEvent (32) */268 interface PalletTreasuryEvent extends Enum {269 readonly isProposed: boolean;270 readonly asProposed: {271 readonly proposalIndex: u32;272 } & Struct;273 readonly isSpending: boolean;274 readonly asSpending: {275 readonly budgetRemaining: u128;276 } & Struct;277 readonly isAwarded: boolean;278 readonly asAwarded: {279 readonly proposalIndex: u32;280 readonly award: u128;281 readonly account: AccountId32;282 } & Struct;283 readonly isRejected: boolean;284 readonly asRejected: {285 readonly proposalIndex: u32;286 readonly slashed: u128;287 } & Struct;288 readonly isBurnt: boolean;289 readonly asBurnt: {290 readonly burntFunds: u128;291 } & Struct;292 readonly isRollover: boolean;293 readonly asRollover: {294 readonly rolloverBalance: u128;295 } & Struct;296 readonly isDeposit: boolean;297 readonly asDeposit: {298 readonly value: u128;299 } & Struct;300 readonly isSpendApproved: boolean;301 readonly asSpendApproved: {302 readonly proposalIndex: u32;303 readonly amount: u128;304 readonly beneficiary: AccountId32;305 } & Struct;306 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';307 }308309 /** @name PalletSudoEvent (33) */310 interface PalletSudoEvent extends Enum {311 readonly isSudid: boolean;312 readonly asSudid: {313 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;314 } & Struct;315 readonly isKeyChanged: boolean;316 readonly asKeyChanged: {317 readonly oldSudoer: Option<AccountId32>;318 } & Struct;319 readonly isSudoAsDone: boolean;320 readonly asSudoAsDone: {321 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;322 } & Struct;323 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';324 }325326 /** @name OrmlVestingModuleEvent (37) */327 interface OrmlVestingModuleEvent extends Enum {328 readonly isVestingScheduleAdded: boolean;329 readonly asVestingScheduleAdded: {330 readonly from: AccountId32;331 readonly to: AccountId32;332 readonly vestingSchedule: OrmlVestingVestingSchedule;333 } & Struct;334 readonly isClaimed: boolean;335 readonly asClaimed: {336 readonly who: AccountId32;337 readonly amount: u128;338 } & Struct;339 readonly isVestingSchedulesUpdated: boolean;340 readonly asVestingSchedulesUpdated: {341 readonly who: AccountId32;342 } & Struct;343 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';344 }345346 /** @name OrmlVestingVestingSchedule (38) */347 interface OrmlVestingVestingSchedule extends Struct {348 readonly start: u32;349 readonly period: u32;350 readonly periodCount: u32;351 readonly perPeriod: Compact<u128>;352 }353354 /** @name OrmlXtokensModuleEvent (40) */355 interface OrmlXtokensModuleEvent extends Enum {356 readonly isTransferredMultiAssets: boolean;357 readonly asTransferredMultiAssets: {358 readonly sender: AccountId32;359 readonly assets: XcmV1MultiassetMultiAssets;360 readonly fee: XcmV1MultiAsset;361 readonly dest: XcmV1MultiLocation;362 } & Struct;363 readonly type: 'TransferredMultiAssets';364 }365366 /** @name XcmV1MultiassetMultiAssets (41) */367 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}368369 /** @name XcmV1MultiAsset (43) */370 interface XcmV1MultiAsset extends Struct {371 readonly id: XcmV1MultiassetAssetId;372 readonly fun: XcmV1MultiassetFungibility;373 }374375 /** @name XcmV1MultiassetAssetId (44) */376 interface XcmV1MultiassetAssetId extends Enum {377 readonly isConcrete: boolean;378 readonly asConcrete: XcmV1MultiLocation;379 readonly isAbstract: boolean;380 readonly asAbstract: Bytes;381 readonly type: 'Concrete' | 'Abstract';382 }383384 /** @name XcmV1MultiLocation (45) */385 interface XcmV1MultiLocation extends Struct {386 readonly parents: u8;387 readonly interior: XcmV1MultilocationJunctions;388 }389390 /** @name XcmV1MultilocationJunctions (46) */391 interface XcmV1MultilocationJunctions extends Enum {392 readonly isHere: boolean;393 readonly isX1: boolean;394 readonly asX1: XcmV1Junction;395 readonly isX2: boolean;396 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;397 readonly isX3: boolean;398 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;399 readonly isX4: boolean;400 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;401 readonly isX5: boolean;402 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;403 readonly isX6: boolean;404 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;405 readonly isX7: boolean;406 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;407 readonly isX8: boolean;408 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;409 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';410 }411412 /** @name XcmV1Junction (47) */413 interface XcmV1Junction extends Enum {414 readonly isParachain: boolean;415 readonly asParachain: Compact<u32>;416 readonly isAccountId32: boolean;417 readonly asAccountId32: {418 readonly network: XcmV0JunctionNetworkId;419 readonly id: U8aFixed;420 } & Struct;421 readonly isAccountIndex64: boolean;422 readonly asAccountIndex64: {423 readonly network: XcmV0JunctionNetworkId;424 readonly index: Compact<u64>;425 } & Struct;426 readonly isAccountKey20: boolean;427 readonly asAccountKey20: {428 readonly network: XcmV0JunctionNetworkId;429 readonly key: U8aFixed;430 } & Struct;431 readonly isPalletInstance: boolean;432 readonly asPalletInstance: u8;433 readonly isGeneralIndex: boolean;434 readonly asGeneralIndex: Compact<u128>;435 readonly isGeneralKey: boolean;436 readonly asGeneralKey: Bytes;437 readonly isOnlyChild: boolean;438 readonly isPlurality: boolean;439 readonly asPlurality: {440 readonly id: XcmV0JunctionBodyId;441 readonly part: XcmV0JunctionBodyPart;442 } & Struct;443 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';444 }445446 /** @name XcmV0JunctionNetworkId (49) */447 interface XcmV0JunctionNetworkId extends Enum {448 readonly isAny: boolean;449 readonly isNamed: boolean;450 readonly asNamed: Bytes;451 readonly isPolkadot: boolean;452 readonly isKusama: boolean;453 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';454 }455456 /** @name XcmV0JunctionBodyId (53) */457 interface XcmV0JunctionBodyId extends Enum {458 readonly isUnit: boolean;459 readonly isNamed: boolean;460 readonly asNamed: Bytes;461 readonly isIndex: boolean;462 readonly asIndex: Compact<u32>;463 readonly isExecutive: boolean;464 readonly isTechnical: boolean;465 readonly isLegislative: boolean;466 readonly isJudicial: boolean;467 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';468 }469470 /** @name XcmV0JunctionBodyPart (54) */471 interface XcmV0JunctionBodyPart extends Enum {472 readonly isVoice: boolean;473 readonly isMembers: boolean;474 readonly asMembers: {475 readonly count: Compact<u32>;476 } & Struct;477 readonly isFraction: boolean;478 readonly asFraction: {479 readonly nom: Compact<u32>;480 readonly denom: Compact<u32>;481 } & Struct;482 readonly isAtLeastProportion: boolean;483 readonly asAtLeastProportion: {484 readonly nom: Compact<u32>;485 readonly denom: Compact<u32>;486 } & Struct;487 readonly isMoreThanProportion: boolean;488 readonly asMoreThanProportion: {489 readonly nom: Compact<u32>;490 readonly denom: Compact<u32>;491 } & Struct;492 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';493 }494495 /** @name XcmV1MultiassetFungibility (55) */496 interface XcmV1MultiassetFungibility extends Enum {497 readonly isFungible: boolean;498 readonly asFungible: Compact<u128>;499 readonly isNonFungible: boolean;500 readonly asNonFungible: XcmV1MultiassetAssetInstance;501 readonly type: 'Fungible' | 'NonFungible';502 }503504 /** @name XcmV1MultiassetAssetInstance (56) */505 interface XcmV1MultiassetAssetInstance extends Enum {506 readonly isUndefined: boolean;507 readonly isIndex: boolean;508 readonly asIndex: Compact<u128>;509 readonly isArray4: boolean;510 readonly asArray4: U8aFixed;511 readonly isArray8: boolean;512 readonly asArray8: U8aFixed;513 readonly isArray16: boolean;514 readonly asArray16: U8aFixed;515 readonly isArray32: boolean;516 readonly asArray32: U8aFixed;517 readonly isBlob: boolean;518 readonly asBlob: Bytes;519 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';520 }521522 /** @name OrmlTokensModuleEvent (59) */523 interface OrmlTokensModuleEvent extends Enum {524 readonly isEndowed: boolean;525 readonly asEndowed: {526 readonly currencyId: PalletForeignAssetsAssetIds;527 readonly who: AccountId32;528 readonly amount: u128;529 } & Struct;530 readonly isDustLost: boolean;531 readonly asDustLost: {532 readonly currencyId: PalletForeignAssetsAssetIds;533 readonly who: AccountId32;534 readonly amount: u128;535 } & Struct;536 readonly isTransfer: boolean;537 readonly asTransfer: {538 readonly currencyId: PalletForeignAssetsAssetIds;539 readonly from: AccountId32;540 readonly to: AccountId32;541 readonly amount: u128;542 } & Struct;543 readonly isReserved: boolean;544 readonly asReserved: {545 readonly currencyId: PalletForeignAssetsAssetIds;546 readonly who: AccountId32;547 readonly amount: u128;548 } & Struct;549 readonly isUnreserved: boolean;550 readonly asUnreserved: {551 readonly currencyId: PalletForeignAssetsAssetIds;552 readonly who: AccountId32;553 readonly amount: u128;554 } & Struct;555 readonly isReserveRepatriated: boolean;556 readonly asReserveRepatriated: {557 readonly currencyId: PalletForeignAssetsAssetIds;558 readonly from: AccountId32;559 readonly to: AccountId32;560 readonly amount: u128;561 readonly status: FrameSupportTokensMiscBalanceStatus;562 } & Struct;563 readonly isBalanceSet: boolean;564 readonly asBalanceSet: {565 readonly currencyId: PalletForeignAssetsAssetIds;566 readonly who: AccountId32;567 readonly free: u128;568 readonly reserved: u128;569 } & Struct;570 readonly isTotalIssuanceSet: boolean;571 readonly asTotalIssuanceSet: {572 readonly currencyId: PalletForeignAssetsAssetIds;573 readonly amount: u128;574 } & Struct;575 readonly isWithdrawn: boolean;576 readonly asWithdrawn: {577 readonly currencyId: PalletForeignAssetsAssetIds;578 readonly who: AccountId32;579 readonly amount: u128;580 } & Struct;581 readonly isSlashed: boolean;582 readonly asSlashed: {583 readonly currencyId: PalletForeignAssetsAssetIds;584 readonly who: AccountId32;585 readonly freeAmount: u128;586 readonly reservedAmount: u128;587 } & Struct;588 readonly isDeposited: boolean;589 readonly asDeposited: {590 readonly currencyId: PalletForeignAssetsAssetIds;591 readonly who: AccountId32;592 readonly amount: u128;593 } & Struct;594 readonly isLockSet: boolean;595 readonly asLockSet: {596 readonly lockId: U8aFixed;597 readonly currencyId: PalletForeignAssetsAssetIds;598 readonly who: AccountId32;599 readonly amount: u128;600 } & Struct;601 readonly isLockRemoved: boolean;602 readonly asLockRemoved: {603 readonly lockId: U8aFixed;604 readonly currencyId: PalletForeignAssetsAssetIds;605 readonly who: AccountId32;606 } & Struct;607 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';608 }609610 /** @name PalletForeignAssetsAssetIds (60) */611 interface PalletForeignAssetsAssetIds extends Enum {612 readonly isForeignAssetId: boolean;613 readonly asForeignAssetId: u32;614 readonly isNativeAssetId: boolean;615 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;616 readonly type: 'ForeignAssetId' | 'NativeAssetId';617 }618619 /** @name PalletForeignAssetsNativeCurrency (61) */620 interface PalletForeignAssetsNativeCurrency extends Enum {621 readonly isHere: boolean;622 readonly isParent: boolean;623 readonly type: 'Here' | 'Parent';624 }625626 /** @name CumulusPalletXcmpQueueEvent (62) */627 interface CumulusPalletXcmpQueueEvent extends Enum {628 readonly isSuccess: boolean;629 readonly asSuccess: {630 readonly messageHash: Option<H256>;631 readonly weight: Weight;632 } & Struct;633 readonly isFail: boolean;634 readonly asFail: {635 readonly messageHash: Option<H256>;636 readonly error: XcmV2TraitsError;637 readonly weight: Weight;638 } & Struct;639 readonly isBadVersion: boolean;640 readonly asBadVersion: {641 readonly messageHash: Option<H256>;642 } & Struct;643 readonly isBadFormat: boolean;644 readonly asBadFormat: {645 readonly messageHash: Option<H256>;646 } & Struct;647 readonly isUpwardMessageSent: boolean;648 readonly asUpwardMessageSent: {649 readonly messageHash: Option<H256>;650 } & Struct;651 readonly isXcmpMessageSent: boolean;652 readonly asXcmpMessageSent: {653 readonly messageHash: Option<H256>;654 } & Struct;655 readonly isOverweightEnqueued: boolean;656 readonly asOverweightEnqueued: {657 readonly sender: u32;658 readonly sentAt: u32;659 readonly index: u64;660 readonly required: Weight;661 } & Struct;662 readonly isOverweightServiced: boolean;663 readonly asOverweightServiced: {664 readonly index: u64;665 readonly used: Weight;666 } & Struct;667 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';668 }669670 /** @name XcmV2TraitsError (64) */671 interface XcmV2TraitsError extends Enum {672 readonly isOverflow: boolean;673 readonly isUnimplemented: boolean;674 readonly isUntrustedReserveLocation: boolean;675 readonly isUntrustedTeleportLocation: boolean;676 readonly isMultiLocationFull: boolean;677 readonly isMultiLocationNotInvertible: boolean;678 readonly isBadOrigin: boolean;679 readonly isInvalidLocation: boolean;680 readonly isAssetNotFound: boolean;681 readonly isFailedToTransactAsset: boolean;682 readonly isNotWithdrawable: boolean;683 readonly isLocationCannotHold: boolean;684 readonly isExceedsMaxMessageSize: boolean;685 readonly isDestinationUnsupported: boolean;686 readonly isTransport: boolean;687 readonly isUnroutable: boolean;688 readonly isUnknownClaim: boolean;689 readonly isFailedToDecode: boolean;690 readonly isMaxWeightInvalid: boolean;691 readonly isNotHoldingFees: boolean;692 readonly isTooExpensive: boolean;693 readonly isTrap: boolean;694 readonly asTrap: u64;695 readonly isUnhandledXcmVersion: boolean;696 readonly isWeightLimitReached: boolean;697 readonly asWeightLimitReached: u64;698 readonly isBarrier: boolean;699 readonly isWeightNotComputable: boolean;700 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';701 }702703 /** @name PalletXcmEvent (66) */704 interface PalletXcmEvent extends Enum {705 readonly isAttempted: boolean;706 readonly asAttempted: XcmV2TraitsOutcome;707 readonly isSent: boolean;708 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;709 readonly isUnexpectedResponse: boolean;710 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;711 readonly isResponseReady: boolean;712 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;713 readonly isNotified: boolean;714 readonly asNotified: ITuple<[u64, u8, u8]>;715 readonly isNotifyOverweight: boolean;716 readonly asNotifyOverweight: ITuple<[u64, u8, u8, Weight, Weight]>;717 readonly isNotifyDispatchError: boolean;718 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;719 readonly isNotifyDecodeFailed: boolean;720 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;721 readonly isInvalidResponder: boolean;722 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;723 readonly isInvalidResponderVersion: boolean;724 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;725 readonly isResponseTaken: boolean;726 readonly asResponseTaken: u64;727 readonly isAssetsTrapped: boolean;728 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;729 readonly isVersionChangeNotified: boolean;730 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;731 readonly isSupportedVersionChanged: boolean;732 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;733 readonly isNotifyTargetSendFail: boolean;734 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;735 readonly isNotifyTargetMigrationFail: boolean;736 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;737 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';738 }739740 /** @name XcmV2TraitsOutcome (67) */741 interface XcmV2TraitsOutcome extends Enum {742 readonly isComplete: boolean;743 readonly asComplete: u64;744 readonly isIncomplete: boolean;745 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;746 readonly isError: boolean;747 readonly asError: XcmV2TraitsError;748 readonly type: 'Complete' | 'Incomplete' | 'Error';749 }750751 /** @name XcmV2Xcm (68) */752 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}753754 /** @name XcmV2Instruction (70) */755 interface XcmV2Instruction extends Enum {756 readonly isWithdrawAsset: boolean;757 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;758 readonly isReserveAssetDeposited: boolean;759 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;760 readonly isReceiveTeleportedAsset: boolean;761 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;762 readonly isQueryResponse: boolean;763 readonly asQueryResponse: {764 readonly queryId: Compact<u64>;765 readonly response: XcmV2Response;766 readonly maxWeight: Compact<u64>;767 } & Struct;768 readonly isTransferAsset: boolean;769 readonly asTransferAsset: {770 readonly assets: XcmV1MultiassetMultiAssets;771 readonly beneficiary: XcmV1MultiLocation;772 } & Struct;773 readonly isTransferReserveAsset: boolean;774 readonly asTransferReserveAsset: {775 readonly assets: XcmV1MultiassetMultiAssets;776 readonly dest: XcmV1MultiLocation;777 readonly xcm: XcmV2Xcm;778 } & Struct;779 readonly isTransact: boolean;780 readonly asTransact: {781 readonly originType: XcmV0OriginKind;782 readonly requireWeightAtMost: Compact<u64>;783 readonly call: XcmDoubleEncoded;784 } & Struct;785 readonly isHrmpNewChannelOpenRequest: boolean;786 readonly asHrmpNewChannelOpenRequest: {787 readonly sender: Compact<u32>;788 readonly maxMessageSize: Compact<u32>;789 readonly maxCapacity: Compact<u32>;790 } & Struct;791 readonly isHrmpChannelAccepted: boolean;792 readonly asHrmpChannelAccepted: {793 readonly recipient: Compact<u32>;794 } & Struct;795 readonly isHrmpChannelClosing: boolean;796 readonly asHrmpChannelClosing: {797 readonly initiator: Compact<u32>;798 readonly sender: Compact<u32>;799 readonly recipient: Compact<u32>;800 } & Struct;801 readonly isClearOrigin: boolean;802 readonly isDescendOrigin: boolean;803 readonly asDescendOrigin: XcmV1MultilocationJunctions;804 readonly isReportError: boolean;805 readonly asReportError: {806 readonly queryId: Compact<u64>;807 readonly dest: XcmV1MultiLocation;808 readonly maxResponseWeight: Compact<u64>;809 } & Struct;810 readonly isDepositAsset: boolean;811 readonly asDepositAsset: {812 readonly assets: XcmV1MultiassetMultiAssetFilter;813 readonly maxAssets: Compact<u32>;814 readonly beneficiary: XcmV1MultiLocation;815 } & Struct;816 readonly isDepositReserveAsset: boolean;817 readonly asDepositReserveAsset: {818 readonly assets: XcmV1MultiassetMultiAssetFilter;819 readonly maxAssets: Compact<u32>;820 readonly dest: XcmV1MultiLocation;821 readonly xcm: XcmV2Xcm;822 } & Struct;823 readonly isExchangeAsset: boolean;824 readonly asExchangeAsset: {825 readonly give: XcmV1MultiassetMultiAssetFilter;826 readonly receive: XcmV1MultiassetMultiAssets;827 } & Struct;828 readonly isInitiateReserveWithdraw: boolean;829 readonly asInitiateReserveWithdraw: {830 readonly assets: XcmV1MultiassetMultiAssetFilter;831 readonly reserve: XcmV1MultiLocation;832 readonly xcm: XcmV2Xcm;833 } & Struct;834 readonly isInitiateTeleport: boolean;835 readonly asInitiateTeleport: {836 readonly assets: XcmV1MultiassetMultiAssetFilter;837 readonly dest: XcmV1MultiLocation;838 readonly xcm: XcmV2Xcm;839 } & Struct;840 readonly isQueryHolding: boolean;841 readonly asQueryHolding: {842 readonly queryId: Compact<u64>;843 readonly dest: XcmV1MultiLocation;844 readonly assets: XcmV1MultiassetMultiAssetFilter;845 readonly maxResponseWeight: Compact<u64>;846 } & Struct;847 readonly isBuyExecution: boolean;848 readonly asBuyExecution: {849 readonly fees: XcmV1MultiAsset;850 readonly weightLimit: XcmV2WeightLimit;851 } & Struct;852 readonly isRefundSurplus: boolean;853 readonly isSetErrorHandler: boolean;854 readonly asSetErrorHandler: XcmV2Xcm;855 readonly isSetAppendix: boolean;856 readonly asSetAppendix: XcmV2Xcm;857 readonly isClearError: boolean;858 readonly isClaimAsset: boolean;859 readonly asClaimAsset: {860 readonly assets: XcmV1MultiassetMultiAssets;861 readonly ticket: XcmV1MultiLocation;862 } & Struct;863 readonly isTrap: boolean;864 readonly asTrap: Compact<u64>;865 readonly isSubscribeVersion: boolean;866 readonly asSubscribeVersion: {867 readonly queryId: Compact<u64>;868 readonly maxResponseWeight: Compact<u64>;869 } & Struct;870 readonly isUnsubscribeVersion: boolean;871 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';872 }873874 /** @name XcmV2Response (71) */875 interface XcmV2Response extends Enum {876 readonly isNull: boolean;877 readonly isAssets: boolean;878 readonly asAssets: XcmV1MultiassetMultiAssets;879 readonly isExecutionResult: boolean;880 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;881 readonly isVersion: boolean;882 readonly asVersion: u32;883 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';884 }885886 /** @name XcmV0OriginKind (74) */887 interface XcmV0OriginKind extends Enum {888 readonly isNative: boolean;889 readonly isSovereignAccount: boolean;890 readonly isSuperuser: boolean;891 readonly isXcm: boolean;892 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';893 }894895 /** @name XcmDoubleEncoded (75) */896 interface XcmDoubleEncoded extends Struct {897 readonly encoded: Bytes;898 }899900 /** @name XcmV1MultiassetMultiAssetFilter (76) */901 interface XcmV1MultiassetMultiAssetFilter extends Enum {902 readonly isDefinite: boolean;903 readonly asDefinite: XcmV1MultiassetMultiAssets;904 readonly isWild: boolean;905 readonly asWild: XcmV1MultiassetWildMultiAsset;906 readonly type: 'Definite' | 'Wild';907 }908909 /** @name XcmV1MultiassetWildMultiAsset (77) */910 interface XcmV1MultiassetWildMultiAsset extends Enum {911 readonly isAll: boolean;912 readonly isAllOf: boolean;913 readonly asAllOf: {914 readonly id: XcmV1MultiassetAssetId;915 readonly fun: XcmV1MultiassetWildFungibility;916 } & Struct;917 readonly type: 'All' | 'AllOf';918 }919920 /** @name XcmV1MultiassetWildFungibility (78) */921 interface XcmV1MultiassetWildFungibility extends Enum {922 readonly isFungible: boolean;923 readonly isNonFungible: boolean;924 readonly type: 'Fungible' | 'NonFungible';925 }926927 /** @name XcmV2WeightLimit (79) */928 interface XcmV2WeightLimit extends Enum {929 readonly isUnlimited: boolean;930 readonly isLimited: boolean;931 readonly asLimited: Compact<u64>;932 readonly type: 'Unlimited' | 'Limited';933 }934935 /** @name XcmVersionedMultiAssets (81) */936 interface XcmVersionedMultiAssets extends Enum {937 readonly isV0: boolean;938 readonly asV0: Vec<XcmV0MultiAsset>;939 readonly isV1: boolean;940 readonly asV1: XcmV1MultiassetMultiAssets;941 readonly type: 'V0' | 'V1';942 }943944 /** @name XcmV0MultiAsset (83) */945 interface XcmV0MultiAsset extends Enum {946 readonly isNone: boolean;947 readonly isAll: boolean;948 readonly isAllFungible: boolean;949 readonly isAllNonFungible: boolean;950 readonly isAllAbstractFungible: boolean;951 readonly asAllAbstractFungible: {952 readonly id: Bytes;953 } & Struct;954 readonly isAllAbstractNonFungible: boolean;955 readonly asAllAbstractNonFungible: {956 readonly class: Bytes;957 } & Struct;958 readonly isAllConcreteFungible: boolean;959 readonly asAllConcreteFungible: {960 readonly id: XcmV0MultiLocation;961 } & Struct;962 readonly isAllConcreteNonFungible: boolean;963 readonly asAllConcreteNonFungible: {964 readonly class: XcmV0MultiLocation;965 } & Struct;966 readonly isAbstractFungible: boolean;967 readonly asAbstractFungible: {968 readonly id: Bytes;969 readonly amount: Compact<u128>;970 } & Struct;971 readonly isAbstractNonFungible: boolean;972 readonly asAbstractNonFungible: {973 readonly class: Bytes;974 readonly instance: XcmV1MultiassetAssetInstance;975 } & Struct;976 readonly isConcreteFungible: boolean;977 readonly asConcreteFungible: {978 readonly id: XcmV0MultiLocation;979 readonly amount: Compact<u128>;980 } & Struct;981 readonly isConcreteNonFungible: boolean;982 readonly asConcreteNonFungible: {983 readonly class: XcmV0MultiLocation;984 readonly instance: XcmV1MultiassetAssetInstance;985 } & Struct;986 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';987 }988989 /** @name XcmV0MultiLocation (84) */990 interface XcmV0MultiLocation extends Enum {991 readonly isNull: boolean;992 readonly isX1: boolean;993 readonly asX1: XcmV0Junction;994 readonly isX2: boolean;995 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;996 readonly isX3: boolean;997 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;998 readonly isX4: boolean;999 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1000 readonly isX5: boolean;1001 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1002 readonly isX6: boolean;1003 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1004 readonly isX7: boolean;1005 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1006 readonly isX8: boolean;1007 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1008 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1009 }10101011 /** @name XcmV0Junction (85) */1012 interface XcmV0Junction extends Enum {1013 readonly isParent: boolean;1014 readonly isParachain: boolean;1015 readonly asParachain: Compact<u32>;1016 readonly isAccountId32: boolean;1017 readonly asAccountId32: {1018 readonly network: XcmV0JunctionNetworkId;1019 readonly id: U8aFixed;1020 } & Struct;1021 readonly isAccountIndex64: boolean;1022 readonly asAccountIndex64: {1023 readonly network: XcmV0JunctionNetworkId;1024 readonly index: Compact<u64>;1025 } & Struct;1026 readonly isAccountKey20: boolean;1027 readonly asAccountKey20: {1028 readonly network: XcmV0JunctionNetworkId;1029 readonly key: U8aFixed;1030 } & Struct;1031 readonly isPalletInstance: boolean;1032 readonly asPalletInstance: u8;1033 readonly isGeneralIndex: boolean;1034 readonly asGeneralIndex: Compact<u128>;1035 readonly isGeneralKey: boolean;1036 readonly asGeneralKey: Bytes;1037 readonly isOnlyChild: boolean;1038 readonly isPlurality: boolean;1039 readonly asPlurality: {1040 readonly id: XcmV0JunctionBodyId;1041 readonly part: XcmV0JunctionBodyPart;1042 } & Struct;1043 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1044 }10451046 /** @name XcmVersionedMultiLocation (86) */1047 interface XcmVersionedMultiLocation extends Enum {1048 readonly isV0: boolean;1049 readonly asV0: XcmV0MultiLocation;1050 readonly isV1: boolean;1051 readonly asV1: XcmV1MultiLocation;1052 readonly type: 'V0' | 'V1';1053 }10541055 /** @name CumulusPalletXcmEvent (87) */1056 interface CumulusPalletXcmEvent extends Enum {1057 readonly isInvalidFormat: boolean;1058 readonly asInvalidFormat: U8aFixed;1059 readonly isUnsupportedVersion: boolean;1060 readonly asUnsupportedVersion: U8aFixed;1061 readonly isExecutedDownward: boolean;1062 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1063 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1064 }10651066 /** @name CumulusPalletDmpQueueEvent (88) */1067 interface CumulusPalletDmpQueueEvent extends Enum {1068 readonly isInvalidFormat: boolean;1069 readonly asInvalidFormat: {1070 readonly messageId: U8aFixed;1071 } & Struct;1072 readonly isUnsupportedVersion: boolean;1073 readonly asUnsupportedVersion: {1074 readonly messageId: U8aFixed;1075 } & Struct;1076 readonly isExecutedDownward: boolean;1077 readonly asExecutedDownward: {1078 readonly messageId: U8aFixed;1079 readonly outcome: XcmV2TraitsOutcome;1080 } & Struct;1081 readonly isWeightExhausted: boolean;1082 readonly asWeightExhausted: {1083 readonly messageId: U8aFixed;1084 readonly remainingWeight: Weight;1085 readonly requiredWeight: Weight;1086 } & Struct;1087 readonly isOverweightEnqueued: boolean;1088 readonly asOverweightEnqueued: {1089 readonly messageId: U8aFixed;1090 readonly overweightIndex: u64;1091 readonly requiredWeight: Weight;1092 } & Struct;1093 readonly isOverweightServiced: boolean;1094 readonly asOverweightServiced: {1095 readonly overweightIndex: u64;1096 readonly weightUsed: Weight;1097 } & Struct;1098 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1099 }11001101 /** @name PalletUniqueRawEvent (89) */1102 interface PalletUniqueRawEvent extends Enum {1103 readonly isCollectionSponsorRemoved: boolean;1104 readonly asCollectionSponsorRemoved: u32;1105 readonly isCollectionAdminAdded: boolean;1106 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1107 readonly isCollectionOwnedChanged: boolean;1108 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1109 readonly isCollectionSponsorSet: boolean;1110 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1111 readonly isSponsorshipConfirmed: boolean;1112 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1113 readonly isCollectionAdminRemoved: boolean;1114 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1115 readonly isAllowListAddressRemoved: boolean;1116 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1117 readonly isAllowListAddressAdded: boolean;1118 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1119 readonly isCollectionLimitSet: boolean;1120 readonly asCollectionLimitSet: u32;1121 readonly isCollectionPermissionSet: boolean;1122 readonly asCollectionPermissionSet: u32;1123 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1124 }11251126 /** @name PalletEvmAccountBasicCrossAccountIdRepr (90) */1127 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1128 readonly isSubstrate: boolean;1129 readonly asSubstrate: AccountId32;1130 readonly isEthereum: boolean;1131 readonly asEthereum: H160;1132 readonly type: 'Substrate' | 'Ethereum';1133 }11341135 /** @name PalletUniqueSchedulerV2Event (93) */1136 interface PalletUniqueSchedulerV2Event extends Enum {1137 readonly isScheduled: boolean;1138 readonly asScheduled: {1139 readonly when: u32;1140 readonly index: u32;1141 } & Struct;1142 readonly isCanceled: boolean;1143 readonly asCanceled: {1144 readonly when: u32;1145 readonly index: u32;1146 } & Struct;1147 readonly isDispatched: boolean;1148 readonly asDispatched: {1149 readonly task: ITuple<[u32, u32]>;1150 readonly id: Option<U8aFixed>;1151 readonly result: Result<Null, SpRuntimeDispatchError>;1152 } & Struct;1153 readonly isPriorityChanged: boolean;1154 readonly asPriorityChanged: {1155 readonly task: ITuple<[u32, u32]>;1156 readonly priority: u8;1157 } & Struct;1158 readonly isCallUnavailable: boolean;1159 readonly asCallUnavailable: {1160 readonly task: ITuple<[u32, u32]>;1161 readonly id: Option<U8aFixed>;1162 } & Struct;1163 readonly isPermanentlyOverweight: boolean;1164 readonly asPermanentlyOverweight: {1165 readonly task: ITuple<[u32, u32]>;1166 readonly id: Option<U8aFixed>;1167 } & Struct;1168 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'PriorityChanged' | 'CallUnavailable' | 'PermanentlyOverweight';1169 }11701171 /** @name PalletCommonEvent (96) */1172 interface PalletCommonEvent extends Enum {1173 readonly isCollectionCreated: boolean;1174 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1175 readonly isCollectionDestroyed: boolean;1176 readonly asCollectionDestroyed: u32;1177 readonly isItemCreated: boolean;1178 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1179 readonly isItemDestroyed: boolean;1180 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1181 readonly isTransfer: boolean;1182 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1183 readonly isApproved: boolean;1184 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1185 readonly isApprovedForAll: boolean;1186 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1187 readonly isCollectionPropertySet: boolean;1188 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1189 readonly isCollectionPropertyDeleted: boolean;1190 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1191 readonly isTokenPropertySet: boolean;1192 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1193 readonly isTokenPropertyDeleted: boolean;1194 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1195 readonly isPropertyPermissionSet: boolean;1196 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1197 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1198 }11991200 /** @name PalletStructureEvent (100) */1201 interface PalletStructureEvent extends Enum {1202 readonly isExecuted: boolean;1203 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1204 readonly type: 'Executed';1205 }12061207 /** @name PalletRmrkCoreEvent (101) */1208 interface PalletRmrkCoreEvent extends Enum {1209 readonly isCollectionCreated: boolean;1210 readonly asCollectionCreated: {1211 readonly issuer: AccountId32;1212 readonly collectionId: u32;1213 } & Struct;1214 readonly isCollectionDestroyed: boolean;1215 readonly asCollectionDestroyed: {1216 readonly issuer: AccountId32;1217 readonly collectionId: u32;1218 } & Struct;1219 readonly isIssuerChanged: boolean;1220 readonly asIssuerChanged: {1221 readonly oldIssuer: AccountId32;1222 readonly newIssuer: AccountId32;1223 readonly collectionId: u32;1224 } & Struct;1225 readonly isCollectionLocked: boolean;1226 readonly asCollectionLocked: {1227 readonly issuer: AccountId32;1228 readonly collectionId: u32;1229 } & Struct;1230 readonly isNftMinted: boolean;1231 readonly asNftMinted: {1232 readonly owner: AccountId32;1233 readonly collectionId: u32;1234 readonly nftId: u32;1235 } & Struct;1236 readonly isNftBurned: boolean;1237 readonly asNftBurned: {1238 readonly owner: AccountId32;1239 readonly nftId: u32;1240 } & Struct;1241 readonly isNftSent: boolean;1242 readonly asNftSent: {1243 readonly sender: AccountId32;1244 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1245 readonly collectionId: u32;1246 readonly nftId: u32;1247 readonly approvalRequired: bool;1248 } & Struct;1249 readonly isNftAccepted: boolean;1250 readonly asNftAccepted: {1251 readonly sender: AccountId32;1252 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1253 readonly collectionId: u32;1254 readonly nftId: u32;1255 } & Struct;1256 readonly isNftRejected: boolean;1257 readonly asNftRejected: {1258 readonly sender: AccountId32;1259 readonly collectionId: u32;1260 readonly nftId: u32;1261 } & Struct;1262 readonly isPropertySet: boolean;1263 readonly asPropertySet: {1264 readonly collectionId: u32;1265 readonly maybeNftId: Option<u32>;1266 readonly key: Bytes;1267 readonly value: Bytes;1268 } & Struct;1269 readonly isResourceAdded: boolean;1270 readonly asResourceAdded: {1271 readonly nftId: u32;1272 readonly resourceId: u32;1273 } & Struct;1274 readonly isResourceRemoval: boolean;1275 readonly asResourceRemoval: {1276 readonly nftId: u32;1277 readonly resourceId: u32;1278 } & Struct;1279 readonly isResourceAccepted: boolean;1280 readonly asResourceAccepted: {1281 readonly nftId: u32;1282 readonly resourceId: u32;1283 } & Struct;1284 readonly isResourceRemovalAccepted: boolean;1285 readonly asResourceRemovalAccepted: {1286 readonly nftId: u32;1287 readonly resourceId: u32;1288 } & Struct;1289 readonly isPrioritySet: boolean;1290 readonly asPrioritySet: {1291 readonly collectionId: u32;1292 readonly nftId: u32;1293 } & Struct;1294 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1295 }12961297 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (102) */1298 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1299 readonly isAccountId: boolean;1300 readonly asAccountId: AccountId32;1301 readonly isCollectionAndNftTuple: boolean;1302 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1303 readonly type: 'AccountId' | 'CollectionAndNftTuple';1304 }13051306 /** @name PalletRmrkEquipEvent (106) */1307 interface PalletRmrkEquipEvent extends Enum {1308 readonly isBaseCreated: boolean;1309 readonly asBaseCreated: {1310 readonly issuer: AccountId32;1311 readonly baseId: u32;1312 } & Struct;1313 readonly isEquippablesUpdated: boolean;1314 readonly asEquippablesUpdated: {1315 readonly baseId: u32;1316 readonly slotId: u32;1317 } & Struct;1318 readonly type: 'BaseCreated' | 'EquippablesUpdated';1319 }13201321 /** @name PalletAppPromotionEvent (107) */1322 interface PalletAppPromotionEvent extends Enum {1323 readonly isStakingRecalculation: boolean;1324 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1325 readonly isStake: boolean;1326 readonly asStake: ITuple<[AccountId32, u128]>;1327 readonly isUnstake: boolean;1328 readonly asUnstake: ITuple<[AccountId32, u128]>;1329 readonly isSetAdmin: boolean;1330 readonly asSetAdmin: AccountId32;1331 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1332 }13331334 /** @name PalletForeignAssetsModuleEvent (108) */1335 interface PalletForeignAssetsModuleEvent extends Enum {1336 readonly isForeignAssetRegistered: boolean;1337 readonly asForeignAssetRegistered: {1338 readonly assetId: u32;1339 readonly assetAddress: XcmV1MultiLocation;1340 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1341 } & Struct;1342 readonly isForeignAssetUpdated: boolean;1343 readonly asForeignAssetUpdated: {1344 readonly assetId: u32;1345 readonly assetAddress: XcmV1MultiLocation;1346 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1347 } & Struct;1348 readonly isAssetRegistered: boolean;1349 readonly asAssetRegistered: {1350 readonly assetId: PalletForeignAssetsAssetIds;1351 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1352 } & Struct;1353 readonly isAssetUpdated: boolean;1354 readonly asAssetUpdated: {1355 readonly assetId: PalletForeignAssetsAssetIds;1356 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1357 } & Struct;1358 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1359 }13601361 /** @name PalletForeignAssetsModuleAssetMetadata (109) */1362 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1363 readonly name: Bytes;1364 readonly symbol: Bytes;1365 readonly decimals: u8;1366 readonly minimalBalance: u128;1367 }13681369 /** @name PalletEvmEvent (110) */1370 interface PalletEvmEvent extends Enum {1371 readonly isLog: boolean;1372 readonly asLog: {1373 readonly log: EthereumLog;1374 } & Struct;1375 readonly isCreated: boolean;1376 readonly asCreated: {1377 readonly address: H160;1378 } & Struct;1379 readonly isCreatedFailed: boolean;1380 readonly asCreatedFailed: {1381 readonly address: H160;1382 } & Struct;1383 readonly isExecuted: boolean;1384 readonly asExecuted: {1385 readonly address: H160;1386 } & Struct;1387 readonly isExecutedFailed: boolean;1388 readonly asExecutedFailed: {1389 readonly address: H160;1390 } & Struct;1391 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1392 }13931394 /** @name EthereumLog (111) */1395 interface EthereumLog extends Struct {1396 readonly address: H160;1397 readonly topics: Vec<H256>;1398 readonly data: Bytes;1399 }14001401 /** @name PalletEthereumEvent (113) */1402 interface PalletEthereumEvent extends Enum {1403 readonly isExecuted: boolean;1404 readonly asExecuted: {1405 readonly from: H160;1406 readonly to: H160;1407 readonly transactionHash: H256;1408 readonly exitReason: EvmCoreErrorExitReason;1409 } & Struct;1410 readonly type: 'Executed';1411 }14121413 /** @name EvmCoreErrorExitReason (114) */1414 interface EvmCoreErrorExitReason extends Enum {1415 readonly isSucceed: boolean;1416 readonly asSucceed: EvmCoreErrorExitSucceed;1417 readonly isError: boolean;1418 readonly asError: EvmCoreErrorExitError;1419 readonly isRevert: boolean;1420 readonly asRevert: EvmCoreErrorExitRevert;1421 readonly isFatal: boolean;1422 readonly asFatal: EvmCoreErrorExitFatal;1423 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1424 }14251426 /** @name EvmCoreErrorExitSucceed (115) */1427 interface EvmCoreErrorExitSucceed extends Enum {1428 readonly isStopped: boolean;1429 readonly isReturned: boolean;1430 readonly isSuicided: boolean;1431 readonly type: 'Stopped' | 'Returned' | 'Suicided';1432 }14331434 /** @name EvmCoreErrorExitError (116) */1435 interface EvmCoreErrorExitError extends Enum {1436 readonly isStackUnderflow: boolean;1437 readonly isStackOverflow: boolean;1438 readonly isInvalidJump: boolean;1439 readonly isInvalidRange: boolean;1440 readonly isDesignatedInvalid: boolean;1441 readonly isCallTooDeep: boolean;1442 readonly isCreateCollision: boolean;1443 readonly isCreateContractLimit: boolean;1444 readonly isOutOfOffset: boolean;1445 readonly isOutOfGas: boolean;1446 readonly isOutOfFund: boolean;1447 readonly isPcUnderflow: boolean;1448 readonly isCreateEmpty: boolean;1449 readonly isOther: boolean;1450 readonly asOther: Text;1451 readonly isInvalidCode: boolean;1452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1453 }14541455 /** @name EvmCoreErrorExitRevert (119) */1456 interface EvmCoreErrorExitRevert extends Enum {1457 readonly isReverted: boolean;1458 readonly type: 'Reverted';1459 }14601461 /** @name EvmCoreErrorExitFatal (120) */1462 interface EvmCoreErrorExitFatal extends Enum {1463 readonly isNotSupported: boolean;1464 readonly isUnhandledInterrupt: boolean;1465 readonly isCallErrorAsFatal: boolean;1466 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1467 readonly isOther: boolean;1468 readonly asOther: Text;1469 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1470 }14711472 /** @name PalletEvmContractHelpersEvent (121) */1473 interface PalletEvmContractHelpersEvent extends Enum {1474 readonly isContractSponsorSet: boolean;1475 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1476 readonly isContractSponsorshipConfirmed: boolean;1477 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1478 readonly isContractSponsorRemoved: boolean;1479 readonly asContractSponsorRemoved: H160;1480 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1481 }14821483 /** @name PalletEvmMigrationEvent (122) */1484 interface PalletEvmMigrationEvent extends Enum {1485 readonly isTestEvent: boolean;1486 readonly type: 'TestEvent';1487 }14881489 /** @name PalletMaintenanceEvent (123) */1490 interface PalletMaintenanceEvent extends Enum {1491 readonly isMaintenanceEnabled: boolean;1492 readonly isMaintenanceDisabled: boolean;1493 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1494 }14951496 /** @name PalletTestUtilsEvent (124) */1497 interface PalletTestUtilsEvent extends Enum {1498 readonly isValueIsSet: boolean;1499 readonly isShouldRollback: boolean;1500 readonly isBatchCompleted: boolean;1501 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1502 }15031504 /** @name FrameSystemPhase (125) */1505 interface FrameSystemPhase extends Enum {1506 readonly isApplyExtrinsic: boolean;1507 readonly asApplyExtrinsic: u32;1508 readonly isFinalization: boolean;1509 readonly isInitialization: boolean;1510 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1511 }15121513 /** @name FrameSystemLastRuntimeUpgradeInfo (127) */1514 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1515 readonly specVersion: Compact<u32>;1516 readonly specName: Text;1517 }15181519 /** @name FrameSystemCall (128) */1520 interface FrameSystemCall extends Enum {1521 readonly isFillBlock: boolean;1522 readonly asFillBlock: {1523 readonly ratio: Perbill;1524 } & Struct;1525 readonly isRemark: boolean;1526 readonly asRemark: {1527 readonly remark: Bytes;1528 } & Struct;1529 readonly isSetHeapPages: boolean;1530 readonly asSetHeapPages: {1531 readonly pages: u64;1532 } & Struct;1533 readonly isSetCode: boolean;1534 readonly asSetCode: {1535 readonly code: Bytes;1536 } & Struct;1537 readonly isSetCodeWithoutChecks: boolean;1538 readonly asSetCodeWithoutChecks: {1539 readonly code: Bytes;1540 } & Struct;1541 readonly isSetStorage: boolean;1542 readonly asSetStorage: {1543 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1544 } & Struct;1545 readonly isKillStorage: boolean;1546 readonly asKillStorage: {1547 readonly keys_: Vec<Bytes>;1548 } & Struct;1549 readonly isKillPrefix: boolean;1550 readonly asKillPrefix: {1551 readonly prefix: Bytes;1552 readonly subkeys: u32;1553 } & Struct;1554 readonly isRemarkWithEvent: boolean;1555 readonly asRemarkWithEvent: {1556 readonly remark: Bytes;1557 } & Struct;1558 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1559 }15601561 /** @name FrameSystemLimitsBlockWeights (133) */1562 interface FrameSystemLimitsBlockWeights extends Struct {1563 readonly baseBlock: Weight;1564 readonly maxBlock: Weight;1565 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1566 }15671568 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (134) */1569 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1570 readonly normal: FrameSystemLimitsWeightsPerClass;1571 readonly operational: FrameSystemLimitsWeightsPerClass;1572 readonly mandatory: FrameSystemLimitsWeightsPerClass;1573 }15741575 /** @name FrameSystemLimitsWeightsPerClass (135) */1576 interface FrameSystemLimitsWeightsPerClass extends Struct {1577 readonly baseExtrinsic: Weight;1578 readonly maxExtrinsic: Option<Weight>;1579 readonly maxTotal: Option<Weight>;1580 readonly reserved: Option<Weight>;1581 }15821583 /** @name FrameSystemLimitsBlockLength (137) */1584 interface FrameSystemLimitsBlockLength extends Struct {1585 readonly max: FrameSupportDispatchPerDispatchClassU32;1586 }15871588 /** @name FrameSupportDispatchPerDispatchClassU32 (138) */1589 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1590 readonly normal: u32;1591 readonly operational: u32;1592 readonly mandatory: u32;1593 }15941595 /** @name SpWeightsRuntimeDbWeight (139) */1596 interface SpWeightsRuntimeDbWeight extends Struct {1597 readonly read: u64;1598 readonly write: u64;1599 }16001601 /** @name SpVersionRuntimeVersion (140) */1602 interface SpVersionRuntimeVersion extends Struct {1603 readonly specName: Text;1604 readonly implName: Text;1605 readonly authoringVersion: u32;1606 readonly specVersion: u32;1607 readonly implVersion: u32;1608 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1609 readonly transactionVersion: u32;1610 readonly stateVersion: u8;1611 }16121613 /** @name FrameSystemError (145) */1614 interface FrameSystemError extends Enum {1615 readonly isInvalidSpecName: boolean;1616 readonly isSpecVersionNeedsToIncrease: boolean;1617 readonly isFailedToExtractRuntimeVersion: boolean;1618 readonly isNonDefaultComposite: boolean;1619 readonly isNonZeroRefCount: boolean;1620 readonly isCallFiltered: boolean;1621 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1622 }16231624 /** @name PolkadotPrimitivesV2PersistedValidationData (146) */1625 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1626 readonly parentHead: Bytes;1627 readonly relayParentNumber: u32;1628 readonly relayParentStorageRoot: H256;1629 readonly maxPovSize: u32;1630 }16311632 /** @name PolkadotPrimitivesV2UpgradeRestriction (149) */1633 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1634 readonly isPresent: boolean;1635 readonly type: 'Present';1636 }16371638 /** @name SpTrieStorageProof (150) */1639 interface SpTrieStorageProof extends Struct {1640 readonly trieNodes: BTreeSet<Bytes>;1641 }16421643 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (152) */1644 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1645 readonly dmqMqcHead: H256;1646 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1647 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1648 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1649 }16501651 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (155) */1652 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1653 readonly maxCapacity: u32;1654 readonly maxTotalSize: u32;1655 readonly maxMessageSize: u32;1656 readonly msgCount: u32;1657 readonly totalSize: u32;1658 readonly mqcHead: Option<H256>;1659 }16601661 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (156) */1662 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1663 readonly maxCodeSize: u32;1664 readonly maxHeadDataSize: u32;1665 readonly maxUpwardQueueCount: u32;1666 readonly maxUpwardQueueSize: u32;1667 readonly maxUpwardMessageSize: u32;1668 readonly maxUpwardMessageNumPerCandidate: u32;1669 readonly hrmpMaxMessageNumPerCandidate: u32;1670 readonly validationUpgradeCooldown: u32;1671 readonly validationUpgradeDelay: u32;1672 }16731674 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (162) */1675 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1676 readonly recipient: u32;1677 readonly data: Bytes;1678 }16791680 /** @name CumulusPalletParachainSystemCall (163) */1681 interface CumulusPalletParachainSystemCall extends Enum {1682 readonly isSetValidationData: boolean;1683 readonly asSetValidationData: {1684 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1685 } & Struct;1686 readonly isSudoSendUpwardMessage: boolean;1687 readonly asSudoSendUpwardMessage: {1688 readonly message: Bytes;1689 } & Struct;1690 readonly isAuthorizeUpgrade: boolean;1691 readonly asAuthorizeUpgrade: {1692 readonly codeHash: H256;1693 } & Struct;1694 readonly isEnactAuthorizedUpgrade: boolean;1695 readonly asEnactAuthorizedUpgrade: {1696 readonly code: Bytes;1697 } & Struct;1698 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1699 }17001701 /** @name CumulusPrimitivesParachainInherentParachainInherentData (164) */1702 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1703 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1704 readonly relayChainState: SpTrieStorageProof;1705 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1706 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1707 }17081709 /** @name PolkadotCorePrimitivesInboundDownwardMessage (166) */1710 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1711 readonly sentAt: u32;1712 readonly msg: Bytes;1713 }17141715 /** @name PolkadotCorePrimitivesInboundHrmpMessage (169) */1716 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1717 readonly sentAt: u32;1718 readonly data: Bytes;1719 }17201721 /** @name CumulusPalletParachainSystemError (172) */1722 interface CumulusPalletParachainSystemError extends Enum {1723 readonly isOverlappingUpgrades: boolean;1724 readonly isProhibitedByPolkadot: boolean;1725 readonly isTooBig: boolean;1726 readonly isValidationDataNotAvailable: boolean;1727 readonly isHostConfigurationNotAvailable: boolean;1728 readonly isNotScheduled: boolean;1729 readonly isNothingAuthorized: boolean;1730 readonly isUnauthorized: boolean;1731 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1732 }17331734 /** @name PalletBalancesBalanceLock (174) */1735 interface PalletBalancesBalanceLock extends Struct {1736 readonly id: U8aFixed;1737 readonly amount: u128;1738 readonly reasons: PalletBalancesReasons;1739 }17401741 /** @name PalletBalancesReasons (175) */1742 interface PalletBalancesReasons extends Enum {1743 readonly isFee: boolean;1744 readonly isMisc: boolean;1745 readonly isAll: boolean;1746 readonly type: 'Fee' | 'Misc' | 'All';1747 }17481749 /** @name PalletBalancesReserveData (178) */1750 interface PalletBalancesReserveData extends Struct {1751 readonly id: U8aFixed;1752 readonly amount: u128;1753 }17541755 /** @name PalletBalancesReleases (180) */1756 interface PalletBalancesReleases extends Enum {1757 readonly isV100: boolean;1758 readonly isV200: boolean;1759 readonly type: 'V100' | 'V200';1760 }17611762 /** @name PalletBalancesCall (181) */1763 interface PalletBalancesCall extends Enum {1764 readonly isTransfer: boolean;1765 readonly asTransfer: {1766 readonly dest: MultiAddress;1767 readonly value: Compact<u128>;1768 } & Struct;1769 readonly isSetBalance: boolean;1770 readonly asSetBalance: {1771 readonly who: MultiAddress;1772 readonly newFree: Compact<u128>;1773 readonly newReserved: Compact<u128>;1774 } & Struct;1775 readonly isForceTransfer: boolean;1776 readonly asForceTransfer: {1777 readonly source: MultiAddress;1778 readonly dest: MultiAddress;1779 readonly value: Compact<u128>;1780 } & Struct;1781 readonly isTransferKeepAlive: boolean;1782 readonly asTransferKeepAlive: {1783 readonly dest: MultiAddress;1784 readonly value: Compact<u128>;1785 } & Struct;1786 readonly isTransferAll: boolean;1787 readonly asTransferAll: {1788 readonly dest: MultiAddress;1789 readonly keepAlive: bool;1790 } & Struct;1791 readonly isForceUnreserve: boolean;1792 readonly asForceUnreserve: {1793 readonly who: MultiAddress;1794 readonly amount: u128;1795 } & Struct;1796 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1797 }17981799 /** @name PalletBalancesError (184) */1800 interface PalletBalancesError extends Enum {1801 readonly isVestingBalance: boolean;1802 readonly isLiquidityRestrictions: boolean;1803 readonly isInsufficientBalance: boolean;1804 readonly isExistentialDeposit: boolean;1805 readonly isKeepAlive: boolean;1806 readonly isExistingVestingSchedule: boolean;1807 readonly isDeadAccount: boolean;1808 readonly isTooManyReserves: boolean;1809 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1810 }18111812 /** @name PalletTimestampCall (186) */1813 interface PalletTimestampCall extends Enum {1814 readonly isSet: boolean;1815 readonly asSet: {1816 readonly now: Compact<u64>;1817 } & Struct;1818 readonly type: 'Set';1819 }18201821 /** @name PalletTransactionPaymentReleases (188) */1822 interface PalletTransactionPaymentReleases extends Enum {1823 readonly isV1Ancient: boolean;1824 readonly isV2: boolean;1825 readonly type: 'V1Ancient' | 'V2';1826 }18271828 /** @name PalletTreasuryProposal (189) */1829 interface PalletTreasuryProposal extends Struct {1830 readonly proposer: AccountId32;1831 readonly value: u128;1832 readonly beneficiary: AccountId32;1833 readonly bond: u128;1834 }18351836 /** @name PalletTreasuryCall (192) */1837 interface PalletTreasuryCall extends Enum {1838 readonly isProposeSpend: boolean;1839 readonly asProposeSpend: {1840 readonly value: Compact<u128>;1841 readonly beneficiary: MultiAddress;1842 } & Struct;1843 readonly isRejectProposal: boolean;1844 readonly asRejectProposal: {1845 readonly proposalId: Compact<u32>;1846 } & Struct;1847 readonly isApproveProposal: boolean;1848 readonly asApproveProposal: {1849 readonly proposalId: Compact<u32>;1850 } & Struct;1851 readonly isSpend: boolean;1852 readonly asSpend: {1853 readonly amount: Compact<u128>;1854 readonly beneficiary: MultiAddress;1855 } & Struct;1856 readonly isRemoveApproval: boolean;1857 readonly asRemoveApproval: {1858 readonly proposalId: Compact<u32>;1859 } & Struct;1860 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1861 }18621863 /** @name FrameSupportPalletId (195) */1864 interface FrameSupportPalletId extends U8aFixed {}18651866 /** @name PalletTreasuryError (196) */1867 interface PalletTreasuryError extends Enum {1868 readonly isInsufficientProposersBalance: boolean;1869 readonly isInvalidIndex: boolean;1870 readonly isTooManyApprovals: boolean;1871 readonly isInsufficientPermission: boolean;1872 readonly isProposalNotApproved: boolean;1873 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1874 }18751876 /** @name PalletSudoCall (197) */1877 interface PalletSudoCall extends Enum {1878 readonly isSudo: boolean;1879 readonly asSudo: {1880 readonly call: Call;1881 } & Struct;1882 readonly isSudoUncheckedWeight: boolean;1883 readonly asSudoUncheckedWeight: {1884 readonly call: Call;1885 readonly weight: Weight;1886 } & Struct;1887 readonly isSetKey: boolean;1888 readonly asSetKey: {1889 readonly new_: MultiAddress;1890 } & Struct;1891 readonly isSudoAs: boolean;1892 readonly asSudoAs: {1893 readonly who: MultiAddress;1894 readonly call: Call;1895 } & Struct;1896 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1897 }18981899 /** @name OrmlVestingModuleCall (199) */1900 interface OrmlVestingModuleCall extends Enum {1901 readonly isClaim: boolean;1902 readonly isVestedTransfer: boolean;1903 readonly asVestedTransfer: {1904 readonly dest: MultiAddress;1905 readonly schedule: OrmlVestingVestingSchedule;1906 } & Struct;1907 readonly isUpdateVestingSchedules: boolean;1908 readonly asUpdateVestingSchedules: {1909 readonly who: MultiAddress;1910 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1911 } & Struct;1912 readonly isClaimFor: boolean;1913 readonly asClaimFor: {1914 readonly dest: MultiAddress;1915 } & Struct;1916 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1917 }19181919 /** @name OrmlXtokensModuleCall (201) */1920 interface OrmlXtokensModuleCall extends Enum {1921 readonly isTransfer: boolean;1922 readonly asTransfer: {1923 readonly currencyId: PalletForeignAssetsAssetIds;1924 readonly amount: u128;1925 readonly dest: XcmVersionedMultiLocation;1926 readonly destWeight: u64;1927 } & Struct;1928 readonly isTransferMultiasset: boolean;1929 readonly asTransferMultiasset: {1930 readonly asset: XcmVersionedMultiAsset;1931 readonly dest: XcmVersionedMultiLocation;1932 readonly destWeight: u64;1933 } & Struct;1934 readonly isTransferWithFee: boolean;1935 readonly asTransferWithFee: {1936 readonly currencyId: PalletForeignAssetsAssetIds;1937 readonly amount: u128;1938 readonly fee: u128;1939 readonly dest: XcmVersionedMultiLocation;1940 readonly destWeight: u64;1941 } & Struct;1942 readonly isTransferMultiassetWithFee: boolean;1943 readonly asTransferMultiassetWithFee: {1944 readonly asset: XcmVersionedMultiAsset;1945 readonly fee: XcmVersionedMultiAsset;1946 readonly dest: XcmVersionedMultiLocation;1947 readonly destWeight: u64;1948 } & Struct;1949 readonly isTransferMulticurrencies: boolean;1950 readonly asTransferMulticurrencies: {1951 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;1952 readonly feeItem: u32;1953 readonly dest: XcmVersionedMultiLocation;1954 readonly destWeight: u64;1955 } & Struct;1956 readonly isTransferMultiassets: boolean;1957 readonly asTransferMultiassets: {1958 readonly assets: XcmVersionedMultiAssets;1959 readonly feeItem: u32;1960 readonly dest: XcmVersionedMultiLocation;1961 readonly destWeight: u64;1962 } & Struct;1963 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1964 }19651966 /** @name XcmVersionedMultiAsset (202) */1967 interface XcmVersionedMultiAsset extends Enum {1968 readonly isV0: boolean;1969 readonly asV0: XcmV0MultiAsset;1970 readonly isV1: boolean;1971 readonly asV1: XcmV1MultiAsset;1972 readonly type: 'V0' | 'V1';1973 }19741975 /** @name OrmlTokensModuleCall (205) */1976 interface OrmlTokensModuleCall extends Enum {1977 readonly isTransfer: boolean;1978 readonly asTransfer: {1979 readonly dest: MultiAddress;1980 readonly currencyId: PalletForeignAssetsAssetIds;1981 readonly amount: Compact<u128>;1982 } & Struct;1983 readonly isTransferAll: boolean;1984 readonly asTransferAll: {1985 readonly dest: MultiAddress;1986 readonly currencyId: PalletForeignAssetsAssetIds;1987 readonly keepAlive: bool;1988 } & Struct;1989 readonly isTransferKeepAlive: boolean;1990 readonly asTransferKeepAlive: {1991 readonly dest: MultiAddress;1992 readonly currencyId: PalletForeignAssetsAssetIds;1993 readonly amount: Compact<u128>;1994 } & Struct;1995 readonly isForceTransfer: boolean;1996 readonly asForceTransfer: {1997 readonly source: MultiAddress;1998 readonly dest: MultiAddress;1999 readonly currencyId: PalletForeignAssetsAssetIds;2000 readonly amount: Compact<u128>;2001 } & Struct;2002 readonly isSetBalance: boolean;2003 readonly asSetBalance: {2004 readonly who: MultiAddress;2005 readonly currencyId: PalletForeignAssetsAssetIds;2006 readonly newFree: Compact<u128>;2007 readonly newReserved: Compact<u128>;2008 } & Struct;2009 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2010 }20112012 /** @name CumulusPalletXcmpQueueCall (206) */2013 interface CumulusPalletXcmpQueueCall extends Enum {2014 readonly isServiceOverweight: boolean;2015 readonly asServiceOverweight: {2016 readonly index: u64;2017 readonly weightLimit: Weight;2018 } & Struct;2019 readonly isSuspendXcmExecution: boolean;2020 readonly isResumeXcmExecution: boolean;2021 readonly isUpdateSuspendThreshold: boolean;2022 readonly asUpdateSuspendThreshold: {2023 readonly new_: u32;2024 } & Struct;2025 readonly isUpdateDropThreshold: boolean;2026 readonly asUpdateDropThreshold: {2027 readonly new_: u32;2028 } & Struct;2029 readonly isUpdateResumeThreshold: boolean;2030 readonly asUpdateResumeThreshold: {2031 readonly new_: u32;2032 } & Struct;2033 readonly isUpdateThresholdWeight: boolean;2034 readonly asUpdateThresholdWeight: {2035 readonly new_: Weight;2036 } & Struct;2037 readonly isUpdateWeightRestrictDecay: boolean;2038 readonly asUpdateWeightRestrictDecay: {2039 readonly new_: Weight;2040 } & Struct;2041 readonly isUpdateXcmpMaxIndividualWeight: boolean;2042 readonly asUpdateXcmpMaxIndividualWeight: {2043 readonly new_: Weight;2044 } & Struct;2045 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2046 }20472048 /** @name PalletXcmCall (207) */2049 interface PalletXcmCall extends Enum {2050 readonly isSend: boolean;2051 readonly asSend: {2052 readonly dest: XcmVersionedMultiLocation;2053 readonly message: XcmVersionedXcm;2054 } & Struct;2055 readonly isTeleportAssets: boolean;2056 readonly asTeleportAssets: {2057 readonly dest: XcmVersionedMultiLocation;2058 readonly beneficiary: XcmVersionedMultiLocation;2059 readonly assets: XcmVersionedMultiAssets;2060 readonly feeAssetItem: u32;2061 } & Struct;2062 readonly isReserveTransferAssets: boolean;2063 readonly asReserveTransferAssets: {2064 readonly dest: XcmVersionedMultiLocation;2065 readonly beneficiary: XcmVersionedMultiLocation;2066 readonly assets: XcmVersionedMultiAssets;2067 readonly feeAssetItem: u32;2068 } & Struct;2069 readonly isExecute: boolean;2070 readonly asExecute: {2071 readonly message: XcmVersionedXcm;2072 readonly maxWeight: Weight;2073 } & Struct;2074 readonly isForceXcmVersion: boolean;2075 readonly asForceXcmVersion: {2076 readonly location: XcmV1MultiLocation;2077 readonly xcmVersion: u32;2078 } & Struct;2079 readonly isForceDefaultXcmVersion: boolean;2080 readonly asForceDefaultXcmVersion: {2081 readonly maybeXcmVersion: Option<u32>;2082 } & Struct;2083 readonly isForceSubscribeVersionNotify: boolean;2084 readonly asForceSubscribeVersionNotify: {2085 readonly location: XcmVersionedMultiLocation;2086 } & Struct;2087 readonly isForceUnsubscribeVersionNotify: boolean;2088 readonly asForceUnsubscribeVersionNotify: {2089 readonly location: XcmVersionedMultiLocation;2090 } & Struct;2091 readonly isLimitedReserveTransferAssets: boolean;2092 readonly asLimitedReserveTransferAssets: {2093 readonly dest: XcmVersionedMultiLocation;2094 readonly beneficiary: XcmVersionedMultiLocation;2095 readonly assets: XcmVersionedMultiAssets;2096 readonly feeAssetItem: u32;2097 readonly weightLimit: XcmV2WeightLimit;2098 } & Struct;2099 readonly isLimitedTeleportAssets: boolean;2100 readonly asLimitedTeleportAssets: {2101 readonly dest: XcmVersionedMultiLocation;2102 readonly beneficiary: XcmVersionedMultiLocation;2103 readonly assets: XcmVersionedMultiAssets;2104 readonly feeAssetItem: u32;2105 readonly weightLimit: XcmV2WeightLimit;2106 } & Struct;2107 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2108 }21092110 /** @name XcmVersionedXcm (208) */2111 interface XcmVersionedXcm extends Enum {2112 readonly isV0: boolean;2113 readonly asV0: XcmV0Xcm;2114 readonly isV1: boolean;2115 readonly asV1: XcmV1Xcm;2116 readonly isV2: boolean;2117 readonly asV2: XcmV2Xcm;2118 readonly type: 'V0' | 'V1' | 'V2';2119 }21202121 /** @name XcmV0Xcm (209) */2122 interface XcmV0Xcm extends Enum {2123 readonly isWithdrawAsset: boolean;2124 readonly asWithdrawAsset: {2125 readonly assets: Vec<XcmV0MultiAsset>;2126 readonly effects: Vec<XcmV0Order>;2127 } & Struct;2128 readonly isReserveAssetDeposit: boolean;2129 readonly asReserveAssetDeposit: {2130 readonly assets: Vec<XcmV0MultiAsset>;2131 readonly effects: Vec<XcmV0Order>;2132 } & Struct;2133 readonly isTeleportAsset: boolean;2134 readonly asTeleportAsset: {2135 readonly assets: Vec<XcmV0MultiAsset>;2136 readonly effects: Vec<XcmV0Order>;2137 } & Struct;2138 readonly isQueryResponse: boolean;2139 readonly asQueryResponse: {2140 readonly queryId: Compact<u64>;2141 readonly response: XcmV0Response;2142 } & Struct;2143 readonly isTransferAsset: boolean;2144 readonly asTransferAsset: {2145 readonly assets: Vec<XcmV0MultiAsset>;2146 readonly dest: XcmV0MultiLocation;2147 } & Struct;2148 readonly isTransferReserveAsset: boolean;2149 readonly asTransferReserveAsset: {2150 readonly assets: Vec<XcmV0MultiAsset>;2151 readonly dest: XcmV0MultiLocation;2152 readonly effects: Vec<XcmV0Order>;2153 } & Struct;2154 readonly isTransact: boolean;2155 readonly asTransact: {2156 readonly originType: XcmV0OriginKind;2157 readonly requireWeightAtMost: u64;2158 readonly call: XcmDoubleEncoded;2159 } & Struct;2160 readonly isHrmpNewChannelOpenRequest: boolean;2161 readonly asHrmpNewChannelOpenRequest: {2162 readonly sender: Compact<u32>;2163 readonly maxMessageSize: Compact<u32>;2164 readonly maxCapacity: Compact<u32>;2165 } & Struct;2166 readonly isHrmpChannelAccepted: boolean;2167 readonly asHrmpChannelAccepted: {2168 readonly recipient: Compact<u32>;2169 } & Struct;2170 readonly isHrmpChannelClosing: boolean;2171 readonly asHrmpChannelClosing: {2172 readonly initiator: Compact<u32>;2173 readonly sender: Compact<u32>;2174 readonly recipient: Compact<u32>;2175 } & Struct;2176 readonly isRelayedFrom: boolean;2177 readonly asRelayedFrom: {2178 readonly who: XcmV0MultiLocation;2179 readonly message: XcmV0Xcm;2180 } & Struct;2181 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2182 }21832184 /** @name XcmV0Order (211) */2185 interface XcmV0Order extends Enum {2186 readonly isNull: boolean;2187 readonly isDepositAsset: boolean;2188 readonly asDepositAsset: {2189 readonly assets: Vec<XcmV0MultiAsset>;2190 readonly dest: XcmV0MultiLocation;2191 } & Struct;2192 readonly isDepositReserveAsset: boolean;2193 readonly asDepositReserveAsset: {2194 readonly assets: Vec<XcmV0MultiAsset>;2195 readonly dest: XcmV0MultiLocation;2196 readonly effects: Vec<XcmV0Order>;2197 } & Struct;2198 readonly isExchangeAsset: boolean;2199 readonly asExchangeAsset: {2200 readonly give: Vec<XcmV0MultiAsset>;2201 readonly receive: Vec<XcmV0MultiAsset>;2202 } & Struct;2203 readonly isInitiateReserveWithdraw: boolean;2204 readonly asInitiateReserveWithdraw: {2205 readonly assets: Vec<XcmV0MultiAsset>;2206 readonly reserve: XcmV0MultiLocation;2207 readonly effects: Vec<XcmV0Order>;2208 } & Struct;2209 readonly isInitiateTeleport: boolean;2210 readonly asInitiateTeleport: {2211 readonly assets: Vec<XcmV0MultiAsset>;2212 readonly dest: XcmV0MultiLocation;2213 readonly effects: Vec<XcmV0Order>;2214 } & Struct;2215 readonly isQueryHolding: boolean;2216 readonly asQueryHolding: {2217 readonly queryId: Compact<u64>;2218 readonly dest: XcmV0MultiLocation;2219 readonly assets: Vec<XcmV0MultiAsset>;2220 } & Struct;2221 readonly isBuyExecution: boolean;2222 readonly asBuyExecution: {2223 readonly fees: XcmV0MultiAsset;2224 readonly weight: u64;2225 readonly debt: u64;2226 readonly haltOnError: bool;2227 readonly xcm: Vec<XcmV0Xcm>;2228 } & Struct;2229 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2230 }22312232 /** @name XcmV0Response (213) */2233 interface XcmV0Response extends Enum {2234 readonly isAssets: boolean;2235 readonly asAssets: Vec<XcmV0MultiAsset>;2236 readonly type: 'Assets';2237 }22382239 /** @name XcmV1Xcm (214) */2240 interface XcmV1Xcm extends Enum {2241 readonly isWithdrawAsset: boolean;2242 readonly asWithdrawAsset: {2243 readonly assets: XcmV1MultiassetMultiAssets;2244 readonly effects: Vec<XcmV1Order>;2245 } & Struct;2246 readonly isReserveAssetDeposited: boolean;2247 readonly asReserveAssetDeposited: {2248 readonly assets: XcmV1MultiassetMultiAssets;2249 readonly effects: Vec<XcmV1Order>;2250 } & Struct;2251 readonly isReceiveTeleportedAsset: boolean;2252 readonly asReceiveTeleportedAsset: {2253 readonly assets: XcmV1MultiassetMultiAssets;2254 readonly effects: Vec<XcmV1Order>;2255 } & Struct;2256 readonly isQueryResponse: boolean;2257 readonly asQueryResponse: {2258 readonly queryId: Compact<u64>;2259 readonly response: XcmV1Response;2260 } & Struct;2261 readonly isTransferAsset: boolean;2262 readonly asTransferAsset: {2263 readonly assets: XcmV1MultiassetMultiAssets;2264 readonly beneficiary: XcmV1MultiLocation;2265 } & Struct;2266 readonly isTransferReserveAsset: boolean;2267 readonly asTransferReserveAsset: {2268 readonly assets: XcmV1MultiassetMultiAssets;2269 readonly dest: XcmV1MultiLocation;2270 readonly effects: Vec<XcmV1Order>;2271 } & Struct;2272 readonly isTransact: boolean;2273 readonly asTransact: {2274 readonly originType: XcmV0OriginKind;2275 readonly requireWeightAtMost: u64;2276 readonly call: XcmDoubleEncoded;2277 } & Struct;2278 readonly isHrmpNewChannelOpenRequest: boolean;2279 readonly asHrmpNewChannelOpenRequest: {2280 readonly sender: Compact<u32>;2281 readonly maxMessageSize: Compact<u32>;2282 readonly maxCapacity: Compact<u32>;2283 } & Struct;2284 readonly isHrmpChannelAccepted: boolean;2285 readonly asHrmpChannelAccepted: {2286 readonly recipient: Compact<u32>;2287 } & Struct;2288 readonly isHrmpChannelClosing: boolean;2289 readonly asHrmpChannelClosing: {2290 readonly initiator: Compact<u32>;2291 readonly sender: Compact<u32>;2292 readonly recipient: Compact<u32>;2293 } & Struct;2294 readonly isRelayedFrom: boolean;2295 readonly asRelayedFrom: {2296 readonly who: XcmV1MultilocationJunctions;2297 readonly message: XcmV1Xcm;2298 } & Struct;2299 readonly isSubscribeVersion: boolean;2300 readonly asSubscribeVersion: {2301 readonly queryId: Compact<u64>;2302 readonly maxResponseWeight: Compact<u64>;2303 } & Struct;2304 readonly isUnsubscribeVersion: boolean;2305 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2306 }23072308 /** @name XcmV1Order (216) */2309 interface XcmV1Order extends Enum {2310 readonly isNoop: boolean;2311 readonly isDepositAsset: boolean;2312 readonly asDepositAsset: {2313 readonly assets: XcmV1MultiassetMultiAssetFilter;2314 readonly maxAssets: u32;2315 readonly beneficiary: XcmV1MultiLocation;2316 } & Struct;2317 readonly isDepositReserveAsset: boolean;2318 readonly asDepositReserveAsset: {2319 readonly assets: XcmV1MultiassetMultiAssetFilter;2320 readonly maxAssets: u32;2321 readonly dest: XcmV1MultiLocation;2322 readonly effects: Vec<XcmV1Order>;2323 } & Struct;2324 readonly isExchangeAsset: boolean;2325 readonly asExchangeAsset: {2326 readonly give: XcmV1MultiassetMultiAssetFilter;2327 readonly receive: XcmV1MultiassetMultiAssets;2328 } & Struct;2329 readonly isInitiateReserveWithdraw: boolean;2330 readonly asInitiateReserveWithdraw: {2331 readonly assets: XcmV1MultiassetMultiAssetFilter;2332 readonly reserve: XcmV1MultiLocation;2333 readonly effects: Vec<XcmV1Order>;2334 } & Struct;2335 readonly isInitiateTeleport: boolean;2336 readonly asInitiateTeleport: {2337 readonly assets: XcmV1MultiassetMultiAssetFilter;2338 readonly dest: XcmV1MultiLocation;2339 readonly effects: Vec<XcmV1Order>;2340 } & Struct;2341 readonly isQueryHolding: boolean;2342 readonly asQueryHolding: {2343 readonly queryId: Compact<u64>;2344 readonly dest: XcmV1MultiLocation;2345 readonly assets: XcmV1MultiassetMultiAssetFilter;2346 } & Struct;2347 readonly isBuyExecution: boolean;2348 readonly asBuyExecution: {2349 readonly fees: XcmV1MultiAsset;2350 readonly weight: u64;2351 readonly debt: u64;2352 readonly haltOnError: bool;2353 readonly instructions: Vec<XcmV1Xcm>;2354 } & Struct;2355 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2356 }23572358 /** @name XcmV1Response (218) */2359 interface XcmV1Response extends Enum {2360 readonly isAssets: boolean;2361 readonly asAssets: XcmV1MultiassetMultiAssets;2362 readonly isVersion: boolean;2363 readonly asVersion: u32;2364 readonly type: 'Assets' | 'Version';2365 }23662367 /** @name CumulusPalletXcmCall (232) */2368 type CumulusPalletXcmCall = Null;23692370 /** @name CumulusPalletDmpQueueCall (233) */2371 interface CumulusPalletDmpQueueCall extends Enum {2372 readonly isServiceOverweight: boolean;2373 readonly asServiceOverweight: {2374 readonly index: u64;2375 readonly weightLimit: Weight;2376 } & Struct;2377 readonly type: 'ServiceOverweight';2378 }23792380 /** @name PalletInflationCall (234) */2381 interface PalletInflationCall extends Enum {2382 readonly isStartInflation: boolean;2383 readonly asStartInflation: {2384 readonly inflationStartRelayBlock: u32;2385 } & Struct;2386 readonly type: 'StartInflation';2387 }23882389 /** @name PalletUniqueCall (235) */2390 interface PalletUniqueCall extends Enum {2391 readonly isCreateCollection: boolean;2392 readonly asCreateCollection: {2393 readonly collectionName: Vec<u16>;2394 readonly collectionDescription: Vec<u16>;2395 readonly tokenPrefix: Bytes;2396 readonly mode: UpDataStructsCollectionMode;2397 } & Struct;2398 readonly isCreateCollectionEx: boolean;2399 readonly asCreateCollectionEx: {2400 readonly data: UpDataStructsCreateCollectionData;2401 } & Struct;2402 readonly isDestroyCollection: boolean;2403 readonly asDestroyCollection: {2404 readonly collectionId: u32;2405 } & Struct;2406 readonly isAddToAllowList: boolean;2407 readonly asAddToAllowList: {2408 readonly collectionId: u32;2409 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2410 } & Struct;2411 readonly isRemoveFromAllowList: boolean;2412 readonly asRemoveFromAllowList: {2413 readonly collectionId: u32;2414 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2415 } & Struct;2416 readonly isChangeCollectionOwner: boolean;2417 readonly asChangeCollectionOwner: {2418 readonly collectionId: u32;2419 readonly newOwner: AccountId32;2420 } & Struct;2421 readonly isAddCollectionAdmin: boolean;2422 readonly asAddCollectionAdmin: {2423 readonly collectionId: u32;2424 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2425 } & Struct;2426 readonly isRemoveCollectionAdmin: boolean;2427 readonly asRemoveCollectionAdmin: {2428 readonly collectionId: u32;2429 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2430 } & Struct;2431 readonly isSetCollectionSponsor: boolean;2432 readonly asSetCollectionSponsor: {2433 readonly collectionId: u32;2434 readonly newSponsor: AccountId32;2435 } & Struct;2436 readonly isConfirmSponsorship: boolean;2437 readonly asConfirmSponsorship: {2438 readonly collectionId: u32;2439 } & Struct;2440 readonly isRemoveCollectionSponsor: boolean;2441 readonly asRemoveCollectionSponsor: {2442 readonly collectionId: u32;2443 } & Struct;2444 readonly isCreateItem: boolean;2445 readonly asCreateItem: {2446 readonly collectionId: u32;2447 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2448 readonly data: UpDataStructsCreateItemData;2449 } & Struct;2450 readonly isCreateMultipleItems: boolean;2451 readonly asCreateMultipleItems: {2452 readonly collectionId: u32;2453 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2454 readonly itemsData: Vec<UpDataStructsCreateItemData>;2455 } & Struct;2456 readonly isSetCollectionProperties: boolean;2457 readonly asSetCollectionProperties: {2458 readonly collectionId: u32;2459 readonly properties: Vec<UpDataStructsProperty>;2460 } & Struct;2461 readonly isDeleteCollectionProperties: boolean;2462 readonly asDeleteCollectionProperties: {2463 readonly collectionId: u32;2464 readonly propertyKeys: Vec<Bytes>;2465 } & Struct;2466 readonly isSetTokenProperties: boolean;2467 readonly asSetTokenProperties: {2468 readonly collectionId: u32;2469 readonly tokenId: u32;2470 readonly properties: Vec<UpDataStructsProperty>;2471 } & Struct;2472 readonly isDeleteTokenProperties: boolean;2473 readonly asDeleteTokenProperties: {2474 readonly collectionId: u32;2475 readonly tokenId: u32;2476 readonly propertyKeys: Vec<Bytes>;2477 } & Struct;2478 readonly isSetTokenPropertyPermissions: boolean;2479 readonly asSetTokenPropertyPermissions: {2480 readonly collectionId: u32;2481 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2482 } & Struct;2483 readonly isCreateMultipleItemsEx: boolean;2484 readonly asCreateMultipleItemsEx: {2485 readonly collectionId: u32;2486 readonly data: UpDataStructsCreateItemExData;2487 } & Struct;2488 readonly isSetTransfersEnabledFlag: boolean;2489 readonly asSetTransfersEnabledFlag: {2490 readonly collectionId: u32;2491 readonly value: bool;2492 } & Struct;2493 readonly isBurnItem: boolean;2494 readonly asBurnItem: {2495 readonly collectionId: u32;2496 readonly itemId: u32;2497 readonly value: u128;2498 } & Struct;2499 readonly isBurnFrom: boolean;2500 readonly asBurnFrom: {2501 readonly collectionId: u32;2502 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2503 readonly itemId: u32;2504 readonly value: u128;2505 } & Struct;2506 readonly isTransfer: boolean;2507 readonly asTransfer: {2508 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2509 readonly collectionId: u32;2510 readonly itemId: u32;2511 readonly value: u128;2512 } & Struct;2513 readonly isApprove: boolean;2514 readonly asApprove: {2515 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2516 readonly collectionId: u32;2517 readonly itemId: u32;2518 readonly amount: u128;2519 } & Struct;2520 readonly isTransferFrom: boolean;2521 readonly asTransferFrom: {2522 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2523 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2524 readonly collectionId: u32;2525 readonly itemId: u32;2526 readonly value: u128;2527 } & Struct;2528 readonly isSetCollectionLimits: boolean;2529 readonly asSetCollectionLimits: {2530 readonly collectionId: u32;2531 readonly newLimit: UpDataStructsCollectionLimits;2532 } & Struct;2533 readonly isSetCollectionPermissions: boolean;2534 readonly asSetCollectionPermissions: {2535 readonly collectionId: u32;2536 readonly newPermission: UpDataStructsCollectionPermissions;2537 } & Struct;2538 readonly isRepartition: boolean;2539 readonly asRepartition: {2540 readonly collectionId: u32;2541 readonly tokenId: u32;2542 readonly amount: u128;2543 } & Struct;2544 readonly isSetApprovalForAll: boolean;2545 readonly asSetApprovalForAll: {2546 readonly collectionId: u32;2547 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2548 readonly approve: bool;2549 } & Struct;2550 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetApprovalForAll';2551 }25522553 /** @name UpDataStructsCollectionMode (240) */2554 interface UpDataStructsCollectionMode extends Enum {2555 readonly isNft: boolean;2556 readonly isFungible: boolean;2557 readonly asFungible: u8;2558 readonly isReFungible: boolean;2559 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2560 }25612562 /** @name UpDataStructsCreateCollectionData (241) */2563 interface UpDataStructsCreateCollectionData extends Struct {2564 readonly mode: UpDataStructsCollectionMode;2565 readonly access: Option<UpDataStructsAccessMode>;2566 readonly name: Vec<u16>;2567 readonly description: Vec<u16>;2568 readonly tokenPrefix: Bytes;2569 readonly pendingSponsor: Option<AccountId32>;2570 readonly limits: Option<UpDataStructsCollectionLimits>;2571 readonly permissions: Option<UpDataStructsCollectionPermissions>;2572 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2573 readonly properties: Vec<UpDataStructsProperty>;2574 }25752576 /** @name UpDataStructsAccessMode (243) */2577 interface UpDataStructsAccessMode extends Enum {2578 readonly isNormal: boolean;2579 readonly isAllowList: boolean;2580 readonly type: 'Normal' | 'AllowList';2581 }25822583 /** @name UpDataStructsCollectionLimits (245) */2584 interface UpDataStructsCollectionLimits extends Struct {2585 readonly accountTokenOwnershipLimit: Option<u32>;2586 readonly sponsoredDataSize: Option<u32>;2587 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2588 readonly tokenLimit: Option<u32>;2589 readonly sponsorTransferTimeout: Option<u32>;2590 readonly sponsorApproveTimeout: Option<u32>;2591 readonly ownerCanTransfer: Option<bool>;2592 readonly ownerCanDestroy: Option<bool>;2593 readonly transfersEnabled: Option<bool>;2594 }25952596 /** @name UpDataStructsSponsoringRateLimit (247) */2597 interface UpDataStructsSponsoringRateLimit extends Enum {2598 readonly isSponsoringDisabled: boolean;2599 readonly isBlocks: boolean;2600 readonly asBlocks: u32;2601 readonly type: 'SponsoringDisabled' | 'Blocks';2602 }26032604 /** @name UpDataStructsCollectionPermissions (250) */2605 interface UpDataStructsCollectionPermissions extends Struct {2606 readonly access: Option<UpDataStructsAccessMode>;2607 readonly mintMode: Option<bool>;2608 readonly nesting: Option<UpDataStructsNestingPermissions>;2609 }26102611 /** @name UpDataStructsNestingPermissions (252) */2612 interface UpDataStructsNestingPermissions extends Struct {2613 readonly tokenOwner: bool;2614 readonly collectionAdmin: bool;2615 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2616 }26172618 /** @name UpDataStructsOwnerRestrictedSet (254) */2619 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}26202621 /** @name UpDataStructsPropertyKeyPermission (259) */2622 interface UpDataStructsPropertyKeyPermission extends Struct {2623 readonly key: Bytes;2624 readonly permission: UpDataStructsPropertyPermission;2625 }26262627 /** @name UpDataStructsPropertyPermission (260) */2628 interface UpDataStructsPropertyPermission extends Struct {2629 readonly mutable: bool;2630 readonly collectionAdmin: bool;2631 readonly tokenOwner: bool;2632 }26332634 /** @name UpDataStructsProperty (263) */2635 interface UpDataStructsProperty extends Struct {2636 readonly key: Bytes;2637 readonly value: Bytes;2638 }26392640 /** @name UpDataStructsCreateItemData (266) */2641 interface UpDataStructsCreateItemData extends Enum {2642 readonly isNft: boolean;2643 readonly asNft: UpDataStructsCreateNftData;2644 readonly isFungible: boolean;2645 readonly asFungible: UpDataStructsCreateFungibleData;2646 readonly isReFungible: boolean;2647 readonly asReFungible: UpDataStructsCreateReFungibleData;2648 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2649 }26502651 /** @name UpDataStructsCreateNftData (267) */2652 interface UpDataStructsCreateNftData extends Struct {2653 readonly properties: Vec<UpDataStructsProperty>;2654 }26552656 /** @name UpDataStructsCreateFungibleData (268) */2657 interface UpDataStructsCreateFungibleData extends Struct {2658 readonly value: u128;2659 }26602661 /** @name UpDataStructsCreateReFungibleData (269) */2662 interface UpDataStructsCreateReFungibleData extends Struct {2663 readonly pieces: u128;2664 readonly properties: Vec<UpDataStructsProperty>;2665 }26662667 /** @name UpDataStructsCreateItemExData (272) */2668 interface UpDataStructsCreateItemExData extends Enum {2669 readonly isNft: boolean;2670 readonly asNft: Vec<UpDataStructsCreateNftExData>;2671 readonly isFungible: boolean;2672 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2673 readonly isRefungibleMultipleItems: boolean;2674 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2675 readonly isRefungibleMultipleOwners: boolean;2676 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2677 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2678 }26792680 /** @name UpDataStructsCreateNftExData (274) */2681 interface UpDataStructsCreateNftExData extends Struct {2682 readonly properties: Vec<UpDataStructsProperty>;2683 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2684 }26852686 /** @name UpDataStructsCreateRefungibleExSingleOwner (281) */2687 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2688 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2689 readonly pieces: u128;2690 readonly properties: Vec<UpDataStructsProperty>;2691 }26922693 /** @name UpDataStructsCreateRefungibleExMultipleOwners (283) */2694 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2695 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2696 readonly properties: Vec<UpDataStructsProperty>;2697 }26982699 /** @name PalletUniqueSchedulerV2Call (284) */2700 interface PalletUniqueSchedulerV2Call extends Enum {2701 readonly isSchedule: boolean;2702 readonly asSchedule: {2703 readonly when: u32;2704 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2705 readonly priority: Option<u8>;2706 readonly call: Call;2707 } & Struct;2708 readonly isCancel: boolean;2709 readonly asCancel: {2710 readonly when: u32;2711 readonly index: u32;2712 } & Struct;2713 readonly isScheduleNamed: boolean;2714 readonly asScheduleNamed: {2715 readonly id: U8aFixed;2716 readonly when: u32;2717 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2718 readonly priority: Option<u8>;2719 readonly call: Call;2720 } & Struct;2721 readonly isCancelNamed: boolean;2722 readonly asCancelNamed: {2723 readonly id: U8aFixed;2724 } & Struct;2725 readonly isScheduleAfter: boolean;2726 readonly asScheduleAfter: {2727 readonly after: u32;2728 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2729 readonly priority: Option<u8>;2730 readonly call: Call;2731 } & Struct;2732 readonly isScheduleNamedAfter: boolean;2733 readonly asScheduleNamedAfter: {2734 readonly id: U8aFixed;2735 readonly after: u32;2736 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2737 readonly priority: Option<u8>;2738 readonly call: Call;2739 } & Struct;2740 readonly isChangeNamedPriority: boolean;2741 readonly asChangeNamedPriority: {2742 readonly id: U8aFixed;2743 readonly priority: u8;2744 } & Struct;2745 readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter' | 'ChangeNamedPriority';2746 }27472748 /** @name PalletConfigurationCall (287) */2749 interface PalletConfigurationCall extends Enum {2750 readonly isSetWeightToFeeCoefficientOverride: boolean;2751 readonly asSetWeightToFeeCoefficientOverride: {2752 readonly coeff: Option<u32>;2753 } & Struct;2754 readonly isSetMinGasPriceOverride: boolean;2755 readonly asSetMinGasPriceOverride: {2756 readonly coeff: Option<u64>;2757 } & Struct;2758 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2759 }27602761 /** @name PalletTemplateTransactionPaymentCall (289) */2762 type PalletTemplateTransactionPaymentCall = Null;27632764 /** @name PalletStructureCall (290) */2765 type PalletStructureCall = Null;27662767 /** @name PalletRmrkCoreCall (291) */2768 interface PalletRmrkCoreCall extends Enum {2769 readonly isCreateCollection: boolean;2770 readonly asCreateCollection: {2771 readonly metadata: Bytes;2772 readonly max: Option<u32>;2773 readonly symbol: Bytes;2774 } & Struct;2775 readonly isDestroyCollection: boolean;2776 readonly asDestroyCollection: {2777 readonly collectionId: u32;2778 } & Struct;2779 readonly isChangeCollectionIssuer: boolean;2780 readonly asChangeCollectionIssuer: {2781 readonly collectionId: u32;2782 readonly newIssuer: MultiAddress;2783 } & Struct;2784 readonly isLockCollection: boolean;2785 readonly asLockCollection: {2786 readonly collectionId: u32;2787 } & Struct;2788 readonly isMintNft: boolean;2789 readonly asMintNft: {2790 readonly owner: Option<AccountId32>;2791 readonly collectionId: u32;2792 readonly recipient: Option<AccountId32>;2793 readonly royaltyAmount: Option<Permill>;2794 readonly metadata: Bytes;2795 readonly transferable: bool;2796 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2797 } & Struct;2798 readonly isBurnNft: boolean;2799 readonly asBurnNft: {2800 readonly collectionId: u32;2801 readonly nftId: u32;2802 readonly maxBurns: u32;2803 } & Struct;2804 readonly isSend: boolean;2805 readonly asSend: {2806 readonly rmrkCollectionId: u32;2807 readonly rmrkNftId: u32;2808 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2809 } & Struct;2810 readonly isAcceptNft: boolean;2811 readonly asAcceptNft: {2812 readonly rmrkCollectionId: u32;2813 readonly rmrkNftId: u32;2814 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2815 } & Struct;2816 readonly isRejectNft: boolean;2817 readonly asRejectNft: {2818 readonly rmrkCollectionId: u32;2819 readonly rmrkNftId: u32;2820 } & Struct;2821 readonly isAcceptResource: boolean;2822 readonly asAcceptResource: {2823 readonly rmrkCollectionId: u32;2824 readonly rmrkNftId: u32;2825 readonly resourceId: u32;2826 } & Struct;2827 readonly isAcceptResourceRemoval: boolean;2828 readonly asAcceptResourceRemoval: {2829 readonly rmrkCollectionId: u32;2830 readonly rmrkNftId: u32;2831 readonly resourceId: u32;2832 } & Struct;2833 readonly isSetProperty: boolean;2834 readonly asSetProperty: {2835 readonly rmrkCollectionId: Compact<u32>;2836 readonly maybeNftId: Option<u32>;2837 readonly key: Bytes;2838 readonly value: Bytes;2839 } & Struct;2840 readonly isSetPriority: boolean;2841 readonly asSetPriority: {2842 readonly rmrkCollectionId: u32;2843 readonly rmrkNftId: u32;2844 readonly priorities: Vec<u32>;2845 } & Struct;2846 readonly isAddBasicResource: boolean;2847 readonly asAddBasicResource: {2848 readonly rmrkCollectionId: u32;2849 readonly nftId: u32;2850 readonly resource: RmrkTraitsResourceBasicResource;2851 } & Struct;2852 readonly isAddComposableResource: boolean;2853 readonly asAddComposableResource: {2854 readonly rmrkCollectionId: u32;2855 readonly nftId: u32;2856 readonly resource: RmrkTraitsResourceComposableResource;2857 } & Struct;2858 readonly isAddSlotResource: boolean;2859 readonly asAddSlotResource: {2860 readonly rmrkCollectionId: u32;2861 readonly nftId: u32;2862 readonly resource: RmrkTraitsResourceSlotResource;2863 } & Struct;2864 readonly isRemoveResource: boolean;2865 readonly asRemoveResource: {2866 readonly rmrkCollectionId: u32;2867 readonly nftId: u32;2868 readonly resourceId: u32;2869 } & Struct;2870 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2871 }28722873 /** @name RmrkTraitsResourceResourceTypes (297) */2874 interface RmrkTraitsResourceResourceTypes extends Enum {2875 readonly isBasic: boolean;2876 readonly asBasic: RmrkTraitsResourceBasicResource;2877 readonly isComposable: boolean;2878 readonly asComposable: RmrkTraitsResourceComposableResource;2879 readonly isSlot: boolean;2880 readonly asSlot: RmrkTraitsResourceSlotResource;2881 readonly type: 'Basic' | 'Composable' | 'Slot';2882 }28832884 /** @name RmrkTraitsResourceBasicResource (299) */2885 interface RmrkTraitsResourceBasicResource extends Struct {2886 readonly src: Option<Bytes>;2887 readonly metadata: Option<Bytes>;2888 readonly license: Option<Bytes>;2889 readonly thumb: Option<Bytes>;2890 }28912892 /** @name RmrkTraitsResourceComposableResource (301) */2893 interface RmrkTraitsResourceComposableResource extends Struct {2894 readonly parts: Vec<u32>;2895 readonly base: u32;2896 readonly src: Option<Bytes>;2897 readonly metadata: Option<Bytes>;2898 readonly license: Option<Bytes>;2899 readonly thumb: Option<Bytes>;2900 }29012902 /** @name RmrkTraitsResourceSlotResource (302) */2903 interface RmrkTraitsResourceSlotResource extends Struct {2904 readonly base: u32;2905 readonly src: Option<Bytes>;2906 readonly metadata: Option<Bytes>;2907 readonly slot: u32;2908 readonly license: Option<Bytes>;2909 readonly thumb: Option<Bytes>;2910 }29112912 /** @name PalletRmrkEquipCall (305) */2913 interface PalletRmrkEquipCall extends Enum {2914 readonly isCreateBase: boolean;2915 readonly asCreateBase: {2916 readonly baseType: Bytes;2917 readonly symbol: Bytes;2918 readonly parts: Vec<RmrkTraitsPartPartType>;2919 } & Struct;2920 readonly isThemeAdd: boolean;2921 readonly asThemeAdd: {2922 readonly baseId: u32;2923 readonly theme: RmrkTraitsTheme;2924 } & Struct;2925 readonly isEquippable: boolean;2926 readonly asEquippable: {2927 readonly baseId: u32;2928 readonly slotId: u32;2929 readonly equippables: RmrkTraitsPartEquippableList;2930 } & Struct;2931 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2932 }29332934 /** @name RmrkTraitsPartPartType (308) */2935 interface RmrkTraitsPartPartType extends Enum {2936 readonly isFixedPart: boolean;2937 readonly asFixedPart: RmrkTraitsPartFixedPart;2938 readonly isSlotPart: boolean;2939 readonly asSlotPart: RmrkTraitsPartSlotPart;2940 readonly type: 'FixedPart' | 'SlotPart';2941 }29422943 /** @name RmrkTraitsPartFixedPart (310) */2944 interface RmrkTraitsPartFixedPart extends Struct {2945 readonly id: u32;2946 readonly z: u32;2947 readonly src: Bytes;2948 }29492950 /** @name RmrkTraitsPartSlotPart (311) */2951 interface RmrkTraitsPartSlotPart extends Struct {2952 readonly id: u32;2953 readonly equippable: RmrkTraitsPartEquippableList;2954 readonly src: Bytes;2955 readonly z: u32;2956 }29572958 /** @name RmrkTraitsPartEquippableList (312) */2959 interface RmrkTraitsPartEquippableList extends Enum {2960 readonly isAll: boolean;2961 readonly isEmpty: boolean;2962 readonly isCustom: boolean;2963 readonly asCustom: Vec<u32>;2964 readonly type: 'All' | 'Empty' | 'Custom';2965 }29662967 /** @name RmrkTraitsTheme (314) */2968 interface RmrkTraitsTheme extends Struct {2969 readonly name: Bytes;2970 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2971 readonly inherit: bool;2972 }29732974 /** @name RmrkTraitsThemeThemeProperty (316) */2975 interface RmrkTraitsThemeThemeProperty extends Struct {2976 readonly key: Bytes;2977 readonly value: Bytes;2978 }29792980 /** @name PalletAppPromotionCall (318) */2981 interface PalletAppPromotionCall extends Enum {2982 readonly isSetAdminAddress: boolean;2983 readonly asSetAdminAddress: {2984 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2985 } & Struct;2986 readonly isStake: boolean;2987 readonly asStake: {2988 readonly amount: u128;2989 } & Struct;2990 readonly isUnstake: boolean;2991 readonly isSponsorCollection: boolean;2992 readonly asSponsorCollection: {2993 readonly collectionId: u32;2994 } & Struct;2995 readonly isStopSponsoringCollection: boolean;2996 readonly asStopSponsoringCollection: {2997 readonly collectionId: u32;2998 } & Struct;2999 readonly isSponsorContract: boolean;3000 readonly asSponsorContract: {3001 readonly contractId: H160;3002 } & Struct;3003 readonly isStopSponsoringContract: boolean;3004 readonly asStopSponsoringContract: {3005 readonly contractId: H160;3006 } & Struct;3007 readonly isPayoutStakers: boolean;3008 readonly asPayoutStakers: {3009 readonly stakersNumber: Option<u8>;3010 } & Struct;3011 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3012 }30133014 /** @name PalletForeignAssetsModuleCall (319) */3015 interface PalletForeignAssetsModuleCall extends Enum {3016 readonly isRegisterForeignAsset: boolean;3017 readonly asRegisterForeignAsset: {3018 readonly owner: AccountId32;3019 readonly location: XcmVersionedMultiLocation;3020 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3021 } & Struct;3022 readonly isUpdateForeignAsset: boolean;3023 readonly asUpdateForeignAsset: {3024 readonly foreignAssetId: u32;3025 readonly location: XcmVersionedMultiLocation;3026 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3027 } & Struct;3028 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3029 }30303031 /** @name PalletEvmCall (320) */3032 interface PalletEvmCall extends Enum {3033 readonly isWithdraw: boolean;3034 readonly asWithdraw: {3035 readonly address: H160;3036 readonly value: u128;3037 } & Struct;3038 readonly isCall: boolean;3039 readonly asCall: {3040 readonly source: H160;3041 readonly target: H160;3042 readonly input: Bytes;3043 readonly value: U256;3044 readonly gasLimit: u64;3045 readonly maxFeePerGas: U256;3046 readonly maxPriorityFeePerGas: Option<U256>;3047 readonly nonce: Option<U256>;3048 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3049 } & Struct;3050 readonly isCreate: boolean;3051 readonly asCreate: {3052 readonly source: H160;3053 readonly init: Bytes;3054 readonly value: U256;3055 readonly gasLimit: u64;3056 readonly maxFeePerGas: U256;3057 readonly maxPriorityFeePerGas: Option<U256>;3058 readonly nonce: Option<U256>;3059 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3060 } & Struct;3061 readonly isCreate2: boolean;3062 readonly asCreate2: {3063 readonly source: H160;3064 readonly init: Bytes;3065 readonly salt: H256;3066 readonly value: U256;3067 readonly gasLimit: u64;3068 readonly maxFeePerGas: U256;3069 readonly maxPriorityFeePerGas: Option<U256>;3070 readonly nonce: Option<U256>;3071 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3072 } & Struct;3073 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3074 }30753076 /** @name PalletEthereumCall (326) */3077 interface PalletEthereumCall extends Enum {3078 readonly isTransact: boolean;3079 readonly asTransact: {3080 readonly transaction: EthereumTransactionTransactionV2;3081 } & Struct;3082 readonly type: 'Transact';3083 }30843085 /** @name EthereumTransactionTransactionV2 (327) */3086 interface EthereumTransactionTransactionV2 extends Enum {3087 readonly isLegacy: boolean;3088 readonly asLegacy: EthereumTransactionLegacyTransaction;3089 readonly isEip2930: boolean;3090 readonly asEip2930: EthereumTransactionEip2930Transaction;3091 readonly isEip1559: boolean;3092 readonly asEip1559: EthereumTransactionEip1559Transaction;3093 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3094 }30953096 /** @name EthereumTransactionLegacyTransaction (328) */3097 interface EthereumTransactionLegacyTransaction extends Struct {3098 readonly nonce: U256;3099 readonly gasPrice: U256;3100 readonly gasLimit: U256;3101 readonly action: EthereumTransactionTransactionAction;3102 readonly value: U256;3103 readonly input: Bytes;3104 readonly signature: EthereumTransactionTransactionSignature;3105 }31063107 /** @name EthereumTransactionTransactionAction (329) */3108 interface EthereumTransactionTransactionAction extends Enum {3109 readonly isCall: boolean;3110 readonly asCall: H160;3111 readonly isCreate: boolean;3112 readonly type: 'Call' | 'Create';3113 }31143115 /** @name EthereumTransactionTransactionSignature (330) */3116 interface EthereumTransactionTransactionSignature extends Struct {3117 readonly v: u64;3118 readonly r: H256;3119 readonly s: H256;3120 }31213122 /** @name EthereumTransactionEip2930Transaction (332) */3123 interface EthereumTransactionEip2930Transaction extends Struct {3124 readonly chainId: u64;3125 readonly nonce: U256;3126 readonly gasPrice: U256;3127 readonly gasLimit: U256;3128 readonly action: EthereumTransactionTransactionAction;3129 readonly value: U256;3130 readonly input: Bytes;3131 readonly accessList: Vec<EthereumTransactionAccessListItem>;3132 readonly oddYParity: bool;3133 readonly r: H256;3134 readonly s: H256;3135 }31363137 /** @name EthereumTransactionAccessListItem (334) */3138 interface EthereumTransactionAccessListItem extends Struct {3139 readonly address: H160;3140 readonly storageKeys: Vec<H256>;3141 }31423143 /** @name EthereumTransactionEip1559Transaction (335) */3144 interface EthereumTransactionEip1559Transaction extends Struct {3145 readonly chainId: u64;3146 readonly nonce: U256;3147 readonly maxPriorityFeePerGas: U256;3148 readonly maxFeePerGas: U256;3149 readonly gasLimit: U256;3150 readonly action: EthereumTransactionTransactionAction;3151 readonly value: U256;3152 readonly input: Bytes;3153 readonly accessList: Vec<EthereumTransactionAccessListItem>;3154 readonly oddYParity: bool;3155 readonly r: H256;3156 readonly s: H256;3157 }31583159 /** @name PalletEvmMigrationCall (336) */3160 interface PalletEvmMigrationCall extends Enum {3161 readonly isBegin: boolean;3162 readonly asBegin: {3163 readonly address: H160;3164 } & Struct;3165 readonly isSetData: boolean;3166 readonly asSetData: {3167 readonly address: H160;3168 readonly data: Vec<ITuple<[H256, H256]>>;3169 } & Struct;3170 readonly isFinish: boolean;3171 readonly asFinish: {3172 readonly address: H160;3173 readonly code: Bytes;3174 } & Struct;3175 readonly isInsertEthLogs: boolean;3176 readonly asInsertEthLogs: {3177 readonly logs: Vec<EthereumLog>;3178 } & Struct;3179 readonly isInsertEvents: boolean;3180 readonly asInsertEvents: {3181 readonly events: Vec<Bytes>;3182 } & Struct;3183 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3184 }31853186 /** @name PalletMaintenanceCall (340) */3187 interface PalletMaintenanceCall extends Enum {3188 readonly isEnable: boolean;3189 readonly isDisable: boolean;3190 readonly type: 'Enable' | 'Disable';3191 }31923193 /** @name PalletTestUtilsCall (341) */3194 interface PalletTestUtilsCall extends Enum {3195 readonly isEnable: boolean;3196 readonly isSetTestValue: boolean;3197 readonly asSetTestValue: {3198 readonly value: u32;3199 } & Struct;3200 readonly isSetTestValueAndRollback: boolean;3201 readonly asSetTestValueAndRollback: {3202 readonly value: u32;3203 } & Struct;3204 readonly isIncTestValue: boolean;3205 readonly isSelfCancelingInc: boolean;3206 readonly asSelfCancelingInc: {3207 readonly id: U8aFixed;3208 readonly maxTestValue: u32;3209 } & Struct;3210 readonly isJustTakeFee: boolean;3211 readonly isBatchAll: boolean;3212 readonly asBatchAll: {3213 readonly calls: Vec<Call>;3214 } & Struct;3215 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'SelfCancelingInc' | 'JustTakeFee' | 'BatchAll';3216 }32173218 /** @name PalletSudoError (343) */3219 interface PalletSudoError extends Enum {3220 readonly isRequireSudo: boolean;3221 readonly type: 'RequireSudo';3222 }32233224 /** @name OrmlVestingModuleError (345) */3225 interface OrmlVestingModuleError extends Enum {3226 readonly isZeroVestingPeriod: boolean;3227 readonly isZeroVestingPeriodCount: boolean;3228 readonly isInsufficientBalanceToLock: boolean;3229 readonly isTooManyVestingSchedules: boolean;3230 readonly isAmountLow: boolean;3231 readonly isMaxVestingSchedulesExceeded: boolean;3232 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3233 }32343235 /** @name OrmlXtokensModuleError (346) */3236 interface OrmlXtokensModuleError extends Enum {3237 readonly isAssetHasNoReserve: boolean;3238 readonly isNotCrossChainTransfer: boolean;3239 readonly isInvalidDest: boolean;3240 readonly isNotCrossChainTransferableCurrency: boolean;3241 readonly isUnweighableMessage: boolean;3242 readonly isXcmExecutionFailed: boolean;3243 readonly isCannotReanchor: boolean;3244 readonly isInvalidAncestry: boolean;3245 readonly isInvalidAsset: boolean;3246 readonly isDestinationNotInvertible: boolean;3247 readonly isBadVersion: boolean;3248 readonly isDistinctReserveForAssetAndFee: boolean;3249 readonly isZeroFee: boolean;3250 readonly isZeroAmount: boolean;3251 readonly isTooManyAssetsBeingSent: boolean;3252 readonly isAssetIndexNonExistent: boolean;3253 readonly isFeeNotEnough: boolean;3254 readonly isNotSupportedMultiLocation: boolean;3255 readonly isMinXcmFeeNotDefined: boolean;3256 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3257 }32583259 /** @name OrmlTokensBalanceLock (349) */3260 interface OrmlTokensBalanceLock extends Struct {3261 readonly id: U8aFixed;3262 readonly amount: u128;3263 }32643265 /** @name OrmlTokensAccountData (351) */3266 interface OrmlTokensAccountData extends Struct {3267 readonly free: u128;3268 readonly reserved: u128;3269 readonly frozen: u128;3270 }32713272 /** @name OrmlTokensReserveData (353) */3273 interface OrmlTokensReserveData extends Struct {3274 readonly id: Null;3275 readonly amount: u128;3276 }32773278 /** @name OrmlTokensModuleError (355) */3279 interface OrmlTokensModuleError extends Enum {3280 readonly isBalanceTooLow: boolean;3281 readonly isAmountIntoBalanceFailed: boolean;3282 readonly isLiquidityRestrictions: boolean;3283 readonly isMaxLocksExceeded: boolean;3284 readonly isKeepAlive: boolean;3285 readonly isExistentialDeposit: boolean;3286 readonly isDeadAccount: boolean;3287 readonly isTooManyReserves: boolean;3288 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3289 }32903291 /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */3292 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3293 readonly sender: u32;3294 readonly state: CumulusPalletXcmpQueueInboundState;3295 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3296 }32973298 /** @name CumulusPalletXcmpQueueInboundState (358) */3299 interface CumulusPalletXcmpQueueInboundState extends Enum {3300 readonly isOk: boolean;3301 readonly isSuspended: boolean;3302 readonly type: 'Ok' | 'Suspended';3303 }33043305 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */3306 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3307 readonly isConcatenatedVersionedXcm: boolean;3308 readonly isConcatenatedEncodedBlob: boolean;3309 readonly isSignals: boolean;3310 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3311 }33123313 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */3314 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3315 readonly recipient: u32;3316 readonly state: CumulusPalletXcmpQueueOutboundState;3317 readonly signalsExist: bool;3318 readonly firstIndex: u16;3319 readonly lastIndex: u16;3320 }33213322 /** @name CumulusPalletXcmpQueueOutboundState (365) */3323 interface CumulusPalletXcmpQueueOutboundState extends Enum {3324 readonly isOk: boolean;3325 readonly isSuspended: boolean;3326 readonly type: 'Ok' | 'Suspended';3327 }33283329 /** @name CumulusPalletXcmpQueueQueueConfigData (367) */3330 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3331 readonly suspendThreshold: u32;3332 readonly dropThreshold: u32;3333 readonly resumeThreshold: u32;3334 readonly thresholdWeight: Weight;3335 readonly weightRestrictDecay: Weight;3336 readonly xcmpMaxIndividualWeight: Weight;3337 }33383339 /** @name CumulusPalletXcmpQueueError (369) */3340 interface CumulusPalletXcmpQueueError extends Enum {3341 readonly isFailedToSend: boolean;3342 readonly isBadXcmOrigin: boolean;3343 readonly isBadXcm: boolean;3344 readonly isBadOverweightIndex: boolean;3345 readonly isWeightOverLimit: boolean;3346 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3347 }33483349 /** @name PalletXcmError (370) */3350 interface PalletXcmError extends Enum {3351 readonly isUnreachable: boolean;3352 readonly isSendFailure: boolean;3353 readonly isFiltered: boolean;3354 readonly isUnweighableMessage: boolean;3355 readonly isDestinationNotInvertible: boolean;3356 readonly isEmpty: boolean;3357 readonly isCannotReanchor: boolean;3358 readonly isTooManyAssets: boolean;3359 readonly isInvalidOrigin: boolean;3360 readonly isBadVersion: boolean;3361 readonly isBadLocation: boolean;3362 readonly isNoSubscription: boolean;3363 readonly isAlreadySubscribed: boolean;3364 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3365 }33663367 /** @name CumulusPalletXcmError (371) */3368 type CumulusPalletXcmError = Null;33693370 /** @name CumulusPalletDmpQueueConfigData (372) */3371 interface CumulusPalletDmpQueueConfigData extends Struct {3372 readonly maxIndividual: Weight;3373 }33743375 /** @name CumulusPalletDmpQueuePageIndexData (373) */3376 interface CumulusPalletDmpQueuePageIndexData extends Struct {3377 readonly beginUsed: u32;3378 readonly endUsed: u32;3379 readonly overweightCount: u64;3380 }33813382 /** @name CumulusPalletDmpQueueError (376) */3383 interface CumulusPalletDmpQueueError extends Enum {3384 readonly isUnknown: boolean;3385 readonly isOverLimit: boolean;3386 readonly type: 'Unknown' | 'OverLimit';3387 }33883389 /** @name PalletUniqueError (380) */3390 interface PalletUniqueError extends Enum {3391 readonly isCollectionDecimalPointLimitExceeded: boolean;3392 readonly isConfirmUnsetSponsorFail: boolean;3393 readonly isEmptyArgument: boolean;3394 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3395 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3396 }33973398 /** @name PalletUniqueSchedulerV2BlockAgenda (381) */3399 interface PalletUniqueSchedulerV2BlockAgenda extends Struct {3400 readonly agenda: Vec<Option<PalletUniqueSchedulerV2Scheduled>>;3401 readonly freePlaces: u32;3402 }34033404 /** @name PalletUniqueSchedulerV2Scheduled (384) */3405 interface PalletUniqueSchedulerV2Scheduled extends Struct {3406 readonly maybeId: Option<U8aFixed>;3407 readonly priority: u8;3408 readonly call: PalletUniqueSchedulerV2ScheduledCall;3409 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;3410 readonly origin: OpalRuntimeOriginCaller;3411 }34123413 /** @name PalletUniqueSchedulerV2ScheduledCall (385) */3414 interface PalletUniqueSchedulerV2ScheduledCall extends Enum {3415 readonly isInline: boolean;3416 readonly asInline: Bytes;3417 readonly isPreimageLookup: boolean;3418 readonly asPreimageLookup: {3419 readonly hash_: H256;3420 readonly unboundedLen: u32;3421 } & Struct;3422 readonly type: 'Inline' | 'PreimageLookup';3423 }34243425 /** @name OpalRuntimeOriginCaller (387) */3426 interface OpalRuntimeOriginCaller extends Enum {3427 readonly isSystem: boolean;3428 readonly asSystem: FrameSupportDispatchRawOrigin;3429 readonly isVoid: boolean;3430 readonly isPolkadotXcm: boolean;3431 readonly asPolkadotXcm: PalletXcmOrigin;3432 readonly isCumulusXcm: boolean;3433 readonly asCumulusXcm: CumulusPalletXcmOrigin;3434 readonly isEthereum: boolean;3435 readonly asEthereum: PalletEthereumRawOrigin;3436 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';3437 }34383439 /** @name FrameSupportDispatchRawOrigin (388) */3440 interface FrameSupportDispatchRawOrigin extends Enum {3441 readonly isRoot: boolean;3442 readonly isSigned: boolean;3443 readonly asSigned: AccountId32;3444 readonly isNone: boolean;3445 readonly type: 'Root' | 'Signed' | 'None';3446 }34473448 /** @name PalletXcmOrigin (389) */3449 interface PalletXcmOrigin extends Enum {3450 readonly isXcm: boolean;3451 readonly asXcm: XcmV1MultiLocation;3452 readonly isResponse: boolean;3453 readonly asResponse: XcmV1MultiLocation;3454 readonly type: 'Xcm' | 'Response';3455 }34563457 /** @name CumulusPalletXcmOrigin (390) */3458 interface CumulusPalletXcmOrigin extends Enum {3459 readonly isRelay: boolean;3460 readonly isSiblingParachain: boolean;3461 readonly asSiblingParachain: u32;3462 readonly type: 'Relay' | 'SiblingParachain';3463 }34643465 /** @name PalletEthereumRawOrigin (391) */3466 interface PalletEthereumRawOrigin extends Enum {3467 readonly isEthereumTransaction: boolean;3468 readonly asEthereumTransaction: H160;3469 readonly type: 'EthereumTransaction';3470 }34713472 /** @name SpCoreVoid (392) */3473 type SpCoreVoid = Null;34743475 /** @name PalletUniqueSchedulerV2Error (394) */3476 interface PalletUniqueSchedulerV2Error extends Enum {3477 readonly isFailedToSchedule: boolean;3478 readonly isAgendaIsExhausted: boolean;3479 readonly isScheduledCallCorrupted: boolean;3480 readonly isPreimageNotFound: boolean;3481 readonly isTooBigScheduledCall: boolean;3482 readonly isNotFound: boolean;3483 readonly isTargetBlockNumberInPast: boolean;3484 readonly isNamed: boolean;3485 readonly type: 'FailedToSchedule' | 'AgendaIsExhausted' | 'ScheduledCallCorrupted' | 'PreimageNotFound' | 'TooBigScheduledCall' | 'NotFound' | 'TargetBlockNumberInPast' | 'Named';3486 }34873488 /** @name UpDataStructsCollection (395) */3489 interface UpDataStructsCollection extends Struct {3490 readonly owner: AccountId32;3491 readonly mode: UpDataStructsCollectionMode;3492 readonly name: Vec<u16>;3493 readonly description: Vec<u16>;3494 readonly tokenPrefix: Bytes;3495 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3496 readonly limits: UpDataStructsCollectionLimits;3497 readonly permissions: UpDataStructsCollectionPermissions;3498 readonly flags: U8aFixed;3499 }35003501 /** @name UpDataStructsSponsorshipStateAccountId32 (396) */3502 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3503 readonly isDisabled: boolean;3504 readonly isUnconfirmed: boolean;3505 readonly asUnconfirmed: AccountId32;3506 readonly isConfirmed: boolean;3507 readonly asConfirmed: AccountId32;3508 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3509 }35103511 /** @name UpDataStructsProperties (398) */3512 interface UpDataStructsProperties extends Struct {3513 readonly map: UpDataStructsPropertiesMapBoundedVec;3514 readonly consumedSpace: u32;3515 readonly spaceLimit: u32;3516 }35173518 /** @name UpDataStructsPropertiesMapBoundedVec (399) */3519 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}35203521 /** @name UpDataStructsPropertiesMapPropertyPermission (404) */3522 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}35233524 /** @name UpDataStructsCollectionStats (411) */3525 interface UpDataStructsCollectionStats extends Struct {3526 readonly created: u32;3527 readonly destroyed: u32;3528 readonly alive: u32;3529 }35303531 /** @name UpDataStructsTokenChild (412) */3532 interface UpDataStructsTokenChild extends Struct {3533 readonly token: u32;3534 readonly collection: u32;3535 }35363537 /** @name PhantomTypeUpDataStructs (413) */3538 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}35393540 /** @name UpDataStructsTokenData (415) */3541 interface UpDataStructsTokenData extends Struct {3542 readonly properties: Vec<UpDataStructsProperty>;3543 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3544 readonly pieces: u128;3545 }35463547 /** @name UpDataStructsRpcCollection (417) */3548 interface UpDataStructsRpcCollection extends Struct {3549 readonly owner: AccountId32;3550 readonly mode: UpDataStructsCollectionMode;3551 readonly name: Vec<u16>;3552 readonly description: Vec<u16>;3553 readonly tokenPrefix: Bytes;3554 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3555 readonly limits: UpDataStructsCollectionLimits;3556 readonly permissions: UpDataStructsCollectionPermissions;3557 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3558 readonly properties: Vec<UpDataStructsProperty>;3559 readonly readOnly: bool;3560 readonly flags: UpDataStructsRpcCollectionFlags;3561 }35623563 /** @name UpDataStructsRpcCollectionFlags (418) */3564 interface UpDataStructsRpcCollectionFlags extends Struct {3565 readonly foreign: bool;3566 readonly erc721metadata: bool;3567 }35683569 /** @name RmrkTraitsCollectionCollectionInfo (419) */3570 interface RmrkTraitsCollectionCollectionInfo extends Struct {3571 readonly issuer: AccountId32;3572 readonly metadata: Bytes;3573 readonly max: Option<u32>;3574 readonly symbol: Bytes;3575 readonly nftsCount: u32;3576 }35773578 /** @name RmrkTraitsNftNftInfo (420) */3579 interface RmrkTraitsNftNftInfo extends Struct {3580 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3581 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3582 readonly metadata: Bytes;3583 readonly equipped: bool;3584 readonly pending: bool;3585 }35863587 /** @name RmrkTraitsNftRoyaltyInfo (422) */3588 interface RmrkTraitsNftRoyaltyInfo extends Struct {3589 readonly recipient: AccountId32;3590 readonly amount: Permill;3591 }35923593 /** @name RmrkTraitsResourceResourceInfo (423) */3594 interface RmrkTraitsResourceResourceInfo extends Struct {3595 readonly id: u32;3596 readonly resource: RmrkTraitsResourceResourceTypes;3597 readonly pending: bool;3598 readonly pendingRemoval: bool;3599 }36003601 /** @name RmrkTraitsPropertyPropertyInfo (424) */3602 interface RmrkTraitsPropertyPropertyInfo extends Struct {3603 readonly key: Bytes;3604 readonly value: Bytes;3605 }36063607 /** @name RmrkTraitsBaseBaseInfo (425) */3608 interface RmrkTraitsBaseBaseInfo extends Struct {3609 readonly issuer: AccountId32;3610 readonly baseType: Bytes;3611 readonly symbol: Bytes;3612 }36133614 /** @name RmrkTraitsNftNftChild (426) */3615 interface RmrkTraitsNftNftChild extends Struct {3616 readonly collectionId: u32;3617 readonly nftId: u32;3618 }36193620 /** @name PalletCommonError (428) */3621 interface PalletCommonError extends Enum {3622 readonly isCollectionNotFound: boolean;3623 readonly isMustBeTokenOwner: boolean;3624 readonly isNoPermission: boolean;3625 readonly isCantDestroyNotEmptyCollection: boolean;3626 readonly isPublicMintingNotAllowed: boolean;3627 readonly isAddressNotInAllowlist: boolean;3628 readonly isCollectionNameLimitExceeded: boolean;3629 readonly isCollectionDescriptionLimitExceeded: boolean;3630 readonly isCollectionTokenPrefixLimitExceeded: boolean;3631 readonly isTotalCollectionsLimitExceeded: boolean;3632 readonly isCollectionAdminCountExceeded: boolean;3633 readonly isCollectionLimitBoundsExceeded: boolean;3634 readonly isOwnerPermissionsCantBeReverted: boolean;3635 readonly isTransferNotAllowed: boolean;3636 readonly isAccountTokenLimitExceeded: boolean;3637 readonly isCollectionTokenLimitExceeded: boolean;3638 readonly isMetadataFlagFrozen: boolean;3639 readonly isTokenNotFound: boolean;3640 readonly isTokenValueTooLow: boolean;3641 readonly isApprovedValueTooLow: boolean;3642 readonly isCantApproveMoreThanOwned: boolean;3643 readonly isAddressIsZero: boolean;3644 readonly isUnsupportedOperation: boolean;3645 readonly isNotSufficientFounds: boolean;3646 readonly isUserIsNotAllowedToNest: boolean;3647 readonly isSourceCollectionIsNotAllowedToNest: boolean;3648 readonly isCollectionFieldSizeExceeded: boolean;3649 readonly isNoSpaceForProperty: boolean;3650 readonly isPropertyLimitReached: boolean;3651 readonly isPropertyKeyIsTooLong: boolean;3652 readonly isInvalidCharacterInPropertyKey: boolean;3653 readonly isEmptyPropertyKey: boolean;3654 readonly isCollectionIsExternal: boolean;3655 readonly isCollectionIsInternal: boolean;3656 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';3657 }36583659 /** @name PalletFungibleError (430) */3660 interface PalletFungibleError extends Enum {3661 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3662 readonly isFungibleItemsHaveNoId: boolean;3663 readonly isFungibleItemsDontHaveData: boolean;3664 readonly isFungibleDisallowsNesting: boolean;3665 readonly isSettingPropertiesNotAllowed: boolean;3666 readonly isSettingApprovalForAllNotAllowed: boolean;3667 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingApprovalForAllNotAllowed';3668 }36693670 /** @name PalletRefungibleItemData (431) */3671 interface PalletRefungibleItemData extends Struct {3672 readonly constData: Bytes;3673 }36743675 /** @name PalletRefungibleError (436) */3676 interface PalletRefungibleError extends Enum {3677 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3678 readonly isWrongRefungiblePieces: boolean;3679 readonly isRepartitionWhileNotOwningAllPieces: boolean;3680 readonly isRefungibleDisallowsNesting: boolean;3681 readonly isSettingPropertiesNotAllowed: boolean;3682 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3683 }36843685 /** @name PalletNonfungibleItemData (437) */3686 interface PalletNonfungibleItemData extends Struct {3687 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3688 }36893690 /** @name UpDataStructsPropertyScope (439) */3691 interface UpDataStructsPropertyScope extends Enum {3692 readonly isNone: boolean;3693 readonly isRmrk: boolean;3694 readonly type: 'None' | 'Rmrk';3695 }36963697 /** @name PalletNonfungibleError (441) */3698 interface PalletNonfungibleError extends Enum {3699 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3700 readonly isNonfungibleItemsHaveNoAmount: boolean;3701 readonly isCantBurnNftWithChildren: boolean;3702 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3703 }37043705 /** @name PalletStructureError (442) */3706 interface PalletStructureError extends Enum {3707 readonly isOuroborosDetected: boolean;3708 readonly isDepthLimit: boolean;3709 readonly isBreadthLimit: boolean;3710 readonly isTokenNotFound: boolean;3711 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3712 }37133714 /** @name PalletRmrkCoreError (443) */3715 interface PalletRmrkCoreError extends Enum {3716 readonly isCorruptedCollectionType: boolean;3717 readonly isRmrkPropertyKeyIsTooLong: boolean;3718 readonly isRmrkPropertyValueIsTooLong: boolean;3719 readonly isRmrkPropertyIsNotFound: boolean;3720 readonly isUnableToDecodeRmrkData: boolean;3721 readonly isCollectionNotEmpty: boolean;3722 readonly isNoAvailableCollectionId: boolean;3723 readonly isNoAvailableNftId: boolean;3724 readonly isCollectionUnknown: boolean;3725 readonly isNoPermission: boolean;3726 readonly isNonTransferable: boolean;3727 readonly isCollectionFullOrLocked: boolean;3728 readonly isResourceDoesntExist: boolean;3729 readonly isCannotSendToDescendentOrSelf: boolean;3730 readonly isCannotAcceptNonOwnedNft: boolean;3731 readonly isCannotRejectNonOwnedNft: boolean;3732 readonly isCannotRejectNonPendingNft: boolean;3733 readonly isResourceNotPending: boolean;3734 readonly isNoAvailableResourceId: boolean;3735 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3736 }37373738 /** @name PalletRmrkEquipError (445) */3739 interface PalletRmrkEquipError extends Enum {3740 readonly isPermissionError: boolean;3741 readonly isNoAvailableBaseId: boolean;3742 readonly isNoAvailablePartId: boolean;3743 readonly isBaseDoesntExist: boolean;3744 readonly isNeedsDefaultThemeFirst: boolean;3745 readonly isPartDoesntExist: boolean;3746 readonly isNoEquippableOnFixedPart: boolean;3747 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3748 }37493750 /** @name PalletAppPromotionError (451) */3751 interface PalletAppPromotionError extends Enum {3752 readonly isAdminNotSet: boolean;3753 readonly isNoPermission: boolean;3754 readonly isNotSufficientFunds: boolean;3755 readonly isPendingForBlockOverflow: boolean;3756 readonly isSponsorNotSet: boolean;3757 readonly isIncorrectLockedBalanceOperation: boolean;3758 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3759 }37603761 /** @name PalletForeignAssetsModuleError (452) */3762 interface PalletForeignAssetsModuleError extends Enum {3763 readonly isBadLocation: boolean;3764 readonly isMultiLocationExisted: boolean;3765 readonly isAssetIdNotExists: boolean;3766 readonly isAssetIdExisted: boolean;3767 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3768 }37693770 /** @name PalletEvmError (454) */3771 interface PalletEvmError extends Enum {3772 readonly isBalanceLow: boolean;3773 readonly isFeeOverflow: boolean;3774 readonly isPaymentOverflow: boolean;3775 readonly isWithdrawFailed: boolean;3776 readonly isGasPriceTooLow: boolean;3777 readonly isInvalidNonce: boolean;3778 readonly isGasLimitTooLow: boolean;3779 readonly isGasLimitTooHigh: boolean;3780 readonly isUndefined: boolean;3781 readonly isReentrancy: boolean;3782 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';3783 }37843785 /** @name FpRpcTransactionStatus (457) */3786 interface FpRpcTransactionStatus extends Struct {3787 readonly transactionHash: H256;3788 readonly transactionIndex: u32;3789 readonly from: H160;3790 readonly to: Option<H160>;3791 readonly contractAddress: Option<H160>;3792 readonly logs: Vec<EthereumLog>;3793 readonly logsBloom: EthbloomBloom;3794 }37953796 /** @name EthbloomBloom (459) */3797 interface EthbloomBloom extends U8aFixed {}37983799 /** @name EthereumReceiptReceiptV3 (461) */3800 interface EthereumReceiptReceiptV3 extends Enum {3801 readonly isLegacy: boolean;3802 readonly asLegacy: EthereumReceiptEip658ReceiptData;3803 readonly isEip2930: boolean;3804 readonly asEip2930: EthereumReceiptEip658ReceiptData;3805 readonly isEip1559: boolean;3806 readonly asEip1559: EthereumReceiptEip658ReceiptData;3807 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3808 }38093810 /** @name EthereumReceiptEip658ReceiptData (462) */3811 interface EthereumReceiptEip658ReceiptData extends Struct {3812 readonly statusCode: u8;3813 readonly usedGas: U256;3814 readonly logsBloom: EthbloomBloom;3815 readonly logs: Vec<EthereumLog>;3816 }38173818 /** @name EthereumBlock (463) */3819 interface EthereumBlock extends Struct {3820 readonly header: EthereumHeader;3821 readonly transactions: Vec<EthereumTransactionTransactionV2>;3822 readonly ommers: Vec<EthereumHeader>;3823 }38243825 /** @name EthereumHeader (464) */3826 interface EthereumHeader extends Struct {3827 readonly parentHash: H256;3828 readonly ommersHash: H256;3829 readonly beneficiary: H160;3830 readonly stateRoot: H256;3831 readonly transactionsRoot: H256;3832 readonly receiptsRoot: H256;3833 readonly logsBloom: EthbloomBloom;3834 readonly difficulty: U256;3835 readonly number: U256;3836 readonly gasLimit: U256;3837 readonly gasUsed: U256;3838 readonly timestamp: u64;3839 readonly extraData: Bytes;3840 readonly mixHash: H256;3841 readonly nonce: EthereumTypesHashH64;3842 }38433844 /** @name EthereumTypesHashH64 (465) */3845 interface EthereumTypesHashH64 extends U8aFixed {}38463847 /** @name PalletEthereumError (470) */3848 interface PalletEthereumError extends Enum {3849 readonly isInvalidSignature: boolean;3850 readonly isPreLogExists: boolean;3851 readonly type: 'InvalidSignature' | 'PreLogExists';3852 }38533854 /** @name PalletEvmCoderSubstrateError (471) */3855 interface PalletEvmCoderSubstrateError extends Enum {3856 readonly isOutOfGas: boolean;3857 readonly isOutOfFund: boolean;3858 readonly type: 'OutOfGas' | 'OutOfFund';3859 }38603861 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (472) */3862 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3863 readonly isDisabled: boolean;3864 readonly isUnconfirmed: boolean;3865 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3866 readonly isConfirmed: boolean;3867 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3868 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3869 }38703871 /** @name PalletEvmContractHelpersSponsoringModeT (473) */3872 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3873 readonly isDisabled: boolean;3874 readonly isAllowlisted: boolean;3875 readonly isGenerous: boolean;3876 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3877 }38783879 /** @name PalletEvmContractHelpersError (479) */3880 interface PalletEvmContractHelpersError extends Enum {3881 readonly isNoPermission: boolean;3882 readonly isNoPendingSponsor: boolean;3883 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3884 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3885 }38863887 /** @name PalletEvmMigrationError (480) */3888 interface PalletEvmMigrationError extends Enum {3889 readonly isAccountNotEmpty: boolean;3890 readonly isAccountIsNotMigrating: boolean;3891 readonly isBadEvent: boolean;3892 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3893 }38943895 /** @name PalletMaintenanceError (481) */3896 type PalletMaintenanceError = Null;38973898 /** @name PalletTestUtilsError (482) */3899 interface PalletTestUtilsError extends Enum {3900 readonly isTestPalletDisabled: boolean;3901 readonly isTriggerRollback: boolean;3902 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3903 }39043905 /** @name SpRuntimeMultiSignature (484) */3906 interface SpRuntimeMultiSignature extends Enum {3907 readonly isEd25519: boolean;3908 readonly asEd25519: SpCoreEd25519Signature;3909 readonly isSr25519: boolean;3910 readonly asSr25519: SpCoreSr25519Signature;3911 readonly isEcdsa: boolean;3912 readonly asEcdsa: SpCoreEcdsaSignature;3913 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3914 }39153916 /** @name SpCoreEd25519Signature (485) */3917 interface SpCoreEd25519Signature extends U8aFixed {}39183919 /** @name SpCoreSr25519Signature (487) */3920 interface SpCoreSr25519Signature extends U8aFixed {}39213922 /** @name SpCoreEcdsaSignature (488) */3923 interface SpCoreEcdsaSignature extends U8aFixed {}39243925 /** @name FrameSystemExtensionsCheckSpecVersion (491) */3926 type FrameSystemExtensionsCheckSpecVersion = Null;39273928 /** @name FrameSystemExtensionsCheckTxVersion (492) */3929 type FrameSystemExtensionsCheckTxVersion = Null;39303931 /** @name FrameSystemExtensionsCheckGenesis (493) */3932 type FrameSystemExtensionsCheckGenesis = Null;39333934 /** @name FrameSystemExtensionsCheckNonce (496) */3935 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}39363937 /** @name FrameSystemExtensionsCheckWeight (497) */3938 type FrameSystemExtensionsCheckWeight = Null;39393940 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (498) */3941 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;39423943 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (499) */3944 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}39453946 /** @name OpalRuntimeRuntime (500) */3947 type OpalRuntimeRuntime = Null;39483949 /** @name PalletEthereumFakeTransactionFinalizer (501) */3950 type PalletEthereumFakeTransactionFinalizer = Null;39513952} // declare module1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill, Weight } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */32 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {33 readonly normal: Weight;34 readonly operational: Weight;35 readonly mandatory: Weight;36 }3738 /** @name SpRuntimeDigest (12) */39 interface SpRuntimeDigest extends Struct {40 readonly logs: Vec<SpRuntimeDigestDigestItem>;41 }4243 /** @name SpRuntimeDigestDigestItem (14) */44 interface SpRuntimeDigestDigestItem extends Enum {45 readonly isOther: boolean;46 readonly asOther: Bytes;47 readonly isConsensus: boolean;48 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;49 readonly isSeal: boolean;50 readonly asSeal: ITuple<[U8aFixed, Bytes]>;51 readonly isPreRuntime: boolean;52 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;53 readonly isRuntimeEnvironmentUpdated: boolean;54 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';55 }5657 /** @name FrameSystemEventRecord (17) */58 interface FrameSystemEventRecord extends Struct {59 readonly phase: FrameSystemPhase;60 readonly event: Event;61 readonly topics: Vec<H256>;62 }6364 /** @name FrameSystemEvent (19) */65 interface FrameSystemEvent extends Enum {66 readonly isExtrinsicSuccess: boolean;67 readonly asExtrinsicSuccess: {68 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;69 } & Struct;70 readonly isExtrinsicFailed: boolean;71 readonly asExtrinsicFailed: {72 readonly dispatchError: SpRuntimeDispatchError;73 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;74 } & Struct;75 readonly isCodeUpdated: boolean;76 readonly isNewAccount: boolean;77 readonly asNewAccount: {78 readonly account: AccountId32;79 } & Struct;80 readonly isKilledAccount: boolean;81 readonly asKilledAccount: {82 readonly account: AccountId32;83 } & Struct;84 readonly isRemarked: boolean;85 readonly asRemarked: {86 readonly sender: AccountId32;87 readonly hash_: H256;88 } & Struct;89 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';90 }9192 /** @name FrameSupportDispatchDispatchInfo (20) */93 interface FrameSupportDispatchDispatchInfo extends Struct {94 readonly weight: Weight;95 readonly class: FrameSupportDispatchDispatchClass;96 readonly paysFee: FrameSupportDispatchPays;97 }9899 /** @name FrameSupportDispatchDispatchClass (21) */100 interface FrameSupportDispatchDispatchClass extends Enum {101 readonly isNormal: boolean;102 readonly isOperational: boolean;103 readonly isMandatory: boolean;104 readonly type: 'Normal' | 'Operational' | 'Mandatory';105 }106107 /** @name FrameSupportDispatchPays (22) */108 interface FrameSupportDispatchPays extends Enum {109 readonly isYes: boolean;110 readonly isNo: boolean;111 readonly type: 'Yes' | 'No';112 }113114 /** @name SpRuntimeDispatchError (23) */115 interface SpRuntimeDispatchError extends Enum {116 readonly isOther: boolean;117 readonly isCannotLookup: boolean;118 readonly isBadOrigin: boolean;119 readonly isModule: boolean;120 readonly asModule: SpRuntimeModuleError;121 readonly isConsumerRemaining: boolean;122 readonly isNoProviders: boolean;123 readonly isTooManyConsumers: boolean;124 readonly isToken: boolean;125 readonly asToken: SpRuntimeTokenError;126 readonly isArithmetic: boolean;127 readonly asArithmetic: SpRuntimeArithmeticError;128 readonly isTransactional: boolean;129 readonly asTransactional: SpRuntimeTransactionalError;130 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';131 }132133 /** @name SpRuntimeModuleError (24) */134 interface SpRuntimeModuleError extends Struct {135 readonly index: u8;136 readonly error: U8aFixed;137 }138139 /** @name SpRuntimeTokenError (25) */140 interface SpRuntimeTokenError extends Enum {141 readonly isNoFunds: boolean;142 readonly isWouldDie: boolean;143 readonly isBelowMinimum: boolean;144 readonly isCannotCreate: boolean;145 readonly isUnknownAsset: boolean;146 readonly isFrozen: boolean;147 readonly isUnsupported: boolean;148 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';149 }150151 /** @name SpRuntimeArithmeticError (26) */152 interface SpRuntimeArithmeticError extends Enum {153 readonly isUnderflow: boolean;154 readonly isOverflow: boolean;155 readonly isDivisionByZero: boolean;156 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';157 }158159 /** @name SpRuntimeTransactionalError (27) */160 interface SpRuntimeTransactionalError extends Enum {161 readonly isLimitReached: boolean;162 readonly isNoLayer: boolean;163 readonly type: 'LimitReached' | 'NoLayer';164 }165166 /** @name CumulusPalletParachainSystemEvent (28) */167 interface CumulusPalletParachainSystemEvent extends Enum {168 readonly isValidationFunctionStored: boolean;169 readonly isValidationFunctionApplied: boolean;170 readonly asValidationFunctionApplied: {171 readonly relayChainBlockNum: u32;172 } & Struct;173 readonly isValidationFunctionDiscarded: boolean;174 readonly isUpgradeAuthorized: boolean;175 readonly asUpgradeAuthorized: {176 readonly codeHash: H256;177 } & Struct;178 readonly isDownwardMessagesReceived: boolean;179 readonly asDownwardMessagesReceived: {180 readonly count: u32;181 } & Struct;182 readonly isDownwardMessagesProcessed: boolean;183 readonly asDownwardMessagesProcessed: {184 readonly weightUsed: Weight;185 readonly dmqHead: H256;186 } & Struct;187 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';188 }189190 /** @name PalletBalancesEvent (29) */191 interface PalletBalancesEvent extends Enum {192 readonly isEndowed: boolean;193 readonly asEndowed: {194 readonly account: AccountId32;195 readonly freeBalance: u128;196 } & Struct;197 readonly isDustLost: boolean;198 readonly asDustLost: {199 readonly account: AccountId32;200 readonly amount: u128;201 } & Struct;202 readonly isTransfer: boolean;203 readonly asTransfer: {204 readonly from: AccountId32;205 readonly to: AccountId32;206 readonly amount: u128;207 } & Struct;208 readonly isBalanceSet: boolean;209 readonly asBalanceSet: {210 readonly who: AccountId32;211 readonly free: u128;212 readonly reserved: u128;213 } & Struct;214 readonly isReserved: boolean;215 readonly asReserved: {216 readonly who: AccountId32;217 readonly amount: u128;218 } & Struct;219 readonly isUnreserved: boolean;220 readonly asUnreserved: {221 readonly who: AccountId32;222 readonly amount: u128;223 } & Struct;224 readonly isReserveRepatriated: boolean;225 readonly asReserveRepatriated: {226 readonly from: AccountId32;227 readonly to: AccountId32;228 readonly amount: u128;229 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;230 } & Struct;231 readonly isDeposit: boolean;232 readonly asDeposit: {233 readonly who: AccountId32;234 readonly amount: u128;235 } & Struct;236 readonly isWithdraw: boolean;237 readonly asWithdraw: {238 readonly who: AccountId32;239 readonly amount: u128;240 } & Struct;241 readonly isSlashed: boolean;242 readonly asSlashed: {243 readonly who: AccountId32;244 readonly amount: u128;245 } & Struct;246 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';247 }248249 /** @name FrameSupportTokensMiscBalanceStatus (30) */250 interface FrameSupportTokensMiscBalanceStatus extends Enum {251 readonly isFree: boolean;252 readonly isReserved: boolean;253 readonly type: 'Free' | 'Reserved';254 }255256 /** @name PalletTransactionPaymentEvent (31) */257 interface PalletTransactionPaymentEvent extends Enum {258 readonly isTransactionFeePaid: boolean;259 readonly asTransactionFeePaid: {260 readonly who: AccountId32;261 readonly actualFee: u128;262 readonly tip: u128;263 } & Struct;264 readonly type: 'TransactionFeePaid';265 }266267 /** @name PalletTreasuryEvent (32) */268 interface PalletTreasuryEvent extends Enum {269 readonly isProposed: boolean;270 readonly asProposed: {271 readonly proposalIndex: u32;272 } & Struct;273 readonly isSpending: boolean;274 readonly asSpending: {275 readonly budgetRemaining: u128;276 } & Struct;277 readonly isAwarded: boolean;278 readonly asAwarded: {279 readonly proposalIndex: u32;280 readonly award: u128;281 readonly account: AccountId32;282 } & Struct;283 readonly isRejected: boolean;284 readonly asRejected: {285 readonly proposalIndex: u32;286 readonly slashed: u128;287 } & Struct;288 readonly isBurnt: boolean;289 readonly asBurnt: {290 readonly burntFunds: u128;291 } & Struct;292 readonly isRollover: boolean;293 readonly asRollover: {294 readonly rolloverBalance: u128;295 } & Struct;296 readonly isDeposit: boolean;297 readonly asDeposit: {298 readonly value: u128;299 } & Struct;300 readonly isSpendApproved: boolean;301 readonly asSpendApproved: {302 readonly proposalIndex: u32;303 readonly amount: u128;304 readonly beneficiary: AccountId32;305 } & Struct;306 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';307 }308309 /** @name PalletSudoEvent (33) */310 interface PalletSudoEvent extends Enum {311 readonly isSudid: boolean;312 readonly asSudid: {313 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;314 } & Struct;315 readonly isKeyChanged: boolean;316 readonly asKeyChanged: {317 readonly oldSudoer: Option<AccountId32>;318 } & Struct;319 readonly isSudoAsDone: boolean;320 readonly asSudoAsDone: {321 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;322 } & Struct;323 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';324 }325326 /** @name OrmlVestingModuleEvent (37) */327 interface OrmlVestingModuleEvent extends Enum {328 readonly isVestingScheduleAdded: boolean;329 readonly asVestingScheduleAdded: {330 readonly from: AccountId32;331 readonly to: AccountId32;332 readonly vestingSchedule: OrmlVestingVestingSchedule;333 } & Struct;334 readonly isClaimed: boolean;335 readonly asClaimed: {336 readonly who: AccountId32;337 readonly amount: u128;338 } & Struct;339 readonly isVestingSchedulesUpdated: boolean;340 readonly asVestingSchedulesUpdated: {341 readonly who: AccountId32;342 } & Struct;343 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';344 }345346 /** @name OrmlVestingVestingSchedule (38) */347 interface OrmlVestingVestingSchedule extends Struct {348 readonly start: u32;349 readonly period: u32;350 readonly periodCount: u32;351 readonly perPeriod: Compact<u128>;352 }353354 /** @name OrmlXtokensModuleEvent (40) */355 interface OrmlXtokensModuleEvent extends Enum {356 readonly isTransferredMultiAssets: boolean;357 readonly asTransferredMultiAssets: {358 readonly sender: AccountId32;359 readonly assets: XcmV1MultiassetMultiAssets;360 readonly fee: XcmV1MultiAsset;361 readonly dest: XcmV1MultiLocation;362 } & Struct;363 readonly type: 'TransferredMultiAssets';364 }365366 /** @name XcmV1MultiassetMultiAssets (41) */367 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}368369 /** @name XcmV1MultiAsset (43) */370 interface XcmV1MultiAsset extends Struct {371 readonly id: XcmV1MultiassetAssetId;372 readonly fun: XcmV1MultiassetFungibility;373 }374375 /** @name XcmV1MultiassetAssetId (44) */376 interface XcmV1MultiassetAssetId extends Enum {377 readonly isConcrete: boolean;378 readonly asConcrete: XcmV1MultiLocation;379 readonly isAbstract: boolean;380 readonly asAbstract: Bytes;381 readonly type: 'Concrete' | 'Abstract';382 }383384 /** @name XcmV1MultiLocation (45) */385 interface XcmV1MultiLocation extends Struct {386 readonly parents: u8;387 readonly interior: XcmV1MultilocationJunctions;388 }389390 /** @name XcmV1MultilocationJunctions (46) */391 interface XcmV1MultilocationJunctions extends Enum {392 readonly isHere: boolean;393 readonly isX1: boolean;394 readonly asX1: XcmV1Junction;395 readonly isX2: boolean;396 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;397 readonly isX3: boolean;398 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;399 readonly isX4: boolean;400 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;401 readonly isX5: boolean;402 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;403 readonly isX6: boolean;404 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;405 readonly isX7: boolean;406 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;407 readonly isX8: boolean;408 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;409 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';410 }411412 /** @name XcmV1Junction (47) */413 interface XcmV1Junction extends Enum {414 readonly isParachain: boolean;415 readonly asParachain: Compact<u32>;416 readonly isAccountId32: boolean;417 readonly asAccountId32: {418 readonly network: XcmV0JunctionNetworkId;419 readonly id: U8aFixed;420 } & Struct;421 readonly isAccountIndex64: boolean;422 readonly asAccountIndex64: {423 readonly network: XcmV0JunctionNetworkId;424 readonly index: Compact<u64>;425 } & Struct;426 readonly isAccountKey20: boolean;427 readonly asAccountKey20: {428 readonly network: XcmV0JunctionNetworkId;429 readonly key: U8aFixed;430 } & Struct;431 readonly isPalletInstance: boolean;432 readonly asPalletInstance: u8;433 readonly isGeneralIndex: boolean;434 readonly asGeneralIndex: Compact<u128>;435 readonly isGeneralKey: boolean;436 readonly asGeneralKey: Bytes;437 readonly isOnlyChild: boolean;438 readonly isPlurality: boolean;439 readonly asPlurality: {440 readonly id: XcmV0JunctionBodyId;441 readonly part: XcmV0JunctionBodyPart;442 } & Struct;443 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';444 }445446 /** @name XcmV0JunctionNetworkId (49) */447 interface XcmV0JunctionNetworkId extends Enum {448 readonly isAny: boolean;449 readonly isNamed: boolean;450 readonly asNamed: Bytes;451 readonly isPolkadot: boolean;452 readonly isKusama: boolean;453 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';454 }455456 /** @name XcmV0JunctionBodyId (53) */457 interface XcmV0JunctionBodyId extends Enum {458 readonly isUnit: boolean;459 readonly isNamed: boolean;460 readonly asNamed: Bytes;461 readonly isIndex: boolean;462 readonly asIndex: Compact<u32>;463 readonly isExecutive: boolean;464 readonly isTechnical: boolean;465 readonly isLegislative: boolean;466 readonly isJudicial: boolean;467 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';468 }469470 /** @name XcmV0JunctionBodyPart (54) */471 interface XcmV0JunctionBodyPart extends Enum {472 readonly isVoice: boolean;473 readonly isMembers: boolean;474 readonly asMembers: {475 readonly count: Compact<u32>;476 } & Struct;477 readonly isFraction: boolean;478 readonly asFraction: {479 readonly nom: Compact<u32>;480 readonly denom: Compact<u32>;481 } & Struct;482 readonly isAtLeastProportion: boolean;483 readonly asAtLeastProportion: {484 readonly nom: Compact<u32>;485 readonly denom: Compact<u32>;486 } & Struct;487 readonly isMoreThanProportion: boolean;488 readonly asMoreThanProportion: {489 readonly nom: Compact<u32>;490 readonly denom: Compact<u32>;491 } & Struct;492 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';493 }494495 /** @name XcmV1MultiassetFungibility (55) */496 interface XcmV1MultiassetFungibility extends Enum {497 readonly isFungible: boolean;498 readonly asFungible: Compact<u128>;499 readonly isNonFungible: boolean;500 readonly asNonFungible: XcmV1MultiassetAssetInstance;501 readonly type: 'Fungible' | 'NonFungible';502 }503504 /** @name XcmV1MultiassetAssetInstance (56) */505 interface XcmV1MultiassetAssetInstance extends Enum {506 readonly isUndefined: boolean;507 readonly isIndex: boolean;508 readonly asIndex: Compact<u128>;509 readonly isArray4: boolean;510 readonly asArray4: U8aFixed;511 readonly isArray8: boolean;512 readonly asArray8: U8aFixed;513 readonly isArray16: boolean;514 readonly asArray16: U8aFixed;515 readonly isArray32: boolean;516 readonly asArray32: U8aFixed;517 readonly isBlob: boolean;518 readonly asBlob: Bytes;519 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';520 }521522 /** @name OrmlTokensModuleEvent (59) */523 interface OrmlTokensModuleEvent extends Enum {524 readonly isEndowed: boolean;525 readonly asEndowed: {526 readonly currencyId: PalletForeignAssetsAssetIds;527 readonly who: AccountId32;528 readonly amount: u128;529 } & Struct;530 readonly isDustLost: boolean;531 readonly asDustLost: {532 readonly currencyId: PalletForeignAssetsAssetIds;533 readonly who: AccountId32;534 readonly amount: u128;535 } & Struct;536 readonly isTransfer: boolean;537 readonly asTransfer: {538 readonly currencyId: PalletForeignAssetsAssetIds;539 readonly from: AccountId32;540 readonly to: AccountId32;541 readonly amount: u128;542 } & Struct;543 readonly isReserved: boolean;544 readonly asReserved: {545 readonly currencyId: PalletForeignAssetsAssetIds;546 readonly who: AccountId32;547 readonly amount: u128;548 } & Struct;549 readonly isUnreserved: boolean;550 readonly asUnreserved: {551 readonly currencyId: PalletForeignAssetsAssetIds;552 readonly who: AccountId32;553 readonly amount: u128;554 } & Struct;555 readonly isReserveRepatriated: boolean;556 readonly asReserveRepatriated: {557 readonly currencyId: PalletForeignAssetsAssetIds;558 readonly from: AccountId32;559 readonly to: AccountId32;560 readonly amount: u128;561 readonly status: FrameSupportTokensMiscBalanceStatus;562 } & Struct;563 readonly isBalanceSet: boolean;564 readonly asBalanceSet: {565 readonly currencyId: PalletForeignAssetsAssetIds;566 readonly who: AccountId32;567 readonly free: u128;568 readonly reserved: u128;569 } & Struct;570 readonly isTotalIssuanceSet: boolean;571 readonly asTotalIssuanceSet: {572 readonly currencyId: PalletForeignAssetsAssetIds;573 readonly amount: u128;574 } & Struct;575 readonly isWithdrawn: boolean;576 readonly asWithdrawn: {577 readonly currencyId: PalletForeignAssetsAssetIds;578 readonly who: AccountId32;579 readonly amount: u128;580 } & Struct;581 readonly isSlashed: boolean;582 readonly asSlashed: {583 readonly currencyId: PalletForeignAssetsAssetIds;584 readonly who: AccountId32;585 readonly freeAmount: u128;586 readonly reservedAmount: u128;587 } & Struct;588 readonly isDeposited: boolean;589 readonly asDeposited: {590 readonly currencyId: PalletForeignAssetsAssetIds;591 readonly who: AccountId32;592 readonly amount: u128;593 } & Struct;594 readonly isLockSet: boolean;595 readonly asLockSet: {596 readonly lockId: U8aFixed;597 readonly currencyId: PalletForeignAssetsAssetIds;598 readonly who: AccountId32;599 readonly amount: u128;600 } & Struct;601 readonly isLockRemoved: boolean;602 readonly asLockRemoved: {603 readonly lockId: U8aFixed;604 readonly currencyId: PalletForeignAssetsAssetIds;605 readonly who: AccountId32;606 } & Struct;607 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';608 }609610 /** @name PalletForeignAssetsAssetIds (60) */611 interface PalletForeignAssetsAssetIds extends Enum {612 readonly isForeignAssetId: boolean;613 readonly asForeignAssetId: u32;614 readonly isNativeAssetId: boolean;615 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;616 readonly type: 'ForeignAssetId' | 'NativeAssetId';617 }618619 /** @name PalletForeignAssetsNativeCurrency (61) */620 interface PalletForeignAssetsNativeCurrency extends Enum {621 readonly isHere: boolean;622 readonly isParent: boolean;623 readonly type: 'Here' | 'Parent';624 }625626 /** @name CumulusPalletXcmpQueueEvent (62) */627 interface CumulusPalletXcmpQueueEvent extends Enum {628 readonly isSuccess: boolean;629 readonly asSuccess: {630 readonly messageHash: Option<H256>;631 readonly weight: Weight;632 } & Struct;633 readonly isFail: boolean;634 readonly asFail: {635 readonly messageHash: Option<H256>;636 readonly error: XcmV2TraitsError;637 readonly weight: Weight;638 } & Struct;639 readonly isBadVersion: boolean;640 readonly asBadVersion: {641 readonly messageHash: Option<H256>;642 } & Struct;643 readonly isBadFormat: boolean;644 readonly asBadFormat: {645 readonly messageHash: Option<H256>;646 } & Struct;647 readonly isUpwardMessageSent: boolean;648 readonly asUpwardMessageSent: {649 readonly messageHash: Option<H256>;650 } & Struct;651 readonly isXcmpMessageSent: boolean;652 readonly asXcmpMessageSent: {653 readonly messageHash: Option<H256>;654 } & Struct;655 readonly isOverweightEnqueued: boolean;656 readonly asOverweightEnqueued: {657 readonly sender: u32;658 readonly sentAt: u32;659 readonly index: u64;660 readonly required: Weight;661 } & Struct;662 readonly isOverweightServiced: boolean;663 readonly asOverweightServiced: {664 readonly index: u64;665 readonly used: Weight;666 } & Struct;667 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';668 }669670 /** @name XcmV2TraitsError (64) */671 interface XcmV2TraitsError extends Enum {672 readonly isOverflow: boolean;673 readonly isUnimplemented: boolean;674 readonly isUntrustedReserveLocation: boolean;675 readonly isUntrustedTeleportLocation: boolean;676 readonly isMultiLocationFull: boolean;677 readonly isMultiLocationNotInvertible: boolean;678 readonly isBadOrigin: boolean;679 readonly isInvalidLocation: boolean;680 readonly isAssetNotFound: boolean;681 readonly isFailedToTransactAsset: boolean;682 readonly isNotWithdrawable: boolean;683 readonly isLocationCannotHold: boolean;684 readonly isExceedsMaxMessageSize: boolean;685 readonly isDestinationUnsupported: boolean;686 readonly isTransport: boolean;687 readonly isUnroutable: boolean;688 readonly isUnknownClaim: boolean;689 readonly isFailedToDecode: boolean;690 readonly isMaxWeightInvalid: boolean;691 readonly isNotHoldingFees: boolean;692 readonly isTooExpensive: boolean;693 readonly isTrap: boolean;694 readonly asTrap: u64;695 readonly isUnhandledXcmVersion: boolean;696 readonly isWeightLimitReached: boolean;697 readonly asWeightLimitReached: u64;698 readonly isBarrier: boolean;699 readonly isWeightNotComputable: boolean;700 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';701 }702703 /** @name PalletXcmEvent (66) */704 interface PalletXcmEvent extends Enum {705 readonly isAttempted: boolean;706 readonly asAttempted: XcmV2TraitsOutcome;707 readonly isSent: boolean;708 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;709 readonly isUnexpectedResponse: boolean;710 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;711 readonly isResponseReady: boolean;712 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;713 readonly isNotified: boolean;714 readonly asNotified: ITuple<[u64, u8, u8]>;715 readonly isNotifyOverweight: boolean;716 readonly asNotifyOverweight: ITuple<[u64, u8, u8, Weight, Weight]>;717 readonly isNotifyDispatchError: boolean;718 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;719 readonly isNotifyDecodeFailed: boolean;720 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;721 readonly isInvalidResponder: boolean;722 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;723 readonly isInvalidResponderVersion: boolean;724 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;725 readonly isResponseTaken: boolean;726 readonly asResponseTaken: u64;727 readonly isAssetsTrapped: boolean;728 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;729 readonly isVersionChangeNotified: boolean;730 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;731 readonly isSupportedVersionChanged: boolean;732 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;733 readonly isNotifyTargetSendFail: boolean;734 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;735 readonly isNotifyTargetMigrationFail: boolean;736 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;737 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';738 }739740 /** @name XcmV2TraitsOutcome (67) */741 interface XcmV2TraitsOutcome extends Enum {742 readonly isComplete: boolean;743 readonly asComplete: u64;744 readonly isIncomplete: boolean;745 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;746 readonly isError: boolean;747 readonly asError: XcmV2TraitsError;748 readonly type: 'Complete' | 'Incomplete' | 'Error';749 }750751 /** @name XcmV2Xcm (68) */752 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}753754 /** @name XcmV2Instruction (70) */755 interface XcmV2Instruction extends Enum {756 readonly isWithdrawAsset: boolean;757 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;758 readonly isReserveAssetDeposited: boolean;759 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;760 readonly isReceiveTeleportedAsset: boolean;761 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;762 readonly isQueryResponse: boolean;763 readonly asQueryResponse: {764 readonly queryId: Compact<u64>;765 readonly response: XcmV2Response;766 readonly maxWeight: Compact<u64>;767 } & Struct;768 readonly isTransferAsset: boolean;769 readonly asTransferAsset: {770 readonly assets: XcmV1MultiassetMultiAssets;771 readonly beneficiary: XcmV1MultiLocation;772 } & Struct;773 readonly isTransferReserveAsset: boolean;774 readonly asTransferReserveAsset: {775 readonly assets: XcmV1MultiassetMultiAssets;776 readonly dest: XcmV1MultiLocation;777 readonly xcm: XcmV2Xcm;778 } & Struct;779 readonly isTransact: boolean;780 readonly asTransact: {781 readonly originType: XcmV0OriginKind;782 readonly requireWeightAtMost: Compact<u64>;783 readonly call: XcmDoubleEncoded;784 } & Struct;785 readonly isHrmpNewChannelOpenRequest: boolean;786 readonly asHrmpNewChannelOpenRequest: {787 readonly sender: Compact<u32>;788 readonly maxMessageSize: Compact<u32>;789 readonly maxCapacity: Compact<u32>;790 } & Struct;791 readonly isHrmpChannelAccepted: boolean;792 readonly asHrmpChannelAccepted: {793 readonly recipient: Compact<u32>;794 } & Struct;795 readonly isHrmpChannelClosing: boolean;796 readonly asHrmpChannelClosing: {797 readonly initiator: Compact<u32>;798 readonly sender: Compact<u32>;799 readonly recipient: Compact<u32>;800 } & Struct;801 readonly isClearOrigin: boolean;802 readonly isDescendOrigin: boolean;803 readonly asDescendOrigin: XcmV1MultilocationJunctions;804 readonly isReportError: boolean;805 readonly asReportError: {806 readonly queryId: Compact<u64>;807 readonly dest: XcmV1MultiLocation;808 readonly maxResponseWeight: Compact<u64>;809 } & Struct;810 readonly isDepositAsset: boolean;811 readonly asDepositAsset: {812 readonly assets: XcmV1MultiassetMultiAssetFilter;813 readonly maxAssets: Compact<u32>;814 readonly beneficiary: XcmV1MultiLocation;815 } & Struct;816 readonly isDepositReserveAsset: boolean;817 readonly asDepositReserveAsset: {818 readonly assets: XcmV1MultiassetMultiAssetFilter;819 readonly maxAssets: Compact<u32>;820 readonly dest: XcmV1MultiLocation;821 readonly xcm: XcmV2Xcm;822 } & Struct;823 readonly isExchangeAsset: boolean;824 readonly asExchangeAsset: {825 readonly give: XcmV1MultiassetMultiAssetFilter;826 readonly receive: XcmV1MultiassetMultiAssets;827 } & Struct;828 readonly isInitiateReserveWithdraw: boolean;829 readonly asInitiateReserveWithdraw: {830 readonly assets: XcmV1MultiassetMultiAssetFilter;831 readonly reserve: XcmV1MultiLocation;832 readonly xcm: XcmV2Xcm;833 } & Struct;834 readonly isInitiateTeleport: boolean;835 readonly asInitiateTeleport: {836 readonly assets: XcmV1MultiassetMultiAssetFilter;837 readonly dest: XcmV1MultiLocation;838 readonly xcm: XcmV2Xcm;839 } & Struct;840 readonly isQueryHolding: boolean;841 readonly asQueryHolding: {842 readonly queryId: Compact<u64>;843 readonly dest: XcmV1MultiLocation;844 readonly assets: XcmV1MultiassetMultiAssetFilter;845 readonly maxResponseWeight: Compact<u64>;846 } & Struct;847 readonly isBuyExecution: boolean;848 readonly asBuyExecution: {849 readonly fees: XcmV1MultiAsset;850 readonly weightLimit: XcmV2WeightLimit;851 } & Struct;852 readonly isRefundSurplus: boolean;853 readonly isSetErrorHandler: boolean;854 readonly asSetErrorHandler: XcmV2Xcm;855 readonly isSetAppendix: boolean;856 readonly asSetAppendix: XcmV2Xcm;857 readonly isClearError: boolean;858 readonly isClaimAsset: boolean;859 readonly asClaimAsset: {860 readonly assets: XcmV1MultiassetMultiAssets;861 readonly ticket: XcmV1MultiLocation;862 } & Struct;863 readonly isTrap: boolean;864 readonly asTrap: Compact<u64>;865 readonly isSubscribeVersion: boolean;866 readonly asSubscribeVersion: {867 readonly queryId: Compact<u64>;868 readonly maxResponseWeight: Compact<u64>;869 } & Struct;870 readonly isUnsubscribeVersion: boolean;871 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';872 }873874 /** @name XcmV2Response (71) */875 interface XcmV2Response extends Enum {876 readonly isNull: boolean;877 readonly isAssets: boolean;878 readonly asAssets: XcmV1MultiassetMultiAssets;879 readonly isExecutionResult: boolean;880 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;881 readonly isVersion: boolean;882 readonly asVersion: u32;883 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';884 }885886 /** @name XcmV0OriginKind (74) */887 interface XcmV0OriginKind extends Enum {888 readonly isNative: boolean;889 readonly isSovereignAccount: boolean;890 readonly isSuperuser: boolean;891 readonly isXcm: boolean;892 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';893 }894895 /** @name XcmDoubleEncoded (75) */896 interface XcmDoubleEncoded extends Struct {897 readonly encoded: Bytes;898 }899900 /** @name XcmV1MultiassetMultiAssetFilter (76) */901 interface XcmV1MultiassetMultiAssetFilter extends Enum {902 readonly isDefinite: boolean;903 readonly asDefinite: XcmV1MultiassetMultiAssets;904 readonly isWild: boolean;905 readonly asWild: XcmV1MultiassetWildMultiAsset;906 readonly type: 'Definite' | 'Wild';907 }908909 /** @name XcmV1MultiassetWildMultiAsset (77) */910 interface XcmV1MultiassetWildMultiAsset extends Enum {911 readonly isAll: boolean;912 readonly isAllOf: boolean;913 readonly asAllOf: {914 readonly id: XcmV1MultiassetAssetId;915 readonly fun: XcmV1MultiassetWildFungibility;916 } & Struct;917 readonly type: 'All' | 'AllOf';918 }919920 /** @name XcmV1MultiassetWildFungibility (78) */921 interface XcmV1MultiassetWildFungibility extends Enum {922 readonly isFungible: boolean;923 readonly isNonFungible: boolean;924 readonly type: 'Fungible' | 'NonFungible';925 }926927 /** @name XcmV2WeightLimit (79) */928 interface XcmV2WeightLimit extends Enum {929 readonly isUnlimited: boolean;930 readonly isLimited: boolean;931 readonly asLimited: Compact<u64>;932 readonly type: 'Unlimited' | 'Limited';933 }934935 /** @name XcmVersionedMultiAssets (81) */936 interface XcmVersionedMultiAssets extends Enum {937 readonly isV0: boolean;938 readonly asV0: Vec<XcmV0MultiAsset>;939 readonly isV1: boolean;940 readonly asV1: XcmV1MultiassetMultiAssets;941 readonly type: 'V0' | 'V1';942 }943944 /** @name XcmV0MultiAsset (83) */945 interface XcmV0MultiAsset extends Enum {946 readonly isNone: boolean;947 readonly isAll: boolean;948 readonly isAllFungible: boolean;949 readonly isAllNonFungible: boolean;950 readonly isAllAbstractFungible: boolean;951 readonly asAllAbstractFungible: {952 readonly id: Bytes;953 } & Struct;954 readonly isAllAbstractNonFungible: boolean;955 readonly asAllAbstractNonFungible: {956 readonly class: Bytes;957 } & Struct;958 readonly isAllConcreteFungible: boolean;959 readonly asAllConcreteFungible: {960 readonly id: XcmV0MultiLocation;961 } & Struct;962 readonly isAllConcreteNonFungible: boolean;963 readonly asAllConcreteNonFungible: {964 readonly class: XcmV0MultiLocation;965 } & Struct;966 readonly isAbstractFungible: boolean;967 readonly asAbstractFungible: {968 readonly id: Bytes;969 readonly amount: Compact<u128>;970 } & Struct;971 readonly isAbstractNonFungible: boolean;972 readonly asAbstractNonFungible: {973 readonly class: Bytes;974 readonly instance: XcmV1MultiassetAssetInstance;975 } & Struct;976 readonly isConcreteFungible: boolean;977 readonly asConcreteFungible: {978 readonly id: XcmV0MultiLocation;979 readonly amount: Compact<u128>;980 } & Struct;981 readonly isConcreteNonFungible: boolean;982 readonly asConcreteNonFungible: {983 readonly class: XcmV0MultiLocation;984 readonly instance: XcmV1MultiassetAssetInstance;985 } & Struct;986 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';987 }988989 /** @name XcmV0MultiLocation (84) */990 interface XcmV0MultiLocation extends Enum {991 readonly isNull: boolean;992 readonly isX1: boolean;993 readonly asX1: XcmV0Junction;994 readonly isX2: boolean;995 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;996 readonly isX3: boolean;997 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;998 readonly isX4: boolean;999 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1000 readonly isX5: boolean;1001 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1002 readonly isX6: boolean;1003 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1004 readonly isX7: boolean;1005 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1006 readonly isX8: boolean;1007 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1008 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1009 }10101011 /** @name XcmV0Junction (85) */1012 interface XcmV0Junction extends Enum {1013 readonly isParent: boolean;1014 readonly isParachain: boolean;1015 readonly asParachain: Compact<u32>;1016 readonly isAccountId32: boolean;1017 readonly asAccountId32: {1018 readonly network: XcmV0JunctionNetworkId;1019 readonly id: U8aFixed;1020 } & Struct;1021 readonly isAccountIndex64: boolean;1022 readonly asAccountIndex64: {1023 readonly network: XcmV0JunctionNetworkId;1024 readonly index: Compact<u64>;1025 } & Struct;1026 readonly isAccountKey20: boolean;1027 readonly asAccountKey20: {1028 readonly network: XcmV0JunctionNetworkId;1029 readonly key: U8aFixed;1030 } & Struct;1031 readonly isPalletInstance: boolean;1032 readonly asPalletInstance: u8;1033 readonly isGeneralIndex: boolean;1034 readonly asGeneralIndex: Compact<u128>;1035 readonly isGeneralKey: boolean;1036 readonly asGeneralKey: Bytes;1037 readonly isOnlyChild: boolean;1038 readonly isPlurality: boolean;1039 readonly asPlurality: {1040 readonly id: XcmV0JunctionBodyId;1041 readonly part: XcmV0JunctionBodyPart;1042 } & Struct;1043 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1044 }10451046 /** @name XcmVersionedMultiLocation (86) */1047 interface XcmVersionedMultiLocation extends Enum {1048 readonly isV0: boolean;1049 readonly asV0: XcmV0MultiLocation;1050 readonly isV1: boolean;1051 readonly asV1: XcmV1MultiLocation;1052 readonly type: 'V0' | 'V1';1053 }10541055 /** @name CumulusPalletXcmEvent (87) */1056 interface CumulusPalletXcmEvent extends Enum {1057 readonly isInvalidFormat: boolean;1058 readonly asInvalidFormat: U8aFixed;1059 readonly isUnsupportedVersion: boolean;1060 readonly asUnsupportedVersion: U8aFixed;1061 readonly isExecutedDownward: boolean;1062 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1063 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1064 }10651066 /** @name CumulusPalletDmpQueueEvent (88) */1067 interface CumulusPalletDmpQueueEvent extends Enum {1068 readonly isInvalidFormat: boolean;1069 readonly asInvalidFormat: {1070 readonly messageId: U8aFixed;1071 } & Struct;1072 readonly isUnsupportedVersion: boolean;1073 readonly asUnsupportedVersion: {1074 readonly messageId: U8aFixed;1075 } & Struct;1076 readonly isExecutedDownward: boolean;1077 readonly asExecutedDownward: {1078 readonly messageId: U8aFixed;1079 readonly outcome: XcmV2TraitsOutcome;1080 } & Struct;1081 readonly isWeightExhausted: boolean;1082 readonly asWeightExhausted: {1083 readonly messageId: U8aFixed;1084 readonly remainingWeight: Weight;1085 readonly requiredWeight: Weight;1086 } & Struct;1087 readonly isOverweightEnqueued: boolean;1088 readonly asOverweightEnqueued: {1089 readonly messageId: U8aFixed;1090 readonly overweightIndex: u64;1091 readonly requiredWeight: Weight;1092 } & Struct;1093 readonly isOverweightServiced: boolean;1094 readonly asOverweightServiced: {1095 readonly overweightIndex: u64;1096 readonly weightUsed: Weight;1097 } & Struct;1098 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1099 }11001101 /** @name PalletUniqueRawEvent (89) */1102 interface PalletUniqueRawEvent extends Enum {1103 readonly isCollectionSponsorRemoved: boolean;1104 readonly asCollectionSponsorRemoved: u32;1105 readonly isCollectionAdminAdded: boolean;1106 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1107 readonly isCollectionOwnedChanged: boolean;1108 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1109 readonly isCollectionSponsorSet: boolean;1110 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1111 readonly isSponsorshipConfirmed: boolean;1112 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1113 readonly isCollectionAdminRemoved: boolean;1114 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1115 readonly isAllowListAddressRemoved: boolean;1116 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1117 readonly isAllowListAddressAdded: boolean;1118 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1119 readonly isCollectionLimitSet: boolean;1120 readonly asCollectionLimitSet: u32;1121 readonly isCollectionPermissionSet: boolean;1122 readonly asCollectionPermissionSet: u32;1123 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1124 }11251126 /** @name PalletEvmAccountBasicCrossAccountIdRepr (90) */1127 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1128 readonly isSubstrate: boolean;1129 readonly asSubstrate: AccountId32;1130 readonly isEthereum: boolean;1131 readonly asEthereum: H160;1132 readonly type: 'Substrate' | 'Ethereum';1133 }11341135 /** @name PalletUniqueSchedulerV2Event (93) */1136 interface PalletUniqueSchedulerV2Event extends Enum {1137 readonly isScheduled: boolean;1138 readonly asScheduled: {1139 readonly when: u32;1140 readonly index: u32;1141 } & Struct;1142 readonly isCanceled: boolean;1143 readonly asCanceled: {1144 readonly when: u32;1145 readonly index: u32;1146 } & Struct;1147 readonly isDispatched: boolean;1148 readonly asDispatched: {1149 readonly task: ITuple<[u32, u32]>;1150 readonly id: Option<U8aFixed>;1151 readonly result: Result<Null, SpRuntimeDispatchError>;1152 } & Struct;1153 readonly isPriorityChanged: boolean;1154 readonly asPriorityChanged: {1155 readonly task: ITuple<[u32, u32]>;1156 readonly priority: u8;1157 } & Struct;1158 readonly isCallUnavailable: boolean;1159 readonly asCallUnavailable: {1160 readonly task: ITuple<[u32, u32]>;1161 readonly id: Option<U8aFixed>;1162 } & Struct;1163 readonly isPermanentlyOverweight: boolean;1164 readonly asPermanentlyOverweight: {1165 readonly task: ITuple<[u32, u32]>;1166 readonly id: Option<U8aFixed>;1167 } & Struct;1168 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'PriorityChanged' | 'CallUnavailable' | 'PermanentlyOverweight';1169 }11701171 /** @name PalletCommonEvent (96) */1172 interface PalletCommonEvent extends Enum {1173 readonly isCollectionCreated: boolean;1174 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1175 readonly isCollectionDestroyed: boolean;1176 readonly asCollectionDestroyed: u32;1177 readonly isItemCreated: boolean;1178 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1179 readonly isItemDestroyed: boolean;1180 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1181 readonly isTransfer: boolean;1182 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1183 readonly isApproved: boolean;1184 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1185 readonly isApprovedForAll: boolean;1186 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1187 readonly isCollectionPropertySet: boolean;1188 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1189 readonly isCollectionPropertyDeleted: boolean;1190 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1191 readonly isTokenPropertySet: boolean;1192 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1193 readonly isTokenPropertyDeleted: boolean;1194 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1195 readonly isPropertyPermissionSet: boolean;1196 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1197 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1198 }11991200 /** @name PalletStructureEvent (100) */1201 interface PalletStructureEvent extends Enum {1202 readonly isExecuted: boolean;1203 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1204 readonly type: 'Executed';1205 }12061207 /** @name PalletRmrkCoreEvent (101) */1208 interface PalletRmrkCoreEvent extends Enum {1209 readonly isCollectionCreated: boolean;1210 readonly asCollectionCreated: {1211 readonly issuer: AccountId32;1212 readonly collectionId: u32;1213 } & Struct;1214 readonly isCollectionDestroyed: boolean;1215 readonly asCollectionDestroyed: {1216 readonly issuer: AccountId32;1217 readonly collectionId: u32;1218 } & Struct;1219 readonly isIssuerChanged: boolean;1220 readonly asIssuerChanged: {1221 readonly oldIssuer: AccountId32;1222 readonly newIssuer: AccountId32;1223 readonly collectionId: u32;1224 } & Struct;1225 readonly isCollectionLocked: boolean;1226 readonly asCollectionLocked: {1227 readonly issuer: AccountId32;1228 readonly collectionId: u32;1229 } & Struct;1230 readonly isNftMinted: boolean;1231 readonly asNftMinted: {1232 readonly owner: AccountId32;1233 readonly collectionId: u32;1234 readonly nftId: u32;1235 } & Struct;1236 readonly isNftBurned: boolean;1237 readonly asNftBurned: {1238 readonly owner: AccountId32;1239 readonly nftId: u32;1240 } & Struct;1241 readonly isNftSent: boolean;1242 readonly asNftSent: {1243 readonly sender: AccountId32;1244 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1245 readonly collectionId: u32;1246 readonly nftId: u32;1247 readonly approvalRequired: bool;1248 } & Struct;1249 readonly isNftAccepted: boolean;1250 readonly asNftAccepted: {1251 readonly sender: AccountId32;1252 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1253 readonly collectionId: u32;1254 readonly nftId: u32;1255 } & Struct;1256 readonly isNftRejected: boolean;1257 readonly asNftRejected: {1258 readonly sender: AccountId32;1259 readonly collectionId: u32;1260 readonly nftId: u32;1261 } & Struct;1262 readonly isPropertySet: boolean;1263 readonly asPropertySet: {1264 readonly collectionId: u32;1265 readonly maybeNftId: Option<u32>;1266 readonly key: Bytes;1267 readonly value: Bytes;1268 } & Struct;1269 readonly isResourceAdded: boolean;1270 readonly asResourceAdded: {1271 readonly nftId: u32;1272 readonly resourceId: u32;1273 } & Struct;1274 readonly isResourceRemoval: boolean;1275 readonly asResourceRemoval: {1276 readonly nftId: u32;1277 readonly resourceId: u32;1278 } & Struct;1279 readonly isResourceAccepted: boolean;1280 readonly asResourceAccepted: {1281 readonly nftId: u32;1282 readonly resourceId: u32;1283 } & Struct;1284 readonly isResourceRemovalAccepted: boolean;1285 readonly asResourceRemovalAccepted: {1286 readonly nftId: u32;1287 readonly resourceId: u32;1288 } & Struct;1289 readonly isPrioritySet: boolean;1290 readonly asPrioritySet: {1291 readonly collectionId: u32;1292 readonly nftId: u32;1293 } & Struct;1294 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1295 }12961297 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (102) */1298 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1299 readonly isAccountId: boolean;1300 readonly asAccountId: AccountId32;1301 readonly isCollectionAndNftTuple: boolean;1302 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1303 readonly type: 'AccountId' | 'CollectionAndNftTuple';1304 }13051306 /** @name PalletRmrkEquipEvent (106) */1307 interface PalletRmrkEquipEvent extends Enum {1308 readonly isBaseCreated: boolean;1309 readonly asBaseCreated: {1310 readonly issuer: AccountId32;1311 readonly baseId: u32;1312 } & Struct;1313 readonly isEquippablesUpdated: boolean;1314 readonly asEquippablesUpdated: {1315 readonly baseId: u32;1316 readonly slotId: u32;1317 } & Struct;1318 readonly type: 'BaseCreated' | 'EquippablesUpdated';1319 }13201321 /** @name PalletAppPromotionEvent (107) */1322 interface PalletAppPromotionEvent extends Enum {1323 readonly isStakingRecalculation: boolean;1324 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1325 readonly isStake: boolean;1326 readonly asStake: ITuple<[AccountId32, u128]>;1327 readonly isUnstake: boolean;1328 readonly asUnstake: ITuple<[AccountId32, u128]>;1329 readonly isSetAdmin: boolean;1330 readonly asSetAdmin: AccountId32;1331 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1332 }13331334 /** @name PalletForeignAssetsModuleEvent (108) */1335 interface PalletForeignAssetsModuleEvent extends Enum {1336 readonly isForeignAssetRegistered: boolean;1337 readonly asForeignAssetRegistered: {1338 readonly assetId: u32;1339 readonly assetAddress: XcmV1MultiLocation;1340 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1341 } & Struct;1342 readonly isForeignAssetUpdated: boolean;1343 readonly asForeignAssetUpdated: {1344 readonly assetId: u32;1345 readonly assetAddress: XcmV1MultiLocation;1346 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1347 } & Struct;1348 readonly isAssetRegistered: boolean;1349 readonly asAssetRegistered: {1350 readonly assetId: PalletForeignAssetsAssetIds;1351 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1352 } & Struct;1353 readonly isAssetUpdated: boolean;1354 readonly asAssetUpdated: {1355 readonly assetId: PalletForeignAssetsAssetIds;1356 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1357 } & Struct;1358 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1359 }13601361 /** @name PalletForeignAssetsModuleAssetMetadata (109) */1362 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1363 readonly name: Bytes;1364 readonly symbol: Bytes;1365 readonly decimals: u8;1366 readonly minimalBalance: u128;1367 }13681369 /** @name PalletEvmEvent (110) */1370 interface PalletEvmEvent extends Enum {1371 readonly isLog: boolean;1372 readonly asLog: {1373 readonly log: EthereumLog;1374 } & Struct;1375 readonly isCreated: boolean;1376 readonly asCreated: {1377 readonly address: H160;1378 } & Struct;1379 readonly isCreatedFailed: boolean;1380 readonly asCreatedFailed: {1381 readonly address: H160;1382 } & Struct;1383 readonly isExecuted: boolean;1384 readonly asExecuted: {1385 readonly address: H160;1386 } & Struct;1387 readonly isExecutedFailed: boolean;1388 readonly asExecutedFailed: {1389 readonly address: H160;1390 } & Struct;1391 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1392 }13931394 /** @name EthereumLog (111) */1395 interface EthereumLog extends Struct {1396 readonly address: H160;1397 readonly topics: Vec<H256>;1398 readonly data: Bytes;1399 }14001401 /** @name PalletEthereumEvent (113) */1402 interface PalletEthereumEvent extends Enum {1403 readonly isExecuted: boolean;1404 readonly asExecuted: {1405 readonly from: H160;1406 readonly to: H160;1407 readonly transactionHash: H256;1408 readonly exitReason: EvmCoreErrorExitReason;1409 } & Struct;1410 readonly type: 'Executed';1411 }14121413 /** @name EvmCoreErrorExitReason (114) */1414 interface EvmCoreErrorExitReason extends Enum {1415 readonly isSucceed: boolean;1416 readonly asSucceed: EvmCoreErrorExitSucceed;1417 readonly isError: boolean;1418 readonly asError: EvmCoreErrorExitError;1419 readonly isRevert: boolean;1420 readonly asRevert: EvmCoreErrorExitRevert;1421 readonly isFatal: boolean;1422 readonly asFatal: EvmCoreErrorExitFatal;1423 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1424 }14251426 /** @name EvmCoreErrorExitSucceed (115) */1427 interface EvmCoreErrorExitSucceed extends Enum {1428 readonly isStopped: boolean;1429 readonly isReturned: boolean;1430 readonly isSuicided: boolean;1431 readonly type: 'Stopped' | 'Returned' | 'Suicided';1432 }14331434 /** @name EvmCoreErrorExitError (116) */1435 interface EvmCoreErrorExitError extends Enum {1436 readonly isStackUnderflow: boolean;1437 readonly isStackOverflow: boolean;1438 readonly isInvalidJump: boolean;1439 readonly isInvalidRange: boolean;1440 readonly isDesignatedInvalid: boolean;1441 readonly isCallTooDeep: boolean;1442 readonly isCreateCollision: boolean;1443 readonly isCreateContractLimit: boolean;1444 readonly isOutOfOffset: boolean;1445 readonly isOutOfGas: boolean;1446 readonly isOutOfFund: boolean;1447 readonly isPcUnderflow: boolean;1448 readonly isCreateEmpty: boolean;1449 readonly isOther: boolean;1450 readonly asOther: Text;1451 readonly isInvalidCode: boolean;1452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1453 }14541455 /** @name EvmCoreErrorExitRevert (119) */1456 interface EvmCoreErrorExitRevert extends Enum {1457 readonly isReverted: boolean;1458 readonly type: 'Reverted';1459 }14601461 /** @name EvmCoreErrorExitFatal (120) */1462 interface EvmCoreErrorExitFatal extends Enum {1463 readonly isNotSupported: boolean;1464 readonly isUnhandledInterrupt: boolean;1465 readonly isCallErrorAsFatal: boolean;1466 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1467 readonly isOther: boolean;1468 readonly asOther: Text;1469 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1470 }14711472 /** @name PalletEvmContractHelpersEvent (121) */1473 interface PalletEvmContractHelpersEvent extends Enum {1474 readonly isContractSponsorSet: boolean;1475 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1476 readonly isContractSponsorshipConfirmed: boolean;1477 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1478 readonly isContractSponsorRemoved: boolean;1479 readonly asContractSponsorRemoved: H160;1480 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1481 }14821483 /** @name PalletEvmMigrationEvent (122) */1484 interface PalletEvmMigrationEvent extends Enum {1485 readonly isTestEvent: boolean;1486 readonly type: 'TestEvent';1487 }14881489 /** @name PalletMaintenanceEvent (123) */1490 interface PalletMaintenanceEvent extends Enum {1491 readonly isMaintenanceEnabled: boolean;1492 readonly isMaintenanceDisabled: boolean;1493 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1494 }14951496 /** @name PalletTestUtilsEvent (124) */1497 interface PalletTestUtilsEvent extends Enum {1498 readonly isValueIsSet: boolean;1499 readonly isShouldRollback: boolean;1500 readonly isBatchCompleted: boolean;1501 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1502 }15031504 /** @name FrameSystemPhase (125) */1505 interface FrameSystemPhase extends Enum {1506 readonly isApplyExtrinsic: boolean;1507 readonly asApplyExtrinsic: u32;1508 readonly isFinalization: boolean;1509 readonly isInitialization: boolean;1510 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1511 }15121513 /** @name FrameSystemLastRuntimeUpgradeInfo (127) */1514 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1515 readonly specVersion: Compact<u32>;1516 readonly specName: Text;1517 }15181519 /** @name FrameSystemCall (128) */1520 interface FrameSystemCall extends Enum {1521 readonly isFillBlock: boolean;1522 readonly asFillBlock: {1523 readonly ratio: Perbill;1524 } & Struct;1525 readonly isRemark: boolean;1526 readonly asRemark: {1527 readonly remark: Bytes;1528 } & Struct;1529 readonly isSetHeapPages: boolean;1530 readonly asSetHeapPages: {1531 readonly pages: u64;1532 } & Struct;1533 readonly isSetCode: boolean;1534 readonly asSetCode: {1535 readonly code: Bytes;1536 } & Struct;1537 readonly isSetCodeWithoutChecks: boolean;1538 readonly asSetCodeWithoutChecks: {1539 readonly code: Bytes;1540 } & Struct;1541 readonly isSetStorage: boolean;1542 readonly asSetStorage: {1543 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1544 } & Struct;1545 readonly isKillStorage: boolean;1546 readonly asKillStorage: {1547 readonly keys_: Vec<Bytes>;1548 } & Struct;1549 readonly isKillPrefix: boolean;1550 readonly asKillPrefix: {1551 readonly prefix: Bytes;1552 readonly subkeys: u32;1553 } & Struct;1554 readonly isRemarkWithEvent: boolean;1555 readonly asRemarkWithEvent: {1556 readonly remark: Bytes;1557 } & Struct;1558 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1559 }15601561 /** @name FrameSystemLimitsBlockWeights (133) */1562 interface FrameSystemLimitsBlockWeights extends Struct {1563 readonly baseBlock: Weight;1564 readonly maxBlock: Weight;1565 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1566 }15671568 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (134) */1569 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1570 readonly normal: FrameSystemLimitsWeightsPerClass;1571 readonly operational: FrameSystemLimitsWeightsPerClass;1572 readonly mandatory: FrameSystemLimitsWeightsPerClass;1573 }15741575 /** @name FrameSystemLimitsWeightsPerClass (135) */1576 interface FrameSystemLimitsWeightsPerClass extends Struct {1577 readonly baseExtrinsic: Weight;1578 readonly maxExtrinsic: Option<Weight>;1579 readonly maxTotal: Option<Weight>;1580 readonly reserved: Option<Weight>;1581 }15821583 /** @name FrameSystemLimitsBlockLength (137) */1584 interface FrameSystemLimitsBlockLength extends Struct {1585 readonly max: FrameSupportDispatchPerDispatchClassU32;1586 }15871588 /** @name FrameSupportDispatchPerDispatchClassU32 (138) */1589 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1590 readonly normal: u32;1591 readonly operational: u32;1592 readonly mandatory: u32;1593 }15941595 /** @name SpWeightsRuntimeDbWeight (139) */1596 interface SpWeightsRuntimeDbWeight extends Struct {1597 readonly read: u64;1598 readonly write: u64;1599 }16001601 /** @name SpVersionRuntimeVersion (140) */1602 interface SpVersionRuntimeVersion extends Struct {1603 readonly specName: Text;1604 readonly implName: Text;1605 readonly authoringVersion: u32;1606 readonly specVersion: u32;1607 readonly implVersion: u32;1608 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1609 readonly transactionVersion: u32;1610 readonly stateVersion: u8;1611 }16121613 /** @name FrameSystemError (145) */1614 interface FrameSystemError extends Enum {1615 readonly isInvalidSpecName: boolean;1616 readonly isSpecVersionNeedsToIncrease: boolean;1617 readonly isFailedToExtractRuntimeVersion: boolean;1618 readonly isNonDefaultComposite: boolean;1619 readonly isNonZeroRefCount: boolean;1620 readonly isCallFiltered: boolean;1621 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1622 }16231624 /** @name PolkadotPrimitivesV2PersistedValidationData (146) */1625 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1626 readonly parentHead: Bytes;1627 readonly relayParentNumber: u32;1628 readonly relayParentStorageRoot: H256;1629 readonly maxPovSize: u32;1630 }16311632 /** @name PolkadotPrimitivesV2UpgradeRestriction (149) */1633 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1634 readonly isPresent: boolean;1635 readonly type: 'Present';1636 }16371638 /** @name SpTrieStorageProof (150) */1639 interface SpTrieStorageProof extends Struct {1640 readonly trieNodes: BTreeSet<Bytes>;1641 }16421643 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (152) */1644 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1645 readonly dmqMqcHead: H256;1646 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1647 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1648 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1649 }16501651 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (155) */1652 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1653 readonly maxCapacity: u32;1654 readonly maxTotalSize: u32;1655 readonly maxMessageSize: u32;1656 readonly msgCount: u32;1657 readonly totalSize: u32;1658 readonly mqcHead: Option<H256>;1659 }16601661 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (156) */1662 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1663 readonly maxCodeSize: u32;1664 readonly maxHeadDataSize: u32;1665 readonly maxUpwardQueueCount: u32;1666 readonly maxUpwardQueueSize: u32;1667 readonly maxUpwardMessageSize: u32;1668 readonly maxUpwardMessageNumPerCandidate: u32;1669 readonly hrmpMaxMessageNumPerCandidate: u32;1670 readonly validationUpgradeCooldown: u32;1671 readonly validationUpgradeDelay: u32;1672 }16731674 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (162) */1675 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1676 readonly recipient: u32;1677 readonly data: Bytes;1678 }16791680 /** @name CumulusPalletParachainSystemCall (163) */1681 interface CumulusPalletParachainSystemCall extends Enum {1682 readonly isSetValidationData: boolean;1683 readonly asSetValidationData: {1684 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1685 } & Struct;1686 readonly isSudoSendUpwardMessage: boolean;1687 readonly asSudoSendUpwardMessage: {1688 readonly message: Bytes;1689 } & Struct;1690 readonly isAuthorizeUpgrade: boolean;1691 readonly asAuthorizeUpgrade: {1692 readonly codeHash: H256;1693 } & Struct;1694 readonly isEnactAuthorizedUpgrade: boolean;1695 readonly asEnactAuthorizedUpgrade: {1696 readonly code: Bytes;1697 } & Struct;1698 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1699 }17001701 /** @name CumulusPrimitivesParachainInherentParachainInherentData (164) */1702 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1703 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1704 readonly relayChainState: SpTrieStorageProof;1705 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1706 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1707 }17081709 /** @name PolkadotCorePrimitivesInboundDownwardMessage (166) */1710 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1711 readonly sentAt: u32;1712 readonly msg: Bytes;1713 }17141715 /** @name PolkadotCorePrimitivesInboundHrmpMessage (169) */1716 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1717 readonly sentAt: u32;1718 readonly data: Bytes;1719 }17201721 /** @name CumulusPalletParachainSystemError (172) */1722 interface CumulusPalletParachainSystemError extends Enum {1723 readonly isOverlappingUpgrades: boolean;1724 readonly isProhibitedByPolkadot: boolean;1725 readonly isTooBig: boolean;1726 readonly isValidationDataNotAvailable: boolean;1727 readonly isHostConfigurationNotAvailable: boolean;1728 readonly isNotScheduled: boolean;1729 readonly isNothingAuthorized: boolean;1730 readonly isUnauthorized: boolean;1731 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1732 }17331734 /** @name PalletBalancesBalanceLock (174) */1735 interface PalletBalancesBalanceLock extends Struct {1736 readonly id: U8aFixed;1737 readonly amount: u128;1738 readonly reasons: PalletBalancesReasons;1739 }17401741 /** @name PalletBalancesReasons (175) */1742 interface PalletBalancesReasons extends Enum {1743 readonly isFee: boolean;1744 readonly isMisc: boolean;1745 readonly isAll: boolean;1746 readonly type: 'Fee' | 'Misc' | 'All';1747 }17481749 /** @name PalletBalancesReserveData (178) */1750 interface PalletBalancesReserveData extends Struct {1751 readonly id: U8aFixed;1752 readonly amount: u128;1753 }17541755 /** @name PalletBalancesReleases (180) */1756 interface PalletBalancesReleases extends Enum {1757 readonly isV100: boolean;1758 readonly isV200: boolean;1759 readonly type: 'V100' | 'V200';1760 }17611762 /** @name PalletBalancesCall (181) */1763 interface PalletBalancesCall extends Enum {1764 readonly isTransfer: boolean;1765 readonly asTransfer: {1766 readonly dest: MultiAddress;1767 readonly value: Compact<u128>;1768 } & Struct;1769 readonly isSetBalance: boolean;1770 readonly asSetBalance: {1771 readonly who: MultiAddress;1772 readonly newFree: Compact<u128>;1773 readonly newReserved: Compact<u128>;1774 } & Struct;1775 readonly isForceTransfer: boolean;1776 readonly asForceTransfer: {1777 readonly source: MultiAddress;1778 readonly dest: MultiAddress;1779 readonly value: Compact<u128>;1780 } & Struct;1781 readonly isTransferKeepAlive: boolean;1782 readonly asTransferKeepAlive: {1783 readonly dest: MultiAddress;1784 readonly value: Compact<u128>;1785 } & Struct;1786 readonly isTransferAll: boolean;1787 readonly asTransferAll: {1788 readonly dest: MultiAddress;1789 readonly keepAlive: bool;1790 } & Struct;1791 readonly isForceUnreserve: boolean;1792 readonly asForceUnreserve: {1793 readonly who: MultiAddress;1794 readonly amount: u128;1795 } & Struct;1796 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1797 }17981799 /** @name PalletBalancesError (184) */1800 interface PalletBalancesError extends Enum {1801 readonly isVestingBalance: boolean;1802 readonly isLiquidityRestrictions: boolean;1803 readonly isInsufficientBalance: boolean;1804 readonly isExistentialDeposit: boolean;1805 readonly isKeepAlive: boolean;1806 readonly isExistingVestingSchedule: boolean;1807 readonly isDeadAccount: boolean;1808 readonly isTooManyReserves: boolean;1809 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1810 }18111812 /** @name PalletTimestampCall (186) */1813 interface PalletTimestampCall extends Enum {1814 readonly isSet: boolean;1815 readonly asSet: {1816 readonly now: Compact<u64>;1817 } & Struct;1818 readonly type: 'Set';1819 }18201821 /** @name PalletTransactionPaymentReleases (188) */1822 interface PalletTransactionPaymentReleases extends Enum {1823 readonly isV1Ancient: boolean;1824 readonly isV2: boolean;1825 readonly type: 'V1Ancient' | 'V2';1826 }18271828 /** @name PalletTreasuryProposal (189) */1829 interface PalletTreasuryProposal extends Struct {1830 readonly proposer: AccountId32;1831 readonly value: u128;1832 readonly beneficiary: AccountId32;1833 readonly bond: u128;1834 }18351836 /** @name PalletTreasuryCall (192) */1837 interface PalletTreasuryCall extends Enum {1838 readonly isProposeSpend: boolean;1839 readonly asProposeSpend: {1840 readonly value: Compact<u128>;1841 readonly beneficiary: MultiAddress;1842 } & Struct;1843 readonly isRejectProposal: boolean;1844 readonly asRejectProposal: {1845 readonly proposalId: Compact<u32>;1846 } & Struct;1847 readonly isApproveProposal: boolean;1848 readonly asApproveProposal: {1849 readonly proposalId: Compact<u32>;1850 } & Struct;1851 readonly isSpend: boolean;1852 readonly asSpend: {1853 readonly amount: Compact<u128>;1854 readonly beneficiary: MultiAddress;1855 } & Struct;1856 readonly isRemoveApproval: boolean;1857 readonly asRemoveApproval: {1858 readonly proposalId: Compact<u32>;1859 } & Struct;1860 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1861 }18621863 /** @name FrameSupportPalletId (195) */1864 interface FrameSupportPalletId extends U8aFixed {}18651866 /** @name PalletTreasuryError (196) */1867 interface PalletTreasuryError extends Enum {1868 readonly isInsufficientProposersBalance: boolean;1869 readonly isInvalidIndex: boolean;1870 readonly isTooManyApprovals: boolean;1871 readonly isInsufficientPermission: boolean;1872 readonly isProposalNotApproved: boolean;1873 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1874 }18751876 /** @name PalletSudoCall (197) */1877 interface PalletSudoCall extends Enum {1878 readonly isSudo: boolean;1879 readonly asSudo: {1880 readonly call: Call;1881 } & Struct;1882 readonly isSudoUncheckedWeight: boolean;1883 readonly asSudoUncheckedWeight: {1884 readonly call: Call;1885 readonly weight: Weight;1886 } & Struct;1887 readonly isSetKey: boolean;1888 readonly asSetKey: {1889 readonly new_: MultiAddress;1890 } & Struct;1891 readonly isSudoAs: boolean;1892 readonly asSudoAs: {1893 readonly who: MultiAddress;1894 readonly call: Call;1895 } & Struct;1896 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1897 }18981899 /** @name OrmlVestingModuleCall (199) */1900 interface OrmlVestingModuleCall extends Enum {1901 readonly isClaim: boolean;1902 readonly isVestedTransfer: boolean;1903 readonly asVestedTransfer: {1904 readonly dest: MultiAddress;1905 readonly schedule: OrmlVestingVestingSchedule;1906 } & Struct;1907 readonly isUpdateVestingSchedules: boolean;1908 readonly asUpdateVestingSchedules: {1909 readonly who: MultiAddress;1910 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1911 } & Struct;1912 readonly isClaimFor: boolean;1913 readonly asClaimFor: {1914 readonly dest: MultiAddress;1915 } & Struct;1916 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1917 }19181919 /** @name OrmlXtokensModuleCall (201) */1920 interface OrmlXtokensModuleCall extends Enum {1921 readonly isTransfer: boolean;1922 readonly asTransfer: {1923 readonly currencyId: PalletForeignAssetsAssetIds;1924 readonly amount: u128;1925 readonly dest: XcmVersionedMultiLocation;1926 readonly destWeight: u64;1927 } & Struct;1928 readonly isTransferMultiasset: boolean;1929 readonly asTransferMultiasset: {1930 readonly asset: XcmVersionedMultiAsset;1931 readonly dest: XcmVersionedMultiLocation;1932 readonly destWeight: u64;1933 } & Struct;1934 readonly isTransferWithFee: boolean;1935 readonly asTransferWithFee: {1936 readonly currencyId: PalletForeignAssetsAssetIds;1937 readonly amount: u128;1938 readonly fee: u128;1939 readonly dest: XcmVersionedMultiLocation;1940 readonly destWeight: u64;1941 } & Struct;1942 readonly isTransferMultiassetWithFee: boolean;1943 readonly asTransferMultiassetWithFee: {1944 readonly asset: XcmVersionedMultiAsset;1945 readonly fee: XcmVersionedMultiAsset;1946 readonly dest: XcmVersionedMultiLocation;1947 readonly destWeight: u64;1948 } & Struct;1949 readonly isTransferMulticurrencies: boolean;1950 readonly asTransferMulticurrencies: {1951 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;1952 readonly feeItem: u32;1953 readonly dest: XcmVersionedMultiLocation;1954 readonly destWeight: u64;1955 } & Struct;1956 readonly isTransferMultiassets: boolean;1957 readonly asTransferMultiassets: {1958 readonly assets: XcmVersionedMultiAssets;1959 readonly feeItem: u32;1960 readonly dest: XcmVersionedMultiLocation;1961 readonly destWeight: u64;1962 } & Struct;1963 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1964 }19651966 /** @name XcmVersionedMultiAsset (202) */1967 interface XcmVersionedMultiAsset extends Enum {1968 readonly isV0: boolean;1969 readonly asV0: XcmV0MultiAsset;1970 readonly isV1: boolean;1971 readonly asV1: XcmV1MultiAsset;1972 readonly type: 'V0' | 'V1';1973 }19741975 /** @name OrmlTokensModuleCall (205) */1976 interface OrmlTokensModuleCall extends Enum {1977 readonly isTransfer: boolean;1978 readonly asTransfer: {1979 readonly dest: MultiAddress;1980 readonly currencyId: PalletForeignAssetsAssetIds;1981 readonly amount: Compact<u128>;1982 } & Struct;1983 readonly isTransferAll: boolean;1984 readonly asTransferAll: {1985 readonly dest: MultiAddress;1986 readonly currencyId: PalletForeignAssetsAssetIds;1987 readonly keepAlive: bool;1988 } & Struct;1989 readonly isTransferKeepAlive: boolean;1990 readonly asTransferKeepAlive: {1991 readonly dest: MultiAddress;1992 readonly currencyId: PalletForeignAssetsAssetIds;1993 readonly amount: Compact<u128>;1994 } & Struct;1995 readonly isForceTransfer: boolean;1996 readonly asForceTransfer: {1997 readonly source: MultiAddress;1998 readonly dest: MultiAddress;1999 readonly currencyId: PalletForeignAssetsAssetIds;2000 readonly amount: Compact<u128>;2001 } & Struct;2002 readonly isSetBalance: boolean;2003 readonly asSetBalance: {2004 readonly who: MultiAddress;2005 readonly currencyId: PalletForeignAssetsAssetIds;2006 readonly newFree: Compact<u128>;2007 readonly newReserved: Compact<u128>;2008 } & Struct;2009 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2010 }20112012 /** @name CumulusPalletXcmpQueueCall (206) */2013 interface CumulusPalletXcmpQueueCall extends Enum {2014 readonly isServiceOverweight: boolean;2015 readonly asServiceOverweight: {2016 readonly index: u64;2017 readonly weightLimit: Weight;2018 } & Struct;2019 readonly isSuspendXcmExecution: boolean;2020 readonly isResumeXcmExecution: boolean;2021 readonly isUpdateSuspendThreshold: boolean;2022 readonly asUpdateSuspendThreshold: {2023 readonly new_: u32;2024 } & Struct;2025 readonly isUpdateDropThreshold: boolean;2026 readonly asUpdateDropThreshold: {2027 readonly new_: u32;2028 } & Struct;2029 readonly isUpdateResumeThreshold: boolean;2030 readonly asUpdateResumeThreshold: {2031 readonly new_: u32;2032 } & Struct;2033 readonly isUpdateThresholdWeight: boolean;2034 readonly asUpdateThresholdWeight: {2035 readonly new_: Weight;2036 } & Struct;2037 readonly isUpdateWeightRestrictDecay: boolean;2038 readonly asUpdateWeightRestrictDecay: {2039 readonly new_: Weight;2040 } & Struct;2041 readonly isUpdateXcmpMaxIndividualWeight: boolean;2042 readonly asUpdateXcmpMaxIndividualWeight: {2043 readonly new_: Weight;2044 } & Struct;2045 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2046 }20472048 /** @name PalletXcmCall (207) */2049 interface PalletXcmCall extends Enum {2050 readonly isSend: boolean;2051 readonly asSend: {2052 readonly dest: XcmVersionedMultiLocation;2053 readonly message: XcmVersionedXcm;2054 } & Struct;2055 readonly isTeleportAssets: boolean;2056 readonly asTeleportAssets: {2057 readonly dest: XcmVersionedMultiLocation;2058 readonly beneficiary: XcmVersionedMultiLocation;2059 readonly assets: XcmVersionedMultiAssets;2060 readonly feeAssetItem: u32;2061 } & Struct;2062 readonly isReserveTransferAssets: boolean;2063 readonly asReserveTransferAssets: {2064 readonly dest: XcmVersionedMultiLocation;2065 readonly beneficiary: XcmVersionedMultiLocation;2066 readonly assets: XcmVersionedMultiAssets;2067 readonly feeAssetItem: u32;2068 } & Struct;2069 readonly isExecute: boolean;2070 readonly asExecute: {2071 readonly message: XcmVersionedXcm;2072 readonly maxWeight: Weight;2073 } & Struct;2074 readonly isForceXcmVersion: boolean;2075 readonly asForceXcmVersion: {2076 readonly location: XcmV1MultiLocation;2077 readonly xcmVersion: u32;2078 } & Struct;2079 readonly isForceDefaultXcmVersion: boolean;2080 readonly asForceDefaultXcmVersion: {2081 readonly maybeXcmVersion: Option<u32>;2082 } & Struct;2083 readonly isForceSubscribeVersionNotify: boolean;2084 readonly asForceSubscribeVersionNotify: {2085 readonly location: XcmVersionedMultiLocation;2086 } & Struct;2087 readonly isForceUnsubscribeVersionNotify: boolean;2088 readonly asForceUnsubscribeVersionNotify: {2089 readonly location: XcmVersionedMultiLocation;2090 } & Struct;2091 readonly isLimitedReserveTransferAssets: boolean;2092 readonly asLimitedReserveTransferAssets: {2093 readonly dest: XcmVersionedMultiLocation;2094 readonly beneficiary: XcmVersionedMultiLocation;2095 readonly assets: XcmVersionedMultiAssets;2096 readonly feeAssetItem: u32;2097 readonly weightLimit: XcmV2WeightLimit;2098 } & Struct;2099 readonly isLimitedTeleportAssets: boolean;2100 readonly asLimitedTeleportAssets: {2101 readonly dest: XcmVersionedMultiLocation;2102 readonly beneficiary: XcmVersionedMultiLocation;2103 readonly assets: XcmVersionedMultiAssets;2104 readonly feeAssetItem: u32;2105 readonly weightLimit: XcmV2WeightLimit;2106 } & Struct;2107 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2108 }21092110 /** @name XcmVersionedXcm (208) */2111 interface XcmVersionedXcm extends Enum {2112 readonly isV0: boolean;2113 readonly asV0: XcmV0Xcm;2114 readonly isV1: boolean;2115 readonly asV1: XcmV1Xcm;2116 readonly isV2: boolean;2117 readonly asV2: XcmV2Xcm;2118 readonly type: 'V0' | 'V1' | 'V2';2119 }21202121 /** @name XcmV0Xcm (209) */2122 interface XcmV0Xcm extends Enum {2123 readonly isWithdrawAsset: boolean;2124 readonly asWithdrawAsset: {2125 readonly assets: Vec<XcmV0MultiAsset>;2126 readonly effects: Vec<XcmV0Order>;2127 } & Struct;2128 readonly isReserveAssetDeposit: boolean;2129 readonly asReserveAssetDeposit: {2130 readonly assets: Vec<XcmV0MultiAsset>;2131 readonly effects: Vec<XcmV0Order>;2132 } & Struct;2133 readonly isTeleportAsset: boolean;2134 readonly asTeleportAsset: {2135 readonly assets: Vec<XcmV0MultiAsset>;2136 readonly effects: Vec<XcmV0Order>;2137 } & Struct;2138 readonly isQueryResponse: boolean;2139 readonly asQueryResponse: {2140 readonly queryId: Compact<u64>;2141 readonly response: XcmV0Response;2142 } & Struct;2143 readonly isTransferAsset: boolean;2144 readonly asTransferAsset: {2145 readonly assets: Vec<XcmV0MultiAsset>;2146 readonly dest: XcmV0MultiLocation;2147 } & Struct;2148 readonly isTransferReserveAsset: boolean;2149 readonly asTransferReserveAsset: {2150 readonly assets: Vec<XcmV0MultiAsset>;2151 readonly dest: XcmV0MultiLocation;2152 readonly effects: Vec<XcmV0Order>;2153 } & Struct;2154 readonly isTransact: boolean;2155 readonly asTransact: {2156 readonly originType: XcmV0OriginKind;2157 readonly requireWeightAtMost: u64;2158 readonly call: XcmDoubleEncoded;2159 } & Struct;2160 readonly isHrmpNewChannelOpenRequest: boolean;2161 readonly asHrmpNewChannelOpenRequest: {2162 readonly sender: Compact<u32>;2163 readonly maxMessageSize: Compact<u32>;2164 readonly maxCapacity: Compact<u32>;2165 } & Struct;2166 readonly isHrmpChannelAccepted: boolean;2167 readonly asHrmpChannelAccepted: {2168 readonly recipient: Compact<u32>;2169 } & Struct;2170 readonly isHrmpChannelClosing: boolean;2171 readonly asHrmpChannelClosing: {2172 readonly initiator: Compact<u32>;2173 readonly sender: Compact<u32>;2174 readonly recipient: Compact<u32>;2175 } & Struct;2176 readonly isRelayedFrom: boolean;2177 readonly asRelayedFrom: {2178 readonly who: XcmV0MultiLocation;2179 readonly message: XcmV0Xcm;2180 } & Struct;2181 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2182 }21832184 /** @name XcmV0Order (211) */2185 interface XcmV0Order extends Enum {2186 readonly isNull: boolean;2187 readonly isDepositAsset: boolean;2188 readonly asDepositAsset: {2189 readonly assets: Vec<XcmV0MultiAsset>;2190 readonly dest: XcmV0MultiLocation;2191 } & Struct;2192 readonly isDepositReserveAsset: boolean;2193 readonly asDepositReserveAsset: {2194 readonly assets: Vec<XcmV0MultiAsset>;2195 readonly dest: XcmV0MultiLocation;2196 readonly effects: Vec<XcmV0Order>;2197 } & Struct;2198 readonly isExchangeAsset: boolean;2199 readonly asExchangeAsset: {2200 readonly give: Vec<XcmV0MultiAsset>;2201 readonly receive: Vec<XcmV0MultiAsset>;2202 } & Struct;2203 readonly isInitiateReserveWithdraw: boolean;2204 readonly asInitiateReserveWithdraw: {2205 readonly assets: Vec<XcmV0MultiAsset>;2206 readonly reserve: XcmV0MultiLocation;2207 readonly effects: Vec<XcmV0Order>;2208 } & Struct;2209 readonly isInitiateTeleport: boolean;2210 readonly asInitiateTeleport: {2211 readonly assets: Vec<XcmV0MultiAsset>;2212 readonly dest: XcmV0MultiLocation;2213 readonly effects: Vec<XcmV0Order>;2214 } & Struct;2215 readonly isQueryHolding: boolean;2216 readonly asQueryHolding: {2217 readonly queryId: Compact<u64>;2218 readonly dest: XcmV0MultiLocation;2219 readonly assets: Vec<XcmV0MultiAsset>;2220 } & Struct;2221 readonly isBuyExecution: boolean;2222 readonly asBuyExecution: {2223 readonly fees: XcmV0MultiAsset;2224 readonly weight: u64;2225 readonly debt: u64;2226 readonly haltOnError: bool;2227 readonly xcm: Vec<XcmV0Xcm>;2228 } & Struct;2229 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2230 }22312232 /** @name XcmV0Response (213) */2233 interface XcmV0Response extends Enum {2234 readonly isAssets: boolean;2235 readonly asAssets: Vec<XcmV0MultiAsset>;2236 readonly type: 'Assets';2237 }22382239 /** @name XcmV1Xcm (214) */2240 interface XcmV1Xcm extends Enum {2241 readonly isWithdrawAsset: boolean;2242 readonly asWithdrawAsset: {2243 readonly assets: XcmV1MultiassetMultiAssets;2244 readonly effects: Vec<XcmV1Order>;2245 } & Struct;2246 readonly isReserveAssetDeposited: boolean;2247 readonly asReserveAssetDeposited: {2248 readonly assets: XcmV1MultiassetMultiAssets;2249 readonly effects: Vec<XcmV1Order>;2250 } & Struct;2251 readonly isReceiveTeleportedAsset: boolean;2252 readonly asReceiveTeleportedAsset: {2253 readonly assets: XcmV1MultiassetMultiAssets;2254 readonly effects: Vec<XcmV1Order>;2255 } & Struct;2256 readonly isQueryResponse: boolean;2257 readonly asQueryResponse: {2258 readonly queryId: Compact<u64>;2259 readonly response: XcmV1Response;2260 } & Struct;2261 readonly isTransferAsset: boolean;2262 readonly asTransferAsset: {2263 readonly assets: XcmV1MultiassetMultiAssets;2264 readonly beneficiary: XcmV1MultiLocation;2265 } & Struct;2266 readonly isTransferReserveAsset: boolean;2267 readonly asTransferReserveAsset: {2268 readonly assets: XcmV1MultiassetMultiAssets;2269 readonly dest: XcmV1MultiLocation;2270 readonly effects: Vec<XcmV1Order>;2271 } & Struct;2272 readonly isTransact: boolean;2273 readonly asTransact: {2274 readonly originType: XcmV0OriginKind;2275 readonly requireWeightAtMost: u64;2276 readonly call: XcmDoubleEncoded;2277 } & Struct;2278 readonly isHrmpNewChannelOpenRequest: boolean;2279 readonly asHrmpNewChannelOpenRequest: {2280 readonly sender: Compact<u32>;2281 readonly maxMessageSize: Compact<u32>;2282 readonly maxCapacity: Compact<u32>;2283 } & Struct;2284 readonly isHrmpChannelAccepted: boolean;2285 readonly asHrmpChannelAccepted: {2286 readonly recipient: Compact<u32>;2287 } & Struct;2288 readonly isHrmpChannelClosing: boolean;2289 readonly asHrmpChannelClosing: {2290 readonly initiator: Compact<u32>;2291 readonly sender: Compact<u32>;2292 readonly recipient: Compact<u32>;2293 } & Struct;2294 readonly isRelayedFrom: boolean;2295 readonly asRelayedFrom: {2296 readonly who: XcmV1MultilocationJunctions;2297 readonly message: XcmV1Xcm;2298 } & Struct;2299 readonly isSubscribeVersion: boolean;2300 readonly asSubscribeVersion: {2301 readonly queryId: Compact<u64>;2302 readonly maxResponseWeight: Compact<u64>;2303 } & Struct;2304 readonly isUnsubscribeVersion: boolean;2305 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2306 }23072308 /** @name XcmV1Order (216) */2309 interface XcmV1Order extends Enum {2310 readonly isNoop: boolean;2311 readonly isDepositAsset: boolean;2312 readonly asDepositAsset: {2313 readonly assets: XcmV1MultiassetMultiAssetFilter;2314 readonly maxAssets: u32;2315 readonly beneficiary: XcmV1MultiLocation;2316 } & Struct;2317 readonly isDepositReserveAsset: boolean;2318 readonly asDepositReserveAsset: {2319 readonly assets: XcmV1MultiassetMultiAssetFilter;2320 readonly maxAssets: u32;2321 readonly dest: XcmV1MultiLocation;2322 readonly effects: Vec<XcmV1Order>;2323 } & Struct;2324 readonly isExchangeAsset: boolean;2325 readonly asExchangeAsset: {2326 readonly give: XcmV1MultiassetMultiAssetFilter;2327 readonly receive: XcmV1MultiassetMultiAssets;2328 } & Struct;2329 readonly isInitiateReserveWithdraw: boolean;2330 readonly asInitiateReserveWithdraw: {2331 readonly assets: XcmV1MultiassetMultiAssetFilter;2332 readonly reserve: XcmV1MultiLocation;2333 readonly effects: Vec<XcmV1Order>;2334 } & Struct;2335 readonly isInitiateTeleport: boolean;2336 readonly asInitiateTeleport: {2337 readonly assets: XcmV1MultiassetMultiAssetFilter;2338 readonly dest: XcmV1MultiLocation;2339 readonly effects: Vec<XcmV1Order>;2340 } & Struct;2341 readonly isQueryHolding: boolean;2342 readonly asQueryHolding: {2343 readonly queryId: Compact<u64>;2344 readonly dest: XcmV1MultiLocation;2345 readonly assets: XcmV1MultiassetMultiAssetFilter;2346 } & Struct;2347 readonly isBuyExecution: boolean;2348 readonly asBuyExecution: {2349 readonly fees: XcmV1MultiAsset;2350 readonly weight: u64;2351 readonly debt: u64;2352 readonly haltOnError: bool;2353 readonly instructions: Vec<XcmV1Xcm>;2354 } & Struct;2355 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2356 }23572358 /** @name XcmV1Response (218) */2359 interface XcmV1Response extends Enum {2360 readonly isAssets: boolean;2361 readonly asAssets: XcmV1MultiassetMultiAssets;2362 readonly isVersion: boolean;2363 readonly asVersion: u32;2364 readonly type: 'Assets' | 'Version';2365 }23662367 /** @name CumulusPalletXcmCall (232) */2368 type CumulusPalletXcmCall = Null;23692370 /** @name CumulusPalletDmpQueueCall (233) */2371 interface CumulusPalletDmpQueueCall extends Enum {2372 readonly isServiceOverweight: boolean;2373 readonly asServiceOverweight: {2374 readonly index: u64;2375 readonly weightLimit: Weight;2376 } & Struct;2377 readonly type: 'ServiceOverweight';2378 }23792380 /** @name PalletInflationCall (234) */2381 interface PalletInflationCall extends Enum {2382 readonly isStartInflation: boolean;2383 readonly asStartInflation: {2384 readonly inflationStartRelayBlock: u32;2385 } & Struct;2386 readonly type: 'StartInflation';2387 }23882389 /** @name PalletUniqueCall (235) */2390 interface PalletUniqueCall extends Enum {2391 readonly isCreateCollection: boolean;2392 readonly asCreateCollection: {2393 readonly collectionName: Vec<u16>;2394 readonly collectionDescription: Vec<u16>;2395 readonly tokenPrefix: Bytes;2396 readonly mode: UpDataStructsCollectionMode;2397 } & Struct;2398 readonly isCreateCollectionEx: boolean;2399 readonly asCreateCollectionEx: {2400 readonly data: UpDataStructsCreateCollectionData;2401 } & Struct;2402 readonly isDestroyCollection: boolean;2403 readonly asDestroyCollection: {2404 readonly collectionId: u32;2405 } & Struct;2406 readonly isAddToAllowList: boolean;2407 readonly asAddToAllowList: {2408 readonly collectionId: u32;2409 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2410 } & Struct;2411 readonly isRemoveFromAllowList: boolean;2412 readonly asRemoveFromAllowList: {2413 readonly collectionId: u32;2414 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2415 } & Struct;2416 readonly isChangeCollectionOwner: boolean;2417 readonly asChangeCollectionOwner: {2418 readonly collectionId: u32;2419 readonly newOwner: AccountId32;2420 } & Struct;2421 readonly isAddCollectionAdmin: boolean;2422 readonly asAddCollectionAdmin: {2423 readonly collectionId: u32;2424 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2425 } & Struct;2426 readonly isRemoveCollectionAdmin: boolean;2427 readonly asRemoveCollectionAdmin: {2428 readonly collectionId: u32;2429 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2430 } & Struct;2431 readonly isSetCollectionSponsor: boolean;2432 readonly asSetCollectionSponsor: {2433 readonly collectionId: u32;2434 readonly newSponsor: AccountId32;2435 } & Struct;2436 readonly isConfirmSponsorship: boolean;2437 readonly asConfirmSponsorship: {2438 readonly collectionId: u32;2439 } & Struct;2440 readonly isRemoveCollectionSponsor: boolean;2441 readonly asRemoveCollectionSponsor: {2442 readonly collectionId: u32;2443 } & Struct;2444 readonly isCreateItem: boolean;2445 readonly asCreateItem: {2446 readonly collectionId: u32;2447 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2448 readonly data: UpDataStructsCreateItemData;2449 } & Struct;2450 readonly isCreateMultipleItems: boolean;2451 readonly asCreateMultipleItems: {2452 readonly collectionId: u32;2453 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2454 readonly itemsData: Vec<UpDataStructsCreateItemData>;2455 } & Struct;2456 readonly isSetCollectionProperties: boolean;2457 readonly asSetCollectionProperties: {2458 readonly collectionId: u32;2459 readonly properties: Vec<UpDataStructsProperty>;2460 } & Struct;2461 readonly isDeleteCollectionProperties: boolean;2462 readonly asDeleteCollectionProperties: {2463 readonly collectionId: u32;2464 readonly propertyKeys: Vec<Bytes>;2465 } & Struct;2466 readonly isSetTokenProperties: boolean;2467 readonly asSetTokenProperties: {2468 readonly collectionId: u32;2469 readonly tokenId: u32;2470 readonly properties: Vec<UpDataStructsProperty>;2471 } & Struct;2472 readonly isDeleteTokenProperties: boolean;2473 readonly asDeleteTokenProperties: {2474 readonly collectionId: u32;2475 readonly tokenId: u32;2476 readonly propertyKeys: Vec<Bytes>;2477 } & Struct;2478 readonly isSetTokenPropertyPermissions: boolean;2479 readonly asSetTokenPropertyPermissions: {2480 readonly collectionId: u32;2481 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2482 } & Struct;2483 readonly isCreateMultipleItemsEx: boolean;2484 readonly asCreateMultipleItemsEx: {2485 readonly collectionId: u32;2486 readonly data: UpDataStructsCreateItemExData;2487 } & Struct;2488 readonly isSetTransfersEnabledFlag: boolean;2489 readonly asSetTransfersEnabledFlag: {2490 readonly collectionId: u32;2491 readonly value: bool;2492 } & Struct;2493 readonly isBurnItem: boolean;2494 readonly asBurnItem: {2495 readonly collectionId: u32;2496 readonly itemId: u32;2497 readonly value: u128;2498 } & Struct;2499 readonly isBurnFrom: boolean;2500 readonly asBurnFrom: {2501 readonly collectionId: u32;2502 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2503 readonly itemId: u32;2504 readonly value: u128;2505 } & Struct;2506 readonly isTransfer: boolean;2507 readonly asTransfer: {2508 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2509 readonly collectionId: u32;2510 readonly itemId: u32;2511 readonly value: u128;2512 } & Struct;2513 readonly isApprove: boolean;2514 readonly asApprove: {2515 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2516 readonly collectionId: u32;2517 readonly itemId: u32;2518 readonly amount: u128;2519 } & Struct;2520 readonly isTransferFrom: boolean;2521 readonly asTransferFrom: {2522 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2523 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2524 readonly collectionId: u32;2525 readonly itemId: u32;2526 readonly value: u128;2527 } & Struct;2528 readonly isSetCollectionLimits: boolean;2529 readonly asSetCollectionLimits: {2530 readonly collectionId: u32;2531 readonly newLimit: UpDataStructsCollectionLimits;2532 } & Struct;2533 readonly isSetCollectionPermissions: boolean;2534 readonly asSetCollectionPermissions: {2535 readonly collectionId: u32;2536 readonly newPermission: UpDataStructsCollectionPermissions;2537 } & Struct;2538 readonly isRepartition: boolean;2539 readonly asRepartition: {2540 readonly collectionId: u32;2541 readonly tokenId: u32;2542 readonly amount: u128;2543 } & Struct;2544 readonly isSetAllowanceForAll: boolean;2545 readonly asSetAllowanceForAll: {2546 readonly collectionId: u32;2547 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2548 readonly approve: bool;2549 } & Struct;2550 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll';2551 }25522553 /** @name UpDataStructsCollectionMode (240) */2554 interface UpDataStructsCollectionMode extends Enum {2555 readonly isNft: boolean;2556 readonly isFungible: boolean;2557 readonly asFungible: u8;2558 readonly isReFungible: boolean;2559 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2560 }25612562 /** @name UpDataStructsCreateCollectionData (241) */2563 interface UpDataStructsCreateCollectionData extends Struct {2564 readonly mode: UpDataStructsCollectionMode;2565 readonly access: Option<UpDataStructsAccessMode>;2566 readonly name: Vec<u16>;2567 readonly description: Vec<u16>;2568 readonly tokenPrefix: Bytes;2569 readonly pendingSponsor: Option<AccountId32>;2570 readonly limits: Option<UpDataStructsCollectionLimits>;2571 readonly permissions: Option<UpDataStructsCollectionPermissions>;2572 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2573 readonly properties: Vec<UpDataStructsProperty>;2574 }25752576 /** @name UpDataStructsAccessMode (243) */2577 interface UpDataStructsAccessMode extends Enum {2578 readonly isNormal: boolean;2579 readonly isAllowList: boolean;2580 readonly type: 'Normal' | 'AllowList';2581 }25822583 /** @name UpDataStructsCollectionLimits (245) */2584 interface UpDataStructsCollectionLimits extends Struct {2585 readonly accountTokenOwnershipLimit: Option<u32>;2586 readonly sponsoredDataSize: Option<u32>;2587 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2588 readonly tokenLimit: Option<u32>;2589 readonly sponsorTransferTimeout: Option<u32>;2590 readonly sponsorApproveTimeout: Option<u32>;2591 readonly ownerCanTransfer: Option<bool>;2592 readonly ownerCanDestroy: Option<bool>;2593 readonly transfersEnabled: Option<bool>;2594 }25952596 /** @name UpDataStructsSponsoringRateLimit (247) */2597 interface UpDataStructsSponsoringRateLimit extends Enum {2598 readonly isSponsoringDisabled: boolean;2599 readonly isBlocks: boolean;2600 readonly asBlocks: u32;2601 readonly type: 'SponsoringDisabled' | 'Blocks';2602 }26032604 /** @name UpDataStructsCollectionPermissions (250) */2605 interface UpDataStructsCollectionPermissions extends Struct {2606 readonly access: Option<UpDataStructsAccessMode>;2607 readonly mintMode: Option<bool>;2608 readonly nesting: Option<UpDataStructsNestingPermissions>;2609 }26102611 /** @name UpDataStructsNestingPermissions (252) */2612 interface UpDataStructsNestingPermissions extends Struct {2613 readonly tokenOwner: bool;2614 readonly collectionAdmin: bool;2615 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2616 }26172618 /** @name UpDataStructsOwnerRestrictedSet (254) */2619 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}26202621 /** @name UpDataStructsPropertyKeyPermission (259) */2622 interface UpDataStructsPropertyKeyPermission extends Struct {2623 readonly key: Bytes;2624 readonly permission: UpDataStructsPropertyPermission;2625 }26262627 /** @name UpDataStructsPropertyPermission (260) */2628 interface UpDataStructsPropertyPermission extends Struct {2629 readonly mutable: bool;2630 readonly collectionAdmin: bool;2631 readonly tokenOwner: bool;2632 }26332634 /** @name UpDataStructsProperty (263) */2635 interface UpDataStructsProperty extends Struct {2636 readonly key: Bytes;2637 readonly value: Bytes;2638 }26392640 /** @name UpDataStructsCreateItemData (266) */2641 interface UpDataStructsCreateItemData extends Enum {2642 readonly isNft: boolean;2643 readonly asNft: UpDataStructsCreateNftData;2644 readonly isFungible: boolean;2645 readonly asFungible: UpDataStructsCreateFungibleData;2646 readonly isReFungible: boolean;2647 readonly asReFungible: UpDataStructsCreateReFungibleData;2648 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2649 }26502651 /** @name UpDataStructsCreateNftData (267) */2652 interface UpDataStructsCreateNftData extends Struct {2653 readonly properties: Vec<UpDataStructsProperty>;2654 }26552656 /** @name UpDataStructsCreateFungibleData (268) */2657 interface UpDataStructsCreateFungibleData extends Struct {2658 readonly value: u128;2659 }26602661 /** @name UpDataStructsCreateReFungibleData (269) */2662 interface UpDataStructsCreateReFungibleData extends Struct {2663 readonly pieces: u128;2664 readonly properties: Vec<UpDataStructsProperty>;2665 }26662667 /** @name UpDataStructsCreateItemExData (272) */2668 interface UpDataStructsCreateItemExData extends Enum {2669 readonly isNft: boolean;2670 readonly asNft: Vec<UpDataStructsCreateNftExData>;2671 readonly isFungible: boolean;2672 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2673 readonly isRefungibleMultipleItems: boolean;2674 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2675 readonly isRefungibleMultipleOwners: boolean;2676 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2677 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2678 }26792680 /** @name UpDataStructsCreateNftExData (274) */2681 interface UpDataStructsCreateNftExData extends Struct {2682 readonly properties: Vec<UpDataStructsProperty>;2683 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2684 }26852686 /** @name UpDataStructsCreateRefungibleExSingleOwner (281) */2687 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2688 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2689 readonly pieces: u128;2690 readonly properties: Vec<UpDataStructsProperty>;2691 }26922693 /** @name UpDataStructsCreateRefungibleExMultipleOwners (283) */2694 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2695 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2696 readonly properties: Vec<UpDataStructsProperty>;2697 }26982699 /** @name PalletUniqueSchedulerV2Call (284) */2700 interface PalletUniqueSchedulerV2Call extends Enum {2701 readonly isSchedule: boolean;2702 readonly asSchedule: {2703 readonly when: u32;2704 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2705 readonly priority: Option<u8>;2706 readonly call: Call;2707 } & Struct;2708 readonly isCancel: boolean;2709 readonly asCancel: {2710 readonly when: u32;2711 readonly index: u32;2712 } & Struct;2713 readonly isScheduleNamed: boolean;2714 readonly asScheduleNamed: {2715 readonly id: U8aFixed;2716 readonly when: u32;2717 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2718 readonly priority: Option<u8>;2719 readonly call: Call;2720 } & Struct;2721 readonly isCancelNamed: boolean;2722 readonly asCancelNamed: {2723 readonly id: U8aFixed;2724 } & Struct;2725 readonly isScheduleAfter: boolean;2726 readonly asScheduleAfter: {2727 readonly after: u32;2728 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2729 readonly priority: Option<u8>;2730 readonly call: Call;2731 } & Struct;2732 readonly isScheduleNamedAfter: boolean;2733 readonly asScheduleNamedAfter: {2734 readonly id: U8aFixed;2735 readonly after: u32;2736 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2737 readonly priority: Option<u8>;2738 readonly call: Call;2739 } & Struct;2740 readonly isChangeNamedPriority: boolean;2741 readonly asChangeNamedPriority: {2742 readonly id: U8aFixed;2743 readonly priority: u8;2744 } & Struct;2745 readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter' | 'ChangeNamedPriority';2746 }27472748 /** @name PalletConfigurationCall (287) */2749 interface PalletConfigurationCall extends Enum {2750 readonly isSetWeightToFeeCoefficientOverride: boolean;2751 readonly asSetWeightToFeeCoefficientOverride: {2752 readonly coeff: Option<u32>;2753 } & Struct;2754 readonly isSetMinGasPriceOverride: boolean;2755 readonly asSetMinGasPriceOverride: {2756 readonly coeff: Option<u64>;2757 } & Struct;2758 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2759 }27602761 /** @name PalletTemplateTransactionPaymentCall (289) */2762 type PalletTemplateTransactionPaymentCall = Null;27632764 /** @name PalletStructureCall (290) */2765 type PalletStructureCall = Null;27662767 /** @name PalletRmrkCoreCall (291) */2768 interface PalletRmrkCoreCall extends Enum {2769 readonly isCreateCollection: boolean;2770 readonly asCreateCollection: {2771 readonly metadata: Bytes;2772 readonly max: Option<u32>;2773 readonly symbol: Bytes;2774 } & Struct;2775 readonly isDestroyCollection: boolean;2776 readonly asDestroyCollection: {2777 readonly collectionId: u32;2778 } & Struct;2779 readonly isChangeCollectionIssuer: boolean;2780 readonly asChangeCollectionIssuer: {2781 readonly collectionId: u32;2782 readonly newIssuer: MultiAddress;2783 } & Struct;2784 readonly isLockCollection: boolean;2785 readonly asLockCollection: {2786 readonly collectionId: u32;2787 } & Struct;2788 readonly isMintNft: boolean;2789 readonly asMintNft: {2790 readonly owner: Option<AccountId32>;2791 readonly collectionId: u32;2792 readonly recipient: Option<AccountId32>;2793 readonly royaltyAmount: Option<Permill>;2794 readonly metadata: Bytes;2795 readonly transferable: bool;2796 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2797 } & Struct;2798 readonly isBurnNft: boolean;2799 readonly asBurnNft: {2800 readonly collectionId: u32;2801 readonly nftId: u32;2802 readonly maxBurns: u32;2803 } & Struct;2804 readonly isSend: boolean;2805 readonly asSend: {2806 readonly rmrkCollectionId: u32;2807 readonly rmrkNftId: u32;2808 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2809 } & Struct;2810 readonly isAcceptNft: boolean;2811 readonly asAcceptNft: {2812 readonly rmrkCollectionId: u32;2813 readonly rmrkNftId: u32;2814 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2815 } & Struct;2816 readonly isRejectNft: boolean;2817 readonly asRejectNft: {2818 readonly rmrkCollectionId: u32;2819 readonly rmrkNftId: u32;2820 } & Struct;2821 readonly isAcceptResource: boolean;2822 readonly asAcceptResource: {2823 readonly rmrkCollectionId: u32;2824 readonly rmrkNftId: u32;2825 readonly resourceId: u32;2826 } & Struct;2827 readonly isAcceptResourceRemoval: boolean;2828 readonly asAcceptResourceRemoval: {2829 readonly rmrkCollectionId: u32;2830 readonly rmrkNftId: u32;2831 readonly resourceId: u32;2832 } & Struct;2833 readonly isSetProperty: boolean;2834 readonly asSetProperty: {2835 readonly rmrkCollectionId: Compact<u32>;2836 readonly maybeNftId: Option<u32>;2837 readonly key: Bytes;2838 readonly value: Bytes;2839 } & Struct;2840 readonly isSetPriority: boolean;2841 readonly asSetPriority: {2842 readonly rmrkCollectionId: u32;2843 readonly rmrkNftId: u32;2844 readonly priorities: Vec<u32>;2845 } & Struct;2846 readonly isAddBasicResource: boolean;2847 readonly asAddBasicResource: {2848 readonly rmrkCollectionId: u32;2849 readonly nftId: u32;2850 readonly resource: RmrkTraitsResourceBasicResource;2851 } & Struct;2852 readonly isAddComposableResource: boolean;2853 readonly asAddComposableResource: {2854 readonly rmrkCollectionId: u32;2855 readonly nftId: u32;2856 readonly resource: RmrkTraitsResourceComposableResource;2857 } & Struct;2858 readonly isAddSlotResource: boolean;2859 readonly asAddSlotResource: {2860 readonly rmrkCollectionId: u32;2861 readonly nftId: u32;2862 readonly resource: RmrkTraitsResourceSlotResource;2863 } & Struct;2864 readonly isRemoveResource: boolean;2865 readonly asRemoveResource: {2866 readonly rmrkCollectionId: u32;2867 readonly nftId: u32;2868 readonly resourceId: u32;2869 } & Struct;2870 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2871 }28722873 /** @name RmrkTraitsResourceResourceTypes (297) */2874 interface RmrkTraitsResourceResourceTypes extends Enum {2875 readonly isBasic: boolean;2876 readonly asBasic: RmrkTraitsResourceBasicResource;2877 readonly isComposable: boolean;2878 readonly asComposable: RmrkTraitsResourceComposableResource;2879 readonly isSlot: boolean;2880 readonly asSlot: RmrkTraitsResourceSlotResource;2881 readonly type: 'Basic' | 'Composable' | 'Slot';2882 }28832884 /** @name RmrkTraitsResourceBasicResource (299) */2885 interface RmrkTraitsResourceBasicResource extends Struct {2886 readonly src: Option<Bytes>;2887 readonly metadata: Option<Bytes>;2888 readonly license: Option<Bytes>;2889 readonly thumb: Option<Bytes>;2890 }28912892 /** @name RmrkTraitsResourceComposableResource (301) */2893 interface RmrkTraitsResourceComposableResource extends Struct {2894 readonly parts: Vec<u32>;2895 readonly base: u32;2896 readonly src: Option<Bytes>;2897 readonly metadata: Option<Bytes>;2898 readonly license: Option<Bytes>;2899 readonly thumb: Option<Bytes>;2900 }29012902 /** @name RmrkTraitsResourceSlotResource (302) */2903 interface RmrkTraitsResourceSlotResource extends Struct {2904 readonly base: u32;2905 readonly src: Option<Bytes>;2906 readonly metadata: Option<Bytes>;2907 readonly slot: u32;2908 readonly license: Option<Bytes>;2909 readonly thumb: Option<Bytes>;2910 }29112912 /** @name PalletRmrkEquipCall (305) */2913 interface PalletRmrkEquipCall extends Enum {2914 readonly isCreateBase: boolean;2915 readonly asCreateBase: {2916 readonly baseType: Bytes;2917 readonly symbol: Bytes;2918 readonly parts: Vec<RmrkTraitsPartPartType>;2919 } & Struct;2920 readonly isThemeAdd: boolean;2921 readonly asThemeAdd: {2922 readonly baseId: u32;2923 readonly theme: RmrkTraitsTheme;2924 } & Struct;2925 readonly isEquippable: boolean;2926 readonly asEquippable: {2927 readonly baseId: u32;2928 readonly slotId: u32;2929 readonly equippables: RmrkTraitsPartEquippableList;2930 } & Struct;2931 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2932 }29332934 /** @name RmrkTraitsPartPartType (308) */2935 interface RmrkTraitsPartPartType extends Enum {2936 readonly isFixedPart: boolean;2937 readonly asFixedPart: RmrkTraitsPartFixedPart;2938 readonly isSlotPart: boolean;2939 readonly asSlotPart: RmrkTraitsPartSlotPart;2940 readonly type: 'FixedPart' | 'SlotPart';2941 }29422943 /** @name RmrkTraitsPartFixedPart (310) */2944 interface RmrkTraitsPartFixedPart extends Struct {2945 readonly id: u32;2946 readonly z: u32;2947 readonly src: Bytes;2948 }29492950 /** @name RmrkTraitsPartSlotPart (311) */2951 interface RmrkTraitsPartSlotPart extends Struct {2952 readonly id: u32;2953 readonly equippable: RmrkTraitsPartEquippableList;2954 readonly src: Bytes;2955 readonly z: u32;2956 }29572958 /** @name RmrkTraitsPartEquippableList (312) */2959 interface RmrkTraitsPartEquippableList extends Enum {2960 readonly isAll: boolean;2961 readonly isEmpty: boolean;2962 readonly isCustom: boolean;2963 readonly asCustom: Vec<u32>;2964 readonly type: 'All' | 'Empty' | 'Custom';2965 }29662967 /** @name RmrkTraitsTheme (314) */2968 interface RmrkTraitsTheme extends Struct {2969 readonly name: Bytes;2970 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2971 readonly inherit: bool;2972 }29732974 /** @name RmrkTraitsThemeThemeProperty (316) */2975 interface RmrkTraitsThemeThemeProperty extends Struct {2976 readonly key: Bytes;2977 readonly value: Bytes;2978 }29792980 /** @name PalletAppPromotionCall (318) */2981 interface PalletAppPromotionCall extends Enum {2982 readonly isSetAdminAddress: boolean;2983 readonly asSetAdminAddress: {2984 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2985 } & Struct;2986 readonly isStake: boolean;2987 readonly asStake: {2988 readonly amount: u128;2989 } & Struct;2990 readonly isUnstake: boolean;2991 readonly isSponsorCollection: boolean;2992 readonly asSponsorCollection: {2993 readonly collectionId: u32;2994 } & Struct;2995 readonly isStopSponsoringCollection: boolean;2996 readonly asStopSponsoringCollection: {2997 readonly collectionId: u32;2998 } & Struct;2999 readonly isSponsorContract: boolean;3000 readonly asSponsorContract: {3001 readonly contractId: H160;3002 } & Struct;3003 readonly isStopSponsoringContract: boolean;3004 readonly asStopSponsoringContract: {3005 readonly contractId: H160;3006 } & Struct;3007 readonly isPayoutStakers: boolean;3008 readonly asPayoutStakers: {3009 readonly stakersNumber: Option<u8>;3010 } & Struct;3011 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3012 }30133014 /** @name PalletForeignAssetsModuleCall (319) */3015 interface PalletForeignAssetsModuleCall extends Enum {3016 readonly isRegisterForeignAsset: boolean;3017 readonly asRegisterForeignAsset: {3018 readonly owner: AccountId32;3019 readonly location: XcmVersionedMultiLocation;3020 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3021 } & Struct;3022 readonly isUpdateForeignAsset: boolean;3023 readonly asUpdateForeignAsset: {3024 readonly foreignAssetId: u32;3025 readonly location: XcmVersionedMultiLocation;3026 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3027 } & Struct;3028 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3029 }30303031 /** @name PalletEvmCall (320) */3032 interface PalletEvmCall extends Enum {3033 readonly isWithdraw: boolean;3034 readonly asWithdraw: {3035 readonly address: H160;3036 readonly value: u128;3037 } & Struct;3038 readonly isCall: boolean;3039 readonly asCall: {3040 readonly source: H160;3041 readonly target: H160;3042 readonly input: Bytes;3043 readonly value: U256;3044 readonly gasLimit: u64;3045 readonly maxFeePerGas: U256;3046 readonly maxPriorityFeePerGas: Option<U256>;3047 readonly nonce: Option<U256>;3048 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3049 } & Struct;3050 readonly isCreate: boolean;3051 readonly asCreate: {3052 readonly source: H160;3053 readonly init: Bytes;3054 readonly value: U256;3055 readonly gasLimit: u64;3056 readonly maxFeePerGas: U256;3057 readonly maxPriorityFeePerGas: Option<U256>;3058 readonly nonce: Option<U256>;3059 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3060 } & Struct;3061 readonly isCreate2: boolean;3062 readonly asCreate2: {3063 readonly source: H160;3064 readonly init: Bytes;3065 readonly salt: H256;3066 readonly value: U256;3067 readonly gasLimit: u64;3068 readonly maxFeePerGas: U256;3069 readonly maxPriorityFeePerGas: Option<U256>;3070 readonly nonce: Option<U256>;3071 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3072 } & Struct;3073 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3074 }30753076 /** @name PalletEthereumCall (326) */3077 interface PalletEthereumCall extends Enum {3078 readonly isTransact: boolean;3079 readonly asTransact: {3080 readonly transaction: EthereumTransactionTransactionV2;3081 } & Struct;3082 readonly type: 'Transact';3083 }30843085 /** @name EthereumTransactionTransactionV2 (327) */3086 interface EthereumTransactionTransactionV2 extends Enum {3087 readonly isLegacy: boolean;3088 readonly asLegacy: EthereumTransactionLegacyTransaction;3089 readonly isEip2930: boolean;3090 readonly asEip2930: EthereumTransactionEip2930Transaction;3091 readonly isEip1559: boolean;3092 readonly asEip1559: EthereumTransactionEip1559Transaction;3093 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3094 }30953096 /** @name EthereumTransactionLegacyTransaction (328) */3097 interface EthereumTransactionLegacyTransaction extends Struct {3098 readonly nonce: U256;3099 readonly gasPrice: U256;3100 readonly gasLimit: U256;3101 readonly action: EthereumTransactionTransactionAction;3102 readonly value: U256;3103 readonly input: Bytes;3104 readonly signature: EthereumTransactionTransactionSignature;3105 }31063107 /** @name EthereumTransactionTransactionAction (329) */3108 interface EthereumTransactionTransactionAction extends Enum {3109 readonly isCall: boolean;3110 readonly asCall: H160;3111 readonly isCreate: boolean;3112 readonly type: 'Call' | 'Create';3113 }31143115 /** @name EthereumTransactionTransactionSignature (330) */3116 interface EthereumTransactionTransactionSignature extends Struct {3117 readonly v: u64;3118 readonly r: H256;3119 readonly s: H256;3120 }31213122 /** @name EthereumTransactionEip2930Transaction (332) */3123 interface EthereumTransactionEip2930Transaction extends Struct {3124 readonly chainId: u64;3125 readonly nonce: U256;3126 readonly gasPrice: U256;3127 readonly gasLimit: U256;3128 readonly action: EthereumTransactionTransactionAction;3129 readonly value: U256;3130 readonly input: Bytes;3131 readonly accessList: Vec<EthereumTransactionAccessListItem>;3132 readonly oddYParity: bool;3133 readonly r: H256;3134 readonly s: H256;3135 }31363137 /** @name EthereumTransactionAccessListItem (334) */3138 interface EthereumTransactionAccessListItem extends Struct {3139 readonly address: H160;3140 readonly storageKeys: Vec<H256>;3141 }31423143 /** @name EthereumTransactionEip1559Transaction (335) */3144 interface EthereumTransactionEip1559Transaction extends Struct {3145 readonly chainId: u64;3146 readonly nonce: U256;3147 readonly maxPriorityFeePerGas: U256;3148 readonly maxFeePerGas: U256;3149 readonly gasLimit: U256;3150 readonly action: EthereumTransactionTransactionAction;3151 readonly value: U256;3152 readonly input: Bytes;3153 readonly accessList: Vec<EthereumTransactionAccessListItem>;3154 readonly oddYParity: bool;3155 readonly r: H256;3156 readonly s: H256;3157 }31583159 /** @name PalletEvmMigrationCall (336) */3160 interface PalletEvmMigrationCall extends Enum {3161 readonly isBegin: boolean;3162 readonly asBegin: {3163 readonly address: H160;3164 } & Struct;3165 readonly isSetData: boolean;3166 readonly asSetData: {3167 readonly address: H160;3168 readonly data: Vec<ITuple<[H256, H256]>>;3169 } & Struct;3170 readonly isFinish: boolean;3171 readonly asFinish: {3172 readonly address: H160;3173 readonly code: Bytes;3174 } & Struct;3175 readonly isInsertEthLogs: boolean;3176 readonly asInsertEthLogs: {3177 readonly logs: Vec<EthereumLog>;3178 } & Struct;3179 readonly isInsertEvents: boolean;3180 readonly asInsertEvents: {3181 readonly events: Vec<Bytes>;3182 } & Struct;3183 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3184 }31853186 /** @name PalletMaintenanceCall (340) */3187 interface PalletMaintenanceCall extends Enum {3188 readonly isEnable: boolean;3189 readonly isDisable: boolean;3190 readonly type: 'Enable' | 'Disable';3191 }31923193 /** @name PalletTestUtilsCall (341) */3194 interface PalletTestUtilsCall extends Enum {3195 readonly isEnable: boolean;3196 readonly isSetTestValue: boolean;3197 readonly asSetTestValue: {3198 readonly value: u32;3199 } & Struct;3200 readonly isSetTestValueAndRollback: boolean;3201 readonly asSetTestValueAndRollback: {3202 readonly value: u32;3203 } & Struct;3204 readonly isIncTestValue: boolean;3205 readonly isSelfCancelingInc: boolean;3206 readonly asSelfCancelingInc: {3207 readonly id: U8aFixed;3208 readonly maxTestValue: u32;3209 } & Struct;3210 readonly isJustTakeFee: boolean;3211 readonly isBatchAll: boolean;3212 readonly asBatchAll: {3213 readonly calls: Vec<Call>;3214 } & Struct;3215 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'SelfCancelingInc' | 'JustTakeFee' | 'BatchAll';3216 }32173218 /** @name PalletSudoError (343) */3219 interface PalletSudoError extends Enum {3220 readonly isRequireSudo: boolean;3221 readonly type: 'RequireSudo';3222 }32233224 /** @name OrmlVestingModuleError (345) */3225 interface OrmlVestingModuleError extends Enum {3226 readonly isZeroVestingPeriod: boolean;3227 readonly isZeroVestingPeriodCount: boolean;3228 readonly isInsufficientBalanceToLock: boolean;3229 readonly isTooManyVestingSchedules: boolean;3230 readonly isAmountLow: boolean;3231 readonly isMaxVestingSchedulesExceeded: boolean;3232 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3233 }32343235 /** @name OrmlXtokensModuleError (346) */3236 interface OrmlXtokensModuleError extends Enum {3237 readonly isAssetHasNoReserve: boolean;3238 readonly isNotCrossChainTransfer: boolean;3239 readonly isInvalidDest: boolean;3240 readonly isNotCrossChainTransferableCurrency: boolean;3241 readonly isUnweighableMessage: boolean;3242 readonly isXcmExecutionFailed: boolean;3243 readonly isCannotReanchor: boolean;3244 readonly isInvalidAncestry: boolean;3245 readonly isInvalidAsset: boolean;3246 readonly isDestinationNotInvertible: boolean;3247 readonly isBadVersion: boolean;3248 readonly isDistinctReserveForAssetAndFee: boolean;3249 readonly isZeroFee: boolean;3250 readonly isZeroAmount: boolean;3251 readonly isTooManyAssetsBeingSent: boolean;3252 readonly isAssetIndexNonExistent: boolean;3253 readonly isFeeNotEnough: boolean;3254 readonly isNotSupportedMultiLocation: boolean;3255 readonly isMinXcmFeeNotDefined: boolean;3256 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3257 }32583259 /** @name OrmlTokensBalanceLock (349) */3260 interface OrmlTokensBalanceLock extends Struct {3261 readonly id: U8aFixed;3262 readonly amount: u128;3263 }32643265 /** @name OrmlTokensAccountData (351) */3266 interface OrmlTokensAccountData extends Struct {3267 readonly free: u128;3268 readonly reserved: u128;3269 readonly frozen: u128;3270 }32713272 /** @name OrmlTokensReserveData (353) */3273 interface OrmlTokensReserveData extends Struct {3274 readonly id: Null;3275 readonly amount: u128;3276 }32773278 /** @name OrmlTokensModuleError (355) */3279 interface OrmlTokensModuleError extends Enum {3280 readonly isBalanceTooLow: boolean;3281 readonly isAmountIntoBalanceFailed: boolean;3282 readonly isLiquidityRestrictions: boolean;3283 readonly isMaxLocksExceeded: boolean;3284 readonly isKeepAlive: boolean;3285 readonly isExistentialDeposit: boolean;3286 readonly isDeadAccount: boolean;3287 readonly isTooManyReserves: boolean;3288 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3289 }32903291 /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */3292 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3293 readonly sender: u32;3294 readonly state: CumulusPalletXcmpQueueInboundState;3295 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3296 }32973298 /** @name CumulusPalletXcmpQueueInboundState (358) */3299 interface CumulusPalletXcmpQueueInboundState extends Enum {3300 readonly isOk: boolean;3301 readonly isSuspended: boolean;3302 readonly type: 'Ok' | 'Suspended';3303 }33043305 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */3306 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3307 readonly isConcatenatedVersionedXcm: boolean;3308 readonly isConcatenatedEncodedBlob: boolean;3309 readonly isSignals: boolean;3310 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3311 }33123313 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */3314 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3315 readonly recipient: u32;3316 readonly state: CumulusPalletXcmpQueueOutboundState;3317 readonly signalsExist: bool;3318 readonly firstIndex: u16;3319 readonly lastIndex: u16;3320 }33213322 /** @name CumulusPalletXcmpQueueOutboundState (365) */3323 interface CumulusPalletXcmpQueueOutboundState extends Enum {3324 readonly isOk: boolean;3325 readonly isSuspended: boolean;3326 readonly type: 'Ok' | 'Suspended';3327 }33283329 /** @name CumulusPalletXcmpQueueQueueConfigData (367) */3330 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3331 readonly suspendThreshold: u32;3332 readonly dropThreshold: u32;3333 readonly resumeThreshold: u32;3334 readonly thresholdWeight: Weight;3335 readonly weightRestrictDecay: Weight;3336 readonly xcmpMaxIndividualWeight: Weight;3337 }33383339 /** @name CumulusPalletXcmpQueueError (369) */3340 interface CumulusPalletXcmpQueueError extends Enum {3341 readonly isFailedToSend: boolean;3342 readonly isBadXcmOrigin: boolean;3343 readonly isBadXcm: boolean;3344 readonly isBadOverweightIndex: boolean;3345 readonly isWeightOverLimit: boolean;3346 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3347 }33483349 /** @name PalletXcmError (370) */3350 interface PalletXcmError extends Enum {3351 readonly isUnreachable: boolean;3352 readonly isSendFailure: boolean;3353 readonly isFiltered: boolean;3354 readonly isUnweighableMessage: boolean;3355 readonly isDestinationNotInvertible: boolean;3356 readonly isEmpty: boolean;3357 readonly isCannotReanchor: boolean;3358 readonly isTooManyAssets: boolean;3359 readonly isInvalidOrigin: boolean;3360 readonly isBadVersion: boolean;3361 readonly isBadLocation: boolean;3362 readonly isNoSubscription: boolean;3363 readonly isAlreadySubscribed: boolean;3364 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3365 }33663367 /** @name CumulusPalletXcmError (371) */3368 type CumulusPalletXcmError = Null;33693370 /** @name CumulusPalletDmpQueueConfigData (372) */3371 interface CumulusPalletDmpQueueConfigData extends Struct {3372 readonly maxIndividual: Weight;3373 }33743375 /** @name CumulusPalletDmpQueuePageIndexData (373) */3376 interface CumulusPalletDmpQueuePageIndexData extends Struct {3377 readonly beginUsed: u32;3378 readonly endUsed: u32;3379 readonly overweightCount: u64;3380 }33813382 /** @name CumulusPalletDmpQueueError (376) */3383 interface CumulusPalletDmpQueueError extends Enum {3384 readonly isUnknown: boolean;3385 readonly isOverLimit: boolean;3386 readonly type: 'Unknown' | 'OverLimit';3387 }33883389 /** @name PalletUniqueError (380) */3390 interface PalletUniqueError extends Enum {3391 readonly isCollectionDecimalPointLimitExceeded: boolean;3392 readonly isConfirmUnsetSponsorFail: boolean;3393 readonly isEmptyArgument: boolean;3394 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3395 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3396 }33973398 /** @name PalletUniqueSchedulerV2BlockAgenda (381) */3399 interface PalletUniqueSchedulerV2BlockAgenda extends Struct {3400 readonly agenda: Vec<Option<PalletUniqueSchedulerV2Scheduled>>;3401 readonly freePlaces: u32;3402 }34033404 /** @name PalletUniqueSchedulerV2Scheduled (384) */3405 interface PalletUniqueSchedulerV2Scheduled extends Struct {3406 readonly maybeId: Option<U8aFixed>;3407 readonly priority: u8;3408 readonly call: PalletUniqueSchedulerV2ScheduledCall;3409 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;3410 readonly origin: OpalRuntimeOriginCaller;3411 }34123413 /** @name PalletUniqueSchedulerV2ScheduledCall (385) */3414 interface PalletUniqueSchedulerV2ScheduledCall extends Enum {3415 readonly isInline: boolean;3416 readonly asInline: Bytes;3417 readonly isPreimageLookup: boolean;3418 readonly asPreimageLookup: {3419 readonly hash_: H256;3420 readonly unboundedLen: u32;3421 } & Struct;3422 readonly type: 'Inline' | 'PreimageLookup';3423 }34243425 /** @name OpalRuntimeOriginCaller (387) */3426 interface OpalRuntimeOriginCaller extends Enum {3427 readonly isSystem: boolean;3428 readonly asSystem: FrameSupportDispatchRawOrigin;3429 readonly isVoid: boolean;3430 readonly isPolkadotXcm: boolean;3431 readonly asPolkadotXcm: PalletXcmOrigin;3432 readonly isCumulusXcm: boolean;3433 readonly asCumulusXcm: CumulusPalletXcmOrigin;3434 readonly isEthereum: boolean;3435 readonly asEthereum: PalletEthereumRawOrigin;3436 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';3437 }34383439 /** @name FrameSupportDispatchRawOrigin (388) */3440 interface FrameSupportDispatchRawOrigin extends Enum {3441 readonly isRoot: boolean;3442 readonly isSigned: boolean;3443 readonly asSigned: AccountId32;3444 readonly isNone: boolean;3445 readonly type: 'Root' | 'Signed' | 'None';3446 }34473448 /** @name PalletXcmOrigin (389) */3449 interface PalletXcmOrigin extends Enum {3450 readonly isXcm: boolean;3451 readonly asXcm: XcmV1MultiLocation;3452 readonly isResponse: boolean;3453 readonly asResponse: XcmV1MultiLocation;3454 readonly type: 'Xcm' | 'Response';3455 }34563457 /** @name CumulusPalletXcmOrigin (390) */3458 interface CumulusPalletXcmOrigin extends Enum {3459 readonly isRelay: boolean;3460 readonly isSiblingParachain: boolean;3461 readonly asSiblingParachain: u32;3462 readonly type: 'Relay' | 'SiblingParachain';3463 }34643465 /** @name PalletEthereumRawOrigin (391) */3466 interface PalletEthereumRawOrigin extends Enum {3467 readonly isEthereumTransaction: boolean;3468 readonly asEthereumTransaction: H160;3469 readonly type: 'EthereumTransaction';3470 }34713472 /** @name SpCoreVoid (392) */3473 type SpCoreVoid = Null;34743475 /** @name PalletUniqueSchedulerV2Error (394) */3476 interface PalletUniqueSchedulerV2Error extends Enum {3477 readonly isFailedToSchedule: boolean;3478 readonly isAgendaIsExhausted: boolean;3479 readonly isScheduledCallCorrupted: boolean;3480 readonly isPreimageNotFound: boolean;3481 readonly isTooBigScheduledCall: boolean;3482 readonly isNotFound: boolean;3483 readonly isTargetBlockNumberInPast: boolean;3484 readonly isNamed: boolean;3485 readonly type: 'FailedToSchedule' | 'AgendaIsExhausted' | 'ScheduledCallCorrupted' | 'PreimageNotFound' | 'TooBigScheduledCall' | 'NotFound' | 'TargetBlockNumberInPast' | 'Named';3486 }34873488 /** @name UpDataStructsCollection (395) */3489 interface UpDataStructsCollection extends Struct {3490 readonly owner: AccountId32;3491 readonly mode: UpDataStructsCollectionMode;3492 readonly name: Vec<u16>;3493 readonly description: Vec<u16>;3494 readonly tokenPrefix: Bytes;3495 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3496 readonly limits: UpDataStructsCollectionLimits;3497 readonly permissions: UpDataStructsCollectionPermissions;3498 readonly flags: U8aFixed;3499 }35003501 /** @name UpDataStructsSponsorshipStateAccountId32 (396) */3502 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3503 readonly isDisabled: boolean;3504 readonly isUnconfirmed: boolean;3505 readonly asUnconfirmed: AccountId32;3506 readonly isConfirmed: boolean;3507 readonly asConfirmed: AccountId32;3508 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3509 }35103511 /** @name UpDataStructsProperties (398) */3512 interface UpDataStructsProperties extends Struct {3513 readonly map: UpDataStructsPropertiesMapBoundedVec;3514 readonly consumedSpace: u32;3515 readonly spaceLimit: u32;3516 }35173518 /** @name UpDataStructsPropertiesMapBoundedVec (399) */3519 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}35203521 /** @name UpDataStructsPropertiesMapPropertyPermission (404) */3522 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}35233524 /** @name UpDataStructsCollectionStats (411) */3525 interface UpDataStructsCollectionStats extends Struct {3526 readonly created: u32;3527 readonly destroyed: u32;3528 readonly alive: u32;3529 }35303531 /** @name UpDataStructsTokenChild (412) */3532 interface UpDataStructsTokenChild extends Struct {3533 readonly token: u32;3534 readonly collection: u32;3535 }35363537 /** @name PhantomTypeUpDataStructs (413) */3538 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}35393540 /** @name UpDataStructsTokenData (415) */3541 interface UpDataStructsTokenData extends Struct {3542 readonly properties: Vec<UpDataStructsProperty>;3543 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3544 readonly pieces: u128;3545 }35463547 /** @name UpDataStructsRpcCollection (417) */3548 interface UpDataStructsRpcCollection extends Struct {3549 readonly owner: AccountId32;3550 readonly mode: UpDataStructsCollectionMode;3551 readonly name: Vec<u16>;3552 readonly description: Vec<u16>;3553 readonly tokenPrefix: Bytes;3554 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3555 readonly limits: UpDataStructsCollectionLimits;3556 readonly permissions: UpDataStructsCollectionPermissions;3557 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3558 readonly properties: Vec<UpDataStructsProperty>;3559 readonly readOnly: bool;3560 readonly flags: UpDataStructsRpcCollectionFlags;3561 }35623563 /** @name UpDataStructsRpcCollectionFlags (418) */3564 interface UpDataStructsRpcCollectionFlags extends Struct {3565 readonly foreign: bool;3566 readonly erc721metadata: bool;3567 }35683569 /** @name RmrkTraitsCollectionCollectionInfo (419) */3570 interface RmrkTraitsCollectionCollectionInfo extends Struct {3571 readonly issuer: AccountId32;3572 readonly metadata: Bytes;3573 readonly max: Option<u32>;3574 readonly symbol: Bytes;3575 readonly nftsCount: u32;3576 }35773578 /** @name RmrkTraitsNftNftInfo (420) */3579 interface RmrkTraitsNftNftInfo extends Struct {3580 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3581 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3582 readonly metadata: Bytes;3583 readonly equipped: bool;3584 readonly pending: bool;3585 }35863587 /** @name RmrkTraitsNftRoyaltyInfo (422) */3588 interface RmrkTraitsNftRoyaltyInfo extends Struct {3589 readonly recipient: AccountId32;3590 readonly amount: Permill;3591 }35923593 /** @name RmrkTraitsResourceResourceInfo (423) */3594 interface RmrkTraitsResourceResourceInfo extends Struct {3595 readonly id: u32;3596 readonly resource: RmrkTraitsResourceResourceTypes;3597 readonly pending: bool;3598 readonly pendingRemoval: bool;3599 }36003601 /** @name RmrkTraitsPropertyPropertyInfo (424) */3602 interface RmrkTraitsPropertyPropertyInfo extends Struct {3603 readonly key: Bytes;3604 readonly value: Bytes;3605 }36063607 /** @name RmrkTraitsBaseBaseInfo (425) */3608 interface RmrkTraitsBaseBaseInfo extends Struct {3609 readonly issuer: AccountId32;3610 readonly baseType: Bytes;3611 readonly symbol: Bytes;3612 }36133614 /** @name RmrkTraitsNftNftChild (426) */3615 interface RmrkTraitsNftNftChild extends Struct {3616 readonly collectionId: u32;3617 readonly nftId: u32;3618 }36193620 /** @name PalletCommonError (428) */3621 interface PalletCommonError extends Enum {3622 readonly isCollectionNotFound: boolean;3623 readonly isMustBeTokenOwner: boolean;3624 readonly isNoPermission: boolean;3625 readonly isCantDestroyNotEmptyCollection: boolean;3626 readonly isPublicMintingNotAllowed: boolean;3627 readonly isAddressNotInAllowlist: boolean;3628 readonly isCollectionNameLimitExceeded: boolean;3629 readonly isCollectionDescriptionLimitExceeded: boolean;3630 readonly isCollectionTokenPrefixLimitExceeded: boolean;3631 readonly isTotalCollectionsLimitExceeded: boolean;3632 readonly isCollectionAdminCountExceeded: boolean;3633 readonly isCollectionLimitBoundsExceeded: boolean;3634 readonly isOwnerPermissionsCantBeReverted: boolean;3635 readonly isTransferNotAllowed: boolean;3636 readonly isAccountTokenLimitExceeded: boolean;3637 readonly isCollectionTokenLimitExceeded: boolean;3638 readonly isMetadataFlagFrozen: boolean;3639 readonly isTokenNotFound: boolean;3640 readonly isTokenValueTooLow: boolean;3641 readonly isApprovedValueTooLow: boolean;3642 readonly isCantApproveMoreThanOwned: boolean;3643 readonly isAddressIsZero: boolean;3644 readonly isUnsupportedOperation: boolean;3645 readonly isNotSufficientFounds: boolean;3646 readonly isUserIsNotAllowedToNest: boolean;3647 readonly isSourceCollectionIsNotAllowedToNest: boolean;3648 readonly isCollectionFieldSizeExceeded: boolean;3649 readonly isNoSpaceForProperty: boolean;3650 readonly isPropertyLimitReached: boolean;3651 readonly isPropertyKeyIsTooLong: boolean;3652 readonly isInvalidCharacterInPropertyKey: boolean;3653 readonly isEmptyPropertyKey: boolean;3654 readonly isCollectionIsExternal: boolean;3655 readonly isCollectionIsInternal: boolean;3656 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';3657 }36583659 /** @name PalletFungibleError (430) */3660 interface PalletFungibleError extends Enum {3661 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3662 readonly isFungibleItemsHaveNoId: boolean;3663 readonly isFungibleItemsDontHaveData: boolean;3664 readonly isFungibleDisallowsNesting: boolean;3665 readonly isSettingPropertiesNotAllowed: boolean;3666 readonly isSettingApprovalForAllNotAllowed: boolean;3667 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingApprovalForAllNotAllowed';3668 }36693670 /** @name PalletRefungibleItemData (431) */3671 interface PalletRefungibleItemData extends Struct {3672 readonly constData: Bytes;3673 }36743675 /** @name PalletRefungibleError (436) */3676 interface PalletRefungibleError extends Enum {3677 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3678 readonly isWrongRefungiblePieces: boolean;3679 readonly isRepartitionWhileNotOwningAllPieces: boolean;3680 readonly isRefungibleDisallowsNesting: boolean;3681 readonly isSettingPropertiesNotAllowed: boolean;3682 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3683 }36843685 /** @name PalletNonfungibleItemData (437) */3686 interface PalletNonfungibleItemData extends Struct {3687 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3688 }36893690 /** @name UpDataStructsPropertyScope (439) */3691 interface UpDataStructsPropertyScope extends Enum {3692 readonly isNone: boolean;3693 readonly isRmrk: boolean;3694 readonly type: 'None' | 'Rmrk';3695 }36963697 /** @name PalletNonfungibleError (441) */3698 interface PalletNonfungibleError extends Enum {3699 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3700 readonly isNonfungibleItemsHaveNoAmount: boolean;3701 readonly isCantBurnNftWithChildren: boolean;3702 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3703 }37043705 /** @name PalletStructureError (442) */3706 interface PalletStructureError extends Enum {3707 readonly isOuroborosDetected: boolean;3708 readonly isDepthLimit: boolean;3709 readonly isBreadthLimit: boolean;3710 readonly isTokenNotFound: boolean;3711 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3712 }37133714 /** @name PalletRmrkCoreError (443) */3715 interface PalletRmrkCoreError extends Enum {3716 readonly isCorruptedCollectionType: boolean;3717 readonly isRmrkPropertyKeyIsTooLong: boolean;3718 readonly isRmrkPropertyValueIsTooLong: boolean;3719 readonly isRmrkPropertyIsNotFound: boolean;3720 readonly isUnableToDecodeRmrkData: boolean;3721 readonly isCollectionNotEmpty: boolean;3722 readonly isNoAvailableCollectionId: boolean;3723 readonly isNoAvailableNftId: boolean;3724 readonly isCollectionUnknown: boolean;3725 readonly isNoPermission: boolean;3726 readonly isNonTransferable: boolean;3727 readonly isCollectionFullOrLocked: boolean;3728 readonly isResourceDoesntExist: boolean;3729 readonly isCannotSendToDescendentOrSelf: boolean;3730 readonly isCannotAcceptNonOwnedNft: boolean;3731 readonly isCannotRejectNonOwnedNft: boolean;3732 readonly isCannotRejectNonPendingNft: boolean;3733 readonly isResourceNotPending: boolean;3734 readonly isNoAvailableResourceId: boolean;3735 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3736 }37373738 /** @name PalletRmrkEquipError (445) */3739 interface PalletRmrkEquipError extends Enum {3740 readonly isPermissionError: boolean;3741 readonly isNoAvailableBaseId: boolean;3742 readonly isNoAvailablePartId: boolean;3743 readonly isBaseDoesntExist: boolean;3744 readonly isNeedsDefaultThemeFirst: boolean;3745 readonly isPartDoesntExist: boolean;3746 readonly isNoEquippableOnFixedPart: boolean;3747 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3748 }37493750 /** @name PalletAppPromotionError (451) */3751 interface PalletAppPromotionError extends Enum {3752 readonly isAdminNotSet: boolean;3753 readonly isNoPermission: boolean;3754 readonly isNotSufficientFunds: boolean;3755 readonly isPendingForBlockOverflow: boolean;3756 readonly isSponsorNotSet: boolean;3757 readonly isIncorrectLockedBalanceOperation: boolean;3758 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3759 }37603761 /** @name PalletForeignAssetsModuleError (452) */3762 interface PalletForeignAssetsModuleError extends Enum {3763 readonly isBadLocation: boolean;3764 readonly isMultiLocationExisted: boolean;3765 readonly isAssetIdNotExists: boolean;3766 readonly isAssetIdExisted: boolean;3767 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3768 }37693770 /** @name PalletEvmError (454) */3771 interface PalletEvmError extends Enum {3772 readonly isBalanceLow: boolean;3773 readonly isFeeOverflow: boolean;3774 readonly isPaymentOverflow: boolean;3775 readonly isWithdrawFailed: boolean;3776 readonly isGasPriceTooLow: boolean;3777 readonly isInvalidNonce: boolean;3778 readonly isGasLimitTooLow: boolean;3779 readonly isGasLimitTooHigh: boolean;3780 readonly isUndefined: boolean;3781 readonly isReentrancy: boolean;3782 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';3783 }37843785 /** @name FpRpcTransactionStatus (457) */3786 interface FpRpcTransactionStatus extends Struct {3787 readonly transactionHash: H256;3788 readonly transactionIndex: u32;3789 readonly from: H160;3790 readonly to: Option<H160>;3791 readonly contractAddress: Option<H160>;3792 readonly logs: Vec<EthereumLog>;3793 readonly logsBloom: EthbloomBloom;3794 }37953796 /** @name EthbloomBloom (459) */3797 interface EthbloomBloom extends U8aFixed {}37983799 /** @name EthereumReceiptReceiptV3 (461) */3800 interface EthereumReceiptReceiptV3 extends Enum {3801 readonly isLegacy: boolean;3802 readonly asLegacy: EthereumReceiptEip658ReceiptData;3803 readonly isEip2930: boolean;3804 readonly asEip2930: EthereumReceiptEip658ReceiptData;3805 readonly isEip1559: boolean;3806 readonly asEip1559: EthereumReceiptEip658ReceiptData;3807 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3808 }38093810 /** @name EthereumReceiptEip658ReceiptData (462) */3811 interface EthereumReceiptEip658ReceiptData extends Struct {3812 readonly statusCode: u8;3813 readonly usedGas: U256;3814 readonly logsBloom: EthbloomBloom;3815 readonly logs: Vec<EthereumLog>;3816 }38173818 /** @name EthereumBlock (463) */3819 interface EthereumBlock extends Struct {3820 readonly header: EthereumHeader;3821 readonly transactions: Vec<EthereumTransactionTransactionV2>;3822 readonly ommers: Vec<EthereumHeader>;3823 }38243825 /** @name EthereumHeader (464) */3826 interface EthereumHeader extends Struct {3827 readonly parentHash: H256;3828 readonly ommersHash: H256;3829 readonly beneficiary: H160;3830 readonly stateRoot: H256;3831 readonly transactionsRoot: H256;3832 readonly receiptsRoot: H256;3833 readonly logsBloom: EthbloomBloom;3834 readonly difficulty: U256;3835 readonly number: U256;3836 readonly gasLimit: U256;3837 readonly gasUsed: U256;3838 readonly timestamp: u64;3839 readonly extraData: Bytes;3840 readonly mixHash: H256;3841 readonly nonce: EthereumTypesHashH64;3842 }38433844 /** @name EthereumTypesHashH64 (465) */3845 interface EthereumTypesHashH64 extends U8aFixed {}38463847 /** @name PalletEthereumError (470) */3848 interface PalletEthereumError extends Enum {3849 readonly isInvalidSignature: boolean;3850 readonly isPreLogExists: boolean;3851 readonly type: 'InvalidSignature' | 'PreLogExists';3852 }38533854 /** @name PalletEvmCoderSubstrateError (471) */3855 interface PalletEvmCoderSubstrateError extends Enum {3856 readonly isOutOfGas: boolean;3857 readonly isOutOfFund: boolean;3858 readonly type: 'OutOfGas' | 'OutOfFund';3859 }38603861 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (472) */3862 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3863 readonly isDisabled: boolean;3864 readonly isUnconfirmed: boolean;3865 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3866 readonly isConfirmed: boolean;3867 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3868 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3869 }38703871 /** @name PalletEvmContractHelpersSponsoringModeT (473) */3872 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3873 readonly isDisabled: boolean;3874 readonly isAllowlisted: boolean;3875 readonly isGenerous: boolean;3876 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3877 }38783879 /** @name PalletEvmContractHelpersError (479) */3880 interface PalletEvmContractHelpersError extends Enum {3881 readonly isNoPermission: boolean;3882 readonly isNoPendingSponsor: boolean;3883 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3884 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3885 }38863887 /** @name PalletEvmMigrationError (480) */3888 interface PalletEvmMigrationError extends Enum {3889 readonly isAccountNotEmpty: boolean;3890 readonly isAccountIsNotMigrating: boolean;3891 readonly isBadEvent: boolean;3892 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3893 }38943895 /** @name PalletMaintenanceError (481) */3896 type PalletMaintenanceError = Null;38973898 /** @name PalletTestUtilsError (482) */3899 interface PalletTestUtilsError extends Enum {3900 readonly isTestPalletDisabled: boolean;3901 readonly isTriggerRollback: boolean;3902 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3903 }39043905 /** @name SpRuntimeMultiSignature (484) */3906 interface SpRuntimeMultiSignature extends Enum {3907 readonly isEd25519: boolean;3908 readonly asEd25519: SpCoreEd25519Signature;3909 readonly isSr25519: boolean;3910 readonly asSr25519: SpCoreSr25519Signature;3911 readonly isEcdsa: boolean;3912 readonly asEcdsa: SpCoreEcdsaSignature;3913 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3914 }39153916 /** @name SpCoreEd25519Signature (485) */3917 interface SpCoreEd25519Signature extends U8aFixed {}39183919 /** @name SpCoreSr25519Signature (487) */3920 interface SpCoreSr25519Signature extends U8aFixed {}39213922 /** @name SpCoreEcdsaSignature (488) */3923 interface SpCoreEcdsaSignature extends U8aFixed {}39243925 /** @name FrameSystemExtensionsCheckSpecVersion (491) */3926 type FrameSystemExtensionsCheckSpecVersion = Null;39273928 /** @name FrameSystemExtensionsCheckTxVersion (492) */3929 type FrameSystemExtensionsCheckTxVersion = Null;39303931 /** @name FrameSystemExtensionsCheckGenesis (493) */3932 type FrameSystemExtensionsCheckGenesis = Null;39333934 /** @name FrameSystemExtensionsCheckNonce (496) */3935 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}39363937 /** @name FrameSystemExtensionsCheckWeight (497) */3938 type FrameSystemExtensionsCheckWeight = Null;39393940 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (498) */3941 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;39423943 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (499) */3944 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}39453946 /** @name OpalRuntimeRuntime (500) */3947 type OpalRuntimeRuntime = Null;39483949 /** @name PalletEthereumFakeTransactionFinalizer (501) */3950 type PalletEthereumFakeTransactionFinalizer = Null;39513952} // declare moduletests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -175,8 +175,8 @@
[collectionParam, tokenParam],
'Option<u128>',
),
- isApprovedForAll: fun(
- 'Tells whether an operator is approved by a given owner.',
+ allowanceForAll: fun(
+ 'Tells whether the given `owner` approves the `operator`.',
[collectionParam, crossAccountParam('owner'), crossAccountParam('operator')],
'Option<bool>',
),
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -1415,26 +1415,26 @@
}
/**
- * Tells whether an operator is approved by a given owner.
+ * Tells whether the given `owner` approves the `operator`.
* @param collectionId ID of collection
* @param owner owner address
- * @param operator operator addrees
+ * @param operator operator addrees
* @returns true if operator is enabled
*/
- async isApprovedForAll(collectionId: number, owner: ICrossAccountId, operator: ICrossAccountId): Promise<boolean> {
- return (await this.helper.callRpc('api.rpc.unique.isApprovedForAll', [collectionId, owner, operator])).toJSON();
+ async allowanceForAll(collectionId: number, owner: ICrossAccountId, operator: ICrossAccountId): Promise<boolean> {
+ return (await this.helper.callRpc('api.rpc.unique.allowanceForAll', [collectionId, owner, operator])).toJSON();
}
/** Sets or unsets the approval of a given operator.
- * An operator is allowed to transfer all tokens of the sender on their behalf.
- * @param operator Operator
- * @param approved Is operator enabled or disabled
+ * The `operator` is allowed to transfer all tokens of the `caller` on their behalf.
+ * @param operator Operator
+ * @param approved Should operator status be granted or revoked?
* @returns ```true``` if extrinsic success, otherwise ```false```
*/
- async setApprovalForAll(signer: TSigner, collectionId: number, operator: ICrossAccountId, approved: boolean): Promise<boolean> {
+ async setAllowanceForAll(signer: TSigner, collectionId: number, operator: ICrossAccountId, approved: boolean): Promise<boolean> {
const result = await this.helper.executeExtrinsic(
signer,
- 'api.tx.unique.setApprovalForAll', [collectionId, operator, approved],
+ 'api.tx.unique.setAllowanceForAll', [collectionId, operator, approved],
true,
);
return this.helper.util.findCollectionInEvents(result.result.events, collectionId, 'common', 'ApprovedForAll');