difftreelog
fix runtime benchmarks, `payout_stakers` logic, bencmarkr for payout_stakers
in: master
15 files changed
pallets/app-promotion/Cargo.tomldiffbeforeafterboth--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -20,18 +20,23 @@
'frame-benchmarking',
'frame-support/runtime-benchmarks',
'frame-system/runtime-benchmarks',
+ # 'pallet-unique/runtime-benchmarks',
]
std = [
'codec/std',
- 'serde/std',
+ 'frame-benchmarking/std',
'frame-support/std',
'frame-system/std',
'pallet-balances/std',
'pallet-timestamp/std',
'pallet-randomness-collective-flip/std',
+ 'pallet-evm/std',
+ 'sp-io/std',
'sp-std/std',
'sp-runtime/std',
- 'frame-benchmarking/std',
+ 'sp-core/std',
+ 'serde/std',
+
]
################################################################################
@@ -108,24 +113,24 @@
# local dependencies
[dependencies.up-data-structs]
default-features = false
-path = "../../primitives/data-structs"
+path = "../../primitives/data-structs"
[dependencies.pallet-common]
default-features = false
-path = "../common"
+path = "../common"
[dependencies.pallet-unique]
default-features = false
-path = "../unique"
+path = "../unique"
[dependencies.pallet-evm-contract-helpers]
default-features = false
-path = "../evm-contract-helpers"
+path = "../evm-contract-helpers"
[dev-dependencies]
[dependencies.pallet-evm-migration]
default-features = false
-path = "../evm-migration"
+path = "../evm-migration"
################################################################################
pallets/app-promotion/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/benchmarking.rs
+++ b/pallets/app-promotion/src/benchmarking.rs
@@ -28,11 +28,8 @@
use pallet_unique::benchmarking::create_nft_collection;
use pallet_evm_migration::Pallet as EvmMigrationPallet;
-// trait BenchmarkingConfig: Config + pallet_unique::Config { }
-
-// impl<T: Config + pallet_unique::Config> BenchmarkingConfig for T { }
+const SEED: u32 = 0;
-const SEED: u32 = 0;
benchmarks! {
where_clause{
where T: Config + pallet_unique::Config + pallet_evm_migration::Config ,
@@ -53,18 +50,32 @@
} : {PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin))?}
payout_stakers{
+ let b in 1..101;
+
let pallet_admin = account::<T::AccountId>("admin", 0, SEED);
- let share = Perbill::from_rational(1u32, 100);
+ let share = Perbill::from_rational(1u32, 20);
PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin.clone()))?;
- let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+
let staker: T::AccountId = account("caller", 0, SEED);
- let stakers: Vec<T::AccountId> = (0..100).map(|index| account("staker", index, SEED)).collect();
+ <T as Config>::Currency::make_free_balance_be(&staker, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let stakers: Vec<T::AccountId> = (0..b).map(|index| account("staker", index, SEED)).collect();
stakers.iter().for_each(|staker| {
<T as Config>::Currency::make_free_balance_be(&staker, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
});
- let _ = <T as Config>::Currency::make_free_balance_be(&staker, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
- let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(staker.clone()).into(), share * <T as Config>::Currency::total_balance(&staker))?;
- } : {PromototionPallet::<T>::payout_stakers(RawOrigin::Signed(pallet_admin.clone()).into(), Some(1))?}
+ (0..10).try_for_each(|_| {
+ stakers.iter()
+ .map(|staker| {
+
+ PromototionPallet::<T>::stake(RawOrigin::Signed(staker.clone()).into(), Into::<BalanceOf<T>>::into(100u128) * T::Nominal::get())
+ }).collect::<Result<Vec<_>, _>>()?;
+ <frame_system::Pallet<T>>::finalize();
+ Result::<(), sp_runtime::DispatchError>::Ok(())
+ })?;
+
+ // let _ = <T as Config>::Currency::make_free_balance_be(&staker, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ // let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(staker.clone()).into(), share * <T as Config>::Currency::total_balance(&staker))?;
+ } : {PromototionPallet::<T>::payout_stakers(RawOrigin::Signed(pallet_admin.clone()).into(), Some(b as u8))?}
stake {
let caller = account::<T::AccountId>("caller", 0, SEED);
@@ -76,7 +87,10 @@
let caller = account::<T::AccountId>("caller", 0, SEED);
let share = Perbill::from_rational(1u32, 20);
let _ = <T as Config>::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
- (0..10).map(|_| PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * <T as Config>::Currency::total_balance(&caller))).collect::<Result<Vec<_>, _>>()?;
+ (0..10).map(|_| {
+ <frame_system::Pallet<T>>::finalize();
+ PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * <T as Config>::Currency::total_balance(&caller))
+ }).collect::<Result<Vec<_>, _>>()?;
} : {PromototionPallet::<T>::unstake(RawOrigin::Signed(caller.clone()).into())?}
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -157,7 +157,7 @@
/// No permission to perform an action
NoPermission,
/// Insufficient funds to perform an action
- NotSufficientFounds,
+ NotSufficientFunds,
PendingForBlockOverflow,
/// An error related to the fact that an invalid argument was passed to perform an action
InvalidArgument,
@@ -285,14 +285,23 @@
<<T as Config>::Currency as Currency<T::AccountId>>::ensure_can_withdraw(
&staker_id,
amount,
- WithdrawReasons::all(),
+ WithdrawReasons::RESERVE,
balance - amount,
)?;
Self::add_lock_balance(&staker_id, amount)?;
let block_number = T::RelayBlockNumberProvider::current_block_number();
- let recalc_block = (block_number / T::RecalculationInterval::get() + 2u32.into())
+
+ let recalculate_after_interval: T::BlockNumber =
+ if block_number % T::RecalculationInterval::get() == 0u32.into() {
+ 1u32.into()
+ } else {
+ 2u32.into()
+ };
+
+ let recalc_block = (block_number / T::RecalculationInterval::get()
+ + recalculate_after_interval)
* T::RecalculationInterval::get();
<Staked<T>>::insert((&staker_id, block_number), {
@@ -428,7 +437,7 @@
T::ContractHandler::remove_contract_sponsor(contract_id)
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::payout_stakers(stakers_number.unwrap_or(20) as u32))]
pub fn payout_stakers(admin: OriginFor<T>, stakers_number: Option<u8>) -> DispatchResult {
let admin_id = ensure_signed(admin)?;
@@ -495,6 +504,74 @@
// }
// }
+ // {
+ // let mut stakers_number = stakers_number.unwrap_or(20);
+ // let last_id = RefCell::new(None);
+ // let income_acc = RefCell::new(BalanceOf::<T>::default());
+ // let amount_acc = RefCell::new(BalanceOf::<T>::default());
+
+ // let flush_stake = || -> DispatchResult {
+ // if let Some(last_id) = &*last_id.borrow() {
+ // if !income_acc.borrow().is_zero() {
+ // <T::Currency as Currency<T::AccountId>>::transfer(
+ // &T::TreasuryAccountId::get(),
+ // last_id,
+ // *income_acc.borrow(),
+ // ExistenceRequirement::KeepAlive,
+ // )
+ // .and_then(|_| {
+ // Self::add_lock_balance(last_id, *income_acc.borrow());
+ // <TotalStaked<T>>::try_mutate(|staked| {
+ // staked
+ // .checked_add(&*income_acc.borrow())
+ // .ok_or(ArithmeticError::Overflow.into())
+ // })
+ // })?;
+
+ // Self::deposit_event(Event::StakingRecalculation(
+ // last_id.clone(),
+ // *amount_acc.borrow(),
+ // *income_acc.borrow(),
+ // ));
+ // }
+
+ // *income_acc.borrow_mut() = BalanceOf::<T>::default();
+ // *amount_acc.borrow_mut() = BalanceOf::<T>::default();
+ // }
+ // Ok(())
+ // };
+
+ // while let Some((
+ // (current_id, staked_block),
+ // (amount, next_recalc_block_for_stake),
+ // )) = storage_iterator.next()
+ // {
+ // if stakers_number == 0 {
+ // NextCalculatedRecord::<T>::set(Some((current_id, staked_block)));
+ // break;
+ // }
+ // stakers_number -= 1;
+ // if last_id.borrow().as_ref() != Some(¤t_id) {
+ // flush_stake()?;
+ // };
+ // *last_id.borrow_mut() = Some(current_id.clone());
+ // if current_recalc_block >= next_recalc_block_for_stake {
+ // *amount_acc.borrow_mut() += amount;
+ // Self::recalculate_and_insert_stake(
+ // ¤t_id,
+ // staked_block,
+ // next_recalc_block,
+ // amount,
+ // ((current_recalc_block - next_recalc_block_for_stake)
+ // / T::RecalculationInterval::get())
+ // .into() + 1,
+ // &mut *income_acc.borrow_mut(),
+ // );
+ // }
+ // }
+ // flush_stake()?;
+ // }
+
{
let mut stakers_number = stakers_number.unwrap_or(20);
let last_id = RefCell::new(None);
@@ -510,7 +587,14 @@
*income_acc.borrow(),
ExistenceRequirement::KeepAlive,
)
- .and_then(|_| Self::add_lock_balance(last_id, *income_acc.borrow()))?;
+ .and_then(|_| {
+ Self::add_lock_balance(last_id, *income_acc.borrow())?;
+ <TotalStaked<T>>::try_mutate(|staked| {
+ staked
+ .checked_add(&*income_acc.borrow())
+ .ok_or(ArithmeticError::Overflow.into())
+ })
+ })?;
Self::deposit_event(Event::StakingRecalculation(
last_id.clone(),
@@ -534,11 +618,11 @@
NextCalculatedRecord::<T>::set(Some((current_id, staked_block)));
break;
}
- stakers_number -= 1;
if last_id.borrow().as_ref() != Some(¤t_id) {
flush_stake()?;
+ *last_id.borrow_mut() = Some(current_id.clone());
+ stakers_number -= 1;
};
- *last_id.borrow_mut() = Some(current_id.clone());
if current_recalc_block >= next_recalc_block_for_stake {
*amount_acc.borrow_mut() += amount;
Self::recalculate_and_insert_stake(
pallets/app-promotion/src/types.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/types.rs
+++ b/pallets/app-promotion/src/types.rs
@@ -1,7 +1,5 @@
use codec::EncodeLike;
-use frame_support::{
- traits::LockableCurrency, WeakBoundedVec, Parameter, dispatch::DispatchResult, ensure,
-};
+use frame_support::{traits::LockableCurrency, WeakBoundedVec, Parameter, dispatch::DispatchResult};
use pallet_balances::{BalanceLock, Config as BalancesConfig, Pallet as PalletBalances};
use pallet_common::CollectionHandle;
pallets/app-promotion/src/weights.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/weights.rs
+++ b/pallets/app-promotion/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_app_promotion
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-09-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-09-06, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -35,7 +35,7 @@
/// Weight functions needed for pallet_app_promotion.
pub trait WeightInfo {
fn set_admin_address() -> Weight;
- fn payout_stakers() -> Weight;
+ fn payout_stakers(b: u32, ) -> Weight;
fn stake() -> Weight;
fn unstake() -> Weight;
fn sponsor_collection() -> Weight;
@@ -47,66 +47,70 @@
/// Weights for pallet_app_promotion using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- // Storage: Promotion Admin (r:0 w:1)
+ // Storage: AppPromotion Admin (r:0 w:1)
fn set_admin_address() -> Weight {
- (515_000 as Weight)
+ (5_297_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: Promotion NextCalculatedRecord (r:1 w:1)
- // Storage: Promotion Staked (r:2 w:0)
- fn payout_stakers() -> Weight {
- (8_475_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
+ // Storage: AppPromotion NextCalculatedRecord (r:1 w:1)
+ // Storage: AppPromotion Staked (r:2 w:0)
+ fn payout_stakers(b: u32, ) -> Weight {
+ (8_045_000 as Weight)
+ // Standard Error: 19_000
+ .saturating_add((4_778_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: System Account (r:1 w:1)
- // Storage: Promotion StakesPerAccount (r:1 w:1)
+ // Storage: AppPromotion StakesPerAccount (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: Promotion Staked (r:1 w:1)
- // Storage: Promotion TotalStaked (r:1 w:1)
+ // Storage: AppPromotion Staked (r:1 w:1)
+ // Storage: AppPromotion TotalStaked (r:1 w:1)
fn stake() -> Weight {
- (12_266_000 as Weight)
+ (17_623_000 as Weight)
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
- // Storage: Promotion Staked (r:2 w:1)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: Promotion PendingUnstake (r:1 w:1)
- // Storage: Promotion TotalStaked (r:1 w:1)
- // Storage: Promotion StakesPerAccount (r:0 w:1)
+ // Storage: AppPromotion PendingUnstake (r:1 w:1)
+ // Storage: AppPromotion Staked (r:2 w:1)
+ // Storage: Balances Locks (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: AppPromotion TotalStaked (r:1 w:1)
+ // Storage: AppPromotion StakesPerAccount (r:0 w:1)
fn unstake() -> Weight {
- (10_663_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ (27_190_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(6 as Weight))
+ .saturating_add(T::DbWeight::get().writes(6 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
fn sponsor_collection() -> Weight {
- (10_879_000 as Weight)
+ (11_351_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
fn stop_sponsoring_collection() -> Weight {
- (10_548_000 as Weight)
+ (10_687_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
fn sponsor_contract() -> Weight {
- (2_130_000 as Weight)
+ (2_332_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
fn stop_sponsoring_contract() -> Weight {
- (3_509_000 as Weight)
+ (3_712_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -114,66 +118,70 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Promotion Admin (r:0 w:1)
+ // Storage: AppPromotion Admin (r:0 w:1)
fn set_admin_address() -> Weight {
- (515_000 as Weight)
+ (5_297_000 as Weight)
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: Promotion NextCalculatedRecord (r:1 w:1)
- // Storage: Promotion Staked (r:2 w:0)
- fn payout_stakers() -> Weight {
- (8_475_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
+ // Storage: AppPromotion NextCalculatedRecord (r:1 w:1)
+ // Storage: AppPromotion Staked (r:2 w:0)
+ fn payout_stakers(b: u32, ) -> Weight {
+ (8_045_000 as Weight)
+ // Standard Error: 19_000
+ .saturating_add((4_778_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: System Account (r:1 w:1)
- // Storage: Promotion StakesPerAccount (r:1 w:1)
+ // Storage: AppPromotion StakesPerAccount (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: Promotion Staked (r:1 w:1)
- // Storage: Promotion TotalStaked (r:1 w:1)
+ // Storage: AppPromotion Staked (r:1 w:1)
+ // Storage: AppPromotion TotalStaked (r:1 w:1)
fn stake() -> Weight {
- (12_266_000 as Weight)
+ (17_623_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
- // Storage: Promotion Staked (r:2 w:1)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: Promotion PendingUnstake (r:1 w:1)
- // Storage: Promotion TotalStaked (r:1 w:1)
- // Storage: Promotion StakesPerAccount (r:0 w:1)
+ // Storage: AppPromotion PendingUnstake (r:1 w:1)
+ // Storage: AppPromotion Staked (r:2 w:1)
+ // Storage: Balances Locks (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: AppPromotion TotalStaked (r:1 w:1)
+ // Storage: AppPromotion StakesPerAccount (r:0 w:1)
fn unstake() -> Weight {
- (10_663_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ (27_190_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(6 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
fn sponsor_collection() -> Weight {
- (10_879_000 as Weight)
+ (11_351_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: Common CollectionById (r:1 w:1)
fn stop_sponsoring_collection() -> Weight {
- (10_548_000 as Weight)
+ (10_687_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
fn sponsor_contract() -> Weight {
- (2_130_000 as Weight)
+ (2_332_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
- // Storage: Promotion Admin (r:1 w:0)
+ // Storage: AppPromotion Admin (r:1 w:0)
// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
fn stop_sponsoring_contract() -> Weight {
- (3_509_000 as Weight)
+ (3_712_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/common/Cargo.tomldiffbeforeafterboth--- a/pallets/common/Cargo.toml
+++ b/pallets/common/Cargo.toml
@@ -40,4 +40,7 @@
"up-data-structs/std",
"pallet-evm/std",
]
-runtime-benchmarks = ["frame-benchmarking"]
+runtime-benchmarks = [
+ "frame-benchmarking/runtime-benchmarks",
+ "up-data-structs/runtime-benchmarks",
+]
runtime/common/config/pallets/app_promotion.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/app_promotion.rs
+++ b/runtime/common/config/pallets/app_promotion.rs
@@ -22,7 +22,7 @@
use frame_support::{parameter_types, PalletId};
use sp_arithmetic::Perbill;
use up_common::{
- constants::{ UNIQUE, RELAY_DAYS},
+ constants::{UNIQUE, RELAY_DAYS},
types::Balance,
};
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -680,7 +680,7 @@
list_benchmark!(list, extra, pallet_unique, Unique);
list_benchmark!(list, extra, pallet_structure, Structure);
list_benchmark!(list, extra, pallet_inflation, Inflation);
- list_benchmark!(list, extra, pallet_app_promotion, Promotion);
+ list_benchmark!(list, extra, pallet_app_promotion, AppPromotion);
list_benchmark!(list, extra, pallet_fungible, Fungible);
list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
@@ -736,7 +736,7 @@
add_benchmark!(params, batches, pallet_unique, Unique);
add_benchmark!(params, batches, pallet_structure, Structure);
add_benchmark!(params, batches, pallet_inflation, Inflation);
- add_benchmark!(params, batches, pallet_app_promotion, Promotion);
+ add_benchmark!(params, batches, pallet_app_promotion, AppPromotion);
add_benchmark!(params, batches, pallet_fungible, Fungible);
add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -16,10 +16,6 @@
declare module '@polkadot/api-base/types/consts' {
interface AugmentedConsts<ApiType extends ApiTypes> {
appPromotion: {
- /**
- * In chain blocks.
- **/
- day: u32 & AugmentedConst<ApiType>;
intervalIncome: Perbill & AugmentedConst<ApiType>;
nominal: u128 & AugmentedConst<ApiType>;
/**
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -27,7 +27,7 @@
/**
* Insufficient funds to perform an action
**/
- NotSufficientFounds: AugmentedError<ApiType>;
+ NotSufficientFunds: AugmentedError<ApiType>;
PendingForBlockOverflow: AugmentedError<ApiType>;
/**
* Generic error
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -16,7 +16,10 @@
declare module '@polkadot/api-base/types/events' {
interface AugmentedEvents<ApiType extends ApiTypes> {
appPromotion: {
+ SetAdmin: AugmentedEvent<ApiType, [AccountId32]>;
+ Stake: AugmentedEvent<ApiType, [AccountId32, u128]>;
StakingRecalculation: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
+ Unstake: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* Generic event
**/
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -36,10 +36,6 @@
* Amount of stakes for an Account
**/
stakesPerAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u8>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
- /**
- * A block when app-promotion has started .I think this is redundant, because we only need `NextInterestBlock`.
- **/
- startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -844,17 +844,23 @@
export interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
- readonly isNotSufficientFounds: boolean;
+ readonly isNotSufficientFunds: boolean;
readonly isPendingForBlockOverflow: boolean;
readonly isInvalidArgument: boolean;
- readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'PendingForBlockOverflow' | 'InvalidArgument';
+ readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'InvalidArgument';
}
/** @name PalletAppPromotionEvent */
export interface PalletAppPromotionEvent extends Enum {
readonly isStakingRecalculation: boolean;
readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;
- readonly type: 'StakingRecalculation';
+ readonly isStake: boolean;
+ readonly asStake: ITuple<[AccountId32, u128]>;
+ readonly isUnstake: boolean;
+ readonly asUnstake: ITuple<[AccountId32, u128]>;
+ readonly isSetAdmin: boolean;
+ readonly asSetAdmin: AccountId32;
+ readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
}
/** @name PalletBalancesAccountData */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1061,7 +1061,10 @@
**/
PalletAppPromotionEvent: {
_enum: {
- StakingRecalculation: '(AccountId32,u128,u128)'
+ StakingRecalculation: '(AccountId32,u128,u128)',
+ Stake: '(AccountId32,u128)',
+ Unstake: '(AccountId32,u128)',
+ SetAdmin: 'AccountId32'
}
},
/**
@@ -3102,7 +3105,7 @@
* Lookup415: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
- _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'PendingForBlockOverflow', 'InvalidArgument']
+ _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'InvalidArgument']
},
/**
* Lookup418: pallet_evm::pallet::Error<T>
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 } 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 FrameSupportWeightsPerDispatchClassU64 (7) */32 interface FrameSupportWeightsPerDispatchClassU64 extends Struct {33 readonly normal: u64;34 readonly operational: u64;35 readonly mandatory: u64;36 }3738 /** @name SpRuntimeDigest (11) */39 interface SpRuntimeDigest extends Struct {40 readonly logs: Vec<SpRuntimeDigestDigestItem>;41 }4243 /** @name SpRuntimeDigestDigestItem (13) */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 (16) */58 interface FrameSystemEventRecord extends Struct {59 readonly phase: FrameSystemPhase;60 readonly event: Event;61 readonly topics: Vec<H256>;62 }6364 /** @name FrameSystemEvent (18) */65 interface FrameSystemEvent extends Enum {66 readonly isExtrinsicSuccess: boolean;67 readonly asExtrinsicSuccess: {68 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;69 } & Struct;70 readonly isExtrinsicFailed: boolean;71 readonly asExtrinsicFailed: {72 readonly dispatchError: SpRuntimeDispatchError;73 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;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 FrameSupportWeightsDispatchInfo (19) */93 interface FrameSupportWeightsDispatchInfo extends Struct {94 readonly weight: u64;95 readonly class: FrameSupportWeightsDispatchClass;96 readonly paysFee: FrameSupportWeightsPays;97 }9899 /** @name FrameSupportWeightsDispatchClass (20) */100 interface FrameSupportWeightsDispatchClass extends Enum {101 readonly isNormal: boolean;102 readonly isOperational: boolean;103 readonly isMandatory: boolean;104 readonly type: 'Normal' | 'Operational' | 'Mandatory';105 }106107 /** @name FrameSupportWeightsPays (21) */108 interface FrameSupportWeightsPays extends Enum {109 readonly isYes: boolean;110 readonly isNo: boolean;111 readonly type: 'Yes' | 'No';112 }113114 /** @name SpRuntimeDispatchError (22) */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 (23) */134 interface SpRuntimeModuleError extends Struct {135 readonly index: u8;136 readonly error: U8aFixed;137 }138139 /** @name SpRuntimeTokenError (24) */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 (25) */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 (26) */160 interface SpRuntimeTransactionalError extends Enum {161 readonly isLimitReached: boolean;162 readonly isNoLayer: boolean;163 readonly type: 'LimitReached' | 'NoLayer';164 }165166 /** @name CumulusPalletParachainSystemEvent (27) */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: u64;185 readonly dmqHead: H256;186 } & Struct;187 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';188 }189190 /** @name PalletBalancesEvent (28) */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 (29) */250 interface FrameSupportTokensMiscBalanceStatus extends Enum {251 readonly isFree: boolean;252 readonly isReserved: boolean;253 readonly type: 'Free' | 'Reserved';254 }255256 /** @name PalletTransactionPaymentEvent (30) */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 (31) */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 (32) */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 (36) */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 (37) */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 CumulusPalletXcmpQueueEvent (39) */355 interface CumulusPalletXcmpQueueEvent extends Enum {356 readonly isSuccess: boolean;357 readonly asSuccess: {358 readonly messageHash: Option<H256>;359 readonly weight: u64;360 } & Struct;361 readonly isFail: boolean;362 readonly asFail: {363 readonly messageHash: Option<H256>;364 readonly error: XcmV2TraitsError;365 readonly weight: u64;366 } & Struct;367 readonly isBadVersion: boolean;368 readonly asBadVersion: {369 readonly messageHash: Option<H256>;370 } & Struct;371 readonly isBadFormat: boolean;372 readonly asBadFormat: {373 readonly messageHash: Option<H256>;374 } & Struct;375 readonly isUpwardMessageSent: boolean;376 readonly asUpwardMessageSent: {377 readonly messageHash: Option<H256>;378 } & Struct;379 readonly isXcmpMessageSent: boolean;380 readonly asXcmpMessageSent: {381 readonly messageHash: Option<H256>;382 } & Struct;383 readonly isOverweightEnqueued: boolean;384 readonly asOverweightEnqueued: {385 readonly sender: u32;386 readonly sentAt: u32;387 readonly index: u64;388 readonly required: u64;389 } & Struct;390 readonly isOverweightServiced: boolean;391 readonly asOverweightServiced: {392 readonly index: u64;393 readonly used: u64;394 } & Struct;395 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';396 }397398 /** @name XcmV2TraitsError (41) */399 interface XcmV2TraitsError extends Enum {400 readonly isOverflow: boolean;401 readonly isUnimplemented: boolean;402 readonly isUntrustedReserveLocation: boolean;403 readonly isUntrustedTeleportLocation: boolean;404 readonly isMultiLocationFull: boolean;405 readonly isMultiLocationNotInvertible: boolean;406 readonly isBadOrigin: boolean;407 readonly isInvalidLocation: boolean;408 readonly isAssetNotFound: boolean;409 readonly isFailedToTransactAsset: boolean;410 readonly isNotWithdrawable: boolean;411 readonly isLocationCannotHold: boolean;412 readonly isExceedsMaxMessageSize: boolean;413 readonly isDestinationUnsupported: boolean;414 readonly isTransport: boolean;415 readonly isUnroutable: boolean;416 readonly isUnknownClaim: boolean;417 readonly isFailedToDecode: boolean;418 readonly isMaxWeightInvalid: boolean;419 readonly isNotHoldingFees: boolean;420 readonly isTooExpensive: boolean;421 readonly isTrap: boolean;422 readonly asTrap: u64;423 readonly isUnhandledXcmVersion: boolean;424 readonly isWeightLimitReached: boolean;425 readonly asWeightLimitReached: u64;426 readonly isBarrier: boolean;427 readonly isWeightNotComputable: boolean;428 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';429 }430431 /** @name PalletXcmEvent (43) */432 interface PalletXcmEvent extends Enum {433 readonly isAttempted: boolean;434 readonly asAttempted: XcmV2TraitsOutcome;435 readonly isSent: boolean;436 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;437 readonly isUnexpectedResponse: boolean;438 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;439 readonly isResponseReady: boolean;440 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;441 readonly isNotified: boolean;442 readonly asNotified: ITuple<[u64, u8, u8]>;443 readonly isNotifyOverweight: boolean;444 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;445 readonly isNotifyDispatchError: boolean;446 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;447 readonly isNotifyDecodeFailed: boolean;448 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;449 readonly isInvalidResponder: boolean;450 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;451 readonly isInvalidResponderVersion: boolean;452 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;453 readonly isResponseTaken: boolean;454 readonly asResponseTaken: u64;455 readonly isAssetsTrapped: boolean;456 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;457 readonly isVersionChangeNotified: boolean;458 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;459 readonly isSupportedVersionChanged: boolean;460 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;461 readonly isNotifyTargetSendFail: boolean;462 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;463 readonly isNotifyTargetMigrationFail: boolean;464 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;465 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';466 }467468 /** @name XcmV2TraitsOutcome (44) */469 interface XcmV2TraitsOutcome extends Enum {470 readonly isComplete: boolean;471 readonly asComplete: u64;472 readonly isIncomplete: boolean;473 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;474 readonly isError: boolean;475 readonly asError: XcmV2TraitsError;476 readonly type: 'Complete' | 'Incomplete' | 'Error';477 }478479 /** @name XcmV1MultiLocation (45) */480 interface XcmV1MultiLocation extends Struct {481 readonly parents: u8;482 readonly interior: XcmV1MultilocationJunctions;483 }484485 /** @name XcmV1MultilocationJunctions (46) */486 interface XcmV1MultilocationJunctions extends Enum {487 readonly isHere: boolean;488 readonly isX1: boolean;489 readonly asX1: XcmV1Junction;490 readonly isX2: boolean;491 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;492 readonly isX3: boolean;493 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;494 readonly isX4: boolean;495 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;496 readonly isX5: boolean;497 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;498 readonly isX6: boolean;499 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;500 readonly isX7: boolean;501 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;502 readonly isX8: boolean;503 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;504 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';505 }506507 /** @name XcmV1Junction (47) */508 interface XcmV1Junction extends Enum {509 readonly isParachain: boolean;510 readonly asParachain: Compact<u32>;511 readonly isAccountId32: boolean;512 readonly asAccountId32: {513 readonly network: XcmV0JunctionNetworkId;514 readonly id: U8aFixed;515 } & Struct;516 readonly isAccountIndex64: boolean;517 readonly asAccountIndex64: {518 readonly network: XcmV0JunctionNetworkId;519 readonly index: Compact<u64>;520 } & Struct;521 readonly isAccountKey20: boolean;522 readonly asAccountKey20: {523 readonly network: XcmV0JunctionNetworkId;524 readonly key: U8aFixed;525 } & Struct;526 readonly isPalletInstance: boolean;527 readonly asPalletInstance: u8;528 readonly isGeneralIndex: boolean;529 readonly asGeneralIndex: Compact<u128>;530 readonly isGeneralKey: boolean;531 readonly asGeneralKey: Bytes;532 readonly isOnlyChild: boolean;533 readonly isPlurality: boolean;534 readonly asPlurality: {535 readonly id: XcmV0JunctionBodyId;536 readonly part: XcmV0JunctionBodyPart;537 } & Struct;538 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';539 }540541 /** @name XcmV0JunctionNetworkId (49) */542 interface XcmV0JunctionNetworkId extends Enum {543 readonly isAny: boolean;544 readonly isNamed: boolean;545 readonly asNamed: Bytes;546 readonly isPolkadot: boolean;547 readonly isKusama: boolean;548 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';549 }550551 /** @name XcmV0JunctionBodyId (53) */552 interface XcmV0JunctionBodyId extends Enum {553 readonly isUnit: boolean;554 readonly isNamed: boolean;555 readonly asNamed: Bytes;556 readonly isIndex: boolean;557 readonly asIndex: Compact<u32>;558 readonly isExecutive: boolean;559 readonly isTechnical: boolean;560 readonly isLegislative: boolean;561 readonly isJudicial: boolean;562 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';563 }564565 /** @name XcmV0JunctionBodyPart (54) */566 interface XcmV0JunctionBodyPart extends Enum {567 readonly isVoice: boolean;568 readonly isMembers: boolean;569 readonly asMembers: {570 readonly count: Compact<u32>;571 } & Struct;572 readonly isFraction: boolean;573 readonly asFraction: {574 readonly nom: Compact<u32>;575 readonly denom: Compact<u32>;576 } & Struct;577 readonly isAtLeastProportion: boolean;578 readonly asAtLeastProportion: {579 readonly nom: Compact<u32>;580 readonly denom: Compact<u32>;581 } & Struct;582 readonly isMoreThanProportion: boolean;583 readonly asMoreThanProportion: {584 readonly nom: Compact<u32>;585 readonly denom: Compact<u32>;586 } & Struct;587 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';588 }589590 /** @name XcmV2Xcm (55) */591 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}592593 /** @name XcmV2Instruction (57) */594 interface XcmV2Instruction extends Enum {595 readonly isWithdrawAsset: boolean;596 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;597 readonly isReserveAssetDeposited: boolean;598 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;599 readonly isReceiveTeleportedAsset: boolean;600 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;601 readonly isQueryResponse: boolean;602 readonly asQueryResponse: {603 readonly queryId: Compact<u64>;604 readonly response: XcmV2Response;605 readonly maxWeight: Compact<u64>;606 } & Struct;607 readonly isTransferAsset: boolean;608 readonly asTransferAsset: {609 readonly assets: XcmV1MultiassetMultiAssets;610 readonly beneficiary: XcmV1MultiLocation;611 } & Struct;612 readonly isTransferReserveAsset: boolean;613 readonly asTransferReserveAsset: {614 readonly assets: XcmV1MultiassetMultiAssets;615 readonly dest: XcmV1MultiLocation;616 readonly xcm: XcmV2Xcm;617 } & Struct;618 readonly isTransact: boolean;619 readonly asTransact: {620 readonly originType: XcmV0OriginKind;621 readonly requireWeightAtMost: Compact<u64>;622 readonly call: XcmDoubleEncoded;623 } & Struct;624 readonly isHrmpNewChannelOpenRequest: boolean;625 readonly asHrmpNewChannelOpenRequest: {626 readonly sender: Compact<u32>;627 readonly maxMessageSize: Compact<u32>;628 readonly maxCapacity: Compact<u32>;629 } & Struct;630 readonly isHrmpChannelAccepted: boolean;631 readonly asHrmpChannelAccepted: {632 readonly recipient: Compact<u32>;633 } & Struct;634 readonly isHrmpChannelClosing: boolean;635 readonly asHrmpChannelClosing: {636 readonly initiator: Compact<u32>;637 readonly sender: Compact<u32>;638 readonly recipient: Compact<u32>;639 } & Struct;640 readonly isClearOrigin: boolean;641 readonly isDescendOrigin: boolean;642 readonly asDescendOrigin: XcmV1MultilocationJunctions;643 readonly isReportError: boolean;644 readonly asReportError: {645 readonly queryId: Compact<u64>;646 readonly dest: XcmV1MultiLocation;647 readonly maxResponseWeight: Compact<u64>;648 } & Struct;649 readonly isDepositAsset: boolean;650 readonly asDepositAsset: {651 readonly assets: XcmV1MultiassetMultiAssetFilter;652 readonly maxAssets: Compact<u32>;653 readonly beneficiary: XcmV1MultiLocation;654 } & Struct;655 readonly isDepositReserveAsset: boolean;656 readonly asDepositReserveAsset: {657 readonly assets: XcmV1MultiassetMultiAssetFilter;658 readonly maxAssets: Compact<u32>;659 readonly dest: XcmV1MultiLocation;660 readonly xcm: XcmV2Xcm;661 } & Struct;662 readonly isExchangeAsset: boolean;663 readonly asExchangeAsset: {664 readonly give: XcmV1MultiassetMultiAssetFilter;665 readonly receive: XcmV1MultiassetMultiAssets;666 } & Struct;667 readonly isInitiateReserveWithdraw: boolean;668 readonly asInitiateReserveWithdraw: {669 readonly assets: XcmV1MultiassetMultiAssetFilter;670 readonly reserve: XcmV1MultiLocation;671 readonly xcm: XcmV2Xcm;672 } & Struct;673 readonly isInitiateTeleport: boolean;674 readonly asInitiateTeleport: {675 readonly assets: XcmV1MultiassetMultiAssetFilter;676 readonly dest: XcmV1MultiLocation;677 readonly xcm: XcmV2Xcm;678 } & Struct;679 readonly isQueryHolding: boolean;680 readonly asQueryHolding: {681 readonly queryId: Compact<u64>;682 readonly dest: XcmV1MultiLocation;683 readonly assets: XcmV1MultiassetMultiAssetFilter;684 readonly maxResponseWeight: Compact<u64>;685 } & Struct;686 readonly isBuyExecution: boolean;687 readonly asBuyExecution: {688 readonly fees: XcmV1MultiAsset;689 readonly weightLimit: XcmV2WeightLimit;690 } & Struct;691 readonly isRefundSurplus: boolean;692 readonly isSetErrorHandler: boolean;693 readonly asSetErrorHandler: XcmV2Xcm;694 readonly isSetAppendix: boolean;695 readonly asSetAppendix: XcmV2Xcm;696 readonly isClearError: boolean;697 readonly isClaimAsset: boolean;698 readonly asClaimAsset: {699 readonly assets: XcmV1MultiassetMultiAssets;700 readonly ticket: XcmV1MultiLocation;701 } & Struct;702 readonly isTrap: boolean;703 readonly asTrap: Compact<u64>;704 readonly isSubscribeVersion: boolean;705 readonly asSubscribeVersion: {706 readonly queryId: Compact<u64>;707 readonly maxResponseWeight: Compact<u64>;708 } & Struct;709 readonly isUnsubscribeVersion: boolean;710 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';711 }712713 /** @name XcmV1MultiassetMultiAssets (58) */714 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}715716 /** @name XcmV1MultiAsset (60) */717 interface XcmV1MultiAsset extends Struct {718 readonly id: XcmV1MultiassetAssetId;719 readonly fun: XcmV1MultiassetFungibility;720 }721722 /** @name XcmV1MultiassetAssetId (61) */723 interface XcmV1MultiassetAssetId extends Enum {724 readonly isConcrete: boolean;725 readonly asConcrete: XcmV1MultiLocation;726 readonly isAbstract: boolean;727 readonly asAbstract: Bytes;728 readonly type: 'Concrete' | 'Abstract';729 }730731 /** @name XcmV1MultiassetFungibility (62) */732 interface XcmV1MultiassetFungibility extends Enum {733 readonly isFungible: boolean;734 readonly asFungible: Compact<u128>;735 readonly isNonFungible: boolean;736 readonly asNonFungible: XcmV1MultiassetAssetInstance;737 readonly type: 'Fungible' | 'NonFungible';738 }739740 /** @name XcmV1MultiassetAssetInstance (63) */741 interface XcmV1MultiassetAssetInstance extends Enum {742 readonly isUndefined: boolean;743 readonly isIndex: boolean;744 readonly asIndex: Compact<u128>;745 readonly isArray4: boolean;746 readonly asArray4: U8aFixed;747 readonly isArray8: boolean;748 readonly asArray8: U8aFixed;749 readonly isArray16: boolean;750 readonly asArray16: U8aFixed;751 readonly isArray32: boolean;752 readonly asArray32: U8aFixed;753 readonly isBlob: boolean;754 readonly asBlob: Bytes;755 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';756 }757758 /** @name XcmV2Response (66) */759 interface XcmV2Response extends Enum {760 readonly isNull: boolean;761 readonly isAssets: boolean;762 readonly asAssets: XcmV1MultiassetMultiAssets;763 readonly isExecutionResult: boolean;764 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;765 readonly isVersion: boolean;766 readonly asVersion: u32;767 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';768 }769770 /** @name XcmV0OriginKind (69) */771 interface XcmV0OriginKind extends Enum {772 readonly isNative: boolean;773 readonly isSovereignAccount: boolean;774 readonly isSuperuser: boolean;775 readonly isXcm: boolean;776 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';777 }778779 /** @name XcmDoubleEncoded (70) */780 interface XcmDoubleEncoded extends Struct {781 readonly encoded: Bytes;782 }783784 /** @name XcmV1MultiassetMultiAssetFilter (71) */785 interface XcmV1MultiassetMultiAssetFilter extends Enum {786 readonly isDefinite: boolean;787 readonly asDefinite: XcmV1MultiassetMultiAssets;788 readonly isWild: boolean;789 readonly asWild: XcmV1MultiassetWildMultiAsset;790 readonly type: 'Definite' | 'Wild';791 }792793 /** @name XcmV1MultiassetWildMultiAsset (72) */794 interface XcmV1MultiassetWildMultiAsset extends Enum {795 readonly isAll: boolean;796 readonly isAllOf: boolean;797 readonly asAllOf: {798 readonly id: XcmV1MultiassetAssetId;799 readonly fun: XcmV1MultiassetWildFungibility;800 } & Struct;801 readonly type: 'All' | 'AllOf';802 }803804 /** @name XcmV1MultiassetWildFungibility (73) */805 interface XcmV1MultiassetWildFungibility extends Enum {806 readonly isFungible: boolean;807 readonly isNonFungible: boolean;808 readonly type: 'Fungible' | 'NonFungible';809 }810811 /** @name XcmV2WeightLimit (74) */812 interface XcmV2WeightLimit extends Enum {813 readonly isUnlimited: boolean;814 readonly isLimited: boolean;815 readonly asLimited: Compact<u64>;816 readonly type: 'Unlimited' | 'Limited';817 }818819 /** @name XcmVersionedMultiAssets (76) */820 interface XcmVersionedMultiAssets extends Enum {821 readonly isV0: boolean;822 readonly asV0: Vec<XcmV0MultiAsset>;823 readonly isV1: boolean;824 readonly asV1: XcmV1MultiassetMultiAssets;825 readonly type: 'V0' | 'V1';826 }827828 /** @name XcmV0MultiAsset (78) */829 interface XcmV0MultiAsset extends Enum {830 readonly isNone: boolean;831 readonly isAll: boolean;832 readonly isAllFungible: boolean;833 readonly isAllNonFungible: boolean;834 readonly isAllAbstractFungible: boolean;835 readonly asAllAbstractFungible: {836 readonly id: Bytes;837 } & Struct;838 readonly isAllAbstractNonFungible: boolean;839 readonly asAllAbstractNonFungible: {840 readonly class: Bytes;841 } & Struct;842 readonly isAllConcreteFungible: boolean;843 readonly asAllConcreteFungible: {844 readonly id: XcmV0MultiLocation;845 } & Struct;846 readonly isAllConcreteNonFungible: boolean;847 readonly asAllConcreteNonFungible: {848 readonly class: XcmV0MultiLocation;849 } & Struct;850 readonly isAbstractFungible: boolean;851 readonly asAbstractFungible: {852 readonly id: Bytes;853 readonly amount: Compact<u128>;854 } & Struct;855 readonly isAbstractNonFungible: boolean;856 readonly asAbstractNonFungible: {857 readonly class: Bytes;858 readonly instance: XcmV1MultiassetAssetInstance;859 } & Struct;860 readonly isConcreteFungible: boolean;861 readonly asConcreteFungible: {862 readonly id: XcmV0MultiLocation;863 readonly amount: Compact<u128>;864 } & Struct;865 readonly isConcreteNonFungible: boolean;866 readonly asConcreteNonFungible: {867 readonly class: XcmV0MultiLocation;868 readonly instance: XcmV1MultiassetAssetInstance;869 } & Struct;870 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';871 }872873 /** @name XcmV0MultiLocation (79) */874 interface XcmV0MultiLocation extends Enum {875 readonly isNull: boolean;876 readonly isX1: boolean;877 readonly asX1: XcmV0Junction;878 readonly isX2: boolean;879 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;880 readonly isX3: boolean;881 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;882 readonly isX4: boolean;883 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;884 readonly isX5: boolean;885 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;886 readonly isX6: boolean;887 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;888 readonly isX7: boolean;889 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;890 readonly isX8: boolean;891 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;892 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';893 }894895 /** @name XcmV0Junction (80) */896 interface XcmV0Junction extends Enum {897 readonly isParent: boolean;898 readonly isParachain: boolean;899 readonly asParachain: Compact<u32>;900 readonly isAccountId32: boolean;901 readonly asAccountId32: {902 readonly network: XcmV0JunctionNetworkId;903 readonly id: U8aFixed;904 } & Struct;905 readonly isAccountIndex64: boolean;906 readonly asAccountIndex64: {907 readonly network: XcmV0JunctionNetworkId;908 readonly index: Compact<u64>;909 } & Struct;910 readonly isAccountKey20: boolean;911 readonly asAccountKey20: {912 readonly network: XcmV0JunctionNetworkId;913 readonly key: U8aFixed;914 } & Struct;915 readonly isPalletInstance: boolean;916 readonly asPalletInstance: u8;917 readonly isGeneralIndex: boolean;918 readonly asGeneralIndex: Compact<u128>;919 readonly isGeneralKey: boolean;920 readonly asGeneralKey: Bytes;921 readonly isOnlyChild: boolean;922 readonly isPlurality: boolean;923 readonly asPlurality: {924 readonly id: XcmV0JunctionBodyId;925 readonly part: XcmV0JunctionBodyPart;926 } & Struct;927 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';928 }929930 /** @name XcmVersionedMultiLocation (81) */931 interface XcmVersionedMultiLocation extends Enum {932 readonly isV0: boolean;933 readonly asV0: XcmV0MultiLocation;934 readonly isV1: boolean;935 readonly asV1: XcmV1MultiLocation;936 readonly type: 'V0' | 'V1';937 }938939 /** @name CumulusPalletXcmEvent (82) */940 interface CumulusPalletXcmEvent extends Enum {941 readonly isInvalidFormat: boolean;942 readonly asInvalidFormat: U8aFixed;943 readonly isUnsupportedVersion: boolean;944 readonly asUnsupportedVersion: U8aFixed;945 readonly isExecutedDownward: boolean;946 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;947 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';948 }949950 /** @name CumulusPalletDmpQueueEvent (83) */951 interface CumulusPalletDmpQueueEvent extends Enum {952 readonly isInvalidFormat: boolean;953 readonly asInvalidFormat: {954 readonly messageId: U8aFixed;955 } & Struct;956 readonly isUnsupportedVersion: boolean;957 readonly asUnsupportedVersion: {958 readonly messageId: U8aFixed;959 } & Struct;960 readonly isExecutedDownward: boolean;961 readonly asExecutedDownward: {962 readonly messageId: U8aFixed;963 readonly outcome: XcmV2TraitsOutcome;964 } & Struct;965 readonly isWeightExhausted: boolean;966 readonly asWeightExhausted: {967 readonly messageId: U8aFixed;968 readonly remainingWeight: u64;969 readonly requiredWeight: u64;970 } & Struct;971 readonly isOverweightEnqueued: boolean;972 readonly asOverweightEnqueued: {973 readonly messageId: U8aFixed;974 readonly overweightIndex: u64;975 readonly requiredWeight: u64;976 } & Struct;977 readonly isOverweightServiced: boolean;978 readonly asOverweightServiced: {979 readonly overweightIndex: u64;980 readonly weightUsed: u64;981 } & Struct;982 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';983 }984985 /** @name PalletUniqueRawEvent (84) */986 interface PalletUniqueRawEvent extends Enum {987 readonly isCollectionSponsorRemoved: boolean;988 readonly asCollectionSponsorRemoved: u32;989 readonly isCollectionAdminAdded: boolean;990 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;991 readonly isCollectionOwnedChanged: boolean;992 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;993 readonly isCollectionSponsorSet: boolean;994 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;995 readonly isSponsorshipConfirmed: boolean;996 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;997 readonly isCollectionAdminRemoved: boolean;998 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;999 readonly isAllowListAddressRemoved: boolean;1000 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1001 readonly isAllowListAddressAdded: boolean;1002 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1003 readonly isCollectionLimitSet: boolean;1004 readonly asCollectionLimitSet: u32;1005 readonly isCollectionPermissionSet: boolean;1006 readonly asCollectionPermissionSet: u32;1007 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1008 }10091010 /** @name PalletEvmAccountBasicCrossAccountIdRepr (85) */1011 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1012 readonly isSubstrate: boolean;1013 readonly asSubstrate: AccountId32;1014 readonly isEthereum: boolean;1015 readonly asEthereum: H160;1016 readonly type: 'Substrate' | 'Ethereum';1017 }10181019 /** @name PalletUniqueSchedulerEvent (88) */1020 interface PalletUniqueSchedulerEvent extends Enum {1021 readonly isScheduled: boolean;1022 readonly asScheduled: {1023 readonly when: u32;1024 readonly index: u32;1025 } & Struct;1026 readonly isCanceled: boolean;1027 readonly asCanceled: {1028 readonly when: u32;1029 readonly index: u32;1030 } & Struct;1031 readonly isDispatched: boolean;1032 readonly asDispatched: {1033 readonly task: ITuple<[u32, u32]>;1034 readonly id: Option<U8aFixed>;1035 readonly result: Result<Null, SpRuntimeDispatchError>;1036 } & Struct;1037 readonly isCallLookupFailed: boolean;1038 readonly asCallLookupFailed: {1039 readonly task: ITuple<[u32, u32]>;1040 readonly id: Option<U8aFixed>;1041 readonly error: FrameSupportScheduleLookupError;1042 } & Struct;1043 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1044 }10451046 /** @name FrameSupportScheduleLookupError (91) */1047 interface FrameSupportScheduleLookupError extends Enum {1048 readonly isUnknown: boolean;1049 readonly isBadFormat: boolean;1050 readonly type: 'Unknown' | 'BadFormat';1051 }10521053 /** @name PalletCommonEvent (92) */1054 interface PalletCommonEvent extends Enum {1055 readonly isCollectionCreated: boolean;1056 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1057 readonly isCollectionDestroyed: boolean;1058 readonly asCollectionDestroyed: u32;1059 readonly isItemCreated: boolean;1060 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1061 readonly isItemDestroyed: boolean;1062 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1063 readonly isTransfer: boolean;1064 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1065 readonly isApproved: boolean;1066 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1067 readonly isCollectionPropertySet: boolean;1068 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1069 readonly isCollectionPropertyDeleted: boolean;1070 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1071 readonly isTokenPropertySet: boolean;1072 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1073 readonly isTokenPropertyDeleted: boolean;1074 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1075 readonly isPropertyPermissionSet: boolean;1076 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1077 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1078 }10791080 /** @name PalletStructureEvent (95) */1081 interface PalletStructureEvent extends Enum {1082 readonly isExecuted: boolean;1083 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1084 readonly type: 'Executed';1085 }10861087 /** @name PalletRmrkCoreEvent (96) */1088 interface PalletRmrkCoreEvent extends Enum {1089 readonly isCollectionCreated: boolean;1090 readonly asCollectionCreated: {1091 readonly issuer: AccountId32;1092 readonly collectionId: u32;1093 } & Struct;1094 readonly isCollectionDestroyed: boolean;1095 readonly asCollectionDestroyed: {1096 readonly issuer: AccountId32;1097 readonly collectionId: u32;1098 } & Struct;1099 readonly isIssuerChanged: boolean;1100 readonly asIssuerChanged: {1101 readonly oldIssuer: AccountId32;1102 readonly newIssuer: AccountId32;1103 readonly collectionId: u32;1104 } & Struct;1105 readonly isCollectionLocked: boolean;1106 readonly asCollectionLocked: {1107 readonly issuer: AccountId32;1108 readonly collectionId: u32;1109 } & Struct;1110 readonly isNftMinted: boolean;1111 readonly asNftMinted: {1112 readonly owner: AccountId32;1113 readonly collectionId: u32;1114 readonly nftId: u32;1115 } & Struct;1116 readonly isNftBurned: boolean;1117 readonly asNftBurned: {1118 readonly owner: AccountId32;1119 readonly nftId: u32;1120 } & Struct;1121 readonly isNftSent: boolean;1122 readonly asNftSent: {1123 readonly sender: AccountId32;1124 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1125 readonly collectionId: u32;1126 readonly nftId: u32;1127 readonly approvalRequired: bool;1128 } & Struct;1129 readonly isNftAccepted: boolean;1130 readonly asNftAccepted: {1131 readonly sender: AccountId32;1132 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1133 readonly collectionId: u32;1134 readonly nftId: u32;1135 } & Struct;1136 readonly isNftRejected: boolean;1137 readonly asNftRejected: {1138 readonly sender: AccountId32;1139 readonly collectionId: u32;1140 readonly nftId: u32;1141 } & Struct;1142 readonly isPropertySet: boolean;1143 readonly asPropertySet: {1144 readonly collectionId: u32;1145 readonly maybeNftId: Option<u32>;1146 readonly key: Bytes;1147 readonly value: Bytes;1148 } & Struct;1149 readonly isResourceAdded: boolean;1150 readonly asResourceAdded: {1151 readonly nftId: u32;1152 readonly resourceId: u32;1153 } & Struct;1154 readonly isResourceRemoval: boolean;1155 readonly asResourceRemoval: {1156 readonly nftId: u32;1157 readonly resourceId: u32;1158 } & Struct;1159 readonly isResourceAccepted: boolean;1160 readonly asResourceAccepted: {1161 readonly nftId: u32;1162 readonly resourceId: u32;1163 } & Struct;1164 readonly isResourceRemovalAccepted: boolean;1165 readonly asResourceRemovalAccepted: {1166 readonly nftId: u32;1167 readonly resourceId: u32;1168 } & Struct;1169 readonly isPrioritySet: boolean;1170 readonly asPrioritySet: {1171 readonly collectionId: u32;1172 readonly nftId: u32;1173 } & Struct;1174 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1175 }11761177 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */1178 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1179 readonly isAccountId: boolean;1180 readonly asAccountId: AccountId32;1181 readonly isCollectionAndNftTuple: boolean;1182 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1183 readonly type: 'AccountId' | 'CollectionAndNftTuple';1184 }11851186 /** @name PalletRmrkEquipEvent (102) */1187 interface PalletRmrkEquipEvent extends Enum {1188 readonly isBaseCreated: boolean;1189 readonly asBaseCreated: {1190 readonly issuer: AccountId32;1191 readonly baseId: u32;1192 } & Struct;1193 readonly isEquippablesUpdated: boolean;1194 readonly asEquippablesUpdated: {1195 readonly baseId: u32;1196 readonly slotId: u32;1197 } & Struct;1198 readonly type: 'BaseCreated' | 'EquippablesUpdated';1199 }12001201 /** @name PalletAppPromotionEvent (103) */1202 interface PalletAppPromotionEvent extends Enum {1203 readonly isStakingRecalculation: boolean;1204 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1205 readonly type: 'StakingRecalculation';1206 }12071208 /** @name PalletEvmEvent (104) */1209 interface PalletEvmEvent extends Enum {1210 readonly isLog: boolean;1211 readonly asLog: EthereumLog;1212 readonly isCreated: boolean;1213 readonly asCreated: H160;1214 readonly isCreatedFailed: boolean;1215 readonly asCreatedFailed: H160;1216 readonly isExecuted: boolean;1217 readonly asExecuted: H160;1218 readonly isExecutedFailed: boolean;1219 readonly asExecutedFailed: H160;1220 readonly isBalanceDeposit: boolean;1221 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1222 readonly isBalanceWithdraw: boolean;1223 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1224 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1225 }12261227 /** @name EthereumLog (105) */1228 interface EthereumLog extends Struct {1229 readonly address: H160;1230 readonly topics: Vec<H256>;1231 readonly data: Bytes;1232 }12331234 /** @name PalletEthereumEvent (109) */1235 interface PalletEthereumEvent extends Enum {1236 readonly isExecuted: boolean;1237 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1238 readonly type: 'Executed';1239 }12401241 /** @name EvmCoreErrorExitReason (110) */1242 interface EvmCoreErrorExitReason extends Enum {1243 readonly isSucceed: boolean;1244 readonly asSucceed: EvmCoreErrorExitSucceed;1245 readonly isError: boolean;1246 readonly asError: EvmCoreErrorExitError;1247 readonly isRevert: boolean;1248 readonly asRevert: EvmCoreErrorExitRevert;1249 readonly isFatal: boolean;1250 readonly asFatal: EvmCoreErrorExitFatal;1251 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1252 }12531254 /** @name EvmCoreErrorExitSucceed (111) */1255 interface EvmCoreErrorExitSucceed extends Enum {1256 readonly isStopped: boolean;1257 readonly isReturned: boolean;1258 readonly isSuicided: boolean;1259 readonly type: 'Stopped' | 'Returned' | 'Suicided';1260 }12611262 /** @name EvmCoreErrorExitError (112) */1263 interface EvmCoreErrorExitError extends Enum {1264 readonly isStackUnderflow: boolean;1265 readonly isStackOverflow: boolean;1266 readonly isInvalidJump: boolean;1267 readonly isInvalidRange: boolean;1268 readonly isDesignatedInvalid: boolean;1269 readonly isCallTooDeep: boolean;1270 readonly isCreateCollision: boolean;1271 readonly isCreateContractLimit: boolean;1272 readonly isOutOfOffset: boolean;1273 readonly isOutOfGas: boolean;1274 readonly isOutOfFund: boolean;1275 readonly isPcUnderflow: boolean;1276 readonly isCreateEmpty: boolean;1277 readonly isOther: boolean;1278 readonly asOther: Text;1279 readonly isInvalidCode: boolean;1280 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1281 }12821283 /** @name EvmCoreErrorExitRevert (115) */1284 interface EvmCoreErrorExitRevert extends Enum {1285 readonly isReverted: boolean;1286 readonly type: 'Reverted';1287 }12881289 /** @name EvmCoreErrorExitFatal (116) */1290 interface EvmCoreErrorExitFatal extends Enum {1291 readonly isNotSupported: boolean;1292 readonly isUnhandledInterrupt: boolean;1293 readonly isCallErrorAsFatal: boolean;1294 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1295 readonly isOther: boolean;1296 readonly asOther: Text;1297 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1298 }12991300 /** @name FrameSystemPhase (117) */1301 interface FrameSystemPhase extends Enum {1302 readonly isApplyExtrinsic: boolean;1303 readonly asApplyExtrinsic: u32;1304 readonly isFinalization: boolean;1305 readonly isInitialization: boolean;1306 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1307 }13081309 /** @name FrameSystemLastRuntimeUpgradeInfo (119) */1310 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1311 readonly specVersion: Compact<u32>;1312 readonly specName: Text;1313 }13141315 /** @name FrameSystemCall (120) */1316 interface FrameSystemCall extends Enum {1317 readonly isFillBlock: boolean;1318 readonly asFillBlock: {1319 readonly ratio: Perbill;1320 } & Struct;1321 readonly isRemark: boolean;1322 readonly asRemark: {1323 readonly remark: Bytes;1324 } & Struct;1325 readonly isSetHeapPages: boolean;1326 readonly asSetHeapPages: {1327 readonly pages: u64;1328 } & Struct;1329 readonly isSetCode: boolean;1330 readonly asSetCode: {1331 readonly code: Bytes;1332 } & Struct;1333 readonly isSetCodeWithoutChecks: boolean;1334 readonly asSetCodeWithoutChecks: {1335 readonly code: Bytes;1336 } & Struct;1337 readonly isSetStorage: boolean;1338 readonly asSetStorage: {1339 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1340 } & Struct;1341 readonly isKillStorage: boolean;1342 readonly asKillStorage: {1343 readonly keys_: Vec<Bytes>;1344 } & Struct;1345 readonly isKillPrefix: boolean;1346 readonly asKillPrefix: {1347 readonly prefix: Bytes;1348 readonly subkeys: u32;1349 } & Struct;1350 readonly isRemarkWithEvent: boolean;1351 readonly asRemarkWithEvent: {1352 readonly remark: Bytes;1353 } & Struct;1354 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1355 }13561357 /** @name FrameSystemLimitsBlockWeights (125) */1358 interface FrameSystemLimitsBlockWeights extends Struct {1359 readonly baseBlock: u64;1360 readonly maxBlock: u64;1361 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1362 }13631364 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (126) */1365 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1366 readonly normal: FrameSystemLimitsWeightsPerClass;1367 readonly operational: FrameSystemLimitsWeightsPerClass;1368 readonly mandatory: FrameSystemLimitsWeightsPerClass;1369 }13701371 /** @name FrameSystemLimitsWeightsPerClass (127) */1372 interface FrameSystemLimitsWeightsPerClass extends Struct {1373 readonly baseExtrinsic: u64;1374 readonly maxExtrinsic: Option<u64>;1375 readonly maxTotal: Option<u64>;1376 readonly reserved: Option<u64>;1377 }13781379 /** @name FrameSystemLimitsBlockLength (129) */1380 interface FrameSystemLimitsBlockLength extends Struct {1381 readonly max: FrameSupportWeightsPerDispatchClassU32;1382 }13831384 /** @name FrameSupportWeightsPerDispatchClassU32 (130) */1385 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1386 readonly normal: u32;1387 readonly operational: u32;1388 readonly mandatory: u32;1389 }13901391 /** @name FrameSupportWeightsRuntimeDbWeight (131) */1392 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1393 readonly read: u64;1394 readonly write: u64;1395 }13961397 /** @name SpVersionRuntimeVersion (132) */1398 interface SpVersionRuntimeVersion extends Struct {1399 readonly specName: Text;1400 readonly implName: Text;1401 readonly authoringVersion: u32;1402 readonly specVersion: u32;1403 readonly implVersion: u32;1404 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1405 readonly transactionVersion: u32;1406 readonly stateVersion: u8;1407 }14081409 /** @name FrameSystemError (137) */1410 interface FrameSystemError extends Enum {1411 readonly isInvalidSpecName: boolean;1412 readonly isSpecVersionNeedsToIncrease: boolean;1413 readonly isFailedToExtractRuntimeVersion: boolean;1414 readonly isNonDefaultComposite: boolean;1415 readonly isNonZeroRefCount: boolean;1416 readonly isCallFiltered: boolean;1417 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1418 }14191420 /** @name PolkadotPrimitivesV2PersistedValidationData (138) */1421 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1422 readonly parentHead: Bytes;1423 readonly relayParentNumber: u32;1424 readonly relayParentStorageRoot: H256;1425 readonly maxPovSize: u32;1426 }14271428 /** @name PolkadotPrimitivesV2UpgradeRestriction (141) */1429 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1430 readonly isPresent: boolean;1431 readonly type: 'Present';1432 }14331434 /** @name SpTrieStorageProof (142) */1435 interface SpTrieStorageProof extends Struct {1436 readonly trieNodes: BTreeSet<Bytes>;1437 }14381439 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (144) */1440 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1441 readonly dmqMqcHead: H256;1442 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1443 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1444 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1445 }14461447 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (147) */1448 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1449 readonly maxCapacity: u32;1450 readonly maxTotalSize: u32;1451 readonly maxMessageSize: u32;1452 readonly msgCount: u32;1453 readonly totalSize: u32;1454 readonly mqcHead: Option<H256>;1455 }14561457 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (148) */1458 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1459 readonly maxCodeSize: u32;1460 readonly maxHeadDataSize: u32;1461 readonly maxUpwardQueueCount: u32;1462 readonly maxUpwardQueueSize: u32;1463 readonly maxUpwardMessageSize: u32;1464 readonly maxUpwardMessageNumPerCandidate: u32;1465 readonly hrmpMaxMessageNumPerCandidate: u32;1466 readonly validationUpgradeCooldown: u32;1467 readonly validationUpgradeDelay: u32;1468 }14691470 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (154) */1471 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1472 readonly recipient: u32;1473 readonly data: Bytes;1474 }14751476 /** @name CumulusPalletParachainSystemCall (155) */1477 interface CumulusPalletParachainSystemCall extends Enum {1478 readonly isSetValidationData: boolean;1479 readonly asSetValidationData: {1480 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1481 } & Struct;1482 readonly isSudoSendUpwardMessage: boolean;1483 readonly asSudoSendUpwardMessage: {1484 readonly message: Bytes;1485 } & Struct;1486 readonly isAuthorizeUpgrade: boolean;1487 readonly asAuthorizeUpgrade: {1488 readonly codeHash: H256;1489 } & Struct;1490 readonly isEnactAuthorizedUpgrade: boolean;1491 readonly asEnactAuthorizedUpgrade: {1492 readonly code: Bytes;1493 } & Struct;1494 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1495 }14961497 /** @name CumulusPrimitivesParachainInherentParachainInherentData (156) */1498 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1499 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1500 readonly relayChainState: SpTrieStorageProof;1501 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1502 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1503 }15041505 /** @name PolkadotCorePrimitivesInboundDownwardMessage (158) */1506 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1507 readonly sentAt: u32;1508 readonly msg: Bytes;1509 }15101511 /** @name PolkadotCorePrimitivesInboundHrmpMessage (161) */1512 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1513 readonly sentAt: u32;1514 readonly data: Bytes;1515 }15161517 /** @name CumulusPalletParachainSystemError (164) */1518 interface CumulusPalletParachainSystemError extends Enum {1519 readonly isOverlappingUpgrades: boolean;1520 readonly isProhibitedByPolkadot: boolean;1521 readonly isTooBig: boolean;1522 readonly isValidationDataNotAvailable: boolean;1523 readonly isHostConfigurationNotAvailable: boolean;1524 readonly isNotScheduled: boolean;1525 readonly isNothingAuthorized: boolean;1526 readonly isUnauthorized: boolean;1527 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1528 }15291530 /** @name PalletBalancesBalanceLock (166) */1531 interface PalletBalancesBalanceLock extends Struct {1532 readonly id: U8aFixed;1533 readonly amount: u128;1534 readonly reasons: PalletBalancesReasons;1535 }15361537 /** @name PalletBalancesReasons (167) */1538 interface PalletBalancesReasons extends Enum {1539 readonly isFee: boolean;1540 readonly isMisc: boolean;1541 readonly isAll: boolean;1542 readonly type: 'Fee' | 'Misc' | 'All';1543 }15441545 /** @name PalletBalancesReserveData (170) */1546 interface PalletBalancesReserveData extends Struct {1547 readonly id: U8aFixed;1548 readonly amount: u128;1549 }15501551 /** @name PalletBalancesReleases (172) */1552 interface PalletBalancesReleases extends Enum {1553 readonly isV100: boolean;1554 readonly isV200: boolean;1555 readonly type: 'V100' | 'V200';1556 }15571558 /** @name PalletBalancesCall (173) */1559 interface PalletBalancesCall extends Enum {1560 readonly isTransfer: boolean;1561 readonly asTransfer: {1562 readonly dest: MultiAddress;1563 readonly value: Compact<u128>;1564 } & Struct;1565 readonly isSetBalance: boolean;1566 readonly asSetBalance: {1567 readonly who: MultiAddress;1568 readonly newFree: Compact<u128>;1569 readonly newReserved: Compact<u128>;1570 } & Struct;1571 readonly isForceTransfer: boolean;1572 readonly asForceTransfer: {1573 readonly source: MultiAddress;1574 readonly dest: MultiAddress;1575 readonly value: Compact<u128>;1576 } & Struct;1577 readonly isTransferKeepAlive: boolean;1578 readonly asTransferKeepAlive: {1579 readonly dest: MultiAddress;1580 readonly value: Compact<u128>;1581 } & Struct;1582 readonly isTransferAll: boolean;1583 readonly asTransferAll: {1584 readonly dest: MultiAddress;1585 readonly keepAlive: bool;1586 } & Struct;1587 readonly isForceUnreserve: boolean;1588 readonly asForceUnreserve: {1589 readonly who: MultiAddress;1590 readonly amount: u128;1591 } & Struct;1592 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1593 }15941595 /** @name PalletBalancesError (176) */1596 interface PalletBalancesError extends Enum {1597 readonly isVestingBalance: boolean;1598 readonly isLiquidityRestrictions: boolean;1599 readonly isInsufficientBalance: boolean;1600 readonly isExistentialDeposit: boolean;1601 readonly isKeepAlive: boolean;1602 readonly isExistingVestingSchedule: boolean;1603 readonly isDeadAccount: boolean;1604 readonly isTooManyReserves: boolean;1605 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1606 }16071608 /** @name PalletTimestampCall (178) */1609 interface PalletTimestampCall extends Enum {1610 readonly isSet: boolean;1611 readonly asSet: {1612 readonly now: Compact<u64>;1613 } & Struct;1614 readonly type: 'Set';1615 }16161617 /** @name PalletTransactionPaymentReleases (180) */1618 interface PalletTransactionPaymentReleases extends Enum {1619 readonly isV1Ancient: boolean;1620 readonly isV2: boolean;1621 readonly type: 'V1Ancient' | 'V2';1622 }16231624 /** @name PalletTreasuryProposal (181) */1625 interface PalletTreasuryProposal extends Struct {1626 readonly proposer: AccountId32;1627 readonly value: u128;1628 readonly beneficiary: AccountId32;1629 readonly bond: u128;1630 }16311632 /** @name PalletTreasuryCall (184) */1633 interface PalletTreasuryCall extends Enum {1634 readonly isProposeSpend: boolean;1635 readonly asProposeSpend: {1636 readonly value: Compact<u128>;1637 readonly beneficiary: MultiAddress;1638 } & Struct;1639 readonly isRejectProposal: boolean;1640 readonly asRejectProposal: {1641 readonly proposalId: Compact<u32>;1642 } & Struct;1643 readonly isApproveProposal: boolean;1644 readonly asApproveProposal: {1645 readonly proposalId: Compact<u32>;1646 } & Struct;1647 readonly isSpend: boolean;1648 readonly asSpend: {1649 readonly amount: Compact<u128>;1650 readonly beneficiary: MultiAddress;1651 } & Struct;1652 readonly isRemoveApproval: boolean;1653 readonly asRemoveApproval: {1654 readonly proposalId: Compact<u32>;1655 } & Struct;1656 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1657 }16581659 /** @name FrameSupportPalletId (187) */1660 interface FrameSupportPalletId extends U8aFixed {}16611662 /** @name PalletTreasuryError (188) */1663 interface PalletTreasuryError extends Enum {1664 readonly isInsufficientProposersBalance: boolean;1665 readonly isInvalidIndex: boolean;1666 readonly isTooManyApprovals: boolean;1667 readonly isInsufficientPermission: boolean;1668 readonly isProposalNotApproved: boolean;1669 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1670 }16711672 /** @name PalletSudoCall (189) */1673 interface PalletSudoCall extends Enum {1674 readonly isSudo: boolean;1675 readonly asSudo: {1676 readonly call: Call;1677 } & Struct;1678 readonly isSudoUncheckedWeight: boolean;1679 readonly asSudoUncheckedWeight: {1680 readonly call: Call;1681 readonly weight: u64;1682 } & Struct;1683 readonly isSetKey: boolean;1684 readonly asSetKey: {1685 readonly new_: MultiAddress;1686 } & Struct;1687 readonly isSudoAs: boolean;1688 readonly asSudoAs: {1689 readonly who: MultiAddress;1690 readonly call: Call;1691 } & Struct;1692 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1693 }16941695 /** @name OrmlVestingModuleCall (191) */1696 interface OrmlVestingModuleCall extends Enum {1697 readonly isClaim: boolean;1698 readonly isVestedTransfer: boolean;1699 readonly asVestedTransfer: {1700 readonly dest: MultiAddress;1701 readonly schedule: OrmlVestingVestingSchedule;1702 } & Struct;1703 readonly isUpdateVestingSchedules: boolean;1704 readonly asUpdateVestingSchedules: {1705 readonly who: MultiAddress;1706 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1707 } & Struct;1708 readonly isClaimFor: boolean;1709 readonly asClaimFor: {1710 readonly dest: MultiAddress;1711 } & Struct;1712 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1713 }17141715 /** @name CumulusPalletXcmpQueueCall (193) */1716 interface CumulusPalletXcmpQueueCall extends Enum {1717 readonly isServiceOverweight: boolean;1718 readonly asServiceOverweight: {1719 readonly index: u64;1720 readonly weightLimit: u64;1721 } & Struct;1722 readonly isSuspendXcmExecution: boolean;1723 readonly isResumeXcmExecution: boolean;1724 readonly isUpdateSuspendThreshold: boolean;1725 readonly asUpdateSuspendThreshold: {1726 readonly new_: u32;1727 } & Struct;1728 readonly isUpdateDropThreshold: boolean;1729 readonly asUpdateDropThreshold: {1730 readonly new_: u32;1731 } & Struct;1732 readonly isUpdateResumeThreshold: boolean;1733 readonly asUpdateResumeThreshold: {1734 readonly new_: u32;1735 } & Struct;1736 readonly isUpdateThresholdWeight: boolean;1737 readonly asUpdateThresholdWeight: {1738 readonly new_: u64;1739 } & Struct;1740 readonly isUpdateWeightRestrictDecay: boolean;1741 readonly asUpdateWeightRestrictDecay: {1742 readonly new_: u64;1743 } & Struct;1744 readonly isUpdateXcmpMaxIndividualWeight: boolean;1745 readonly asUpdateXcmpMaxIndividualWeight: {1746 readonly new_: u64;1747 } & Struct;1748 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1749 }17501751 /** @name PalletXcmCall (194) */1752 interface PalletXcmCall extends Enum {1753 readonly isSend: boolean;1754 readonly asSend: {1755 readonly dest: XcmVersionedMultiLocation;1756 readonly message: XcmVersionedXcm;1757 } & Struct;1758 readonly isTeleportAssets: boolean;1759 readonly asTeleportAssets: {1760 readonly dest: XcmVersionedMultiLocation;1761 readonly beneficiary: XcmVersionedMultiLocation;1762 readonly assets: XcmVersionedMultiAssets;1763 readonly feeAssetItem: u32;1764 } & Struct;1765 readonly isReserveTransferAssets: boolean;1766 readonly asReserveTransferAssets: {1767 readonly dest: XcmVersionedMultiLocation;1768 readonly beneficiary: XcmVersionedMultiLocation;1769 readonly assets: XcmVersionedMultiAssets;1770 readonly feeAssetItem: u32;1771 } & Struct;1772 readonly isExecute: boolean;1773 readonly asExecute: {1774 readonly message: XcmVersionedXcm;1775 readonly maxWeight: u64;1776 } & Struct;1777 readonly isForceXcmVersion: boolean;1778 readonly asForceXcmVersion: {1779 readonly location: XcmV1MultiLocation;1780 readonly xcmVersion: u32;1781 } & Struct;1782 readonly isForceDefaultXcmVersion: boolean;1783 readonly asForceDefaultXcmVersion: {1784 readonly maybeXcmVersion: Option<u32>;1785 } & Struct;1786 readonly isForceSubscribeVersionNotify: boolean;1787 readonly asForceSubscribeVersionNotify: {1788 readonly location: XcmVersionedMultiLocation;1789 } & Struct;1790 readonly isForceUnsubscribeVersionNotify: boolean;1791 readonly asForceUnsubscribeVersionNotify: {1792 readonly location: XcmVersionedMultiLocation;1793 } & Struct;1794 readonly isLimitedReserveTransferAssets: boolean;1795 readonly asLimitedReserveTransferAssets: {1796 readonly dest: XcmVersionedMultiLocation;1797 readonly beneficiary: XcmVersionedMultiLocation;1798 readonly assets: XcmVersionedMultiAssets;1799 readonly feeAssetItem: u32;1800 readonly weightLimit: XcmV2WeightLimit;1801 } & Struct;1802 readonly isLimitedTeleportAssets: boolean;1803 readonly asLimitedTeleportAssets: {1804 readonly dest: XcmVersionedMultiLocation;1805 readonly beneficiary: XcmVersionedMultiLocation;1806 readonly assets: XcmVersionedMultiAssets;1807 readonly feeAssetItem: u32;1808 readonly weightLimit: XcmV2WeightLimit;1809 } & Struct;1810 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1811 }18121813 /** @name XcmVersionedXcm (195) */1814 interface XcmVersionedXcm extends Enum {1815 readonly isV0: boolean;1816 readonly asV0: XcmV0Xcm;1817 readonly isV1: boolean;1818 readonly asV1: XcmV1Xcm;1819 readonly isV2: boolean;1820 readonly asV2: XcmV2Xcm;1821 readonly type: 'V0' | 'V1' | 'V2';1822 }18231824 /** @name XcmV0Xcm (196) */1825 interface XcmV0Xcm extends Enum {1826 readonly isWithdrawAsset: boolean;1827 readonly asWithdrawAsset: {1828 readonly assets: Vec<XcmV0MultiAsset>;1829 readonly effects: Vec<XcmV0Order>;1830 } & Struct;1831 readonly isReserveAssetDeposit: boolean;1832 readonly asReserveAssetDeposit: {1833 readonly assets: Vec<XcmV0MultiAsset>;1834 readonly effects: Vec<XcmV0Order>;1835 } & Struct;1836 readonly isTeleportAsset: boolean;1837 readonly asTeleportAsset: {1838 readonly assets: Vec<XcmV0MultiAsset>;1839 readonly effects: Vec<XcmV0Order>;1840 } & Struct;1841 readonly isQueryResponse: boolean;1842 readonly asQueryResponse: {1843 readonly queryId: Compact<u64>;1844 readonly response: XcmV0Response;1845 } & Struct;1846 readonly isTransferAsset: boolean;1847 readonly asTransferAsset: {1848 readonly assets: Vec<XcmV0MultiAsset>;1849 readonly dest: XcmV0MultiLocation;1850 } & Struct;1851 readonly isTransferReserveAsset: boolean;1852 readonly asTransferReserveAsset: {1853 readonly assets: Vec<XcmV0MultiAsset>;1854 readonly dest: XcmV0MultiLocation;1855 readonly effects: Vec<XcmV0Order>;1856 } & Struct;1857 readonly isTransact: boolean;1858 readonly asTransact: {1859 readonly originType: XcmV0OriginKind;1860 readonly requireWeightAtMost: u64;1861 readonly call: XcmDoubleEncoded;1862 } & Struct;1863 readonly isHrmpNewChannelOpenRequest: boolean;1864 readonly asHrmpNewChannelOpenRequest: {1865 readonly sender: Compact<u32>;1866 readonly maxMessageSize: Compact<u32>;1867 readonly maxCapacity: Compact<u32>;1868 } & Struct;1869 readonly isHrmpChannelAccepted: boolean;1870 readonly asHrmpChannelAccepted: {1871 readonly recipient: Compact<u32>;1872 } & Struct;1873 readonly isHrmpChannelClosing: boolean;1874 readonly asHrmpChannelClosing: {1875 readonly initiator: Compact<u32>;1876 readonly sender: Compact<u32>;1877 readonly recipient: Compact<u32>;1878 } & Struct;1879 readonly isRelayedFrom: boolean;1880 readonly asRelayedFrom: {1881 readonly who: XcmV0MultiLocation;1882 readonly message: XcmV0Xcm;1883 } & Struct;1884 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1885 }18861887 /** @name XcmV0Order (198) */1888 interface XcmV0Order extends Enum {1889 readonly isNull: boolean;1890 readonly isDepositAsset: boolean;1891 readonly asDepositAsset: {1892 readonly assets: Vec<XcmV0MultiAsset>;1893 readonly dest: XcmV0MultiLocation;1894 } & Struct;1895 readonly isDepositReserveAsset: boolean;1896 readonly asDepositReserveAsset: {1897 readonly assets: Vec<XcmV0MultiAsset>;1898 readonly dest: XcmV0MultiLocation;1899 readonly effects: Vec<XcmV0Order>;1900 } & Struct;1901 readonly isExchangeAsset: boolean;1902 readonly asExchangeAsset: {1903 readonly give: Vec<XcmV0MultiAsset>;1904 readonly receive: Vec<XcmV0MultiAsset>;1905 } & Struct;1906 readonly isInitiateReserveWithdraw: boolean;1907 readonly asInitiateReserveWithdraw: {1908 readonly assets: Vec<XcmV0MultiAsset>;1909 readonly reserve: XcmV0MultiLocation;1910 readonly effects: Vec<XcmV0Order>;1911 } & Struct;1912 readonly isInitiateTeleport: boolean;1913 readonly asInitiateTeleport: {1914 readonly assets: Vec<XcmV0MultiAsset>;1915 readonly dest: XcmV0MultiLocation;1916 readonly effects: Vec<XcmV0Order>;1917 } & Struct;1918 readonly isQueryHolding: boolean;1919 readonly asQueryHolding: {1920 readonly queryId: Compact<u64>;1921 readonly dest: XcmV0MultiLocation;1922 readonly assets: Vec<XcmV0MultiAsset>;1923 } & Struct;1924 readonly isBuyExecution: boolean;1925 readonly asBuyExecution: {1926 readonly fees: XcmV0MultiAsset;1927 readonly weight: u64;1928 readonly debt: u64;1929 readonly haltOnError: bool;1930 readonly xcm: Vec<XcmV0Xcm>;1931 } & Struct;1932 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1933 }19341935 /** @name XcmV0Response (200) */1936 interface XcmV0Response extends Enum {1937 readonly isAssets: boolean;1938 readonly asAssets: Vec<XcmV0MultiAsset>;1939 readonly type: 'Assets';1940 }19411942 /** @name XcmV1Xcm (201) */1943 interface XcmV1Xcm extends Enum {1944 readonly isWithdrawAsset: boolean;1945 readonly asWithdrawAsset: {1946 readonly assets: XcmV1MultiassetMultiAssets;1947 readonly effects: Vec<XcmV1Order>;1948 } & Struct;1949 readonly isReserveAssetDeposited: boolean;1950 readonly asReserveAssetDeposited: {1951 readonly assets: XcmV1MultiassetMultiAssets;1952 readonly effects: Vec<XcmV1Order>;1953 } & Struct;1954 readonly isReceiveTeleportedAsset: boolean;1955 readonly asReceiveTeleportedAsset: {1956 readonly assets: XcmV1MultiassetMultiAssets;1957 readonly effects: Vec<XcmV1Order>;1958 } & Struct;1959 readonly isQueryResponse: boolean;1960 readonly asQueryResponse: {1961 readonly queryId: Compact<u64>;1962 readonly response: XcmV1Response;1963 } & Struct;1964 readonly isTransferAsset: boolean;1965 readonly asTransferAsset: {1966 readonly assets: XcmV1MultiassetMultiAssets;1967 readonly beneficiary: XcmV1MultiLocation;1968 } & Struct;1969 readonly isTransferReserveAsset: boolean;1970 readonly asTransferReserveAsset: {1971 readonly assets: XcmV1MultiassetMultiAssets;1972 readonly dest: XcmV1MultiLocation;1973 readonly effects: Vec<XcmV1Order>;1974 } & Struct;1975 readonly isTransact: boolean;1976 readonly asTransact: {1977 readonly originType: XcmV0OriginKind;1978 readonly requireWeightAtMost: u64;1979 readonly call: XcmDoubleEncoded;1980 } & Struct;1981 readonly isHrmpNewChannelOpenRequest: boolean;1982 readonly asHrmpNewChannelOpenRequest: {1983 readonly sender: Compact<u32>;1984 readonly maxMessageSize: Compact<u32>;1985 readonly maxCapacity: Compact<u32>;1986 } & Struct;1987 readonly isHrmpChannelAccepted: boolean;1988 readonly asHrmpChannelAccepted: {1989 readonly recipient: Compact<u32>;1990 } & Struct;1991 readonly isHrmpChannelClosing: boolean;1992 readonly asHrmpChannelClosing: {1993 readonly initiator: Compact<u32>;1994 readonly sender: Compact<u32>;1995 readonly recipient: Compact<u32>;1996 } & Struct;1997 readonly isRelayedFrom: boolean;1998 readonly asRelayedFrom: {1999 readonly who: XcmV1MultilocationJunctions;2000 readonly message: XcmV1Xcm;2001 } & Struct;2002 readonly isSubscribeVersion: boolean;2003 readonly asSubscribeVersion: {2004 readonly queryId: Compact<u64>;2005 readonly maxResponseWeight: Compact<u64>;2006 } & Struct;2007 readonly isUnsubscribeVersion: boolean;2008 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2009 }20102011 /** @name XcmV1Order (203) */2012 interface XcmV1Order extends Enum {2013 readonly isNoop: boolean;2014 readonly isDepositAsset: boolean;2015 readonly asDepositAsset: {2016 readonly assets: XcmV1MultiassetMultiAssetFilter;2017 readonly maxAssets: u32;2018 readonly beneficiary: XcmV1MultiLocation;2019 } & Struct;2020 readonly isDepositReserveAsset: boolean;2021 readonly asDepositReserveAsset: {2022 readonly assets: XcmV1MultiassetMultiAssetFilter;2023 readonly maxAssets: u32;2024 readonly dest: XcmV1MultiLocation;2025 readonly effects: Vec<XcmV1Order>;2026 } & Struct;2027 readonly isExchangeAsset: boolean;2028 readonly asExchangeAsset: {2029 readonly give: XcmV1MultiassetMultiAssetFilter;2030 readonly receive: XcmV1MultiassetMultiAssets;2031 } & Struct;2032 readonly isInitiateReserveWithdraw: boolean;2033 readonly asInitiateReserveWithdraw: {2034 readonly assets: XcmV1MultiassetMultiAssetFilter;2035 readonly reserve: XcmV1MultiLocation;2036 readonly effects: Vec<XcmV1Order>;2037 } & Struct;2038 readonly isInitiateTeleport: boolean;2039 readonly asInitiateTeleport: {2040 readonly assets: XcmV1MultiassetMultiAssetFilter;2041 readonly dest: XcmV1MultiLocation;2042 readonly effects: Vec<XcmV1Order>;2043 } & Struct;2044 readonly isQueryHolding: boolean;2045 readonly asQueryHolding: {2046 readonly queryId: Compact<u64>;2047 readonly dest: XcmV1MultiLocation;2048 readonly assets: XcmV1MultiassetMultiAssetFilter;2049 } & Struct;2050 readonly isBuyExecution: boolean;2051 readonly asBuyExecution: {2052 readonly fees: XcmV1MultiAsset;2053 readonly weight: u64;2054 readonly debt: u64;2055 readonly haltOnError: bool;2056 readonly instructions: Vec<XcmV1Xcm>;2057 } & Struct;2058 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2059 }20602061 /** @name XcmV1Response (205) */2062 interface XcmV1Response extends Enum {2063 readonly isAssets: boolean;2064 readonly asAssets: XcmV1MultiassetMultiAssets;2065 readonly isVersion: boolean;2066 readonly asVersion: u32;2067 readonly type: 'Assets' | 'Version';2068 }20692070 /** @name CumulusPalletXcmCall (219) */2071 type CumulusPalletXcmCall = Null;20722073 /** @name CumulusPalletDmpQueueCall (220) */2074 interface CumulusPalletDmpQueueCall extends Enum {2075 readonly isServiceOverweight: boolean;2076 readonly asServiceOverweight: {2077 readonly index: u64;2078 readonly weightLimit: u64;2079 } & Struct;2080 readonly type: 'ServiceOverweight';2081 }20822083 /** @name PalletInflationCall (221) */2084 interface PalletInflationCall extends Enum {2085 readonly isStartInflation: boolean;2086 readonly asStartInflation: {2087 readonly inflationStartRelayBlock: u32;2088 } & Struct;2089 readonly type: 'StartInflation';2090 }20912092 /** @name PalletUniqueCall (222) */2093 interface PalletUniqueCall extends Enum {2094 readonly isCreateCollection: boolean;2095 readonly asCreateCollection: {2096 readonly collectionName: Vec<u16>;2097 readonly collectionDescription: Vec<u16>;2098 readonly tokenPrefix: Bytes;2099 readonly mode: UpDataStructsCollectionMode;2100 } & Struct;2101 readonly isCreateCollectionEx: boolean;2102 readonly asCreateCollectionEx: {2103 readonly data: UpDataStructsCreateCollectionData;2104 } & Struct;2105 readonly isDestroyCollection: boolean;2106 readonly asDestroyCollection: {2107 readonly collectionId: u32;2108 } & Struct;2109 readonly isAddToAllowList: boolean;2110 readonly asAddToAllowList: {2111 readonly collectionId: u32;2112 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2113 } & Struct;2114 readonly isRemoveFromAllowList: boolean;2115 readonly asRemoveFromAllowList: {2116 readonly collectionId: u32;2117 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2118 } & Struct;2119 readonly isChangeCollectionOwner: boolean;2120 readonly asChangeCollectionOwner: {2121 readonly collectionId: u32;2122 readonly newOwner: AccountId32;2123 } & Struct;2124 readonly isAddCollectionAdmin: boolean;2125 readonly asAddCollectionAdmin: {2126 readonly collectionId: u32;2127 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2128 } & Struct;2129 readonly isRemoveCollectionAdmin: boolean;2130 readonly asRemoveCollectionAdmin: {2131 readonly collectionId: u32;2132 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2133 } & Struct;2134 readonly isSetCollectionSponsor: boolean;2135 readonly asSetCollectionSponsor: {2136 readonly collectionId: u32;2137 readonly newSponsor: AccountId32;2138 } & Struct;2139 readonly isConfirmSponsorship: boolean;2140 readonly asConfirmSponsorship: {2141 readonly collectionId: u32;2142 } & Struct;2143 readonly isRemoveCollectionSponsor: boolean;2144 readonly asRemoveCollectionSponsor: {2145 readonly collectionId: u32;2146 } & Struct;2147 readonly isCreateItem: boolean;2148 readonly asCreateItem: {2149 readonly collectionId: u32;2150 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2151 readonly data: UpDataStructsCreateItemData;2152 } & Struct;2153 readonly isCreateMultipleItems: boolean;2154 readonly asCreateMultipleItems: {2155 readonly collectionId: u32;2156 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2157 readonly itemsData: Vec<UpDataStructsCreateItemData>;2158 } & Struct;2159 readonly isSetCollectionProperties: boolean;2160 readonly asSetCollectionProperties: {2161 readonly collectionId: u32;2162 readonly properties: Vec<UpDataStructsProperty>;2163 } & Struct;2164 readonly isDeleteCollectionProperties: boolean;2165 readonly asDeleteCollectionProperties: {2166 readonly collectionId: u32;2167 readonly propertyKeys: Vec<Bytes>;2168 } & Struct;2169 readonly isSetTokenProperties: boolean;2170 readonly asSetTokenProperties: {2171 readonly collectionId: u32;2172 readonly tokenId: u32;2173 readonly properties: Vec<UpDataStructsProperty>;2174 } & Struct;2175 readonly isDeleteTokenProperties: boolean;2176 readonly asDeleteTokenProperties: {2177 readonly collectionId: u32;2178 readonly tokenId: u32;2179 readonly propertyKeys: Vec<Bytes>;2180 } & Struct;2181 readonly isSetTokenPropertyPermissions: boolean;2182 readonly asSetTokenPropertyPermissions: {2183 readonly collectionId: u32;2184 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2185 } & Struct;2186 readonly isCreateMultipleItemsEx: boolean;2187 readonly asCreateMultipleItemsEx: {2188 readonly collectionId: u32;2189 readonly data: UpDataStructsCreateItemExData;2190 } & Struct;2191 readonly isSetTransfersEnabledFlag: boolean;2192 readonly asSetTransfersEnabledFlag: {2193 readonly collectionId: u32;2194 readonly value: bool;2195 } & Struct;2196 readonly isBurnItem: boolean;2197 readonly asBurnItem: {2198 readonly collectionId: u32;2199 readonly itemId: u32;2200 readonly value: u128;2201 } & Struct;2202 readonly isBurnFrom: boolean;2203 readonly asBurnFrom: {2204 readonly collectionId: u32;2205 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2206 readonly itemId: u32;2207 readonly value: u128;2208 } & Struct;2209 readonly isTransfer: boolean;2210 readonly asTransfer: {2211 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2212 readonly collectionId: u32;2213 readonly itemId: u32;2214 readonly value: u128;2215 } & Struct;2216 readonly isApprove: boolean;2217 readonly asApprove: {2218 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2219 readonly collectionId: u32;2220 readonly itemId: u32;2221 readonly amount: u128;2222 } & Struct;2223 readonly isTransferFrom: boolean;2224 readonly asTransferFrom: {2225 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2226 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2227 readonly collectionId: u32;2228 readonly itemId: u32;2229 readonly value: u128;2230 } & Struct;2231 readonly isSetCollectionLimits: boolean;2232 readonly asSetCollectionLimits: {2233 readonly collectionId: u32;2234 readonly newLimit: UpDataStructsCollectionLimits;2235 } & Struct;2236 readonly isSetCollectionPermissions: boolean;2237 readonly asSetCollectionPermissions: {2238 readonly collectionId: u32;2239 readonly newPermission: UpDataStructsCollectionPermissions;2240 } & Struct;2241 readonly isRepartition: boolean;2242 readonly asRepartition: {2243 readonly collectionId: u32;2244 readonly tokenId: u32;2245 readonly amount: u128;2246 } & Struct;2247 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';2248 }22492250 /** @name UpDataStructsCollectionMode (227) */2251 interface UpDataStructsCollectionMode extends Enum {2252 readonly isNft: boolean;2253 readonly isFungible: boolean;2254 readonly asFungible: u8;2255 readonly isReFungible: boolean;2256 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2257 }22582259 /** @name UpDataStructsCreateCollectionData (228) */2260 interface UpDataStructsCreateCollectionData extends Struct {2261 readonly mode: UpDataStructsCollectionMode;2262 readonly access: Option<UpDataStructsAccessMode>;2263 readonly name: Vec<u16>;2264 readonly description: Vec<u16>;2265 readonly tokenPrefix: Bytes;2266 readonly pendingSponsor: Option<AccountId32>;2267 readonly limits: Option<UpDataStructsCollectionLimits>;2268 readonly permissions: Option<UpDataStructsCollectionPermissions>;2269 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2270 readonly properties: Vec<UpDataStructsProperty>;2271 }22722273 /** @name UpDataStructsAccessMode (230) */2274 interface UpDataStructsAccessMode extends Enum {2275 readonly isNormal: boolean;2276 readonly isAllowList: boolean;2277 readonly type: 'Normal' | 'AllowList';2278 }22792280 /** @name UpDataStructsCollectionLimits (232) */2281 interface UpDataStructsCollectionLimits extends Struct {2282 readonly accountTokenOwnershipLimit: Option<u32>;2283 readonly sponsoredDataSize: Option<u32>;2284 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2285 readonly tokenLimit: Option<u32>;2286 readonly sponsorTransferTimeout: Option<u32>;2287 readonly sponsorApproveTimeout: Option<u32>;2288 readonly ownerCanTransfer: Option<bool>;2289 readonly ownerCanDestroy: Option<bool>;2290 readonly transfersEnabled: Option<bool>;2291 }22922293 /** @name UpDataStructsSponsoringRateLimit (234) */2294 interface UpDataStructsSponsoringRateLimit extends Enum {2295 readonly isSponsoringDisabled: boolean;2296 readonly isBlocks: boolean;2297 readonly asBlocks: u32;2298 readonly type: 'SponsoringDisabled' | 'Blocks';2299 }23002301 /** @name UpDataStructsCollectionPermissions (237) */2302 interface UpDataStructsCollectionPermissions extends Struct {2303 readonly access: Option<UpDataStructsAccessMode>;2304 readonly mintMode: Option<bool>;2305 readonly nesting: Option<UpDataStructsNestingPermissions>;2306 }23072308 /** @name UpDataStructsNestingPermissions (239) */2309 interface UpDataStructsNestingPermissions extends Struct {2310 readonly tokenOwner: bool;2311 readonly collectionAdmin: bool;2312 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2313 }23142315 /** @name UpDataStructsOwnerRestrictedSet (241) */2316 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}23172318 /** @name UpDataStructsPropertyKeyPermission (246) */2319 interface UpDataStructsPropertyKeyPermission extends Struct {2320 readonly key: Bytes;2321 readonly permission: UpDataStructsPropertyPermission;2322 }23232324 /** @name UpDataStructsPropertyPermission (247) */2325 interface UpDataStructsPropertyPermission extends Struct {2326 readonly mutable: bool;2327 readonly collectionAdmin: bool;2328 readonly tokenOwner: bool;2329 }23302331 /** @name UpDataStructsProperty (250) */2332 interface UpDataStructsProperty extends Struct {2333 readonly key: Bytes;2334 readonly value: Bytes;2335 }23362337 /** @name UpDataStructsCreateItemData (253) */2338 interface UpDataStructsCreateItemData extends Enum {2339 readonly isNft: boolean;2340 readonly asNft: UpDataStructsCreateNftData;2341 readonly isFungible: boolean;2342 readonly asFungible: UpDataStructsCreateFungibleData;2343 readonly isReFungible: boolean;2344 readonly asReFungible: UpDataStructsCreateReFungibleData;2345 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2346 }23472348 /** @name UpDataStructsCreateNftData (254) */2349 interface UpDataStructsCreateNftData extends Struct {2350 readonly properties: Vec<UpDataStructsProperty>;2351 }23522353 /** @name UpDataStructsCreateFungibleData (255) */2354 interface UpDataStructsCreateFungibleData extends Struct {2355 readonly value: u128;2356 }23572358 /** @name UpDataStructsCreateReFungibleData (256) */2359 interface UpDataStructsCreateReFungibleData extends Struct {2360 readonly pieces: u128;2361 readonly properties: Vec<UpDataStructsProperty>;2362 }23632364 /** @name UpDataStructsCreateItemExData (259) */2365 interface UpDataStructsCreateItemExData extends Enum {2366 readonly isNft: boolean;2367 readonly asNft: Vec<UpDataStructsCreateNftExData>;2368 readonly isFungible: boolean;2369 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2370 readonly isRefungibleMultipleItems: boolean;2371 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2372 readonly isRefungibleMultipleOwners: boolean;2373 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2374 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2375 }23762377 /** @name UpDataStructsCreateNftExData (261) */2378 interface UpDataStructsCreateNftExData extends Struct {2379 readonly properties: Vec<UpDataStructsProperty>;2380 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2381 }23822383 /** @name UpDataStructsCreateRefungibleExSingleOwner (268) */2384 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2385 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2386 readonly pieces: u128;2387 readonly properties: Vec<UpDataStructsProperty>;2388 }23892390 /** @name UpDataStructsCreateRefungibleExMultipleOwners (270) */2391 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2392 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2393 readonly properties: Vec<UpDataStructsProperty>;2394 }23952396 /** @name PalletUniqueSchedulerCall (271) */2397 interface PalletUniqueSchedulerCall extends Enum {2398 readonly isScheduleNamed: boolean;2399 readonly asScheduleNamed: {2400 readonly id: U8aFixed;2401 readonly when: u32;2402 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2403 readonly priority: u8;2404 readonly call: FrameSupportScheduleMaybeHashed;2405 } & Struct;2406 readonly isCancelNamed: boolean;2407 readonly asCancelNamed: {2408 readonly id: U8aFixed;2409 } & Struct;2410 readonly isScheduleNamedAfter: boolean;2411 readonly asScheduleNamedAfter: {2412 readonly id: U8aFixed;2413 readonly after: u32;2414 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2415 readonly priority: u8;2416 readonly call: FrameSupportScheduleMaybeHashed;2417 } & Struct;2418 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2419 }24202421 /** @name FrameSupportScheduleMaybeHashed (273) */2422 interface FrameSupportScheduleMaybeHashed extends Enum {2423 readonly isValue: boolean;2424 readonly asValue: Call;2425 readonly isHash: boolean;2426 readonly asHash: H256;2427 readonly type: 'Value' | 'Hash';2428 }24292430 /** @name PalletConfigurationCall (274) */2431 interface PalletConfigurationCall extends Enum {2432 readonly isSetWeightToFeeCoefficientOverride: boolean;2433 readonly asSetWeightToFeeCoefficientOverride: {2434 readonly coeff: Option<u32>;2435 } & Struct;2436 readonly isSetMinGasPriceOverride: boolean;2437 readonly asSetMinGasPriceOverride: {2438 readonly coeff: Option<u64>;2439 } & Struct;2440 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2441 }24422443 /** @name PalletTemplateTransactionPaymentCall (275) */2444 type PalletTemplateTransactionPaymentCall = Null;24452446 /** @name PalletStructureCall (276) */2447 type PalletStructureCall = Null;24482449 /** @name PalletRmrkCoreCall (277) */2450 interface PalletRmrkCoreCall extends Enum {2451 readonly isCreateCollection: boolean;2452 readonly asCreateCollection: {2453 readonly metadata: Bytes;2454 readonly max: Option<u32>;2455 readonly symbol: Bytes;2456 } & Struct;2457 readonly isDestroyCollection: boolean;2458 readonly asDestroyCollection: {2459 readonly collectionId: u32;2460 } & Struct;2461 readonly isChangeCollectionIssuer: boolean;2462 readonly asChangeCollectionIssuer: {2463 readonly collectionId: u32;2464 readonly newIssuer: MultiAddress;2465 } & Struct;2466 readonly isLockCollection: boolean;2467 readonly asLockCollection: {2468 readonly collectionId: u32;2469 } & Struct;2470 readonly isMintNft: boolean;2471 readonly asMintNft: {2472 readonly owner: Option<AccountId32>;2473 readonly collectionId: u32;2474 readonly recipient: Option<AccountId32>;2475 readonly royaltyAmount: Option<Permill>;2476 readonly metadata: Bytes;2477 readonly transferable: bool;2478 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2479 } & Struct;2480 readonly isBurnNft: boolean;2481 readonly asBurnNft: {2482 readonly collectionId: u32;2483 readonly nftId: u32;2484 readonly maxBurns: u32;2485 } & Struct;2486 readonly isSend: boolean;2487 readonly asSend: {2488 readonly rmrkCollectionId: u32;2489 readonly rmrkNftId: u32;2490 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2491 } & Struct;2492 readonly isAcceptNft: boolean;2493 readonly asAcceptNft: {2494 readonly rmrkCollectionId: u32;2495 readonly rmrkNftId: u32;2496 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2497 } & Struct;2498 readonly isRejectNft: boolean;2499 readonly asRejectNft: {2500 readonly rmrkCollectionId: u32;2501 readonly rmrkNftId: u32;2502 } & Struct;2503 readonly isAcceptResource: boolean;2504 readonly asAcceptResource: {2505 readonly rmrkCollectionId: u32;2506 readonly rmrkNftId: u32;2507 readonly resourceId: u32;2508 } & Struct;2509 readonly isAcceptResourceRemoval: boolean;2510 readonly asAcceptResourceRemoval: {2511 readonly rmrkCollectionId: u32;2512 readonly rmrkNftId: u32;2513 readonly resourceId: u32;2514 } & Struct;2515 readonly isSetProperty: boolean;2516 readonly asSetProperty: {2517 readonly rmrkCollectionId: Compact<u32>;2518 readonly maybeNftId: Option<u32>;2519 readonly key: Bytes;2520 readonly value: Bytes;2521 } & Struct;2522 readonly isSetPriority: boolean;2523 readonly asSetPriority: {2524 readonly rmrkCollectionId: u32;2525 readonly rmrkNftId: u32;2526 readonly priorities: Vec<u32>;2527 } & Struct;2528 readonly isAddBasicResource: boolean;2529 readonly asAddBasicResource: {2530 readonly rmrkCollectionId: u32;2531 readonly nftId: u32;2532 readonly resource: RmrkTraitsResourceBasicResource;2533 } & Struct;2534 readonly isAddComposableResource: boolean;2535 readonly asAddComposableResource: {2536 readonly rmrkCollectionId: u32;2537 readonly nftId: u32;2538 readonly resource: RmrkTraitsResourceComposableResource;2539 } & Struct;2540 readonly isAddSlotResource: boolean;2541 readonly asAddSlotResource: {2542 readonly rmrkCollectionId: u32;2543 readonly nftId: u32;2544 readonly resource: RmrkTraitsResourceSlotResource;2545 } & Struct;2546 readonly isRemoveResource: boolean;2547 readonly asRemoveResource: {2548 readonly rmrkCollectionId: u32;2549 readonly nftId: u32;2550 readonly resourceId: u32;2551 } & Struct;2552 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2553 }25542555 /** @name RmrkTraitsResourceResourceTypes (283) */2556 interface RmrkTraitsResourceResourceTypes extends Enum {2557 readonly isBasic: boolean;2558 readonly asBasic: RmrkTraitsResourceBasicResource;2559 readonly isComposable: boolean;2560 readonly asComposable: RmrkTraitsResourceComposableResource;2561 readonly isSlot: boolean;2562 readonly asSlot: RmrkTraitsResourceSlotResource;2563 readonly type: 'Basic' | 'Composable' | 'Slot';2564 }25652566 /** @name RmrkTraitsResourceBasicResource (285) */2567 interface RmrkTraitsResourceBasicResource extends Struct {2568 readonly src: Option<Bytes>;2569 readonly metadata: Option<Bytes>;2570 readonly license: Option<Bytes>;2571 readonly thumb: Option<Bytes>;2572 }25732574 /** @name RmrkTraitsResourceComposableResource (287) */2575 interface RmrkTraitsResourceComposableResource extends Struct {2576 readonly parts: Vec<u32>;2577 readonly base: u32;2578 readonly src: Option<Bytes>;2579 readonly metadata: Option<Bytes>;2580 readonly license: Option<Bytes>;2581 readonly thumb: Option<Bytes>;2582 }25832584 /** @name RmrkTraitsResourceSlotResource (288) */2585 interface RmrkTraitsResourceSlotResource extends Struct {2586 readonly base: u32;2587 readonly src: Option<Bytes>;2588 readonly metadata: Option<Bytes>;2589 readonly slot: u32;2590 readonly license: Option<Bytes>;2591 readonly thumb: Option<Bytes>;2592 }25932594 /** @name PalletRmrkEquipCall (291) */2595 interface PalletRmrkEquipCall extends Enum {2596 readonly isCreateBase: boolean;2597 readonly asCreateBase: {2598 readonly baseType: Bytes;2599 readonly symbol: Bytes;2600 readonly parts: Vec<RmrkTraitsPartPartType>;2601 } & Struct;2602 readonly isThemeAdd: boolean;2603 readonly asThemeAdd: {2604 readonly baseId: u32;2605 readonly theme: RmrkTraitsTheme;2606 } & Struct;2607 readonly isEquippable: boolean;2608 readonly asEquippable: {2609 readonly baseId: u32;2610 readonly slotId: u32;2611 readonly equippables: RmrkTraitsPartEquippableList;2612 } & Struct;2613 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2614 }26152616 /** @name RmrkTraitsPartPartType (294) */2617 interface RmrkTraitsPartPartType extends Enum {2618 readonly isFixedPart: boolean;2619 readonly asFixedPart: RmrkTraitsPartFixedPart;2620 readonly isSlotPart: boolean;2621 readonly asSlotPart: RmrkTraitsPartSlotPart;2622 readonly type: 'FixedPart' | 'SlotPart';2623 }26242625 /** @name RmrkTraitsPartFixedPart (296) */2626 interface RmrkTraitsPartFixedPart extends Struct {2627 readonly id: u32;2628 readonly z: u32;2629 readonly src: Bytes;2630 }26312632 /** @name RmrkTraitsPartSlotPart (297) */2633 interface RmrkTraitsPartSlotPart extends Struct {2634 readonly id: u32;2635 readonly equippable: RmrkTraitsPartEquippableList;2636 readonly src: Bytes;2637 readonly z: u32;2638 }26392640 /** @name RmrkTraitsPartEquippableList (298) */2641 interface RmrkTraitsPartEquippableList extends Enum {2642 readonly isAll: boolean;2643 readonly isEmpty: boolean;2644 readonly isCustom: boolean;2645 readonly asCustom: Vec<u32>;2646 readonly type: 'All' | 'Empty' | 'Custom';2647 }26482649 /** @name RmrkTraitsTheme (300) */2650 interface RmrkTraitsTheme extends Struct {2651 readonly name: Bytes;2652 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2653 readonly inherit: bool;2654 }26552656 /** @name RmrkTraitsThemeThemeProperty (302) */2657 interface RmrkTraitsThemeThemeProperty extends Struct {2658 readonly key: Bytes;2659 readonly value: Bytes;2660 }26612662 /** @name PalletAppPromotionCall (304) */2663 interface PalletAppPromotionCall extends Enum {2664 readonly isSetAdminAddress: boolean;2665 readonly asSetAdminAddress: {2666 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2667 } & Struct;2668 readonly isStake: boolean;2669 readonly asStake: {2670 readonly amount: u128;2671 } & Struct;2672 readonly isUnstake: boolean;2673 readonly isSponsorCollection: boolean;2674 readonly asSponsorCollection: {2675 readonly collectionId: u32;2676 } & Struct;2677 readonly isStopSponsoringCollection: boolean;2678 readonly asStopSponsoringCollection: {2679 readonly collectionId: u32;2680 } & Struct;2681 readonly isSponsorConract: boolean;2682 readonly asSponsorConract: {2683 readonly contractId: H160;2684 } & Struct;2685 readonly isStopSponsoringContract: boolean;2686 readonly asStopSponsoringContract: {2687 readonly contractId: H160;2688 } & Struct;2689 readonly isPayoutStakers: boolean;2690 readonly asPayoutStakers: {2691 readonly stakersNumber: Option<u8>;2692 } & Struct;2693 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorConract' | 'StopSponsoringContract' | 'PayoutStakers';2694 }26952696 /** @name PalletEvmCall (306) */2697 interface PalletEvmCall extends Enum {2698 readonly isWithdraw: boolean;2699 readonly asWithdraw: {2700 readonly address: H160;2701 readonly value: u128;2702 } & Struct;2703 readonly isCall: boolean;2704 readonly asCall: {2705 readonly source: H160;2706 readonly target: H160;2707 readonly input: Bytes;2708 readonly value: U256;2709 readonly gasLimit: u64;2710 readonly maxFeePerGas: U256;2711 readonly maxPriorityFeePerGas: Option<U256>;2712 readonly nonce: Option<U256>;2713 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2714 } & Struct;2715 readonly isCreate: boolean;2716 readonly asCreate: {2717 readonly source: H160;2718 readonly init: Bytes;2719 readonly value: U256;2720 readonly gasLimit: u64;2721 readonly maxFeePerGas: U256;2722 readonly maxPriorityFeePerGas: Option<U256>;2723 readonly nonce: Option<U256>;2724 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2725 } & Struct;2726 readonly isCreate2: boolean;2727 readonly asCreate2: {2728 readonly source: H160;2729 readonly init: Bytes;2730 readonly salt: H256;2731 readonly value: U256;2732 readonly gasLimit: u64;2733 readonly maxFeePerGas: U256;2734 readonly maxPriorityFeePerGas: Option<U256>;2735 readonly nonce: Option<U256>;2736 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2737 } & Struct;2738 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2739 }27402741 /** @name PalletEthereumCall (310) */2742 interface PalletEthereumCall extends Enum {2743 readonly isTransact: boolean;2744 readonly asTransact: {2745 readonly transaction: EthereumTransactionTransactionV2;2746 } & Struct;2747 readonly type: 'Transact';2748 }27492750 /** @name EthereumTransactionTransactionV2 (311) */2751 interface EthereumTransactionTransactionV2 extends Enum {2752 readonly isLegacy: boolean;2753 readonly asLegacy: EthereumTransactionLegacyTransaction;2754 readonly isEip2930: boolean;2755 readonly asEip2930: EthereumTransactionEip2930Transaction;2756 readonly isEip1559: boolean;2757 readonly asEip1559: EthereumTransactionEip1559Transaction;2758 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2759 }27602761 /** @name EthereumTransactionLegacyTransaction (312) */2762 interface EthereumTransactionLegacyTransaction extends Struct {2763 readonly nonce: U256;2764 readonly gasPrice: U256;2765 readonly gasLimit: U256;2766 readonly action: EthereumTransactionTransactionAction;2767 readonly value: U256;2768 readonly input: Bytes;2769 readonly signature: EthereumTransactionTransactionSignature;2770 }27712772 /** @name EthereumTransactionTransactionAction (313) */2773 interface EthereumTransactionTransactionAction extends Enum {2774 readonly isCall: boolean;2775 readonly asCall: H160;2776 readonly isCreate: boolean;2777 readonly type: 'Call' | 'Create';2778 }27792780 /** @name EthereumTransactionTransactionSignature (314) */2781 interface EthereumTransactionTransactionSignature extends Struct {2782 readonly v: u64;2783 readonly r: H256;2784 readonly s: H256;2785 }27862787 /** @name EthereumTransactionEip2930Transaction (316) */2788 interface EthereumTransactionEip2930Transaction extends Struct {2789 readonly chainId: u64;2790 readonly nonce: U256;2791 readonly gasPrice: U256;2792 readonly gasLimit: U256;2793 readonly action: EthereumTransactionTransactionAction;2794 readonly value: U256;2795 readonly input: Bytes;2796 readonly accessList: Vec<EthereumTransactionAccessListItem>;2797 readonly oddYParity: bool;2798 readonly r: H256;2799 readonly s: H256;2800 }28012802 /** @name EthereumTransactionAccessListItem (318) */2803 interface EthereumTransactionAccessListItem extends Struct {2804 readonly address: H160;2805 readonly storageKeys: Vec<H256>;2806 }28072808 /** @name EthereumTransactionEip1559Transaction (319) */2809 interface EthereumTransactionEip1559Transaction extends Struct {2810 readonly chainId: u64;2811 readonly nonce: U256;2812 readonly maxPriorityFeePerGas: U256;2813 readonly maxFeePerGas: U256;2814 readonly gasLimit: U256;2815 readonly action: EthereumTransactionTransactionAction;2816 readonly value: U256;2817 readonly input: Bytes;2818 readonly accessList: Vec<EthereumTransactionAccessListItem>;2819 readonly oddYParity: bool;2820 readonly r: H256;2821 readonly s: H256;2822 }28232824 /** @name PalletEvmMigrationCall (320) */2825 interface PalletEvmMigrationCall extends Enum {2826 readonly isBegin: boolean;2827 readonly asBegin: {2828 readonly address: H160;2829 } & Struct;2830 readonly isSetData: boolean;2831 readonly asSetData: {2832 readonly address: H160;2833 readonly data: Vec<ITuple<[H256, H256]>>;2834 } & Struct;2835 readonly isFinish: boolean;2836 readonly asFinish: {2837 readonly address: H160;2838 readonly code: Bytes;2839 } & Struct;2840 readonly type: 'Begin' | 'SetData' | 'Finish';2841 }28422843 /** @name PalletSudoError (323) */2844 interface PalletSudoError extends Enum {2845 readonly isRequireSudo: boolean;2846 readonly type: 'RequireSudo';2847 }28482849 /** @name OrmlVestingModuleError (325) */2850 interface OrmlVestingModuleError extends Enum {2851 readonly isZeroVestingPeriod: boolean;2852 readonly isZeroVestingPeriodCount: boolean;2853 readonly isInsufficientBalanceToLock: boolean;2854 readonly isTooManyVestingSchedules: boolean;2855 readonly isAmountLow: boolean;2856 readonly isMaxVestingSchedulesExceeded: boolean;2857 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2858 }28592860 /** @name CumulusPalletXcmpQueueInboundChannelDetails (327) */2861 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2862 readonly sender: u32;2863 readonly state: CumulusPalletXcmpQueueInboundState;2864 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2865 }28662867 /** @name CumulusPalletXcmpQueueInboundState (328) */2868 interface CumulusPalletXcmpQueueInboundState extends Enum {2869 readonly isOk: boolean;2870 readonly isSuspended: boolean;2871 readonly type: 'Ok' | 'Suspended';2872 }28732874 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (331) */2875 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2876 readonly isConcatenatedVersionedXcm: boolean;2877 readonly isConcatenatedEncodedBlob: boolean;2878 readonly isSignals: boolean;2879 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2880 }28812882 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (334) */2883 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2884 readonly recipient: u32;2885 readonly state: CumulusPalletXcmpQueueOutboundState;2886 readonly signalsExist: bool;2887 readonly firstIndex: u16;2888 readonly lastIndex: u16;2889 }28902891 /** @name CumulusPalletXcmpQueueOutboundState (335) */2892 interface CumulusPalletXcmpQueueOutboundState extends Enum {2893 readonly isOk: boolean;2894 readonly isSuspended: boolean;2895 readonly type: 'Ok' | 'Suspended';2896 }28972898 /** @name CumulusPalletXcmpQueueQueueConfigData (337) */2899 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2900 readonly suspendThreshold: u32;2901 readonly dropThreshold: u32;2902 readonly resumeThreshold: u32;2903 readonly thresholdWeight: u64;2904 readonly weightRestrictDecay: u64;2905 readonly xcmpMaxIndividualWeight: u64;2906 }29072908 /** @name CumulusPalletXcmpQueueError (339) */2909 interface CumulusPalletXcmpQueueError extends Enum {2910 readonly isFailedToSend: boolean;2911 readonly isBadXcmOrigin: boolean;2912 readonly isBadXcm: boolean;2913 readonly isBadOverweightIndex: boolean;2914 readonly isWeightOverLimit: boolean;2915 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2916 }29172918 /** @name PalletXcmError (340) */2919 interface PalletXcmError extends Enum {2920 readonly isUnreachable: boolean;2921 readonly isSendFailure: boolean;2922 readonly isFiltered: boolean;2923 readonly isUnweighableMessage: boolean;2924 readonly isDestinationNotInvertible: boolean;2925 readonly isEmpty: boolean;2926 readonly isCannotReanchor: boolean;2927 readonly isTooManyAssets: boolean;2928 readonly isInvalidOrigin: boolean;2929 readonly isBadVersion: boolean;2930 readonly isBadLocation: boolean;2931 readonly isNoSubscription: boolean;2932 readonly isAlreadySubscribed: boolean;2933 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2934 }29352936 /** @name CumulusPalletXcmError (341) */2937 type CumulusPalletXcmError = Null;29382939 /** @name CumulusPalletDmpQueueConfigData (342) */2940 interface CumulusPalletDmpQueueConfigData extends Struct {2941 readonly maxIndividual: u64;2942 }29432944 /** @name CumulusPalletDmpQueuePageIndexData (343) */2945 interface CumulusPalletDmpQueuePageIndexData extends Struct {2946 readonly beginUsed: u32;2947 readonly endUsed: u32;2948 readonly overweightCount: u64;2949 }29502951 /** @name CumulusPalletDmpQueueError (346) */2952 interface CumulusPalletDmpQueueError extends Enum {2953 readonly isUnknown: boolean;2954 readonly isOverLimit: boolean;2955 readonly type: 'Unknown' | 'OverLimit';2956 }29572958 /** @name PalletUniqueError (350) */2959 interface PalletUniqueError extends Enum {2960 readonly isCollectionDecimalPointLimitExceeded: boolean;2961 readonly isConfirmUnsetSponsorFail: boolean;2962 readonly isEmptyArgument: boolean;2963 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2964 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2965 }29662967 /** @name PalletUniqueSchedulerScheduledV3 (353) */2968 interface PalletUniqueSchedulerScheduledV3 extends Struct {2969 readonly maybeId: Option<U8aFixed>;2970 readonly priority: u8;2971 readonly call: FrameSupportScheduleMaybeHashed;2972 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2973 readonly origin: OpalRuntimeOriginCaller;2974 }29752976 /** @name OpalRuntimeOriginCaller (354) */2977 interface OpalRuntimeOriginCaller extends Enum {2978 readonly isSystem: boolean;2979 readonly asSystem: FrameSupportDispatchRawOrigin;2980 readonly isVoid: boolean;2981 readonly isPolkadotXcm: boolean;2982 readonly asPolkadotXcm: PalletXcmOrigin;2983 readonly isCumulusXcm: boolean;2984 readonly asCumulusXcm: CumulusPalletXcmOrigin;2985 readonly isEthereum: boolean;2986 readonly asEthereum: PalletEthereumRawOrigin;2987 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2988 }29892990 /** @name FrameSupportDispatchRawOrigin (355) */2991 interface FrameSupportDispatchRawOrigin extends Enum {2992 readonly isRoot: boolean;2993 readonly isSigned: boolean;2994 readonly asSigned: AccountId32;2995 readonly isNone: boolean;2996 readonly type: 'Root' | 'Signed' | 'None';2997 }29982999 /** @name PalletXcmOrigin (356) */3000 interface PalletXcmOrigin extends Enum {3001 readonly isXcm: boolean;3002 readonly asXcm: XcmV1MultiLocation;3003 readonly isResponse: boolean;3004 readonly asResponse: XcmV1MultiLocation;3005 readonly type: 'Xcm' | 'Response';3006 }30073008 /** @name CumulusPalletXcmOrigin (357) */3009 interface CumulusPalletXcmOrigin extends Enum {3010 readonly isRelay: boolean;3011 readonly isSiblingParachain: boolean;3012 readonly asSiblingParachain: u32;3013 readonly type: 'Relay' | 'SiblingParachain';3014 }30153016 /** @name PalletEthereumRawOrigin (358) */3017 interface PalletEthereumRawOrigin extends Enum {3018 readonly isEthereumTransaction: boolean;3019 readonly asEthereumTransaction: H160;3020 readonly type: 'EthereumTransaction';3021 }30223023 /** @name SpCoreVoid (359) */3024 type SpCoreVoid = Null;30253026 /** @name PalletUniqueSchedulerError (360) */3027 interface PalletUniqueSchedulerError extends Enum {3028 readonly isFailedToSchedule: boolean;3029 readonly isNotFound: boolean;3030 readonly isTargetBlockNumberInPast: boolean;3031 readonly isRescheduleNoChange: boolean;3032 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3033 }30343035 /** @name UpDataStructsCollection (361) */3036 interface UpDataStructsCollection extends Struct {3037 readonly owner: AccountId32;3038 readonly mode: UpDataStructsCollectionMode;3039 readonly name: Vec<u16>;3040 readonly description: Vec<u16>;3041 readonly tokenPrefix: Bytes;3042 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3043 readonly limits: UpDataStructsCollectionLimits;3044 readonly permissions: UpDataStructsCollectionPermissions;3045 readonly externalCollection: bool;3046 }30473048 /** @name UpDataStructsSponsorshipStateAccountId32 (362) */3049 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3050 readonly isDisabled: boolean;3051 readonly isUnconfirmed: boolean;3052 readonly asUnconfirmed: AccountId32;3053 readonly isConfirmed: boolean;3054 readonly asConfirmed: AccountId32;3055 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3056 }30573058 /** @name UpDataStructsProperties (363) */3059 interface UpDataStructsProperties extends Struct {3060 readonly map: UpDataStructsPropertiesMapBoundedVec;3061 readonly consumedSpace: u32;3062 readonly spaceLimit: u32;3063 }30643065 /** @name UpDataStructsPropertiesMapBoundedVec (364) */3066 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30673068 /** @name UpDataStructsPropertiesMapPropertyPermission (369) */3069 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30703071 /** @name UpDataStructsCollectionStats (376) */3072 interface UpDataStructsCollectionStats extends Struct {3073 readonly created: u32;3074 readonly destroyed: u32;3075 readonly alive: u32;3076 }30773078 /** @name UpDataStructsTokenChild (377) */3079 interface UpDataStructsTokenChild extends Struct {3080 readonly token: u32;3081 readonly collection: u32;3082 }30833084 /** @name PhantomTypeUpDataStructs (378) */3085 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}30863087 /** @name UpDataStructsTokenData (380) */3088 interface UpDataStructsTokenData extends Struct {3089 readonly properties: Vec<UpDataStructsProperty>;3090 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3091 readonly pieces: u128;3092 }30933094 /** @name UpDataStructsRpcCollection (382) */3095 interface UpDataStructsRpcCollection extends Struct {3096 readonly owner: AccountId32;3097 readonly mode: UpDataStructsCollectionMode;3098 readonly name: Vec<u16>;3099 readonly description: Vec<u16>;3100 readonly tokenPrefix: Bytes;3101 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3102 readonly limits: UpDataStructsCollectionLimits;3103 readonly permissions: UpDataStructsCollectionPermissions;3104 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3105 readonly properties: Vec<UpDataStructsProperty>;3106 readonly readOnly: bool;3107 }31083109 /** @name RmrkTraitsCollectionCollectionInfo (383) */3110 interface RmrkTraitsCollectionCollectionInfo extends Struct {3111 readonly issuer: AccountId32;3112 readonly metadata: Bytes;3113 readonly max: Option<u32>;3114 readonly symbol: Bytes;3115 readonly nftsCount: u32;3116 }31173118 /** @name RmrkTraitsNftNftInfo (384) */3119 interface RmrkTraitsNftNftInfo extends Struct {3120 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3121 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3122 readonly metadata: Bytes;3123 readonly equipped: bool;3124 readonly pending: bool;3125 }31263127 /** @name RmrkTraitsNftRoyaltyInfo (386) */3128 interface RmrkTraitsNftRoyaltyInfo extends Struct {3129 readonly recipient: AccountId32;3130 readonly amount: Permill;3131 }31323133 /** @name RmrkTraitsResourceResourceInfo (387) */3134 interface RmrkTraitsResourceResourceInfo extends Struct {3135 readonly id: u32;3136 readonly resource: RmrkTraitsResourceResourceTypes;3137 readonly pending: bool;3138 readonly pendingRemoval: bool;3139 }31403141 /** @name RmrkTraitsPropertyPropertyInfo (388) */3142 interface RmrkTraitsPropertyPropertyInfo extends Struct {3143 readonly key: Bytes;3144 readonly value: Bytes;3145 }31463147 /** @name RmrkTraitsBaseBaseInfo (389) */3148 interface RmrkTraitsBaseBaseInfo extends Struct {3149 readonly issuer: AccountId32;3150 readonly baseType: Bytes;3151 readonly symbol: Bytes;3152 }31533154 /** @name RmrkTraitsNftNftChild (390) */3155 interface RmrkTraitsNftNftChild extends Struct {3156 readonly collectionId: u32;3157 readonly nftId: u32;3158 }31593160 /** @name PalletCommonError (392) */3161 interface PalletCommonError extends Enum {3162 readonly isCollectionNotFound: boolean;3163 readonly isMustBeTokenOwner: boolean;3164 readonly isNoPermission: boolean;3165 readonly isCantDestroyNotEmptyCollection: boolean;3166 readonly isPublicMintingNotAllowed: boolean;3167 readonly isAddressNotInAllowlist: boolean;3168 readonly isCollectionNameLimitExceeded: boolean;3169 readonly isCollectionDescriptionLimitExceeded: boolean;3170 readonly isCollectionTokenPrefixLimitExceeded: boolean;3171 readonly isTotalCollectionsLimitExceeded: boolean;3172 readonly isCollectionAdminCountExceeded: boolean;3173 readonly isCollectionLimitBoundsExceeded: boolean;3174 readonly isOwnerPermissionsCantBeReverted: boolean;3175 readonly isTransferNotAllowed: boolean;3176 readonly isAccountTokenLimitExceeded: boolean;3177 readonly isCollectionTokenLimitExceeded: boolean;3178 readonly isMetadataFlagFrozen: boolean;3179 readonly isTokenNotFound: boolean;3180 readonly isTokenValueTooLow: boolean;3181 readonly isApprovedValueTooLow: boolean;3182 readonly isCantApproveMoreThanOwned: boolean;3183 readonly isAddressIsZero: boolean;3184 readonly isUnsupportedOperation: boolean;3185 readonly isNotSufficientFounds: boolean;3186 readonly isUserIsNotAllowedToNest: boolean;3187 readonly isSourceCollectionIsNotAllowedToNest: boolean;3188 readonly isCollectionFieldSizeExceeded: boolean;3189 readonly isNoSpaceForProperty: boolean;3190 readonly isPropertyLimitReached: boolean;3191 readonly isPropertyKeyIsTooLong: boolean;3192 readonly isInvalidCharacterInPropertyKey: boolean;3193 readonly isEmptyPropertyKey: boolean;3194 readonly isCollectionIsExternal: boolean;3195 readonly isCollectionIsInternal: boolean;3196 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';3197 }31983199 /** @name PalletFungibleError (394) */3200 interface PalletFungibleError extends Enum {3201 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3202 readonly isFungibleItemsHaveNoId: boolean;3203 readonly isFungibleItemsDontHaveData: boolean;3204 readonly isFungibleDisallowsNesting: boolean;3205 readonly isSettingPropertiesNotAllowed: boolean;3206 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3207 }32083209 /** @name PalletRefungibleItemData (395) */3210 interface PalletRefungibleItemData extends Struct {3211 readonly constData: Bytes;3212 }32133214 /** @name PalletRefungibleError (400) */3215 interface PalletRefungibleError extends Enum {3216 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3217 readonly isWrongRefungiblePieces: boolean;3218 readonly isRepartitionWhileNotOwningAllPieces: boolean;3219 readonly isRefungibleDisallowsNesting: boolean;3220 readonly isSettingPropertiesNotAllowed: boolean;3221 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3222 }32233224 /** @name PalletNonfungibleItemData (401) */3225 interface PalletNonfungibleItemData extends Struct {3226 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3227 }32283229 /** @name UpDataStructsPropertyScope (403) */3230 interface UpDataStructsPropertyScope extends Enum {3231 readonly isNone: boolean;3232 readonly isRmrk: boolean;3233 readonly type: 'None' | 'Rmrk';3234 }32353236 /** @name PalletNonfungibleError (405) */3237 interface PalletNonfungibleError extends Enum {3238 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3239 readonly isNonfungibleItemsHaveNoAmount: boolean;3240 readonly isCantBurnNftWithChildren: boolean;3241 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3242 }32433244 /** @name PalletStructureError (406) */3245 interface PalletStructureError extends Enum {3246 readonly isOuroborosDetected: boolean;3247 readonly isDepthLimit: boolean;3248 readonly isBreadthLimit: boolean;3249 readonly isTokenNotFound: boolean;3250 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3251 }32523253 /** @name PalletRmrkCoreError (407) */3254 interface PalletRmrkCoreError extends Enum {3255 readonly isCorruptedCollectionType: boolean;3256 readonly isRmrkPropertyKeyIsTooLong: boolean;3257 readonly isRmrkPropertyValueIsTooLong: boolean;3258 readonly isRmrkPropertyIsNotFound: boolean;3259 readonly isUnableToDecodeRmrkData: boolean;3260 readonly isCollectionNotEmpty: boolean;3261 readonly isNoAvailableCollectionId: boolean;3262 readonly isNoAvailableNftId: boolean;3263 readonly isCollectionUnknown: boolean;3264 readonly isNoPermission: boolean;3265 readonly isNonTransferable: boolean;3266 readonly isCollectionFullOrLocked: boolean;3267 readonly isResourceDoesntExist: boolean;3268 readonly isCannotSendToDescendentOrSelf: boolean;3269 readonly isCannotAcceptNonOwnedNft: boolean;3270 readonly isCannotRejectNonOwnedNft: boolean;3271 readonly isCannotRejectNonPendingNft: boolean;3272 readonly isResourceNotPending: boolean;3273 readonly isNoAvailableResourceId: boolean;3274 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3275 }32763277 /** @name PalletRmrkEquipError (409) */3278 interface PalletRmrkEquipError extends Enum {3279 readonly isPermissionError: boolean;3280 readonly isNoAvailableBaseId: boolean;3281 readonly isNoAvailablePartId: boolean;3282 readonly isBaseDoesntExist: boolean;3283 readonly isNeedsDefaultThemeFirst: boolean;3284 readonly isPartDoesntExist: boolean;3285 readonly isNoEquippableOnFixedPart: boolean;3286 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3287 }32883289 /** @name PalletAppPromotionError (415) */3290 interface PalletAppPromotionError extends Enum {3291 readonly isAdminNotSet: boolean;3292 readonly isNoPermission: boolean;3293 readonly isNotSufficientFounds: boolean;3294 readonly isPendingForBlockOverflow: boolean;3295 readonly isInvalidArgument: boolean;3296 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'PendingForBlockOverflow' | 'InvalidArgument';3297 }32983299 /** @name PalletEvmError (418) */3300 interface PalletEvmError extends Enum {3301 readonly isBalanceLow: boolean;3302 readonly isFeeOverflow: boolean;3303 readonly isPaymentOverflow: boolean;3304 readonly isWithdrawFailed: boolean;3305 readonly isGasPriceTooLow: boolean;3306 readonly isInvalidNonce: boolean;3307 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3308 }33093310 /** @name FpRpcTransactionStatus (421) */3311 interface FpRpcTransactionStatus extends Struct {3312 readonly transactionHash: H256;3313 readonly transactionIndex: u32;3314 readonly from: H160;3315 readonly to: Option<H160>;3316 readonly contractAddress: Option<H160>;3317 readonly logs: Vec<EthereumLog>;3318 readonly logsBloom: EthbloomBloom;3319 }33203321 /** @name EthbloomBloom (423) */3322 interface EthbloomBloom extends U8aFixed {}33233324 /** @name EthereumReceiptReceiptV3 (425) */3325 interface EthereumReceiptReceiptV3 extends Enum {3326 readonly isLegacy: boolean;3327 readonly asLegacy: EthereumReceiptEip658ReceiptData;3328 readonly isEip2930: boolean;3329 readonly asEip2930: EthereumReceiptEip658ReceiptData;3330 readonly isEip1559: boolean;3331 readonly asEip1559: EthereumReceiptEip658ReceiptData;3332 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3333 }33343335 /** @name EthereumReceiptEip658ReceiptData (426) */3336 interface EthereumReceiptEip658ReceiptData extends Struct {3337 readonly statusCode: u8;3338 readonly usedGas: U256;3339 readonly logsBloom: EthbloomBloom;3340 readonly logs: Vec<EthereumLog>;3341 }33423343 /** @name EthereumBlock (427) */3344 interface EthereumBlock extends Struct {3345 readonly header: EthereumHeader;3346 readonly transactions: Vec<EthereumTransactionTransactionV2>;3347 readonly ommers: Vec<EthereumHeader>;3348 }33493350 /** @name EthereumHeader (428) */3351 interface EthereumHeader extends Struct {3352 readonly parentHash: H256;3353 readonly ommersHash: H256;3354 readonly beneficiary: H160;3355 readonly stateRoot: H256;3356 readonly transactionsRoot: H256;3357 readonly receiptsRoot: H256;3358 readonly logsBloom: EthbloomBloom;3359 readonly difficulty: U256;3360 readonly number: U256;3361 readonly gasLimit: U256;3362 readonly gasUsed: U256;3363 readonly timestamp: u64;3364 readonly extraData: Bytes;3365 readonly mixHash: H256;3366 readonly nonce: EthereumTypesHashH64;3367 }33683369 /** @name EthereumTypesHashH64 (429) */3370 interface EthereumTypesHashH64 extends U8aFixed {}33713372 /** @name PalletEthereumError (434) */3373 interface PalletEthereumError extends Enum {3374 readonly isInvalidSignature: boolean;3375 readonly isPreLogExists: boolean;3376 readonly type: 'InvalidSignature' | 'PreLogExists';3377 }33783379 /** @name PalletEvmCoderSubstrateError (435) */3380 interface PalletEvmCoderSubstrateError extends Enum {3381 readonly isOutOfGas: boolean;3382 readonly isOutOfFund: boolean;3383 readonly type: 'OutOfGas' | 'OutOfFund';3384 }33853386 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (436) */3387 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3388 readonly isDisabled: boolean;3389 readonly isUnconfirmed: boolean;3390 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3391 readonly isConfirmed: boolean;3392 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3393 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3394 }33953396 /** @name PalletEvmContractHelpersSponsoringModeT (437) */3397 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3398 readonly isDisabled: boolean;3399 readonly isAllowlisted: boolean;3400 readonly isGenerous: boolean;3401 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3402 }34033404 /** @name PalletEvmContractHelpersError (439) */3405 interface PalletEvmContractHelpersError extends Enum {3406 readonly isNoPermission: boolean;3407 readonly isNoPendingSponsor: boolean;3408 readonly type: 'NoPermission' | 'NoPendingSponsor';3409 }34103411 /** @name PalletEvmMigrationError (440) */3412 interface PalletEvmMigrationError extends Enum {3413 readonly isAccountNotEmpty: boolean;3414 readonly isAccountIsNotMigrating: boolean;3415 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3416 }34173418 /** @name SpRuntimeMultiSignature (442) */3419 interface SpRuntimeMultiSignature extends Enum {3420 readonly isEd25519: boolean;3421 readonly asEd25519: SpCoreEd25519Signature;3422 readonly isSr25519: boolean;3423 readonly asSr25519: SpCoreSr25519Signature;3424 readonly isEcdsa: boolean;3425 readonly asEcdsa: SpCoreEcdsaSignature;3426 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3427 }34283429 /** @name SpCoreEd25519Signature (443) */3430 interface SpCoreEd25519Signature extends U8aFixed {}34313432 /** @name SpCoreSr25519Signature (445) */3433 interface SpCoreSr25519Signature extends U8aFixed {}34343435 /** @name SpCoreEcdsaSignature (446) */3436 interface SpCoreEcdsaSignature extends U8aFixed {}34373438 /** @name FrameSystemExtensionsCheckSpecVersion (449) */3439 type FrameSystemExtensionsCheckSpecVersion = Null;34403441 /** @name FrameSystemExtensionsCheckGenesis (450) */3442 type FrameSystemExtensionsCheckGenesis = Null;34433444 /** @name FrameSystemExtensionsCheckNonce (453) */3445 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}34463447 /** @name FrameSystemExtensionsCheckWeight (454) */3448 type FrameSystemExtensionsCheckWeight = Null;34493450 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (455) */3451 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}34523453 /** @name OpalRuntimeRuntime (456) */3454 type OpalRuntimeRuntime = Null;34553456 /** @name PalletEthereumFakeTransactionFinalizer (457) */3457 type PalletEthereumFakeTransactionFinalizer = Null;34583459} // declare module