difftreelog
feat(collator-selection) benchmarks for collator-selection and data-management + cargo fmt
in: master
21 files changed
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -127,16 +127,16 @@
.PHONY: bench-foreign-assets
bench-foreign-assets:
- make _bench PALLET=foreign-assets
+ make _bench PALLET=foreign-assets
+
+.PHONY: bench-collator-selection
+bench-collator-selection:
+ make _bench PALLET=collator-selection
.PHONY: bench-app-promotion
bench-app-promotion:
make _bench PALLET=app-promotion PALLET_DIR=app-promotion
.PHONY: bench
-<<<<<<< HEAD
-bench: bench-data-management bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets
-=======
# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip
-bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets
->>>>>>> develop
+bench: bench-data-management bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets
pallets/collator-selection/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/benchmarking.rs
+++ b/pallets/collator-selection/src/benchmarking.rs
@@ -45,10 +45,15 @@
use frame_system::{EventRecord, RawOrigin};
use pallet_authorship::EventHandler;
use pallet_session::{self as session, SessionManager};
+use pallet_configuration::{
+ self as configuration, BalanceOf,
+ CollatorSelectionDesiredCollatorsOverride as DesiredCollators,
+ CollatorSelectionLicenseBondOverride as LicenseBond,
+};
use sp_std::prelude::*;
-pub type BalanceOf<T> =
- <<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;
+/*pub type BalanceOf<T> =
+<<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;*/
const SEED: u32 = 0;
@@ -111,7 +116,7 @@
validators.into_iter().map(|(who, _)| who).collect()
}
-fn register_candidates<T: Config>(count: u32) {
+fn register_candidates<T: Config + configuration::Config>(count: u32) {
let candidates = (0..count)
.map(|c| account("candidate", c, SEED))
.collect::<Vec<_>>();
@@ -122,27 +127,44 @@
for who in candidates {
T::Currency::make_free_balance_be(&who, <LicenseBond<T>>::get() * 2u32.into());
- <CollatorSelection<T>>::register_as_candidate(RawOrigin::Signed(who).into()).unwrap();
+ <CollatorSelection<T>>::get_license(RawOrigin::Signed(who.clone()).into()).unwrap();
+ <CollatorSelection<T>>::onboard(RawOrigin::Signed(who).into()).unwrap();
}
}
benchmarks! {
- where_clause { where T: pallet_authorship::Config + session::Config }
+ where_clause { where T: pallet_authorship::Config + session::Config + configuration::Config }
+
+ add_invulnerable {
+ let b in 1 .. T::MaxCollators::get();
+ let new_invulnerable = register_validators::<T>(b)[0].clone();
+ let origin = T::UpdateOrigin::successful_origin();
+ }: {
+ assert_ok!(
+ <CollatorSelection<T>>::add_invulnerable(origin, new_invulnerable.clone())
+ );
+ }
+ verify {
+ assert_last_event::<T>(Event::InvulnerableAdded{invulnerable: new_invulnerable}.into());
+ }
- set_invulnerables {
+ remove_invulnerable {
let b in 1 .. T::MaxCollators::get();
- let new_invulnerables = register_validators::<T>(b);
+ let new_invulnerable = register_validators::<T>(b)[0].clone();
let origin = T::UpdateOrigin::successful_origin();
+ assert_ok!(
+ <CollatorSelection<T>>::add_invulnerable(origin.clone(), new_invulnerable.clone())
+ );
}: {
assert_ok!(
- <CollatorSelection<T>>::set_invulnerables(origin, new_invulnerables.clone())
+ <CollatorSelection<T>>::remove_invulnerable(origin, new_invulnerable.clone())
);
}
verify {
- assert_last_event::<T>(Event::NewInvulnerables{invulnerables: new_invulnerables}.into());
+ assert_last_event::<T>(Event::InvulnerableRemoved{invulnerable: new_invulnerable}.into());
}
- set_desired_collators {
+ /*set_desired_collators {
let max: u32 = 999;
let origin = T::UpdateOrigin::successful_origin();
}: {
@@ -164,11 +186,9 @@
}
verify {
assert_last_event::<T>(Event::NewLicenseBond{bond_amount}.into());
- }
+ }*/
- // worse case is when we have all the max-candidate slots filled except one, and we fill that
- // one.
- register_as_candidate {
+ get_license {
let c in 1 .. T::MaxCollators::get();
<LicenseBond<T>>::put(T::Currency::minimum_balance());
@@ -189,27 +209,96 @@
}: _(RawOrigin::Signed(caller.clone()))
verify {
- assert_last_event::<T>(Event::CandidateAdded{account_id: caller, deposit: bond / 2u32.into()}.into());
+ assert_last_event::<T>(Event::LicenseObtained{account_id: caller, deposit: bond / 2u32.into()}.into());
}
- // worse case is the last candidate leaving.
- leave_intent {
- let c in (T::MinCandidates::get() + 1) .. T::MaxCollators::get();
+ // worst case is when we have all the max-candidate slots filled except one, and we fill that
+ // one.
+ onboard {
+ let c in 1 .. T::MaxCollators::get();
+
<LicenseBond<T>>::put(T::Currency::minimum_balance());
+ <DesiredCollators<T>>::put(c + 1);
+
+ register_validators::<T>(c);
+ register_candidates::<T>(c);
+
+ let caller: T::AccountId = whitelisted_caller();
+ let bond: BalanceOf<T> = T::Currency::minimum_balance() * 2u32.into();
+ T::Currency::make_free_balance_be(&caller, bond.clone());
+
+ let origin = RawOrigin::Signed(caller.clone());
+
+ <session::Pallet<T>>::set_keys(
+ origin.clone().into(),
+ keys::<T>(c + 1),
+ Vec::new()
+ ).unwrap();
+
+ assert_ok!(
+ <CollatorSelection<T>>::get_license(origin.clone().into())
+ );
+ }: _(origin)
+ verify {
+ assert_last_event::<T>(Event::CandidateAdded{account_id: caller}.into());
+ }
+
+ // worst case is the last candidate leaving.
+ offboard {
+ let c in 1 .. T::MaxCollators::get();
+ <LicenseBond<T>>::put(T::Currency::minimum_balance());
<DesiredCollators<T>>::put(c);
register_validators::<T>(c);
register_candidates::<T>(c);
- let leaving = <Candidates<T>>::get().last().unwrap().who.clone();
+ let leaving = <Candidates<T>>::get().last().unwrap().clone();
whitelist!(leaving);
}: _(RawOrigin::Signed(leaving.clone()))
verify {
- // todo:collator verify these
- assert_last_event::<T>(Event::CandidateRemoved{account_id: leaving, deposit_returned: bond / 2u32.into() }.into());
+ assert_last_event::<T>(Event::CandidateRemoved{account_id: leaving}.into());
}
- // worse case is paying a non-existing candidate account.
+ // worst case is the last candidate leaving.
+ release_license {
+ let c in 1 .. T::MaxCollators::get();
+ let bond = T::Currency::minimum_balance();
+ <LicenseBond<T>>::put(bond);
+ <DesiredCollators<T>>::put(c);
+
+ register_validators::<T>(c);
+ register_candidates::<T>(c);
+
+ let leaving = <Candidates<T>>::get().last().unwrap().clone();
+ whitelist!(leaving);
+ }: _(RawOrigin::Signed(leaving.clone()))
+ verify {
+ assert_last_event::<T>(Event::LicenseReleased{account_id: leaving, deposit_returned: bond}.into());
+ }
+
+ // worst case is the last candidate leaving.
+ force_release_license {
+ let c in 1 .. T::MaxCollators::get();
+ let bond = T::Currency::minimum_balance();
+ <LicenseBond<T>>::put(bond);
+ <DesiredCollators<T>>::put(c);
+
+ register_validators::<T>(c);
+ register_candidates::<T>(c);
+
+ let leaving = <Candidates<T>>::get().last().unwrap().clone();
+ whitelist!(leaving);
+ let origin = T::UpdateOrigin::successful_origin();
+ }: {
+ assert_ok!(
+ <CollatorSelection<T>>::force_release_license(origin, leaving.clone())
+ );
+ }
+ verify {
+ assert_last_event::<T>(Event::LicenseReleased{account_id: leaving, deposit_returned: bond}.into());
+ }
+
+ // worst case is paying a non-existing candidate account.
note_author {
<LicenseBond<T>>::put(T::Currency::minimum_balance());
T::Currency::make_free_balance_be(
@@ -247,16 +336,16 @@
let non_removals = c.saturating_sub(r);
for i in 0..c {
- <LastAuthoredBlock<T>>::insert(candidates[i as usize].who.clone(), zero_block);
+ <LastAuthoredBlock<T>>::insert(candidates[i as usize].clone(), zero_block);
}
if non_removals > 0 {
for i in 0..non_removals {
- <LastAuthoredBlock<T>>::insert(candidates[i as usize].who.clone(), new_block);
+ <LastAuthoredBlock<T>>::insert(candidates[i as usize].clone(), new_block);
}
} else {
for i in 0..c {
- <LastAuthoredBlock<T>>::insert(candidates[i as usize].who.clone(), new_block);
+ <LastAuthoredBlock<T>>::insert(candidates[i as usize].clone(), new_block);
}
}
@@ -268,10 +357,8 @@
}: {
<CollatorSelection<T> as SessionManager<_>>::new_session(0)
} verify {
- if c > r && non_removals >= T::MinCandidates::get() {
+ if c > r {
assert!(<Candidates<T>>::get().len() < pre_length);
- } else if c > r && non_removals < T::MinCandidates::get() {
- assert!(<Candidates<T>>::get().len() == T::MinCandidates::get() as usize);
} else {
assert!(<Candidates<T>>::get().len() == pre_length);
}
pallets/collator-selection/src/lib.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/lib.rs
+++ b/pallets/collator-selection/src/lib.rs
@@ -235,7 +235,7 @@
account_id: T::AccountId,
deposit: BalanceOf<T>,
},
- LicenseForfeited {
+ LicenseReleased {
account_id: T::AccountId,
deposit_returned: BalanceOf<T>,
},
@@ -285,7 +285,7 @@
impl<T: Config> Pallet<T> {
/// Add a collator to the list of invulnerable (fixed) collators.
#[pallet::call_index(0)]
- #[pallet::weight(T::WeightInfo::set_invulnerables(1u32))] // todo:collator weight
+ #[pallet::weight(T::WeightInfo::add_invulnerable(T::MaxCollators::get()))] // todo:collator weight
pub fn add_invulnerable(
origin: OriginFor<T>,
new: T::AccountId,
@@ -315,7 +315,7 @@
/// Remove a collator from the list of invulnerable (fixed) collators.
#[pallet::call_index(1)]
- #[pallet::weight(T::WeightInfo::set_invulnerables(1))] // todo:collator weight
+ #[pallet::weight(T::WeightInfo::remove_invulnerable(T::MaxCollators::get()))] // todo:collator weight
pub fn remove_invulnerable(
origin: OriginFor<T>,
who: T::AccountId,
@@ -344,7 +344,7 @@
///
/// This call is not available to `Invulnerable` collators.
#[pallet::call_index(2)]
- #[pallet::weight(T::WeightInfo::register_as_candidate(T::MaxCollators::get()))] // todo:collator weight
+ #[pallet::weight(T::WeightInfo::get_license(T::MaxCollators::get()))] // todo:collator weight
pub fn get_license(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// register_as_candidate
let who = ensure_signed(origin)?;
@@ -377,7 +377,7 @@
///
/// This call is not available to `Invulnerable` collators.
#[pallet::call_index(3)]
- #[pallet::weight(T::WeightInfo::register_as_candidate(T::MaxCollators::get()))] // todo:collator weight
+ #[pallet::weight(T::WeightInfo::onboard(T::MaxCollators::get()))] // todo:collator weight
pub fn onboard(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// register_as_candidate
let who = ensure_signed(origin)?;
@@ -417,33 +417,33 @@
})?;
Self::deposit_event(Event::CandidateAdded { account_id: who });
- Ok(Some(T::WeightInfo::register_as_candidate(current_count as u32)).into())
+ Ok(Some(T::WeightInfo::onboard(current_count as u32)).into())
}
/// Deregister `origin` as a collator candidate. Note that the collator can only leave on
/// session change. The license to `onboard` later at any other time will remain.
#[pallet::call_index(4)]
- #[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
+ #[pallet::weight(T::WeightInfo::offboard(T::MaxCollators::get()))] // todo:collator weight
pub fn offboard(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// leave_intent
let who = ensure_signed(origin)?;
let current_count = Self::try_remove_candidate(&who)?;
- Ok(Some(T::WeightInfo::leave_intent(current_count as u32)).into()) // todo:collator weight
+ Ok(Some(T::WeightInfo::offboard(current_count as u32)).into()) // todo:collator weight
}
/// Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.
///
/// This call is not available to `Invulnerable` collators.
#[pallet::call_index(5)]
- #[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
+ #[pallet::weight(T::WeightInfo::release_license(T::MaxCollators::get()))] // todo:collator weight
pub fn release_license(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// leave_intent
let who = ensure_signed(origin)?;
let current_count = Self::try_remove_candidate_and_release_license(&who, false, true)?;
- Ok(Some(T::WeightInfo::leave_intent(current_count as u32)).into()) // todo:collator weight
+ Ok(Some(T::WeightInfo::release_license(current_count as u32)).into()) // todo:collator weight
}
/// Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.
@@ -452,7 +452,7 @@
///
/// This call is, of course, not applicable to `Invulnerable` collators.
#[pallet::call_index(6)]
- #[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
+ #[pallet::weight(T::WeightInfo::force_release_license(T::MaxCollators::get()))] // todo:collator weight
pub fn force_release_license(
origin: OriginFor<T>,
who: T::AccountId,
@@ -462,7 +462,7 @@
let current_count = Self::try_remove_candidate_and_release_license(&who, false, true)?;
- Ok(Some(T::WeightInfo::leave_intent(current_count as u32)).into()) // todo:collator weight
+ Ok(Some(T::WeightInfo::force_release_license(current_count as u32)).into()) // todo:collator weight
}
}
@@ -534,7 +534,7 @@
Err(Error::<T>::NoLicense.into())
}
})?;
- Self::deposit_event(Event::LicenseForfeited {
+ Self::deposit_event(Event::LicenseReleased {
account_id: who.clone(),
deposit_returned,
});
pallets/collator-selection/src/weights.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/weights.rs
+++ b/pallets/collator-selection/src/weights.rs
@@ -44,11 +44,13 @@
// todo:collator re-generate weights
// The weight info trait for `pallet_collator_selection`.
pub trait WeightInfo {
- fn set_invulnerables(_b: u32) -> Weight;
- fn set_desired_collators() -> Weight;
- fn set_license_bond() -> Weight;
- fn register_as_candidate(_c: u32) -> Weight;
- fn leave_intent(_c: u32) -> Weight;
+ fn add_invulnerable(_b: u32) -> Weight;
+ fn remove_invulnerable(_b: u32) -> Weight;
+ fn get_license(_c: u32) -> Weight;
+ fn onboard(_c: u32) -> Weight;
+ fn offboard(_c: u32) -> Weight;
+ fn release_license(_c: u32) -> Weight;
+ fn force_release_license(_c: u32) -> Weight;
fn note_author() -> Weight;
fn new_session(_c: u32, _r: u32) -> Weight;
}
@@ -56,26 +58,47 @@
/// Weights for pallet_collator_selection using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- fn set_invulnerables(b: u32) -> Weight {
+ fn add_invulnerable(b: u32) -> Weight {
Weight::from_ref_time(18_563_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
- fn set_desired_collators() -> Weight {
- Weight::from_ref_time(16_363_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64))
+ fn remove_invulnerable(b: u32) -> Weight {
+ Weight::from_ref_time(18_563_000 as u64)
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
- fn set_license_bond() -> Weight {
- Weight::from_ref_time(16_840_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64))
+ fn get_license(c: u32) -> Weight {
+ Weight::from_ref_time(71_196_000 as u64)
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(198_000 as u64).saturating_mul(c as u64))
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
}
- fn register_as_candidate(c: u32) -> Weight {
+ fn onboard(c: u32) -> Weight {
Weight::from_ref_time(71_196_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(198_000 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
- fn leave_intent(c: u32) -> Weight {
+ fn offboard(c: u32) -> Weight {
+ Weight::from_ref_time(55_336_000 as u64)
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(151_000 as u64).saturating_mul(c as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ }
+ fn release_license(c: u32) -> Weight {
+ Weight::from_ref_time(55_336_000 as u64)
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(151_000 as u64).saturating_mul(c as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ }
+ fn force_release_license(c: u32) -> Weight {
Weight::from_ref_time(55_336_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(151_000 as u64).saturating_mul(c as u64))
@@ -102,28 +125,47 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- fn set_invulnerables(b: u32) -> Weight {
+ fn add_invulnerable(b: u32) -> Weight {
Weight::from_ref_time(18_563_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
- fn set_desired_collators() -> Weight {
- Weight::from_ref_time(16_363_000 as u64)
+ fn remove_invulnerable(b: u32) -> Weight {
+ Weight::from_ref_time(18_563_000 as u64)
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
- fn set_license_bond() -> Weight {
- Weight::from_ref_time(16_840_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ fn get_license(c: u32) -> Weight {
+ Weight::from_ref_time(71_196_000 as u64)
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(198_000 as u64).saturating_mul(c as u64))
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
}
- fn register_as_candidate(c: u32) -> Weight {
+ fn onboard(c: u32) -> Weight {
Weight::from_ref_time(71_196_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(198_000 as u64).saturating_mul(c as u64))
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
- fn leave_intent(c: u32) -> Weight {
+ fn offboard(c: u32) -> Weight {
+ Weight::from_ref_time(55_336_000 as u64)
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(151_000 as u64).saturating_mul(c as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ }
+ fn release_license(c: u32) -> Weight {
+ Weight::from_ref_time(55_336_000 as u64)
+ // Standard Error: 0
+ .saturating_add(Weight::from_ref_time(151_000 as u64).saturating_mul(c as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ }
+ fn force_release_license(c: u32) -> Weight {
Weight::from_ref_time(55_336_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(151_000 as u64).saturating_mul(c as u64))
pallets/data-management/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/data-management/src/benchmarking.rs
+++ b/pallets/data-management/src/benchmarking.rs
@@ -63,4 +63,28 @@
use codec::Encode;
let logs = (0..b).map(|_| <T as Config>::RuntimeEvent::from(crate::Event::<T>::TestEvent).encode()).collect::<Vec<_>>();
}: _(RawOrigin::Root, logs)
+
+ set_identities {
+ let b in 0..600;
+ use frame_benchmarking::account;
+ use pallet_identity::{BalanceOf, Registration, IdentityInfo};
+ let identities = (0..b).map(|i| (
+ account("caller", i, 0),
+ Some(Registration::<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields> {
+ judgements: Default::default(),
+ deposit: Default::default(),
+ info: IdentityInfo {
+ additional: Default::default(),
+ display: Default::default(),
+ legal: Default::default(),
+ web: Default::default(),
+ riot: Default::default(),
+ email: Default::default(),
+ pgp_fingerprint: None,
+ image: Default::default(),
+ twitter: Default::default(),
+ },
+ }),
+ )).collect::<Vec<_>>();
+ }: _(RawOrigin::Root, identities)
}
pallets/data-management/src/lib.rsdiffbeforeafterboth--- a/pallets/data-management/src/lib.rs
+++ b/pallets/data-management/src/lib.rs
@@ -153,12 +153,18 @@
/// Insert or remove identities.
#[pallet::call_index(5)]
- #[pallet::weight(<SelfWeightOf<T>>::insert_events(identities.len() as u32))] // todo:collator weight
+ #[pallet::weight(<SelfWeightOf<T>>::set_identities(identities.len() as u32))] // todo:collator weight
pub fn set_identities(
origin: OriginFor<T>,
identities: Vec<(
T::AccountId,
- Option<Registration<pallet_identity::BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields>>,
+ Option<
+ Registration<
+ pallet_identity::BalanceOf<T>,
+ T::MaxRegistrars,
+ T::MaxAdditionalFields,
+ >,
+ >,
)>,
) -> DispatchResult {
ensure_root(origin)?;
pallets/data-management/src/weights.rsdiffbeforeafterboth--- a/pallets/data-management/src/weights.rs
+++ b/pallets/data-management/src/weights.rs
@@ -39,6 +39,7 @@
fn finish(b: u32, ) -> Weight;
fn insert_eth_logs(b: u32, ) -> Weight;
fn insert_events(b: u32, ) -> Weight;
+ fn set_identities(b: u32, ) -> Weight;
}
/// Weights for pallet_data_management using the Substrate node and recommended hardware.
@@ -80,6 +81,11 @@
// Standard Error: 1_227
.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
}
+ fn set_identities(b: u32, ) -> Weight {
+ Weight::from_ref_time(10_936_376 as u64)
+ // Standard Error: 1_227
+ .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
+ }
}
// For backwards compatibility and tests
@@ -120,4 +126,9 @@
// Standard Error: 1_227
.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
}
+ fn set_identities(b: u32, ) -> Weight {
+ Weight::from_ref_time(10_936_376 as u64)
+ // Standard Error: 1_227
+ .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
+ }
}
pallets/identity/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/identity/src/benchmarking.rs
+++ b/pallets/identity/src/benchmarking.rs
@@ -62,14 +62,16 @@
let registrar_origin = T::RegistrarOrigin::successful_origin();
Identity::<T>::add_registrar(registrar_origin, registrar_lookup)?;
Identity::<T>::set_fee(RawOrigin::Signed(registrar.clone()).into(), i, 10u32.into())?;
- let fields =
- IdentityFields(
- IdentityField::Display |
- IdentityField::Legal | IdentityField::Web |
- IdentityField::Riot | IdentityField::Email |
- IdentityField::PgpFingerprint |
- IdentityField::Image | IdentityField::Twitter,
- );
+ let fields = IdentityFields(
+ IdentityField::Display
+ | IdentityField::Legal
+ | IdentityField::Web
+ | IdentityField::Riot
+ | IdentityField::Email
+ | IdentityField::PgpFingerprint
+ | IdentityField::Image
+ | IdentityField::Twitter,
+ );
Identity::<T>::set_fields(RawOrigin::Signed(registrar.clone()).into(), i, fields)?;
}
@@ -122,7 +124,9 @@
let data = Data::Raw(vec![0; 32].try_into().unwrap());
IdentityInfo {
- additional: vec![(data.clone(), data.clone()); num_fields as usize].try_into().unwrap(),
+ additional: vec![(data.clone(), data.clone()); num_fields as usize]
+ .try_into()
+ .unwrap(),
display: data.clone(),
legal: data.clone(),
web: data.clone(),
pallets/identity/src/lib.rsdiffbeforeafterboth--- a/pallets/identity/src/lib.rs
+++ b/pallets/identity/src/lib.rs
@@ -265,24 +265,51 @@
/// A name was set or reset (which will remove all judgements).
IdentitySet { who: T::AccountId },
/// A name was cleared, and the given balance returned.
- IdentityCleared { who: T::AccountId, deposit: BalanceOf<T> },
+ IdentityCleared {
+ who: T::AccountId,
+ deposit: BalanceOf<T>,
+ },
/// A name was removed and the given balance slashed.
- IdentityKilled { who: T::AccountId, deposit: BalanceOf<T> },
+ IdentityKilled {
+ who: T::AccountId,
+ deposit: BalanceOf<T>,
+ },
/// A judgement was asked from a registrar.
- JudgementRequested { who: T::AccountId, registrar_index: RegistrarIndex },
+ JudgementRequested {
+ who: T::AccountId,
+ registrar_index: RegistrarIndex,
+ },
/// A judgement request was retracted.
- JudgementUnrequested { who: T::AccountId, registrar_index: RegistrarIndex },
+ JudgementUnrequested {
+ who: T::AccountId,
+ registrar_index: RegistrarIndex,
+ },
/// A judgement was given by a registrar.
- JudgementGiven { target: T::AccountId, registrar_index: RegistrarIndex },
+ JudgementGiven {
+ target: T::AccountId,
+ registrar_index: RegistrarIndex,
+ },
/// A registrar was added.
RegistrarAdded { registrar_index: RegistrarIndex },
/// A sub-identity was added to an identity and the deposit paid.
- SubIdentityAdded { sub: T::AccountId, main: T::AccountId, deposit: BalanceOf<T> },
+ SubIdentityAdded {
+ sub: T::AccountId,
+ main: T::AccountId,
+ deposit: BalanceOf<T>,
+ },
/// A sub-identity was removed from an identity and the deposit freed.
- SubIdentityRemoved { sub: T::AccountId, main: T::AccountId, deposit: BalanceOf<T> },
+ SubIdentityRemoved {
+ sub: T::AccountId,
+ main: T::AccountId,
+ deposit: BalanceOf<T>,
+ },
/// A sub-identity was cleared, and the given deposit repatriated from the
/// main identity account to the sub-identity account.
- SubIdentityRevoked { sub: T::AccountId, main: T::AccountId, deposit: BalanceOf<T> },
+ SubIdentityRevoked {
+ sub: T::AccountId,
+ main: T::AccountId,
+ deposit: BalanceOf<T>,
+ },
}
#[pallet::call]
@@ -358,7 +385,10 @@
) -> DispatchResultWithPostInfo {
let sender = ensure_signed(origin)?;
let extra_fields = info.additional.len() as u32;
- ensure!(extra_fields <= T::MaxAdditionalFields::get(), Error::<T>::TooManyFields);
+ ensure!(
+ extra_fields <= T::MaxAdditionalFields::get(),
+ Error::<T>::TooManyFields
+ );
let fd = <BalanceOf<T>>::from(extra_fields) * T::FieldDeposit::get();
let mut id = match <IdentityOf<T>>::get(&sender) {
@@ -367,7 +397,7 @@
id.judgements.retain(|j| j.1.is_sticky());
id.info = *info;
id
- },
+ }
None => Registration {
info: *info,
judgements: BoundedVec::default(),
@@ -441,8 +471,10 @@
let (old_deposit, old_ids) = <SubsOf<T>>::get(&sender);
let new_deposit = T::SubAccountDeposit::get() * <BalanceOf<T>>::from(subs.len() as u32);
- let not_other_sub =
- subs.iter().filter_map(|i| SuperOf::<T>::get(&i.0)).all(|i| i.0 == sender);
+ let not_other_sub = subs
+ .iter()
+ .filter_map(|i| SuperOf::<T>::get(&i.0))
+ .all(|i| i.0 == sender);
ensure!(not_other_sub, Error::<T>::AlreadyClaimed);
if old_deposit < new_deposit {
@@ -459,7 +491,8 @@
let mut ids = BoundedVec::<T::AccountId, T::MaxSubAccounts>::default();
for (id, name) in subs {
<SuperOf<T>>::insert(&id, (sender.clone(), name));
- ids.try_push(id).expect("subs length is less than T::MaxSubAccounts; qed");
+ ids.try_push(id)
+ .expect("subs length is less than T::MaxSubAccounts; qed");
}
let new_subs = ids.len();
@@ -514,7 +547,10 @@
let err_amount = T::Currency::unreserve(&sender, deposit);
debug_assert!(err_amount.is_zero());
- Self::deposit_event(Event::IdentityCleared { who: sender, deposit });
+ Self::deposit_event(Event::IdentityCleared {
+ who: sender,
+ deposit,
+ });
Ok(Some(T::WeightInfo::clear_identity(
id.judgements.len() as u32, // R
@@ -568,14 +604,17 @@
let item = (reg_index, Judgement::FeePaid(registrar.fee));
match id.judgements.binary_search_by_key(®_index, |x| x.0) {
- Ok(i) =>
+ Ok(i) => {
if id.judgements[i].1.is_sticky() {
- return Err(Error::<T>::StickyJudgement.into())
+ return Err(Error::<T>::StickyJudgement.into());
} else {
id.judgements[i] = item
- },
- Err(i) =>
- id.judgements.try_insert(i, item).map_err(|_| Error::<T>::TooManyRegistrars)?,
+ }
+ }
+ Err(i) => id
+ .judgements
+ .try_insert(i, item)
+ .map_err(|_| Error::<T>::TooManyRegistrars)?,
}
T::Currency::reserve(&sender, registrar.fee)?;
@@ -589,8 +628,11 @@
registrar_index: reg_index,
});
- Ok(Some(T::WeightInfo::request_judgement(judgements as u32, extra_fields as u32))
- .into())
+ Ok(Some(T::WeightInfo::request_judgement(
+ judgements as u32,
+ extra_fields as u32,
+ ))
+ .into())
}
/// Cancel a previous request.
@@ -629,7 +671,7 @@
let fee = if let Judgement::FeePaid(fee) = id.judgements.remove(pos).1 {
fee
} else {
- return Err(Error::<T>::JudgementGiven.into())
+ return Err(Error::<T>::JudgementGiven.into());
};
let err_amount = T::Currency::unreserve(&sender, fee);
@@ -643,7 +685,11 @@
registrar_index: reg_index,
});
- Ok(Some(T::WeightInfo::cancel_request(judgements as u32, extra_fields as u32)).into())
+ Ok(Some(T::WeightInfo::cancel_request(
+ judgements as u32,
+ extra_fields as u32,
+ ))
+ .into())
}
/// Set the fee required for a judgement to be requested from a registrar.
@@ -810,7 +856,7 @@
let mut id = <IdentityOf<T>>::get(&target).ok_or(Error::<T>::InvalidTarget)?;
if T::Hashing::hash_of(&id.info) != identity {
- return Err(Error::<T>::JudgementForDifferentIdentity.into())
+ return Err(Error::<T>::JudgementForDifferentIdentity.into());
}
let item = (reg_index, judgement);
@@ -826,7 +872,7 @@
.map_err(|_| Error::<T>::JudgementPaymentFailed)?;
}
id.judgements[position] = item
- },
+ }
Err(position) => id
.judgements
.try_insert(position, item)
@@ -836,10 +882,16 @@
let judgements = id.judgements.len();
let extra_fields = id.info.additional.len();
<IdentityOf<T>>::insert(&target, id);
- Self::deposit_event(Event::JudgementGiven { target, registrar_index: reg_index });
+ Self::deposit_event(Event::JudgementGiven {
+ target,
+ registrar_index: reg_index,
+ });
- Ok(Some(T::WeightInfo::provide_judgement(judgements as u32, extra_fields as u32))
- .into())
+ Ok(Some(T::WeightInfo::provide_judgement(
+ judgements as u32,
+ extra_fields as u32,
+ ))
+ .into())
}
/// Remove an account's identity and sub-account information and slash the deposits.
@@ -885,7 +937,10 @@
// Slash their deposit from them.
T::Slashed::on_unbalanced(T::Currency::slash_reserved(&target, deposit).0);
- Self::deposit_event(Event::IdentityKilled { who: target, deposit });
+ Self::deposit_event(Event::IdentityKilled {
+ who: target,
+ deposit,
+ });
Ok(Some(T::WeightInfo::kill_identity(
id.judgements.len() as u32, // R
@@ -911,10 +966,16 @@
) -> DispatchResult {
let sender = ensure_signed(origin)?;
let sub = T::Lookup::lookup(sub)?;
- ensure!(IdentityOf::<T>::contains_key(&sender), Error::<T>::NoIdentity);
+ ensure!(
+ IdentityOf::<T>::contains_key(&sender),
+ Error::<T>::NoIdentity
+ );
// Check if it's already claimed as sub-identity.
- ensure!(!SuperOf::<T>::contains_key(&sub), Error::<T>::AlreadyClaimed);
+ ensure!(
+ !SuperOf::<T>::contains_key(&sub),
+ Error::<T>::AlreadyClaimed
+ );
SubsOf::<T>::try_mutate(&sender, |(ref mut subs_deposit, ref mut sub_ids)| {
// Ensure there is space and that the deposit is paid.
@@ -926,10 +987,16 @@
T::Currency::reserve(&sender, deposit)?;
SuperOf::<T>::insert(&sub, (sender.clone(), data));
- sub_ids.try_push(sub.clone()).expect("sub ids length checked above; qed");
+ sub_ids
+ .try_push(sub.clone())
+ .expect("sub ids length checked above; qed");
*subs_deposit = subs_deposit.saturating_add(deposit);
- Self::deposit_event(Event::SubIdentityAdded { sub, main: sender.clone(), deposit });
+ Self::deposit_event(Event::SubIdentityAdded {
+ sub,
+ main: sender.clone(),
+ deposit,
+ });
Ok(())
})
}
@@ -947,8 +1014,14 @@
) -> DispatchResult {
let sender = ensure_signed(origin)?;
let sub = T::Lookup::lookup(sub)?;
- ensure!(IdentityOf::<T>::contains_key(&sender), Error::<T>::NoIdentity);
- ensure!(SuperOf::<T>::get(&sub).map_or(false, |x| x.0 == sender), Error::<T>::NotOwned);
+ ensure!(
+ IdentityOf::<T>::contains_key(&sender),
+ Error::<T>::NoIdentity
+ );
+ ensure!(
+ SuperOf::<T>::get(&sub).map_or(false, |x| x.0 == sender),
+ Error::<T>::NotOwned
+ );
SuperOf::<T>::insert(&sub, (sender, data));
Ok(())
}
@@ -964,7 +1037,10 @@
#[pallet::weight(T::WeightInfo::remove_sub(T::MaxSubAccounts::get()))]
pub fn remove_sub(origin: OriginFor<T>, sub: AccountIdLookupOf<T>) -> DispatchResult {
let sender = ensure_signed(origin)?;
- ensure!(IdentityOf::<T>::contains_key(&sender), Error::<T>::NoIdentity);
+ ensure!(
+ IdentityOf::<T>::contains_key(&sender),
+ Error::<T>::NoIdentity
+ );
let sub = T::Lookup::lookup(sub)?;
let (sup, _) = SuperOf::<T>::get(&sub).ok_or(Error::<T>::NotSub)?;
ensure!(sup == sender, Error::<T>::NotOwned);
@@ -975,7 +1051,11 @@
*subs_deposit -= deposit;
let err_amount = T::Currency::unreserve(&sender, deposit);
debug_assert!(err_amount.is_zero());
- Self::deposit_event(Event::SubIdentityRemoved { sub, main: sender, deposit });
+ Self::deposit_event(Event::SubIdentityRemoved {
+ sub,
+ main: sender,
+ deposit,
+ });
});
Ok(())
}
@@ -1024,7 +1104,8 @@
/// Check if the account has corresponding identity information by the identity field.
pub fn has_identity(who: &T::AccountId, fields: u64) -> bool {
- IdentityOf::<T>::get(who)
- .map_or(false, |registration| (registration.info.fields().0.bits() & fields) == fields)
+ IdentityOf::<T>::get(who).map_or(false, |registration| {
+ (registration.info.fields().0.bits() & fields) == fields
+ })
}
}
pallets/identity/src/tests.rsdiffbeforeafterboth--- a/pallets/identity/src/tests.rs
+++ b/pallets/identity/src/tests.rs
@@ -135,7 +135,9 @@
}
pub fn new_test_ext() -> sp_io::TestExternalities {
- let mut t = frame_system::GenesisConfig::default().build_storage::<Test>().unwrap();
+ let mut t = frame_system::GenesisConfig::default()
+ .build_storage::<Test>()
+ .unwrap();
pallet_balances::GenesisConfig::<Test> {
balances: vec![(1, 10), (2, 10), (3, 10), (10, 100), (20, 100), (30, 100)],
}
@@ -155,7 +157,12 @@
fn twenty() -> IdentityInfo<MaxAdditionalFields> {
IdentityInfo {
display: Data::Raw(b"twenty".to_vec().try_into().unwrap()),
- legal: Data::Raw(b"The Right Ordinal Twenty, Esq.".to_vec().try_into().unwrap()),
+ legal: Data::Raw(
+ b"The Right Ordinal Twenty, Esq."
+ .to_vec()
+ .try_into()
+ .unwrap(),
+ ),
..Default::default()
}
}
@@ -170,7 +177,10 @@
Error::<Test>::NoIdentity
);
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
// first sub account
assert_ok!(Identity::add_sub(RuntimeOrigin::signed(10), 1, data(1)));
@@ -215,8 +225,14 @@
new_test_ext().execute_with(|| {
let data = |x| Data::Raw(vec![x; 1].try_into().unwrap());
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(20), Box::new(twenty())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(20),
+ Box::new(twenty())
+ ));
// 10 claims 1 as a subaccount
assert_ok!(Identity::add_sub(RuntimeOrigin::signed(10), 1, data(1)));
@@ -258,7 +274,11 @@
assert_ok!(Identity::set_fields(RuntimeOrigin::signed(3), 0, fields));
assert_eq!(
Identity::registrars(),
- vec![Some(RegistrarInfo { account: 3, fee: 10, fields })]
+ vec![Some(RegistrarInfo {
+ account: 3,
+ fee: 10,
+ fields
+ })]
);
});
}
@@ -283,15 +303,30 @@
assert_ok!(Identity::add_registrar(RuntimeOrigin::signed(1), 3));
assert_ok!(Identity::set_fee(RuntimeOrigin::signed(3), 0, 10));
let mut three_fields = ten();
- three_fields.additional.try_push(Default::default()).unwrap();
- three_fields.additional.try_push(Default::default()).unwrap();
- assert!(three_fields.additional.try_push(Default::default()).is_err());
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ three_fields
+ .additional
+ .try_push(Default::default())
+ .unwrap();
+ three_fields
+ .additional
+ .try_push(Default::default())
+ .unwrap();
+ assert!(three_fields
+ .additional
+ .try_push(Default::default())
+ .is_err());
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
assert_eq!(Identity::identity(10).unwrap().info, ten());
assert_eq!(Balances::free_balance(10), 90);
assert_ok!(Identity::clear_identity(RuntimeOrigin::signed(10)));
assert_eq!(Balances::free_balance(10), 100);
- assert_noop!(Identity::clear_identity(RuntimeOrigin::signed(10)), Error::<Test>::NotNamed);
+ assert_noop!(
+ Identity::clear_identity(RuntimeOrigin::signed(10)),
+ Error::<Test>::NotNamed
+ );
});
}
@@ -321,7 +356,10 @@
Error::<Test>::InvalidTarget
);
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
assert_noop!(
Identity::provide_judgement(
RuntimeOrigin::signed(3),
@@ -363,7 +401,10 @@
Judgement::Reasonable,
identity_hash
));
- assert_eq!(Identity::identity(10).unwrap().judgements, vec![(0, Judgement::Reasonable)]);
+ assert_eq!(
+ Identity::identity(10).unwrap().judgements,
+ vec![(0, Judgement::Reasonable)]
+ );
});
}
@@ -371,7 +412,10 @@
fn clearing_judgement_should_work() {
new_test_ext().execute_with(|| {
assert_ok!(Identity::add_registrar(RuntimeOrigin::signed(1), 3));
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
assert_ok!(Identity::provide_judgement(
RuntimeOrigin::signed(3),
0,
@@ -387,8 +431,14 @@
#[test]
fn killing_slashing_should_work() {
new_test_ext().execute_with(|| {
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
- assert_noop!(Identity::kill_identity(RuntimeOrigin::signed(1), 10), BadOrigin);
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
+ assert_noop!(
+ Identity::kill_identity(RuntimeOrigin::signed(1), 10),
+ BadOrigin
+ );
assert_ok!(Identity::kill_identity(RuntimeOrigin::signed(2), 10));
assert_eq!(Identity::identity(10), None);
assert_eq!(Balances::free_balance(10), 90);
@@ -408,28 +458,52 @@
Error::<Test>::NotFound
);
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
assert_ok!(Identity::set_subs(RuntimeOrigin::signed(10), subs.clone()));
assert_eq!(Balances::free_balance(10), 80);
assert_eq!(Identity::subs_of(10), (10, vec![20].try_into().unwrap()));
- assert_eq!(Identity::super_of(20), Some((10, Data::Raw(vec![40; 1].try_into().unwrap()))));
+ assert_eq!(
+ Identity::super_of(20),
+ Some((10, Data::Raw(vec![40; 1].try_into().unwrap())))
+ );
// push another item and re-set it.
subs.push((30, Data::Raw(vec![50; 1].try_into().unwrap())));
assert_ok!(Identity::set_subs(RuntimeOrigin::signed(10), subs.clone()));
assert_eq!(Balances::free_balance(10), 70);
- assert_eq!(Identity::subs_of(10), (20, vec![20, 30].try_into().unwrap()));
- assert_eq!(Identity::super_of(20), Some((10, Data::Raw(vec![40; 1].try_into().unwrap()))));
- assert_eq!(Identity::super_of(30), Some((10, Data::Raw(vec![50; 1].try_into().unwrap()))));
+ assert_eq!(
+ Identity::subs_of(10),
+ (20, vec![20, 30].try_into().unwrap())
+ );
+ assert_eq!(
+ Identity::super_of(20),
+ Some((10, Data::Raw(vec![40; 1].try_into().unwrap())))
+ );
+ assert_eq!(
+ Identity::super_of(30),
+ Some((10, Data::Raw(vec![50; 1].try_into().unwrap())))
+ );
// switch out one of the items and re-set.
subs[0] = (40, Data::Raw(vec![60; 1].try_into().unwrap()));
assert_ok!(Identity::set_subs(RuntimeOrigin::signed(10), subs.clone()));
assert_eq!(Balances::free_balance(10), 70); // no change in the balance
- assert_eq!(Identity::subs_of(10), (20, vec![40, 30].try_into().unwrap()));
+ assert_eq!(
+ Identity::subs_of(10),
+ (20, vec![40, 30].try_into().unwrap())
+ );
assert_eq!(Identity::super_of(20), None);
- assert_eq!(Identity::super_of(30), Some((10, Data::Raw(vec![50; 1].try_into().unwrap()))));
- assert_eq!(Identity::super_of(40), Some((10, Data::Raw(vec![60; 1].try_into().unwrap()))));
+ assert_eq!(
+ Identity::super_of(30),
+ Some((10, Data::Raw(vec![50; 1].try_into().unwrap())))
+ );
+ assert_eq!(
+ Identity::super_of(40),
+ Some((10, Data::Raw(vec![60; 1].try_into().unwrap())))
+ );
// clear
assert_ok!(Identity::set_subs(RuntimeOrigin::signed(10), vec![]));
@@ -449,7 +523,10 @@
#[test]
fn clearing_account_should_remove_subaccounts_and_refund() {
new_test_ext().execute_with(|| {
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
assert_ok!(Identity::set_subs(
RuntimeOrigin::signed(10),
vec![(20, Data::Raw(vec![40; 1].try_into().unwrap()))]
@@ -463,7 +540,10 @@
#[test]
fn killing_account_should_remove_subaccounts_and_not_refund() {
new_test_ext().execute_with(|| {
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
assert_ok!(Identity::set_subs(
RuntimeOrigin::signed(10),
vec![(20, Data::Raw(vec![40; 1].try_into().unwrap()))]
@@ -483,8 +563,15 @@
Identity::cancel_request(RuntimeOrigin::signed(10), 0),
Error::<Test>::NoIdentity
);
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
- assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(10), 0, 10));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
+ assert_ok!(Identity::request_judgement(
+ RuntimeOrigin::signed(10),
+ 0,
+ 10
+ ));
assert_ok!(Identity::cancel_request(RuntimeOrigin::signed(10), 0));
assert_eq!(Balances::free_balance(10), 90);
assert_noop!(
@@ -511,12 +598,19 @@
new_test_ext().execute_with(|| {
assert_ok!(Identity::add_registrar(RuntimeOrigin::signed(1), 3));
assert_ok!(Identity::set_fee(RuntimeOrigin::signed(3), 0, 10));
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
assert_noop!(
Identity::request_judgement(RuntimeOrigin::signed(10), 0, 9),
Error::<Test>::FeeChanged
);
- assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(10), 0, 10));
+ assert_ok!(Identity::request_judgement(
+ RuntimeOrigin::signed(10),
+ 0,
+ 10
+ ));
// 10 for the judgement request, 10 for the identity.
assert_eq!(Balances::free_balance(10), 80);
@@ -543,7 +637,11 @@
// Requesting from a second registrar still works.
assert_ok!(Identity::add_registrar(RuntimeOrigin::signed(1), 4));
- assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(10), 1, 10));
+ assert_ok!(Identity::request_judgement(
+ RuntimeOrigin::signed(10),
+ 1,
+ 10
+ ));
// Re-requesting after the judgement has been reduced works.
assert_ok!(Identity::provide_judgement(
@@ -553,7 +651,11 @@
Judgement::OutOfDate,
BlakeTwo256::hash_of(&ten())
));
- assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(10), 0, 10));
+ assert_ok!(Identity::request_judgement(
+ RuntimeOrigin::signed(10),
+ 0,
+ 10
+ ));
});
}
@@ -562,8 +664,15 @@
new_test_ext().execute_with(|| {
assert_ok!(Identity::add_registrar(RuntimeOrigin::signed(1), 3));
assert_ok!(Identity::set_fee(RuntimeOrigin::signed(3), 0, 10));
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
- assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(10), 0, 10));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
+ assert_ok!(Identity::request_judgement(
+ RuntimeOrigin::signed(10),
+ 0,
+ 10
+ ));
// 10 for the judgement request, 10 for the identity.
assert_eq!(Balances::free_balance(10), 80);
@@ -628,7 +737,10 @@
#[test]
fn test_has_identity() {
new_test_ext().execute_with(|| {
- assert_ok!(Identity::set_identity(RuntimeOrigin::signed(10), Box::new(ten())));
+ assert_ok!(Identity::set_identity(
+ RuntimeOrigin::signed(10),
+ Box::new(ten())
+ ));
assert!(Identity::has_identity(&10, IdentityField::Display as u64));
assert!(Identity::has_identity(&10, IdentityField::Legal as u64));
assert!(Identity::has_identity(
pallets/identity/src/types.rsdiffbeforeafterboth--- a/pallets/identity/src/types.rs
+++ b/pallets/identity/src/types.rs
@@ -87,7 +87,7 @@
.expect("bound checked in match arm condition; qed");
input.read(&mut r[..])?;
Data::Raw(r)
- },
+ }
34 => Data::BlakeTwo256(<[u8; 32]>::decode(input)?),
35 => Data::Sha256(<[u8; 32]>::decode(input)?),
36 => Data::Keccak256(<[u8; 32]>::decode(input)?),
@@ -106,7 +106,7 @@
let mut r = vec![l as u8 + 1; l + 1];
r[1..].copy_from_slice(&x[..l as usize]);
r
- },
+ }
Data::BlakeTwo256(ref h) => once(34u8).chain(h.iter().cloned()).collect(),
Data::Sha256(ref h) => once(35u8).chain(h.iter().cloned()).collect(),
Data::Keccak256(ref h) => once(36u8).chain(h.iter().cloned()).collect(),
@@ -175,19 +175,25 @@
let variants = variants
.variant("BlakeTwo256", |v| {
- v.index(34).fields(Fields::unnamed().field(|f| f.ty::<[u8; 32]>()))
+ v.index(34)
+ .fields(Fields::unnamed().field(|f| f.ty::<[u8; 32]>()))
})
.variant("Sha256", |v| {
- v.index(35).fields(Fields::unnamed().field(|f| f.ty::<[u8; 32]>()))
+ v.index(35)
+ .fields(Fields::unnamed().field(|f| f.ty::<[u8; 32]>()))
})
.variant("Keccak256", |v| {
- v.index(36).fields(Fields::unnamed().field(|f| f.ty::<[u8; 32]>()))
+ v.index(36)
+ .fields(Fields::unnamed().field(|f| f.ty::<[u8; 32]>()))
})
.variant("ShaThree256", |v| {
- v.index(37).fields(Fields::unnamed().field(|f| f.ty::<[u8; 32]>()))
+ v.index(37)
+ .fields(Fields::unnamed().field(|f| f.ty::<[u8; 32]>()))
});
- Type::builder().path(Path::new("Data", module_path!())).variant(variants)
+ Type::builder()
+ .path(Path::new("Data", module_path!()))
+ .variant(variants)
}
}
@@ -280,7 +286,9 @@
impl Decode for IdentityFields {
fn decode<I: codec::Input>(input: &mut I) -> sp_std::result::Result<Self, codec::Error> {
let field = u64::decode(input)?;
- Ok(Self(<BitFlags<IdentityField>>::from_bits(field as u64).map_err(|_| "invalid value")?))
+ Ok(Self(
+ <BitFlags<IdentityField>>::from_bits(field as u64).map_err(|_| "invalid value")?,
+ ))
}
}
impl TypeInfo for IdentityFields {
@@ -289,7 +297,10 @@
fn type_info() -> Type {
Type::builder()
.path(Path::new("BitFlags", module_path!()))
- .type_params(vec![TypeParameter::new("T", Some(meta_type::<IdentityField>()))])
+ .type_params(vec![TypeParameter::new(
+ "T",
+ Some(meta_type::<IdentityField>()),
+ )])
.composite(Fields::unnamed().field(|f| f.ty::<u64>().type_name("IdentityField")))
}
}
@@ -413,10 +424,17 @@
> Registration<Balance, MaxJudgements, MaxAdditionalFields>
{
pub(crate) fn total_deposit(&self) -> Balance {
- self.deposit +
- self.judgements
+ self.deposit
+ + self
+ .judgements
.iter()
- .map(|(_, ref j)| if let Judgement::FeePaid(fee) = j { *fee } else { Zero::zero() })
+ .map(|(_, ref j)| {
+ if let Judgement::FeePaid(fee) = j {
+ *fee
+ } else {
+ Zero::zero()
+ }
+ })
.fold(Zero::zero(), |a, i| a + i)
}
}
@@ -429,7 +447,11 @@
{
fn decode<I: codec::Input>(input: &mut I) -> sp_std::result::Result<Self, codec::Error> {
let (judgements, deposit, info) = Decode::decode(&mut AppendZerosInput::new(input))?;
- Ok(Self { judgements, deposit, info })
+ Ok(Self {
+ judgements,
+ deposit,
+ info,
+ })
}
}
runtime/common/config/pallets/collator_selection.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/collator_selection.rs
+++ b/runtime/common/config/pallets/collator_selection.rs
@@ -54,9 +54,10 @@
}
parameter_types! {
- pub const BasicDeposit: Balance = 10 * UNIQUE; // todo:collator
+ // These do not matter as we forbid non-sudo operations with the identity pallet
+ pub const BasicDeposit: Balance = 10 * UNIQUE;
pub const FieldDeposit: Balance = 25 * MILLIUNIQUE;
- pub const SubAccountDeposit: Balance = 2 * UNIQUE; // end todo
+ pub const SubAccountDeposit: Balance = 2 * UNIQUE;
pub const MaxSubAccounts: u32 = 100;
pub const MaxAdditionalFields: u32 = 100;
pub const MaxRegistrars: u32 = 20;
@@ -89,7 +90,6 @@
type TreasuryAccountId = TreasuryAccountId;
type PotId = PotId;
type MaxCollators = MaxCollators;
- // todo:collator kick threshold should be in storage and configured only by root -- or rather UpdateOrigin
type SlashRatio = SlashRatio;
type ValidatorId = <Self as frame_system::Config>::AccountId;
type ValidatorIdOf = pallet_collator_selection::IdentityCollator;
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -705,7 +705,6 @@
#[cfg(feature = "rmrk")]
list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);
- // todo:collator check benchmarks
#[cfg(feature = "collator-selection")]
list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection);
@@ -772,7 +771,6 @@
#[cfg(feature = "rmrk")]
add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);
- // todo:collator check benchmarks
#[cfg(feature = "collator-selection")]
add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection);
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -39,6 +39,7 @@
'pallet-unique/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
'pallet-app-promotion/runtime-benchmarks',
+ 'pallet-collator-selection/runtime-benchmarks',
'pallet-unique-scheduler-v2/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -38,6 +38,7 @@
'pallet-unique/runtime-benchmarks',
'pallet-foreign-assets/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
+ 'pallet-collator-selection/runtime-benchmarks',
'pallet-app-promotion/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -38,6 +38,7 @@
'pallet-unique/runtime-benchmarks',
'pallet-foreign-assets/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
+ 'pallet-collator-selection/runtime-benchmarks',
'pallet-app-promotion/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -105,8 +105,8 @@
CandidateRemoved: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
InvulnerableAdded: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
InvulnerableRemoved: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
- LicenseForfeited: AugmentedEvent<ApiType, [accountId: AccountId32, depositReturned: u128], { accountId: AccountId32, depositReturned: u128 }>;
LicenseObtained: AugmentedEvent<ApiType, [accountId: AccountId32, deposit: u128], { accountId: AccountId32, deposit: u128 }>;
+ LicenseReleased: AugmentedEvent<ApiType, [accountId: AccountId32, depositReturned: u128], { accountId: AccountId32, depositReturned: u128 }>;
/**
* Generic event
**/
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -313,15 +313,15 @@
**/
insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
/**
- * Insert or remove identities.
- **/
- insertIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>> | ([AccountId32 | string | Uint8Array, Option<PalletIdentityRegistration> | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>]>;
- /**
* Insert items into contract storage, this method can be called
* multiple times
**/
setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;
/**
+ * Insert or remove identities.
+ **/
+ setIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>> | ([AccountId32 | string | Uint8Array, Option<PalletIdentityRegistration> | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>]>;
+ /**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
tests/src/interfaces/default/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { Data } from '@polkadot/types';5import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8import type { Event } from '@polkadot/types/interfaces/system';910/** @name CumulusPalletDmpQueueCall */11export interface CumulusPalletDmpQueueCall extends Enum {12 readonly isServiceOverweight: boolean;13 readonly asServiceOverweight: {14 readonly index: u64;15 readonly weightLimit: u64;16 } & Struct;17 readonly type: 'ServiceOverweight';18}1920/** @name CumulusPalletDmpQueueConfigData */21export interface CumulusPalletDmpQueueConfigData extends Struct {22 readonly maxIndividual: SpWeightsWeightV2Weight;23}2425/** @name CumulusPalletDmpQueueError */26export interface CumulusPalletDmpQueueError extends Enum {27 readonly isUnknown: boolean;28 readonly isOverLimit: boolean;29 readonly type: 'Unknown' | 'OverLimit';30}3132/** @name CumulusPalletDmpQueueEvent */33export interface CumulusPalletDmpQueueEvent extends Enum {34 readonly isInvalidFormat: boolean;35 readonly asInvalidFormat: {36 readonly messageId: U8aFixed;37 } & Struct;38 readonly isUnsupportedVersion: boolean;39 readonly asUnsupportedVersion: {40 readonly messageId: U8aFixed;41 } & Struct;42 readonly isExecutedDownward: boolean;43 readonly asExecutedDownward: {44 readonly messageId: U8aFixed;45 readonly outcome: XcmV2TraitsOutcome;46 } & Struct;47 readonly isWeightExhausted: boolean;48 readonly asWeightExhausted: {49 readonly messageId: U8aFixed;50 readonly remainingWeight: SpWeightsWeightV2Weight;51 readonly requiredWeight: SpWeightsWeightV2Weight;52 } & Struct;53 readonly isOverweightEnqueued: boolean;54 readonly asOverweightEnqueued: {55 readonly messageId: U8aFixed;56 readonly overweightIndex: u64;57 readonly requiredWeight: SpWeightsWeightV2Weight;58 } & Struct;59 readonly isOverweightServiced: boolean;60 readonly asOverweightServiced: {61 readonly overweightIndex: u64;62 readonly weightUsed: SpWeightsWeightV2Weight;63 } & Struct;64 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';65}6667/** @name CumulusPalletDmpQueuePageIndexData */68export interface CumulusPalletDmpQueuePageIndexData extends Struct {69 readonly beginUsed: u32;70 readonly endUsed: u32;71 readonly overweightCount: u64;72}7374/** @name CumulusPalletParachainSystemCall */75export interface CumulusPalletParachainSystemCall extends Enum {76 readonly isSetValidationData: boolean;77 readonly asSetValidationData: {78 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;79 } & Struct;80 readonly isSudoSendUpwardMessage: boolean;81 readonly asSudoSendUpwardMessage: {82 readonly message: Bytes;83 } & Struct;84 readonly isAuthorizeUpgrade: boolean;85 readonly asAuthorizeUpgrade: {86 readonly codeHash: H256;87 } & Struct;88 readonly isEnactAuthorizedUpgrade: boolean;89 readonly asEnactAuthorizedUpgrade: {90 readonly code: Bytes;91 } & Struct;92 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';93}9495/** @name CumulusPalletParachainSystemError */96export interface CumulusPalletParachainSystemError extends Enum {97 readonly isOverlappingUpgrades: boolean;98 readonly isProhibitedByPolkadot: boolean;99 readonly isTooBig: boolean;100 readonly isValidationDataNotAvailable: boolean;101 readonly isHostConfigurationNotAvailable: boolean;102 readonly isNotScheduled: boolean;103 readonly isNothingAuthorized: boolean;104 readonly isUnauthorized: boolean;105 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';106}107108/** @name CumulusPalletParachainSystemEvent */109export interface CumulusPalletParachainSystemEvent extends Enum {110 readonly isValidationFunctionStored: boolean;111 readonly isValidationFunctionApplied: boolean;112 readonly asValidationFunctionApplied: {113 readonly relayChainBlockNum: u32;114 } & Struct;115 readonly isValidationFunctionDiscarded: boolean;116 readonly isUpgradeAuthorized: boolean;117 readonly asUpgradeAuthorized: {118 readonly codeHash: H256;119 } & Struct;120 readonly isDownwardMessagesReceived: boolean;121 readonly asDownwardMessagesReceived: {122 readonly count: u32;123 } & Struct;124 readonly isDownwardMessagesProcessed: boolean;125 readonly asDownwardMessagesProcessed: {126 readonly weightUsed: SpWeightsWeightV2Weight;127 readonly dmqHead: H256;128 } & Struct;129 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';130}131132/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */133export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {134 readonly dmqMqcHead: H256;135 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;136 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;138}139140/** @name CumulusPalletXcmCall */141export interface CumulusPalletXcmCall extends Null {}142143/** @name CumulusPalletXcmError */144export interface CumulusPalletXcmError extends Null {}145146/** @name CumulusPalletXcmEvent */147export interface CumulusPalletXcmEvent extends Enum {148 readonly isInvalidFormat: boolean;149 readonly asInvalidFormat: U8aFixed;150 readonly isUnsupportedVersion: boolean;151 readonly asUnsupportedVersion: U8aFixed;152 readonly isExecutedDownward: boolean;153 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;154 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';155}156157/** @name CumulusPalletXcmpQueueCall */158export interface CumulusPalletXcmpQueueCall extends Enum {159 readonly isServiceOverweight: boolean;160 readonly asServiceOverweight: {161 readonly index: u64;162 readonly weightLimit: u64;163 } & Struct;164 readonly isSuspendXcmExecution: boolean;165 readonly isResumeXcmExecution: boolean;166 readonly isUpdateSuspendThreshold: boolean;167 readonly asUpdateSuspendThreshold: {168 readonly new_: u32;169 } & Struct;170 readonly isUpdateDropThreshold: boolean;171 readonly asUpdateDropThreshold: {172 readonly new_: u32;173 } & Struct;174 readonly isUpdateResumeThreshold: boolean;175 readonly asUpdateResumeThreshold: {176 readonly new_: u32;177 } & Struct;178 readonly isUpdateThresholdWeight: boolean;179 readonly asUpdateThresholdWeight: {180 readonly new_: u64;181 } & Struct;182 readonly isUpdateWeightRestrictDecay: boolean;183 readonly asUpdateWeightRestrictDecay: {184 readonly new_: u64;185 } & Struct;186 readonly isUpdateXcmpMaxIndividualWeight: boolean;187 readonly asUpdateXcmpMaxIndividualWeight: {188 readonly new_: u64;189 } & Struct;190 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';191}192193/** @name CumulusPalletXcmpQueueError */194export interface CumulusPalletXcmpQueueError extends Enum {195 readonly isFailedToSend: boolean;196 readonly isBadXcmOrigin: boolean;197 readonly isBadXcm: boolean;198 readonly isBadOverweightIndex: boolean;199 readonly isWeightOverLimit: boolean;200 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';201}202203/** @name CumulusPalletXcmpQueueEvent */204export interface CumulusPalletXcmpQueueEvent extends Enum {205 readonly isSuccess: boolean;206 readonly asSuccess: {207 readonly messageHash: Option<H256>;208 readonly weight: SpWeightsWeightV2Weight;209 } & Struct;210 readonly isFail: boolean;211 readonly asFail: {212 readonly messageHash: Option<H256>;213 readonly error: XcmV2TraitsError;214 readonly weight: SpWeightsWeightV2Weight;215 } & Struct;216 readonly isBadVersion: boolean;217 readonly asBadVersion: {218 readonly messageHash: Option<H256>;219 } & Struct;220 readonly isBadFormat: boolean;221 readonly asBadFormat: {222 readonly messageHash: Option<H256>;223 } & Struct;224 readonly isUpwardMessageSent: boolean;225 readonly asUpwardMessageSent: {226 readonly messageHash: Option<H256>;227 } & Struct;228 readonly isXcmpMessageSent: boolean;229 readonly asXcmpMessageSent: {230 readonly messageHash: Option<H256>;231 } & Struct;232 readonly isOverweightEnqueued: boolean;233 readonly asOverweightEnqueued: {234 readonly sender: u32;235 readonly sentAt: u32;236 readonly index: u64;237 readonly required: SpWeightsWeightV2Weight;238 } & Struct;239 readonly isOverweightServiced: boolean;240 readonly asOverweightServiced: {241 readonly index: u64;242 readonly used: SpWeightsWeightV2Weight;243 } & Struct;244 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';245}246247/** @name CumulusPalletXcmpQueueInboundChannelDetails */248export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {249 readonly sender: u32;250 readonly state: CumulusPalletXcmpQueueInboundState;251 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;252}253254/** @name CumulusPalletXcmpQueueInboundState */255export interface CumulusPalletXcmpQueueInboundState extends Enum {256 readonly isOk: boolean;257 readonly isSuspended: boolean;258 readonly type: 'Ok' | 'Suspended';259}260261/** @name CumulusPalletXcmpQueueOutboundChannelDetails */262export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {263 readonly recipient: u32;264 readonly state: CumulusPalletXcmpQueueOutboundState;265 readonly signalsExist: bool;266 readonly firstIndex: u16;267 readonly lastIndex: u16;268}269270/** @name CumulusPalletXcmpQueueOutboundState */271export interface CumulusPalletXcmpQueueOutboundState extends Enum {272 readonly isOk: boolean;273 readonly isSuspended: boolean;274 readonly type: 'Ok' | 'Suspended';275}276277/** @name CumulusPalletXcmpQueueQueueConfigData */278export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {279 readonly suspendThreshold: u32;280 readonly dropThreshold: u32;281 readonly resumeThreshold: u32;282 readonly thresholdWeight: SpWeightsWeightV2Weight;283 readonly weightRestrictDecay: SpWeightsWeightV2Weight;284 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;285}286287/** @name CumulusPrimitivesParachainInherentParachainInherentData */288export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {289 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;290 readonly relayChainState: SpTrieStorageProof;291 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;292 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;293}294295/** @name EthbloomBloom */296export interface EthbloomBloom extends U8aFixed {}297298/** @name EthereumBlock */299export interface EthereumBlock extends Struct {300 readonly header: EthereumHeader;301 readonly transactions: Vec<EthereumTransactionTransactionV2>;302 readonly ommers: Vec<EthereumHeader>;303}304305/** @name EthereumHeader */306export interface EthereumHeader extends Struct {307 readonly parentHash: H256;308 readonly ommersHash: H256;309 readonly beneficiary: H160;310 readonly stateRoot: H256;311 readonly transactionsRoot: H256;312 readonly receiptsRoot: H256;313 readonly logsBloom: EthbloomBloom;314 readonly difficulty: U256;315 readonly number: U256;316 readonly gasLimit: U256;317 readonly gasUsed: U256;318 readonly timestamp: u64;319 readonly extraData: Bytes;320 readonly mixHash: H256;321 readonly nonce: EthereumTypesHashH64;322}323324/** @name EthereumLog */325export interface EthereumLog extends Struct {326 readonly address: H160;327 readonly topics: Vec<H256>;328 readonly data: Bytes;329}330331/** @name EthereumReceiptEip658ReceiptData */332export interface EthereumReceiptEip658ReceiptData extends Struct {333 readonly statusCode: u8;334 readonly usedGas: U256;335 readonly logsBloom: EthbloomBloom;336 readonly logs: Vec<EthereumLog>;337}338339/** @name EthereumReceiptReceiptV3 */340export interface EthereumReceiptReceiptV3 extends Enum {341 readonly isLegacy: boolean;342 readonly asLegacy: EthereumReceiptEip658ReceiptData;343 readonly isEip2930: boolean;344 readonly asEip2930: EthereumReceiptEip658ReceiptData;345 readonly isEip1559: boolean;346 readonly asEip1559: EthereumReceiptEip658ReceiptData;347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';348}349350/** @name EthereumTransactionAccessListItem */351export interface EthereumTransactionAccessListItem extends Struct {352 readonly address: H160;353 readonly storageKeys: Vec<H256>;354}355356/** @name EthereumTransactionEip1559Transaction */357export interface EthereumTransactionEip1559Transaction extends Struct {358 readonly chainId: u64;359 readonly nonce: U256;360 readonly maxPriorityFeePerGas: U256;361 readonly maxFeePerGas: U256;362 readonly gasLimit: U256;363 readonly action: EthereumTransactionTransactionAction;364 readonly value: U256;365 readonly input: Bytes;366 readonly accessList: Vec<EthereumTransactionAccessListItem>;367 readonly oddYParity: bool;368 readonly r: H256;369 readonly s: H256;370}371372/** @name EthereumTransactionEip2930Transaction */373export interface EthereumTransactionEip2930Transaction extends Struct {374 readonly chainId: u64;375 readonly nonce: U256;376 readonly gasPrice: U256;377 readonly gasLimit: U256;378 readonly action: EthereumTransactionTransactionAction;379 readonly value: U256;380 readonly input: Bytes;381 readonly accessList: Vec<EthereumTransactionAccessListItem>;382 readonly oddYParity: bool;383 readonly r: H256;384 readonly s: H256;385}386387/** @name EthereumTransactionLegacyTransaction */388export interface EthereumTransactionLegacyTransaction extends Struct {389 readonly nonce: U256;390 readonly gasPrice: U256;391 readonly gasLimit: U256;392 readonly action: EthereumTransactionTransactionAction;393 readonly value: U256;394 readonly input: Bytes;395 readonly signature: EthereumTransactionTransactionSignature;396}397398/** @name EthereumTransactionTransactionAction */399export interface EthereumTransactionTransactionAction extends Enum {400 readonly isCall: boolean;401 readonly asCall: H160;402 readonly isCreate: boolean;403 readonly type: 'Call' | 'Create';404}405406/** @name EthereumTransactionTransactionSignature */407export interface EthereumTransactionTransactionSignature extends Struct {408 readonly v: u64;409 readonly r: H256;410 readonly s: H256;411}412413/** @name EthereumTransactionTransactionV2 */414export interface EthereumTransactionTransactionV2 extends Enum {415 readonly isLegacy: boolean;416 readonly asLegacy: EthereumTransactionLegacyTransaction;417 readonly isEip2930: boolean;418 readonly asEip2930: EthereumTransactionEip2930Transaction;419 readonly isEip1559: boolean;420 readonly asEip1559: EthereumTransactionEip1559Transaction;421 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';422}423424/** @name EthereumTypesHashH64 */425export interface EthereumTypesHashH64 extends U8aFixed {}426427/** @name EvmCoreErrorExitError */428export interface EvmCoreErrorExitError extends Enum {429 readonly isStackUnderflow: boolean;430 readonly isStackOverflow: boolean;431 readonly isInvalidJump: boolean;432 readonly isInvalidRange: boolean;433 readonly isDesignatedInvalid: boolean;434 readonly isCallTooDeep: boolean;435 readonly isCreateCollision: boolean;436 readonly isCreateContractLimit: boolean;437 readonly isOutOfOffset: boolean;438 readonly isOutOfGas: boolean;439 readonly isOutOfFund: boolean;440 readonly isPcUnderflow: boolean;441 readonly isCreateEmpty: boolean;442 readonly isOther: boolean;443 readonly asOther: Text;444 readonly isInvalidCode: boolean;445 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';446}447448/** @name EvmCoreErrorExitFatal */449export interface EvmCoreErrorExitFatal extends Enum {450 readonly isNotSupported: boolean;451 readonly isUnhandledInterrupt: boolean;452 readonly isCallErrorAsFatal: boolean;453 readonly asCallErrorAsFatal: EvmCoreErrorExitError;454 readonly isOther: boolean;455 readonly asOther: Text;456 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';457}458459/** @name EvmCoreErrorExitReason */460export interface EvmCoreErrorExitReason extends Enum {461 readonly isSucceed: boolean;462 readonly asSucceed: EvmCoreErrorExitSucceed;463 readonly isError: boolean;464 readonly asError: EvmCoreErrorExitError;465 readonly isRevert: boolean;466 readonly asRevert: EvmCoreErrorExitRevert;467 readonly isFatal: boolean;468 readonly asFatal: EvmCoreErrorExitFatal;469 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';470}471472/** @name EvmCoreErrorExitRevert */473export interface EvmCoreErrorExitRevert extends Enum {474 readonly isReverted: boolean;475 readonly type: 'Reverted';476}477478/** @name EvmCoreErrorExitSucceed */479export interface EvmCoreErrorExitSucceed extends Enum {480 readonly isStopped: boolean;481 readonly isReturned: boolean;482 readonly isSuicided: boolean;483 readonly type: 'Stopped' | 'Returned' | 'Suicided';484}485486/** @name FpRpcTransactionStatus */487export interface FpRpcTransactionStatus extends Struct {488 readonly transactionHash: H256;489 readonly transactionIndex: u32;490 readonly from: H160;491 readonly to: Option<H160>;492 readonly contractAddress: Option<H160>;493 readonly logs: Vec<EthereumLog>;494 readonly logsBloom: EthbloomBloom;495}496497/** @name FrameSupportDispatchDispatchClass */498export interface FrameSupportDispatchDispatchClass extends Enum {499 readonly isNormal: boolean;500 readonly isOperational: boolean;501 readonly isMandatory: boolean;502 readonly type: 'Normal' | 'Operational' | 'Mandatory';503}504505/** @name FrameSupportDispatchDispatchInfo */506export interface FrameSupportDispatchDispatchInfo extends Struct {507 readonly weight: SpWeightsWeightV2Weight;508 readonly class: FrameSupportDispatchDispatchClass;509 readonly paysFee: FrameSupportDispatchPays;510}511512/** @name FrameSupportDispatchPays */513export interface FrameSupportDispatchPays extends Enum {514 readonly isYes: boolean;515 readonly isNo: boolean;516 readonly type: 'Yes' | 'No';517}518519/** @name FrameSupportDispatchPerDispatchClassU32 */520export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {521 readonly normal: u32;522 readonly operational: u32;523 readonly mandatory: u32;524}525526/** @name FrameSupportDispatchPerDispatchClassWeight */527export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {528 readonly normal: SpWeightsWeightV2Weight;529 readonly operational: SpWeightsWeightV2Weight;530 readonly mandatory: SpWeightsWeightV2Weight;531}532533/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */534export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {535 readonly normal: FrameSystemLimitsWeightsPerClass;536 readonly operational: FrameSystemLimitsWeightsPerClass;537 readonly mandatory: FrameSystemLimitsWeightsPerClass;538}539540/** @name FrameSupportPalletId */541export interface FrameSupportPalletId extends U8aFixed {}542543/** @name FrameSupportTokensMiscBalanceStatus */544export interface FrameSupportTokensMiscBalanceStatus extends Enum {545 readonly isFree: boolean;546 readonly isReserved: boolean;547 readonly type: 'Free' | 'Reserved';548}549550/** @name FrameSystemAccountInfo */551export interface FrameSystemAccountInfo extends Struct {552 readonly nonce: u32;553 readonly consumers: u32;554 readonly providers: u32;555 readonly sufficients: u32;556 readonly data: PalletBalancesAccountData;557}558559/** @name FrameSystemCall */560export interface FrameSystemCall extends Enum {561 readonly isRemark: boolean;562 readonly asRemark: {563 readonly remark: Bytes;564 } & Struct;565 readonly isSetHeapPages: boolean;566 readonly asSetHeapPages: {567 readonly pages: u64;568 } & Struct;569 readonly isSetCode: boolean;570 readonly asSetCode: {571 readonly code: Bytes;572 } & Struct;573 readonly isSetCodeWithoutChecks: boolean;574 readonly asSetCodeWithoutChecks: {575 readonly code: Bytes;576 } & Struct;577 readonly isSetStorage: boolean;578 readonly asSetStorage: {579 readonly items: Vec<ITuple<[Bytes, Bytes]>>;580 } & Struct;581 readonly isKillStorage: boolean;582 readonly asKillStorage: {583 readonly keys_: Vec<Bytes>;584 } & Struct;585 readonly isKillPrefix: boolean;586 readonly asKillPrefix: {587 readonly prefix: Bytes;588 readonly subkeys: u32;589 } & Struct;590 readonly isRemarkWithEvent: boolean;591 readonly asRemarkWithEvent: {592 readonly remark: Bytes;593 } & Struct;594 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';595}596597/** @name FrameSystemError */598export interface FrameSystemError extends Enum {599 readonly isInvalidSpecName: boolean;600 readonly isSpecVersionNeedsToIncrease: boolean;601 readonly isFailedToExtractRuntimeVersion: boolean;602 readonly isNonDefaultComposite: boolean;603 readonly isNonZeroRefCount: boolean;604 readonly isCallFiltered: boolean;605 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';606}607608/** @name FrameSystemEvent */609export interface FrameSystemEvent extends Enum {610 readonly isExtrinsicSuccess: boolean;611 readonly asExtrinsicSuccess: {612 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;613 } & Struct;614 readonly isExtrinsicFailed: boolean;615 readonly asExtrinsicFailed: {616 readonly dispatchError: SpRuntimeDispatchError;617 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;618 } & Struct;619 readonly isCodeUpdated: boolean;620 readonly isNewAccount: boolean;621 readonly asNewAccount: {622 readonly account: AccountId32;623 } & Struct;624 readonly isKilledAccount: boolean;625 readonly asKilledAccount: {626 readonly account: AccountId32;627 } & Struct;628 readonly isRemarked: boolean;629 readonly asRemarked: {630 readonly sender: AccountId32;631 readonly hash_: H256;632 } & Struct;633 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';634}635636/** @name FrameSystemEventRecord */637export interface FrameSystemEventRecord extends Struct {638 readonly phase: FrameSystemPhase;639 readonly event: Event;640 readonly topics: Vec<H256>;641}642643/** @name FrameSystemExtensionsCheckGenesis */644export interface FrameSystemExtensionsCheckGenesis extends Null {}645646/** @name FrameSystemExtensionsCheckNonce */647export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}648649/** @name FrameSystemExtensionsCheckSpecVersion */650export interface FrameSystemExtensionsCheckSpecVersion extends Null {}651652/** @name FrameSystemExtensionsCheckTxVersion */653export interface FrameSystemExtensionsCheckTxVersion extends Null {}654655/** @name FrameSystemExtensionsCheckWeight */656export interface FrameSystemExtensionsCheckWeight extends Null {}657658/** @name FrameSystemLastRuntimeUpgradeInfo */659export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {660 readonly specVersion: Compact<u32>;661 readonly specName: Text;662}663664/** @name FrameSystemLimitsBlockLength */665export interface FrameSystemLimitsBlockLength extends Struct {666 readonly max: FrameSupportDispatchPerDispatchClassU32;667}668669/** @name FrameSystemLimitsBlockWeights */670export interface FrameSystemLimitsBlockWeights extends Struct {671 readonly baseBlock: SpWeightsWeightV2Weight;672 readonly maxBlock: SpWeightsWeightV2Weight;673 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;674}675676/** @name FrameSystemLimitsWeightsPerClass */677export interface FrameSystemLimitsWeightsPerClass extends Struct {678 readonly baseExtrinsic: SpWeightsWeightV2Weight;679 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;680 readonly maxTotal: Option<SpWeightsWeightV2Weight>;681 readonly reserved: Option<SpWeightsWeightV2Weight>;682}683684/** @name FrameSystemPhase */685export interface FrameSystemPhase extends Enum {686 readonly isApplyExtrinsic: boolean;687 readonly asApplyExtrinsic: u32;688 readonly isFinalization: boolean;689 readonly isInitialization: boolean;690 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';691}692693/** @name OpalRuntimeRuntime */694export interface OpalRuntimeRuntime extends Null {}695696/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */697export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}698699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}701702/** @name OpalRuntimeRuntimeCommonSessionKeys */703export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {704 readonly aura: SpConsensusAuraSr25519AppSr25519Public;705}706707/** @name OrmlTokensAccountData */708export interface OrmlTokensAccountData extends Struct {709 readonly free: u128;710 readonly reserved: u128;711 readonly frozen: u128;712}713714/** @name OrmlTokensBalanceLock */715export interface OrmlTokensBalanceLock extends Struct {716 readonly id: U8aFixed;717 readonly amount: u128;718}719720/** @name OrmlTokensModuleCall */721export interface OrmlTokensModuleCall extends Enum {722 readonly isTransfer: boolean;723 readonly asTransfer: {724 readonly dest: MultiAddress;725 readonly currencyId: PalletForeignAssetsAssetIds;726 readonly amount: Compact<u128>;727 } & Struct;728 readonly isTransferAll: boolean;729 readonly asTransferAll: {730 readonly dest: MultiAddress;731 readonly currencyId: PalletForeignAssetsAssetIds;732 readonly keepAlive: bool;733 } & Struct;734 readonly isTransferKeepAlive: boolean;735 readonly asTransferKeepAlive: {736 readonly dest: MultiAddress;737 readonly currencyId: PalletForeignAssetsAssetIds;738 readonly amount: Compact<u128>;739 } & Struct;740 readonly isForceTransfer: boolean;741 readonly asForceTransfer: {742 readonly source: MultiAddress;743 readonly dest: MultiAddress;744 readonly currencyId: PalletForeignAssetsAssetIds;745 readonly amount: Compact<u128>;746 } & Struct;747 readonly isSetBalance: boolean;748 readonly asSetBalance: {749 readonly who: MultiAddress;750 readonly currencyId: PalletForeignAssetsAssetIds;751 readonly newFree: Compact<u128>;752 readonly newReserved: Compact<u128>;753 } & Struct;754 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';755}756757/** @name OrmlTokensModuleError */758export interface OrmlTokensModuleError extends Enum {759 readonly isBalanceTooLow: boolean;760 readonly isAmountIntoBalanceFailed: boolean;761 readonly isLiquidityRestrictions: boolean;762 readonly isMaxLocksExceeded: boolean;763 readonly isKeepAlive: boolean;764 readonly isExistentialDeposit: boolean;765 readonly isDeadAccount: boolean;766 readonly isTooManyReserves: boolean;767 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';768}769770/** @name OrmlTokensModuleEvent */771export interface OrmlTokensModuleEvent extends Enum {772 readonly isEndowed: boolean;773 readonly asEndowed: {774 readonly currencyId: PalletForeignAssetsAssetIds;775 readonly who: AccountId32;776 readonly amount: u128;777 } & Struct;778 readonly isDustLost: boolean;779 readonly asDustLost: {780 readonly currencyId: PalletForeignAssetsAssetIds;781 readonly who: AccountId32;782 readonly amount: u128;783 } & Struct;784 readonly isTransfer: boolean;785 readonly asTransfer: {786 readonly currencyId: PalletForeignAssetsAssetIds;787 readonly from: AccountId32;788 readonly to: AccountId32;789 readonly amount: u128;790 } & Struct;791 readonly isReserved: boolean;792 readonly asReserved: {793 readonly currencyId: PalletForeignAssetsAssetIds;794 readonly who: AccountId32;795 readonly amount: u128;796 } & Struct;797 readonly isUnreserved: boolean;798 readonly asUnreserved: {799 readonly currencyId: PalletForeignAssetsAssetIds;800 readonly who: AccountId32;801 readonly amount: u128;802 } & Struct;803 readonly isReserveRepatriated: boolean;804 readonly asReserveRepatriated: {805 readonly currencyId: PalletForeignAssetsAssetIds;806 readonly from: AccountId32;807 readonly to: AccountId32;808 readonly amount: u128;809 readonly status: FrameSupportTokensMiscBalanceStatus;810 } & Struct;811 readonly isBalanceSet: boolean;812 readonly asBalanceSet: {813 readonly currencyId: PalletForeignAssetsAssetIds;814 readonly who: AccountId32;815 readonly free: u128;816 readonly reserved: u128;817 } & Struct;818 readonly isTotalIssuanceSet: boolean;819 readonly asTotalIssuanceSet: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly amount: u128;822 } & Struct;823 readonly isWithdrawn: boolean;824 readonly asWithdrawn: {825 readonly currencyId: PalletForeignAssetsAssetIds;826 readonly who: AccountId32;827 readonly amount: u128;828 } & Struct;829 readonly isSlashed: boolean;830 readonly asSlashed: {831 readonly currencyId: PalletForeignAssetsAssetIds;832 readonly who: AccountId32;833 readonly freeAmount: u128;834 readonly reservedAmount: u128;835 } & Struct;836 readonly isDeposited: boolean;837 readonly asDeposited: {838 readonly currencyId: PalletForeignAssetsAssetIds;839 readonly who: AccountId32;840 readonly amount: u128;841 } & Struct;842 readonly isLockSet: boolean;843 readonly asLockSet: {844 readonly lockId: U8aFixed;845 readonly currencyId: PalletForeignAssetsAssetIds;846 readonly who: AccountId32;847 readonly amount: u128;848 } & Struct;849 readonly isLockRemoved: boolean;850 readonly asLockRemoved: {851 readonly lockId: U8aFixed;852 readonly currencyId: PalletForeignAssetsAssetIds;853 readonly who: AccountId32;854 } & Struct;855 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';856}857858/** @name OrmlTokensReserveData */859export interface OrmlTokensReserveData extends Struct {860 readonly id: Null;861 readonly amount: u128;862}863864/** @name OrmlVestingModuleCall */865export interface OrmlVestingModuleCall extends Enum {866 readonly isClaim: boolean;867 readonly isVestedTransfer: boolean;868 readonly asVestedTransfer: {869 readonly dest: MultiAddress;870 readonly schedule: OrmlVestingVestingSchedule;871 } & Struct;872 readonly isUpdateVestingSchedules: boolean;873 readonly asUpdateVestingSchedules: {874 readonly who: MultiAddress;875 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;876 } & Struct;877 readonly isClaimFor: boolean;878 readonly asClaimFor: {879 readonly dest: MultiAddress;880 } & Struct;881 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';882}883884/** @name OrmlVestingModuleError */885export interface OrmlVestingModuleError extends Enum {886 readonly isZeroVestingPeriod: boolean;887 readonly isZeroVestingPeriodCount: boolean;888 readonly isInsufficientBalanceToLock: boolean;889 readonly isTooManyVestingSchedules: boolean;890 readonly isAmountLow: boolean;891 readonly isMaxVestingSchedulesExceeded: boolean;892 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';893}894895/** @name OrmlVestingModuleEvent */896export interface OrmlVestingModuleEvent extends Enum {897 readonly isVestingScheduleAdded: boolean;898 readonly asVestingScheduleAdded: {899 readonly from: AccountId32;900 readonly to: AccountId32;901 readonly vestingSchedule: OrmlVestingVestingSchedule;902 } & Struct;903 readonly isClaimed: boolean;904 readonly asClaimed: {905 readonly who: AccountId32;906 readonly amount: u128;907 } & Struct;908 readonly isVestingSchedulesUpdated: boolean;909 readonly asVestingSchedulesUpdated: {910 readonly who: AccountId32;911 } & Struct;912 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';913}914915/** @name OrmlVestingVestingSchedule */916export interface OrmlVestingVestingSchedule extends Struct {917 readonly start: u32;918 readonly period: u32;919 readonly periodCount: u32;920 readonly perPeriod: Compact<u128>;921}922923/** @name OrmlXtokensModuleCall */924export interface OrmlXtokensModuleCall extends Enum {925 readonly isTransfer: boolean;926 readonly asTransfer: {927 readonly currencyId: PalletForeignAssetsAssetIds;928 readonly amount: u128;929 readonly dest: XcmVersionedMultiLocation;930 readonly destWeightLimit: XcmV2WeightLimit;931 } & Struct;932 readonly isTransferMultiasset: boolean;933 readonly asTransferMultiasset: {934 readonly asset: XcmVersionedMultiAsset;935 readonly dest: XcmVersionedMultiLocation;936 readonly destWeightLimit: XcmV2WeightLimit;937 } & Struct;938 readonly isTransferWithFee: boolean;939 readonly asTransferWithFee: {940 readonly currencyId: PalletForeignAssetsAssetIds;941 readonly amount: u128;942 readonly fee: u128;943 readonly dest: XcmVersionedMultiLocation;944 readonly destWeightLimit: XcmV2WeightLimit;945 } & Struct;946 readonly isTransferMultiassetWithFee: boolean;947 readonly asTransferMultiassetWithFee: {948 readonly asset: XcmVersionedMultiAsset;949 readonly fee: XcmVersionedMultiAsset;950 readonly dest: XcmVersionedMultiLocation;951 readonly destWeightLimit: XcmV2WeightLimit;952 } & Struct;953 readonly isTransferMulticurrencies: boolean;954 readonly asTransferMulticurrencies: {955 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;956 readonly feeItem: u32;957 readonly dest: XcmVersionedMultiLocation;958 readonly destWeightLimit: XcmV2WeightLimit;959 } & Struct;960 readonly isTransferMultiassets: boolean;961 readonly asTransferMultiassets: {962 readonly assets: XcmVersionedMultiAssets;963 readonly feeItem: u32;964 readonly dest: XcmVersionedMultiLocation;965 readonly destWeightLimit: XcmV2WeightLimit;966 } & Struct;967 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';968}969970/** @name OrmlXtokensModuleError */971export interface OrmlXtokensModuleError extends Enum {972 readonly isAssetHasNoReserve: boolean;973 readonly isNotCrossChainTransfer: boolean;974 readonly isInvalidDest: boolean;975 readonly isNotCrossChainTransferableCurrency: boolean;976 readonly isUnweighableMessage: boolean;977 readonly isXcmExecutionFailed: boolean;978 readonly isCannotReanchor: boolean;979 readonly isInvalidAncestry: boolean;980 readonly isInvalidAsset: boolean;981 readonly isDestinationNotInvertible: boolean;982 readonly isBadVersion: boolean;983 readonly isDistinctReserveForAssetAndFee: boolean;984 readonly isZeroFee: boolean;985 readonly isZeroAmount: boolean;986 readonly isTooManyAssetsBeingSent: boolean;987 readonly isAssetIndexNonExistent: boolean;988 readonly isFeeNotEnough: boolean;989 readonly isNotSupportedMultiLocation: boolean;990 readonly isMinXcmFeeNotDefined: boolean;991 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';992}993994/** @name OrmlXtokensModuleEvent */995export interface OrmlXtokensModuleEvent extends Enum {996 readonly isTransferredMultiAssets: boolean;997 readonly asTransferredMultiAssets: {998 readonly sender: AccountId32;999 readonly assets: XcmV1MultiassetMultiAssets;1000 readonly fee: XcmV1MultiAsset;1001 readonly dest: XcmV1MultiLocation;1002 } & Struct;1003 readonly type: 'TransferredMultiAssets';1004}10051006/** @name PalletAppPromotionCall */1007export interface PalletAppPromotionCall extends Enum {1008 readonly isSetAdminAddress: boolean;1009 readonly asSetAdminAddress: {1010 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1011 } & Struct;1012 readonly isStake: boolean;1013 readonly asStake: {1014 readonly amount: u128;1015 } & Struct;1016 readonly isUnstake: boolean;1017 readonly isSponsorCollection: boolean;1018 readonly asSponsorCollection: {1019 readonly collectionId: u32;1020 } & Struct;1021 readonly isStopSponsoringCollection: boolean;1022 readonly asStopSponsoringCollection: {1023 readonly collectionId: u32;1024 } & Struct;1025 readonly isSponsorContract: boolean;1026 readonly asSponsorContract: {1027 readonly contractId: H160;1028 } & Struct;1029 readonly isStopSponsoringContract: boolean;1030 readonly asStopSponsoringContract: {1031 readonly contractId: H160;1032 } & Struct;1033 readonly isPayoutStakers: boolean;1034 readonly asPayoutStakers: {1035 readonly stakersNumber: Option<u8>;1036 } & Struct;1037 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1038}10391040/** @name PalletAppPromotionError */1041export interface PalletAppPromotionError extends Enum {1042 readonly isAdminNotSet: boolean;1043 readonly isNoPermission: boolean;1044 readonly isNotSufficientFunds: boolean;1045 readonly isPendingForBlockOverflow: boolean;1046 readonly isSponsorNotSet: boolean;1047 readonly isIncorrectLockedBalanceOperation: boolean;1048 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1049}10501051/** @name PalletAppPromotionEvent */1052export interface PalletAppPromotionEvent extends Enum {1053 readonly isStakingRecalculation: boolean;1054 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1055 readonly isStake: boolean;1056 readonly asStake: ITuple<[AccountId32, u128]>;1057 readonly isUnstake: boolean;1058 readonly asUnstake: ITuple<[AccountId32, u128]>;1059 readonly isSetAdmin: boolean;1060 readonly asSetAdmin: AccountId32;1061 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1062}10631064/** @name PalletAuthorshipCall */1065export interface PalletAuthorshipCall extends Enum {1066 readonly isSetUncles: boolean;1067 readonly asSetUncles: {1068 readonly newUncles: Vec<SpRuntimeHeader>;1069 } & Struct;1070 readonly type: 'SetUncles';1071}10721073/** @name PalletAuthorshipError */1074export interface PalletAuthorshipError extends Enum {1075 readonly isInvalidUncleParent: boolean;1076 readonly isUnclesAlreadySet: boolean;1077 readonly isTooManyUncles: boolean;1078 readonly isGenesisUncle: boolean;1079 readonly isTooHighUncle: boolean;1080 readonly isUncleAlreadyIncluded: boolean;1081 readonly isOldUncle: boolean;1082 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1083}10841085/** @name PalletAuthorshipUncleEntryItem */1086export interface PalletAuthorshipUncleEntryItem extends Enum {1087 readonly isInclusionHeight: boolean;1088 readonly asInclusionHeight: u32;1089 readonly isUncle: boolean;1090 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1091 readonly type: 'InclusionHeight' | 'Uncle';1092}10931094/** @name PalletBalancesAccountData */1095export interface PalletBalancesAccountData extends Struct {1096 readonly free: u128;1097 readonly reserved: u128;1098 readonly miscFrozen: u128;1099 readonly feeFrozen: u128;1100}11011102/** @name PalletBalancesBalanceLock */1103export interface PalletBalancesBalanceLock extends Struct {1104 readonly id: U8aFixed;1105 readonly amount: u128;1106 readonly reasons: PalletBalancesReasons;1107}11081109/** @name PalletBalancesCall */1110export interface PalletBalancesCall extends Enum {1111 readonly isTransfer: boolean;1112 readonly asTransfer: {1113 readonly dest: MultiAddress;1114 readonly value: Compact<u128>;1115 } & Struct;1116 readonly isSetBalance: boolean;1117 readonly asSetBalance: {1118 readonly who: MultiAddress;1119 readonly newFree: Compact<u128>;1120 readonly newReserved: Compact<u128>;1121 } & Struct;1122 readonly isForceTransfer: boolean;1123 readonly asForceTransfer: {1124 readonly source: MultiAddress;1125 readonly dest: MultiAddress;1126 readonly value: Compact<u128>;1127 } & Struct;1128 readonly isTransferKeepAlive: boolean;1129 readonly asTransferKeepAlive: {1130 readonly dest: MultiAddress;1131 readonly value: Compact<u128>;1132 } & Struct;1133 readonly isTransferAll: boolean;1134 readonly asTransferAll: {1135 readonly dest: MultiAddress;1136 readonly keepAlive: bool;1137 } & Struct;1138 readonly isForceUnreserve: boolean;1139 readonly asForceUnreserve: {1140 readonly who: MultiAddress;1141 readonly amount: u128;1142 } & Struct;1143 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1144}11451146/** @name PalletBalancesError */1147export interface PalletBalancesError extends Enum {1148 readonly isVestingBalance: boolean;1149 readonly isLiquidityRestrictions: boolean;1150 readonly isInsufficientBalance: boolean;1151 readonly isExistentialDeposit: boolean;1152 readonly isKeepAlive: boolean;1153 readonly isExistingVestingSchedule: boolean;1154 readonly isDeadAccount: boolean;1155 readonly isTooManyReserves: boolean;1156 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1157}11581159/** @name PalletBalancesEvent */1160export interface PalletBalancesEvent extends Enum {1161 readonly isEndowed: boolean;1162 readonly asEndowed: {1163 readonly account: AccountId32;1164 readonly freeBalance: u128;1165 } & Struct;1166 readonly isDustLost: boolean;1167 readonly asDustLost: {1168 readonly account: AccountId32;1169 readonly amount: u128;1170 } & Struct;1171 readonly isTransfer: boolean;1172 readonly asTransfer: {1173 readonly from: AccountId32;1174 readonly to: AccountId32;1175 readonly amount: u128;1176 } & Struct;1177 readonly isBalanceSet: boolean;1178 readonly asBalanceSet: {1179 readonly who: AccountId32;1180 readonly free: u128;1181 readonly reserved: u128;1182 } & Struct;1183 readonly isReserved: boolean;1184 readonly asReserved: {1185 readonly who: AccountId32;1186 readonly amount: u128;1187 } & Struct;1188 readonly isUnreserved: boolean;1189 readonly asUnreserved: {1190 readonly who: AccountId32;1191 readonly amount: u128;1192 } & Struct;1193 readonly isReserveRepatriated: boolean;1194 readonly asReserveRepatriated: {1195 readonly from: AccountId32;1196 readonly to: AccountId32;1197 readonly amount: u128;1198 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1199 } & Struct;1200 readonly isDeposit: boolean;1201 readonly asDeposit: {1202 readonly who: AccountId32;1203 readonly amount: u128;1204 } & Struct;1205 readonly isWithdraw: boolean;1206 readonly asWithdraw: {1207 readonly who: AccountId32;1208 readonly amount: u128;1209 } & Struct;1210 readonly isSlashed: boolean;1211 readonly asSlashed: {1212 readonly who: AccountId32;1213 readonly amount: u128;1214 } & Struct;1215 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1216}12171218/** @name PalletBalancesReasons */1219export interface PalletBalancesReasons extends Enum {1220 readonly isFee: boolean;1221 readonly isMisc: boolean;1222 readonly isAll: boolean;1223 readonly type: 'Fee' | 'Misc' | 'All';1224}12251226/** @name PalletBalancesReserveData */1227export interface PalletBalancesReserveData extends Struct {1228 readonly id: U8aFixed;1229 readonly amount: u128;1230}12311232/** @name PalletCollatorSelectionCall */1233export interface PalletCollatorSelectionCall extends Enum {1234 readonly isAddInvulnerable: boolean;1235 readonly asAddInvulnerable: {1236 readonly new_: AccountId32;1237 } & Struct;1238 readonly isRemoveInvulnerable: boolean;1239 readonly asRemoveInvulnerable: {1240 readonly who: AccountId32;1241 } & Struct;1242 readonly isGetLicense: boolean;1243 readonly isOnboard: boolean;1244 readonly isOffboard: boolean;1245 readonly isReleaseLicense: boolean;1246 readonly isForceReleaseLicense: boolean;1247 readonly asForceReleaseLicense: {1248 readonly who: AccountId32;1249 } & Struct;1250 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';1251}12521253/** @name PalletCollatorSelectionError */1254export interface PalletCollatorSelectionError extends Enum {1255 readonly isTooManyCandidates: boolean;1256 readonly isUnknown: boolean;1257 readonly isPermission: boolean;1258 readonly isAlreadyHoldingLicense: boolean;1259 readonly isNoLicense: boolean;1260 readonly isAlreadyCandidate: boolean;1261 readonly isNotCandidate: boolean;1262 readonly isTooManyInvulnerables: boolean;1263 readonly isTooFewInvulnerables: boolean;1264 readonly isAlreadyInvulnerable: boolean;1265 readonly isNotInvulnerable: boolean;1266 readonly isNoAssociatedValidatorId: boolean;1267 readonly isValidatorNotRegistered: boolean;1268 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1269}12701271/** @name PalletCollatorSelectionEvent */1272export interface PalletCollatorSelectionEvent extends Enum {1273 readonly isInvulnerableAdded: boolean;1274 readonly asInvulnerableAdded: {1275 readonly invulnerable: AccountId32;1276 } & Struct;1277 readonly isInvulnerableRemoved: boolean;1278 readonly asInvulnerableRemoved: {1279 readonly invulnerable: AccountId32;1280 } & Struct;1281 readonly isLicenseObtained: boolean;1282 readonly asLicenseObtained: {1283 readonly accountId: AccountId32;1284 readonly deposit: u128;1285 } & Struct;1286 readonly isLicenseForfeited: boolean;1287 readonly asLicenseForfeited: {1288 readonly accountId: AccountId32;1289 readonly depositReturned: u128;1290 } & Struct;1291 readonly isCandidateAdded: boolean;1292 readonly asCandidateAdded: {1293 readonly accountId: AccountId32;1294 } & Struct;1295 readonly isCandidateRemoved: boolean;1296 readonly asCandidateRemoved: {1297 readonly accountId: AccountId32;1298 } & Struct;1299 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';1300}13011302/** @name PalletCommonError */1303export interface PalletCommonError extends Enum {1304 readonly isCollectionNotFound: boolean;1305 readonly isMustBeTokenOwner: boolean;1306 readonly isNoPermission: boolean;1307 readonly isCantDestroyNotEmptyCollection: boolean;1308 readonly isPublicMintingNotAllowed: boolean;1309 readonly isAddressNotInAllowlist: boolean;1310 readonly isCollectionNameLimitExceeded: boolean;1311 readonly isCollectionDescriptionLimitExceeded: boolean;1312 readonly isCollectionTokenPrefixLimitExceeded: boolean;1313 readonly isTotalCollectionsLimitExceeded: boolean;1314 readonly isCollectionAdminCountExceeded: boolean;1315 readonly isCollectionLimitBoundsExceeded: boolean;1316 readonly isOwnerPermissionsCantBeReverted: boolean;1317 readonly isTransferNotAllowed: boolean;1318 readonly isAccountTokenLimitExceeded: boolean;1319 readonly isCollectionTokenLimitExceeded: boolean;1320 readonly isMetadataFlagFrozen: boolean;1321 readonly isTokenNotFound: boolean;1322 readonly isTokenValueTooLow: boolean;1323 readonly isApprovedValueTooLow: boolean;1324 readonly isCantApproveMoreThanOwned: boolean;1325 readonly isAddressIsZero: boolean;1326 readonly isUnsupportedOperation: boolean;1327 readonly isNotSufficientFounds: boolean;1328 readonly isUserIsNotAllowedToNest: boolean;1329 readonly isSourceCollectionIsNotAllowedToNest: boolean;1330 readonly isCollectionFieldSizeExceeded: boolean;1331 readonly isNoSpaceForProperty: boolean;1332 readonly isPropertyLimitReached: boolean;1333 readonly isPropertyKeyIsTooLong: boolean;1334 readonly isInvalidCharacterInPropertyKey: boolean;1335 readonly isEmptyPropertyKey: boolean;1336 readonly isCollectionIsExternal: boolean;1337 readonly isCollectionIsInternal: boolean;1338 readonly isConfirmSponsorshipFail: boolean;1339 readonly isUserIsNotCollectionAdmin: boolean;1340 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' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';1341}13421343/** @name PalletCommonEvent */1344export interface PalletCommonEvent extends Enum {1345 readonly isCollectionCreated: boolean;1346 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1347 readonly isCollectionDestroyed: boolean;1348 readonly asCollectionDestroyed: u32;1349 readonly isItemCreated: boolean;1350 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1351 readonly isItemDestroyed: boolean;1352 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1353 readonly isTransfer: boolean;1354 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1355 readonly isApproved: boolean;1356 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1357 readonly isApprovedForAll: boolean;1358 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1359 readonly isCollectionPropertySet: boolean;1360 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1361 readonly isCollectionPropertyDeleted: boolean;1362 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1363 readonly isTokenPropertySet: boolean;1364 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1365 readonly isTokenPropertyDeleted: boolean;1366 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1367 readonly isPropertyPermissionSet: boolean;1368 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1369 readonly isAllowListAddressAdded: boolean;1370 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1371 readonly isAllowListAddressRemoved: boolean;1372 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1373 readonly isCollectionAdminAdded: boolean;1374 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1375 readonly isCollectionAdminRemoved: boolean;1376 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1377 readonly isCollectionLimitSet: boolean;1378 readonly asCollectionLimitSet: u32;1379 readonly isCollectionOwnerChanged: boolean;1380 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1381 readonly isCollectionPermissionSet: boolean;1382 readonly asCollectionPermissionSet: u32;1383 readonly isCollectionSponsorSet: boolean;1384 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1385 readonly isSponsorshipConfirmed: boolean;1386 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1387 readonly isCollectionSponsorRemoved: boolean;1388 readonly asCollectionSponsorRemoved: u32;1389 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1390}13911392/** @name PalletConfigurationAppPromotionConfiguration */1393export interface PalletConfigurationAppPromotionConfiguration extends Struct {1394 readonly recalculationInterval: Option<u32>;1395 readonly pendingInterval: Option<u32>;1396 readonly intervalIncome: Option<Perbill>;1397 readonly maxStakersPerCalculation: Option<u8>;1398}13991400/** @name PalletConfigurationCall */1401export interface PalletConfigurationCall extends Enum {1402 readonly isSetWeightToFeeCoefficientOverride: boolean;1403 readonly asSetWeightToFeeCoefficientOverride: {1404 readonly coeff: Option<u64>;1405 } & Struct;1406 readonly isSetMinGasPriceOverride: boolean;1407 readonly asSetMinGasPriceOverride: {1408 readonly coeff: Option<u64>;1409 } & Struct;1410 readonly isSetXcmAllowedLocations: boolean;1411 readonly asSetXcmAllowedLocations: {1412 readonly locations: Option<Vec<XcmV1MultiLocation>>;1413 } & Struct;1414 readonly isSetAppPromotionConfigurationOverride: boolean;1415 readonly asSetAppPromotionConfigurationOverride: {1416 readonly configuration: PalletConfigurationAppPromotionConfiguration;1417 } & Struct;1418 readonly isSetCollatorSelectionDesiredCollators: boolean;1419 readonly asSetCollatorSelectionDesiredCollators: {1420 readonly max: Option<u32>;1421 } & Struct;1422 readonly isSetCollatorSelectionLicenseBond: boolean;1423 readonly asSetCollatorSelectionLicenseBond: {1424 readonly amount: Option<u128>;1425 } & Struct;1426 readonly isSetCollatorSelectionKickThreshold: boolean;1427 readonly asSetCollatorSelectionKickThreshold: {1428 readonly threshold: Option<u32>;1429 } & Struct;1430 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';1431}14321433/** @name PalletConfigurationError */1434export interface PalletConfigurationError extends Enum {1435 readonly isInconsistentConfiguration: boolean;1436 readonly type: 'InconsistentConfiguration';1437}14381439/** @name PalletConfigurationEvent */1440export interface PalletConfigurationEvent extends Enum {1441 readonly isNewDesiredCollators: boolean;1442 readonly asNewDesiredCollators: {1443 readonly desiredCollators: Option<u32>;1444 } & Struct;1445 readonly isNewCollatorLicenseBond: boolean;1446 readonly asNewCollatorLicenseBond: {1447 readonly bondCost: Option<u128>;1448 } & Struct;1449 readonly isNewCollatorKickThreshold: boolean;1450 readonly asNewCollatorKickThreshold: {1451 readonly lengthInBlocks: Option<u32>;1452 } & Struct;1453 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1454}14551456/** @name PalletDataManagementCall */1457export interface PalletDataManagementCall extends Enum {1458 readonly isBegin: boolean;1459 readonly asBegin: {1460 readonly address: H160;1461 } & Struct;1462 readonly isSetData: boolean;1463 readonly asSetData: {1464 readonly address: H160;1465 readonly data: Vec<ITuple<[H256, H256]>>;1466 } & Struct;1467 readonly isFinish: boolean;1468 readonly asFinish: {1469 readonly address: H160;1470 readonly code: Bytes;1471 } & Struct;1472 readonly isInsertEthLogs: boolean;1473 readonly asInsertEthLogs: {1474 readonly logs: Vec<EthereumLog>;1475 } & Struct;1476 readonly isInsertEvents: boolean;1477 readonly asInsertEvents: {1478 readonly events: Vec<Bytes>;1479 } & Struct;1480 readonly isInsertIdentities: boolean;1481 readonly asInsertIdentities: {1482 readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;1483 } & Struct;1484 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'InsertIdentities';1485}14861487/** @name PalletDataManagementError */1488export interface PalletDataManagementError extends Enum {1489 readonly isAccountNotEmpty: boolean;1490 readonly isAccountIsNotMigrating: boolean;1491 readonly isBadEvent: boolean;1492 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1493}14941495/** @name PalletDataManagementEvent */1496export interface PalletDataManagementEvent extends Enum {1497 readonly isTestEvent: boolean;1498 readonly type: 'TestEvent';1499}15001501/** @name PalletEthereumCall */1502export interface PalletEthereumCall extends Enum {1503 readonly isTransact: boolean;1504 readonly asTransact: {1505 readonly transaction: EthereumTransactionTransactionV2;1506 } & Struct;1507 readonly type: 'Transact';1508}15091510/** @name PalletEthereumError */1511export interface PalletEthereumError extends Enum {1512 readonly isInvalidSignature: boolean;1513 readonly isPreLogExists: boolean;1514 readonly type: 'InvalidSignature' | 'PreLogExists';1515}15161517/** @name PalletEthereumEvent */1518export interface PalletEthereumEvent extends Enum {1519 readonly isExecuted: boolean;1520 readonly asExecuted: {1521 readonly from: H160;1522 readonly to: H160;1523 readonly transactionHash: H256;1524 readonly exitReason: EvmCoreErrorExitReason;1525 } & Struct;1526 readonly type: 'Executed';1527}15281529/** @name PalletEthereumFakeTransactionFinalizer */1530export interface PalletEthereumFakeTransactionFinalizer extends Null {}15311532/** @name PalletEvmAccountBasicCrossAccountIdRepr */1533export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1534 readonly isSubstrate: boolean;1535 readonly asSubstrate: AccountId32;1536 readonly isEthereum: boolean;1537 readonly asEthereum: H160;1538 readonly type: 'Substrate' | 'Ethereum';1539}15401541/** @name PalletEvmCall */1542export interface PalletEvmCall extends Enum {1543 readonly isWithdraw: boolean;1544 readonly asWithdraw: {1545 readonly address: H160;1546 readonly value: u128;1547 } & Struct;1548 readonly isCall: boolean;1549 readonly asCall: {1550 readonly source: H160;1551 readonly target: H160;1552 readonly input: Bytes;1553 readonly value: U256;1554 readonly gasLimit: u64;1555 readonly maxFeePerGas: U256;1556 readonly maxPriorityFeePerGas: Option<U256>;1557 readonly nonce: Option<U256>;1558 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1559 } & Struct;1560 readonly isCreate: boolean;1561 readonly asCreate: {1562 readonly source: H160;1563 readonly init: Bytes;1564 readonly value: U256;1565 readonly gasLimit: u64;1566 readonly maxFeePerGas: U256;1567 readonly maxPriorityFeePerGas: Option<U256>;1568 readonly nonce: Option<U256>;1569 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1570 } & Struct;1571 readonly isCreate2: boolean;1572 readonly asCreate2: {1573 readonly source: H160;1574 readonly init: Bytes;1575 readonly salt: H256;1576 readonly value: U256;1577 readonly gasLimit: u64;1578 readonly maxFeePerGas: U256;1579 readonly maxPriorityFeePerGas: Option<U256>;1580 readonly nonce: Option<U256>;1581 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1582 } & Struct;1583 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1584}15851586/** @name PalletEvmCoderSubstrateError */1587export interface PalletEvmCoderSubstrateError extends Enum {1588 readonly isOutOfGas: boolean;1589 readonly isOutOfFund: boolean;1590 readonly type: 'OutOfGas' | 'OutOfFund';1591}15921593/** @name PalletEvmContractHelpersError */1594export interface PalletEvmContractHelpersError extends Enum {1595 readonly isNoPermission: boolean;1596 readonly isNoPendingSponsor: boolean;1597 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1598 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1599}16001601/** @name PalletEvmContractHelpersEvent */1602export interface PalletEvmContractHelpersEvent extends Enum {1603 readonly isContractSponsorSet: boolean;1604 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1605 readonly isContractSponsorshipConfirmed: boolean;1606 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1607 readonly isContractSponsorRemoved: boolean;1608 readonly asContractSponsorRemoved: H160;1609 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1610}16111612/** @name PalletEvmContractHelpersSponsoringModeT */1613export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1614 readonly isDisabled: boolean;1615 readonly isAllowlisted: boolean;1616 readonly isGenerous: boolean;1617 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1618}16191620/** @name PalletEvmError */1621export interface PalletEvmError extends Enum {1622 readonly isBalanceLow: boolean;1623 readonly isFeeOverflow: boolean;1624 readonly isPaymentOverflow: boolean;1625 readonly isWithdrawFailed: boolean;1626 readonly isGasPriceTooLow: boolean;1627 readonly isInvalidNonce: boolean;1628 readonly isGasLimitTooLow: boolean;1629 readonly isGasLimitTooHigh: boolean;1630 readonly isUndefined: boolean;1631 readonly isReentrancy: boolean;1632 readonly isTransactionMustComeFromEOA: boolean;1633 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1634}16351636/** @name PalletEvmEvent */1637export interface PalletEvmEvent extends Enum {1638 readonly isLog: boolean;1639 readonly asLog: {1640 readonly log: EthereumLog;1641 } & Struct;1642 readonly isCreated: boolean;1643 readonly asCreated: {1644 readonly address: H160;1645 } & Struct;1646 readonly isCreatedFailed: boolean;1647 readonly asCreatedFailed: {1648 readonly address: H160;1649 } & Struct;1650 readonly isExecuted: boolean;1651 readonly asExecuted: {1652 readonly address: H160;1653 } & Struct;1654 readonly isExecutedFailed: boolean;1655 readonly asExecutedFailed: {1656 readonly address: H160;1657 } & Struct;1658 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1659}16601661/** @name PalletForeignAssetsAssetIds */1662export interface PalletForeignAssetsAssetIds extends Enum {1663 readonly isForeignAssetId: boolean;1664 readonly asForeignAssetId: u32;1665 readonly isNativeAssetId: boolean;1666 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1667 readonly type: 'ForeignAssetId' | 'NativeAssetId';1668}16691670/** @name PalletForeignAssetsModuleAssetMetadata */1671export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1672 readonly name: Bytes;1673 readonly symbol: Bytes;1674 readonly decimals: u8;1675 readonly minimalBalance: u128;1676}16771678/** @name PalletForeignAssetsModuleCall */1679export interface PalletForeignAssetsModuleCall extends Enum {1680 readonly isRegisterForeignAsset: boolean;1681 readonly asRegisterForeignAsset: {1682 readonly owner: AccountId32;1683 readonly location: XcmVersionedMultiLocation;1684 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1685 } & Struct;1686 readonly isUpdateForeignAsset: boolean;1687 readonly asUpdateForeignAsset: {1688 readonly foreignAssetId: u32;1689 readonly location: XcmVersionedMultiLocation;1690 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1691 } & Struct;1692 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1693}16941695/** @name PalletForeignAssetsModuleError */1696export interface PalletForeignAssetsModuleError extends Enum {1697 readonly isBadLocation: boolean;1698 readonly isMultiLocationExisted: boolean;1699 readonly isAssetIdNotExists: boolean;1700 readonly isAssetIdExisted: boolean;1701 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1702}17031704/** @name PalletForeignAssetsModuleEvent */1705export interface PalletForeignAssetsModuleEvent extends Enum {1706 readonly isForeignAssetRegistered: boolean;1707 readonly asForeignAssetRegistered: {1708 readonly assetId: u32;1709 readonly assetAddress: XcmV1MultiLocation;1710 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1711 } & Struct;1712 readonly isForeignAssetUpdated: boolean;1713 readonly asForeignAssetUpdated: {1714 readonly assetId: u32;1715 readonly assetAddress: XcmV1MultiLocation;1716 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1717 } & Struct;1718 readonly isAssetRegistered: boolean;1719 readonly asAssetRegistered: {1720 readonly assetId: PalletForeignAssetsAssetIds;1721 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1722 } & Struct;1723 readonly isAssetUpdated: boolean;1724 readonly asAssetUpdated: {1725 readonly assetId: PalletForeignAssetsAssetIds;1726 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1727 } & Struct;1728 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1729}17301731/** @name PalletForeignAssetsNativeCurrency */1732export interface PalletForeignAssetsNativeCurrency extends Enum {1733 readonly isHere: boolean;1734 readonly isParent: boolean;1735 readonly type: 'Here' | 'Parent';1736}17371738/** @name PalletFungibleError */1739export interface PalletFungibleError extends Enum {1740 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1741 readonly isFungibleItemsHaveNoId: boolean;1742 readonly isFungibleItemsDontHaveData: boolean;1743 readonly isFungibleDisallowsNesting: boolean;1744 readonly isSettingPropertiesNotAllowed: boolean;1745 readonly isSettingAllowanceForAllNotAllowed: boolean;1746 readonly isFungibleTokensAreAlwaysValid: boolean;1747 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1748}17491750/** @name PalletIdentityBitFlags */1751export interface PalletIdentityBitFlags extends Struct {1752 readonly _bitLength: 64;1753 readonly Display: 1;1754 readonly Legal: 2;1755 readonly Web: 4;1756 readonly Riot: 8;1757 readonly Email: 16;1758 readonly PgpFingerprint: 32;1759 readonly Image: 64;1760 readonly Twitter: 128;1761}17621763/** @name PalletIdentityCall */1764export interface PalletIdentityCall extends Enum {1765 readonly isAddRegistrar: boolean;1766 readonly asAddRegistrar: {1767 readonly account: MultiAddress;1768 } & Struct;1769 readonly isSetIdentity: boolean;1770 readonly asSetIdentity: {1771 readonly info: PalletIdentityIdentityInfo;1772 } & Struct;1773 readonly isSetSubs: boolean;1774 readonly asSetSubs: {1775 readonly subs: Vec<ITuple<[AccountId32, Data]>>;1776 } & Struct;1777 readonly isClearIdentity: boolean;1778 readonly isRequestJudgement: boolean;1779 readonly asRequestJudgement: {1780 readonly regIndex: Compact<u32>;1781 readonly maxFee: Compact<u128>;1782 } & Struct;1783 readonly isCancelRequest: boolean;1784 readonly asCancelRequest: {1785 readonly regIndex: u32;1786 } & Struct;1787 readonly isSetFee: boolean;1788 readonly asSetFee: {1789 readonly index: Compact<u32>;1790 readonly fee: Compact<u128>;1791 } & Struct;1792 readonly isSetAccountId: boolean;1793 readonly asSetAccountId: {1794 readonly index: Compact<u32>;1795 readonly new_: MultiAddress;1796 } & Struct;1797 readonly isSetFields: boolean;1798 readonly asSetFields: {1799 readonly index: Compact<u32>;1800 readonly fields: PalletIdentityBitFlags;1801 } & Struct;1802 readonly isProvideJudgement: boolean;1803 readonly asProvideJudgement: {1804 readonly regIndex: Compact<u32>;1805 readonly target: MultiAddress;1806 readonly judgement: PalletIdentityJudgement;1807 readonly identity: H256;1808 } & Struct;1809 readonly isKillIdentity: boolean;1810 readonly asKillIdentity: {1811 readonly target: MultiAddress;1812 } & Struct;1813 readonly isAddSub: boolean;1814 readonly asAddSub: {1815 readonly sub: MultiAddress;1816 readonly data: Data;1817 } & Struct;1818 readonly isRenameSub: boolean;1819 readonly asRenameSub: {1820 readonly sub: MultiAddress;1821 readonly data: Data;1822 } & Struct;1823 readonly isRemoveSub: boolean;1824 readonly asRemoveSub: {1825 readonly sub: MultiAddress;1826 } & Struct;1827 readonly isQuitSub: boolean;1828 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';1829}18301831/** @name PalletIdentityError */1832export interface PalletIdentityError extends Enum {1833 readonly isTooManySubAccounts: boolean;1834 readonly isNotFound: boolean;1835 readonly isNotNamed: boolean;1836 readonly isEmptyIndex: boolean;1837 readonly isFeeChanged: boolean;1838 readonly isNoIdentity: boolean;1839 readonly isStickyJudgement: boolean;1840 readonly isJudgementGiven: boolean;1841 readonly isInvalidJudgement: boolean;1842 readonly isInvalidIndex: boolean;1843 readonly isInvalidTarget: boolean;1844 readonly isTooManyFields: boolean;1845 readonly isTooManyRegistrars: boolean;1846 readonly isAlreadyClaimed: boolean;1847 readonly isNotSub: boolean;1848 readonly isNotOwned: boolean;1849 readonly isJudgementForDifferentIdentity: boolean;1850 readonly isJudgementPaymentFailed: boolean;1851 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';1852}18531854/** @name PalletIdentityEvent */1855export interface PalletIdentityEvent extends Enum {1856 readonly isIdentitySet: boolean;1857 readonly asIdentitySet: {1858 readonly who: AccountId32;1859 } & Struct;1860 readonly isIdentityCleared: boolean;1861 readonly asIdentityCleared: {1862 readonly who: AccountId32;1863 readonly deposit: u128;1864 } & Struct;1865 readonly isIdentityKilled: boolean;1866 readonly asIdentityKilled: {1867 readonly who: AccountId32;1868 readonly deposit: u128;1869 } & Struct;1870 readonly isJudgementRequested: boolean;1871 readonly asJudgementRequested: {1872 readonly who: AccountId32;1873 readonly registrarIndex: u32;1874 } & Struct;1875 readonly isJudgementUnrequested: boolean;1876 readonly asJudgementUnrequested: {1877 readonly who: AccountId32;1878 readonly registrarIndex: u32;1879 } & Struct;1880 readonly isJudgementGiven: boolean;1881 readonly asJudgementGiven: {1882 readonly target: AccountId32;1883 readonly registrarIndex: u32;1884 } & Struct;1885 readonly isRegistrarAdded: boolean;1886 readonly asRegistrarAdded: {1887 readonly registrarIndex: u32;1888 } & Struct;1889 readonly isSubIdentityAdded: boolean;1890 readonly asSubIdentityAdded: {1891 readonly sub: AccountId32;1892 readonly main: AccountId32;1893 readonly deposit: u128;1894 } & Struct;1895 readonly isSubIdentityRemoved: boolean;1896 readonly asSubIdentityRemoved: {1897 readonly sub: AccountId32;1898 readonly main: AccountId32;1899 readonly deposit: u128;1900 } & Struct;1901 readonly isSubIdentityRevoked: boolean;1902 readonly asSubIdentityRevoked: {1903 readonly sub: AccountId32;1904 readonly main: AccountId32;1905 readonly deposit: u128;1906 } & Struct;1907 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';1908}19091910/** @name PalletIdentityIdentityField */1911export interface PalletIdentityIdentityField extends Enum {1912 readonly isDisplay: boolean;1913 readonly isLegal: boolean;1914 readonly isWeb: boolean;1915 readonly isRiot: boolean;1916 readonly isEmail: boolean;1917 readonly isPgpFingerprint: boolean;1918 readonly isImage: boolean;1919 readonly isTwitter: boolean;1920 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1921}19221923/** @name PalletIdentityIdentityInfo */1924export interface PalletIdentityIdentityInfo extends Struct {1925 readonly additional: Vec<ITuple<[Data, Data]>>;1926 readonly display: Data;1927 readonly legal: Data;1928 readonly web: Data;1929 readonly riot: Data;1930 readonly email: Data;1931 readonly pgpFingerprint: Option<U8aFixed>;1932 readonly image: Data;1933 readonly twitter: Data;1934}19351936/** @name PalletIdentityJudgement */1937export interface PalletIdentityJudgement extends Enum {1938 readonly isUnknown: boolean;1939 readonly isFeePaid: boolean;1940 readonly asFeePaid: u128;1941 readonly isReasonable: boolean;1942 readonly isKnownGood: boolean;1943 readonly isOutOfDate: boolean;1944 readonly isLowQuality: boolean;1945 readonly isErroneous: boolean;1946 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1947}19481949/** @name PalletIdentityRegistrarInfo */1950export interface PalletIdentityRegistrarInfo extends Struct {1951 readonly account: AccountId32;1952 readonly fee: u128;1953 readonly fields: PalletIdentityBitFlags;1954}19551956/** @name PalletIdentityRegistration */1957export interface PalletIdentityRegistration extends Struct {1958 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1959 readonly deposit: u128;1960 readonly info: PalletIdentityIdentityInfo;1961}19621963/** @name PalletInflationCall */1964export interface PalletInflationCall extends Enum {1965 readonly isStartInflation: boolean;1966 readonly asStartInflation: {1967 readonly inflationStartRelayBlock: u32;1968 } & Struct;1969 readonly type: 'StartInflation';1970}19711972/** @name PalletMaintenanceCall */1973export interface PalletMaintenanceCall extends Enum {1974 readonly isEnable: boolean;1975 readonly isDisable: boolean;1976 readonly type: 'Enable' | 'Disable';1977}19781979/** @name PalletMaintenanceError */1980export interface PalletMaintenanceError extends Null {}19811982/** @name PalletMaintenanceEvent */1983export interface PalletMaintenanceEvent extends Enum {1984 readonly isMaintenanceEnabled: boolean;1985 readonly isMaintenanceDisabled: boolean;1986 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1987}19881989/** @name PalletNonfungibleError */1990export interface PalletNonfungibleError extends Enum {1991 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1992 readonly isNonfungibleItemsHaveNoAmount: boolean;1993 readonly isCantBurnNftWithChildren: boolean;1994 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1995}19961997/** @name PalletNonfungibleItemData */1998export interface PalletNonfungibleItemData extends Struct {1999 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2000}20012002/** @name PalletRefungibleError */2003export interface PalletRefungibleError extends Enum {2004 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2005 readonly isWrongRefungiblePieces: boolean;2006 readonly isRepartitionWhileNotOwningAllPieces: boolean;2007 readonly isRefungibleDisallowsNesting: boolean;2008 readonly isSettingPropertiesNotAllowed: boolean;2009 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2010}20112012/** @name PalletRmrkCoreCall */2013export interface PalletRmrkCoreCall extends Enum {2014 readonly isCreateCollection: boolean;2015 readonly asCreateCollection: {2016 readonly metadata: Bytes;2017 readonly max: Option<u32>;2018 readonly symbol: Bytes;2019 } & Struct;2020 readonly isDestroyCollection: boolean;2021 readonly asDestroyCollection: {2022 readonly collectionId: u32;2023 } & Struct;2024 readonly isChangeCollectionIssuer: boolean;2025 readonly asChangeCollectionIssuer: {2026 readonly collectionId: u32;2027 readonly newIssuer: MultiAddress;2028 } & Struct;2029 readonly isLockCollection: boolean;2030 readonly asLockCollection: {2031 readonly collectionId: u32;2032 } & Struct;2033 readonly isMintNft: boolean;2034 readonly asMintNft: {2035 readonly owner: Option<AccountId32>;2036 readonly collectionId: u32;2037 readonly recipient: Option<AccountId32>;2038 readonly royaltyAmount: Option<Permill>;2039 readonly metadata: Bytes;2040 readonly transferable: bool;2041 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2042 } & Struct;2043 readonly isBurnNft: boolean;2044 readonly asBurnNft: {2045 readonly collectionId: u32;2046 readonly nftId: u32;2047 readonly maxBurns: u32;2048 } & Struct;2049 readonly isSend: boolean;2050 readonly asSend: {2051 readonly rmrkCollectionId: u32;2052 readonly rmrkNftId: u32;2053 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2054 } & Struct;2055 readonly isAcceptNft: boolean;2056 readonly asAcceptNft: {2057 readonly rmrkCollectionId: u32;2058 readonly rmrkNftId: u32;2059 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2060 } & Struct;2061 readonly isRejectNft: boolean;2062 readonly asRejectNft: {2063 readonly rmrkCollectionId: u32;2064 readonly rmrkNftId: u32;2065 } & Struct;2066 readonly isAcceptResource: boolean;2067 readonly asAcceptResource: {2068 readonly rmrkCollectionId: u32;2069 readonly rmrkNftId: u32;2070 readonly resourceId: u32;2071 } & Struct;2072 readonly isAcceptResourceRemoval: boolean;2073 readonly asAcceptResourceRemoval: {2074 readonly rmrkCollectionId: u32;2075 readonly rmrkNftId: u32;2076 readonly resourceId: u32;2077 } & Struct;2078 readonly isSetProperty: boolean;2079 readonly asSetProperty: {2080 readonly rmrkCollectionId: Compact<u32>;2081 readonly maybeNftId: Option<u32>;2082 readonly key: Bytes;2083 readonly value: Bytes;2084 } & Struct;2085 readonly isSetPriority: boolean;2086 readonly asSetPriority: {2087 readonly rmrkCollectionId: u32;2088 readonly rmrkNftId: u32;2089 readonly priorities: Vec<u32>;2090 } & Struct;2091 readonly isAddBasicResource: boolean;2092 readonly asAddBasicResource: {2093 readonly rmrkCollectionId: u32;2094 readonly nftId: u32;2095 readonly resource: RmrkTraitsResourceBasicResource;2096 } & Struct;2097 readonly isAddComposableResource: boolean;2098 readonly asAddComposableResource: {2099 readonly rmrkCollectionId: u32;2100 readonly nftId: u32;2101 readonly resource: RmrkTraitsResourceComposableResource;2102 } & Struct;2103 readonly isAddSlotResource: boolean;2104 readonly asAddSlotResource: {2105 readonly rmrkCollectionId: u32;2106 readonly nftId: u32;2107 readonly resource: RmrkTraitsResourceSlotResource;2108 } & Struct;2109 readonly isRemoveResource: boolean;2110 readonly asRemoveResource: {2111 readonly rmrkCollectionId: u32;2112 readonly nftId: u32;2113 readonly resourceId: u32;2114 } & Struct;2115 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2116}21172118/** @name PalletRmrkCoreError */2119export interface PalletRmrkCoreError extends Enum {2120 readonly isCorruptedCollectionType: boolean;2121 readonly isRmrkPropertyKeyIsTooLong: boolean;2122 readonly isRmrkPropertyValueIsTooLong: boolean;2123 readonly isRmrkPropertyIsNotFound: boolean;2124 readonly isUnableToDecodeRmrkData: boolean;2125 readonly isCollectionNotEmpty: boolean;2126 readonly isNoAvailableCollectionId: boolean;2127 readonly isNoAvailableNftId: boolean;2128 readonly isCollectionUnknown: boolean;2129 readonly isNoPermission: boolean;2130 readonly isNonTransferable: boolean;2131 readonly isCollectionFullOrLocked: boolean;2132 readonly isResourceDoesntExist: boolean;2133 readonly isCannotSendToDescendentOrSelf: boolean;2134 readonly isCannotAcceptNonOwnedNft: boolean;2135 readonly isCannotRejectNonOwnedNft: boolean;2136 readonly isCannotRejectNonPendingNft: boolean;2137 readonly isResourceNotPending: boolean;2138 readonly isNoAvailableResourceId: boolean;2139 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';2140}21412142/** @name PalletRmrkCoreEvent */2143export interface PalletRmrkCoreEvent extends Enum {2144 readonly isCollectionCreated: boolean;2145 readonly asCollectionCreated: {2146 readonly issuer: AccountId32;2147 readonly collectionId: u32;2148 } & Struct;2149 readonly isCollectionDestroyed: boolean;2150 readonly asCollectionDestroyed: {2151 readonly issuer: AccountId32;2152 readonly collectionId: u32;2153 } & Struct;2154 readonly isIssuerChanged: boolean;2155 readonly asIssuerChanged: {2156 readonly oldIssuer: AccountId32;2157 readonly newIssuer: AccountId32;2158 readonly collectionId: u32;2159 } & Struct;2160 readonly isCollectionLocked: boolean;2161 readonly asCollectionLocked: {2162 readonly issuer: AccountId32;2163 readonly collectionId: u32;2164 } & Struct;2165 readonly isNftMinted: boolean;2166 readonly asNftMinted: {2167 readonly owner: AccountId32;2168 readonly collectionId: u32;2169 readonly nftId: u32;2170 } & Struct;2171 readonly isNftBurned: boolean;2172 readonly asNftBurned: {2173 readonly owner: AccountId32;2174 readonly nftId: u32;2175 } & Struct;2176 readonly isNftSent: boolean;2177 readonly asNftSent: {2178 readonly sender: AccountId32;2179 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2180 readonly collectionId: u32;2181 readonly nftId: u32;2182 readonly approvalRequired: bool;2183 } & Struct;2184 readonly isNftAccepted: boolean;2185 readonly asNftAccepted: {2186 readonly sender: AccountId32;2187 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2188 readonly collectionId: u32;2189 readonly nftId: u32;2190 } & Struct;2191 readonly isNftRejected: boolean;2192 readonly asNftRejected: {2193 readonly sender: AccountId32;2194 readonly collectionId: u32;2195 readonly nftId: u32;2196 } & Struct;2197 readonly isPropertySet: boolean;2198 readonly asPropertySet: {2199 readonly collectionId: u32;2200 readonly maybeNftId: Option<u32>;2201 readonly key: Bytes;2202 readonly value: Bytes;2203 } & Struct;2204 readonly isResourceAdded: boolean;2205 readonly asResourceAdded: {2206 readonly nftId: u32;2207 readonly resourceId: u32;2208 } & Struct;2209 readonly isResourceRemoval: boolean;2210 readonly asResourceRemoval: {2211 readonly nftId: u32;2212 readonly resourceId: u32;2213 } & Struct;2214 readonly isResourceAccepted: boolean;2215 readonly asResourceAccepted: {2216 readonly nftId: u32;2217 readonly resourceId: u32;2218 } & Struct;2219 readonly isResourceRemovalAccepted: boolean;2220 readonly asResourceRemovalAccepted: {2221 readonly nftId: u32;2222 readonly resourceId: u32;2223 } & Struct;2224 readonly isPrioritySet: boolean;2225 readonly asPrioritySet: {2226 readonly collectionId: u32;2227 readonly nftId: u32;2228 } & Struct;2229 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2230}22312232/** @name PalletRmrkEquipCall */2233export interface PalletRmrkEquipCall extends Enum {2234 readonly isCreateBase: boolean;2235 readonly asCreateBase: {2236 readonly baseType: Bytes;2237 readonly symbol: Bytes;2238 readonly parts: Vec<RmrkTraitsPartPartType>;2239 } & Struct;2240 readonly isThemeAdd: boolean;2241 readonly asThemeAdd: {2242 readonly baseId: u32;2243 readonly theme: RmrkTraitsTheme;2244 } & Struct;2245 readonly isEquippable: boolean;2246 readonly asEquippable: {2247 readonly baseId: u32;2248 readonly slotId: u32;2249 readonly equippables: RmrkTraitsPartEquippableList;2250 } & Struct;2251 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2252}22532254/** @name PalletRmrkEquipError */2255export interface PalletRmrkEquipError extends Enum {2256 readonly isPermissionError: boolean;2257 readonly isNoAvailableBaseId: boolean;2258 readonly isNoAvailablePartId: boolean;2259 readonly isBaseDoesntExist: boolean;2260 readonly isNeedsDefaultThemeFirst: boolean;2261 readonly isPartDoesntExist: boolean;2262 readonly isNoEquippableOnFixedPart: boolean;2263 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';2264}22652266/** @name PalletRmrkEquipEvent */2267export interface PalletRmrkEquipEvent extends Enum {2268 readonly isBaseCreated: boolean;2269 readonly asBaseCreated: {2270 readonly issuer: AccountId32;2271 readonly baseId: u32;2272 } & Struct;2273 readonly isEquippablesUpdated: boolean;2274 readonly asEquippablesUpdated: {2275 readonly baseId: u32;2276 readonly slotId: u32;2277 } & Struct;2278 readonly type: 'BaseCreated' | 'EquippablesUpdated';2279}22802281/** @name PalletSessionCall */2282export interface PalletSessionCall extends Enum {2283 readonly isSetKeys: boolean;2284 readonly asSetKeys: {2285 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2286 readonly proof: Bytes;2287 } & Struct;2288 readonly isPurgeKeys: boolean;2289 readonly type: 'SetKeys' | 'PurgeKeys';2290}22912292/** @name PalletSessionError */2293export interface PalletSessionError extends Enum {2294 readonly isInvalidProof: boolean;2295 readonly isNoAssociatedValidatorId: boolean;2296 readonly isDuplicatedKey: boolean;2297 readonly isNoKeys: boolean;2298 readonly isNoAccount: boolean;2299 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2300}23012302/** @name PalletSessionEvent */2303export interface PalletSessionEvent extends Enum {2304 readonly isNewSession: boolean;2305 readonly asNewSession: {2306 readonly sessionIndex: u32;2307 } & Struct;2308 readonly type: 'NewSession';2309}23102311/** @name PalletStructureCall */2312export interface PalletStructureCall extends Null {}23132314/** @name PalletStructureError */2315export interface PalletStructureError extends Enum {2316 readonly isOuroborosDetected: boolean;2317 readonly isDepthLimit: boolean;2318 readonly isBreadthLimit: boolean;2319 readonly isTokenNotFound: boolean;2320 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';2321}23222323/** @name PalletStructureEvent */2324export interface PalletStructureEvent extends Enum {2325 readonly isExecuted: boolean;2326 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2327 readonly type: 'Executed';2328}23292330/** @name PalletSudoCall */2331export interface PalletSudoCall extends Enum {2332 readonly isSudo: boolean;2333 readonly asSudo: {2334 readonly call: Call;2335 } & Struct;2336 readonly isSudoUncheckedWeight: boolean;2337 readonly asSudoUncheckedWeight: {2338 readonly call: Call;2339 readonly weight: SpWeightsWeightV2Weight;2340 } & Struct;2341 readonly isSetKey: boolean;2342 readonly asSetKey: {2343 readonly new_: MultiAddress;2344 } & Struct;2345 readonly isSudoAs: boolean;2346 readonly asSudoAs: {2347 readonly who: MultiAddress;2348 readonly call: Call;2349 } & Struct;2350 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2351}23522353/** @name PalletSudoError */2354export interface PalletSudoError extends Enum {2355 readonly isRequireSudo: boolean;2356 readonly type: 'RequireSudo';2357}23582359/** @name PalletSudoEvent */2360export interface PalletSudoEvent extends Enum {2361 readonly isSudid: boolean;2362 readonly asSudid: {2363 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2364 } & Struct;2365 readonly isKeyChanged: boolean;2366 readonly asKeyChanged: {2367 readonly oldSudoer: Option<AccountId32>;2368 } & Struct;2369 readonly isSudoAsDone: boolean;2370 readonly asSudoAsDone: {2371 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2372 } & Struct;2373 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2374}23752376/** @name PalletTemplateTransactionPaymentCall */2377export interface PalletTemplateTransactionPaymentCall extends Null {}23782379/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2380export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}23812382/** @name PalletTestUtilsCall */2383export interface PalletTestUtilsCall extends Enum {2384 readonly isEnable: boolean;2385 readonly isSetTestValue: boolean;2386 readonly asSetTestValue: {2387 readonly value: u32;2388 } & Struct;2389 readonly isSetTestValueAndRollback: boolean;2390 readonly asSetTestValueAndRollback: {2391 readonly value: u32;2392 } & Struct;2393 readonly isIncTestValue: boolean;2394 readonly isJustTakeFee: boolean;2395 readonly isBatchAll: boolean;2396 readonly asBatchAll: {2397 readonly calls: Vec<Call>;2398 } & Struct;2399 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2400}24012402/** @name PalletTestUtilsError */2403export interface PalletTestUtilsError extends Enum {2404 readonly isTestPalletDisabled: boolean;2405 readonly isTriggerRollback: boolean;2406 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2407}24082409/** @name PalletTestUtilsEvent */2410export interface PalletTestUtilsEvent extends Enum {2411 readonly isValueIsSet: boolean;2412 readonly isShouldRollback: boolean;2413 readonly isBatchCompleted: boolean;2414 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2415}24162417/** @name PalletTimestampCall */2418export interface PalletTimestampCall extends Enum {2419 readonly isSet: boolean;2420 readonly asSet: {2421 readonly now: Compact<u64>;2422 } & Struct;2423 readonly type: 'Set';2424}24252426/** @name PalletTransactionPaymentEvent */2427export interface PalletTransactionPaymentEvent extends Enum {2428 readonly isTransactionFeePaid: boolean;2429 readonly asTransactionFeePaid: {2430 readonly who: AccountId32;2431 readonly actualFee: u128;2432 readonly tip: u128;2433 } & Struct;2434 readonly type: 'TransactionFeePaid';2435}24362437/** @name PalletTransactionPaymentReleases */2438export interface PalletTransactionPaymentReleases extends Enum {2439 readonly isV1Ancient: boolean;2440 readonly isV2: boolean;2441 readonly type: 'V1Ancient' | 'V2';2442}24432444/** @name PalletTreasuryCall */2445export interface PalletTreasuryCall extends Enum {2446 readonly isProposeSpend: boolean;2447 readonly asProposeSpend: {2448 readonly value: Compact<u128>;2449 readonly beneficiary: MultiAddress;2450 } & Struct;2451 readonly isRejectProposal: boolean;2452 readonly asRejectProposal: {2453 readonly proposalId: Compact<u32>;2454 } & Struct;2455 readonly isApproveProposal: boolean;2456 readonly asApproveProposal: {2457 readonly proposalId: Compact<u32>;2458 } & Struct;2459 readonly isSpend: boolean;2460 readonly asSpend: {2461 readonly amount: Compact<u128>;2462 readonly beneficiary: MultiAddress;2463 } & Struct;2464 readonly isRemoveApproval: boolean;2465 readonly asRemoveApproval: {2466 readonly proposalId: Compact<u32>;2467 } & Struct;2468 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2469}24702471/** @name PalletTreasuryError */2472export interface PalletTreasuryError extends Enum {2473 readonly isInsufficientProposersBalance: boolean;2474 readonly isInvalidIndex: boolean;2475 readonly isTooManyApprovals: boolean;2476 readonly isInsufficientPermission: boolean;2477 readonly isProposalNotApproved: boolean;2478 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2479}24802481/** @name PalletTreasuryEvent */2482export interface PalletTreasuryEvent extends Enum {2483 readonly isProposed: boolean;2484 readonly asProposed: {2485 readonly proposalIndex: u32;2486 } & Struct;2487 readonly isSpending: boolean;2488 readonly asSpending: {2489 readonly budgetRemaining: u128;2490 } & Struct;2491 readonly isAwarded: boolean;2492 readonly asAwarded: {2493 readonly proposalIndex: u32;2494 readonly award: u128;2495 readonly account: AccountId32;2496 } & Struct;2497 readonly isRejected: boolean;2498 readonly asRejected: {2499 readonly proposalIndex: u32;2500 readonly slashed: u128;2501 } & Struct;2502 readonly isBurnt: boolean;2503 readonly asBurnt: {2504 readonly burntFunds: u128;2505 } & Struct;2506 readonly isRollover: boolean;2507 readonly asRollover: {2508 readonly rolloverBalance: u128;2509 } & Struct;2510 readonly isDeposit: boolean;2511 readonly asDeposit: {2512 readonly value: u128;2513 } & Struct;2514 readonly isSpendApproved: boolean;2515 readonly asSpendApproved: {2516 readonly proposalIndex: u32;2517 readonly amount: u128;2518 readonly beneficiary: AccountId32;2519 } & Struct;2520 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2521}25222523/** @name PalletTreasuryProposal */2524export interface PalletTreasuryProposal extends Struct {2525 readonly proposer: AccountId32;2526 readonly value: u128;2527 readonly beneficiary: AccountId32;2528 readonly bond: u128;2529}25302531/** @name PalletUniqueCall */2532export interface PalletUniqueCall extends Enum {2533 readonly isCreateCollection: boolean;2534 readonly asCreateCollection: {2535 readonly collectionName: Vec<u16>;2536 readonly collectionDescription: Vec<u16>;2537 readonly tokenPrefix: Bytes;2538 readonly mode: UpDataStructsCollectionMode;2539 } & Struct;2540 readonly isCreateCollectionEx: boolean;2541 readonly asCreateCollectionEx: {2542 readonly data: UpDataStructsCreateCollectionData;2543 } & Struct;2544 readonly isDestroyCollection: boolean;2545 readonly asDestroyCollection: {2546 readonly collectionId: u32;2547 } & Struct;2548 readonly isAddToAllowList: boolean;2549 readonly asAddToAllowList: {2550 readonly collectionId: u32;2551 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2552 } & Struct;2553 readonly isRemoveFromAllowList: boolean;2554 readonly asRemoveFromAllowList: {2555 readonly collectionId: u32;2556 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2557 } & Struct;2558 readonly isChangeCollectionOwner: boolean;2559 readonly asChangeCollectionOwner: {2560 readonly collectionId: u32;2561 readonly newOwner: AccountId32;2562 } & Struct;2563 readonly isAddCollectionAdmin: boolean;2564 readonly asAddCollectionAdmin: {2565 readonly collectionId: u32;2566 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2567 } & Struct;2568 readonly isRemoveCollectionAdmin: boolean;2569 readonly asRemoveCollectionAdmin: {2570 readonly collectionId: u32;2571 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2572 } & Struct;2573 readonly isSetCollectionSponsor: boolean;2574 readonly asSetCollectionSponsor: {2575 readonly collectionId: u32;2576 readonly newSponsor: AccountId32;2577 } & Struct;2578 readonly isConfirmSponsorship: boolean;2579 readonly asConfirmSponsorship: {2580 readonly collectionId: u32;2581 } & Struct;2582 readonly isRemoveCollectionSponsor: boolean;2583 readonly asRemoveCollectionSponsor: {2584 readonly collectionId: u32;2585 } & Struct;2586 readonly isCreateItem: boolean;2587 readonly asCreateItem: {2588 readonly collectionId: u32;2589 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2590 readonly data: UpDataStructsCreateItemData;2591 } & Struct;2592 readonly isCreateMultipleItems: boolean;2593 readonly asCreateMultipleItems: {2594 readonly collectionId: u32;2595 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2596 readonly itemsData: Vec<UpDataStructsCreateItemData>;2597 } & Struct;2598 readonly isSetCollectionProperties: boolean;2599 readonly asSetCollectionProperties: {2600 readonly collectionId: u32;2601 readonly properties: Vec<UpDataStructsProperty>;2602 } & Struct;2603 readonly isDeleteCollectionProperties: boolean;2604 readonly asDeleteCollectionProperties: {2605 readonly collectionId: u32;2606 readonly propertyKeys: Vec<Bytes>;2607 } & Struct;2608 readonly isSetTokenProperties: boolean;2609 readonly asSetTokenProperties: {2610 readonly collectionId: u32;2611 readonly tokenId: u32;2612 readonly properties: Vec<UpDataStructsProperty>;2613 } & Struct;2614 readonly isDeleteTokenProperties: boolean;2615 readonly asDeleteTokenProperties: {2616 readonly collectionId: u32;2617 readonly tokenId: u32;2618 readonly propertyKeys: Vec<Bytes>;2619 } & Struct;2620 readonly isSetTokenPropertyPermissions: boolean;2621 readonly asSetTokenPropertyPermissions: {2622 readonly collectionId: u32;2623 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2624 } & Struct;2625 readonly isCreateMultipleItemsEx: boolean;2626 readonly asCreateMultipleItemsEx: {2627 readonly collectionId: u32;2628 readonly data: UpDataStructsCreateItemExData;2629 } & Struct;2630 readonly isSetTransfersEnabledFlag: boolean;2631 readonly asSetTransfersEnabledFlag: {2632 readonly collectionId: u32;2633 readonly value: bool;2634 } & Struct;2635 readonly isBurnItem: boolean;2636 readonly asBurnItem: {2637 readonly collectionId: u32;2638 readonly itemId: u32;2639 readonly value: u128;2640 } & Struct;2641 readonly isBurnFrom: boolean;2642 readonly asBurnFrom: {2643 readonly collectionId: u32;2644 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2645 readonly itemId: u32;2646 readonly value: u128;2647 } & Struct;2648 readonly isTransfer: boolean;2649 readonly asTransfer: {2650 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2651 readonly collectionId: u32;2652 readonly itemId: u32;2653 readonly value: u128;2654 } & Struct;2655 readonly isApprove: boolean;2656 readonly asApprove: {2657 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2658 readonly collectionId: u32;2659 readonly itemId: u32;2660 readonly amount: u128;2661 } & Struct;2662 readonly isTransferFrom: boolean;2663 readonly asTransferFrom: {2664 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2665 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2666 readonly collectionId: u32;2667 readonly itemId: u32;2668 readonly value: u128;2669 } & Struct;2670 readonly isSetCollectionLimits: boolean;2671 readonly asSetCollectionLimits: {2672 readonly collectionId: u32;2673 readonly newLimit: UpDataStructsCollectionLimits;2674 } & Struct;2675 readonly isSetCollectionPermissions: boolean;2676 readonly asSetCollectionPermissions: {2677 readonly collectionId: u32;2678 readonly newPermission: UpDataStructsCollectionPermissions;2679 } & Struct;2680 readonly isRepartition: boolean;2681 readonly asRepartition: {2682 readonly collectionId: u32;2683 readonly tokenId: u32;2684 readonly amount: u128;2685 } & Struct;2686 readonly isSetAllowanceForAll: boolean;2687 readonly asSetAllowanceForAll: {2688 readonly collectionId: u32;2689 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2690 readonly approve: bool;2691 } & Struct;2692 readonly isForceRepairCollection: boolean;2693 readonly asForceRepairCollection: {2694 readonly collectionId: u32;2695 } & Struct;2696 readonly isForceRepairItem: boolean;2697 readonly asForceRepairItem: {2698 readonly collectionId: u32;2699 readonly itemId: u32;2700 } & Struct;2701 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2702}27032704/** @name PalletUniqueError */2705export interface PalletUniqueError extends Enum {2706 readonly isCollectionDecimalPointLimitExceeded: boolean;2707 readonly isEmptyArgument: boolean;2708 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2709 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2710}27112712/** @name PalletXcmCall */2713export interface PalletXcmCall extends Enum {2714 readonly isSend: boolean;2715 readonly asSend: {2716 readonly dest: XcmVersionedMultiLocation;2717 readonly message: XcmVersionedXcm;2718 } & Struct;2719 readonly isTeleportAssets: boolean;2720 readonly asTeleportAssets: {2721 readonly dest: XcmVersionedMultiLocation;2722 readonly beneficiary: XcmVersionedMultiLocation;2723 readonly assets: XcmVersionedMultiAssets;2724 readonly feeAssetItem: u32;2725 } & Struct;2726 readonly isReserveTransferAssets: boolean;2727 readonly asReserveTransferAssets: {2728 readonly dest: XcmVersionedMultiLocation;2729 readonly beneficiary: XcmVersionedMultiLocation;2730 readonly assets: XcmVersionedMultiAssets;2731 readonly feeAssetItem: u32;2732 } & Struct;2733 readonly isExecute: boolean;2734 readonly asExecute: {2735 readonly message: XcmVersionedXcm;2736 readonly maxWeight: u64;2737 } & Struct;2738 readonly isForceXcmVersion: boolean;2739 readonly asForceXcmVersion: {2740 readonly location: XcmV1MultiLocation;2741 readonly xcmVersion: u32;2742 } & Struct;2743 readonly isForceDefaultXcmVersion: boolean;2744 readonly asForceDefaultXcmVersion: {2745 readonly maybeXcmVersion: Option<u32>;2746 } & Struct;2747 readonly isForceSubscribeVersionNotify: boolean;2748 readonly asForceSubscribeVersionNotify: {2749 readonly location: XcmVersionedMultiLocation;2750 } & Struct;2751 readonly isForceUnsubscribeVersionNotify: boolean;2752 readonly asForceUnsubscribeVersionNotify: {2753 readonly location: XcmVersionedMultiLocation;2754 } & Struct;2755 readonly isLimitedReserveTransferAssets: boolean;2756 readonly asLimitedReserveTransferAssets: {2757 readonly dest: XcmVersionedMultiLocation;2758 readonly beneficiary: XcmVersionedMultiLocation;2759 readonly assets: XcmVersionedMultiAssets;2760 readonly feeAssetItem: u32;2761 readonly weightLimit: XcmV2WeightLimit;2762 } & Struct;2763 readonly isLimitedTeleportAssets: boolean;2764 readonly asLimitedTeleportAssets: {2765 readonly dest: XcmVersionedMultiLocation;2766 readonly beneficiary: XcmVersionedMultiLocation;2767 readonly assets: XcmVersionedMultiAssets;2768 readonly feeAssetItem: u32;2769 readonly weightLimit: XcmV2WeightLimit;2770 } & Struct;2771 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2772}27732774/** @name PalletXcmError */2775export interface PalletXcmError extends Enum {2776 readonly isUnreachable: boolean;2777 readonly isSendFailure: boolean;2778 readonly isFiltered: boolean;2779 readonly isUnweighableMessage: boolean;2780 readonly isDestinationNotInvertible: boolean;2781 readonly isEmpty: boolean;2782 readonly isCannotReanchor: boolean;2783 readonly isTooManyAssets: boolean;2784 readonly isInvalidOrigin: boolean;2785 readonly isBadVersion: boolean;2786 readonly isBadLocation: boolean;2787 readonly isNoSubscription: boolean;2788 readonly isAlreadySubscribed: boolean;2789 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2790}27912792/** @name PalletXcmEvent */2793export interface PalletXcmEvent extends Enum {2794 readonly isAttempted: boolean;2795 readonly asAttempted: XcmV2TraitsOutcome;2796 readonly isSent: boolean;2797 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2798 readonly isUnexpectedResponse: boolean;2799 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2800 readonly isResponseReady: boolean;2801 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2802 readonly isNotified: boolean;2803 readonly asNotified: ITuple<[u64, u8, u8]>;2804 readonly isNotifyOverweight: boolean;2805 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2806 readonly isNotifyDispatchError: boolean;2807 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2808 readonly isNotifyDecodeFailed: boolean;2809 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2810 readonly isInvalidResponder: boolean;2811 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2812 readonly isInvalidResponderVersion: boolean;2813 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2814 readonly isResponseTaken: boolean;2815 readonly asResponseTaken: u64;2816 readonly isAssetsTrapped: boolean;2817 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2818 readonly isVersionChangeNotified: boolean;2819 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2820 readonly isSupportedVersionChanged: boolean;2821 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2822 readonly isNotifyTargetSendFail: boolean;2823 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2824 readonly isNotifyTargetMigrationFail: boolean;2825 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2826 readonly isAssetsClaimed: boolean;2827 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2828 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2829}28302831/** @name PhantomTypeUpDataStructs */2832export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}28332834/** @name PolkadotCorePrimitivesInboundDownwardMessage */2835export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2836 readonly sentAt: u32;2837 readonly msg: Bytes;2838}28392840/** @name PolkadotCorePrimitivesInboundHrmpMessage */2841export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2842 readonly sentAt: u32;2843 readonly data: Bytes;2844}28452846/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2847export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2848 readonly recipient: u32;2849 readonly data: Bytes;2850}28512852/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2853export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2854 readonly isConcatenatedVersionedXcm: boolean;2855 readonly isConcatenatedEncodedBlob: boolean;2856 readonly isSignals: boolean;2857 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2858}28592860/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2861export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2862 readonly maxCodeSize: u32;2863 readonly maxHeadDataSize: u32;2864 readonly maxUpwardQueueCount: u32;2865 readonly maxUpwardQueueSize: u32;2866 readonly maxUpwardMessageSize: u32;2867 readonly maxUpwardMessageNumPerCandidate: u32;2868 readonly hrmpMaxMessageNumPerCandidate: u32;2869 readonly validationUpgradeCooldown: u32;2870 readonly validationUpgradeDelay: u32;2871}28722873/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2874export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2875 readonly maxCapacity: u32;2876 readonly maxTotalSize: u32;2877 readonly maxMessageSize: u32;2878 readonly msgCount: u32;2879 readonly totalSize: u32;2880 readonly mqcHead: Option<H256>;2881}28822883/** @name PolkadotPrimitivesV2PersistedValidationData */2884export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2885 readonly parentHead: Bytes;2886 readonly relayParentNumber: u32;2887 readonly relayParentStorageRoot: H256;2888 readonly maxPovSize: u32;2889}28902891/** @name PolkadotPrimitivesV2UpgradeRestriction */2892export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2893 readonly isPresent: boolean;2894 readonly type: 'Present';2895}28962897/** @name RmrkTraitsBaseBaseInfo */2898export interface RmrkTraitsBaseBaseInfo extends Struct {2899 readonly issuer: AccountId32;2900 readonly baseType: Bytes;2901 readonly symbol: Bytes;2902}29032904/** @name RmrkTraitsCollectionCollectionInfo */2905export interface RmrkTraitsCollectionCollectionInfo extends Struct {2906 readonly issuer: AccountId32;2907 readonly metadata: Bytes;2908 readonly max: Option<u32>;2909 readonly symbol: Bytes;2910 readonly nftsCount: u32;2911}29122913/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2914export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2915 readonly isAccountId: boolean;2916 readonly asAccountId: AccountId32;2917 readonly isCollectionAndNftTuple: boolean;2918 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2919 readonly type: 'AccountId' | 'CollectionAndNftTuple';2920}29212922/** @name RmrkTraitsNftNftChild */2923export interface RmrkTraitsNftNftChild extends Struct {2924 readonly collectionId: u32;2925 readonly nftId: u32;2926}29272928/** @name RmrkTraitsNftNftInfo */2929export interface RmrkTraitsNftNftInfo extends Struct {2930 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2931 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2932 readonly metadata: Bytes;2933 readonly equipped: bool;2934 readonly pending: bool;2935}29362937/** @name RmrkTraitsNftRoyaltyInfo */2938export interface RmrkTraitsNftRoyaltyInfo extends Struct {2939 readonly recipient: AccountId32;2940 readonly amount: Permill;2941}29422943/** @name RmrkTraitsPartEquippableList */2944export interface RmrkTraitsPartEquippableList extends Enum {2945 readonly isAll: boolean;2946 readonly isEmpty: boolean;2947 readonly isCustom: boolean;2948 readonly asCustom: Vec<u32>;2949 readonly type: 'All' | 'Empty' | 'Custom';2950}29512952/** @name RmrkTraitsPartFixedPart */2953export interface RmrkTraitsPartFixedPart extends Struct {2954 readonly id: u32;2955 readonly z: u32;2956 readonly src: Bytes;2957}29582959/** @name RmrkTraitsPartPartType */2960export interface RmrkTraitsPartPartType extends Enum {2961 readonly isFixedPart: boolean;2962 readonly asFixedPart: RmrkTraitsPartFixedPart;2963 readonly isSlotPart: boolean;2964 readonly asSlotPart: RmrkTraitsPartSlotPart;2965 readonly type: 'FixedPart' | 'SlotPart';2966}29672968/** @name RmrkTraitsPartSlotPart */2969export interface RmrkTraitsPartSlotPart extends Struct {2970 readonly id: u32;2971 readonly equippable: RmrkTraitsPartEquippableList;2972 readonly src: Bytes;2973 readonly z: u32;2974}29752976/** @name RmrkTraitsPropertyPropertyInfo */2977export interface RmrkTraitsPropertyPropertyInfo extends Struct {2978 readonly key: Bytes;2979 readonly value: Bytes;2980}29812982/** @name RmrkTraitsResourceBasicResource */2983export interface RmrkTraitsResourceBasicResource extends Struct {2984 readonly src: Option<Bytes>;2985 readonly metadata: Option<Bytes>;2986 readonly license: Option<Bytes>;2987 readonly thumb: Option<Bytes>;2988}29892990/** @name RmrkTraitsResourceComposableResource */2991export interface RmrkTraitsResourceComposableResource extends Struct {2992 readonly parts: Vec<u32>;2993 readonly base: u32;2994 readonly src: Option<Bytes>;2995 readonly metadata: Option<Bytes>;2996 readonly license: Option<Bytes>;2997 readonly thumb: Option<Bytes>;2998}29993000/** @name RmrkTraitsResourceResourceInfo */3001export interface RmrkTraitsResourceResourceInfo extends Struct {3002 readonly id: u32;3003 readonly resource: RmrkTraitsResourceResourceTypes;3004 readonly pending: bool;3005 readonly pendingRemoval: bool;3006}30073008/** @name RmrkTraitsResourceResourceTypes */3009export interface RmrkTraitsResourceResourceTypes extends Enum {3010 readonly isBasic: boolean;3011 readonly asBasic: RmrkTraitsResourceBasicResource;3012 readonly isComposable: boolean;3013 readonly asComposable: RmrkTraitsResourceComposableResource;3014 readonly isSlot: boolean;3015 readonly asSlot: RmrkTraitsResourceSlotResource;3016 readonly type: 'Basic' | 'Composable' | 'Slot';3017}30183019/** @name RmrkTraitsResourceSlotResource */3020export interface RmrkTraitsResourceSlotResource extends Struct {3021 readonly base: u32;3022 readonly src: Option<Bytes>;3023 readonly metadata: Option<Bytes>;3024 readonly slot: u32;3025 readonly license: Option<Bytes>;3026 readonly thumb: Option<Bytes>;3027}30283029/** @name RmrkTraitsTheme */3030export interface RmrkTraitsTheme extends Struct {3031 readonly name: Bytes;3032 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3033 readonly inherit: bool;3034}30353036/** @name RmrkTraitsThemeThemeProperty */3037export interface RmrkTraitsThemeThemeProperty extends Struct {3038 readonly key: Bytes;3039 readonly value: Bytes;3040}30413042/** @name SpConsensusAuraSr25519AppSr25519Public */3043export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}30443045/** @name SpCoreCryptoKeyTypeId */3046export interface SpCoreCryptoKeyTypeId extends U8aFixed {}30473048/** @name SpCoreEcdsaSignature */3049export interface SpCoreEcdsaSignature extends U8aFixed {}30503051/** @name SpCoreEd25519Signature */3052export interface SpCoreEd25519Signature extends U8aFixed {}30533054/** @name SpCoreSr25519Public */3055export interface SpCoreSr25519Public extends U8aFixed {}30563057/** @name SpCoreSr25519Signature */3058export interface SpCoreSr25519Signature extends U8aFixed {}30593060/** @name SpRuntimeArithmeticError */3061export interface SpRuntimeArithmeticError extends Enum {3062 readonly isUnderflow: boolean;3063 readonly isOverflow: boolean;3064 readonly isDivisionByZero: boolean;3065 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';3066}30673068/** @name SpRuntimeBlakeTwo256 */3069export interface SpRuntimeBlakeTwo256 extends Null {}30703071/** @name SpRuntimeDigest */3072export interface SpRuntimeDigest extends Struct {3073 readonly logs: Vec<SpRuntimeDigestDigestItem>;3074}30753076/** @name SpRuntimeDigestDigestItem */3077export interface SpRuntimeDigestDigestItem extends Enum {3078 readonly isOther: boolean;3079 readonly asOther: Bytes;3080 readonly isConsensus: boolean;3081 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;3082 readonly isSeal: boolean;3083 readonly asSeal: ITuple<[U8aFixed, Bytes]>;3084 readonly isPreRuntime: boolean;3085 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;3086 readonly isRuntimeEnvironmentUpdated: boolean;3087 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';3088}30893090/** @name SpRuntimeDispatchError */3091export interface SpRuntimeDispatchError extends Enum {3092 readonly isOther: boolean;3093 readonly isCannotLookup: boolean;3094 readonly isBadOrigin: boolean;3095 readonly isModule: boolean;3096 readonly asModule: SpRuntimeModuleError;3097 readonly isConsumerRemaining: boolean;3098 readonly isNoProviders: boolean;3099 readonly isTooManyConsumers: boolean;3100 readonly isToken: boolean;3101 readonly asToken: SpRuntimeTokenError;3102 readonly isArithmetic: boolean;3103 readonly asArithmetic: SpRuntimeArithmeticError;3104 readonly isTransactional: boolean;3105 readonly asTransactional: SpRuntimeTransactionalError;3106 readonly isExhausted: boolean;3107 readonly isCorruption: boolean;3108 readonly isUnavailable: boolean;3109 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';3110}31113112/** @name SpRuntimeHeader */3113export interface SpRuntimeHeader extends Struct {3114 readonly parentHash: H256;3115 readonly number: Compact<u32>;3116 readonly stateRoot: H256;3117 readonly extrinsicsRoot: H256;3118 readonly digest: SpRuntimeDigest;3119}31203121/** @name SpRuntimeModuleError */3122export interface SpRuntimeModuleError extends Struct {3123 readonly index: u8;3124 readonly error: U8aFixed;3125}31263127/** @name SpRuntimeMultiSignature */3128export interface SpRuntimeMultiSignature extends Enum {3129 readonly isEd25519: boolean;3130 readonly asEd25519: SpCoreEd25519Signature;3131 readonly isSr25519: boolean;3132 readonly asSr25519: SpCoreSr25519Signature;3133 readonly isEcdsa: boolean;3134 readonly asEcdsa: SpCoreEcdsaSignature;3135 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3136}31373138/** @name SpRuntimeTokenError */3139export interface SpRuntimeTokenError extends Enum {3140 readonly isNoFunds: boolean;3141 readonly isWouldDie: boolean;3142 readonly isBelowMinimum: boolean;3143 readonly isCannotCreate: boolean;3144 readonly isUnknownAsset: boolean;3145 readonly isFrozen: boolean;3146 readonly isUnsupported: boolean;3147 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';3148}31493150/** @name SpRuntimeTransactionalError */3151export interface SpRuntimeTransactionalError extends Enum {3152 readonly isLimitReached: boolean;3153 readonly isNoLayer: boolean;3154 readonly type: 'LimitReached' | 'NoLayer';3155}31563157/** @name SpRuntimeTransactionValidityInvalidTransaction */3158export interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3159 readonly isCall: boolean;3160 readonly isPayment: boolean;3161 readonly isFuture: boolean;3162 readonly isStale: boolean;3163 readonly isBadProof: boolean;3164 readonly isAncientBirthBlock: boolean;3165 readonly isExhaustsResources: boolean;3166 readonly isCustom: boolean;3167 readonly asCustom: u8;3168 readonly isBadMandatory: boolean;3169 readonly isMandatoryValidation: boolean;3170 readonly isBadSigner: boolean;3171 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3172}31733174/** @name SpRuntimeTransactionValidityTransactionValidityError */3175export interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3176 readonly isInvalid: boolean;3177 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3178 readonly isUnknown: boolean;3179 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;3180 readonly type: 'Invalid' | 'Unknown';3181}31823183/** @name SpRuntimeTransactionValidityUnknownTransaction */3184export interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3185 readonly isCannotLookup: boolean;3186 readonly isNoUnsignedValidator: boolean;3187 readonly isCustom: boolean;3188 readonly asCustom: u8;3189 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3190}31913192/** @name SpTrieStorageProof */3193export interface SpTrieStorageProof extends Struct {3194 readonly trieNodes: BTreeSet<Bytes>;3195}31963197/** @name SpVersionRuntimeVersion */3198export interface SpVersionRuntimeVersion extends Struct {3199 readonly specName: Text;3200 readonly implName: Text;3201 readonly authoringVersion: u32;3202 readonly specVersion: u32;3203 readonly implVersion: u32;3204 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;3205 readonly transactionVersion: u32;3206 readonly stateVersion: u8;3207}32083209/** @name SpWeightsRuntimeDbWeight */3210export interface SpWeightsRuntimeDbWeight extends Struct {3211 readonly read: u64;3212 readonly write: u64;3213}32143215/** @name SpWeightsWeightV2Weight */3216export interface SpWeightsWeightV2Weight extends Struct {3217 readonly refTime: Compact<u64>;3218 readonly proofSize: Compact<u64>;3219}32203221/** @name UpDataStructsAccessMode */3222export interface UpDataStructsAccessMode extends Enum {3223 readonly isNormal: boolean;3224 readonly isAllowList: boolean;3225 readonly type: 'Normal' | 'AllowList';3226}32273228/** @name UpDataStructsCollection */3229export interface UpDataStructsCollection extends Struct {3230 readonly owner: AccountId32;3231 readonly mode: UpDataStructsCollectionMode;3232 readonly name: Vec<u16>;3233 readonly description: Vec<u16>;3234 readonly tokenPrefix: Bytes;3235 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3236 readonly limits: UpDataStructsCollectionLimits;3237 readonly permissions: UpDataStructsCollectionPermissions;3238 readonly flags: U8aFixed;3239}32403241/** @name UpDataStructsCollectionLimits */3242export interface UpDataStructsCollectionLimits extends Struct {3243 readonly accountTokenOwnershipLimit: Option<u32>;3244 readonly sponsoredDataSize: Option<u32>;3245 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;3246 readonly tokenLimit: Option<u32>;3247 readonly sponsorTransferTimeout: Option<u32>;3248 readonly sponsorApproveTimeout: Option<u32>;3249 readonly ownerCanTransfer: Option<bool>;3250 readonly ownerCanDestroy: Option<bool>;3251 readonly transfersEnabled: Option<bool>;3252}32533254/** @name UpDataStructsCollectionMode */3255export interface UpDataStructsCollectionMode extends Enum {3256 readonly isNft: boolean;3257 readonly isFungible: boolean;3258 readonly asFungible: u8;3259 readonly isReFungible: boolean;3260 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3261}32623263/** @name UpDataStructsCollectionPermissions */3264export interface UpDataStructsCollectionPermissions extends Struct {3265 readonly access: Option<UpDataStructsAccessMode>;3266 readonly mintMode: Option<bool>;3267 readonly nesting: Option<UpDataStructsNestingPermissions>;3268}32693270/** @name UpDataStructsCollectionStats */3271export interface UpDataStructsCollectionStats extends Struct {3272 readonly created: u32;3273 readonly destroyed: u32;3274 readonly alive: u32;3275}32763277/** @name UpDataStructsCreateCollectionData */3278export interface UpDataStructsCreateCollectionData extends Struct {3279 readonly mode: UpDataStructsCollectionMode;3280 readonly access: Option<UpDataStructsAccessMode>;3281 readonly name: Vec<u16>;3282 readonly description: Vec<u16>;3283 readonly tokenPrefix: Bytes;3284 readonly pendingSponsor: Option<AccountId32>;3285 readonly limits: Option<UpDataStructsCollectionLimits>;3286 readonly permissions: Option<UpDataStructsCollectionPermissions>;3287 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3288 readonly properties: Vec<UpDataStructsProperty>;3289}32903291/** @name UpDataStructsCreateFungibleData */3292export interface UpDataStructsCreateFungibleData extends Struct {3293 readonly value: u128;3294}32953296/** @name UpDataStructsCreateItemData */3297export interface UpDataStructsCreateItemData extends Enum {3298 readonly isNft: boolean;3299 readonly asNft: UpDataStructsCreateNftData;3300 readonly isFungible: boolean;3301 readonly asFungible: UpDataStructsCreateFungibleData;3302 readonly isReFungible: boolean;3303 readonly asReFungible: UpDataStructsCreateReFungibleData;3304 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3305}33063307/** @name UpDataStructsCreateItemExData */3308export interface UpDataStructsCreateItemExData extends Enum {3309 readonly isNft: boolean;3310 readonly asNft: Vec<UpDataStructsCreateNftExData>;3311 readonly isFungible: boolean;3312 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;3313 readonly isRefungibleMultipleItems: boolean;3314 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3315 readonly isRefungibleMultipleOwners: boolean;3316 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3317 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3318}33193320/** @name UpDataStructsCreateNftData */3321export interface UpDataStructsCreateNftData extends Struct {3322 readonly properties: Vec<UpDataStructsProperty>;3323}33243325/** @name UpDataStructsCreateNftExData */3326export interface UpDataStructsCreateNftExData extends Struct {3327 readonly properties: Vec<UpDataStructsProperty>;3328 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3329}33303331/** @name UpDataStructsCreateReFungibleData */3332export interface UpDataStructsCreateReFungibleData extends Struct {3333 readonly pieces: u128;3334 readonly properties: Vec<UpDataStructsProperty>;3335}33363337/** @name UpDataStructsCreateRefungibleExMultipleOwners */3338export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3339 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3340 readonly properties: Vec<UpDataStructsProperty>;3341}33423343/** @name UpDataStructsCreateRefungibleExSingleOwner */3344export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3345 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3346 readonly pieces: u128;3347 readonly properties: Vec<UpDataStructsProperty>;3348}33493350/** @name UpDataStructsNestingPermissions */3351export interface UpDataStructsNestingPermissions extends Struct {3352 readonly tokenOwner: bool;3353 readonly collectionAdmin: bool;3354 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3355}33563357/** @name UpDataStructsOwnerRestrictedSet */3358export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}33593360/** @name UpDataStructsProperties */3361export interface UpDataStructsProperties extends Struct {3362 readonly map: UpDataStructsPropertiesMapBoundedVec;3363 readonly consumedSpace: u32;3364 readonly spaceLimit: u32;3365}33663367/** @name UpDataStructsPropertiesMapBoundedVec */3368export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33693370/** @name UpDataStructsPropertiesMapPropertyPermission */3371export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33723373/** @name UpDataStructsProperty */3374export interface UpDataStructsProperty extends Struct {3375 readonly key: Bytes;3376 readonly value: Bytes;3377}33783379/** @name UpDataStructsPropertyKeyPermission */3380export interface UpDataStructsPropertyKeyPermission extends Struct {3381 readonly key: Bytes;3382 readonly permission: UpDataStructsPropertyPermission;3383}33843385/** @name UpDataStructsPropertyPermission */3386export interface UpDataStructsPropertyPermission extends Struct {3387 readonly mutable: bool;3388 readonly collectionAdmin: bool;3389 readonly tokenOwner: bool;3390}33913392/** @name UpDataStructsPropertyScope */3393export interface UpDataStructsPropertyScope extends Enum {3394 readonly isNone: boolean;3395 readonly isRmrk: boolean;3396 readonly type: 'None' | 'Rmrk';3397}33983399/** @name UpDataStructsRpcCollection */3400export interface UpDataStructsRpcCollection extends Struct {3401 readonly owner: AccountId32;3402 readonly mode: UpDataStructsCollectionMode;3403 readonly name: Vec<u16>;3404 readonly description: Vec<u16>;3405 readonly tokenPrefix: Bytes;3406 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3407 readonly limits: UpDataStructsCollectionLimits;3408 readonly permissions: UpDataStructsCollectionPermissions;3409 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3410 readonly properties: Vec<UpDataStructsProperty>;3411 readonly readOnly: bool;3412 readonly flags: UpDataStructsRpcCollectionFlags;3413}34143415/** @name UpDataStructsRpcCollectionFlags */3416export interface UpDataStructsRpcCollectionFlags extends Struct {3417 readonly foreign: bool;3418 readonly erc721metadata: bool;3419}34203421/** @name UpDataStructsSponsoringRateLimit */3422export interface UpDataStructsSponsoringRateLimit extends Enum {3423 readonly isSponsoringDisabled: boolean;3424 readonly isBlocks: boolean;3425 readonly asBlocks: u32;3426 readonly type: 'SponsoringDisabled' | 'Blocks';3427}34283429/** @name UpDataStructsSponsorshipStateAccountId32 */3430export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3431 readonly isDisabled: boolean;3432 readonly isUnconfirmed: boolean;3433 readonly asUnconfirmed: AccountId32;3434 readonly isConfirmed: boolean;3435 readonly asConfirmed: AccountId32;3436 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3437}34383439/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3440export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3441 readonly isDisabled: boolean;3442 readonly isUnconfirmed: boolean;3443 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3444 readonly isConfirmed: boolean;3445 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3446 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3447}34483449/** @name UpDataStructsTokenChild */3450export interface UpDataStructsTokenChild extends Struct {3451 readonly token: u32;3452 readonly collection: u32;3453}34543455/** @name UpDataStructsTokenData */3456export interface UpDataStructsTokenData extends Struct {3457 readonly properties: Vec<UpDataStructsProperty>;3458 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3459 readonly pieces: u128;3460}34613462/** @name UpPovEstimateRpcPovInfo */3463export interface UpPovEstimateRpcPovInfo extends Struct {3464 readonly proofSize: u64;3465 readonly compactProofSize: u64;3466 readonly compressedProofSize: u64;3467 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3468 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3469}34703471/** @name UpPovEstimateRpcTrieKeyValue */3472export interface UpPovEstimateRpcTrieKeyValue extends Struct {3473 readonly key: Bytes;3474 readonly value: Bytes;3475}34763477/** @name XcmDoubleEncoded */3478export interface XcmDoubleEncoded extends Struct {3479 readonly encoded: Bytes;3480}34813482/** @name XcmV0Junction */3483export interface XcmV0Junction extends Enum {3484 readonly isParent: boolean;3485 readonly isParachain: boolean;3486 readonly asParachain: Compact<u32>;3487 readonly isAccountId32: boolean;3488 readonly asAccountId32: {3489 readonly network: XcmV0JunctionNetworkId;3490 readonly id: U8aFixed;3491 } & Struct;3492 readonly isAccountIndex64: boolean;3493 readonly asAccountIndex64: {3494 readonly network: XcmV0JunctionNetworkId;3495 readonly index: Compact<u64>;3496 } & Struct;3497 readonly isAccountKey20: boolean;3498 readonly asAccountKey20: {3499 readonly network: XcmV0JunctionNetworkId;3500 readonly key: U8aFixed;3501 } & Struct;3502 readonly isPalletInstance: boolean;3503 readonly asPalletInstance: u8;3504 readonly isGeneralIndex: boolean;3505 readonly asGeneralIndex: Compact<u128>;3506 readonly isGeneralKey: boolean;3507 readonly asGeneralKey: Bytes;3508 readonly isOnlyChild: boolean;3509 readonly isPlurality: boolean;3510 readonly asPlurality: {3511 readonly id: XcmV0JunctionBodyId;3512 readonly part: XcmV0JunctionBodyPart;3513 } & Struct;3514 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3515}35163517/** @name XcmV0JunctionBodyId */3518export interface XcmV0JunctionBodyId extends Enum {3519 readonly isUnit: boolean;3520 readonly isNamed: boolean;3521 readonly asNamed: Bytes;3522 readonly isIndex: boolean;3523 readonly asIndex: Compact<u32>;3524 readonly isExecutive: boolean;3525 readonly isTechnical: boolean;3526 readonly isLegislative: boolean;3527 readonly isJudicial: boolean;3528 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3529}35303531/** @name XcmV0JunctionBodyPart */3532export interface XcmV0JunctionBodyPart extends Enum {3533 readonly isVoice: boolean;3534 readonly isMembers: boolean;3535 readonly asMembers: {3536 readonly count: Compact<u32>;3537 } & Struct;3538 readonly isFraction: boolean;3539 readonly asFraction: {3540 readonly nom: Compact<u32>;3541 readonly denom: Compact<u32>;3542 } & Struct;3543 readonly isAtLeastProportion: boolean;3544 readonly asAtLeastProportion: {3545 readonly nom: Compact<u32>;3546 readonly denom: Compact<u32>;3547 } & Struct;3548 readonly isMoreThanProportion: boolean;3549 readonly asMoreThanProportion: {3550 readonly nom: Compact<u32>;3551 readonly denom: Compact<u32>;3552 } & Struct;3553 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3554}35553556/** @name XcmV0JunctionNetworkId */3557export interface XcmV0JunctionNetworkId extends Enum {3558 readonly isAny: boolean;3559 readonly isNamed: boolean;3560 readonly asNamed: Bytes;3561 readonly isPolkadot: boolean;3562 readonly isKusama: boolean;3563 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3564}35653566/** @name XcmV0MultiAsset */3567export interface XcmV0MultiAsset extends Enum {3568 readonly isNone: boolean;3569 readonly isAll: boolean;3570 readonly isAllFungible: boolean;3571 readonly isAllNonFungible: boolean;3572 readonly isAllAbstractFungible: boolean;3573 readonly asAllAbstractFungible: {3574 readonly id: Bytes;3575 } & Struct;3576 readonly isAllAbstractNonFungible: boolean;3577 readonly asAllAbstractNonFungible: {3578 readonly class: Bytes;3579 } & Struct;3580 readonly isAllConcreteFungible: boolean;3581 readonly asAllConcreteFungible: {3582 readonly id: XcmV0MultiLocation;3583 } & Struct;3584 readonly isAllConcreteNonFungible: boolean;3585 readonly asAllConcreteNonFungible: {3586 readonly class: XcmV0MultiLocation;3587 } & Struct;3588 readonly isAbstractFungible: boolean;3589 readonly asAbstractFungible: {3590 readonly id: Bytes;3591 readonly amount: Compact<u128>;3592 } & Struct;3593 readonly isAbstractNonFungible: boolean;3594 readonly asAbstractNonFungible: {3595 readonly class: Bytes;3596 readonly instance: XcmV1MultiassetAssetInstance;3597 } & Struct;3598 readonly isConcreteFungible: boolean;3599 readonly asConcreteFungible: {3600 readonly id: XcmV0MultiLocation;3601 readonly amount: Compact<u128>;3602 } & Struct;3603 readonly isConcreteNonFungible: boolean;3604 readonly asConcreteNonFungible: {3605 readonly class: XcmV0MultiLocation;3606 readonly instance: XcmV1MultiassetAssetInstance;3607 } & Struct;3608 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3609}36103611/** @name XcmV0MultiLocation */3612export interface XcmV0MultiLocation extends Enum {3613 readonly isNull: boolean;3614 readonly isX1: boolean;3615 readonly asX1: XcmV0Junction;3616 readonly isX2: boolean;3617 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3618 readonly isX3: boolean;3619 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3620 readonly isX4: boolean;3621 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3622 readonly isX5: boolean;3623 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3624 readonly isX6: boolean;3625 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3626 readonly isX7: boolean;3627 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3628 readonly isX8: boolean;3629 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3630 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3631}36323633/** @name XcmV0Order */3634export interface XcmV0Order extends Enum {3635 readonly isNull: boolean;3636 readonly isDepositAsset: boolean;3637 readonly asDepositAsset: {3638 readonly assets: Vec<XcmV0MultiAsset>;3639 readonly dest: XcmV0MultiLocation;3640 } & Struct;3641 readonly isDepositReserveAsset: boolean;3642 readonly asDepositReserveAsset: {3643 readonly assets: Vec<XcmV0MultiAsset>;3644 readonly dest: XcmV0MultiLocation;3645 readonly effects: Vec<XcmV0Order>;3646 } & Struct;3647 readonly isExchangeAsset: boolean;3648 readonly asExchangeAsset: {3649 readonly give: Vec<XcmV0MultiAsset>;3650 readonly receive: Vec<XcmV0MultiAsset>;3651 } & Struct;3652 readonly isInitiateReserveWithdraw: boolean;3653 readonly asInitiateReserveWithdraw: {3654 readonly assets: Vec<XcmV0MultiAsset>;3655 readonly reserve: XcmV0MultiLocation;3656 readonly effects: Vec<XcmV0Order>;3657 } & Struct;3658 readonly isInitiateTeleport: boolean;3659 readonly asInitiateTeleport: {3660 readonly assets: Vec<XcmV0MultiAsset>;3661 readonly dest: XcmV0MultiLocation;3662 readonly effects: Vec<XcmV0Order>;3663 } & Struct;3664 readonly isQueryHolding: boolean;3665 readonly asQueryHolding: {3666 readonly queryId: Compact<u64>;3667 readonly dest: XcmV0MultiLocation;3668 readonly assets: Vec<XcmV0MultiAsset>;3669 } & Struct;3670 readonly isBuyExecution: boolean;3671 readonly asBuyExecution: {3672 readonly fees: XcmV0MultiAsset;3673 readonly weight: u64;3674 readonly debt: u64;3675 readonly haltOnError: bool;3676 readonly xcm: Vec<XcmV0Xcm>;3677 } & Struct;3678 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3679}36803681/** @name XcmV0OriginKind */3682export interface XcmV0OriginKind extends Enum {3683 readonly isNative: boolean;3684 readonly isSovereignAccount: boolean;3685 readonly isSuperuser: boolean;3686 readonly isXcm: boolean;3687 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3688}36893690/** @name XcmV0Response */3691export interface XcmV0Response extends Enum {3692 readonly isAssets: boolean;3693 readonly asAssets: Vec<XcmV0MultiAsset>;3694 readonly type: 'Assets';3695}36963697/** @name XcmV0Xcm */3698export interface XcmV0Xcm extends Enum {3699 readonly isWithdrawAsset: boolean;3700 readonly asWithdrawAsset: {3701 readonly assets: Vec<XcmV0MultiAsset>;3702 readonly effects: Vec<XcmV0Order>;3703 } & Struct;3704 readonly isReserveAssetDeposit: boolean;3705 readonly asReserveAssetDeposit: {3706 readonly assets: Vec<XcmV0MultiAsset>;3707 readonly effects: Vec<XcmV0Order>;3708 } & Struct;3709 readonly isTeleportAsset: boolean;3710 readonly asTeleportAsset: {3711 readonly assets: Vec<XcmV0MultiAsset>;3712 readonly effects: Vec<XcmV0Order>;3713 } & Struct;3714 readonly isQueryResponse: boolean;3715 readonly asQueryResponse: {3716 readonly queryId: Compact<u64>;3717 readonly response: XcmV0Response;3718 } & Struct;3719 readonly isTransferAsset: boolean;3720 readonly asTransferAsset: {3721 readonly assets: Vec<XcmV0MultiAsset>;3722 readonly dest: XcmV0MultiLocation;3723 } & Struct;3724 readonly isTransferReserveAsset: boolean;3725 readonly asTransferReserveAsset: {3726 readonly assets: Vec<XcmV0MultiAsset>;3727 readonly dest: XcmV0MultiLocation;3728 readonly effects: Vec<XcmV0Order>;3729 } & Struct;3730 readonly isTransact: boolean;3731 readonly asTransact: {3732 readonly originType: XcmV0OriginKind;3733 readonly requireWeightAtMost: u64;3734 readonly call: XcmDoubleEncoded;3735 } & Struct;3736 readonly isHrmpNewChannelOpenRequest: boolean;3737 readonly asHrmpNewChannelOpenRequest: {3738 readonly sender: Compact<u32>;3739 readonly maxMessageSize: Compact<u32>;3740 readonly maxCapacity: Compact<u32>;3741 } & Struct;3742 readonly isHrmpChannelAccepted: boolean;3743 readonly asHrmpChannelAccepted: {3744 readonly recipient: Compact<u32>;3745 } & Struct;3746 readonly isHrmpChannelClosing: boolean;3747 readonly asHrmpChannelClosing: {3748 readonly initiator: Compact<u32>;3749 readonly sender: Compact<u32>;3750 readonly recipient: Compact<u32>;3751 } & Struct;3752 readonly isRelayedFrom: boolean;3753 readonly asRelayedFrom: {3754 readonly who: XcmV0MultiLocation;3755 readonly message: XcmV0Xcm;3756 } & Struct;3757 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3758}37593760/** @name XcmV1Junction */3761export interface XcmV1Junction extends Enum {3762 readonly isParachain: boolean;3763 readonly asParachain: Compact<u32>;3764 readonly isAccountId32: boolean;3765 readonly asAccountId32: {3766 readonly network: XcmV0JunctionNetworkId;3767 readonly id: U8aFixed;3768 } & Struct;3769 readonly isAccountIndex64: boolean;3770 readonly asAccountIndex64: {3771 readonly network: XcmV0JunctionNetworkId;3772 readonly index: Compact<u64>;3773 } & Struct;3774 readonly isAccountKey20: boolean;3775 readonly asAccountKey20: {3776 readonly network: XcmV0JunctionNetworkId;3777 readonly key: U8aFixed;3778 } & Struct;3779 readonly isPalletInstance: boolean;3780 readonly asPalletInstance: u8;3781 readonly isGeneralIndex: boolean;3782 readonly asGeneralIndex: Compact<u128>;3783 readonly isGeneralKey: boolean;3784 readonly asGeneralKey: Bytes;3785 readonly isOnlyChild: boolean;3786 readonly isPlurality: boolean;3787 readonly asPlurality: {3788 readonly id: XcmV0JunctionBodyId;3789 readonly part: XcmV0JunctionBodyPart;3790 } & Struct;3791 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3792}37933794/** @name XcmV1MultiAsset */3795export interface XcmV1MultiAsset extends Struct {3796 readonly id: XcmV1MultiassetAssetId;3797 readonly fun: XcmV1MultiassetFungibility;3798}37993800/** @name XcmV1MultiassetAssetId */3801export interface XcmV1MultiassetAssetId extends Enum {3802 readonly isConcrete: boolean;3803 readonly asConcrete: XcmV1MultiLocation;3804 readonly isAbstract: boolean;3805 readonly asAbstract: Bytes;3806 readonly type: 'Concrete' | 'Abstract';3807}38083809/** @name XcmV1MultiassetAssetInstance */3810export interface XcmV1MultiassetAssetInstance extends Enum {3811 readonly isUndefined: boolean;3812 readonly isIndex: boolean;3813 readonly asIndex: Compact<u128>;3814 readonly isArray4: boolean;3815 readonly asArray4: U8aFixed;3816 readonly isArray8: boolean;3817 readonly asArray8: U8aFixed;3818 readonly isArray16: boolean;3819 readonly asArray16: U8aFixed;3820 readonly isArray32: boolean;3821 readonly asArray32: U8aFixed;3822 readonly isBlob: boolean;3823 readonly asBlob: Bytes;3824 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3825}38263827/** @name XcmV1MultiassetFungibility */3828export interface XcmV1MultiassetFungibility extends Enum {3829 readonly isFungible: boolean;3830 readonly asFungible: Compact<u128>;3831 readonly isNonFungible: boolean;3832 readonly asNonFungible: XcmV1MultiassetAssetInstance;3833 readonly type: 'Fungible' | 'NonFungible';3834}38353836/** @name XcmV1MultiassetMultiAssetFilter */3837export interface XcmV1MultiassetMultiAssetFilter extends Enum {3838 readonly isDefinite: boolean;3839 readonly asDefinite: XcmV1MultiassetMultiAssets;3840 readonly isWild: boolean;3841 readonly asWild: XcmV1MultiassetWildMultiAsset;3842 readonly type: 'Definite' | 'Wild';3843}38443845/** @name XcmV1MultiassetMultiAssets */3846export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}38473848/** @name XcmV1MultiassetWildFungibility */3849export interface XcmV1MultiassetWildFungibility extends Enum {3850 readonly isFungible: boolean;3851 readonly isNonFungible: boolean;3852 readonly type: 'Fungible' | 'NonFungible';3853}38543855/** @name XcmV1MultiassetWildMultiAsset */3856export interface XcmV1MultiassetWildMultiAsset extends Enum {3857 readonly isAll: boolean;3858 readonly isAllOf: boolean;3859 readonly asAllOf: {3860 readonly id: XcmV1MultiassetAssetId;3861 readonly fun: XcmV1MultiassetWildFungibility;3862 } & Struct;3863 readonly type: 'All' | 'AllOf';3864}38653866/** @name XcmV1MultiLocation */3867export interface XcmV1MultiLocation extends Struct {3868 readonly parents: u8;3869 readonly interior: XcmV1MultilocationJunctions;3870}38713872/** @name XcmV1MultilocationJunctions */3873export interface XcmV1MultilocationJunctions extends Enum {3874 readonly isHere: boolean;3875 readonly isX1: boolean;3876 readonly asX1: XcmV1Junction;3877 readonly isX2: boolean;3878 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3879 readonly isX3: boolean;3880 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3881 readonly isX4: boolean;3882 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3883 readonly isX5: boolean;3884 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3885 readonly isX6: boolean;3886 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3887 readonly isX7: boolean;3888 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3889 readonly isX8: boolean;3890 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3891 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3892}38933894/** @name XcmV1Order */3895export interface XcmV1Order extends Enum {3896 readonly isNoop: boolean;3897 readonly isDepositAsset: boolean;3898 readonly asDepositAsset: {3899 readonly assets: XcmV1MultiassetMultiAssetFilter;3900 readonly maxAssets: u32;3901 readonly beneficiary: XcmV1MultiLocation;3902 } & Struct;3903 readonly isDepositReserveAsset: boolean;3904 readonly asDepositReserveAsset: {3905 readonly assets: XcmV1MultiassetMultiAssetFilter;3906 readonly maxAssets: u32;3907 readonly dest: XcmV1MultiLocation;3908 readonly effects: Vec<XcmV1Order>;3909 } & Struct;3910 readonly isExchangeAsset: boolean;3911 readonly asExchangeAsset: {3912 readonly give: XcmV1MultiassetMultiAssetFilter;3913 readonly receive: XcmV1MultiassetMultiAssets;3914 } & Struct;3915 readonly isInitiateReserveWithdraw: boolean;3916 readonly asInitiateReserveWithdraw: {3917 readonly assets: XcmV1MultiassetMultiAssetFilter;3918 readonly reserve: XcmV1MultiLocation;3919 readonly effects: Vec<XcmV1Order>;3920 } & Struct;3921 readonly isInitiateTeleport: boolean;3922 readonly asInitiateTeleport: {3923 readonly assets: XcmV1MultiassetMultiAssetFilter;3924 readonly dest: XcmV1MultiLocation;3925 readonly effects: Vec<XcmV1Order>;3926 } & Struct;3927 readonly isQueryHolding: boolean;3928 readonly asQueryHolding: {3929 readonly queryId: Compact<u64>;3930 readonly dest: XcmV1MultiLocation;3931 readonly assets: XcmV1MultiassetMultiAssetFilter;3932 } & Struct;3933 readonly isBuyExecution: boolean;3934 readonly asBuyExecution: {3935 readonly fees: XcmV1MultiAsset;3936 readonly weight: u64;3937 readonly debt: u64;3938 readonly haltOnError: bool;3939 readonly instructions: Vec<XcmV1Xcm>;3940 } & Struct;3941 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3942}39433944/** @name XcmV1Response */3945export interface XcmV1Response extends Enum {3946 readonly isAssets: boolean;3947 readonly asAssets: XcmV1MultiassetMultiAssets;3948 readonly isVersion: boolean;3949 readonly asVersion: u32;3950 readonly type: 'Assets' | 'Version';3951}39523953/** @name XcmV1Xcm */3954export interface XcmV1Xcm extends Enum {3955 readonly isWithdrawAsset: boolean;3956 readonly asWithdrawAsset: {3957 readonly assets: XcmV1MultiassetMultiAssets;3958 readonly effects: Vec<XcmV1Order>;3959 } & Struct;3960 readonly isReserveAssetDeposited: boolean;3961 readonly asReserveAssetDeposited: {3962 readonly assets: XcmV1MultiassetMultiAssets;3963 readonly effects: Vec<XcmV1Order>;3964 } & Struct;3965 readonly isReceiveTeleportedAsset: boolean;3966 readonly asReceiveTeleportedAsset: {3967 readonly assets: XcmV1MultiassetMultiAssets;3968 readonly effects: Vec<XcmV1Order>;3969 } & Struct;3970 readonly isQueryResponse: boolean;3971 readonly asQueryResponse: {3972 readonly queryId: Compact<u64>;3973 readonly response: XcmV1Response;3974 } & Struct;3975 readonly isTransferAsset: boolean;3976 readonly asTransferAsset: {3977 readonly assets: XcmV1MultiassetMultiAssets;3978 readonly beneficiary: XcmV1MultiLocation;3979 } & Struct;3980 readonly isTransferReserveAsset: boolean;3981 readonly asTransferReserveAsset: {3982 readonly assets: XcmV1MultiassetMultiAssets;3983 readonly dest: XcmV1MultiLocation;3984 readonly effects: Vec<XcmV1Order>;3985 } & Struct;3986 readonly isTransact: boolean;3987 readonly asTransact: {3988 readonly originType: XcmV0OriginKind;3989 readonly requireWeightAtMost: u64;3990 readonly call: XcmDoubleEncoded;3991 } & Struct;3992 readonly isHrmpNewChannelOpenRequest: boolean;3993 readonly asHrmpNewChannelOpenRequest: {3994 readonly sender: Compact<u32>;3995 readonly maxMessageSize: Compact<u32>;3996 readonly maxCapacity: Compact<u32>;3997 } & Struct;3998 readonly isHrmpChannelAccepted: boolean;3999 readonly asHrmpChannelAccepted: {4000 readonly recipient: Compact<u32>;4001 } & Struct;4002 readonly isHrmpChannelClosing: boolean;4003 readonly asHrmpChannelClosing: {4004 readonly initiator: Compact<u32>;4005 readonly sender: Compact<u32>;4006 readonly recipient: Compact<u32>;4007 } & Struct;4008 readonly isRelayedFrom: boolean;4009 readonly asRelayedFrom: {4010 readonly who: XcmV1MultilocationJunctions;4011 readonly message: XcmV1Xcm;4012 } & Struct;4013 readonly isSubscribeVersion: boolean;4014 readonly asSubscribeVersion: {4015 readonly queryId: Compact<u64>;4016 readonly maxResponseWeight: Compact<u64>;4017 } & Struct;4018 readonly isUnsubscribeVersion: boolean;4019 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';4020}40214022/** @name XcmV2Instruction */4023export interface XcmV2Instruction extends Enum {4024 readonly isWithdrawAsset: boolean;4025 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;4026 readonly isReserveAssetDeposited: boolean;4027 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;4028 readonly isReceiveTeleportedAsset: boolean;4029 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;4030 readonly isQueryResponse: boolean;4031 readonly asQueryResponse: {4032 readonly queryId: Compact<u64>;4033 readonly response: XcmV2Response;4034 readonly maxWeight: Compact<u64>;4035 } & Struct;4036 readonly isTransferAsset: boolean;4037 readonly asTransferAsset: {4038 readonly assets: XcmV1MultiassetMultiAssets;4039 readonly beneficiary: XcmV1MultiLocation;4040 } & Struct;4041 readonly isTransferReserveAsset: boolean;4042 readonly asTransferReserveAsset: {4043 readonly assets: XcmV1MultiassetMultiAssets;4044 readonly dest: XcmV1MultiLocation;4045 readonly xcm: XcmV2Xcm;4046 } & Struct;4047 readonly isTransact: boolean;4048 readonly asTransact: {4049 readonly originType: XcmV0OriginKind;4050 readonly requireWeightAtMost: Compact<u64>;4051 readonly call: XcmDoubleEncoded;4052 } & Struct;4053 readonly isHrmpNewChannelOpenRequest: boolean;4054 readonly asHrmpNewChannelOpenRequest: {4055 readonly sender: Compact<u32>;4056 readonly maxMessageSize: Compact<u32>;4057 readonly maxCapacity: Compact<u32>;4058 } & Struct;4059 readonly isHrmpChannelAccepted: boolean;4060 readonly asHrmpChannelAccepted: {4061 readonly recipient: Compact<u32>;4062 } & Struct;4063 readonly isHrmpChannelClosing: boolean;4064 readonly asHrmpChannelClosing: {4065 readonly initiator: Compact<u32>;4066 readonly sender: Compact<u32>;4067 readonly recipient: Compact<u32>;4068 } & Struct;4069 readonly isClearOrigin: boolean;4070 readonly isDescendOrigin: boolean;4071 readonly asDescendOrigin: XcmV1MultilocationJunctions;4072 readonly isReportError: boolean;4073 readonly asReportError: {4074 readonly queryId: Compact<u64>;4075 readonly dest: XcmV1MultiLocation;4076 readonly maxResponseWeight: Compact<u64>;4077 } & Struct;4078 readonly isDepositAsset: boolean;4079 readonly asDepositAsset: {4080 readonly assets: XcmV1MultiassetMultiAssetFilter;4081 readonly maxAssets: Compact<u32>;4082 readonly beneficiary: XcmV1MultiLocation;4083 } & Struct;4084 readonly isDepositReserveAsset: boolean;4085 readonly asDepositReserveAsset: {4086 readonly assets: XcmV1MultiassetMultiAssetFilter;4087 readonly maxAssets: Compact<u32>;4088 readonly dest: XcmV1MultiLocation;4089 readonly xcm: XcmV2Xcm;4090 } & Struct;4091 readonly isExchangeAsset: boolean;4092 readonly asExchangeAsset: {4093 readonly give: XcmV1MultiassetMultiAssetFilter;4094 readonly receive: XcmV1MultiassetMultiAssets;4095 } & Struct;4096 readonly isInitiateReserveWithdraw: boolean;4097 readonly asInitiateReserveWithdraw: {4098 readonly assets: XcmV1MultiassetMultiAssetFilter;4099 readonly reserve: XcmV1MultiLocation;4100 readonly xcm: XcmV2Xcm;4101 } & Struct;4102 readonly isInitiateTeleport: boolean;4103 readonly asInitiateTeleport: {4104 readonly assets: XcmV1MultiassetMultiAssetFilter;4105 readonly dest: XcmV1MultiLocation;4106 readonly xcm: XcmV2Xcm;4107 } & Struct;4108 readonly isQueryHolding: boolean;4109 readonly asQueryHolding: {4110 readonly queryId: Compact<u64>;4111 readonly dest: XcmV1MultiLocation;4112 readonly assets: XcmV1MultiassetMultiAssetFilter;4113 readonly maxResponseWeight: Compact<u64>;4114 } & Struct;4115 readonly isBuyExecution: boolean;4116 readonly asBuyExecution: {4117 readonly fees: XcmV1MultiAsset;4118 readonly weightLimit: XcmV2WeightLimit;4119 } & Struct;4120 readonly isRefundSurplus: boolean;4121 readonly isSetErrorHandler: boolean;4122 readonly asSetErrorHandler: XcmV2Xcm;4123 readonly isSetAppendix: boolean;4124 readonly asSetAppendix: XcmV2Xcm;4125 readonly isClearError: boolean;4126 readonly isClaimAsset: boolean;4127 readonly asClaimAsset: {4128 readonly assets: XcmV1MultiassetMultiAssets;4129 readonly ticket: XcmV1MultiLocation;4130 } & Struct;4131 readonly isTrap: boolean;4132 readonly asTrap: Compact<u64>;4133 readonly isSubscribeVersion: boolean;4134 readonly asSubscribeVersion: {4135 readonly queryId: Compact<u64>;4136 readonly maxResponseWeight: Compact<u64>;4137 } & Struct;4138 readonly isUnsubscribeVersion: boolean;4139 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';4140}41414142/** @name XcmV2Response */4143export interface XcmV2Response extends Enum {4144 readonly isNull: boolean;4145 readonly isAssets: boolean;4146 readonly asAssets: XcmV1MultiassetMultiAssets;4147 readonly isExecutionResult: boolean;4148 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;4149 readonly isVersion: boolean;4150 readonly asVersion: u32;4151 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';4152}41534154/** @name XcmV2TraitsError */4155export interface XcmV2TraitsError extends Enum {4156 readonly isOverflow: boolean;4157 readonly isUnimplemented: boolean;4158 readonly isUntrustedReserveLocation: boolean;4159 readonly isUntrustedTeleportLocation: boolean;4160 readonly isMultiLocationFull: boolean;4161 readonly isMultiLocationNotInvertible: boolean;4162 readonly isBadOrigin: boolean;4163 readonly isInvalidLocation: boolean;4164 readonly isAssetNotFound: boolean;4165 readonly isFailedToTransactAsset: boolean;4166 readonly isNotWithdrawable: boolean;4167 readonly isLocationCannotHold: boolean;4168 readonly isExceedsMaxMessageSize: boolean;4169 readonly isDestinationUnsupported: boolean;4170 readonly isTransport: boolean;4171 readonly isUnroutable: boolean;4172 readonly isUnknownClaim: boolean;4173 readonly isFailedToDecode: boolean;4174 readonly isMaxWeightInvalid: boolean;4175 readonly isNotHoldingFees: boolean;4176 readonly isTooExpensive: boolean;4177 readonly isTrap: boolean;4178 readonly asTrap: u64;4179 readonly isUnhandledXcmVersion: boolean;4180 readonly isWeightLimitReached: boolean;4181 readonly asWeightLimitReached: u64;4182 readonly isBarrier: boolean;4183 readonly isWeightNotComputable: boolean;4184 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';4185}41864187/** @name XcmV2TraitsOutcome */4188export interface XcmV2TraitsOutcome extends Enum {4189 readonly isComplete: boolean;4190 readonly asComplete: u64;4191 readonly isIncomplete: boolean;4192 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;4193 readonly isError: boolean;4194 readonly asError: XcmV2TraitsError;4195 readonly type: 'Complete' | 'Incomplete' | 'Error';4196}41974198/** @name XcmV2WeightLimit */4199export interface XcmV2WeightLimit extends Enum {4200 readonly isUnlimited: boolean;4201 readonly isLimited: boolean;4202 readonly asLimited: Compact<u64>;4203 readonly type: 'Unlimited' | 'Limited';4204}42054206/** @name XcmV2Xcm */4207export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}42084209/** @name XcmVersionedMultiAsset */4210export interface XcmVersionedMultiAsset extends Enum {4211 readonly isV0: boolean;4212 readonly asV0: XcmV0MultiAsset;4213 readonly isV1: boolean;4214 readonly asV1: XcmV1MultiAsset;4215 readonly type: 'V0' | 'V1';4216}42174218/** @name XcmVersionedMultiAssets */4219export interface XcmVersionedMultiAssets extends Enum {4220 readonly isV0: boolean;4221 readonly asV0: Vec<XcmV0MultiAsset>;4222 readonly isV1: boolean;4223 readonly asV1: XcmV1MultiassetMultiAssets;4224 readonly type: 'V0' | 'V1';4225}42264227/** @name XcmVersionedMultiLocation */4228export interface XcmVersionedMultiLocation extends Enum {4229 readonly isV0: boolean;4230 readonly asV0: XcmV0MultiLocation;4231 readonly isV1: boolean;4232 readonly asV1: XcmV1MultiLocation;4233 readonly type: 'V0' | 'V1';4234}42354236/** @name XcmVersionedXcm */4237export interface XcmVersionedXcm extends Enum {4238 readonly isV0: boolean;4239 readonly asV0: XcmV0Xcm;4240 readonly isV1: boolean;4241 readonly asV1: XcmV1Xcm;4242 readonly isV2: boolean;4243 readonly asV2: XcmV2Xcm;4244 readonly type: 'V0' | 'V1' | 'V2';4245}42464247export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { Data } from '@polkadot/types';5import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8import type { Event } from '@polkadot/types/interfaces/system';910/** @name CumulusPalletDmpQueueCall */11export interface CumulusPalletDmpQueueCall extends Enum {12 readonly isServiceOverweight: boolean;13 readonly asServiceOverweight: {14 readonly index: u64;15 readonly weightLimit: u64;16 } & Struct;17 readonly type: 'ServiceOverweight';18}1920/** @name CumulusPalletDmpQueueConfigData */21export interface CumulusPalletDmpQueueConfigData extends Struct {22 readonly maxIndividual: SpWeightsWeightV2Weight;23}2425/** @name CumulusPalletDmpQueueError */26export interface CumulusPalletDmpQueueError extends Enum {27 readonly isUnknown: boolean;28 readonly isOverLimit: boolean;29 readonly type: 'Unknown' | 'OverLimit';30}3132/** @name CumulusPalletDmpQueueEvent */33export interface CumulusPalletDmpQueueEvent extends Enum {34 readonly isInvalidFormat: boolean;35 readonly asInvalidFormat: {36 readonly messageId: U8aFixed;37 } & Struct;38 readonly isUnsupportedVersion: boolean;39 readonly asUnsupportedVersion: {40 readonly messageId: U8aFixed;41 } & Struct;42 readonly isExecutedDownward: boolean;43 readonly asExecutedDownward: {44 readonly messageId: U8aFixed;45 readonly outcome: XcmV2TraitsOutcome;46 } & Struct;47 readonly isWeightExhausted: boolean;48 readonly asWeightExhausted: {49 readonly messageId: U8aFixed;50 readonly remainingWeight: SpWeightsWeightV2Weight;51 readonly requiredWeight: SpWeightsWeightV2Weight;52 } & Struct;53 readonly isOverweightEnqueued: boolean;54 readonly asOverweightEnqueued: {55 readonly messageId: U8aFixed;56 readonly overweightIndex: u64;57 readonly requiredWeight: SpWeightsWeightV2Weight;58 } & Struct;59 readonly isOverweightServiced: boolean;60 readonly asOverweightServiced: {61 readonly overweightIndex: u64;62 readonly weightUsed: SpWeightsWeightV2Weight;63 } & Struct;64 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';65}6667/** @name CumulusPalletDmpQueuePageIndexData */68export interface CumulusPalletDmpQueuePageIndexData extends Struct {69 readonly beginUsed: u32;70 readonly endUsed: u32;71 readonly overweightCount: u64;72}7374/** @name CumulusPalletParachainSystemCall */75export interface CumulusPalletParachainSystemCall extends Enum {76 readonly isSetValidationData: boolean;77 readonly asSetValidationData: {78 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;79 } & Struct;80 readonly isSudoSendUpwardMessage: boolean;81 readonly asSudoSendUpwardMessage: {82 readonly message: Bytes;83 } & Struct;84 readonly isAuthorizeUpgrade: boolean;85 readonly asAuthorizeUpgrade: {86 readonly codeHash: H256;87 } & Struct;88 readonly isEnactAuthorizedUpgrade: boolean;89 readonly asEnactAuthorizedUpgrade: {90 readonly code: Bytes;91 } & Struct;92 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';93}9495/** @name CumulusPalletParachainSystemError */96export interface CumulusPalletParachainSystemError extends Enum {97 readonly isOverlappingUpgrades: boolean;98 readonly isProhibitedByPolkadot: boolean;99 readonly isTooBig: boolean;100 readonly isValidationDataNotAvailable: boolean;101 readonly isHostConfigurationNotAvailable: boolean;102 readonly isNotScheduled: boolean;103 readonly isNothingAuthorized: boolean;104 readonly isUnauthorized: boolean;105 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';106}107108/** @name CumulusPalletParachainSystemEvent */109export interface CumulusPalletParachainSystemEvent extends Enum {110 readonly isValidationFunctionStored: boolean;111 readonly isValidationFunctionApplied: boolean;112 readonly asValidationFunctionApplied: {113 readonly relayChainBlockNum: u32;114 } & Struct;115 readonly isValidationFunctionDiscarded: boolean;116 readonly isUpgradeAuthorized: boolean;117 readonly asUpgradeAuthorized: {118 readonly codeHash: H256;119 } & Struct;120 readonly isDownwardMessagesReceived: boolean;121 readonly asDownwardMessagesReceived: {122 readonly count: u32;123 } & Struct;124 readonly isDownwardMessagesProcessed: boolean;125 readonly asDownwardMessagesProcessed: {126 readonly weightUsed: SpWeightsWeightV2Weight;127 readonly dmqHead: H256;128 } & Struct;129 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';130}131132/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */133export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {134 readonly dmqMqcHead: H256;135 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;136 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;138}139140/** @name CumulusPalletXcmCall */141export interface CumulusPalletXcmCall extends Null {}142143/** @name CumulusPalletXcmError */144export interface CumulusPalletXcmError extends Null {}145146/** @name CumulusPalletXcmEvent */147export interface CumulusPalletXcmEvent extends Enum {148 readonly isInvalidFormat: boolean;149 readonly asInvalidFormat: U8aFixed;150 readonly isUnsupportedVersion: boolean;151 readonly asUnsupportedVersion: U8aFixed;152 readonly isExecutedDownward: boolean;153 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;154 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';155}156157/** @name CumulusPalletXcmpQueueCall */158export interface CumulusPalletXcmpQueueCall extends Enum {159 readonly isServiceOverweight: boolean;160 readonly asServiceOverweight: {161 readonly index: u64;162 readonly weightLimit: u64;163 } & Struct;164 readonly isSuspendXcmExecution: boolean;165 readonly isResumeXcmExecution: boolean;166 readonly isUpdateSuspendThreshold: boolean;167 readonly asUpdateSuspendThreshold: {168 readonly new_: u32;169 } & Struct;170 readonly isUpdateDropThreshold: boolean;171 readonly asUpdateDropThreshold: {172 readonly new_: u32;173 } & Struct;174 readonly isUpdateResumeThreshold: boolean;175 readonly asUpdateResumeThreshold: {176 readonly new_: u32;177 } & Struct;178 readonly isUpdateThresholdWeight: boolean;179 readonly asUpdateThresholdWeight: {180 readonly new_: u64;181 } & Struct;182 readonly isUpdateWeightRestrictDecay: boolean;183 readonly asUpdateWeightRestrictDecay: {184 readonly new_: u64;185 } & Struct;186 readonly isUpdateXcmpMaxIndividualWeight: boolean;187 readonly asUpdateXcmpMaxIndividualWeight: {188 readonly new_: u64;189 } & Struct;190 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';191}192193/** @name CumulusPalletXcmpQueueError */194export interface CumulusPalletXcmpQueueError extends Enum {195 readonly isFailedToSend: boolean;196 readonly isBadXcmOrigin: boolean;197 readonly isBadXcm: boolean;198 readonly isBadOverweightIndex: boolean;199 readonly isWeightOverLimit: boolean;200 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';201}202203/** @name CumulusPalletXcmpQueueEvent */204export interface CumulusPalletXcmpQueueEvent extends Enum {205 readonly isSuccess: boolean;206 readonly asSuccess: {207 readonly messageHash: Option<H256>;208 readonly weight: SpWeightsWeightV2Weight;209 } & Struct;210 readonly isFail: boolean;211 readonly asFail: {212 readonly messageHash: Option<H256>;213 readonly error: XcmV2TraitsError;214 readonly weight: SpWeightsWeightV2Weight;215 } & Struct;216 readonly isBadVersion: boolean;217 readonly asBadVersion: {218 readonly messageHash: Option<H256>;219 } & Struct;220 readonly isBadFormat: boolean;221 readonly asBadFormat: {222 readonly messageHash: Option<H256>;223 } & Struct;224 readonly isUpwardMessageSent: boolean;225 readonly asUpwardMessageSent: {226 readonly messageHash: Option<H256>;227 } & Struct;228 readonly isXcmpMessageSent: boolean;229 readonly asXcmpMessageSent: {230 readonly messageHash: Option<H256>;231 } & Struct;232 readonly isOverweightEnqueued: boolean;233 readonly asOverweightEnqueued: {234 readonly sender: u32;235 readonly sentAt: u32;236 readonly index: u64;237 readonly required: SpWeightsWeightV2Weight;238 } & Struct;239 readonly isOverweightServiced: boolean;240 readonly asOverweightServiced: {241 readonly index: u64;242 readonly used: SpWeightsWeightV2Weight;243 } & Struct;244 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';245}246247/** @name CumulusPalletXcmpQueueInboundChannelDetails */248export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {249 readonly sender: u32;250 readonly state: CumulusPalletXcmpQueueInboundState;251 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;252}253254/** @name CumulusPalletXcmpQueueInboundState */255export interface CumulusPalletXcmpQueueInboundState extends Enum {256 readonly isOk: boolean;257 readonly isSuspended: boolean;258 readonly type: 'Ok' | 'Suspended';259}260261/** @name CumulusPalletXcmpQueueOutboundChannelDetails */262export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {263 readonly recipient: u32;264 readonly state: CumulusPalletXcmpQueueOutboundState;265 readonly signalsExist: bool;266 readonly firstIndex: u16;267 readonly lastIndex: u16;268}269270/** @name CumulusPalletXcmpQueueOutboundState */271export interface CumulusPalletXcmpQueueOutboundState extends Enum {272 readonly isOk: boolean;273 readonly isSuspended: boolean;274 readonly type: 'Ok' | 'Suspended';275}276277/** @name CumulusPalletXcmpQueueQueueConfigData */278export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {279 readonly suspendThreshold: u32;280 readonly dropThreshold: u32;281 readonly resumeThreshold: u32;282 readonly thresholdWeight: SpWeightsWeightV2Weight;283 readonly weightRestrictDecay: SpWeightsWeightV2Weight;284 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;285}286287/** @name CumulusPrimitivesParachainInherentParachainInherentData */288export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {289 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;290 readonly relayChainState: SpTrieStorageProof;291 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;292 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;293}294295/** @name EthbloomBloom */296export interface EthbloomBloom extends U8aFixed {}297298/** @name EthereumBlock */299export interface EthereumBlock extends Struct {300 readonly header: EthereumHeader;301 readonly transactions: Vec<EthereumTransactionTransactionV2>;302 readonly ommers: Vec<EthereumHeader>;303}304305/** @name EthereumHeader */306export interface EthereumHeader extends Struct {307 readonly parentHash: H256;308 readonly ommersHash: H256;309 readonly beneficiary: H160;310 readonly stateRoot: H256;311 readonly transactionsRoot: H256;312 readonly receiptsRoot: H256;313 readonly logsBloom: EthbloomBloom;314 readonly difficulty: U256;315 readonly number: U256;316 readonly gasLimit: U256;317 readonly gasUsed: U256;318 readonly timestamp: u64;319 readonly extraData: Bytes;320 readonly mixHash: H256;321 readonly nonce: EthereumTypesHashH64;322}323324/** @name EthereumLog */325export interface EthereumLog extends Struct {326 readonly address: H160;327 readonly topics: Vec<H256>;328 readonly data: Bytes;329}330331/** @name EthereumReceiptEip658ReceiptData */332export interface EthereumReceiptEip658ReceiptData extends Struct {333 readonly statusCode: u8;334 readonly usedGas: U256;335 readonly logsBloom: EthbloomBloom;336 readonly logs: Vec<EthereumLog>;337}338339/** @name EthereumReceiptReceiptV3 */340export interface EthereumReceiptReceiptV3 extends Enum {341 readonly isLegacy: boolean;342 readonly asLegacy: EthereumReceiptEip658ReceiptData;343 readonly isEip2930: boolean;344 readonly asEip2930: EthereumReceiptEip658ReceiptData;345 readonly isEip1559: boolean;346 readonly asEip1559: EthereumReceiptEip658ReceiptData;347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';348}349350/** @name EthereumTransactionAccessListItem */351export interface EthereumTransactionAccessListItem extends Struct {352 readonly address: H160;353 readonly storageKeys: Vec<H256>;354}355356/** @name EthereumTransactionEip1559Transaction */357export interface EthereumTransactionEip1559Transaction extends Struct {358 readonly chainId: u64;359 readonly nonce: U256;360 readonly maxPriorityFeePerGas: U256;361 readonly maxFeePerGas: U256;362 readonly gasLimit: U256;363 readonly action: EthereumTransactionTransactionAction;364 readonly value: U256;365 readonly input: Bytes;366 readonly accessList: Vec<EthereumTransactionAccessListItem>;367 readonly oddYParity: bool;368 readonly r: H256;369 readonly s: H256;370}371372/** @name EthereumTransactionEip2930Transaction */373export interface EthereumTransactionEip2930Transaction extends Struct {374 readonly chainId: u64;375 readonly nonce: U256;376 readonly gasPrice: U256;377 readonly gasLimit: U256;378 readonly action: EthereumTransactionTransactionAction;379 readonly value: U256;380 readonly input: Bytes;381 readonly accessList: Vec<EthereumTransactionAccessListItem>;382 readonly oddYParity: bool;383 readonly r: H256;384 readonly s: H256;385}386387/** @name EthereumTransactionLegacyTransaction */388export interface EthereumTransactionLegacyTransaction extends Struct {389 readonly nonce: U256;390 readonly gasPrice: U256;391 readonly gasLimit: U256;392 readonly action: EthereumTransactionTransactionAction;393 readonly value: U256;394 readonly input: Bytes;395 readonly signature: EthereumTransactionTransactionSignature;396}397398/** @name EthereumTransactionTransactionAction */399export interface EthereumTransactionTransactionAction extends Enum {400 readonly isCall: boolean;401 readonly asCall: H160;402 readonly isCreate: boolean;403 readonly type: 'Call' | 'Create';404}405406/** @name EthereumTransactionTransactionSignature */407export interface EthereumTransactionTransactionSignature extends Struct {408 readonly v: u64;409 readonly r: H256;410 readonly s: H256;411}412413/** @name EthereumTransactionTransactionV2 */414export interface EthereumTransactionTransactionV2 extends Enum {415 readonly isLegacy: boolean;416 readonly asLegacy: EthereumTransactionLegacyTransaction;417 readonly isEip2930: boolean;418 readonly asEip2930: EthereumTransactionEip2930Transaction;419 readonly isEip1559: boolean;420 readonly asEip1559: EthereumTransactionEip1559Transaction;421 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';422}423424/** @name EthereumTypesHashH64 */425export interface EthereumTypesHashH64 extends U8aFixed {}426427/** @name EvmCoreErrorExitError */428export interface EvmCoreErrorExitError extends Enum {429 readonly isStackUnderflow: boolean;430 readonly isStackOverflow: boolean;431 readonly isInvalidJump: boolean;432 readonly isInvalidRange: boolean;433 readonly isDesignatedInvalid: boolean;434 readonly isCallTooDeep: boolean;435 readonly isCreateCollision: boolean;436 readonly isCreateContractLimit: boolean;437 readonly isOutOfOffset: boolean;438 readonly isOutOfGas: boolean;439 readonly isOutOfFund: boolean;440 readonly isPcUnderflow: boolean;441 readonly isCreateEmpty: boolean;442 readonly isOther: boolean;443 readonly asOther: Text;444 readonly isInvalidCode: boolean;445 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';446}447448/** @name EvmCoreErrorExitFatal */449export interface EvmCoreErrorExitFatal extends Enum {450 readonly isNotSupported: boolean;451 readonly isUnhandledInterrupt: boolean;452 readonly isCallErrorAsFatal: boolean;453 readonly asCallErrorAsFatal: EvmCoreErrorExitError;454 readonly isOther: boolean;455 readonly asOther: Text;456 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';457}458459/** @name EvmCoreErrorExitReason */460export interface EvmCoreErrorExitReason extends Enum {461 readonly isSucceed: boolean;462 readonly asSucceed: EvmCoreErrorExitSucceed;463 readonly isError: boolean;464 readonly asError: EvmCoreErrorExitError;465 readonly isRevert: boolean;466 readonly asRevert: EvmCoreErrorExitRevert;467 readonly isFatal: boolean;468 readonly asFatal: EvmCoreErrorExitFatal;469 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';470}471472/** @name EvmCoreErrorExitRevert */473export interface EvmCoreErrorExitRevert extends Enum {474 readonly isReverted: boolean;475 readonly type: 'Reverted';476}477478/** @name EvmCoreErrorExitSucceed */479export interface EvmCoreErrorExitSucceed extends Enum {480 readonly isStopped: boolean;481 readonly isReturned: boolean;482 readonly isSuicided: boolean;483 readonly type: 'Stopped' | 'Returned' | 'Suicided';484}485486/** @name FpRpcTransactionStatus */487export interface FpRpcTransactionStatus extends Struct {488 readonly transactionHash: H256;489 readonly transactionIndex: u32;490 readonly from: H160;491 readonly to: Option<H160>;492 readonly contractAddress: Option<H160>;493 readonly logs: Vec<EthereumLog>;494 readonly logsBloom: EthbloomBloom;495}496497/** @name FrameSupportDispatchDispatchClass */498export interface FrameSupportDispatchDispatchClass extends Enum {499 readonly isNormal: boolean;500 readonly isOperational: boolean;501 readonly isMandatory: boolean;502 readonly type: 'Normal' | 'Operational' | 'Mandatory';503}504505/** @name FrameSupportDispatchDispatchInfo */506export interface FrameSupportDispatchDispatchInfo extends Struct {507 readonly weight: SpWeightsWeightV2Weight;508 readonly class: FrameSupportDispatchDispatchClass;509 readonly paysFee: FrameSupportDispatchPays;510}511512/** @name FrameSupportDispatchPays */513export interface FrameSupportDispatchPays extends Enum {514 readonly isYes: boolean;515 readonly isNo: boolean;516 readonly type: 'Yes' | 'No';517}518519/** @name FrameSupportDispatchPerDispatchClassU32 */520export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {521 readonly normal: u32;522 readonly operational: u32;523 readonly mandatory: u32;524}525526/** @name FrameSupportDispatchPerDispatchClassWeight */527export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {528 readonly normal: SpWeightsWeightV2Weight;529 readonly operational: SpWeightsWeightV2Weight;530 readonly mandatory: SpWeightsWeightV2Weight;531}532533/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */534export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {535 readonly normal: FrameSystemLimitsWeightsPerClass;536 readonly operational: FrameSystemLimitsWeightsPerClass;537 readonly mandatory: FrameSystemLimitsWeightsPerClass;538}539540/** @name FrameSupportPalletId */541export interface FrameSupportPalletId extends U8aFixed {}542543/** @name FrameSupportTokensMiscBalanceStatus */544export interface FrameSupportTokensMiscBalanceStatus extends Enum {545 readonly isFree: boolean;546 readonly isReserved: boolean;547 readonly type: 'Free' | 'Reserved';548}549550/** @name FrameSystemAccountInfo */551export interface FrameSystemAccountInfo extends Struct {552 readonly nonce: u32;553 readonly consumers: u32;554 readonly providers: u32;555 readonly sufficients: u32;556 readonly data: PalletBalancesAccountData;557}558559/** @name FrameSystemCall */560export interface FrameSystemCall extends Enum {561 readonly isRemark: boolean;562 readonly asRemark: {563 readonly remark: Bytes;564 } & Struct;565 readonly isSetHeapPages: boolean;566 readonly asSetHeapPages: {567 readonly pages: u64;568 } & Struct;569 readonly isSetCode: boolean;570 readonly asSetCode: {571 readonly code: Bytes;572 } & Struct;573 readonly isSetCodeWithoutChecks: boolean;574 readonly asSetCodeWithoutChecks: {575 readonly code: Bytes;576 } & Struct;577 readonly isSetStorage: boolean;578 readonly asSetStorage: {579 readonly items: Vec<ITuple<[Bytes, Bytes]>>;580 } & Struct;581 readonly isKillStorage: boolean;582 readonly asKillStorage: {583 readonly keys_: Vec<Bytes>;584 } & Struct;585 readonly isKillPrefix: boolean;586 readonly asKillPrefix: {587 readonly prefix: Bytes;588 readonly subkeys: u32;589 } & Struct;590 readonly isRemarkWithEvent: boolean;591 readonly asRemarkWithEvent: {592 readonly remark: Bytes;593 } & Struct;594 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';595}596597/** @name FrameSystemError */598export interface FrameSystemError extends Enum {599 readonly isInvalidSpecName: boolean;600 readonly isSpecVersionNeedsToIncrease: boolean;601 readonly isFailedToExtractRuntimeVersion: boolean;602 readonly isNonDefaultComposite: boolean;603 readonly isNonZeroRefCount: boolean;604 readonly isCallFiltered: boolean;605 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';606}607608/** @name FrameSystemEvent */609export interface FrameSystemEvent extends Enum {610 readonly isExtrinsicSuccess: boolean;611 readonly asExtrinsicSuccess: {612 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;613 } & Struct;614 readonly isExtrinsicFailed: boolean;615 readonly asExtrinsicFailed: {616 readonly dispatchError: SpRuntimeDispatchError;617 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;618 } & Struct;619 readonly isCodeUpdated: boolean;620 readonly isNewAccount: boolean;621 readonly asNewAccount: {622 readonly account: AccountId32;623 } & Struct;624 readonly isKilledAccount: boolean;625 readonly asKilledAccount: {626 readonly account: AccountId32;627 } & Struct;628 readonly isRemarked: boolean;629 readonly asRemarked: {630 readonly sender: AccountId32;631 readonly hash_: H256;632 } & Struct;633 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';634}635636/** @name FrameSystemEventRecord */637export interface FrameSystemEventRecord extends Struct {638 readonly phase: FrameSystemPhase;639 readonly event: Event;640 readonly topics: Vec<H256>;641}642643/** @name FrameSystemExtensionsCheckGenesis */644export interface FrameSystemExtensionsCheckGenesis extends Null {}645646/** @name FrameSystemExtensionsCheckNonce */647export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}648649/** @name FrameSystemExtensionsCheckSpecVersion */650export interface FrameSystemExtensionsCheckSpecVersion extends Null {}651652/** @name FrameSystemExtensionsCheckTxVersion */653export interface FrameSystemExtensionsCheckTxVersion extends Null {}654655/** @name FrameSystemExtensionsCheckWeight */656export interface FrameSystemExtensionsCheckWeight extends Null {}657658/** @name FrameSystemLastRuntimeUpgradeInfo */659export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {660 readonly specVersion: Compact<u32>;661 readonly specName: Text;662}663664/** @name FrameSystemLimitsBlockLength */665export interface FrameSystemLimitsBlockLength extends Struct {666 readonly max: FrameSupportDispatchPerDispatchClassU32;667}668669/** @name FrameSystemLimitsBlockWeights */670export interface FrameSystemLimitsBlockWeights extends Struct {671 readonly baseBlock: SpWeightsWeightV2Weight;672 readonly maxBlock: SpWeightsWeightV2Weight;673 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;674}675676/** @name FrameSystemLimitsWeightsPerClass */677export interface FrameSystemLimitsWeightsPerClass extends Struct {678 readonly baseExtrinsic: SpWeightsWeightV2Weight;679 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;680 readonly maxTotal: Option<SpWeightsWeightV2Weight>;681 readonly reserved: Option<SpWeightsWeightV2Weight>;682}683684/** @name FrameSystemPhase */685export interface FrameSystemPhase extends Enum {686 readonly isApplyExtrinsic: boolean;687 readonly asApplyExtrinsic: u32;688 readonly isFinalization: boolean;689 readonly isInitialization: boolean;690 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';691}692693/** @name OpalRuntimeRuntime */694export interface OpalRuntimeRuntime extends Null {}695696/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */697export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}698699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}701702/** @name OpalRuntimeRuntimeCommonSessionKeys */703export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {704 readonly aura: SpConsensusAuraSr25519AppSr25519Public;705}706707/** @name OrmlTokensAccountData */708export interface OrmlTokensAccountData extends Struct {709 readonly free: u128;710 readonly reserved: u128;711 readonly frozen: u128;712}713714/** @name OrmlTokensBalanceLock */715export interface OrmlTokensBalanceLock extends Struct {716 readonly id: U8aFixed;717 readonly amount: u128;718}719720/** @name OrmlTokensModuleCall */721export interface OrmlTokensModuleCall extends Enum {722 readonly isTransfer: boolean;723 readonly asTransfer: {724 readonly dest: MultiAddress;725 readonly currencyId: PalletForeignAssetsAssetIds;726 readonly amount: Compact<u128>;727 } & Struct;728 readonly isTransferAll: boolean;729 readonly asTransferAll: {730 readonly dest: MultiAddress;731 readonly currencyId: PalletForeignAssetsAssetIds;732 readonly keepAlive: bool;733 } & Struct;734 readonly isTransferKeepAlive: boolean;735 readonly asTransferKeepAlive: {736 readonly dest: MultiAddress;737 readonly currencyId: PalletForeignAssetsAssetIds;738 readonly amount: Compact<u128>;739 } & Struct;740 readonly isForceTransfer: boolean;741 readonly asForceTransfer: {742 readonly source: MultiAddress;743 readonly dest: MultiAddress;744 readonly currencyId: PalletForeignAssetsAssetIds;745 readonly amount: Compact<u128>;746 } & Struct;747 readonly isSetBalance: boolean;748 readonly asSetBalance: {749 readonly who: MultiAddress;750 readonly currencyId: PalletForeignAssetsAssetIds;751 readonly newFree: Compact<u128>;752 readonly newReserved: Compact<u128>;753 } & Struct;754 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';755}756757/** @name OrmlTokensModuleError */758export interface OrmlTokensModuleError extends Enum {759 readonly isBalanceTooLow: boolean;760 readonly isAmountIntoBalanceFailed: boolean;761 readonly isLiquidityRestrictions: boolean;762 readonly isMaxLocksExceeded: boolean;763 readonly isKeepAlive: boolean;764 readonly isExistentialDeposit: boolean;765 readonly isDeadAccount: boolean;766 readonly isTooManyReserves: boolean;767 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';768}769770/** @name OrmlTokensModuleEvent */771export interface OrmlTokensModuleEvent extends Enum {772 readonly isEndowed: boolean;773 readonly asEndowed: {774 readonly currencyId: PalletForeignAssetsAssetIds;775 readonly who: AccountId32;776 readonly amount: u128;777 } & Struct;778 readonly isDustLost: boolean;779 readonly asDustLost: {780 readonly currencyId: PalletForeignAssetsAssetIds;781 readonly who: AccountId32;782 readonly amount: u128;783 } & Struct;784 readonly isTransfer: boolean;785 readonly asTransfer: {786 readonly currencyId: PalletForeignAssetsAssetIds;787 readonly from: AccountId32;788 readonly to: AccountId32;789 readonly amount: u128;790 } & Struct;791 readonly isReserved: boolean;792 readonly asReserved: {793 readonly currencyId: PalletForeignAssetsAssetIds;794 readonly who: AccountId32;795 readonly amount: u128;796 } & Struct;797 readonly isUnreserved: boolean;798 readonly asUnreserved: {799 readonly currencyId: PalletForeignAssetsAssetIds;800 readonly who: AccountId32;801 readonly amount: u128;802 } & Struct;803 readonly isReserveRepatriated: boolean;804 readonly asReserveRepatriated: {805 readonly currencyId: PalletForeignAssetsAssetIds;806 readonly from: AccountId32;807 readonly to: AccountId32;808 readonly amount: u128;809 readonly status: FrameSupportTokensMiscBalanceStatus;810 } & Struct;811 readonly isBalanceSet: boolean;812 readonly asBalanceSet: {813 readonly currencyId: PalletForeignAssetsAssetIds;814 readonly who: AccountId32;815 readonly free: u128;816 readonly reserved: u128;817 } & Struct;818 readonly isTotalIssuanceSet: boolean;819 readonly asTotalIssuanceSet: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly amount: u128;822 } & Struct;823 readonly isWithdrawn: boolean;824 readonly asWithdrawn: {825 readonly currencyId: PalletForeignAssetsAssetIds;826 readonly who: AccountId32;827 readonly amount: u128;828 } & Struct;829 readonly isSlashed: boolean;830 readonly asSlashed: {831 readonly currencyId: PalletForeignAssetsAssetIds;832 readonly who: AccountId32;833 readonly freeAmount: u128;834 readonly reservedAmount: u128;835 } & Struct;836 readonly isDeposited: boolean;837 readonly asDeposited: {838 readonly currencyId: PalletForeignAssetsAssetIds;839 readonly who: AccountId32;840 readonly amount: u128;841 } & Struct;842 readonly isLockSet: boolean;843 readonly asLockSet: {844 readonly lockId: U8aFixed;845 readonly currencyId: PalletForeignAssetsAssetIds;846 readonly who: AccountId32;847 readonly amount: u128;848 } & Struct;849 readonly isLockRemoved: boolean;850 readonly asLockRemoved: {851 readonly lockId: U8aFixed;852 readonly currencyId: PalletForeignAssetsAssetIds;853 readonly who: AccountId32;854 } & Struct;855 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';856}857858/** @name OrmlTokensReserveData */859export interface OrmlTokensReserveData extends Struct {860 readonly id: Null;861 readonly amount: u128;862}863864/** @name OrmlVestingModuleCall */865export interface OrmlVestingModuleCall extends Enum {866 readonly isClaim: boolean;867 readonly isVestedTransfer: boolean;868 readonly asVestedTransfer: {869 readonly dest: MultiAddress;870 readonly schedule: OrmlVestingVestingSchedule;871 } & Struct;872 readonly isUpdateVestingSchedules: boolean;873 readonly asUpdateVestingSchedules: {874 readonly who: MultiAddress;875 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;876 } & Struct;877 readonly isClaimFor: boolean;878 readonly asClaimFor: {879 readonly dest: MultiAddress;880 } & Struct;881 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';882}883884/** @name OrmlVestingModuleError */885export interface OrmlVestingModuleError extends Enum {886 readonly isZeroVestingPeriod: boolean;887 readonly isZeroVestingPeriodCount: boolean;888 readonly isInsufficientBalanceToLock: boolean;889 readonly isTooManyVestingSchedules: boolean;890 readonly isAmountLow: boolean;891 readonly isMaxVestingSchedulesExceeded: boolean;892 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';893}894895/** @name OrmlVestingModuleEvent */896export interface OrmlVestingModuleEvent extends Enum {897 readonly isVestingScheduleAdded: boolean;898 readonly asVestingScheduleAdded: {899 readonly from: AccountId32;900 readonly to: AccountId32;901 readonly vestingSchedule: OrmlVestingVestingSchedule;902 } & Struct;903 readonly isClaimed: boolean;904 readonly asClaimed: {905 readonly who: AccountId32;906 readonly amount: u128;907 } & Struct;908 readonly isVestingSchedulesUpdated: boolean;909 readonly asVestingSchedulesUpdated: {910 readonly who: AccountId32;911 } & Struct;912 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';913}914915/** @name OrmlVestingVestingSchedule */916export interface OrmlVestingVestingSchedule extends Struct {917 readonly start: u32;918 readonly period: u32;919 readonly periodCount: u32;920 readonly perPeriod: Compact<u128>;921}922923/** @name OrmlXtokensModuleCall */924export interface OrmlXtokensModuleCall extends Enum {925 readonly isTransfer: boolean;926 readonly asTransfer: {927 readonly currencyId: PalletForeignAssetsAssetIds;928 readonly amount: u128;929 readonly dest: XcmVersionedMultiLocation;930 readonly destWeightLimit: XcmV2WeightLimit;931 } & Struct;932 readonly isTransferMultiasset: boolean;933 readonly asTransferMultiasset: {934 readonly asset: XcmVersionedMultiAsset;935 readonly dest: XcmVersionedMultiLocation;936 readonly destWeightLimit: XcmV2WeightLimit;937 } & Struct;938 readonly isTransferWithFee: boolean;939 readonly asTransferWithFee: {940 readonly currencyId: PalletForeignAssetsAssetIds;941 readonly amount: u128;942 readonly fee: u128;943 readonly dest: XcmVersionedMultiLocation;944 readonly destWeightLimit: XcmV2WeightLimit;945 } & Struct;946 readonly isTransferMultiassetWithFee: boolean;947 readonly asTransferMultiassetWithFee: {948 readonly asset: XcmVersionedMultiAsset;949 readonly fee: XcmVersionedMultiAsset;950 readonly dest: XcmVersionedMultiLocation;951 readonly destWeightLimit: XcmV2WeightLimit;952 } & Struct;953 readonly isTransferMulticurrencies: boolean;954 readonly asTransferMulticurrencies: {955 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;956 readonly feeItem: u32;957 readonly dest: XcmVersionedMultiLocation;958 readonly destWeightLimit: XcmV2WeightLimit;959 } & Struct;960 readonly isTransferMultiassets: boolean;961 readonly asTransferMultiassets: {962 readonly assets: XcmVersionedMultiAssets;963 readonly feeItem: u32;964 readonly dest: XcmVersionedMultiLocation;965 readonly destWeightLimit: XcmV2WeightLimit;966 } & Struct;967 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';968}969970/** @name OrmlXtokensModuleError */971export interface OrmlXtokensModuleError extends Enum {972 readonly isAssetHasNoReserve: boolean;973 readonly isNotCrossChainTransfer: boolean;974 readonly isInvalidDest: boolean;975 readonly isNotCrossChainTransferableCurrency: boolean;976 readonly isUnweighableMessage: boolean;977 readonly isXcmExecutionFailed: boolean;978 readonly isCannotReanchor: boolean;979 readonly isInvalidAncestry: boolean;980 readonly isInvalidAsset: boolean;981 readonly isDestinationNotInvertible: boolean;982 readonly isBadVersion: boolean;983 readonly isDistinctReserveForAssetAndFee: boolean;984 readonly isZeroFee: boolean;985 readonly isZeroAmount: boolean;986 readonly isTooManyAssetsBeingSent: boolean;987 readonly isAssetIndexNonExistent: boolean;988 readonly isFeeNotEnough: boolean;989 readonly isNotSupportedMultiLocation: boolean;990 readonly isMinXcmFeeNotDefined: boolean;991 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';992}993994/** @name OrmlXtokensModuleEvent */995export interface OrmlXtokensModuleEvent extends Enum {996 readonly isTransferredMultiAssets: boolean;997 readonly asTransferredMultiAssets: {998 readonly sender: AccountId32;999 readonly assets: XcmV1MultiassetMultiAssets;1000 readonly fee: XcmV1MultiAsset;1001 readonly dest: XcmV1MultiLocation;1002 } & Struct;1003 readonly type: 'TransferredMultiAssets';1004}10051006/** @name PalletAppPromotionCall */1007export interface PalletAppPromotionCall extends Enum {1008 readonly isSetAdminAddress: boolean;1009 readonly asSetAdminAddress: {1010 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1011 } & Struct;1012 readonly isStake: boolean;1013 readonly asStake: {1014 readonly amount: u128;1015 } & Struct;1016 readonly isUnstake: boolean;1017 readonly isSponsorCollection: boolean;1018 readonly asSponsorCollection: {1019 readonly collectionId: u32;1020 } & Struct;1021 readonly isStopSponsoringCollection: boolean;1022 readonly asStopSponsoringCollection: {1023 readonly collectionId: u32;1024 } & Struct;1025 readonly isSponsorContract: boolean;1026 readonly asSponsorContract: {1027 readonly contractId: H160;1028 } & Struct;1029 readonly isStopSponsoringContract: boolean;1030 readonly asStopSponsoringContract: {1031 readonly contractId: H160;1032 } & Struct;1033 readonly isPayoutStakers: boolean;1034 readonly asPayoutStakers: {1035 readonly stakersNumber: Option<u8>;1036 } & Struct;1037 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1038}10391040/** @name PalletAppPromotionError */1041export interface PalletAppPromotionError extends Enum {1042 readonly isAdminNotSet: boolean;1043 readonly isNoPermission: boolean;1044 readonly isNotSufficientFunds: boolean;1045 readonly isPendingForBlockOverflow: boolean;1046 readonly isSponsorNotSet: boolean;1047 readonly isIncorrectLockedBalanceOperation: boolean;1048 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1049}10501051/** @name PalletAppPromotionEvent */1052export interface PalletAppPromotionEvent extends Enum {1053 readonly isStakingRecalculation: boolean;1054 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1055 readonly isStake: boolean;1056 readonly asStake: ITuple<[AccountId32, u128]>;1057 readonly isUnstake: boolean;1058 readonly asUnstake: ITuple<[AccountId32, u128]>;1059 readonly isSetAdmin: boolean;1060 readonly asSetAdmin: AccountId32;1061 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1062}10631064/** @name PalletAuthorshipCall */1065export interface PalletAuthorshipCall extends Enum {1066 readonly isSetUncles: boolean;1067 readonly asSetUncles: {1068 readonly newUncles: Vec<SpRuntimeHeader>;1069 } & Struct;1070 readonly type: 'SetUncles';1071}10721073/** @name PalletAuthorshipError */1074export interface PalletAuthorshipError extends Enum {1075 readonly isInvalidUncleParent: boolean;1076 readonly isUnclesAlreadySet: boolean;1077 readonly isTooManyUncles: boolean;1078 readonly isGenesisUncle: boolean;1079 readonly isTooHighUncle: boolean;1080 readonly isUncleAlreadyIncluded: boolean;1081 readonly isOldUncle: boolean;1082 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1083}10841085/** @name PalletAuthorshipUncleEntryItem */1086export interface PalletAuthorshipUncleEntryItem extends Enum {1087 readonly isInclusionHeight: boolean;1088 readonly asInclusionHeight: u32;1089 readonly isUncle: boolean;1090 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1091 readonly type: 'InclusionHeight' | 'Uncle';1092}10931094/** @name PalletBalancesAccountData */1095export interface PalletBalancesAccountData extends Struct {1096 readonly free: u128;1097 readonly reserved: u128;1098 readonly miscFrozen: u128;1099 readonly feeFrozen: u128;1100}11011102/** @name PalletBalancesBalanceLock */1103export interface PalletBalancesBalanceLock extends Struct {1104 readonly id: U8aFixed;1105 readonly amount: u128;1106 readonly reasons: PalletBalancesReasons;1107}11081109/** @name PalletBalancesCall */1110export interface PalletBalancesCall extends Enum {1111 readonly isTransfer: boolean;1112 readonly asTransfer: {1113 readonly dest: MultiAddress;1114 readonly value: Compact<u128>;1115 } & Struct;1116 readonly isSetBalance: boolean;1117 readonly asSetBalance: {1118 readonly who: MultiAddress;1119 readonly newFree: Compact<u128>;1120 readonly newReserved: Compact<u128>;1121 } & Struct;1122 readonly isForceTransfer: boolean;1123 readonly asForceTransfer: {1124 readonly source: MultiAddress;1125 readonly dest: MultiAddress;1126 readonly value: Compact<u128>;1127 } & Struct;1128 readonly isTransferKeepAlive: boolean;1129 readonly asTransferKeepAlive: {1130 readonly dest: MultiAddress;1131 readonly value: Compact<u128>;1132 } & Struct;1133 readonly isTransferAll: boolean;1134 readonly asTransferAll: {1135 readonly dest: MultiAddress;1136 readonly keepAlive: bool;1137 } & Struct;1138 readonly isForceUnreserve: boolean;1139 readonly asForceUnreserve: {1140 readonly who: MultiAddress;1141 readonly amount: u128;1142 } & Struct;1143 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1144}11451146/** @name PalletBalancesError */1147export interface PalletBalancesError extends Enum {1148 readonly isVestingBalance: boolean;1149 readonly isLiquidityRestrictions: boolean;1150 readonly isInsufficientBalance: boolean;1151 readonly isExistentialDeposit: boolean;1152 readonly isKeepAlive: boolean;1153 readonly isExistingVestingSchedule: boolean;1154 readonly isDeadAccount: boolean;1155 readonly isTooManyReserves: boolean;1156 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1157}11581159/** @name PalletBalancesEvent */1160export interface PalletBalancesEvent extends Enum {1161 readonly isEndowed: boolean;1162 readonly asEndowed: {1163 readonly account: AccountId32;1164 readonly freeBalance: u128;1165 } & Struct;1166 readonly isDustLost: boolean;1167 readonly asDustLost: {1168 readonly account: AccountId32;1169 readonly amount: u128;1170 } & Struct;1171 readonly isTransfer: boolean;1172 readonly asTransfer: {1173 readonly from: AccountId32;1174 readonly to: AccountId32;1175 readonly amount: u128;1176 } & Struct;1177 readonly isBalanceSet: boolean;1178 readonly asBalanceSet: {1179 readonly who: AccountId32;1180 readonly free: u128;1181 readonly reserved: u128;1182 } & Struct;1183 readonly isReserved: boolean;1184 readonly asReserved: {1185 readonly who: AccountId32;1186 readonly amount: u128;1187 } & Struct;1188 readonly isUnreserved: boolean;1189 readonly asUnreserved: {1190 readonly who: AccountId32;1191 readonly amount: u128;1192 } & Struct;1193 readonly isReserveRepatriated: boolean;1194 readonly asReserveRepatriated: {1195 readonly from: AccountId32;1196 readonly to: AccountId32;1197 readonly amount: u128;1198 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1199 } & Struct;1200 readonly isDeposit: boolean;1201 readonly asDeposit: {1202 readonly who: AccountId32;1203 readonly amount: u128;1204 } & Struct;1205 readonly isWithdraw: boolean;1206 readonly asWithdraw: {1207 readonly who: AccountId32;1208 readonly amount: u128;1209 } & Struct;1210 readonly isSlashed: boolean;1211 readonly asSlashed: {1212 readonly who: AccountId32;1213 readonly amount: u128;1214 } & Struct;1215 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1216}12171218/** @name PalletBalancesReasons */1219export interface PalletBalancesReasons extends Enum {1220 readonly isFee: boolean;1221 readonly isMisc: boolean;1222 readonly isAll: boolean;1223 readonly type: 'Fee' | 'Misc' | 'All';1224}12251226/** @name PalletBalancesReserveData */1227export interface PalletBalancesReserveData extends Struct {1228 readonly id: U8aFixed;1229 readonly amount: u128;1230}12311232/** @name PalletCollatorSelectionCall */1233export interface PalletCollatorSelectionCall extends Enum {1234 readonly isAddInvulnerable: boolean;1235 readonly asAddInvulnerable: {1236 readonly new_: AccountId32;1237 } & Struct;1238 readonly isRemoveInvulnerable: boolean;1239 readonly asRemoveInvulnerable: {1240 readonly who: AccountId32;1241 } & Struct;1242 readonly isGetLicense: boolean;1243 readonly isOnboard: boolean;1244 readonly isOffboard: boolean;1245 readonly isReleaseLicense: boolean;1246 readonly isForceReleaseLicense: boolean;1247 readonly asForceReleaseLicense: {1248 readonly who: AccountId32;1249 } & Struct;1250 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';1251}12521253/** @name PalletCollatorSelectionError */1254export interface PalletCollatorSelectionError extends Enum {1255 readonly isTooManyCandidates: boolean;1256 readonly isUnknown: boolean;1257 readonly isPermission: boolean;1258 readonly isAlreadyHoldingLicense: boolean;1259 readonly isNoLicense: boolean;1260 readonly isAlreadyCandidate: boolean;1261 readonly isNotCandidate: boolean;1262 readonly isTooManyInvulnerables: boolean;1263 readonly isTooFewInvulnerables: boolean;1264 readonly isAlreadyInvulnerable: boolean;1265 readonly isNotInvulnerable: boolean;1266 readonly isNoAssociatedValidatorId: boolean;1267 readonly isValidatorNotRegistered: boolean;1268 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1269}12701271/** @name PalletCollatorSelectionEvent */1272export interface PalletCollatorSelectionEvent extends Enum {1273 readonly isInvulnerableAdded: boolean;1274 readonly asInvulnerableAdded: {1275 readonly invulnerable: AccountId32;1276 } & Struct;1277 readonly isInvulnerableRemoved: boolean;1278 readonly asInvulnerableRemoved: {1279 readonly invulnerable: AccountId32;1280 } & Struct;1281 readonly isLicenseObtained: boolean;1282 readonly asLicenseObtained: {1283 readonly accountId: AccountId32;1284 readonly deposit: u128;1285 } & Struct;1286 readonly isLicenseReleased: boolean;1287 readonly asLicenseReleased: {1288 readonly accountId: AccountId32;1289 readonly depositReturned: u128;1290 } & Struct;1291 readonly isCandidateAdded: boolean;1292 readonly asCandidateAdded: {1293 readonly accountId: AccountId32;1294 } & Struct;1295 readonly isCandidateRemoved: boolean;1296 readonly asCandidateRemoved: {1297 readonly accountId: AccountId32;1298 } & Struct;1299 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';1300}13011302/** @name PalletCommonError */1303export interface PalletCommonError extends Enum {1304 readonly isCollectionNotFound: boolean;1305 readonly isMustBeTokenOwner: boolean;1306 readonly isNoPermission: boolean;1307 readonly isCantDestroyNotEmptyCollection: boolean;1308 readonly isPublicMintingNotAllowed: boolean;1309 readonly isAddressNotInAllowlist: boolean;1310 readonly isCollectionNameLimitExceeded: boolean;1311 readonly isCollectionDescriptionLimitExceeded: boolean;1312 readonly isCollectionTokenPrefixLimitExceeded: boolean;1313 readonly isTotalCollectionsLimitExceeded: boolean;1314 readonly isCollectionAdminCountExceeded: boolean;1315 readonly isCollectionLimitBoundsExceeded: boolean;1316 readonly isOwnerPermissionsCantBeReverted: boolean;1317 readonly isTransferNotAllowed: boolean;1318 readonly isAccountTokenLimitExceeded: boolean;1319 readonly isCollectionTokenLimitExceeded: boolean;1320 readonly isMetadataFlagFrozen: boolean;1321 readonly isTokenNotFound: boolean;1322 readonly isTokenValueTooLow: boolean;1323 readonly isApprovedValueTooLow: boolean;1324 readonly isCantApproveMoreThanOwned: boolean;1325 readonly isAddressIsZero: boolean;1326 readonly isUnsupportedOperation: boolean;1327 readonly isNotSufficientFounds: boolean;1328 readonly isUserIsNotAllowedToNest: boolean;1329 readonly isSourceCollectionIsNotAllowedToNest: boolean;1330 readonly isCollectionFieldSizeExceeded: boolean;1331 readonly isNoSpaceForProperty: boolean;1332 readonly isPropertyLimitReached: boolean;1333 readonly isPropertyKeyIsTooLong: boolean;1334 readonly isInvalidCharacterInPropertyKey: boolean;1335 readonly isEmptyPropertyKey: boolean;1336 readonly isCollectionIsExternal: boolean;1337 readonly isCollectionIsInternal: boolean;1338 readonly isConfirmSponsorshipFail: boolean;1339 readonly isUserIsNotCollectionAdmin: boolean;1340 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' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';1341}13421343/** @name PalletCommonEvent */1344export interface PalletCommonEvent extends Enum {1345 readonly isCollectionCreated: boolean;1346 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1347 readonly isCollectionDestroyed: boolean;1348 readonly asCollectionDestroyed: u32;1349 readonly isItemCreated: boolean;1350 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1351 readonly isItemDestroyed: boolean;1352 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1353 readonly isTransfer: boolean;1354 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1355 readonly isApproved: boolean;1356 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1357 readonly isApprovedForAll: boolean;1358 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1359 readonly isCollectionPropertySet: boolean;1360 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1361 readonly isCollectionPropertyDeleted: boolean;1362 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1363 readonly isTokenPropertySet: boolean;1364 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1365 readonly isTokenPropertyDeleted: boolean;1366 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1367 readonly isPropertyPermissionSet: boolean;1368 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1369 readonly isAllowListAddressAdded: boolean;1370 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1371 readonly isAllowListAddressRemoved: boolean;1372 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1373 readonly isCollectionAdminAdded: boolean;1374 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1375 readonly isCollectionAdminRemoved: boolean;1376 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1377 readonly isCollectionLimitSet: boolean;1378 readonly asCollectionLimitSet: u32;1379 readonly isCollectionOwnerChanged: boolean;1380 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1381 readonly isCollectionPermissionSet: boolean;1382 readonly asCollectionPermissionSet: u32;1383 readonly isCollectionSponsorSet: boolean;1384 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1385 readonly isSponsorshipConfirmed: boolean;1386 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1387 readonly isCollectionSponsorRemoved: boolean;1388 readonly asCollectionSponsorRemoved: u32;1389 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1390}13911392/** @name PalletConfigurationAppPromotionConfiguration */1393export interface PalletConfigurationAppPromotionConfiguration extends Struct {1394 readonly recalculationInterval: Option<u32>;1395 readonly pendingInterval: Option<u32>;1396 readonly intervalIncome: Option<Perbill>;1397 readonly maxStakersPerCalculation: Option<u8>;1398}13991400/** @name PalletConfigurationCall */1401export interface PalletConfigurationCall extends Enum {1402 readonly isSetWeightToFeeCoefficientOverride: boolean;1403 readonly asSetWeightToFeeCoefficientOverride: {1404 readonly coeff: Option<u64>;1405 } & Struct;1406 readonly isSetMinGasPriceOverride: boolean;1407 readonly asSetMinGasPriceOverride: {1408 readonly coeff: Option<u64>;1409 } & Struct;1410 readonly isSetXcmAllowedLocations: boolean;1411 readonly asSetXcmAllowedLocations: {1412 readonly locations: Option<Vec<XcmV1MultiLocation>>;1413 } & Struct;1414 readonly isSetAppPromotionConfigurationOverride: boolean;1415 readonly asSetAppPromotionConfigurationOverride: {1416 readonly configuration: PalletConfigurationAppPromotionConfiguration;1417 } & Struct;1418 readonly isSetCollatorSelectionDesiredCollators: boolean;1419 readonly asSetCollatorSelectionDesiredCollators: {1420 readonly max: Option<u32>;1421 } & Struct;1422 readonly isSetCollatorSelectionLicenseBond: boolean;1423 readonly asSetCollatorSelectionLicenseBond: {1424 readonly amount: Option<u128>;1425 } & Struct;1426 readonly isSetCollatorSelectionKickThreshold: boolean;1427 readonly asSetCollatorSelectionKickThreshold: {1428 readonly threshold: Option<u32>;1429 } & Struct;1430 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';1431}14321433/** @name PalletConfigurationError */1434export interface PalletConfigurationError extends Enum {1435 readonly isInconsistentConfiguration: boolean;1436 readonly type: 'InconsistentConfiguration';1437}14381439/** @name PalletConfigurationEvent */1440export interface PalletConfigurationEvent extends Enum {1441 readonly isNewDesiredCollators: boolean;1442 readonly asNewDesiredCollators: {1443 readonly desiredCollators: Option<u32>;1444 } & Struct;1445 readonly isNewCollatorLicenseBond: boolean;1446 readonly asNewCollatorLicenseBond: {1447 readonly bondCost: Option<u128>;1448 } & Struct;1449 readonly isNewCollatorKickThreshold: boolean;1450 readonly asNewCollatorKickThreshold: {1451 readonly lengthInBlocks: Option<u32>;1452 } & Struct;1453 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1454}14551456/** @name PalletDataManagementCall */1457export interface PalletDataManagementCall extends Enum {1458 readonly isBegin: boolean;1459 readonly asBegin: {1460 readonly address: H160;1461 } & Struct;1462 readonly isSetData: boolean;1463 readonly asSetData: {1464 readonly address: H160;1465 readonly data: Vec<ITuple<[H256, H256]>>;1466 } & Struct;1467 readonly isFinish: boolean;1468 readonly asFinish: {1469 readonly address: H160;1470 readonly code: Bytes;1471 } & Struct;1472 readonly isInsertEthLogs: boolean;1473 readonly asInsertEthLogs: {1474 readonly logs: Vec<EthereumLog>;1475 } & Struct;1476 readonly isInsertEvents: boolean;1477 readonly asInsertEvents: {1478 readonly events: Vec<Bytes>;1479 } & Struct;1480 readonly isSetIdentities: boolean;1481 readonly asSetIdentities: {1482 readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;1483 } & Struct;1484 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'SetIdentities';1485}14861487/** @name PalletDataManagementError */1488export interface PalletDataManagementError extends Enum {1489 readonly isAccountNotEmpty: boolean;1490 readonly isAccountIsNotMigrating: boolean;1491 readonly isBadEvent: boolean;1492 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1493}14941495/** @name PalletDataManagementEvent */1496export interface PalletDataManagementEvent extends Enum {1497 readonly isTestEvent: boolean;1498 readonly type: 'TestEvent';1499}15001501/** @name PalletEthereumCall */1502export interface PalletEthereumCall extends Enum {1503 readonly isTransact: boolean;1504 readonly asTransact: {1505 readonly transaction: EthereumTransactionTransactionV2;1506 } & Struct;1507 readonly type: 'Transact';1508}15091510/** @name PalletEthereumError */1511export interface PalletEthereumError extends Enum {1512 readonly isInvalidSignature: boolean;1513 readonly isPreLogExists: boolean;1514 readonly type: 'InvalidSignature' | 'PreLogExists';1515}15161517/** @name PalletEthereumEvent */1518export interface PalletEthereumEvent extends Enum {1519 readonly isExecuted: boolean;1520 readonly asExecuted: {1521 readonly from: H160;1522 readonly to: H160;1523 readonly transactionHash: H256;1524 readonly exitReason: EvmCoreErrorExitReason;1525 } & Struct;1526 readonly type: 'Executed';1527}15281529/** @name PalletEthereumFakeTransactionFinalizer */1530export interface PalletEthereumFakeTransactionFinalizer extends Null {}15311532/** @name PalletEvmAccountBasicCrossAccountIdRepr */1533export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1534 readonly isSubstrate: boolean;1535 readonly asSubstrate: AccountId32;1536 readonly isEthereum: boolean;1537 readonly asEthereum: H160;1538 readonly type: 'Substrate' | 'Ethereum';1539}15401541/** @name PalletEvmCall */1542export interface PalletEvmCall extends Enum {1543 readonly isWithdraw: boolean;1544 readonly asWithdraw: {1545 readonly address: H160;1546 readonly value: u128;1547 } & Struct;1548 readonly isCall: boolean;1549 readonly asCall: {1550 readonly source: H160;1551 readonly target: H160;1552 readonly input: Bytes;1553 readonly value: U256;1554 readonly gasLimit: u64;1555 readonly maxFeePerGas: U256;1556 readonly maxPriorityFeePerGas: Option<U256>;1557 readonly nonce: Option<U256>;1558 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1559 } & Struct;1560 readonly isCreate: boolean;1561 readonly asCreate: {1562 readonly source: H160;1563 readonly init: Bytes;1564 readonly value: U256;1565 readonly gasLimit: u64;1566 readonly maxFeePerGas: U256;1567 readonly maxPriorityFeePerGas: Option<U256>;1568 readonly nonce: Option<U256>;1569 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1570 } & Struct;1571 readonly isCreate2: boolean;1572 readonly asCreate2: {1573 readonly source: H160;1574 readonly init: Bytes;1575 readonly salt: H256;1576 readonly value: U256;1577 readonly gasLimit: u64;1578 readonly maxFeePerGas: U256;1579 readonly maxPriorityFeePerGas: Option<U256>;1580 readonly nonce: Option<U256>;1581 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1582 } & Struct;1583 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1584}15851586/** @name PalletEvmCoderSubstrateError */1587export interface PalletEvmCoderSubstrateError extends Enum {1588 readonly isOutOfGas: boolean;1589 readonly isOutOfFund: boolean;1590 readonly type: 'OutOfGas' | 'OutOfFund';1591}15921593/** @name PalletEvmContractHelpersError */1594export interface PalletEvmContractHelpersError extends Enum {1595 readonly isNoPermission: boolean;1596 readonly isNoPendingSponsor: boolean;1597 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1598 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1599}16001601/** @name PalletEvmContractHelpersEvent */1602export interface PalletEvmContractHelpersEvent extends Enum {1603 readonly isContractSponsorSet: boolean;1604 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1605 readonly isContractSponsorshipConfirmed: boolean;1606 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1607 readonly isContractSponsorRemoved: boolean;1608 readonly asContractSponsorRemoved: H160;1609 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1610}16111612/** @name PalletEvmContractHelpersSponsoringModeT */1613export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1614 readonly isDisabled: boolean;1615 readonly isAllowlisted: boolean;1616 readonly isGenerous: boolean;1617 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1618}16191620/** @name PalletEvmError */1621export interface PalletEvmError extends Enum {1622 readonly isBalanceLow: boolean;1623 readonly isFeeOverflow: boolean;1624 readonly isPaymentOverflow: boolean;1625 readonly isWithdrawFailed: boolean;1626 readonly isGasPriceTooLow: boolean;1627 readonly isInvalidNonce: boolean;1628 readonly isGasLimitTooLow: boolean;1629 readonly isGasLimitTooHigh: boolean;1630 readonly isUndefined: boolean;1631 readonly isReentrancy: boolean;1632 readonly isTransactionMustComeFromEOA: boolean;1633 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1634}16351636/** @name PalletEvmEvent */1637export interface PalletEvmEvent extends Enum {1638 readonly isLog: boolean;1639 readonly asLog: {1640 readonly log: EthereumLog;1641 } & Struct;1642 readonly isCreated: boolean;1643 readonly asCreated: {1644 readonly address: H160;1645 } & Struct;1646 readonly isCreatedFailed: boolean;1647 readonly asCreatedFailed: {1648 readonly address: H160;1649 } & Struct;1650 readonly isExecuted: boolean;1651 readonly asExecuted: {1652 readonly address: H160;1653 } & Struct;1654 readonly isExecutedFailed: boolean;1655 readonly asExecutedFailed: {1656 readonly address: H160;1657 } & Struct;1658 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1659}16601661/** @name PalletForeignAssetsAssetIds */1662export interface PalletForeignAssetsAssetIds extends Enum {1663 readonly isForeignAssetId: boolean;1664 readonly asForeignAssetId: u32;1665 readonly isNativeAssetId: boolean;1666 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1667 readonly type: 'ForeignAssetId' | 'NativeAssetId';1668}16691670/** @name PalletForeignAssetsModuleAssetMetadata */1671export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1672 readonly name: Bytes;1673 readonly symbol: Bytes;1674 readonly decimals: u8;1675 readonly minimalBalance: u128;1676}16771678/** @name PalletForeignAssetsModuleCall */1679export interface PalletForeignAssetsModuleCall extends Enum {1680 readonly isRegisterForeignAsset: boolean;1681 readonly asRegisterForeignAsset: {1682 readonly owner: AccountId32;1683 readonly location: XcmVersionedMultiLocation;1684 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1685 } & Struct;1686 readonly isUpdateForeignAsset: boolean;1687 readonly asUpdateForeignAsset: {1688 readonly foreignAssetId: u32;1689 readonly location: XcmVersionedMultiLocation;1690 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1691 } & Struct;1692 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1693}16941695/** @name PalletForeignAssetsModuleError */1696export interface PalletForeignAssetsModuleError extends Enum {1697 readonly isBadLocation: boolean;1698 readonly isMultiLocationExisted: boolean;1699 readonly isAssetIdNotExists: boolean;1700 readonly isAssetIdExisted: boolean;1701 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1702}17031704/** @name PalletForeignAssetsModuleEvent */1705export interface PalletForeignAssetsModuleEvent extends Enum {1706 readonly isForeignAssetRegistered: boolean;1707 readonly asForeignAssetRegistered: {1708 readonly assetId: u32;1709 readonly assetAddress: XcmV1MultiLocation;1710 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1711 } & Struct;1712 readonly isForeignAssetUpdated: boolean;1713 readonly asForeignAssetUpdated: {1714 readonly assetId: u32;1715 readonly assetAddress: XcmV1MultiLocation;1716 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1717 } & Struct;1718 readonly isAssetRegistered: boolean;1719 readonly asAssetRegistered: {1720 readonly assetId: PalletForeignAssetsAssetIds;1721 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1722 } & Struct;1723 readonly isAssetUpdated: boolean;1724 readonly asAssetUpdated: {1725 readonly assetId: PalletForeignAssetsAssetIds;1726 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1727 } & Struct;1728 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1729}17301731/** @name PalletForeignAssetsNativeCurrency */1732export interface PalletForeignAssetsNativeCurrency extends Enum {1733 readonly isHere: boolean;1734 readonly isParent: boolean;1735 readonly type: 'Here' | 'Parent';1736}17371738/** @name PalletFungibleError */1739export interface PalletFungibleError extends Enum {1740 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1741 readonly isFungibleItemsHaveNoId: boolean;1742 readonly isFungibleItemsDontHaveData: boolean;1743 readonly isFungibleDisallowsNesting: boolean;1744 readonly isSettingPropertiesNotAllowed: boolean;1745 readonly isSettingAllowanceForAllNotAllowed: boolean;1746 readonly isFungibleTokensAreAlwaysValid: boolean;1747 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1748}17491750/** @name PalletIdentityBitFlags */1751export interface PalletIdentityBitFlags extends Struct {1752 readonly _bitLength: 64;1753 readonly Display: 1;1754 readonly Legal: 2;1755 readonly Web: 4;1756 readonly Riot: 8;1757 readonly Email: 16;1758 readonly PgpFingerprint: 32;1759 readonly Image: 64;1760 readonly Twitter: 128;1761}17621763/** @name PalletIdentityCall */1764export interface PalletIdentityCall extends Enum {1765 readonly isAddRegistrar: boolean;1766 readonly asAddRegistrar: {1767 readonly account: MultiAddress;1768 } & Struct;1769 readonly isSetIdentity: boolean;1770 readonly asSetIdentity: {1771 readonly info: PalletIdentityIdentityInfo;1772 } & Struct;1773 readonly isSetSubs: boolean;1774 readonly asSetSubs: {1775 readonly subs: Vec<ITuple<[AccountId32, Data]>>;1776 } & Struct;1777 readonly isClearIdentity: boolean;1778 readonly isRequestJudgement: boolean;1779 readonly asRequestJudgement: {1780 readonly regIndex: Compact<u32>;1781 readonly maxFee: Compact<u128>;1782 } & Struct;1783 readonly isCancelRequest: boolean;1784 readonly asCancelRequest: {1785 readonly regIndex: u32;1786 } & Struct;1787 readonly isSetFee: boolean;1788 readonly asSetFee: {1789 readonly index: Compact<u32>;1790 readonly fee: Compact<u128>;1791 } & Struct;1792 readonly isSetAccountId: boolean;1793 readonly asSetAccountId: {1794 readonly index: Compact<u32>;1795 readonly new_: MultiAddress;1796 } & Struct;1797 readonly isSetFields: boolean;1798 readonly asSetFields: {1799 readonly index: Compact<u32>;1800 readonly fields: PalletIdentityBitFlags;1801 } & Struct;1802 readonly isProvideJudgement: boolean;1803 readonly asProvideJudgement: {1804 readonly regIndex: Compact<u32>;1805 readonly target: MultiAddress;1806 readonly judgement: PalletIdentityJudgement;1807 readonly identity: H256;1808 } & Struct;1809 readonly isKillIdentity: boolean;1810 readonly asKillIdentity: {1811 readonly target: MultiAddress;1812 } & Struct;1813 readonly isAddSub: boolean;1814 readonly asAddSub: {1815 readonly sub: MultiAddress;1816 readonly data: Data;1817 } & Struct;1818 readonly isRenameSub: boolean;1819 readonly asRenameSub: {1820 readonly sub: MultiAddress;1821 readonly data: Data;1822 } & Struct;1823 readonly isRemoveSub: boolean;1824 readonly asRemoveSub: {1825 readonly sub: MultiAddress;1826 } & Struct;1827 readonly isQuitSub: boolean;1828 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';1829}18301831/** @name PalletIdentityError */1832export interface PalletIdentityError extends Enum {1833 readonly isTooManySubAccounts: boolean;1834 readonly isNotFound: boolean;1835 readonly isNotNamed: boolean;1836 readonly isEmptyIndex: boolean;1837 readonly isFeeChanged: boolean;1838 readonly isNoIdentity: boolean;1839 readonly isStickyJudgement: boolean;1840 readonly isJudgementGiven: boolean;1841 readonly isInvalidJudgement: boolean;1842 readonly isInvalidIndex: boolean;1843 readonly isInvalidTarget: boolean;1844 readonly isTooManyFields: boolean;1845 readonly isTooManyRegistrars: boolean;1846 readonly isAlreadyClaimed: boolean;1847 readonly isNotSub: boolean;1848 readonly isNotOwned: boolean;1849 readonly isJudgementForDifferentIdentity: boolean;1850 readonly isJudgementPaymentFailed: boolean;1851 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';1852}18531854/** @name PalletIdentityEvent */1855export interface PalletIdentityEvent extends Enum {1856 readonly isIdentitySet: boolean;1857 readonly asIdentitySet: {1858 readonly who: AccountId32;1859 } & Struct;1860 readonly isIdentityCleared: boolean;1861 readonly asIdentityCleared: {1862 readonly who: AccountId32;1863 readonly deposit: u128;1864 } & Struct;1865 readonly isIdentityKilled: boolean;1866 readonly asIdentityKilled: {1867 readonly who: AccountId32;1868 readonly deposit: u128;1869 } & Struct;1870 readonly isJudgementRequested: boolean;1871 readonly asJudgementRequested: {1872 readonly who: AccountId32;1873 readonly registrarIndex: u32;1874 } & Struct;1875 readonly isJudgementUnrequested: boolean;1876 readonly asJudgementUnrequested: {1877 readonly who: AccountId32;1878 readonly registrarIndex: u32;1879 } & Struct;1880 readonly isJudgementGiven: boolean;1881 readonly asJudgementGiven: {1882 readonly target: AccountId32;1883 readonly registrarIndex: u32;1884 } & Struct;1885 readonly isRegistrarAdded: boolean;1886 readonly asRegistrarAdded: {1887 readonly registrarIndex: u32;1888 } & Struct;1889 readonly isSubIdentityAdded: boolean;1890 readonly asSubIdentityAdded: {1891 readonly sub: AccountId32;1892 readonly main: AccountId32;1893 readonly deposit: u128;1894 } & Struct;1895 readonly isSubIdentityRemoved: boolean;1896 readonly asSubIdentityRemoved: {1897 readonly sub: AccountId32;1898 readonly main: AccountId32;1899 readonly deposit: u128;1900 } & Struct;1901 readonly isSubIdentityRevoked: boolean;1902 readonly asSubIdentityRevoked: {1903 readonly sub: AccountId32;1904 readonly main: AccountId32;1905 readonly deposit: u128;1906 } & Struct;1907 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';1908}19091910/** @name PalletIdentityIdentityField */1911export interface PalletIdentityIdentityField extends Enum {1912 readonly isDisplay: boolean;1913 readonly isLegal: boolean;1914 readonly isWeb: boolean;1915 readonly isRiot: boolean;1916 readonly isEmail: boolean;1917 readonly isPgpFingerprint: boolean;1918 readonly isImage: boolean;1919 readonly isTwitter: boolean;1920 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1921}19221923/** @name PalletIdentityIdentityInfo */1924export interface PalletIdentityIdentityInfo extends Struct {1925 readonly additional: Vec<ITuple<[Data, Data]>>;1926 readonly display: Data;1927 readonly legal: Data;1928 readonly web: Data;1929 readonly riot: Data;1930 readonly email: Data;1931 readonly pgpFingerprint: Option<U8aFixed>;1932 readonly image: Data;1933 readonly twitter: Data;1934}19351936/** @name PalletIdentityJudgement */1937export interface PalletIdentityJudgement extends Enum {1938 readonly isUnknown: boolean;1939 readonly isFeePaid: boolean;1940 readonly asFeePaid: u128;1941 readonly isReasonable: boolean;1942 readonly isKnownGood: boolean;1943 readonly isOutOfDate: boolean;1944 readonly isLowQuality: boolean;1945 readonly isErroneous: boolean;1946 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1947}19481949/** @name PalletIdentityRegistrarInfo */1950export interface PalletIdentityRegistrarInfo extends Struct {1951 readonly account: AccountId32;1952 readonly fee: u128;1953 readonly fields: PalletIdentityBitFlags;1954}19551956/** @name PalletIdentityRegistration */1957export interface PalletIdentityRegistration extends Struct {1958 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1959 readonly deposit: u128;1960 readonly info: PalletIdentityIdentityInfo;1961}19621963/** @name PalletInflationCall */1964export interface PalletInflationCall extends Enum {1965 readonly isStartInflation: boolean;1966 readonly asStartInflation: {1967 readonly inflationStartRelayBlock: u32;1968 } & Struct;1969 readonly type: 'StartInflation';1970}19711972/** @name PalletMaintenanceCall */1973export interface PalletMaintenanceCall extends Enum {1974 readonly isEnable: boolean;1975 readonly isDisable: boolean;1976 readonly type: 'Enable' | 'Disable';1977}19781979/** @name PalletMaintenanceError */1980export interface PalletMaintenanceError extends Null {}19811982/** @name PalletMaintenanceEvent */1983export interface PalletMaintenanceEvent extends Enum {1984 readonly isMaintenanceEnabled: boolean;1985 readonly isMaintenanceDisabled: boolean;1986 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1987}19881989/** @name PalletNonfungibleError */1990export interface PalletNonfungibleError extends Enum {1991 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1992 readonly isNonfungibleItemsHaveNoAmount: boolean;1993 readonly isCantBurnNftWithChildren: boolean;1994 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1995}19961997/** @name PalletNonfungibleItemData */1998export interface PalletNonfungibleItemData extends Struct {1999 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2000}20012002/** @name PalletRefungibleError */2003export interface PalletRefungibleError extends Enum {2004 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2005 readonly isWrongRefungiblePieces: boolean;2006 readonly isRepartitionWhileNotOwningAllPieces: boolean;2007 readonly isRefungibleDisallowsNesting: boolean;2008 readonly isSettingPropertiesNotAllowed: boolean;2009 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2010}20112012/** @name PalletRmrkCoreCall */2013export interface PalletRmrkCoreCall extends Enum {2014 readonly isCreateCollection: boolean;2015 readonly asCreateCollection: {2016 readonly metadata: Bytes;2017 readonly max: Option<u32>;2018 readonly symbol: Bytes;2019 } & Struct;2020 readonly isDestroyCollection: boolean;2021 readonly asDestroyCollection: {2022 readonly collectionId: u32;2023 } & Struct;2024 readonly isChangeCollectionIssuer: boolean;2025 readonly asChangeCollectionIssuer: {2026 readonly collectionId: u32;2027 readonly newIssuer: MultiAddress;2028 } & Struct;2029 readonly isLockCollection: boolean;2030 readonly asLockCollection: {2031 readonly collectionId: u32;2032 } & Struct;2033 readonly isMintNft: boolean;2034 readonly asMintNft: {2035 readonly owner: Option<AccountId32>;2036 readonly collectionId: u32;2037 readonly recipient: Option<AccountId32>;2038 readonly royaltyAmount: Option<Permill>;2039 readonly metadata: Bytes;2040 readonly transferable: bool;2041 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2042 } & Struct;2043 readonly isBurnNft: boolean;2044 readonly asBurnNft: {2045 readonly collectionId: u32;2046 readonly nftId: u32;2047 readonly maxBurns: u32;2048 } & Struct;2049 readonly isSend: boolean;2050 readonly asSend: {2051 readonly rmrkCollectionId: u32;2052 readonly rmrkNftId: u32;2053 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2054 } & Struct;2055 readonly isAcceptNft: boolean;2056 readonly asAcceptNft: {2057 readonly rmrkCollectionId: u32;2058 readonly rmrkNftId: u32;2059 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2060 } & Struct;2061 readonly isRejectNft: boolean;2062 readonly asRejectNft: {2063 readonly rmrkCollectionId: u32;2064 readonly rmrkNftId: u32;2065 } & Struct;2066 readonly isAcceptResource: boolean;2067 readonly asAcceptResource: {2068 readonly rmrkCollectionId: u32;2069 readonly rmrkNftId: u32;2070 readonly resourceId: u32;2071 } & Struct;2072 readonly isAcceptResourceRemoval: boolean;2073 readonly asAcceptResourceRemoval: {2074 readonly rmrkCollectionId: u32;2075 readonly rmrkNftId: u32;2076 readonly resourceId: u32;2077 } & Struct;2078 readonly isSetProperty: boolean;2079 readonly asSetProperty: {2080 readonly rmrkCollectionId: Compact<u32>;2081 readonly maybeNftId: Option<u32>;2082 readonly key: Bytes;2083 readonly value: Bytes;2084 } & Struct;2085 readonly isSetPriority: boolean;2086 readonly asSetPriority: {2087 readonly rmrkCollectionId: u32;2088 readonly rmrkNftId: u32;2089 readonly priorities: Vec<u32>;2090 } & Struct;2091 readonly isAddBasicResource: boolean;2092 readonly asAddBasicResource: {2093 readonly rmrkCollectionId: u32;2094 readonly nftId: u32;2095 readonly resource: RmrkTraitsResourceBasicResource;2096 } & Struct;2097 readonly isAddComposableResource: boolean;2098 readonly asAddComposableResource: {2099 readonly rmrkCollectionId: u32;2100 readonly nftId: u32;2101 readonly resource: RmrkTraitsResourceComposableResource;2102 } & Struct;2103 readonly isAddSlotResource: boolean;2104 readonly asAddSlotResource: {2105 readonly rmrkCollectionId: u32;2106 readonly nftId: u32;2107 readonly resource: RmrkTraitsResourceSlotResource;2108 } & Struct;2109 readonly isRemoveResource: boolean;2110 readonly asRemoveResource: {2111 readonly rmrkCollectionId: u32;2112 readonly nftId: u32;2113 readonly resourceId: u32;2114 } & Struct;2115 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2116}21172118/** @name PalletRmrkCoreError */2119export interface PalletRmrkCoreError extends Enum {2120 readonly isCorruptedCollectionType: boolean;2121 readonly isRmrkPropertyKeyIsTooLong: boolean;2122 readonly isRmrkPropertyValueIsTooLong: boolean;2123 readonly isRmrkPropertyIsNotFound: boolean;2124 readonly isUnableToDecodeRmrkData: boolean;2125 readonly isCollectionNotEmpty: boolean;2126 readonly isNoAvailableCollectionId: boolean;2127 readonly isNoAvailableNftId: boolean;2128 readonly isCollectionUnknown: boolean;2129 readonly isNoPermission: boolean;2130 readonly isNonTransferable: boolean;2131 readonly isCollectionFullOrLocked: boolean;2132 readonly isResourceDoesntExist: boolean;2133 readonly isCannotSendToDescendentOrSelf: boolean;2134 readonly isCannotAcceptNonOwnedNft: boolean;2135 readonly isCannotRejectNonOwnedNft: boolean;2136 readonly isCannotRejectNonPendingNft: boolean;2137 readonly isResourceNotPending: boolean;2138 readonly isNoAvailableResourceId: boolean;2139 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';2140}21412142/** @name PalletRmrkCoreEvent */2143export interface PalletRmrkCoreEvent extends Enum {2144 readonly isCollectionCreated: boolean;2145 readonly asCollectionCreated: {2146 readonly issuer: AccountId32;2147 readonly collectionId: u32;2148 } & Struct;2149 readonly isCollectionDestroyed: boolean;2150 readonly asCollectionDestroyed: {2151 readonly issuer: AccountId32;2152 readonly collectionId: u32;2153 } & Struct;2154 readonly isIssuerChanged: boolean;2155 readonly asIssuerChanged: {2156 readonly oldIssuer: AccountId32;2157 readonly newIssuer: AccountId32;2158 readonly collectionId: u32;2159 } & Struct;2160 readonly isCollectionLocked: boolean;2161 readonly asCollectionLocked: {2162 readonly issuer: AccountId32;2163 readonly collectionId: u32;2164 } & Struct;2165 readonly isNftMinted: boolean;2166 readonly asNftMinted: {2167 readonly owner: AccountId32;2168 readonly collectionId: u32;2169 readonly nftId: u32;2170 } & Struct;2171 readonly isNftBurned: boolean;2172 readonly asNftBurned: {2173 readonly owner: AccountId32;2174 readonly nftId: u32;2175 } & Struct;2176 readonly isNftSent: boolean;2177 readonly asNftSent: {2178 readonly sender: AccountId32;2179 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2180 readonly collectionId: u32;2181 readonly nftId: u32;2182 readonly approvalRequired: bool;2183 } & Struct;2184 readonly isNftAccepted: boolean;2185 readonly asNftAccepted: {2186 readonly sender: AccountId32;2187 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2188 readonly collectionId: u32;2189 readonly nftId: u32;2190 } & Struct;2191 readonly isNftRejected: boolean;2192 readonly asNftRejected: {2193 readonly sender: AccountId32;2194 readonly collectionId: u32;2195 readonly nftId: u32;2196 } & Struct;2197 readonly isPropertySet: boolean;2198 readonly asPropertySet: {2199 readonly collectionId: u32;2200 readonly maybeNftId: Option<u32>;2201 readonly key: Bytes;2202 readonly value: Bytes;2203 } & Struct;2204 readonly isResourceAdded: boolean;2205 readonly asResourceAdded: {2206 readonly nftId: u32;2207 readonly resourceId: u32;2208 } & Struct;2209 readonly isResourceRemoval: boolean;2210 readonly asResourceRemoval: {2211 readonly nftId: u32;2212 readonly resourceId: u32;2213 } & Struct;2214 readonly isResourceAccepted: boolean;2215 readonly asResourceAccepted: {2216 readonly nftId: u32;2217 readonly resourceId: u32;2218 } & Struct;2219 readonly isResourceRemovalAccepted: boolean;2220 readonly asResourceRemovalAccepted: {2221 readonly nftId: u32;2222 readonly resourceId: u32;2223 } & Struct;2224 readonly isPrioritySet: boolean;2225 readonly asPrioritySet: {2226 readonly collectionId: u32;2227 readonly nftId: u32;2228 } & Struct;2229 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2230}22312232/** @name PalletRmrkEquipCall */2233export interface PalletRmrkEquipCall extends Enum {2234 readonly isCreateBase: boolean;2235 readonly asCreateBase: {2236 readonly baseType: Bytes;2237 readonly symbol: Bytes;2238 readonly parts: Vec<RmrkTraitsPartPartType>;2239 } & Struct;2240 readonly isThemeAdd: boolean;2241 readonly asThemeAdd: {2242 readonly baseId: u32;2243 readonly theme: RmrkTraitsTheme;2244 } & Struct;2245 readonly isEquippable: boolean;2246 readonly asEquippable: {2247 readonly baseId: u32;2248 readonly slotId: u32;2249 readonly equippables: RmrkTraitsPartEquippableList;2250 } & Struct;2251 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2252}22532254/** @name PalletRmrkEquipError */2255export interface PalletRmrkEquipError extends Enum {2256 readonly isPermissionError: boolean;2257 readonly isNoAvailableBaseId: boolean;2258 readonly isNoAvailablePartId: boolean;2259 readonly isBaseDoesntExist: boolean;2260 readonly isNeedsDefaultThemeFirst: boolean;2261 readonly isPartDoesntExist: boolean;2262 readonly isNoEquippableOnFixedPart: boolean;2263 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';2264}22652266/** @name PalletRmrkEquipEvent */2267export interface PalletRmrkEquipEvent extends Enum {2268 readonly isBaseCreated: boolean;2269 readonly asBaseCreated: {2270 readonly issuer: AccountId32;2271 readonly baseId: u32;2272 } & Struct;2273 readonly isEquippablesUpdated: boolean;2274 readonly asEquippablesUpdated: {2275 readonly baseId: u32;2276 readonly slotId: u32;2277 } & Struct;2278 readonly type: 'BaseCreated' | 'EquippablesUpdated';2279}22802281/** @name PalletSessionCall */2282export interface PalletSessionCall extends Enum {2283 readonly isSetKeys: boolean;2284 readonly asSetKeys: {2285 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2286 readonly proof: Bytes;2287 } & Struct;2288 readonly isPurgeKeys: boolean;2289 readonly type: 'SetKeys' | 'PurgeKeys';2290}22912292/** @name PalletSessionError */2293export interface PalletSessionError extends Enum {2294 readonly isInvalidProof: boolean;2295 readonly isNoAssociatedValidatorId: boolean;2296 readonly isDuplicatedKey: boolean;2297 readonly isNoKeys: boolean;2298 readonly isNoAccount: boolean;2299 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2300}23012302/** @name PalletSessionEvent */2303export interface PalletSessionEvent extends Enum {2304 readonly isNewSession: boolean;2305 readonly asNewSession: {2306 readonly sessionIndex: u32;2307 } & Struct;2308 readonly type: 'NewSession';2309}23102311/** @name PalletStructureCall */2312export interface PalletStructureCall extends Null {}23132314/** @name PalletStructureError */2315export interface PalletStructureError extends Enum {2316 readonly isOuroborosDetected: boolean;2317 readonly isDepthLimit: boolean;2318 readonly isBreadthLimit: boolean;2319 readonly isTokenNotFound: boolean;2320 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';2321}23222323/** @name PalletStructureEvent */2324export interface PalletStructureEvent extends Enum {2325 readonly isExecuted: boolean;2326 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2327 readonly type: 'Executed';2328}23292330/** @name PalletSudoCall */2331export interface PalletSudoCall extends Enum {2332 readonly isSudo: boolean;2333 readonly asSudo: {2334 readonly call: Call;2335 } & Struct;2336 readonly isSudoUncheckedWeight: boolean;2337 readonly asSudoUncheckedWeight: {2338 readonly call: Call;2339 readonly weight: SpWeightsWeightV2Weight;2340 } & Struct;2341 readonly isSetKey: boolean;2342 readonly asSetKey: {2343 readonly new_: MultiAddress;2344 } & Struct;2345 readonly isSudoAs: boolean;2346 readonly asSudoAs: {2347 readonly who: MultiAddress;2348 readonly call: Call;2349 } & Struct;2350 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2351}23522353/** @name PalletSudoError */2354export interface PalletSudoError extends Enum {2355 readonly isRequireSudo: boolean;2356 readonly type: 'RequireSudo';2357}23582359/** @name PalletSudoEvent */2360export interface PalletSudoEvent extends Enum {2361 readonly isSudid: boolean;2362 readonly asSudid: {2363 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2364 } & Struct;2365 readonly isKeyChanged: boolean;2366 readonly asKeyChanged: {2367 readonly oldSudoer: Option<AccountId32>;2368 } & Struct;2369 readonly isSudoAsDone: boolean;2370 readonly asSudoAsDone: {2371 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2372 } & Struct;2373 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2374}23752376/** @name PalletTemplateTransactionPaymentCall */2377export interface PalletTemplateTransactionPaymentCall extends Null {}23782379/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2380export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}23812382/** @name PalletTestUtilsCall */2383export interface PalletTestUtilsCall extends Enum {2384 readonly isEnable: boolean;2385 readonly isSetTestValue: boolean;2386 readonly asSetTestValue: {2387 readonly value: u32;2388 } & Struct;2389 readonly isSetTestValueAndRollback: boolean;2390 readonly asSetTestValueAndRollback: {2391 readonly value: u32;2392 } & Struct;2393 readonly isIncTestValue: boolean;2394 readonly isJustTakeFee: boolean;2395 readonly isBatchAll: boolean;2396 readonly asBatchAll: {2397 readonly calls: Vec<Call>;2398 } & Struct;2399 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2400}24012402/** @name PalletTestUtilsError */2403export interface PalletTestUtilsError extends Enum {2404 readonly isTestPalletDisabled: boolean;2405 readonly isTriggerRollback: boolean;2406 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2407}24082409/** @name PalletTestUtilsEvent */2410export interface PalletTestUtilsEvent extends Enum {2411 readonly isValueIsSet: boolean;2412 readonly isShouldRollback: boolean;2413 readonly isBatchCompleted: boolean;2414 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2415}24162417/** @name PalletTimestampCall */2418export interface PalletTimestampCall extends Enum {2419 readonly isSet: boolean;2420 readonly asSet: {2421 readonly now: Compact<u64>;2422 } & Struct;2423 readonly type: 'Set';2424}24252426/** @name PalletTransactionPaymentEvent */2427export interface PalletTransactionPaymentEvent extends Enum {2428 readonly isTransactionFeePaid: boolean;2429 readonly asTransactionFeePaid: {2430 readonly who: AccountId32;2431 readonly actualFee: u128;2432 readonly tip: u128;2433 } & Struct;2434 readonly type: 'TransactionFeePaid';2435}24362437/** @name PalletTransactionPaymentReleases */2438export interface PalletTransactionPaymentReleases extends Enum {2439 readonly isV1Ancient: boolean;2440 readonly isV2: boolean;2441 readonly type: 'V1Ancient' | 'V2';2442}24432444/** @name PalletTreasuryCall */2445export interface PalletTreasuryCall extends Enum {2446 readonly isProposeSpend: boolean;2447 readonly asProposeSpend: {2448 readonly value: Compact<u128>;2449 readonly beneficiary: MultiAddress;2450 } & Struct;2451 readonly isRejectProposal: boolean;2452 readonly asRejectProposal: {2453 readonly proposalId: Compact<u32>;2454 } & Struct;2455 readonly isApproveProposal: boolean;2456 readonly asApproveProposal: {2457 readonly proposalId: Compact<u32>;2458 } & Struct;2459 readonly isSpend: boolean;2460 readonly asSpend: {2461 readonly amount: Compact<u128>;2462 readonly beneficiary: MultiAddress;2463 } & Struct;2464 readonly isRemoveApproval: boolean;2465 readonly asRemoveApproval: {2466 readonly proposalId: Compact<u32>;2467 } & Struct;2468 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2469}24702471/** @name PalletTreasuryError */2472export interface PalletTreasuryError extends Enum {2473 readonly isInsufficientProposersBalance: boolean;2474 readonly isInvalidIndex: boolean;2475 readonly isTooManyApprovals: boolean;2476 readonly isInsufficientPermission: boolean;2477 readonly isProposalNotApproved: boolean;2478 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2479}24802481/** @name PalletTreasuryEvent */2482export interface PalletTreasuryEvent extends Enum {2483 readonly isProposed: boolean;2484 readonly asProposed: {2485 readonly proposalIndex: u32;2486 } & Struct;2487 readonly isSpending: boolean;2488 readonly asSpending: {2489 readonly budgetRemaining: u128;2490 } & Struct;2491 readonly isAwarded: boolean;2492 readonly asAwarded: {2493 readonly proposalIndex: u32;2494 readonly award: u128;2495 readonly account: AccountId32;2496 } & Struct;2497 readonly isRejected: boolean;2498 readonly asRejected: {2499 readonly proposalIndex: u32;2500 readonly slashed: u128;2501 } & Struct;2502 readonly isBurnt: boolean;2503 readonly asBurnt: {2504 readonly burntFunds: u128;2505 } & Struct;2506 readonly isRollover: boolean;2507 readonly asRollover: {2508 readonly rolloverBalance: u128;2509 } & Struct;2510 readonly isDeposit: boolean;2511 readonly asDeposit: {2512 readonly value: u128;2513 } & Struct;2514 readonly isSpendApproved: boolean;2515 readonly asSpendApproved: {2516 readonly proposalIndex: u32;2517 readonly amount: u128;2518 readonly beneficiary: AccountId32;2519 } & Struct;2520 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2521}25222523/** @name PalletTreasuryProposal */2524export interface PalletTreasuryProposal extends Struct {2525 readonly proposer: AccountId32;2526 readonly value: u128;2527 readonly beneficiary: AccountId32;2528 readonly bond: u128;2529}25302531/** @name PalletUniqueCall */2532export interface PalletUniqueCall extends Enum {2533 readonly isCreateCollection: boolean;2534 readonly asCreateCollection: {2535 readonly collectionName: Vec<u16>;2536 readonly collectionDescription: Vec<u16>;2537 readonly tokenPrefix: Bytes;2538 readonly mode: UpDataStructsCollectionMode;2539 } & Struct;2540 readonly isCreateCollectionEx: boolean;2541 readonly asCreateCollectionEx: {2542 readonly data: UpDataStructsCreateCollectionData;2543 } & Struct;2544 readonly isDestroyCollection: boolean;2545 readonly asDestroyCollection: {2546 readonly collectionId: u32;2547 } & Struct;2548 readonly isAddToAllowList: boolean;2549 readonly asAddToAllowList: {2550 readonly collectionId: u32;2551 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2552 } & Struct;2553 readonly isRemoveFromAllowList: boolean;2554 readonly asRemoveFromAllowList: {2555 readonly collectionId: u32;2556 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2557 } & Struct;2558 readonly isChangeCollectionOwner: boolean;2559 readonly asChangeCollectionOwner: {2560 readonly collectionId: u32;2561 readonly newOwner: AccountId32;2562 } & Struct;2563 readonly isAddCollectionAdmin: boolean;2564 readonly asAddCollectionAdmin: {2565 readonly collectionId: u32;2566 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2567 } & Struct;2568 readonly isRemoveCollectionAdmin: boolean;2569 readonly asRemoveCollectionAdmin: {2570 readonly collectionId: u32;2571 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2572 } & Struct;2573 readonly isSetCollectionSponsor: boolean;2574 readonly asSetCollectionSponsor: {2575 readonly collectionId: u32;2576 readonly newSponsor: AccountId32;2577 } & Struct;2578 readonly isConfirmSponsorship: boolean;2579 readonly asConfirmSponsorship: {2580 readonly collectionId: u32;2581 } & Struct;2582 readonly isRemoveCollectionSponsor: boolean;2583 readonly asRemoveCollectionSponsor: {2584 readonly collectionId: u32;2585 } & Struct;2586 readonly isCreateItem: boolean;2587 readonly asCreateItem: {2588 readonly collectionId: u32;2589 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2590 readonly data: UpDataStructsCreateItemData;2591 } & Struct;2592 readonly isCreateMultipleItems: boolean;2593 readonly asCreateMultipleItems: {2594 readonly collectionId: u32;2595 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2596 readonly itemsData: Vec<UpDataStructsCreateItemData>;2597 } & Struct;2598 readonly isSetCollectionProperties: boolean;2599 readonly asSetCollectionProperties: {2600 readonly collectionId: u32;2601 readonly properties: Vec<UpDataStructsProperty>;2602 } & Struct;2603 readonly isDeleteCollectionProperties: boolean;2604 readonly asDeleteCollectionProperties: {2605 readonly collectionId: u32;2606 readonly propertyKeys: Vec<Bytes>;2607 } & Struct;2608 readonly isSetTokenProperties: boolean;2609 readonly asSetTokenProperties: {2610 readonly collectionId: u32;2611 readonly tokenId: u32;2612 readonly properties: Vec<UpDataStructsProperty>;2613 } & Struct;2614 readonly isDeleteTokenProperties: boolean;2615 readonly asDeleteTokenProperties: {2616 readonly collectionId: u32;2617 readonly tokenId: u32;2618 readonly propertyKeys: Vec<Bytes>;2619 } & Struct;2620 readonly isSetTokenPropertyPermissions: boolean;2621 readonly asSetTokenPropertyPermissions: {2622 readonly collectionId: u32;2623 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2624 } & Struct;2625 readonly isCreateMultipleItemsEx: boolean;2626 readonly asCreateMultipleItemsEx: {2627 readonly collectionId: u32;2628 readonly data: UpDataStructsCreateItemExData;2629 } & Struct;2630 readonly isSetTransfersEnabledFlag: boolean;2631 readonly asSetTransfersEnabledFlag: {2632 readonly collectionId: u32;2633 readonly value: bool;2634 } & Struct;2635 readonly isBurnItem: boolean;2636 readonly asBurnItem: {2637 readonly collectionId: u32;2638 readonly itemId: u32;2639 readonly value: u128;2640 } & Struct;2641 readonly isBurnFrom: boolean;2642 readonly asBurnFrom: {2643 readonly collectionId: u32;2644 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2645 readonly itemId: u32;2646 readonly value: u128;2647 } & Struct;2648 readonly isTransfer: boolean;2649 readonly asTransfer: {2650 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2651 readonly collectionId: u32;2652 readonly itemId: u32;2653 readonly value: u128;2654 } & Struct;2655 readonly isApprove: boolean;2656 readonly asApprove: {2657 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2658 readonly collectionId: u32;2659 readonly itemId: u32;2660 readonly amount: u128;2661 } & Struct;2662 readonly isTransferFrom: boolean;2663 readonly asTransferFrom: {2664 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2665 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2666 readonly collectionId: u32;2667 readonly itemId: u32;2668 readonly value: u128;2669 } & Struct;2670 readonly isSetCollectionLimits: boolean;2671 readonly asSetCollectionLimits: {2672 readonly collectionId: u32;2673 readonly newLimit: UpDataStructsCollectionLimits;2674 } & Struct;2675 readonly isSetCollectionPermissions: boolean;2676 readonly asSetCollectionPermissions: {2677 readonly collectionId: u32;2678 readonly newPermission: UpDataStructsCollectionPermissions;2679 } & Struct;2680 readonly isRepartition: boolean;2681 readonly asRepartition: {2682 readonly collectionId: u32;2683 readonly tokenId: u32;2684 readonly amount: u128;2685 } & Struct;2686 readonly isSetAllowanceForAll: boolean;2687 readonly asSetAllowanceForAll: {2688 readonly collectionId: u32;2689 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2690 readonly approve: bool;2691 } & Struct;2692 readonly isForceRepairCollection: boolean;2693 readonly asForceRepairCollection: {2694 readonly collectionId: u32;2695 } & Struct;2696 readonly isForceRepairItem: boolean;2697 readonly asForceRepairItem: {2698 readonly collectionId: u32;2699 readonly itemId: u32;2700 } & Struct;2701 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2702}27032704/** @name PalletUniqueError */2705export interface PalletUniqueError extends Enum {2706 readonly isCollectionDecimalPointLimitExceeded: boolean;2707 readonly isEmptyArgument: boolean;2708 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2709 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2710}27112712/** @name PalletXcmCall */2713export interface PalletXcmCall extends Enum {2714 readonly isSend: boolean;2715 readonly asSend: {2716 readonly dest: XcmVersionedMultiLocation;2717 readonly message: XcmVersionedXcm;2718 } & Struct;2719 readonly isTeleportAssets: boolean;2720 readonly asTeleportAssets: {2721 readonly dest: XcmVersionedMultiLocation;2722 readonly beneficiary: XcmVersionedMultiLocation;2723 readonly assets: XcmVersionedMultiAssets;2724 readonly feeAssetItem: u32;2725 } & Struct;2726 readonly isReserveTransferAssets: boolean;2727 readonly asReserveTransferAssets: {2728 readonly dest: XcmVersionedMultiLocation;2729 readonly beneficiary: XcmVersionedMultiLocation;2730 readonly assets: XcmVersionedMultiAssets;2731 readonly feeAssetItem: u32;2732 } & Struct;2733 readonly isExecute: boolean;2734 readonly asExecute: {2735 readonly message: XcmVersionedXcm;2736 readonly maxWeight: u64;2737 } & Struct;2738 readonly isForceXcmVersion: boolean;2739 readonly asForceXcmVersion: {2740 readonly location: XcmV1MultiLocation;2741 readonly xcmVersion: u32;2742 } & Struct;2743 readonly isForceDefaultXcmVersion: boolean;2744 readonly asForceDefaultXcmVersion: {2745 readonly maybeXcmVersion: Option<u32>;2746 } & Struct;2747 readonly isForceSubscribeVersionNotify: boolean;2748 readonly asForceSubscribeVersionNotify: {2749 readonly location: XcmVersionedMultiLocation;2750 } & Struct;2751 readonly isForceUnsubscribeVersionNotify: boolean;2752 readonly asForceUnsubscribeVersionNotify: {2753 readonly location: XcmVersionedMultiLocation;2754 } & Struct;2755 readonly isLimitedReserveTransferAssets: boolean;2756 readonly asLimitedReserveTransferAssets: {2757 readonly dest: XcmVersionedMultiLocation;2758 readonly beneficiary: XcmVersionedMultiLocation;2759 readonly assets: XcmVersionedMultiAssets;2760 readonly feeAssetItem: u32;2761 readonly weightLimit: XcmV2WeightLimit;2762 } & Struct;2763 readonly isLimitedTeleportAssets: boolean;2764 readonly asLimitedTeleportAssets: {2765 readonly dest: XcmVersionedMultiLocation;2766 readonly beneficiary: XcmVersionedMultiLocation;2767 readonly assets: XcmVersionedMultiAssets;2768 readonly feeAssetItem: u32;2769 readonly weightLimit: XcmV2WeightLimit;2770 } & Struct;2771 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2772}27732774/** @name PalletXcmError */2775export interface PalletXcmError extends Enum {2776 readonly isUnreachable: boolean;2777 readonly isSendFailure: boolean;2778 readonly isFiltered: boolean;2779 readonly isUnweighableMessage: boolean;2780 readonly isDestinationNotInvertible: boolean;2781 readonly isEmpty: boolean;2782 readonly isCannotReanchor: boolean;2783 readonly isTooManyAssets: boolean;2784 readonly isInvalidOrigin: boolean;2785 readonly isBadVersion: boolean;2786 readonly isBadLocation: boolean;2787 readonly isNoSubscription: boolean;2788 readonly isAlreadySubscribed: boolean;2789 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2790}27912792/** @name PalletXcmEvent */2793export interface PalletXcmEvent extends Enum {2794 readonly isAttempted: boolean;2795 readonly asAttempted: XcmV2TraitsOutcome;2796 readonly isSent: boolean;2797 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2798 readonly isUnexpectedResponse: boolean;2799 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2800 readonly isResponseReady: boolean;2801 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2802 readonly isNotified: boolean;2803 readonly asNotified: ITuple<[u64, u8, u8]>;2804 readonly isNotifyOverweight: boolean;2805 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2806 readonly isNotifyDispatchError: boolean;2807 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2808 readonly isNotifyDecodeFailed: boolean;2809 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2810 readonly isInvalidResponder: boolean;2811 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2812 readonly isInvalidResponderVersion: boolean;2813 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2814 readonly isResponseTaken: boolean;2815 readonly asResponseTaken: u64;2816 readonly isAssetsTrapped: boolean;2817 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2818 readonly isVersionChangeNotified: boolean;2819 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2820 readonly isSupportedVersionChanged: boolean;2821 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2822 readonly isNotifyTargetSendFail: boolean;2823 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2824 readonly isNotifyTargetMigrationFail: boolean;2825 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2826 readonly isAssetsClaimed: boolean;2827 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2828 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2829}28302831/** @name PhantomTypeUpDataStructs */2832export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}28332834/** @name PolkadotCorePrimitivesInboundDownwardMessage */2835export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2836 readonly sentAt: u32;2837 readonly msg: Bytes;2838}28392840/** @name PolkadotCorePrimitivesInboundHrmpMessage */2841export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2842 readonly sentAt: u32;2843 readonly data: Bytes;2844}28452846/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2847export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2848 readonly recipient: u32;2849 readonly data: Bytes;2850}28512852/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2853export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2854 readonly isConcatenatedVersionedXcm: boolean;2855 readonly isConcatenatedEncodedBlob: boolean;2856 readonly isSignals: boolean;2857 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2858}28592860/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2861export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2862 readonly maxCodeSize: u32;2863 readonly maxHeadDataSize: u32;2864 readonly maxUpwardQueueCount: u32;2865 readonly maxUpwardQueueSize: u32;2866 readonly maxUpwardMessageSize: u32;2867 readonly maxUpwardMessageNumPerCandidate: u32;2868 readonly hrmpMaxMessageNumPerCandidate: u32;2869 readonly validationUpgradeCooldown: u32;2870 readonly validationUpgradeDelay: u32;2871}28722873/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2874export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2875 readonly maxCapacity: u32;2876 readonly maxTotalSize: u32;2877 readonly maxMessageSize: u32;2878 readonly msgCount: u32;2879 readonly totalSize: u32;2880 readonly mqcHead: Option<H256>;2881}28822883/** @name PolkadotPrimitivesV2PersistedValidationData */2884export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2885 readonly parentHead: Bytes;2886 readonly relayParentNumber: u32;2887 readonly relayParentStorageRoot: H256;2888 readonly maxPovSize: u32;2889}28902891/** @name PolkadotPrimitivesV2UpgradeRestriction */2892export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2893 readonly isPresent: boolean;2894 readonly type: 'Present';2895}28962897/** @name RmrkTraitsBaseBaseInfo */2898export interface RmrkTraitsBaseBaseInfo extends Struct {2899 readonly issuer: AccountId32;2900 readonly baseType: Bytes;2901 readonly symbol: Bytes;2902}29032904/** @name RmrkTraitsCollectionCollectionInfo */2905export interface RmrkTraitsCollectionCollectionInfo extends Struct {2906 readonly issuer: AccountId32;2907 readonly metadata: Bytes;2908 readonly max: Option<u32>;2909 readonly symbol: Bytes;2910 readonly nftsCount: u32;2911}29122913/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2914export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2915 readonly isAccountId: boolean;2916 readonly asAccountId: AccountId32;2917 readonly isCollectionAndNftTuple: boolean;2918 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2919 readonly type: 'AccountId' | 'CollectionAndNftTuple';2920}29212922/** @name RmrkTraitsNftNftChild */2923export interface RmrkTraitsNftNftChild extends Struct {2924 readonly collectionId: u32;2925 readonly nftId: u32;2926}29272928/** @name RmrkTraitsNftNftInfo */2929export interface RmrkTraitsNftNftInfo extends Struct {2930 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2931 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2932 readonly metadata: Bytes;2933 readonly equipped: bool;2934 readonly pending: bool;2935}29362937/** @name RmrkTraitsNftRoyaltyInfo */2938export interface RmrkTraitsNftRoyaltyInfo extends Struct {2939 readonly recipient: AccountId32;2940 readonly amount: Permill;2941}29422943/** @name RmrkTraitsPartEquippableList */2944export interface RmrkTraitsPartEquippableList extends Enum {2945 readonly isAll: boolean;2946 readonly isEmpty: boolean;2947 readonly isCustom: boolean;2948 readonly asCustom: Vec<u32>;2949 readonly type: 'All' | 'Empty' | 'Custom';2950}29512952/** @name RmrkTraitsPartFixedPart */2953export interface RmrkTraitsPartFixedPart extends Struct {2954 readonly id: u32;2955 readonly z: u32;2956 readonly src: Bytes;2957}29582959/** @name RmrkTraitsPartPartType */2960export interface RmrkTraitsPartPartType extends Enum {2961 readonly isFixedPart: boolean;2962 readonly asFixedPart: RmrkTraitsPartFixedPart;2963 readonly isSlotPart: boolean;2964 readonly asSlotPart: RmrkTraitsPartSlotPart;2965 readonly type: 'FixedPart' | 'SlotPart';2966}29672968/** @name RmrkTraitsPartSlotPart */2969export interface RmrkTraitsPartSlotPart extends Struct {2970 readonly id: u32;2971 readonly equippable: RmrkTraitsPartEquippableList;2972 readonly src: Bytes;2973 readonly z: u32;2974}29752976/** @name RmrkTraitsPropertyPropertyInfo */2977export interface RmrkTraitsPropertyPropertyInfo extends Struct {2978 readonly key: Bytes;2979 readonly value: Bytes;2980}29812982/** @name RmrkTraitsResourceBasicResource */2983export interface RmrkTraitsResourceBasicResource extends Struct {2984 readonly src: Option<Bytes>;2985 readonly metadata: Option<Bytes>;2986 readonly license: Option<Bytes>;2987 readonly thumb: Option<Bytes>;2988}29892990/** @name RmrkTraitsResourceComposableResource */2991export interface RmrkTraitsResourceComposableResource extends Struct {2992 readonly parts: Vec<u32>;2993 readonly base: u32;2994 readonly src: Option<Bytes>;2995 readonly metadata: Option<Bytes>;2996 readonly license: Option<Bytes>;2997 readonly thumb: Option<Bytes>;2998}29993000/** @name RmrkTraitsResourceResourceInfo */3001export interface RmrkTraitsResourceResourceInfo extends Struct {3002 readonly id: u32;3003 readonly resource: RmrkTraitsResourceResourceTypes;3004 readonly pending: bool;3005 readonly pendingRemoval: bool;3006}30073008/** @name RmrkTraitsResourceResourceTypes */3009export interface RmrkTraitsResourceResourceTypes extends Enum {3010 readonly isBasic: boolean;3011 readonly asBasic: RmrkTraitsResourceBasicResource;3012 readonly isComposable: boolean;3013 readonly asComposable: RmrkTraitsResourceComposableResource;3014 readonly isSlot: boolean;3015 readonly asSlot: RmrkTraitsResourceSlotResource;3016 readonly type: 'Basic' | 'Composable' | 'Slot';3017}30183019/** @name RmrkTraitsResourceSlotResource */3020export interface RmrkTraitsResourceSlotResource extends Struct {3021 readonly base: u32;3022 readonly src: Option<Bytes>;3023 readonly metadata: Option<Bytes>;3024 readonly slot: u32;3025 readonly license: Option<Bytes>;3026 readonly thumb: Option<Bytes>;3027}30283029/** @name RmrkTraitsTheme */3030export interface RmrkTraitsTheme extends Struct {3031 readonly name: Bytes;3032 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3033 readonly inherit: bool;3034}30353036/** @name RmrkTraitsThemeThemeProperty */3037export interface RmrkTraitsThemeThemeProperty extends Struct {3038 readonly key: Bytes;3039 readonly value: Bytes;3040}30413042/** @name SpConsensusAuraSr25519AppSr25519Public */3043export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}30443045/** @name SpCoreCryptoKeyTypeId */3046export interface SpCoreCryptoKeyTypeId extends U8aFixed {}30473048/** @name SpCoreEcdsaSignature */3049export interface SpCoreEcdsaSignature extends U8aFixed {}30503051/** @name SpCoreEd25519Signature */3052export interface SpCoreEd25519Signature extends U8aFixed {}30533054/** @name SpCoreSr25519Public */3055export interface SpCoreSr25519Public extends U8aFixed {}30563057/** @name SpCoreSr25519Signature */3058export interface SpCoreSr25519Signature extends U8aFixed {}30593060/** @name SpRuntimeArithmeticError */3061export interface SpRuntimeArithmeticError extends Enum {3062 readonly isUnderflow: boolean;3063 readonly isOverflow: boolean;3064 readonly isDivisionByZero: boolean;3065 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';3066}30673068/** @name SpRuntimeBlakeTwo256 */3069export interface SpRuntimeBlakeTwo256 extends Null {}30703071/** @name SpRuntimeDigest */3072export interface SpRuntimeDigest extends Struct {3073 readonly logs: Vec<SpRuntimeDigestDigestItem>;3074}30753076/** @name SpRuntimeDigestDigestItem */3077export interface SpRuntimeDigestDigestItem extends Enum {3078 readonly isOther: boolean;3079 readonly asOther: Bytes;3080 readonly isConsensus: boolean;3081 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;3082 readonly isSeal: boolean;3083 readonly asSeal: ITuple<[U8aFixed, Bytes]>;3084 readonly isPreRuntime: boolean;3085 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;3086 readonly isRuntimeEnvironmentUpdated: boolean;3087 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';3088}30893090/** @name SpRuntimeDispatchError */3091export interface SpRuntimeDispatchError extends Enum {3092 readonly isOther: boolean;3093 readonly isCannotLookup: boolean;3094 readonly isBadOrigin: boolean;3095 readonly isModule: boolean;3096 readonly asModule: SpRuntimeModuleError;3097 readonly isConsumerRemaining: boolean;3098 readonly isNoProviders: boolean;3099 readonly isTooManyConsumers: boolean;3100 readonly isToken: boolean;3101 readonly asToken: SpRuntimeTokenError;3102 readonly isArithmetic: boolean;3103 readonly asArithmetic: SpRuntimeArithmeticError;3104 readonly isTransactional: boolean;3105 readonly asTransactional: SpRuntimeTransactionalError;3106 readonly isExhausted: boolean;3107 readonly isCorruption: boolean;3108 readonly isUnavailable: boolean;3109 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';3110}31113112/** @name SpRuntimeHeader */3113export interface SpRuntimeHeader extends Struct {3114 readonly parentHash: H256;3115 readonly number: Compact<u32>;3116 readonly stateRoot: H256;3117 readonly extrinsicsRoot: H256;3118 readonly digest: SpRuntimeDigest;3119}31203121/** @name SpRuntimeModuleError */3122export interface SpRuntimeModuleError extends Struct {3123 readonly index: u8;3124 readonly error: U8aFixed;3125}31263127/** @name SpRuntimeMultiSignature */3128export interface SpRuntimeMultiSignature extends Enum {3129 readonly isEd25519: boolean;3130 readonly asEd25519: SpCoreEd25519Signature;3131 readonly isSr25519: boolean;3132 readonly asSr25519: SpCoreSr25519Signature;3133 readonly isEcdsa: boolean;3134 readonly asEcdsa: SpCoreEcdsaSignature;3135 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3136}31373138/** @name SpRuntimeTokenError */3139export interface SpRuntimeTokenError extends Enum {3140 readonly isNoFunds: boolean;3141 readonly isWouldDie: boolean;3142 readonly isBelowMinimum: boolean;3143 readonly isCannotCreate: boolean;3144 readonly isUnknownAsset: boolean;3145 readonly isFrozen: boolean;3146 readonly isUnsupported: boolean;3147 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';3148}31493150/** @name SpRuntimeTransactionalError */3151export interface SpRuntimeTransactionalError extends Enum {3152 readonly isLimitReached: boolean;3153 readonly isNoLayer: boolean;3154 readonly type: 'LimitReached' | 'NoLayer';3155}31563157/** @name SpRuntimeTransactionValidityInvalidTransaction */3158export interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3159 readonly isCall: boolean;3160 readonly isPayment: boolean;3161 readonly isFuture: boolean;3162 readonly isStale: boolean;3163 readonly isBadProof: boolean;3164 readonly isAncientBirthBlock: boolean;3165 readonly isExhaustsResources: boolean;3166 readonly isCustom: boolean;3167 readonly asCustom: u8;3168 readonly isBadMandatory: boolean;3169 readonly isMandatoryValidation: boolean;3170 readonly isBadSigner: boolean;3171 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3172}31733174/** @name SpRuntimeTransactionValidityTransactionValidityError */3175export interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3176 readonly isInvalid: boolean;3177 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3178 readonly isUnknown: boolean;3179 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;3180 readonly type: 'Invalid' | 'Unknown';3181}31823183/** @name SpRuntimeTransactionValidityUnknownTransaction */3184export interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3185 readonly isCannotLookup: boolean;3186 readonly isNoUnsignedValidator: boolean;3187 readonly isCustom: boolean;3188 readonly asCustom: u8;3189 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3190}31913192/** @name SpTrieStorageProof */3193export interface SpTrieStorageProof extends Struct {3194 readonly trieNodes: BTreeSet<Bytes>;3195}31963197/** @name SpVersionRuntimeVersion */3198export interface SpVersionRuntimeVersion extends Struct {3199 readonly specName: Text;3200 readonly implName: Text;3201 readonly authoringVersion: u32;3202 readonly specVersion: u32;3203 readonly implVersion: u32;3204 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;3205 readonly transactionVersion: u32;3206 readonly stateVersion: u8;3207}32083209/** @name SpWeightsRuntimeDbWeight */3210export interface SpWeightsRuntimeDbWeight extends Struct {3211 readonly read: u64;3212 readonly write: u64;3213}32143215/** @name SpWeightsWeightV2Weight */3216export interface SpWeightsWeightV2Weight extends Struct {3217 readonly refTime: Compact<u64>;3218 readonly proofSize: Compact<u64>;3219}32203221/** @name UpDataStructsAccessMode */3222export interface UpDataStructsAccessMode extends Enum {3223 readonly isNormal: boolean;3224 readonly isAllowList: boolean;3225 readonly type: 'Normal' | 'AllowList';3226}32273228/** @name UpDataStructsCollection */3229export interface UpDataStructsCollection extends Struct {3230 readonly owner: AccountId32;3231 readonly mode: UpDataStructsCollectionMode;3232 readonly name: Vec<u16>;3233 readonly description: Vec<u16>;3234 readonly tokenPrefix: Bytes;3235 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3236 readonly limits: UpDataStructsCollectionLimits;3237 readonly permissions: UpDataStructsCollectionPermissions;3238 readonly flags: U8aFixed;3239}32403241/** @name UpDataStructsCollectionLimits */3242export interface UpDataStructsCollectionLimits extends Struct {3243 readonly accountTokenOwnershipLimit: Option<u32>;3244 readonly sponsoredDataSize: Option<u32>;3245 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;3246 readonly tokenLimit: Option<u32>;3247 readonly sponsorTransferTimeout: Option<u32>;3248 readonly sponsorApproveTimeout: Option<u32>;3249 readonly ownerCanTransfer: Option<bool>;3250 readonly ownerCanDestroy: Option<bool>;3251 readonly transfersEnabled: Option<bool>;3252}32533254/** @name UpDataStructsCollectionMode */3255export interface UpDataStructsCollectionMode extends Enum {3256 readonly isNft: boolean;3257 readonly isFungible: boolean;3258 readonly asFungible: u8;3259 readonly isReFungible: boolean;3260 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3261}32623263/** @name UpDataStructsCollectionPermissions */3264export interface UpDataStructsCollectionPermissions extends Struct {3265 readonly access: Option<UpDataStructsAccessMode>;3266 readonly mintMode: Option<bool>;3267 readonly nesting: Option<UpDataStructsNestingPermissions>;3268}32693270/** @name UpDataStructsCollectionStats */3271export interface UpDataStructsCollectionStats extends Struct {3272 readonly created: u32;3273 readonly destroyed: u32;3274 readonly alive: u32;3275}32763277/** @name UpDataStructsCreateCollectionData */3278export interface UpDataStructsCreateCollectionData extends Struct {3279 readonly mode: UpDataStructsCollectionMode;3280 readonly access: Option<UpDataStructsAccessMode>;3281 readonly name: Vec<u16>;3282 readonly description: Vec<u16>;3283 readonly tokenPrefix: Bytes;3284 readonly pendingSponsor: Option<AccountId32>;3285 readonly limits: Option<UpDataStructsCollectionLimits>;3286 readonly permissions: Option<UpDataStructsCollectionPermissions>;3287 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3288 readonly properties: Vec<UpDataStructsProperty>;3289}32903291/** @name UpDataStructsCreateFungibleData */3292export interface UpDataStructsCreateFungibleData extends Struct {3293 readonly value: u128;3294}32953296/** @name UpDataStructsCreateItemData */3297export interface UpDataStructsCreateItemData extends Enum {3298 readonly isNft: boolean;3299 readonly asNft: UpDataStructsCreateNftData;3300 readonly isFungible: boolean;3301 readonly asFungible: UpDataStructsCreateFungibleData;3302 readonly isReFungible: boolean;3303 readonly asReFungible: UpDataStructsCreateReFungibleData;3304 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3305}33063307/** @name UpDataStructsCreateItemExData */3308export interface UpDataStructsCreateItemExData extends Enum {3309 readonly isNft: boolean;3310 readonly asNft: Vec<UpDataStructsCreateNftExData>;3311 readonly isFungible: boolean;3312 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;3313 readonly isRefungibleMultipleItems: boolean;3314 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3315 readonly isRefungibleMultipleOwners: boolean;3316 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3317 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3318}33193320/** @name UpDataStructsCreateNftData */3321export interface UpDataStructsCreateNftData extends Struct {3322 readonly properties: Vec<UpDataStructsProperty>;3323}33243325/** @name UpDataStructsCreateNftExData */3326export interface UpDataStructsCreateNftExData extends Struct {3327 readonly properties: Vec<UpDataStructsProperty>;3328 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3329}33303331/** @name UpDataStructsCreateReFungibleData */3332export interface UpDataStructsCreateReFungibleData extends Struct {3333 readonly pieces: u128;3334 readonly properties: Vec<UpDataStructsProperty>;3335}33363337/** @name UpDataStructsCreateRefungibleExMultipleOwners */3338export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3339 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3340 readonly properties: Vec<UpDataStructsProperty>;3341}33423343/** @name UpDataStructsCreateRefungibleExSingleOwner */3344export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3345 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3346 readonly pieces: u128;3347 readonly properties: Vec<UpDataStructsProperty>;3348}33493350/** @name UpDataStructsNestingPermissions */3351export interface UpDataStructsNestingPermissions extends Struct {3352 readonly tokenOwner: bool;3353 readonly collectionAdmin: bool;3354 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3355}33563357/** @name UpDataStructsOwnerRestrictedSet */3358export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}33593360/** @name UpDataStructsProperties */3361export interface UpDataStructsProperties extends Struct {3362 readonly map: UpDataStructsPropertiesMapBoundedVec;3363 readonly consumedSpace: u32;3364 readonly spaceLimit: u32;3365}33663367/** @name UpDataStructsPropertiesMapBoundedVec */3368export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33693370/** @name UpDataStructsPropertiesMapPropertyPermission */3371export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33723373/** @name UpDataStructsProperty */3374export interface UpDataStructsProperty extends Struct {3375 readonly key: Bytes;3376 readonly value: Bytes;3377}33783379/** @name UpDataStructsPropertyKeyPermission */3380export interface UpDataStructsPropertyKeyPermission extends Struct {3381 readonly key: Bytes;3382 readonly permission: UpDataStructsPropertyPermission;3383}33843385/** @name UpDataStructsPropertyPermission */3386export interface UpDataStructsPropertyPermission extends Struct {3387 readonly mutable: bool;3388 readonly collectionAdmin: bool;3389 readonly tokenOwner: bool;3390}33913392/** @name UpDataStructsPropertyScope */3393export interface UpDataStructsPropertyScope extends Enum {3394 readonly isNone: boolean;3395 readonly isRmrk: boolean;3396 readonly type: 'None' | 'Rmrk';3397}33983399/** @name UpDataStructsRpcCollection */3400export interface UpDataStructsRpcCollection extends Struct {3401 readonly owner: AccountId32;3402 readonly mode: UpDataStructsCollectionMode;3403 readonly name: Vec<u16>;3404 readonly description: Vec<u16>;3405 readonly tokenPrefix: Bytes;3406 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3407 readonly limits: UpDataStructsCollectionLimits;3408 readonly permissions: UpDataStructsCollectionPermissions;3409 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3410 readonly properties: Vec<UpDataStructsProperty>;3411 readonly readOnly: bool;3412 readonly flags: UpDataStructsRpcCollectionFlags;3413}34143415/** @name UpDataStructsRpcCollectionFlags */3416export interface UpDataStructsRpcCollectionFlags extends Struct {3417 readonly foreign: bool;3418 readonly erc721metadata: bool;3419}34203421/** @name UpDataStructsSponsoringRateLimit */3422export interface UpDataStructsSponsoringRateLimit extends Enum {3423 readonly isSponsoringDisabled: boolean;3424 readonly isBlocks: boolean;3425 readonly asBlocks: u32;3426 readonly type: 'SponsoringDisabled' | 'Blocks';3427}34283429/** @name UpDataStructsSponsorshipStateAccountId32 */3430export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3431 readonly isDisabled: boolean;3432 readonly isUnconfirmed: boolean;3433 readonly asUnconfirmed: AccountId32;3434 readonly isConfirmed: boolean;3435 readonly asConfirmed: AccountId32;3436 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3437}34383439/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3440export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3441 readonly isDisabled: boolean;3442 readonly isUnconfirmed: boolean;3443 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3444 readonly isConfirmed: boolean;3445 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3446 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3447}34483449/** @name UpDataStructsTokenChild */3450export interface UpDataStructsTokenChild extends Struct {3451 readonly token: u32;3452 readonly collection: u32;3453}34543455/** @name UpDataStructsTokenData */3456export interface UpDataStructsTokenData extends Struct {3457 readonly properties: Vec<UpDataStructsProperty>;3458 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3459 readonly pieces: u128;3460}34613462/** @name UpPovEstimateRpcPovInfo */3463export interface UpPovEstimateRpcPovInfo extends Struct {3464 readonly proofSize: u64;3465 readonly compactProofSize: u64;3466 readonly compressedProofSize: u64;3467 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3468 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3469}34703471/** @name UpPovEstimateRpcTrieKeyValue */3472export interface UpPovEstimateRpcTrieKeyValue extends Struct {3473 readonly key: Bytes;3474 readonly value: Bytes;3475}34763477/** @name XcmDoubleEncoded */3478export interface XcmDoubleEncoded extends Struct {3479 readonly encoded: Bytes;3480}34813482/** @name XcmV0Junction */3483export interface XcmV0Junction extends Enum {3484 readonly isParent: boolean;3485 readonly isParachain: boolean;3486 readonly asParachain: Compact<u32>;3487 readonly isAccountId32: boolean;3488 readonly asAccountId32: {3489 readonly network: XcmV0JunctionNetworkId;3490 readonly id: U8aFixed;3491 } & Struct;3492 readonly isAccountIndex64: boolean;3493 readonly asAccountIndex64: {3494 readonly network: XcmV0JunctionNetworkId;3495 readonly index: Compact<u64>;3496 } & Struct;3497 readonly isAccountKey20: boolean;3498 readonly asAccountKey20: {3499 readonly network: XcmV0JunctionNetworkId;3500 readonly key: U8aFixed;3501 } & Struct;3502 readonly isPalletInstance: boolean;3503 readonly asPalletInstance: u8;3504 readonly isGeneralIndex: boolean;3505 readonly asGeneralIndex: Compact<u128>;3506 readonly isGeneralKey: boolean;3507 readonly asGeneralKey: Bytes;3508 readonly isOnlyChild: boolean;3509 readonly isPlurality: boolean;3510 readonly asPlurality: {3511 readonly id: XcmV0JunctionBodyId;3512 readonly part: XcmV0JunctionBodyPart;3513 } & Struct;3514 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3515}35163517/** @name XcmV0JunctionBodyId */3518export interface XcmV0JunctionBodyId extends Enum {3519 readonly isUnit: boolean;3520 readonly isNamed: boolean;3521 readonly asNamed: Bytes;3522 readonly isIndex: boolean;3523 readonly asIndex: Compact<u32>;3524 readonly isExecutive: boolean;3525 readonly isTechnical: boolean;3526 readonly isLegislative: boolean;3527 readonly isJudicial: boolean;3528 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3529}35303531/** @name XcmV0JunctionBodyPart */3532export interface XcmV0JunctionBodyPart extends Enum {3533 readonly isVoice: boolean;3534 readonly isMembers: boolean;3535 readonly asMembers: {3536 readonly count: Compact<u32>;3537 } & Struct;3538 readonly isFraction: boolean;3539 readonly asFraction: {3540 readonly nom: Compact<u32>;3541 readonly denom: Compact<u32>;3542 } & Struct;3543 readonly isAtLeastProportion: boolean;3544 readonly asAtLeastProportion: {3545 readonly nom: Compact<u32>;3546 readonly denom: Compact<u32>;3547 } & Struct;3548 readonly isMoreThanProportion: boolean;3549 readonly asMoreThanProportion: {3550 readonly nom: Compact<u32>;3551 readonly denom: Compact<u32>;3552 } & Struct;3553 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3554}35553556/** @name XcmV0JunctionNetworkId */3557export interface XcmV0JunctionNetworkId extends Enum {3558 readonly isAny: boolean;3559 readonly isNamed: boolean;3560 readonly asNamed: Bytes;3561 readonly isPolkadot: boolean;3562 readonly isKusama: boolean;3563 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3564}35653566/** @name XcmV0MultiAsset */3567export interface XcmV0MultiAsset extends Enum {3568 readonly isNone: boolean;3569 readonly isAll: boolean;3570 readonly isAllFungible: boolean;3571 readonly isAllNonFungible: boolean;3572 readonly isAllAbstractFungible: boolean;3573 readonly asAllAbstractFungible: {3574 readonly id: Bytes;3575 } & Struct;3576 readonly isAllAbstractNonFungible: boolean;3577 readonly asAllAbstractNonFungible: {3578 readonly class: Bytes;3579 } & Struct;3580 readonly isAllConcreteFungible: boolean;3581 readonly asAllConcreteFungible: {3582 readonly id: XcmV0MultiLocation;3583 } & Struct;3584 readonly isAllConcreteNonFungible: boolean;3585 readonly asAllConcreteNonFungible: {3586 readonly class: XcmV0MultiLocation;3587 } & Struct;3588 readonly isAbstractFungible: boolean;3589 readonly asAbstractFungible: {3590 readonly id: Bytes;3591 readonly amount: Compact<u128>;3592 } & Struct;3593 readonly isAbstractNonFungible: boolean;3594 readonly asAbstractNonFungible: {3595 readonly class: Bytes;3596 readonly instance: XcmV1MultiassetAssetInstance;3597 } & Struct;3598 readonly isConcreteFungible: boolean;3599 readonly asConcreteFungible: {3600 readonly id: XcmV0MultiLocation;3601 readonly amount: Compact<u128>;3602 } & Struct;3603 readonly isConcreteNonFungible: boolean;3604 readonly asConcreteNonFungible: {3605 readonly class: XcmV0MultiLocation;3606 readonly instance: XcmV1MultiassetAssetInstance;3607 } & Struct;3608 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3609}36103611/** @name XcmV0MultiLocation */3612export interface XcmV0MultiLocation extends Enum {3613 readonly isNull: boolean;3614 readonly isX1: boolean;3615 readonly asX1: XcmV0Junction;3616 readonly isX2: boolean;3617 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3618 readonly isX3: boolean;3619 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3620 readonly isX4: boolean;3621 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3622 readonly isX5: boolean;3623 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3624 readonly isX6: boolean;3625 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3626 readonly isX7: boolean;3627 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3628 readonly isX8: boolean;3629 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3630 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3631}36323633/** @name XcmV0Order */3634export interface XcmV0Order extends Enum {3635 readonly isNull: boolean;3636 readonly isDepositAsset: boolean;3637 readonly asDepositAsset: {3638 readonly assets: Vec<XcmV0MultiAsset>;3639 readonly dest: XcmV0MultiLocation;3640 } & Struct;3641 readonly isDepositReserveAsset: boolean;3642 readonly asDepositReserveAsset: {3643 readonly assets: Vec<XcmV0MultiAsset>;3644 readonly dest: XcmV0MultiLocation;3645 readonly effects: Vec<XcmV0Order>;3646 } & Struct;3647 readonly isExchangeAsset: boolean;3648 readonly asExchangeAsset: {3649 readonly give: Vec<XcmV0MultiAsset>;3650 readonly receive: Vec<XcmV0MultiAsset>;3651 } & Struct;3652 readonly isInitiateReserveWithdraw: boolean;3653 readonly asInitiateReserveWithdraw: {3654 readonly assets: Vec<XcmV0MultiAsset>;3655 readonly reserve: XcmV0MultiLocation;3656 readonly effects: Vec<XcmV0Order>;3657 } & Struct;3658 readonly isInitiateTeleport: boolean;3659 readonly asInitiateTeleport: {3660 readonly assets: Vec<XcmV0MultiAsset>;3661 readonly dest: XcmV0MultiLocation;3662 readonly effects: Vec<XcmV0Order>;3663 } & Struct;3664 readonly isQueryHolding: boolean;3665 readonly asQueryHolding: {3666 readonly queryId: Compact<u64>;3667 readonly dest: XcmV0MultiLocation;3668 readonly assets: Vec<XcmV0MultiAsset>;3669 } & Struct;3670 readonly isBuyExecution: boolean;3671 readonly asBuyExecution: {3672 readonly fees: XcmV0MultiAsset;3673 readonly weight: u64;3674 readonly debt: u64;3675 readonly haltOnError: bool;3676 readonly xcm: Vec<XcmV0Xcm>;3677 } & Struct;3678 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3679}36803681/** @name XcmV0OriginKind */3682export interface XcmV0OriginKind extends Enum {3683 readonly isNative: boolean;3684 readonly isSovereignAccount: boolean;3685 readonly isSuperuser: boolean;3686 readonly isXcm: boolean;3687 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3688}36893690/** @name XcmV0Response */3691export interface XcmV0Response extends Enum {3692 readonly isAssets: boolean;3693 readonly asAssets: Vec<XcmV0MultiAsset>;3694 readonly type: 'Assets';3695}36963697/** @name XcmV0Xcm */3698export interface XcmV0Xcm extends Enum {3699 readonly isWithdrawAsset: boolean;3700 readonly asWithdrawAsset: {3701 readonly assets: Vec<XcmV0MultiAsset>;3702 readonly effects: Vec<XcmV0Order>;3703 } & Struct;3704 readonly isReserveAssetDeposit: boolean;3705 readonly asReserveAssetDeposit: {3706 readonly assets: Vec<XcmV0MultiAsset>;3707 readonly effects: Vec<XcmV0Order>;3708 } & Struct;3709 readonly isTeleportAsset: boolean;3710 readonly asTeleportAsset: {3711 readonly assets: Vec<XcmV0MultiAsset>;3712 readonly effects: Vec<XcmV0Order>;3713 } & Struct;3714 readonly isQueryResponse: boolean;3715 readonly asQueryResponse: {3716 readonly queryId: Compact<u64>;3717 readonly response: XcmV0Response;3718 } & Struct;3719 readonly isTransferAsset: boolean;3720 readonly asTransferAsset: {3721 readonly assets: Vec<XcmV0MultiAsset>;3722 readonly dest: XcmV0MultiLocation;3723 } & Struct;3724 readonly isTransferReserveAsset: boolean;3725 readonly asTransferReserveAsset: {3726 readonly assets: Vec<XcmV0MultiAsset>;3727 readonly dest: XcmV0MultiLocation;3728 readonly effects: Vec<XcmV0Order>;3729 } & Struct;3730 readonly isTransact: boolean;3731 readonly asTransact: {3732 readonly originType: XcmV0OriginKind;3733 readonly requireWeightAtMost: u64;3734 readonly call: XcmDoubleEncoded;3735 } & Struct;3736 readonly isHrmpNewChannelOpenRequest: boolean;3737 readonly asHrmpNewChannelOpenRequest: {3738 readonly sender: Compact<u32>;3739 readonly maxMessageSize: Compact<u32>;3740 readonly maxCapacity: Compact<u32>;3741 } & Struct;3742 readonly isHrmpChannelAccepted: boolean;3743 readonly asHrmpChannelAccepted: {3744 readonly recipient: Compact<u32>;3745 } & Struct;3746 readonly isHrmpChannelClosing: boolean;3747 readonly asHrmpChannelClosing: {3748 readonly initiator: Compact<u32>;3749 readonly sender: Compact<u32>;3750 readonly recipient: Compact<u32>;3751 } & Struct;3752 readonly isRelayedFrom: boolean;3753 readonly asRelayedFrom: {3754 readonly who: XcmV0MultiLocation;3755 readonly message: XcmV0Xcm;3756 } & Struct;3757 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3758}37593760/** @name XcmV1Junction */3761export interface XcmV1Junction extends Enum {3762 readonly isParachain: boolean;3763 readonly asParachain: Compact<u32>;3764 readonly isAccountId32: boolean;3765 readonly asAccountId32: {3766 readonly network: XcmV0JunctionNetworkId;3767 readonly id: U8aFixed;3768 } & Struct;3769 readonly isAccountIndex64: boolean;3770 readonly asAccountIndex64: {3771 readonly network: XcmV0JunctionNetworkId;3772 readonly index: Compact<u64>;3773 } & Struct;3774 readonly isAccountKey20: boolean;3775 readonly asAccountKey20: {3776 readonly network: XcmV0JunctionNetworkId;3777 readonly key: U8aFixed;3778 } & Struct;3779 readonly isPalletInstance: boolean;3780 readonly asPalletInstance: u8;3781 readonly isGeneralIndex: boolean;3782 readonly asGeneralIndex: Compact<u128>;3783 readonly isGeneralKey: boolean;3784 readonly asGeneralKey: Bytes;3785 readonly isOnlyChild: boolean;3786 readonly isPlurality: boolean;3787 readonly asPlurality: {3788 readonly id: XcmV0JunctionBodyId;3789 readonly part: XcmV0JunctionBodyPart;3790 } & Struct;3791 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3792}37933794/** @name XcmV1MultiAsset */3795export interface XcmV1MultiAsset extends Struct {3796 readonly id: XcmV1MultiassetAssetId;3797 readonly fun: XcmV1MultiassetFungibility;3798}37993800/** @name XcmV1MultiassetAssetId */3801export interface XcmV1MultiassetAssetId extends Enum {3802 readonly isConcrete: boolean;3803 readonly asConcrete: XcmV1MultiLocation;3804 readonly isAbstract: boolean;3805 readonly asAbstract: Bytes;3806 readonly type: 'Concrete' | 'Abstract';3807}38083809/** @name XcmV1MultiassetAssetInstance */3810export interface XcmV1MultiassetAssetInstance extends Enum {3811 readonly isUndefined: boolean;3812 readonly isIndex: boolean;3813 readonly asIndex: Compact<u128>;3814 readonly isArray4: boolean;3815 readonly asArray4: U8aFixed;3816 readonly isArray8: boolean;3817 readonly asArray8: U8aFixed;3818 readonly isArray16: boolean;3819 readonly asArray16: U8aFixed;3820 readonly isArray32: boolean;3821 readonly asArray32: U8aFixed;3822 readonly isBlob: boolean;3823 readonly asBlob: Bytes;3824 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3825}38263827/** @name XcmV1MultiassetFungibility */3828export interface XcmV1MultiassetFungibility extends Enum {3829 readonly isFungible: boolean;3830 readonly asFungible: Compact<u128>;3831 readonly isNonFungible: boolean;3832 readonly asNonFungible: XcmV1MultiassetAssetInstance;3833 readonly type: 'Fungible' | 'NonFungible';3834}38353836/** @name XcmV1MultiassetMultiAssetFilter */3837export interface XcmV1MultiassetMultiAssetFilter extends Enum {3838 readonly isDefinite: boolean;3839 readonly asDefinite: XcmV1MultiassetMultiAssets;3840 readonly isWild: boolean;3841 readonly asWild: XcmV1MultiassetWildMultiAsset;3842 readonly type: 'Definite' | 'Wild';3843}38443845/** @name XcmV1MultiassetMultiAssets */3846export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}38473848/** @name XcmV1MultiassetWildFungibility */3849export interface XcmV1MultiassetWildFungibility extends Enum {3850 readonly isFungible: boolean;3851 readonly isNonFungible: boolean;3852 readonly type: 'Fungible' | 'NonFungible';3853}38543855/** @name XcmV1MultiassetWildMultiAsset */3856export interface XcmV1MultiassetWildMultiAsset extends Enum {3857 readonly isAll: boolean;3858 readonly isAllOf: boolean;3859 readonly asAllOf: {3860 readonly id: XcmV1MultiassetAssetId;3861 readonly fun: XcmV1MultiassetWildFungibility;3862 } & Struct;3863 readonly type: 'All' | 'AllOf';3864}38653866/** @name XcmV1MultiLocation */3867export interface XcmV1MultiLocation extends Struct {3868 readonly parents: u8;3869 readonly interior: XcmV1MultilocationJunctions;3870}38713872/** @name XcmV1MultilocationJunctions */3873export interface XcmV1MultilocationJunctions extends Enum {3874 readonly isHere: boolean;3875 readonly isX1: boolean;3876 readonly asX1: XcmV1Junction;3877 readonly isX2: boolean;3878 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3879 readonly isX3: boolean;3880 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3881 readonly isX4: boolean;3882 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3883 readonly isX5: boolean;3884 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3885 readonly isX6: boolean;3886 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3887 readonly isX7: boolean;3888 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3889 readonly isX8: boolean;3890 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3891 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3892}38933894/** @name XcmV1Order */3895export interface XcmV1Order extends Enum {3896 readonly isNoop: boolean;3897 readonly isDepositAsset: boolean;3898 readonly asDepositAsset: {3899 readonly assets: XcmV1MultiassetMultiAssetFilter;3900 readonly maxAssets: u32;3901 readonly beneficiary: XcmV1MultiLocation;3902 } & Struct;3903 readonly isDepositReserveAsset: boolean;3904 readonly asDepositReserveAsset: {3905 readonly assets: XcmV1MultiassetMultiAssetFilter;3906 readonly maxAssets: u32;3907 readonly dest: XcmV1MultiLocation;3908 readonly effects: Vec<XcmV1Order>;3909 } & Struct;3910 readonly isExchangeAsset: boolean;3911 readonly asExchangeAsset: {3912 readonly give: XcmV1MultiassetMultiAssetFilter;3913 readonly receive: XcmV1MultiassetMultiAssets;3914 } & Struct;3915 readonly isInitiateReserveWithdraw: boolean;3916 readonly asInitiateReserveWithdraw: {3917 readonly assets: XcmV1MultiassetMultiAssetFilter;3918 readonly reserve: XcmV1MultiLocation;3919 readonly effects: Vec<XcmV1Order>;3920 } & Struct;3921 readonly isInitiateTeleport: boolean;3922 readonly asInitiateTeleport: {3923 readonly assets: XcmV1MultiassetMultiAssetFilter;3924 readonly dest: XcmV1MultiLocation;3925 readonly effects: Vec<XcmV1Order>;3926 } & Struct;3927 readonly isQueryHolding: boolean;3928 readonly asQueryHolding: {3929 readonly queryId: Compact<u64>;3930 readonly dest: XcmV1MultiLocation;3931 readonly assets: XcmV1MultiassetMultiAssetFilter;3932 } & Struct;3933 readonly isBuyExecution: boolean;3934 readonly asBuyExecution: {3935 readonly fees: XcmV1MultiAsset;3936 readonly weight: u64;3937 readonly debt: u64;3938 readonly haltOnError: bool;3939 readonly instructions: Vec<XcmV1Xcm>;3940 } & Struct;3941 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3942}39433944/** @name XcmV1Response */3945export interface XcmV1Response extends Enum {3946 readonly isAssets: boolean;3947 readonly asAssets: XcmV1MultiassetMultiAssets;3948 readonly isVersion: boolean;3949 readonly asVersion: u32;3950 readonly type: 'Assets' | 'Version';3951}39523953/** @name XcmV1Xcm */3954export interface XcmV1Xcm extends Enum {3955 readonly isWithdrawAsset: boolean;3956 readonly asWithdrawAsset: {3957 readonly assets: XcmV1MultiassetMultiAssets;3958 readonly effects: Vec<XcmV1Order>;3959 } & Struct;3960 readonly isReserveAssetDeposited: boolean;3961 readonly asReserveAssetDeposited: {3962 readonly assets: XcmV1MultiassetMultiAssets;3963 readonly effects: Vec<XcmV1Order>;3964 } & Struct;3965 readonly isReceiveTeleportedAsset: boolean;3966 readonly asReceiveTeleportedAsset: {3967 readonly assets: XcmV1MultiassetMultiAssets;3968 readonly effects: Vec<XcmV1Order>;3969 } & Struct;3970 readonly isQueryResponse: boolean;3971 readonly asQueryResponse: {3972 readonly queryId: Compact<u64>;3973 readonly response: XcmV1Response;3974 } & Struct;3975 readonly isTransferAsset: boolean;3976 readonly asTransferAsset: {3977 readonly assets: XcmV1MultiassetMultiAssets;3978 readonly beneficiary: XcmV1MultiLocation;3979 } & Struct;3980 readonly isTransferReserveAsset: boolean;3981 readonly asTransferReserveAsset: {3982 readonly assets: XcmV1MultiassetMultiAssets;3983 readonly dest: XcmV1MultiLocation;3984 readonly effects: Vec<XcmV1Order>;3985 } & Struct;3986 readonly isTransact: boolean;3987 readonly asTransact: {3988 readonly originType: XcmV0OriginKind;3989 readonly requireWeightAtMost: u64;3990 readonly call: XcmDoubleEncoded;3991 } & Struct;3992 readonly isHrmpNewChannelOpenRequest: boolean;3993 readonly asHrmpNewChannelOpenRequest: {3994 readonly sender: Compact<u32>;3995 readonly maxMessageSize: Compact<u32>;3996 readonly maxCapacity: Compact<u32>;3997 } & Struct;3998 readonly isHrmpChannelAccepted: boolean;3999 readonly asHrmpChannelAccepted: {4000 readonly recipient: Compact<u32>;4001 } & Struct;4002 readonly isHrmpChannelClosing: boolean;4003 readonly asHrmpChannelClosing: {4004 readonly initiator: Compact<u32>;4005 readonly sender: Compact<u32>;4006 readonly recipient: Compact<u32>;4007 } & Struct;4008 readonly isRelayedFrom: boolean;4009 readonly asRelayedFrom: {4010 readonly who: XcmV1MultilocationJunctions;4011 readonly message: XcmV1Xcm;4012 } & Struct;4013 readonly isSubscribeVersion: boolean;4014 readonly asSubscribeVersion: {4015 readonly queryId: Compact<u64>;4016 readonly maxResponseWeight: Compact<u64>;4017 } & Struct;4018 readonly isUnsubscribeVersion: boolean;4019 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';4020}40214022/** @name XcmV2Instruction */4023export interface XcmV2Instruction extends Enum {4024 readonly isWithdrawAsset: boolean;4025 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;4026 readonly isReserveAssetDeposited: boolean;4027 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;4028 readonly isReceiveTeleportedAsset: boolean;4029 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;4030 readonly isQueryResponse: boolean;4031 readonly asQueryResponse: {4032 readonly queryId: Compact<u64>;4033 readonly response: XcmV2Response;4034 readonly maxWeight: Compact<u64>;4035 } & Struct;4036 readonly isTransferAsset: boolean;4037 readonly asTransferAsset: {4038 readonly assets: XcmV1MultiassetMultiAssets;4039 readonly beneficiary: XcmV1MultiLocation;4040 } & Struct;4041 readonly isTransferReserveAsset: boolean;4042 readonly asTransferReserveAsset: {4043 readonly assets: XcmV1MultiassetMultiAssets;4044 readonly dest: XcmV1MultiLocation;4045 readonly xcm: XcmV2Xcm;4046 } & Struct;4047 readonly isTransact: boolean;4048 readonly asTransact: {4049 readonly originType: XcmV0OriginKind;4050 readonly requireWeightAtMost: Compact<u64>;4051 readonly call: XcmDoubleEncoded;4052 } & Struct;4053 readonly isHrmpNewChannelOpenRequest: boolean;4054 readonly asHrmpNewChannelOpenRequest: {4055 readonly sender: Compact<u32>;4056 readonly maxMessageSize: Compact<u32>;4057 readonly maxCapacity: Compact<u32>;4058 } & Struct;4059 readonly isHrmpChannelAccepted: boolean;4060 readonly asHrmpChannelAccepted: {4061 readonly recipient: Compact<u32>;4062 } & Struct;4063 readonly isHrmpChannelClosing: boolean;4064 readonly asHrmpChannelClosing: {4065 readonly initiator: Compact<u32>;4066 readonly sender: Compact<u32>;4067 readonly recipient: Compact<u32>;4068 } & Struct;4069 readonly isClearOrigin: boolean;4070 readonly isDescendOrigin: boolean;4071 readonly asDescendOrigin: XcmV1MultilocationJunctions;4072 readonly isReportError: boolean;4073 readonly asReportError: {4074 readonly queryId: Compact<u64>;4075 readonly dest: XcmV1MultiLocation;4076 readonly maxResponseWeight: Compact<u64>;4077 } & Struct;4078 readonly isDepositAsset: boolean;4079 readonly asDepositAsset: {4080 readonly assets: XcmV1MultiassetMultiAssetFilter;4081 readonly maxAssets: Compact<u32>;4082 readonly beneficiary: XcmV1MultiLocation;4083 } & Struct;4084 readonly isDepositReserveAsset: boolean;4085 readonly asDepositReserveAsset: {4086 readonly assets: XcmV1MultiassetMultiAssetFilter;4087 readonly maxAssets: Compact<u32>;4088 readonly dest: XcmV1MultiLocation;4089 readonly xcm: XcmV2Xcm;4090 } & Struct;4091 readonly isExchangeAsset: boolean;4092 readonly asExchangeAsset: {4093 readonly give: XcmV1MultiassetMultiAssetFilter;4094 readonly receive: XcmV1MultiassetMultiAssets;4095 } & Struct;4096 readonly isInitiateReserveWithdraw: boolean;4097 readonly asInitiateReserveWithdraw: {4098 readonly assets: XcmV1MultiassetMultiAssetFilter;4099 readonly reserve: XcmV1MultiLocation;4100 readonly xcm: XcmV2Xcm;4101 } & Struct;4102 readonly isInitiateTeleport: boolean;4103 readonly asInitiateTeleport: {4104 readonly assets: XcmV1MultiassetMultiAssetFilter;4105 readonly dest: XcmV1MultiLocation;4106 readonly xcm: XcmV2Xcm;4107 } & Struct;4108 readonly isQueryHolding: boolean;4109 readonly asQueryHolding: {4110 readonly queryId: Compact<u64>;4111 readonly dest: XcmV1MultiLocation;4112 readonly assets: XcmV1MultiassetMultiAssetFilter;4113 readonly maxResponseWeight: Compact<u64>;4114 } & Struct;4115 readonly isBuyExecution: boolean;4116 readonly asBuyExecution: {4117 readonly fees: XcmV1MultiAsset;4118 readonly weightLimit: XcmV2WeightLimit;4119 } & Struct;4120 readonly isRefundSurplus: boolean;4121 readonly isSetErrorHandler: boolean;4122 readonly asSetErrorHandler: XcmV2Xcm;4123 readonly isSetAppendix: boolean;4124 readonly asSetAppendix: XcmV2Xcm;4125 readonly isClearError: boolean;4126 readonly isClaimAsset: boolean;4127 readonly asClaimAsset: {4128 readonly assets: XcmV1MultiassetMultiAssets;4129 readonly ticket: XcmV1MultiLocation;4130 } & Struct;4131 readonly isTrap: boolean;4132 readonly asTrap: Compact<u64>;4133 readonly isSubscribeVersion: boolean;4134 readonly asSubscribeVersion: {4135 readonly queryId: Compact<u64>;4136 readonly maxResponseWeight: Compact<u64>;4137 } & Struct;4138 readonly isUnsubscribeVersion: boolean;4139 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';4140}41414142/** @name XcmV2Response */4143export interface XcmV2Response extends Enum {4144 readonly isNull: boolean;4145 readonly isAssets: boolean;4146 readonly asAssets: XcmV1MultiassetMultiAssets;4147 readonly isExecutionResult: boolean;4148 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;4149 readonly isVersion: boolean;4150 readonly asVersion: u32;4151 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';4152}41534154/** @name XcmV2TraitsError */4155export interface XcmV2TraitsError extends Enum {4156 readonly isOverflow: boolean;4157 readonly isUnimplemented: boolean;4158 readonly isUntrustedReserveLocation: boolean;4159 readonly isUntrustedTeleportLocation: boolean;4160 readonly isMultiLocationFull: boolean;4161 readonly isMultiLocationNotInvertible: boolean;4162 readonly isBadOrigin: boolean;4163 readonly isInvalidLocation: boolean;4164 readonly isAssetNotFound: boolean;4165 readonly isFailedToTransactAsset: boolean;4166 readonly isNotWithdrawable: boolean;4167 readonly isLocationCannotHold: boolean;4168 readonly isExceedsMaxMessageSize: boolean;4169 readonly isDestinationUnsupported: boolean;4170 readonly isTransport: boolean;4171 readonly isUnroutable: boolean;4172 readonly isUnknownClaim: boolean;4173 readonly isFailedToDecode: boolean;4174 readonly isMaxWeightInvalid: boolean;4175 readonly isNotHoldingFees: boolean;4176 readonly isTooExpensive: boolean;4177 readonly isTrap: boolean;4178 readonly asTrap: u64;4179 readonly isUnhandledXcmVersion: boolean;4180 readonly isWeightLimitReached: boolean;4181 readonly asWeightLimitReached: u64;4182 readonly isBarrier: boolean;4183 readonly isWeightNotComputable: boolean;4184 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';4185}41864187/** @name XcmV2TraitsOutcome */4188export interface XcmV2TraitsOutcome extends Enum {4189 readonly isComplete: boolean;4190 readonly asComplete: u64;4191 readonly isIncomplete: boolean;4192 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;4193 readonly isError: boolean;4194 readonly asError: XcmV2TraitsError;4195 readonly type: 'Complete' | 'Incomplete' | 'Error';4196}41974198/** @name XcmV2WeightLimit */4199export interface XcmV2WeightLimit extends Enum {4200 readonly isUnlimited: boolean;4201 readonly isLimited: boolean;4202 readonly asLimited: Compact<u64>;4203 readonly type: 'Unlimited' | 'Limited';4204}42054206/** @name XcmV2Xcm */4207export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}42084209/** @name XcmVersionedMultiAsset */4210export interface XcmVersionedMultiAsset extends Enum {4211 readonly isV0: boolean;4212 readonly asV0: XcmV0MultiAsset;4213 readonly isV1: boolean;4214 readonly asV1: XcmV1MultiAsset;4215 readonly type: 'V0' | 'V1';4216}42174218/** @name XcmVersionedMultiAssets */4219export interface XcmVersionedMultiAssets extends Enum {4220 readonly isV0: boolean;4221 readonly asV0: Vec<XcmV0MultiAsset>;4222 readonly isV1: boolean;4223 readonly asV1: XcmV1MultiassetMultiAssets;4224 readonly type: 'V0' | 'V1';4225}42264227/** @name XcmVersionedMultiLocation */4228export interface XcmVersionedMultiLocation extends Enum {4229 readonly isV0: boolean;4230 readonly asV0: XcmV0MultiLocation;4231 readonly isV1: boolean;4232 readonly asV1: XcmV1MultiLocation;4233 readonly type: 'V0' | 'V1';4234}42354236/** @name XcmVersionedXcm */4237export interface XcmVersionedXcm extends Enum {4238 readonly isV0: boolean;4239 readonly asV0: XcmV0Xcm;4240 readonly isV1: boolean;4241 readonly asV1: XcmV1Xcm;4242 readonly isV2: boolean;4243 readonly asV2: XcmV2Xcm;4244 readonly type: 'V0' | 'V1' | 'V2';4245}42464247export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -198,7 +198,7 @@
accountId: 'AccountId32',
deposit: 'u128',
},
- LicenseForfeited: {
+ LicenseReleased: {
accountId: 'AccountId32',
depositReturned: 'u128',
},
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -212,8 +212,8 @@
readonly accountId: AccountId32;
readonly deposit: u128;
} & Struct;
- readonly isLicenseForfeited: boolean;
- readonly asLicenseForfeited: {
+ readonly isLicenseReleased: boolean;
+ readonly asLicenseReleased: {
readonly accountId: AccountId32;
readonly depositReturned: u128;
} & Struct;
@@ -225,7 +225,7 @@
readonly asCandidateRemoved: {
readonly accountId: AccountId32;
} & Struct;
- readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
+ readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';
}
/** @name PalletSessionEvent (31) */
@@ -3513,11 +3513,11 @@
readonly asInsertEvents: {
readonly events: Vec<Bytes>;
} & Struct;
- readonly isInsertIdentities: boolean;
- readonly asInsertIdentities: {
+ readonly isSetIdentities: boolean;
+ readonly asSetIdentities: {
readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
} & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'InsertIdentities';
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'SetIdentities';
}
/** @name PalletMaintenanceCall (418) */