difftreelog
added bench for sponsoring, logic broken , commit for rebase
in: master
14 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5307,6 +5307,7 @@
"pallet-common",
"pallet-evm",
"pallet-evm-contract-helpers",
+ "pallet-evm-migration",
"pallet-randomness-collective-flip",
"pallet-timestamp",
"pallet-unique",
pallets/app-promotion/Cargo.tomldiffbeforeafterboth--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -15,7 +15,7 @@
targets = ['x86_64-unknown-linux-gnu']
[features]
-default = ['std']
+default = ['std',]
runtime-benchmarks = [
'frame-benchmarking',
'frame-support/runtime-benchmarks',
@@ -121,6 +121,13 @@
[dependencies.pallet-evm-contract-helpers]
default-features = false
path = "../evm-contract-helpers"
+
+[dev-dependencies]
+[dependencies.pallet-evm-migration]
+default-features = false
+path = "../evm-migration"
+
+
################################################################################
[dependencies]
pallets/app-promotion/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/benchmarking.rs
+++ b/pallets/app-promotion/src/benchmarking.rs
@@ -20,53 +20,109 @@
use crate::Pallet as PromototionPallet;
use sp_runtime::traits::Bounded;
+use sp_std::vec;
use frame_benchmarking::{benchmarks, account};
-use frame_support::traits::OnInitialize;
+
use frame_system::{Origin, RawOrigin};
+use pallet_unique::benchmarking::create_nft_collection;
+use pallet_evm_migration::Pallet as EvmMigrationPallet;
+
+// trait BenchmarkingConfig: Config + pallet_unique::Config { }
+
+// impl<T: Config + pallet_unique::Config> BenchmarkingConfig for T { }
const SEED: u32 = 0;
benchmarks! {
where_clause{
- where T: Config
-
+ where T: Config + pallet_unique::Config + pallet_evm_migration::Config ,
+ T::BlockNumber: From<u32>
}
- on_initialize {
- let block1: T::BlockNumber = T::BlockNumber::from(1u32);
- let block2: T::BlockNumber = T::BlockNumber::from(2u32);
- PromototionPallet::<T>::on_initialize(block1); // Create Treasury account
- }: { PromototionPallet::<T>::on_initialize(block2); } // Benchmark deposit_into_existing path
-
start_app_promotion {
- let caller = account::<T::AccountId>("caller", 0, SEED);
- } : {PromototionPallet::<T>::start_app_promotion(RawOrigin::Root.into(), T::BlockNumber::from(2u32))?}
+ } : {PromototionPallet::<T>::start_app_promotion(RawOrigin::Root.into(), None)?}
+
+ stop_app_promotion{
+ PromototionPallet::<T>::start_app_promotion(RawOrigin::Root.into(), Some(25.into()))?;
+ } : {PromototionPallet::<T>::stop_app_promotion(RawOrigin::Root.into())?}
set_admin_address {
- let caller = account::<T::AccountId>("caller", 0, SEED);
- let _ = T::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
- } : {PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), caller)?}
+ let pallet_admin = account::<T::AccountId>("admin", 0, SEED);
+ let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ } : {PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin))?}
+ payout_stakers{
+ let pallet_admin = account::<T::AccountId>("admin", 0, SEED);
+ let share = Perbill::from_rational(1u32, 10);
+ PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin.clone()))?;
+ let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let staker: T::AccountId = account("caller", 0, SEED);
+ let _ = <T as Config>::Currency::make_free_balance_be(&staker, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(staker.clone()).into(), share * <T as Config>::Currency::total_balance(&staker))?;
+ } : {PromototionPallet::<T>::payout_stakers(RawOrigin::Signed(pallet_admin.clone()).into(), Some(1))?}
+
stake {
let caller = account::<T::AccountId>("caller", 0, SEED);
let share = Perbill::from_rational(1u32, 10);
- let _ = T::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
- } : {PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?}
+ let _ = <T as Config>::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ } : {PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * <T as Config>::Currency::total_balance(&caller))?}
unstake {
let caller = account::<T::AccountId>("caller", 0, SEED);
let share = Perbill::from_rational(1u32, 10);
- let _ = T::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
- let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?;
+ let _ = <T as Config>::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * <T as Config>::Currency::total_balance(&caller))?;
- } : {PromototionPallet::<T>::unstake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?}
+ } : {PromototionPallet::<T>::unstake(RawOrigin::Signed(caller.clone()).into(), share * <T as Config>::Currency::total_balance(&caller))?}
recalculate_stake {
let caller = account::<T::AccountId>("caller", 0, SEED);
let share = Perbill::from_rational(1u32, 10);
- let _ = T::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
- let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?;
- let block = <T::BlockNumberProvider as BlockNumberProvider>::current_block_number();
+ let _ = <T as Config>::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * <T as Config>::Currency::total_balance(&caller))?;
+ let block = <T::RelayBlockNumberProvider as BlockNumberProvider>::current_block_number();
let mut acc = <BalanceOf<T>>::default();
- } : {PromototionPallet::<T>::recalculate_stake(&caller, block, share * T::Currency::total_balance(&caller), &mut acc)}
+ } : {PromototionPallet::<T>::recalculate_stake(&caller, block, share * <T as Config>::Currency::total_balance(&caller), &mut acc)}
+
+ sponsor_collection {
+ let pallet_admin = account::<T::AccountId>("admin", 0, SEED);
+ PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin.clone()))?;
+ let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let caller: T::AccountId = account("caller", 0, SEED);
+ let _ = <T as Config>::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let collection = create_nft_collection::<T>(caller.clone())?;
+ } : {PromototionPallet::<T>::sponsor_collection(RawOrigin::Signed(pallet_admin.clone()).into(), collection)?}
+
+ stop_sponsoring_collection {
+ let pallet_admin = account::<T::AccountId>("admin", 0, SEED);
+ PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin.clone()))?;
+ let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let caller: T::AccountId = account("caller", 0, SEED);
+ let _ = <T as Config>::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let collection = create_nft_collection::<T>(caller.clone())?;
+ PromototionPallet::<T>::sponsor_collection(RawOrigin::Signed(pallet_admin.clone()).into(), collection)?;
+ } : {PromototionPallet::<T>::stop_sponsoring_collection(RawOrigin::Signed(pallet_admin.clone()).into(), collection)?}
+
+ sponsor_contract {
+ let pallet_admin = account::<T::AccountId>("admin", 0, SEED);
+ PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin.clone()))?;
+
+ let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let address = H160::from_low_u64_be(SEED as u64);
+ let data: Vec<u8> = (0..20 as u8).collect();
+ <EvmMigrationPallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ <EvmMigrationPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
+ } : {PromototionPallet::<T>::sponsor_conract(RawOrigin::Signed(pallet_admin.clone()).into(), address)?}
+
+ stop_sponsoring_contract {
+ let pallet_admin = account::<T::AccountId>("admin", 0, SEED);
+ PromototionPallet::<T>::set_admin_address(RawOrigin::Root.into(), T::CrossAccountId::from_sub(pallet_admin.clone()))?;
+
+ let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
+ let address = H160::from_low_u64_be(SEED as u64);
+ let data: Vec<u8> = (0..20 as u8).collect();
+ <EvmMigrationPallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ <EvmMigrationPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
+ PromototionPallet::<T>::sponsor_conract(RawOrigin::Signed(pallet_admin.clone()).into(), address)?;
+ } : {PromototionPallet::<T>::stop_sponsoring_contract(RawOrigin::Signed(pallet_admin.clone()).into(), address)?}
}
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -132,6 +132,8 @@
#[pallet::generate_deposit(fn deposit_event)]
pub enum Event<T: Config> {
StakingRecalculation(
+ /// An recalculated staker
+ T::AccountId,
/// Base on which interest is calculated
BalanceOf<T>,
/// Amount of accrued interest
@@ -164,7 +166,7 @@
Key<Blake2_128Concat, T::AccountId>,
Key<Twox64Concat, T::BlockNumber>,
),
- Value = BalanceOf<T>,
+ Value = (BalanceOf<T>, T::BlockNumber),
QueryKind = ValueQuery,
>;
@@ -189,6 +191,13 @@
pub type NextInterestBlock<T: Config> =
StorageValue<Value = T::BlockNumber, QueryKind = ValueQuery>;
+ /// Stores the address of the staker for which the last revenue recalculation was performed.
+ /// If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.
+ #[pallet::storage]
+ #[pallet::getter(fn get_last_calculated_staker)]
+ pub type LastCalcucaltedStaker<T: Config> =
+ StorageValue<Value = T::AccountId, QueryKind = OptionQuery>;
+
#[pallet::hooks]
impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> {
fn on_initialize(current_block: T::BlockNumber) -> Weight
@@ -196,10 +205,10 @@
<T as frame_system::Config>::BlockNumber: From<u32>,
{
let mut consumed_weight = 0;
- let mut add_weight = |reads, writes, weight| {
- consumed_weight += T::DbWeight::get().reads_writes(reads, writes);
- consumed_weight += weight;
- };
+ // let mut add_weight = |reads, writes, weight| {
+ // consumed_weight += T::DbWeight::get().reads_writes(reads, writes);
+ // consumed_weight += weight;
+ // };
PendingUnstake::<T>::iter()
.filter_map(|((staker, block), amount)| {
@@ -214,41 +223,44 @@
<PendingUnstake<T>>::remove((staker, block));
});
- let next_interest_block = Self::get_interest_block();
- let current_relay_block = T::RelayBlockNumberProvider::current_block_number();
- if next_interest_block != 0.into() && current_relay_block >= next_interest_block {
- let mut acc = <BalanceOf<T>>::default();
- let mut base_acc = <BalanceOf<T>>::default();
+ // let next_interest_block = Self::get_interest_block();
+ // let current_relay_block = T::RelayBlockNumberProvider::current_block_number();
+ // if next_interest_block != 0.into() && current_relay_block >= next_interest_block {
+ // let mut acc = <BalanceOf<T>>::default();
+ // let mut base_acc = <BalanceOf<T>>::default();
- NextInterestBlock::<T>::set(
- NextInterestBlock::<T>::get() + T::RecalculationInterval::get(),
- );
- add_weight(0, 1, 0);
+ // NextInterestBlock::<T>::set(
+ // NextInterestBlock::<T>::get() + T::RecalculationInterval::get(),
+ // );
+ // add_weight(0, 1, 0);
- Staked::<T>::iter()
- .filter(|((_, block), _)| {
- *block + T::RecalculationInterval::get() <= current_relay_block
- })
- .for_each(|((staker, block), amount)| {
- Self::recalculate_stake(&staker, block, amount, &mut acc);
- add_weight(0, 0, T::WeightInfo::recalculate_stake());
- base_acc += amount;
- });
- <TotalStaked<T>>::get()
- .checked_add(&acc)
- .map(|res| <TotalStaked<T>>::set(res));
+ // Staked::<T>::iter()
+ // .filter(|((_, block), _)| {
+ // *block + T::RecalculationInterval::get() <= current_relay_block
+ // })
+ // .for_each(|((staker, block), amount)| {
+ // Self::recalculate_stake(&staker, block, amount, &mut acc);
+ // add_weight(0, 0, T::WeightInfo::recalculate_stake());
+ // base_acc += amount;
+ // });
+ // <TotalStaked<T>>::get()
+ // .checked_add(&acc)
+ // .map(|res| <TotalStaked<T>>::set(res));
- Self::deposit_event(Event::StakingRecalculation(base_acc, acc));
- add_weight(0, 1, 0);
- } else {
- add_weight(1, 0, 0)
- };
+ // Self::deposit_event(Event::StakingRecalculation(base_acc, acc));
+ // add_weight(0, 1, 0);
+ // } else {
+ // add_weight(1, 0, 0)
+ // };
consumed_weight
}
}
#[pallet::call]
- impl<T: Config> Pallet<T> {
+ impl<T: Config> Pallet<T>
+ where
+ T::BlockNumber: From<u32>,
+ {
#[pallet::weight(T::WeightInfo::set_admin_address())]
pub fn set_admin_address(origin: OriginFor<T>, admin: T::CrossAccountId) -> DispatchResult {
ensure_root(origin)?;
@@ -281,7 +293,7 @@
Ok(())
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::stop_app_promotion())]
pub fn stop_app_promotion(origin: OriginFor<T>) -> DispatchResult
where
<T as frame_system::Config>::BlockNumber: From<u32>,
@@ -317,19 +329,24 @@
Self::add_lock_balance(&staker_id, amount)?;
let block_number = T::RelayBlockNumberProvider::current_block_number();
+ let recalc_block = (block_number / T::RecalculationInterval::get() + 2u32.into())
+ * T::RecalculationInterval::get();
- <Staked<T>>::insert(
- (&staker_id, block_number),
- <Staked<T>>::get((&staker_id, block_number))
+ <Staked<T>>::insert((&staker_id, block_number), {
+ let mut balance_and_recalc_block = <Staked<T>>::get((&staker_id, block_number));
+ balance_and_recalc_block.0 = balance_and_recalc_block
+ .0
.checked_add(&amount)
- .ok_or(ArithmeticError::Overflow)?,
- );
+ .ok_or(ArithmeticError::Overflow)?;
+ balance_and_recalc_block.1 = recalc_block;
+ balance_and_recalc_block
+ });
- <TotalStaked<T>>::set(
- <TotalStaked<T>>::get()
- .checked_add(&amount)
- .ok_or(ArithmeticError::Overflow)?,
- );
+ // <TotalStaked<T>>::set(
+ // <TotalStaked<T>>::get()
+ // .checked_add(&amount)
+ // .ok_or(ArithmeticError::Overflow)?,
+ // );
Ok(())
}
@@ -338,63 +355,120 @@
pub fn unstake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
let staker_id = ensure_signed(staker)?;
- let mut stakes = Staked::<T>::iter_prefix((&staker_id,)).collect::<Vec<_>>();
+ let mut stakes = Staked::<T>::drain_prefix((&staker_id,));
- let total_staked = stakes
- .iter()
- .fold(<BalanceOf<T>>::default(), |acc, (_, amount)| acc + *amount);
+ // let total_staked = stakes
+ // .iter()
+ // .fold(<BalanceOf<T>>::default(), |acc, (_, amount)| acc + *amount);
- ensure!(total_staked >= amount, ArithmeticError::Underflow);
+ // ensure!(total_staked >= amount, ArithmeticError::Underflow);
- <TotalStaked<T>>::set(
- <TotalStaked<T>>::get()
- .checked_sub(&amount)
- .ok_or(ArithmeticError::Underflow)?,
- );
+ // <TotalStaked<T>>::set(
+ // <TotalStaked<T>>::get()
+ // .checked_sub(&amount)
+ // .ok_or(ArithmeticError::Underflow)?,
+ // );
- let block =
- T::RelayBlockNumberProvider::current_block_number() + T::PendingInterval::get();
- <PendingUnstake<T>>::insert(
- (&staker_id, block),
- <PendingUnstake<T>>::get((&staker_id, block))
- .checked_add(&amount)
- .ok_or(ArithmeticError::Overflow)?,
- );
+ // let block =
+ // T::RelayBlockNumberProvider::current_block_number() + T::PendingInterval::get();
+ // <PendingUnstake<T>>::insert(
+ // (&staker_id, block),
+ // <PendingUnstake<T>>::get((&staker_id, block))
+ // .checked_add(&amount)
+ // .ok_or(ArithmeticError::Overflow)?,
+ // );
- stakes.sort_by_key(|(block, _)| *block);
+ // stakes.sort_by_key(|(block, _)| *block);
- let mut acc_amount = amount;
- let new_state = stakes
- .into_iter()
- .map_while(|(block, balance_per_block)| {
- if acc_amount == <BalanceOf<T>>::default() {
- return None;
- }
- if acc_amount <= balance_per_block {
- let res = (block, balance_per_block - acc_amount, acc_amount);
- acc_amount = <BalanceOf<T>>::default();
- return Some(res);
- } else {
- acc_amount -= balance_per_block;
- return Some((block, <BalanceOf<T>>::default(), acc_amount));
- }
- })
- .collect::<Vec<_>>();
+ // let mut acc_amount = amount;
+ // let new_state = stakes
+ // .into_iter()
+ // .map_while(|(block, balance_per_block)| {
+ // if acc_amount == <BalanceOf<T>>::default() {
+ // return None;
+ // }
+ // if acc_amount <= balance_per_block {
+ // let res = (block, balance_per_block - acc_amount, acc_amount);
+ // acc_amount = <BalanceOf<T>>::default();
+ // return Some(res);
+ // } else {
+ // acc_amount -= balance_per_block;
+ // return Some((block, <BalanceOf<T>>::default(), acc_amount));
+ // }
+ // })
+ // .collect::<Vec<_>>();
- new_state
- .into_iter()
- .for_each(|(block, to_staked, _to_pending)| {
- if to_staked == <BalanceOf<T>>::default() {
- <Staked<T>>::remove((&staker_id, block));
- } else {
- <Staked<T>>::insert((&staker_id, block), to_staked);
- }
- });
+ // new_state
+ // .into_iter()
+ // .for_each(|(block, to_staked, _to_pending)| {
+ // if to_staked == <BalanceOf<T>>::default() {
+ // <Staked<T>>::remove((&staker_id, block));
+ // } else {
+ // <Staked<T>>::insert((&staker_id, block), to_staked);
+ // }
+ // });
Ok(())
+
+ // let staker_id = ensure_signed(staker)?;
+
+ // let mut stakes = Staked::<T>::iter_prefix((&staker_id,)).collect::<Vec<_>>();
+
+ // let total_staked = stakes
+ // .iter()
+ // .fold(<BalanceOf<T>>::default(), |acc, (_, amount)| acc + *amount);
+
+ // ensure!(total_staked >= amount, ArithmeticError::Underflow);
+
+ // <TotalStaked<T>>::set(
+ // <TotalStaked<T>>::get()
+ // .checked_sub(&amount)
+ // .ok_or(ArithmeticError::Underflow)?,
+ // );
+
+ // let block =
+ // T::RelayBlockNumberProvider::current_block_number() + T::PendingInterval::get();
+ // <PendingUnstake<T>>::insert(
+ // (&staker_id, block),
+ // <PendingUnstake<T>>::get((&staker_id, block))
+ // .checked_add(&amount)
+ // .ok_or(ArithmeticError::Overflow)?,
+ // );
+
+ // stakes.sort_by_key(|(block, _)| *block);
+
+ // let mut acc_amount = amount;
+ // let new_state = stakes
+ // .into_iter()
+ // .map_while(|(block, balance_per_block)| {
+ // if acc_amount == <BalanceOf<T>>::default() {
+ // return None;
+ // }
+ // if acc_amount <= balance_per_block {
+ // let res = (block, balance_per_block - acc_amount, acc_amount);
+ // acc_amount = <BalanceOf<T>>::default();
+ // return Some(res);
+ // } else {
+ // acc_amount -= balance_per_block;
+ // return Some((block, <BalanceOf<T>>::default(), acc_amount));
+ // }
+ // })
+ // .collect::<Vec<_>>();
+
+ // new_state
+ // .into_iter()
+ // .for_each(|(block, to_staked, _to_pending)| {
+ // if to_staked == <BalanceOf<T>>::default() {
+ // <Staked<T>>::remove((&staker_id, block));
+ // } else {
+ // <Staked<T>>::insert((&staker_id, block), to_staked);
+ // }
+ // });
+
+ // Ok(())
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::sponsor_collection())]
pub fn sponsor_collection(
admin: OriginFor<T>,
collection_id: CollectionId,
@@ -407,8 +481,8 @@
T::CollectionHandler::set_sponsor(Self::account_id(), collection_id)
}
- #[pallet::weight(0)]
- pub fn stop_sponsorign_collection(
+ #[pallet::weight(T::WeightInfo::stop_sponsoring_collection())]
+ pub fn stop_sponsoring_collection(
admin: OriginFor<T>,
collection_id: CollectionId,
) -> DispatchResult {
@@ -428,7 +502,7 @@
T::CollectionHandler::remove_collection_sponsor(collection_id)
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::sponsor_contract())]
pub fn sponsor_conract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
let admin_id = ensure_signed(admin)?;
@@ -443,8 +517,8 @@
)
}
- #[pallet::weight(0)]
- pub fn stop_sponsorign_contract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
+ #[pallet::weight(T::WeightInfo::stop_sponsoring_contract())]
+ pub fn stop_sponsoring_contract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
let admin_id = ensure_signed(admin)?;
ensure!(
@@ -459,6 +533,18 @@
);
T::ContractHandler::remove_contract_sponsor(contract_id)
}
+
+ #[pallet::weight(0)]
+ pub fn payout_stakers(admin: OriginFor<T>, stakers_number: Option<u8>) -> DispatchResult {
+ let admin_id = ensure_signed(admin)?;
+
+ ensure!(
+ admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,
+ Error::<T>::NoPermission
+ );
+
+ Ok(())
+ }
}
}
@@ -501,7 +587,9 @@
pub fn total_staked_by_id(staker: impl EncodeLike<T::AccountId>) -> Option<BalanceOf<T>> {
let staked = Staked::<T>::iter_prefix((staker,))
.into_iter()
- .fold(<BalanceOf<T>>::default(), |acc, (_, amount)| acc + amount);
+ .fold(<BalanceOf<T>>::default(), |acc, (_, (amount, _))| {
+ acc + amount
+ });
if staked != <BalanceOf<T>>::default() {
Some(staked)
} else {
@@ -514,7 +602,7 @@
) -> Option<Vec<(T::BlockNumber, BalanceOf<T>)>> {
let mut staked = Staked::<T>::iter_prefix((staker,))
.into_iter()
- .map(|(block, amount)| (block, amount))
+ .map(|(block, (amount, _))| (block, amount))
.collect::<Vec<_>>();
staked.sort_by_key(|(block, _)| *block);
if !staked.is_empty() {
@@ -550,17 +638,17 @@
income_acc: &mut BalanceOf<T>,
) {
let income = Self::calculate_income(base);
- base.checked_add(&income).map(|res| {
- <Staked<T>>::insert((staker, block), res);
- *income_acc += income;
- <T::Currency as Currency<T::AccountId>>::transfer(
- &T::TreasuryAccountId::get(),
- staker,
- income,
- ExistenceRequirement::KeepAlive,
- )
- .and_then(|_| Self::add_lock_balance(staker, income));
- });
+ // base.checked_add(&income).map(|res| {
+ // <Staked<T>>::insert((staker, block), res);
+ // *income_acc += income;
+ // <T::Currency as Currency<T::AccountId>>::transfer(
+ // &T::TreasuryAccountId::get(),
+ // staker,
+ // income,
+ // ExistenceRequirement::KeepAlive,
+ // )
+ // .and_then(|_| Self::add_lock_balance(staker, income));
+ // });
}
fn calculate_income<I>(base: I) -> I
pallets/app-promotion/src/types.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/types.rs
+++ b/pallets/app-promotion/src/types.rs
@@ -101,7 +101,7 @@
fn set_sponsor(sponsor_id: Self::AccountId, contract_id: Self::ContractId) -> DispatchResult;
- fn remove_contract_sponsor(collection_id: Self::ContractId) -> DispatchResult;
+ fn remove_contract_sponsor(contract_id: Self::ContractId) -> DispatchResult;
fn get_sponsor(contract_id: Self::ContractId)
-> Result<Option<Self::AccountId>, DispatchError>;
pallets/app-promotion/src/weights.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/weights.rs
+++ b/pallets/app-promotion/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_app_promotion
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-09, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -33,108 +33,167 @@
/// Weight functions needed for pallet_app_promotion.
pub trait WeightInfo {
- fn on_initialize() -> Weight;
fn start_app_promotion() -> Weight;
+ fn stop_app_promotion() -> Weight;
fn set_admin_address() -> Weight;
+ fn payout_stakers() -> Weight;
fn stake() -> Weight;
fn unstake() -> Weight;
fn recalculate_stake() -> Weight;
+ fn sponsor_collection() -> Weight;
+ fn stop_sponsoring_collection() -> Weight;
+ fn sponsor_contract() -> Weight;
+ fn stop_sponsoring_contract() -> Weight;
}
/// Weights for pallet_app_promotion using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- // Storage: Promotion PendingUnstake (r:1 w:0)
- // Storage: Promotion NextInterestBlock (r:1 w:0)
- fn on_initialize() -> Weight {
- (2_705_000 as Weight)
+ // Storage: Promotion StartBlock (r:1 w:1)
+ // Storage: ParachainSystem ValidationData (r:1 w:0)
+ // Storage: Promotion NextInterestBlock (r:0 w:1)
+ fn start_app_promotion() -> Weight {
+ (2_299_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Promotion StartBlock (r:1 w:1)
// Storage: Promotion NextInterestBlock (r:0 w:1)
- fn start_app_promotion() -> Weight {
- (1_436_000 as Weight)
+ fn stop_app_promotion() -> Weight {
+ (1_733_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Promotion Admin (r:0 w:1)
fn set_admin_address() -> Weight {
- (516_000 as Weight)
+ (553_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Promotion Admin (r:1 w:0)
+ fn payout_stakers() -> Weight {
+ (1_398_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(1 as Weight))
+ }
// Storage: System Account (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: ParachainSystem ValidationData (r:1 w:0)
// Storage: Promotion Staked (r:1 w:1)
- // Storage: Promotion TotalStaked (r:1 w:1)
fn stake() -> Weight {
- (10_019_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ (9_506_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes(3 as Weight))
}
- // Storage: System Account (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: Promotion Staked (r:1 w:1)
- // Storage: Promotion TotalStaked (r:1 w:1)
+ // Storage: System Account (r:1 w:0)
fn unstake() -> Weight {
- (10_619_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ (2_529_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(1 as Weight))
}
- // Storage: System Account (r:2 w:0)
- // Storage: Promotion Staked (r:0 w:1)
+ // Storage: System Account (r:1 w:0)
fn recalculate_stake() -> Weight {
- (4_932_000 as Weight)
+ (2_203_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(1 as Weight))
+ }
+ // Storage: Promotion Admin (r:1 w:0)
+ // Storage: Common CollectionById (r:1 w:1)
+ fn sponsor_collection() -> Weight {
+ (10_882_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ }
+ // Storage: Promotion Admin (r:1 w:0)
+ // Storage: Common CollectionById (r:1 w:1)
+ fn stop_sponsoring_collection() -> Weight {
+ (10_544_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Promotion Admin (r:1 w:0)
+ // Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ fn sponsor_contract() -> Weight {
+ (2_163_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(1 as Weight))
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ }
+ // Storage: Promotion Admin (r:1 w:0)
+ // Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ fn stop_sponsoring_contract() -> Weight {
+ (3_511_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ }
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Promotion PendingUnstake (r:1 w:0)
- // Storage: Promotion NextInterestBlock (r:1 w:0)
- fn on_initialize() -> Weight {
- (2_705_000 as Weight)
+ // Storage: Promotion StartBlock (r:1 w:1)
+ // Storage: ParachainSystem ValidationData (r:1 w:0)
+ // Storage: Promotion NextInterestBlock (r:0 w:1)
+ fn start_app_promotion() -> Weight {
+ (2_299_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Promotion StartBlock (r:1 w:1)
// Storage: Promotion NextInterestBlock (r:0 w:1)
- fn start_app_promotion() -> Weight {
- (1_436_000 as Weight)
+ fn stop_app_promotion() -> Weight {
+ (1_733_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Promotion Admin (r:0 w:1)
fn set_admin_address() -> Weight {
- (516_000 as Weight)
+ (553_000 as Weight)
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
+ // Storage: Promotion Admin (r:1 w:0)
+ fn payout_stakers() -> Weight {
+ (1_398_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(1 as Weight))
+ }
// Storage: System Account (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: ParachainSystem ValidationData (r:1 w:0)
// Storage: Promotion Staked (r:1 w:1)
- // Storage: Promotion TotalStaked (r:1 w:1)
fn stake() -> Weight {
- (10_019_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ (9_506_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
- // Storage: System Account (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: Promotion Staked (r:1 w:1)
- // Storage: Promotion TotalStaked (r:1 w:1)
+ // Storage: System Account (r:1 w:0)
fn unstake() -> Weight {
- (10_619_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ (2_529_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(1 as Weight))
}
- // Storage: System Account (r:2 w:0)
- // Storage: Promotion Staked (r:0 w:1)
+ // Storage: System Account (r:1 w:0)
fn recalculate_stake() -> Weight {
- (4_932_000 as Weight)
+ (2_203_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(1 as Weight))
+ }
+ // Storage: Promotion Admin (r:1 w:0)
+ // Storage: Common CollectionById (r:1 w:1)
+ fn sponsor_collection() -> Weight {
+ (10_882_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ }
+ // Storage: Promotion Admin (r:1 w:0)
+ // Storage: Common CollectionById (r:1 w:1)
+ fn stop_sponsoring_collection() -> Weight {
+ (10_544_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ }
+ // Storage: Promotion Admin (r:1 w:0)
+ // Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ fn sponsor_contract() -> Weight {
+ (2_163_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(1 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ }
+ // Storage: Promotion Admin (r:1 w:0)
+ // Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ fn stop_sponsoring_contract() -> Weight {
+ (3_511_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/unique/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/unique/src/benchmarking.rs
+++ b/pallets/unique/src/benchmarking.rs
@@ -46,7 +46,9 @@
)?;
Ok(<pallet_common::CreatedCollectionCount<T>>::get())
}
-fn create_nft_collection<T: Config>(owner: T::AccountId) -> Result<CollectionId, DispatchError> {
+pub fn create_nft_collection<T: Config>(
+ owner: T::AccountId,
+) -> Result<CollectionId, DispatchError> {
create_collection_helper::<T>(owner, CollectionMode::NFT)
}
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -98,7 +98,7 @@
pub mod eth;
#[cfg(feature = "runtime-benchmarks")]
-mod benchmarking;
+pub mod benchmarking;
pub mod weights;
use weights::WeightInfo;
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -361,7 +361,7 @@
[key: string]: AugmentedEvent<ApiType>;
};
promotion: {
- StakingRecalculation: AugmentedEvent<ApiType, [u128, u128]>;
+ StakingRecalculation: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
/**
* Generic event
**/
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -513,6 +513,11 @@
promotion: {
admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
+ * Stores the address of the staker for which the last revenue recalculation was performed.
+ * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.
+ **/
+ lastCalcucaltedStaker: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
* Next target block when interest is recalculated
**/
nextInterestBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
@@ -523,7 +528,7 @@
/**
* Amount of tokens staked by account in the blocknumber.
**/
- staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
+ staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
/**
* A block when app-promotion has started .I think this is redundant, because we only need `NextInterestBlock`.
**/
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -363,14 +363,15 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
promotion: {
+ payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;
setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;
sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
sponsorConract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
stopAppPromotion: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
- stopSponsorignCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- stopSponsorignContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
+ stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
/**
* Generic tx
tests/src/interfaces/default/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: u64;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: u64;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime extends Null {}749750/** @name OrmlVestingModuleCall */751export interface OrmlVestingModuleCall extends Enum {752 readonly isClaim: boolean;753 readonly isVestedTransfer: boolean;754 readonly asVestedTransfer: {755 readonly dest: MultiAddress;756 readonly schedule: OrmlVestingVestingSchedule;757 } & Struct;758 readonly isUpdateVestingSchedules: boolean;759 readonly asUpdateVestingSchedules: {760 readonly who: MultiAddress;761 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;762 } & Struct;763 readonly isClaimFor: boolean;764 readonly asClaimFor: {765 readonly dest: MultiAddress;766 } & Struct;767 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';768}769770/** @name OrmlVestingModuleError */771export interface OrmlVestingModuleError extends Enum {772 readonly isZeroVestingPeriod: boolean;773 readonly isZeroVestingPeriodCount: boolean;774 readonly isInsufficientBalanceToLock: boolean;775 readonly isTooManyVestingSchedules: boolean;776 readonly isAmountLow: boolean;777 readonly isMaxVestingSchedulesExceeded: boolean;778 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';779}780781/** @name OrmlVestingModuleEvent */782export interface OrmlVestingModuleEvent extends Enum {783 readonly isVestingScheduleAdded: boolean;784 readonly asVestingScheduleAdded: {785 readonly from: AccountId32;786 readonly to: AccountId32;787 readonly vestingSchedule: OrmlVestingVestingSchedule;788 } & Struct;789 readonly isClaimed: boolean;790 readonly asClaimed: {791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isVestingSchedulesUpdated: boolean;795 readonly asVestingSchedulesUpdated: {796 readonly who: AccountId32;797 } & Struct;798 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';799}800801/** @name OrmlVestingVestingSchedule */802export interface OrmlVestingVestingSchedule extends Struct {803 readonly start: u32;804 readonly period: u32;805 readonly periodCount: u32;806 readonly perPeriod: Compact<u128>;807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;814 } & Struct;815 readonly isStartAppPromotion: boolean;816 readonly asStartAppPromotion: {817 readonly promotionStartRelayBlock: Option<u32>;818 } & Struct;819 readonly isStopAppPromotion: boolean;820 readonly isStake: boolean;821 readonly asStake: {822 readonly amount: u128;823 } & Struct;824 readonly isUnstake: boolean;825 readonly asUnstake: {826 readonly amount: u128;827 } & Struct;828 readonly isSponsorCollection: boolean;829 readonly asSponsorCollection: {830 readonly collectionId: u32;831 } & Struct;832 readonly isStopSponsorignCollection: boolean;833 readonly asStopSponsorignCollection: {834 readonly collectionId: u32;835 } & Struct;836 readonly isSponsorConract: boolean;837 readonly asSponsorConract: {838 readonly contractId: H160;839 } & Struct;840 readonly isStopSponsorignContract: boolean;841 readonly asStopSponsorignContract: {842 readonly contractId: H160;843 } & Struct;844 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection' | 'SponsorConract' | 'StopSponsorignContract';845}846847/** @name PalletAppPromotionError */848export interface PalletAppPromotionError extends Enum {849 readonly isAdminNotSet: boolean;850 readonly isNoPermission: boolean;851 readonly isNotSufficientFounds: boolean;852 readonly isInvalidArgument: boolean;853 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument';854}855856/** @name PalletAppPromotionEvent */857export interface PalletAppPromotionEvent extends Enum {858 readonly isStakingRecalculation: boolean;859 readonly asStakingRecalculation: ITuple<[u128, u128]>;860 readonly type: 'StakingRecalculation';861}862863/** @name PalletBalancesAccountData */864export interface PalletBalancesAccountData extends Struct {865 readonly free: u128;866 readonly reserved: u128;867 readonly miscFrozen: u128;868 readonly feeFrozen: u128;869}870871/** @name PalletBalancesBalanceLock */872export interface PalletBalancesBalanceLock extends Struct {873 readonly id: U8aFixed;874 readonly amount: u128;875 readonly reasons: PalletBalancesReasons;876}877878/** @name PalletBalancesCall */879export interface PalletBalancesCall extends Enum {880 readonly isTransfer: boolean;881 readonly asTransfer: {882 readonly dest: MultiAddress;883 readonly value: Compact<u128>;884 } & Struct;885 readonly isSetBalance: boolean;886 readonly asSetBalance: {887 readonly who: MultiAddress;888 readonly newFree: Compact<u128>;889 readonly newReserved: Compact<u128>;890 } & Struct;891 readonly isForceTransfer: boolean;892 readonly asForceTransfer: {893 readonly source: MultiAddress;894 readonly dest: MultiAddress;895 readonly value: Compact<u128>;896 } & Struct;897 readonly isTransferKeepAlive: boolean;898 readonly asTransferKeepAlive: {899 readonly dest: MultiAddress;900 readonly value: Compact<u128>;901 } & Struct;902 readonly isTransferAll: boolean;903 readonly asTransferAll: {904 readonly dest: MultiAddress;905 readonly keepAlive: bool;906 } & Struct;907 readonly isForceUnreserve: boolean;908 readonly asForceUnreserve: {909 readonly who: MultiAddress;910 readonly amount: u128;911 } & Struct;912 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';913}914915/** @name PalletBalancesError */916export interface PalletBalancesError extends Enum {917 readonly isVestingBalance: boolean;918 readonly isLiquidityRestrictions: boolean;919 readonly isInsufficientBalance: boolean;920 readonly isExistentialDeposit: boolean;921 readonly isKeepAlive: boolean;922 readonly isExistingVestingSchedule: boolean;923 readonly isDeadAccount: boolean;924 readonly isTooManyReserves: boolean;925 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';926}927928/** @name PalletBalancesEvent */929export interface PalletBalancesEvent extends Enum {930 readonly isEndowed: boolean;931 readonly asEndowed: {932 readonly account: AccountId32;933 readonly freeBalance: u128;934 } & Struct;935 readonly isDustLost: boolean;936 readonly asDustLost: {937 readonly account: AccountId32;938 readonly amount: u128;939 } & Struct;940 readonly isTransfer: boolean;941 readonly asTransfer: {942 readonly from: AccountId32;943 readonly to: AccountId32;944 readonly amount: u128;945 } & Struct;946 readonly isBalanceSet: boolean;947 readonly asBalanceSet: {948 readonly who: AccountId32;949 readonly free: u128;950 readonly reserved: u128;951 } & Struct;952 readonly isReserved: boolean;953 readonly asReserved: {954 readonly who: AccountId32;955 readonly amount: u128;956 } & Struct;957 readonly isUnreserved: boolean;958 readonly asUnreserved: {959 readonly who: AccountId32;960 readonly amount: u128;961 } & Struct;962 readonly isReserveRepatriated: boolean;963 readonly asReserveRepatriated: {964 readonly from: AccountId32;965 readonly to: AccountId32;966 readonly amount: u128;967 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;968 } & Struct;969 readonly isDeposit: boolean;970 readonly asDeposit: {971 readonly who: AccountId32;972 readonly amount: u128;973 } & Struct;974 readonly isWithdraw: boolean;975 readonly asWithdraw: {976 readonly who: AccountId32;977 readonly amount: u128;978 } & Struct;979 readonly isSlashed: boolean;980 readonly asSlashed: {981 readonly who: AccountId32;982 readonly amount: u128;983 } & Struct;984 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';985}986987/** @name PalletBalancesReasons */988export interface PalletBalancesReasons extends Enum {989 readonly isFee: boolean;990 readonly isMisc: boolean;991 readonly isAll: boolean;992 readonly type: 'Fee' | 'Misc' | 'All';993}994995/** @name PalletBalancesReleases */996export interface PalletBalancesReleases extends Enum {997 readonly isV100: boolean;998 readonly isV200: boolean;999 readonly type: 'V100' | 'V200';1000}10011002/** @name PalletBalancesReserveData */1003export interface PalletBalancesReserveData extends Struct {1004 readonly id: U8aFixed;1005 readonly amount: u128;1006}10071008/** @name PalletCommonError */1009export interface PalletCommonError extends Enum {1010 readonly isCollectionNotFound: boolean;1011 readonly isMustBeTokenOwner: boolean;1012 readonly isNoPermission: boolean;1013 readonly isCantDestroyNotEmptyCollection: boolean;1014 readonly isPublicMintingNotAllowed: boolean;1015 readonly isAddressNotInAllowlist: boolean;1016 readonly isCollectionNameLimitExceeded: boolean;1017 readonly isCollectionDescriptionLimitExceeded: boolean;1018 readonly isCollectionTokenPrefixLimitExceeded: boolean;1019 readonly isTotalCollectionsLimitExceeded: boolean;1020 readonly isCollectionAdminCountExceeded: boolean;1021 readonly isCollectionLimitBoundsExceeded: boolean;1022 readonly isOwnerPermissionsCantBeReverted: boolean;1023 readonly isTransferNotAllowed: boolean;1024 readonly isAccountTokenLimitExceeded: boolean;1025 readonly isCollectionTokenLimitExceeded: boolean;1026 readonly isMetadataFlagFrozen: boolean;1027 readonly isTokenNotFound: boolean;1028 readonly isTokenValueTooLow: boolean;1029 readonly isApprovedValueTooLow: boolean;1030 readonly isCantApproveMoreThanOwned: boolean;1031 readonly isAddressIsZero: boolean;1032 readonly isUnsupportedOperation: boolean;1033 readonly isNotSufficientFounds: boolean;1034 readonly isUserIsNotAllowedToNest: boolean;1035 readonly isSourceCollectionIsNotAllowedToNest: boolean;1036 readonly isCollectionFieldSizeExceeded: boolean;1037 readonly isNoSpaceForProperty: boolean;1038 readonly isPropertyLimitReached: boolean;1039 readonly isPropertyKeyIsTooLong: boolean;1040 readonly isInvalidCharacterInPropertyKey: boolean;1041 readonly isEmptyPropertyKey: boolean;1042 readonly isCollectionIsExternal: boolean;1043 readonly isCollectionIsInternal: boolean;1044 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';1045}10461047/** @name PalletCommonEvent */1048export interface PalletCommonEvent extends Enum {1049 readonly isCollectionCreated: boolean;1050 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1051 readonly isCollectionDestroyed: boolean;1052 readonly asCollectionDestroyed: u32;1053 readonly isItemCreated: boolean;1054 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1055 readonly isItemDestroyed: boolean;1056 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1057 readonly isTransfer: boolean;1058 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1059 readonly isApproved: boolean;1060 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1061 readonly isCollectionPropertySet: boolean;1062 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1063 readonly isCollectionPropertyDeleted: boolean;1064 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1065 readonly isTokenPropertySet: boolean;1066 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1067 readonly isTokenPropertyDeleted: boolean;1068 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1069 readonly isPropertyPermissionSet: boolean;1070 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1071 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1072}10731074/** @name PalletConfigurationCall */1075export interface PalletConfigurationCall extends Enum {1076 readonly isSetWeightToFeeCoefficientOverride: boolean;1077 readonly asSetWeightToFeeCoefficientOverride: {1078 readonly coeff: Option<u32>;1079 } & Struct;1080 readonly isSetMinGasPriceOverride: boolean;1081 readonly asSetMinGasPriceOverride: {1082 readonly coeff: Option<u64>;1083 } & Struct;1084 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1085}10861087/** @name PalletEthereumCall */1088export interface PalletEthereumCall extends Enum {1089 readonly isTransact: boolean;1090 readonly asTransact: {1091 readonly transaction: EthereumTransactionTransactionV2;1092 } & Struct;1093 readonly type: 'Transact';1094}10951096/** @name PalletEthereumError */1097export interface PalletEthereumError extends Enum {1098 readonly isInvalidSignature: boolean;1099 readonly isPreLogExists: boolean;1100 readonly type: 'InvalidSignature' | 'PreLogExists';1101}11021103/** @name PalletEthereumEvent */1104export interface PalletEthereumEvent extends Enum {1105 readonly isExecuted: boolean;1106 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1107 readonly type: 'Executed';1108}11091110/** @name PalletEthereumFakeTransactionFinalizer */1111export interface PalletEthereumFakeTransactionFinalizer extends Null {}11121113/** @name PalletEthereumRawOrigin */1114export interface PalletEthereumRawOrigin extends Enum {1115 readonly isEthereumTransaction: boolean;1116 readonly asEthereumTransaction: H160;1117 readonly type: 'EthereumTransaction';1118}11191120/** @name PalletEvmAccountBasicCrossAccountIdRepr */1121export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1122 readonly isSubstrate: boolean;1123 readonly asSubstrate: AccountId32;1124 readonly isEthereum: boolean;1125 readonly asEthereum: H160;1126 readonly type: 'Substrate' | 'Ethereum';1127}11281129/** @name PalletEvmCall */1130export interface PalletEvmCall extends Enum {1131 readonly isWithdraw: boolean;1132 readonly asWithdraw: {1133 readonly address: H160;1134 readonly value: u128;1135 } & Struct;1136 readonly isCall: boolean;1137 readonly asCall: {1138 readonly source: H160;1139 readonly target: H160;1140 readonly input: Bytes;1141 readonly value: U256;1142 readonly gasLimit: u64;1143 readonly maxFeePerGas: U256;1144 readonly maxPriorityFeePerGas: Option<U256>;1145 readonly nonce: Option<U256>;1146 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1147 } & Struct;1148 readonly isCreate: boolean;1149 readonly asCreate: {1150 readonly source: H160;1151 readonly init: Bytes;1152 readonly value: U256;1153 readonly gasLimit: u64;1154 readonly maxFeePerGas: U256;1155 readonly maxPriorityFeePerGas: Option<U256>;1156 readonly nonce: Option<U256>;1157 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1158 } & Struct;1159 readonly isCreate2: boolean;1160 readonly asCreate2: {1161 readonly source: H160;1162 readonly init: Bytes;1163 readonly salt: H256;1164 readonly value: U256;1165 readonly gasLimit: u64;1166 readonly maxFeePerGas: U256;1167 readonly maxPriorityFeePerGas: Option<U256>;1168 readonly nonce: Option<U256>;1169 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1170 } & Struct;1171 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1172}11731174/** @name PalletEvmCoderSubstrateError */1175export interface PalletEvmCoderSubstrateError extends Enum {1176 readonly isOutOfGas: boolean;1177 readonly isOutOfFund: boolean;1178 readonly type: 'OutOfGas' | 'OutOfFund';1179}11801181/** @name PalletEvmContractHelpersError */1182export interface PalletEvmContractHelpersError extends Enum {1183 readonly isNoPermission: boolean;1184 readonly isNoPendingSponsor: boolean;1185 readonly type: 'NoPermission' | 'NoPendingSponsor';1186}11871188/** @name PalletEvmContractHelpersSponsoringModeT */1189export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1190 readonly isDisabled: boolean;1191 readonly isAllowlisted: boolean;1192 readonly isGenerous: boolean;1193 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1194}11951196/** @name PalletEvmError */1197export interface PalletEvmError extends Enum {1198 readonly isBalanceLow: boolean;1199 readonly isFeeOverflow: boolean;1200 readonly isPaymentOverflow: boolean;1201 readonly isWithdrawFailed: boolean;1202 readonly isGasPriceTooLow: boolean;1203 readonly isInvalidNonce: boolean;1204 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1205}12061207/** @name PalletEvmEvent */1208export interface PalletEvmEvent extends Enum {1209 readonly isLog: boolean;1210 readonly asLog: EthereumLog;1211 readonly isCreated: boolean;1212 readonly asCreated: H160;1213 readonly isCreatedFailed: boolean;1214 readonly asCreatedFailed: H160;1215 readonly isExecuted: boolean;1216 readonly asExecuted: H160;1217 readonly isExecutedFailed: boolean;1218 readonly asExecutedFailed: H160;1219 readonly isBalanceDeposit: boolean;1220 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1221 readonly isBalanceWithdraw: boolean;1222 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1223 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1224}12251226/** @name PalletEvmMigrationCall */1227export interface PalletEvmMigrationCall extends Enum {1228 readonly isBegin: boolean;1229 readonly asBegin: {1230 readonly address: H160;1231 } & Struct;1232 readonly isSetData: boolean;1233 readonly asSetData: {1234 readonly address: H160;1235 readonly data: Vec<ITuple<[H256, H256]>>;1236 } & Struct;1237 readonly isFinish: boolean;1238 readonly asFinish: {1239 readonly address: H160;1240 readonly code: Bytes;1241 } & Struct;1242 readonly type: 'Begin' | 'SetData' | 'Finish';1243}12441245/** @name PalletEvmMigrationError */1246export interface PalletEvmMigrationError extends Enum {1247 readonly isAccountNotEmpty: boolean;1248 readonly isAccountIsNotMigrating: boolean;1249 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1250}12511252/** @name PalletFungibleError */1253export interface PalletFungibleError extends Enum {1254 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1255 readonly isFungibleItemsHaveNoId: boolean;1256 readonly isFungibleItemsDontHaveData: boolean;1257 readonly isFungibleDisallowsNesting: boolean;1258 readonly isSettingPropertiesNotAllowed: boolean;1259 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1260}12611262/** @name PalletInflationCall */1263export interface PalletInflationCall extends Enum {1264 readonly isStartInflation: boolean;1265 readonly asStartInflation: {1266 readonly inflationStartRelayBlock: u32;1267 } & Struct;1268 readonly type: 'StartInflation';1269}12701271/** @name PalletNonfungibleError */1272export interface PalletNonfungibleError extends Enum {1273 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1274 readonly isNonfungibleItemsHaveNoAmount: boolean;1275 readonly isCantBurnNftWithChildren: boolean;1276 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1277}12781279/** @name PalletNonfungibleItemData */1280export interface PalletNonfungibleItemData extends Struct {1281 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1282}12831284/** @name PalletRefungibleError */1285export interface PalletRefungibleError extends Enum {1286 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1287 readonly isWrongRefungiblePieces: boolean;1288 readonly isRepartitionWhileNotOwningAllPieces: boolean;1289 readonly isRefungibleDisallowsNesting: boolean;1290 readonly isSettingPropertiesNotAllowed: boolean;1291 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1292}12931294/** @name PalletRefungibleItemData */1295export interface PalletRefungibleItemData extends Struct {1296 readonly constData: Bytes;1297}12981299/** @name PalletRmrkCoreCall */1300export interface PalletRmrkCoreCall extends Enum {1301 readonly isCreateCollection: boolean;1302 readonly asCreateCollection: {1303 readonly metadata: Bytes;1304 readonly max: Option<u32>;1305 readonly symbol: Bytes;1306 } & Struct;1307 readonly isDestroyCollection: boolean;1308 readonly asDestroyCollection: {1309 readonly collectionId: u32;1310 } & Struct;1311 readonly isChangeCollectionIssuer: boolean;1312 readonly asChangeCollectionIssuer: {1313 readonly collectionId: u32;1314 readonly newIssuer: MultiAddress;1315 } & Struct;1316 readonly isLockCollection: boolean;1317 readonly asLockCollection: {1318 readonly collectionId: u32;1319 } & Struct;1320 readonly isMintNft: boolean;1321 readonly asMintNft: {1322 readonly owner: Option<AccountId32>;1323 readonly collectionId: u32;1324 readonly recipient: Option<AccountId32>;1325 readonly royaltyAmount: Option<Permill>;1326 readonly metadata: Bytes;1327 readonly transferable: bool;1328 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1329 } & Struct;1330 readonly isBurnNft: boolean;1331 readonly asBurnNft: {1332 readonly collectionId: u32;1333 readonly nftId: u32;1334 readonly maxBurns: u32;1335 } & Struct;1336 readonly isSend: boolean;1337 readonly asSend: {1338 readonly rmrkCollectionId: u32;1339 readonly rmrkNftId: u32;1340 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1341 } & Struct;1342 readonly isAcceptNft: boolean;1343 readonly asAcceptNft: {1344 readonly rmrkCollectionId: u32;1345 readonly rmrkNftId: u32;1346 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1347 } & Struct;1348 readonly isRejectNft: boolean;1349 readonly asRejectNft: {1350 readonly rmrkCollectionId: u32;1351 readonly rmrkNftId: u32;1352 } & Struct;1353 readonly isAcceptResource: boolean;1354 readonly asAcceptResource: {1355 readonly rmrkCollectionId: u32;1356 readonly rmrkNftId: u32;1357 readonly resourceId: u32;1358 } & Struct;1359 readonly isAcceptResourceRemoval: boolean;1360 readonly asAcceptResourceRemoval: {1361 readonly rmrkCollectionId: u32;1362 readonly rmrkNftId: u32;1363 readonly resourceId: u32;1364 } & Struct;1365 readonly isSetProperty: boolean;1366 readonly asSetProperty: {1367 readonly rmrkCollectionId: Compact<u32>;1368 readonly maybeNftId: Option<u32>;1369 readonly key: Bytes;1370 readonly value: Bytes;1371 } & Struct;1372 readonly isSetPriority: boolean;1373 readonly asSetPriority: {1374 readonly rmrkCollectionId: u32;1375 readonly rmrkNftId: u32;1376 readonly priorities: Vec<u32>;1377 } & Struct;1378 readonly isAddBasicResource: boolean;1379 readonly asAddBasicResource: {1380 readonly rmrkCollectionId: u32;1381 readonly nftId: u32;1382 readonly resource: RmrkTraitsResourceBasicResource;1383 } & Struct;1384 readonly isAddComposableResource: boolean;1385 readonly asAddComposableResource: {1386 readonly rmrkCollectionId: u32;1387 readonly nftId: u32;1388 readonly resource: RmrkTraitsResourceComposableResource;1389 } & Struct;1390 readonly isAddSlotResource: boolean;1391 readonly asAddSlotResource: {1392 readonly rmrkCollectionId: u32;1393 readonly nftId: u32;1394 readonly resource: RmrkTraitsResourceSlotResource;1395 } & Struct;1396 readonly isRemoveResource: boolean;1397 readonly asRemoveResource: {1398 readonly rmrkCollectionId: u32;1399 readonly nftId: u32;1400 readonly resourceId: u32;1401 } & Struct;1402 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1403}14041405/** @name PalletRmrkCoreError */1406export interface PalletRmrkCoreError extends Enum {1407 readonly isCorruptedCollectionType: boolean;1408 readonly isRmrkPropertyKeyIsTooLong: boolean;1409 readonly isRmrkPropertyValueIsTooLong: boolean;1410 readonly isRmrkPropertyIsNotFound: boolean;1411 readonly isUnableToDecodeRmrkData: boolean;1412 readonly isCollectionNotEmpty: boolean;1413 readonly isNoAvailableCollectionId: boolean;1414 readonly isNoAvailableNftId: boolean;1415 readonly isCollectionUnknown: boolean;1416 readonly isNoPermission: boolean;1417 readonly isNonTransferable: boolean;1418 readonly isCollectionFullOrLocked: boolean;1419 readonly isResourceDoesntExist: boolean;1420 readonly isCannotSendToDescendentOrSelf: boolean;1421 readonly isCannotAcceptNonOwnedNft: boolean;1422 readonly isCannotRejectNonOwnedNft: boolean;1423 readonly isCannotRejectNonPendingNft: boolean;1424 readonly isResourceNotPending: boolean;1425 readonly isNoAvailableResourceId: boolean;1426 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1427}14281429/** @name PalletRmrkCoreEvent */1430export interface PalletRmrkCoreEvent extends Enum {1431 readonly isCollectionCreated: boolean;1432 readonly asCollectionCreated: {1433 readonly issuer: AccountId32;1434 readonly collectionId: u32;1435 } & Struct;1436 readonly isCollectionDestroyed: boolean;1437 readonly asCollectionDestroyed: {1438 readonly issuer: AccountId32;1439 readonly collectionId: u32;1440 } & Struct;1441 readonly isIssuerChanged: boolean;1442 readonly asIssuerChanged: {1443 readonly oldIssuer: AccountId32;1444 readonly newIssuer: AccountId32;1445 readonly collectionId: u32;1446 } & Struct;1447 readonly isCollectionLocked: boolean;1448 readonly asCollectionLocked: {1449 readonly issuer: AccountId32;1450 readonly collectionId: u32;1451 } & Struct;1452 readonly isNftMinted: boolean;1453 readonly asNftMinted: {1454 readonly owner: AccountId32;1455 readonly collectionId: u32;1456 readonly nftId: u32;1457 } & Struct;1458 readonly isNftBurned: boolean;1459 readonly asNftBurned: {1460 readonly owner: AccountId32;1461 readonly nftId: u32;1462 } & Struct;1463 readonly isNftSent: boolean;1464 readonly asNftSent: {1465 readonly sender: AccountId32;1466 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1467 readonly collectionId: u32;1468 readonly nftId: u32;1469 readonly approvalRequired: bool;1470 } & Struct;1471 readonly isNftAccepted: boolean;1472 readonly asNftAccepted: {1473 readonly sender: AccountId32;1474 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1475 readonly collectionId: u32;1476 readonly nftId: u32;1477 } & Struct;1478 readonly isNftRejected: boolean;1479 readonly asNftRejected: {1480 readonly sender: AccountId32;1481 readonly collectionId: u32;1482 readonly nftId: u32;1483 } & Struct;1484 readonly isPropertySet: boolean;1485 readonly asPropertySet: {1486 readonly collectionId: u32;1487 readonly maybeNftId: Option<u32>;1488 readonly key: Bytes;1489 readonly value: Bytes;1490 } & Struct;1491 readonly isResourceAdded: boolean;1492 readonly asResourceAdded: {1493 readonly nftId: u32;1494 readonly resourceId: u32;1495 } & Struct;1496 readonly isResourceRemoval: boolean;1497 readonly asResourceRemoval: {1498 readonly nftId: u32;1499 readonly resourceId: u32;1500 } & Struct;1501 readonly isResourceAccepted: boolean;1502 readonly asResourceAccepted: {1503 readonly nftId: u32;1504 readonly resourceId: u32;1505 } & Struct;1506 readonly isResourceRemovalAccepted: boolean;1507 readonly asResourceRemovalAccepted: {1508 readonly nftId: u32;1509 readonly resourceId: u32;1510 } & Struct;1511 readonly isPrioritySet: boolean;1512 readonly asPrioritySet: {1513 readonly collectionId: u32;1514 readonly nftId: u32;1515 } & Struct;1516 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1517}15181519/** @name PalletRmrkEquipCall */1520export interface PalletRmrkEquipCall extends Enum {1521 readonly isCreateBase: boolean;1522 readonly asCreateBase: {1523 readonly baseType: Bytes;1524 readonly symbol: Bytes;1525 readonly parts: Vec<RmrkTraitsPartPartType>;1526 } & Struct;1527 readonly isThemeAdd: boolean;1528 readonly asThemeAdd: {1529 readonly baseId: u32;1530 readonly theme: RmrkTraitsTheme;1531 } & Struct;1532 readonly isEquippable: boolean;1533 readonly asEquippable: {1534 readonly baseId: u32;1535 readonly slotId: u32;1536 readonly equippables: RmrkTraitsPartEquippableList;1537 } & Struct;1538 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1539}15401541/** @name PalletRmrkEquipError */1542export interface PalletRmrkEquipError extends Enum {1543 readonly isPermissionError: boolean;1544 readonly isNoAvailableBaseId: boolean;1545 readonly isNoAvailablePartId: boolean;1546 readonly isBaseDoesntExist: boolean;1547 readonly isNeedsDefaultThemeFirst: boolean;1548 readonly isPartDoesntExist: boolean;1549 readonly isNoEquippableOnFixedPart: boolean;1550 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1551}15521553/** @name PalletRmrkEquipEvent */1554export interface PalletRmrkEquipEvent extends Enum {1555 readonly isBaseCreated: boolean;1556 readonly asBaseCreated: {1557 readonly issuer: AccountId32;1558 readonly baseId: u32;1559 } & Struct;1560 readonly isEquippablesUpdated: boolean;1561 readonly asEquippablesUpdated: {1562 readonly baseId: u32;1563 readonly slotId: u32;1564 } & Struct;1565 readonly type: 'BaseCreated' | 'EquippablesUpdated';1566}15671568/** @name PalletStructureCall */1569export interface PalletStructureCall extends Null {}15701571/** @name PalletStructureError */1572export interface PalletStructureError extends Enum {1573 readonly isOuroborosDetected: boolean;1574 readonly isDepthLimit: boolean;1575 readonly isBreadthLimit: boolean;1576 readonly isTokenNotFound: boolean;1577 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1578}15791580/** @name PalletStructureEvent */1581export interface PalletStructureEvent extends Enum {1582 readonly isExecuted: boolean;1583 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1584 readonly type: 'Executed';1585}15861587/** @name PalletSudoCall */1588export interface PalletSudoCall extends Enum {1589 readonly isSudo: boolean;1590 readonly asSudo: {1591 readonly call: Call;1592 } & Struct;1593 readonly isSudoUncheckedWeight: boolean;1594 readonly asSudoUncheckedWeight: {1595 readonly call: Call;1596 readonly weight: u64;1597 } & Struct;1598 readonly isSetKey: boolean;1599 readonly asSetKey: {1600 readonly new_: MultiAddress;1601 } & Struct;1602 readonly isSudoAs: boolean;1603 readonly asSudoAs: {1604 readonly who: MultiAddress;1605 readonly call: Call;1606 } & Struct;1607 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1608}16091610/** @name PalletSudoError */1611export interface PalletSudoError extends Enum {1612 readonly isRequireSudo: boolean;1613 readonly type: 'RequireSudo';1614}16151616/** @name PalletSudoEvent */1617export interface PalletSudoEvent extends Enum {1618 readonly isSudid: boolean;1619 readonly asSudid: {1620 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1621 } & Struct;1622 readonly isKeyChanged: boolean;1623 readonly asKeyChanged: {1624 readonly oldSudoer: Option<AccountId32>;1625 } & Struct;1626 readonly isSudoAsDone: boolean;1627 readonly asSudoAsDone: {1628 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1629 } & Struct;1630 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1631}16321633/** @name PalletTemplateTransactionPaymentCall */1634export interface PalletTemplateTransactionPaymentCall extends Null {}16351636/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1637export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16381639/** @name PalletTimestampCall */1640export interface PalletTimestampCall extends Enum {1641 readonly isSet: boolean;1642 readonly asSet: {1643 readonly now: Compact<u64>;1644 } & Struct;1645 readonly type: 'Set';1646}16471648/** @name PalletTransactionPaymentEvent */1649export interface PalletTransactionPaymentEvent extends Enum {1650 readonly isTransactionFeePaid: boolean;1651 readonly asTransactionFeePaid: {1652 readonly who: AccountId32;1653 readonly actualFee: u128;1654 readonly tip: u128;1655 } & Struct;1656 readonly type: 'TransactionFeePaid';1657}16581659/** @name PalletTransactionPaymentReleases */1660export interface PalletTransactionPaymentReleases extends Enum {1661 readonly isV1Ancient: boolean;1662 readonly isV2: boolean;1663 readonly type: 'V1Ancient' | 'V2';1664}16651666/** @name PalletTreasuryCall */1667export interface PalletTreasuryCall extends Enum {1668 readonly isProposeSpend: boolean;1669 readonly asProposeSpend: {1670 readonly value: Compact<u128>;1671 readonly beneficiary: MultiAddress;1672 } & Struct;1673 readonly isRejectProposal: boolean;1674 readonly asRejectProposal: {1675 readonly proposalId: Compact<u32>;1676 } & Struct;1677 readonly isApproveProposal: boolean;1678 readonly asApproveProposal: {1679 readonly proposalId: Compact<u32>;1680 } & Struct;1681 readonly isSpend: boolean;1682 readonly asSpend: {1683 readonly amount: Compact<u128>;1684 readonly beneficiary: MultiAddress;1685 } & Struct;1686 readonly isRemoveApproval: boolean;1687 readonly asRemoveApproval: {1688 readonly proposalId: Compact<u32>;1689 } & Struct;1690 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1691}16921693/** @name PalletTreasuryError */1694export interface PalletTreasuryError extends Enum {1695 readonly isInsufficientProposersBalance: boolean;1696 readonly isInvalidIndex: boolean;1697 readonly isTooManyApprovals: boolean;1698 readonly isInsufficientPermission: boolean;1699 readonly isProposalNotApproved: boolean;1700 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1701}17021703/** @name PalletTreasuryEvent */1704export interface PalletTreasuryEvent extends Enum {1705 readonly isProposed: boolean;1706 readonly asProposed: {1707 readonly proposalIndex: u32;1708 } & Struct;1709 readonly isSpending: boolean;1710 readonly asSpending: {1711 readonly budgetRemaining: u128;1712 } & Struct;1713 readonly isAwarded: boolean;1714 readonly asAwarded: {1715 readonly proposalIndex: u32;1716 readonly award: u128;1717 readonly account: AccountId32;1718 } & Struct;1719 readonly isRejected: boolean;1720 readonly asRejected: {1721 readonly proposalIndex: u32;1722 readonly slashed: u128;1723 } & Struct;1724 readonly isBurnt: boolean;1725 readonly asBurnt: {1726 readonly burntFunds: u128;1727 } & Struct;1728 readonly isRollover: boolean;1729 readonly asRollover: {1730 readonly rolloverBalance: u128;1731 } & Struct;1732 readonly isDeposit: boolean;1733 readonly asDeposit: {1734 readonly value: u128;1735 } & Struct;1736 readonly isSpendApproved: boolean;1737 readonly asSpendApproved: {1738 readonly proposalIndex: u32;1739 readonly amount: u128;1740 readonly beneficiary: AccountId32;1741 } & Struct;1742 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1743}17441745/** @name PalletTreasuryProposal */1746export interface PalletTreasuryProposal extends Struct {1747 readonly proposer: AccountId32;1748 readonly value: u128;1749 readonly beneficiary: AccountId32;1750 readonly bond: u128;1751}17521753/** @name PalletUniqueCall */1754export interface PalletUniqueCall extends Enum {1755 readonly isCreateCollection: boolean;1756 readonly asCreateCollection: {1757 readonly collectionName: Vec<u16>;1758 readonly collectionDescription: Vec<u16>;1759 readonly tokenPrefix: Bytes;1760 readonly mode: UpDataStructsCollectionMode;1761 } & Struct;1762 readonly isCreateCollectionEx: boolean;1763 readonly asCreateCollectionEx: {1764 readonly data: UpDataStructsCreateCollectionData;1765 } & Struct;1766 readonly isDestroyCollection: boolean;1767 readonly asDestroyCollection: {1768 readonly collectionId: u32;1769 } & Struct;1770 readonly isAddToAllowList: boolean;1771 readonly asAddToAllowList: {1772 readonly collectionId: u32;1773 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1774 } & Struct;1775 readonly isRemoveFromAllowList: boolean;1776 readonly asRemoveFromAllowList: {1777 readonly collectionId: u32;1778 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1779 } & Struct;1780 readonly isChangeCollectionOwner: boolean;1781 readonly asChangeCollectionOwner: {1782 readonly collectionId: u32;1783 readonly newOwner: AccountId32;1784 } & Struct;1785 readonly isAddCollectionAdmin: boolean;1786 readonly asAddCollectionAdmin: {1787 readonly collectionId: u32;1788 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1789 } & Struct;1790 readonly isRemoveCollectionAdmin: boolean;1791 readonly asRemoveCollectionAdmin: {1792 readonly collectionId: u32;1793 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1794 } & Struct;1795 readonly isSetCollectionSponsor: boolean;1796 readonly asSetCollectionSponsor: {1797 readonly collectionId: u32;1798 readonly newSponsor: AccountId32;1799 } & Struct;1800 readonly isConfirmSponsorship: boolean;1801 readonly asConfirmSponsorship: {1802 readonly collectionId: u32;1803 } & Struct;1804 readonly isRemoveCollectionSponsor: boolean;1805 readonly asRemoveCollectionSponsor: {1806 readonly collectionId: u32;1807 } & Struct;1808 readonly isCreateItem: boolean;1809 readonly asCreateItem: {1810 readonly collectionId: u32;1811 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1812 readonly data: UpDataStructsCreateItemData;1813 } & Struct;1814 readonly isCreateMultipleItems: boolean;1815 readonly asCreateMultipleItems: {1816 readonly collectionId: u32;1817 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1818 readonly itemsData: Vec<UpDataStructsCreateItemData>;1819 } & Struct;1820 readonly isSetCollectionProperties: boolean;1821 readonly asSetCollectionProperties: {1822 readonly collectionId: u32;1823 readonly properties: Vec<UpDataStructsProperty>;1824 } & Struct;1825 readonly isDeleteCollectionProperties: boolean;1826 readonly asDeleteCollectionProperties: {1827 readonly collectionId: u32;1828 readonly propertyKeys: Vec<Bytes>;1829 } & Struct;1830 readonly isSetTokenProperties: boolean;1831 readonly asSetTokenProperties: {1832 readonly collectionId: u32;1833 readonly tokenId: u32;1834 readonly properties: Vec<UpDataStructsProperty>;1835 } & Struct;1836 readonly isDeleteTokenProperties: boolean;1837 readonly asDeleteTokenProperties: {1838 readonly collectionId: u32;1839 readonly tokenId: u32;1840 readonly propertyKeys: Vec<Bytes>;1841 } & Struct;1842 readonly isSetTokenPropertyPermissions: boolean;1843 readonly asSetTokenPropertyPermissions: {1844 readonly collectionId: u32;1845 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1846 } & Struct;1847 readonly isCreateMultipleItemsEx: boolean;1848 readonly asCreateMultipleItemsEx: {1849 readonly collectionId: u32;1850 readonly data: UpDataStructsCreateItemExData;1851 } & Struct;1852 readonly isSetTransfersEnabledFlag: boolean;1853 readonly asSetTransfersEnabledFlag: {1854 readonly collectionId: u32;1855 readonly value: bool;1856 } & Struct;1857 readonly isBurnItem: boolean;1858 readonly asBurnItem: {1859 readonly collectionId: u32;1860 readonly itemId: u32;1861 readonly value: u128;1862 } & Struct;1863 readonly isBurnFrom: boolean;1864 readonly asBurnFrom: {1865 readonly collectionId: u32;1866 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1867 readonly itemId: u32;1868 readonly value: u128;1869 } & Struct;1870 readonly isTransfer: boolean;1871 readonly asTransfer: {1872 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1873 readonly collectionId: u32;1874 readonly itemId: u32;1875 readonly value: u128;1876 } & Struct;1877 readonly isApprove: boolean;1878 readonly asApprove: {1879 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1880 readonly collectionId: u32;1881 readonly itemId: u32;1882 readonly amount: u128;1883 } & Struct;1884 readonly isTransferFrom: boolean;1885 readonly asTransferFrom: {1886 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1887 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1888 readonly collectionId: u32;1889 readonly itemId: u32;1890 readonly value: u128;1891 } & Struct;1892 readonly isSetCollectionLimits: boolean;1893 readonly asSetCollectionLimits: {1894 readonly collectionId: u32;1895 readonly newLimit: UpDataStructsCollectionLimits;1896 } & Struct;1897 readonly isSetCollectionPermissions: boolean;1898 readonly asSetCollectionPermissions: {1899 readonly collectionId: u32;1900 readonly newPermission: UpDataStructsCollectionPermissions;1901 } & Struct;1902 readonly isRepartition: boolean;1903 readonly asRepartition: {1904 readonly collectionId: u32;1905 readonly tokenId: u32;1906 readonly amount: u128;1907 } & Struct;1908 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';1909}19101911/** @name PalletUniqueError */1912export interface PalletUniqueError extends Enum {1913 readonly isCollectionDecimalPointLimitExceeded: boolean;1914 readonly isConfirmUnsetSponsorFail: boolean;1915 readonly isEmptyArgument: boolean;1916 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1917 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1918}19191920/** @name PalletUniqueRawEvent */1921export interface PalletUniqueRawEvent extends Enum {1922 readonly isCollectionSponsorRemoved: boolean;1923 readonly asCollectionSponsorRemoved: u32;1924 readonly isCollectionAdminAdded: boolean;1925 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1926 readonly isCollectionOwnedChanged: boolean;1927 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1928 readonly isCollectionSponsorSet: boolean;1929 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1930 readonly isSponsorshipConfirmed: boolean;1931 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1932 readonly isCollectionAdminRemoved: boolean;1933 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1934 readonly isAllowListAddressRemoved: boolean;1935 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1936 readonly isAllowListAddressAdded: boolean;1937 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1938 readonly isCollectionLimitSet: boolean;1939 readonly asCollectionLimitSet: u32;1940 readonly isCollectionPermissionSet: boolean;1941 readonly asCollectionPermissionSet: u32;1942 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1943}19441945/** @name PalletUniqueSchedulerCall */1946export interface PalletUniqueSchedulerCall extends Enum {1947 readonly isScheduleNamed: boolean;1948 readonly asScheduleNamed: {1949 readonly id: U8aFixed;1950 readonly when: u32;1951 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1952 readonly priority: u8;1953 readonly call: FrameSupportScheduleMaybeHashed;1954 } & Struct;1955 readonly isCancelNamed: boolean;1956 readonly asCancelNamed: {1957 readonly id: U8aFixed;1958 } & Struct;1959 readonly isScheduleNamedAfter: boolean;1960 readonly asScheduleNamedAfter: {1961 readonly id: U8aFixed;1962 readonly after: u32;1963 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1964 readonly priority: u8;1965 readonly call: FrameSupportScheduleMaybeHashed;1966 } & Struct;1967 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1968}19691970/** @name PalletUniqueSchedulerError */1971export interface PalletUniqueSchedulerError extends Enum {1972 readonly isFailedToSchedule: boolean;1973 readonly isNotFound: boolean;1974 readonly isTargetBlockNumberInPast: boolean;1975 readonly isRescheduleNoChange: boolean;1976 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1977}19781979/** @name PalletUniqueSchedulerEvent */1980export interface PalletUniqueSchedulerEvent extends Enum {1981 readonly isScheduled: boolean;1982 readonly asScheduled: {1983 readonly when: u32;1984 readonly index: u32;1985 } & Struct;1986 readonly isCanceled: boolean;1987 readonly asCanceled: {1988 readonly when: u32;1989 readonly index: u32;1990 } & Struct;1991 readonly isDispatched: boolean;1992 readonly asDispatched: {1993 readonly task: ITuple<[u32, u32]>;1994 readonly id: Option<U8aFixed>;1995 readonly result: Result<Null, SpRuntimeDispatchError>;1996 } & Struct;1997 readonly isCallLookupFailed: boolean;1998 readonly asCallLookupFailed: {1999 readonly task: ITuple<[u32, u32]>;2000 readonly id: Option<U8aFixed>;2001 readonly error: FrameSupportScheduleLookupError;2002 } & Struct;2003 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2004}20052006/** @name PalletUniqueSchedulerScheduledV3 */2007export interface PalletUniqueSchedulerScheduledV3 extends Struct {2008 readonly maybeId: Option<U8aFixed>;2009 readonly priority: u8;2010 readonly call: FrameSupportScheduleMaybeHashed;2011 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2012 readonly origin: OpalRuntimeOriginCaller;2013}20142015/** @name PalletXcmCall */2016export interface PalletXcmCall extends Enum {2017 readonly isSend: boolean;2018 readonly asSend: {2019 readonly dest: XcmVersionedMultiLocation;2020 readonly message: XcmVersionedXcm;2021 } & Struct;2022 readonly isTeleportAssets: boolean;2023 readonly asTeleportAssets: {2024 readonly dest: XcmVersionedMultiLocation;2025 readonly beneficiary: XcmVersionedMultiLocation;2026 readonly assets: XcmVersionedMultiAssets;2027 readonly feeAssetItem: u32;2028 } & Struct;2029 readonly isReserveTransferAssets: boolean;2030 readonly asReserveTransferAssets: {2031 readonly dest: XcmVersionedMultiLocation;2032 readonly beneficiary: XcmVersionedMultiLocation;2033 readonly assets: XcmVersionedMultiAssets;2034 readonly feeAssetItem: u32;2035 } & Struct;2036 readonly isExecute: boolean;2037 readonly asExecute: {2038 readonly message: XcmVersionedXcm;2039 readonly maxWeight: u64;2040 } & Struct;2041 readonly isForceXcmVersion: boolean;2042 readonly asForceXcmVersion: {2043 readonly location: XcmV1MultiLocation;2044 readonly xcmVersion: u32;2045 } & Struct;2046 readonly isForceDefaultXcmVersion: boolean;2047 readonly asForceDefaultXcmVersion: {2048 readonly maybeXcmVersion: Option<u32>;2049 } & Struct;2050 readonly isForceSubscribeVersionNotify: boolean;2051 readonly asForceSubscribeVersionNotify: {2052 readonly location: XcmVersionedMultiLocation;2053 } & Struct;2054 readonly isForceUnsubscribeVersionNotify: boolean;2055 readonly asForceUnsubscribeVersionNotify: {2056 readonly location: XcmVersionedMultiLocation;2057 } & Struct;2058 readonly isLimitedReserveTransferAssets: boolean;2059 readonly asLimitedReserveTransferAssets: {2060 readonly dest: XcmVersionedMultiLocation;2061 readonly beneficiary: XcmVersionedMultiLocation;2062 readonly assets: XcmVersionedMultiAssets;2063 readonly feeAssetItem: u32;2064 readonly weightLimit: XcmV2WeightLimit;2065 } & Struct;2066 readonly isLimitedTeleportAssets: boolean;2067 readonly asLimitedTeleportAssets: {2068 readonly dest: XcmVersionedMultiLocation;2069 readonly beneficiary: XcmVersionedMultiLocation;2070 readonly assets: XcmVersionedMultiAssets;2071 readonly feeAssetItem: u32;2072 readonly weightLimit: XcmV2WeightLimit;2073 } & Struct;2074 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2075}20762077/** @name PalletXcmError */2078export interface PalletXcmError extends Enum {2079 readonly isUnreachable: boolean;2080 readonly isSendFailure: boolean;2081 readonly isFiltered: boolean;2082 readonly isUnweighableMessage: boolean;2083 readonly isDestinationNotInvertible: boolean;2084 readonly isEmpty: boolean;2085 readonly isCannotReanchor: boolean;2086 readonly isTooManyAssets: boolean;2087 readonly isInvalidOrigin: boolean;2088 readonly isBadVersion: boolean;2089 readonly isBadLocation: boolean;2090 readonly isNoSubscription: boolean;2091 readonly isAlreadySubscribed: boolean;2092 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2093}20942095/** @name PalletXcmEvent */2096export interface PalletXcmEvent extends Enum {2097 readonly isAttempted: boolean;2098 readonly asAttempted: XcmV2TraitsOutcome;2099 readonly isSent: boolean;2100 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2101 readonly isUnexpectedResponse: boolean;2102 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2103 readonly isResponseReady: boolean;2104 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2105 readonly isNotified: boolean;2106 readonly asNotified: ITuple<[u64, u8, u8]>;2107 readonly isNotifyOverweight: boolean;2108 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2109 readonly isNotifyDispatchError: boolean;2110 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2111 readonly isNotifyDecodeFailed: boolean;2112 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2113 readonly isInvalidResponder: boolean;2114 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2115 readonly isInvalidResponderVersion: boolean;2116 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2117 readonly isResponseTaken: boolean;2118 readonly asResponseTaken: u64;2119 readonly isAssetsTrapped: boolean;2120 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2121 readonly isVersionChangeNotified: boolean;2122 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2123 readonly isSupportedVersionChanged: boolean;2124 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2125 readonly isNotifyTargetSendFail: boolean;2126 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2127 readonly isNotifyTargetMigrationFail: boolean;2128 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2129 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2130}21312132/** @name PalletXcmOrigin */2133export interface PalletXcmOrigin extends Enum {2134 readonly isXcm: boolean;2135 readonly asXcm: XcmV1MultiLocation;2136 readonly isResponse: boolean;2137 readonly asResponse: XcmV1MultiLocation;2138 readonly type: 'Xcm' | 'Response';2139}21402141/** @name PhantomTypeUpDataStructs */2142export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21432144/** @name PolkadotCorePrimitivesInboundDownwardMessage */2145export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2146 readonly sentAt: u32;2147 readonly msg: Bytes;2148}21492150/** @name PolkadotCorePrimitivesInboundHrmpMessage */2151export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2152 readonly sentAt: u32;2153 readonly data: Bytes;2154}21552156/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2157export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2158 readonly recipient: u32;2159 readonly data: Bytes;2160}21612162/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2163export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2164 readonly isConcatenatedVersionedXcm: boolean;2165 readonly isConcatenatedEncodedBlob: boolean;2166 readonly isSignals: boolean;2167 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2168}21692170/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2171export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2172 readonly maxCodeSize: u32;2173 readonly maxHeadDataSize: u32;2174 readonly maxUpwardQueueCount: u32;2175 readonly maxUpwardQueueSize: u32;2176 readonly maxUpwardMessageSize: u32;2177 readonly maxUpwardMessageNumPerCandidate: u32;2178 readonly hrmpMaxMessageNumPerCandidate: u32;2179 readonly validationUpgradeCooldown: u32;2180 readonly validationUpgradeDelay: u32;2181}21822183/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2184export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2185 readonly maxCapacity: u32;2186 readonly maxTotalSize: u32;2187 readonly maxMessageSize: u32;2188 readonly msgCount: u32;2189 readonly totalSize: u32;2190 readonly mqcHead: Option<H256>;2191}21922193/** @name PolkadotPrimitivesV2PersistedValidationData */2194export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2195 readonly parentHead: Bytes;2196 readonly relayParentNumber: u32;2197 readonly relayParentStorageRoot: H256;2198 readonly maxPovSize: u32;2199}22002201/** @name PolkadotPrimitivesV2UpgradeRestriction */2202export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2203 readonly isPresent: boolean;2204 readonly type: 'Present';2205}22062207/** @name RmrkTraitsBaseBaseInfo */2208export interface RmrkTraitsBaseBaseInfo extends Struct {2209 readonly issuer: AccountId32;2210 readonly baseType: Bytes;2211 readonly symbol: Bytes;2212}22132214/** @name RmrkTraitsCollectionCollectionInfo */2215export interface RmrkTraitsCollectionCollectionInfo extends Struct {2216 readonly issuer: AccountId32;2217 readonly metadata: Bytes;2218 readonly max: Option<u32>;2219 readonly symbol: Bytes;2220 readonly nftsCount: u32;2221}22222223/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2224export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2225 readonly isAccountId: boolean;2226 readonly asAccountId: AccountId32;2227 readonly isCollectionAndNftTuple: boolean;2228 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2229 readonly type: 'AccountId' | 'CollectionAndNftTuple';2230}22312232/** @name RmrkTraitsNftNftChild */2233export interface RmrkTraitsNftNftChild extends Struct {2234 readonly collectionId: u32;2235 readonly nftId: u32;2236}22372238/** @name RmrkTraitsNftNftInfo */2239export interface RmrkTraitsNftNftInfo extends Struct {2240 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2241 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2242 readonly metadata: Bytes;2243 readonly equipped: bool;2244 readonly pending: bool;2245}22462247/** @name RmrkTraitsNftRoyaltyInfo */2248export interface RmrkTraitsNftRoyaltyInfo extends Struct {2249 readonly recipient: AccountId32;2250 readonly amount: Permill;2251}22522253/** @name RmrkTraitsPartEquippableList */2254export interface RmrkTraitsPartEquippableList extends Enum {2255 readonly isAll: boolean;2256 readonly isEmpty: boolean;2257 readonly isCustom: boolean;2258 readonly asCustom: Vec<u32>;2259 readonly type: 'All' | 'Empty' | 'Custom';2260}22612262/** @name RmrkTraitsPartFixedPart */2263export interface RmrkTraitsPartFixedPart extends Struct {2264 readonly id: u32;2265 readonly z: u32;2266 readonly src: Bytes;2267}22682269/** @name RmrkTraitsPartPartType */2270export interface RmrkTraitsPartPartType extends Enum {2271 readonly isFixedPart: boolean;2272 readonly asFixedPart: RmrkTraitsPartFixedPart;2273 readonly isSlotPart: boolean;2274 readonly asSlotPart: RmrkTraitsPartSlotPart;2275 readonly type: 'FixedPart' | 'SlotPart';2276}22772278/** @name RmrkTraitsPartSlotPart */2279export interface RmrkTraitsPartSlotPart extends Struct {2280 readonly id: u32;2281 readonly equippable: RmrkTraitsPartEquippableList;2282 readonly src: Bytes;2283 readonly z: u32;2284}22852286/** @name RmrkTraitsPropertyPropertyInfo */2287export interface RmrkTraitsPropertyPropertyInfo extends Struct {2288 readonly key: Bytes;2289 readonly value: Bytes;2290}22912292/** @name RmrkTraitsResourceBasicResource */2293export interface RmrkTraitsResourceBasicResource extends Struct {2294 readonly src: Option<Bytes>;2295 readonly metadata: Option<Bytes>;2296 readonly license: Option<Bytes>;2297 readonly thumb: Option<Bytes>;2298}22992300/** @name RmrkTraitsResourceComposableResource */2301export interface RmrkTraitsResourceComposableResource extends Struct {2302 readonly parts: Vec<u32>;2303 readonly base: u32;2304 readonly src: Option<Bytes>;2305 readonly metadata: Option<Bytes>;2306 readonly license: Option<Bytes>;2307 readonly thumb: Option<Bytes>;2308}23092310/** @name RmrkTraitsResourceResourceInfo */2311export interface RmrkTraitsResourceResourceInfo extends Struct {2312 readonly id: u32;2313 readonly resource: RmrkTraitsResourceResourceTypes;2314 readonly pending: bool;2315 readonly pendingRemoval: bool;2316}23172318/** @name RmrkTraitsResourceResourceTypes */2319export interface RmrkTraitsResourceResourceTypes extends Enum {2320 readonly isBasic: boolean;2321 readonly asBasic: RmrkTraitsResourceBasicResource;2322 readonly isComposable: boolean;2323 readonly asComposable: RmrkTraitsResourceComposableResource;2324 readonly isSlot: boolean;2325 readonly asSlot: RmrkTraitsResourceSlotResource;2326 readonly type: 'Basic' | 'Composable' | 'Slot';2327}23282329/** @name RmrkTraitsResourceSlotResource */2330export interface RmrkTraitsResourceSlotResource extends Struct {2331 readonly base: u32;2332 readonly src: Option<Bytes>;2333 readonly metadata: Option<Bytes>;2334 readonly slot: u32;2335 readonly license: Option<Bytes>;2336 readonly thumb: Option<Bytes>;2337}23382339/** @name RmrkTraitsTheme */2340export interface RmrkTraitsTheme extends Struct {2341 readonly name: Bytes;2342 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2343 readonly inherit: bool;2344}23452346/** @name RmrkTraitsThemeThemeProperty */2347export interface RmrkTraitsThemeThemeProperty extends Struct {2348 readonly key: Bytes;2349 readonly value: Bytes;2350}23512352/** @name SpCoreEcdsaSignature */2353export interface SpCoreEcdsaSignature extends U8aFixed {}23542355/** @name SpCoreEd25519Signature */2356export interface SpCoreEd25519Signature extends U8aFixed {}23572358/** @name SpCoreSr25519Signature */2359export interface SpCoreSr25519Signature extends U8aFixed {}23602361/** @name SpCoreVoid */2362export interface SpCoreVoid extends Null {}23632364/** @name SpRuntimeArithmeticError */2365export interface SpRuntimeArithmeticError extends Enum {2366 readonly isUnderflow: boolean;2367 readonly isOverflow: boolean;2368 readonly isDivisionByZero: boolean;2369 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2370}23712372/** @name SpRuntimeDigest */2373export interface SpRuntimeDigest extends Struct {2374 readonly logs: Vec<SpRuntimeDigestDigestItem>;2375}23762377/** @name SpRuntimeDigestDigestItem */2378export interface SpRuntimeDigestDigestItem extends Enum {2379 readonly isOther: boolean;2380 readonly asOther: Bytes;2381 readonly isConsensus: boolean;2382 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2383 readonly isSeal: boolean;2384 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2385 readonly isPreRuntime: boolean;2386 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2387 readonly isRuntimeEnvironmentUpdated: boolean;2388 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2389}23902391/** @name SpRuntimeDispatchError */2392export interface SpRuntimeDispatchError extends Enum {2393 readonly isOther: boolean;2394 readonly isCannotLookup: boolean;2395 readonly isBadOrigin: boolean;2396 readonly isModule: boolean;2397 readonly asModule: SpRuntimeModuleError;2398 readonly isConsumerRemaining: boolean;2399 readonly isNoProviders: boolean;2400 readonly isTooManyConsumers: boolean;2401 readonly isToken: boolean;2402 readonly asToken: SpRuntimeTokenError;2403 readonly isArithmetic: boolean;2404 readonly asArithmetic: SpRuntimeArithmeticError;2405 readonly isTransactional: boolean;2406 readonly asTransactional: SpRuntimeTransactionalError;2407 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2408}24092410/** @name SpRuntimeModuleError */2411export interface SpRuntimeModuleError extends Struct {2412 readonly index: u8;2413 readonly error: U8aFixed;2414}24152416/** @name SpRuntimeMultiSignature */2417export interface SpRuntimeMultiSignature extends Enum {2418 readonly isEd25519: boolean;2419 readonly asEd25519: SpCoreEd25519Signature;2420 readonly isSr25519: boolean;2421 readonly asSr25519: SpCoreSr25519Signature;2422 readonly isEcdsa: boolean;2423 readonly asEcdsa: SpCoreEcdsaSignature;2424 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2425}24262427/** @name SpRuntimeTokenError */2428export interface SpRuntimeTokenError extends Enum {2429 readonly isNoFunds: boolean;2430 readonly isWouldDie: boolean;2431 readonly isBelowMinimum: boolean;2432 readonly isCannotCreate: boolean;2433 readonly isUnknownAsset: boolean;2434 readonly isFrozen: boolean;2435 readonly isUnsupported: boolean;2436 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2437}24382439/** @name SpRuntimeTransactionalError */2440export interface SpRuntimeTransactionalError extends Enum {2441 readonly isLimitReached: boolean;2442 readonly isNoLayer: boolean;2443 readonly type: 'LimitReached' | 'NoLayer';2444}24452446/** @name SpTrieStorageProof */2447export interface SpTrieStorageProof extends Struct {2448 readonly trieNodes: BTreeSet<Bytes>;2449}24502451/** @name SpVersionRuntimeVersion */2452export interface SpVersionRuntimeVersion extends Struct {2453 readonly specName: Text;2454 readonly implName: Text;2455 readonly authoringVersion: u32;2456 readonly specVersion: u32;2457 readonly implVersion: u32;2458 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2459 readonly transactionVersion: u32;2460 readonly stateVersion: u8;2461}24622463/** @name UpDataStructsAccessMode */2464export interface UpDataStructsAccessMode extends Enum {2465 readonly isNormal: boolean;2466 readonly isAllowList: boolean;2467 readonly type: 'Normal' | 'AllowList';2468}24692470/** @name UpDataStructsCollection */2471export interface UpDataStructsCollection extends Struct {2472 readonly owner: AccountId32;2473 readonly mode: UpDataStructsCollectionMode;2474 readonly name: Vec<u16>;2475 readonly description: Vec<u16>;2476 readonly tokenPrefix: Bytes;2477 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2478 readonly limits: UpDataStructsCollectionLimits;2479 readonly permissions: UpDataStructsCollectionPermissions;2480 readonly externalCollection: bool;2481}24822483/** @name UpDataStructsCollectionLimits */2484export interface UpDataStructsCollectionLimits extends Struct {2485 readonly accountTokenOwnershipLimit: Option<u32>;2486 readonly sponsoredDataSize: Option<u32>;2487 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2488 readonly tokenLimit: Option<u32>;2489 readonly sponsorTransferTimeout: Option<u32>;2490 readonly sponsorApproveTimeout: Option<u32>;2491 readonly ownerCanTransfer: Option<bool>;2492 readonly ownerCanDestroy: Option<bool>;2493 readonly transfersEnabled: Option<bool>;2494}24952496/** @name UpDataStructsCollectionMode */2497export interface UpDataStructsCollectionMode extends Enum {2498 readonly isNft: boolean;2499 readonly isFungible: boolean;2500 readonly asFungible: u8;2501 readonly isReFungible: boolean;2502 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2503}25042505/** @name UpDataStructsCollectionPermissions */2506export interface UpDataStructsCollectionPermissions extends Struct {2507 readonly access: Option<UpDataStructsAccessMode>;2508 readonly mintMode: Option<bool>;2509 readonly nesting: Option<UpDataStructsNestingPermissions>;2510}25112512/** @name UpDataStructsCollectionStats */2513export interface UpDataStructsCollectionStats extends Struct {2514 readonly created: u32;2515 readonly destroyed: u32;2516 readonly alive: u32;2517}25182519/** @name UpDataStructsCreateCollectionData */2520export interface UpDataStructsCreateCollectionData extends Struct {2521 readonly mode: UpDataStructsCollectionMode;2522 readonly access: Option<UpDataStructsAccessMode>;2523 readonly name: Vec<u16>;2524 readonly description: Vec<u16>;2525 readonly tokenPrefix: Bytes;2526 readonly pendingSponsor: Option<AccountId32>;2527 readonly limits: Option<UpDataStructsCollectionLimits>;2528 readonly permissions: Option<UpDataStructsCollectionPermissions>;2529 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2530 readonly properties: Vec<UpDataStructsProperty>;2531}25322533/** @name UpDataStructsCreateFungibleData */2534export interface UpDataStructsCreateFungibleData extends Struct {2535 readonly value: u128;2536}25372538/** @name UpDataStructsCreateItemData */2539export interface UpDataStructsCreateItemData extends Enum {2540 readonly isNft: boolean;2541 readonly asNft: UpDataStructsCreateNftData;2542 readonly isFungible: boolean;2543 readonly asFungible: UpDataStructsCreateFungibleData;2544 readonly isReFungible: boolean;2545 readonly asReFungible: UpDataStructsCreateReFungibleData;2546 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2547}25482549/** @name UpDataStructsCreateItemExData */2550export interface UpDataStructsCreateItemExData extends Enum {2551 readonly isNft: boolean;2552 readonly asNft: Vec<UpDataStructsCreateNftExData>;2553 readonly isFungible: boolean;2554 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2555 readonly isRefungibleMultipleItems: boolean;2556 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2557 readonly isRefungibleMultipleOwners: boolean;2558 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2559 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2560}25612562/** @name UpDataStructsCreateNftData */2563export interface UpDataStructsCreateNftData extends Struct {2564 readonly properties: Vec<UpDataStructsProperty>;2565}25662567/** @name UpDataStructsCreateNftExData */2568export interface UpDataStructsCreateNftExData extends Struct {2569 readonly properties: Vec<UpDataStructsProperty>;2570 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2571}25722573/** @name UpDataStructsCreateReFungibleData */2574export interface UpDataStructsCreateReFungibleData extends Struct {2575 readonly pieces: u128;2576 readonly properties: Vec<UpDataStructsProperty>;2577}25782579/** @name UpDataStructsCreateRefungibleExMultipleOwners */2580export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2581 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2582 readonly properties: Vec<UpDataStructsProperty>;2583}25842585/** @name UpDataStructsCreateRefungibleExSingleOwner */2586export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2587 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2588 readonly pieces: u128;2589 readonly properties: Vec<UpDataStructsProperty>;2590}25912592/** @name UpDataStructsNestingPermissions */2593export interface UpDataStructsNestingPermissions extends Struct {2594 readonly tokenOwner: bool;2595 readonly collectionAdmin: bool;2596 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2597}25982599/** @name UpDataStructsOwnerRestrictedSet */2600export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}26012602/** @name UpDataStructsProperties */2603export interface UpDataStructsProperties extends Struct {2604 readonly map: UpDataStructsPropertiesMapBoundedVec;2605 readonly consumedSpace: u32;2606 readonly spaceLimit: u32;2607}26082609/** @name UpDataStructsPropertiesMapBoundedVec */2610export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26112612/** @name UpDataStructsPropertiesMapPropertyPermission */2613export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26142615/** @name UpDataStructsProperty */2616export interface UpDataStructsProperty extends Struct {2617 readonly key: Bytes;2618 readonly value: Bytes;2619}26202621/** @name UpDataStructsPropertyKeyPermission */2622export interface UpDataStructsPropertyKeyPermission extends Struct {2623 readonly key: Bytes;2624 readonly permission: UpDataStructsPropertyPermission;2625}26262627/** @name UpDataStructsPropertyPermission */2628export interface UpDataStructsPropertyPermission extends Struct {2629 readonly mutable: bool;2630 readonly collectionAdmin: bool;2631 readonly tokenOwner: bool;2632}26332634/** @name UpDataStructsPropertyScope */2635export interface UpDataStructsPropertyScope extends Enum {2636 readonly isNone: boolean;2637 readonly isRmrk: boolean;2638 readonly isEth: boolean;2639 readonly type: 'None' | 'Rmrk' | 'Eth';2640}26412642/** @name UpDataStructsRpcCollection */2643export interface UpDataStructsRpcCollection extends Struct {2644 readonly owner: AccountId32;2645 readonly mode: UpDataStructsCollectionMode;2646 readonly name: Vec<u16>;2647 readonly description: Vec<u16>;2648 readonly tokenPrefix: Bytes;2649 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2650 readonly limits: UpDataStructsCollectionLimits;2651 readonly permissions: UpDataStructsCollectionPermissions;2652 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2653 readonly properties: Vec<UpDataStructsProperty>;2654 readonly readOnly: bool;2655}26562657/** @name UpDataStructsSponsoringRateLimit */2658export interface UpDataStructsSponsoringRateLimit extends Enum {2659 readonly isSponsoringDisabled: boolean;2660 readonly isBlocks: boolean;2661 readonly asBlocks: u32;2662 readonly type: 'SponsoringDisabled' | 'Blocks';2663}26642665/** @name UpDataStructsSponsorshipStateAccountId32 */2666export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2667 readonly isDisabled: boolean;2668 readonly isUnconfirmed: boolean;2669 readonly asUnconfirmed: AccountId32;2670 readonly isConfirmed: boolean;2671 readonly asConfirmed: AccountId32;2672 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2673}26742675/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */2676export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {2677 readonly isDisabled: boolean;2678 readonly isUnconfirmed: boolean;2679 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2680 readonly isConfirmed: boolean;2681 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2682 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2683}26842685/** @name UpDataStructsTokenChild */2686export interface UpDataStructsTokenChild extends Struct {2687 readonly token: u32;2688 readonly collection: u32;2689}26902691/** @name UpDataStructsTokenData */2692export interface UpDataStructsTokenData extends Struct {2693 readonly properties: Vec<UpDataStructsProperty>;2694 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2695 readonly pieces: u128;2696}26972698/** @name XcmDoubleEncoded */2699export interface XcmDoubleEncoded extends Struct {2700 readonly encoded: Bytes;2701}27022703/** @name XcmV0Junction */2704export interface XcmV0Junction extends Enum {2705 readonly isParent: boolean;2706 readonly isParachain: boolean;2707 readonly asParachain: Compact<u32>;2708 readonly isAccountId32: boolean;2709 readonly asAccountId32: {2710 readonly network: XcmV0JunctionNetworkId;2711 readonly id: U8aFixed;2712 } & Struct;2713 readonly isAccountIndex64: boolean;2714 readonly asAccountIndex64: {2715 readonly network: XcmV0JunctionNetworkId;2716 readonly index: Compact<u64>;2717 } & Struct;2718 readonly isAccountKey20: boolean;2719 readonly asAccountKey20: {2720 readonly network: XcmV0JunctionNetworkId;2721 readonly key: U8aFixed;2722 } & Struct;2723 readonly isPalletInstance: boolean;2724 readonly asPalletInstance: u8;2725 readonly isGeneralIndex: boolean;2726 readonly asGeneralIndex: Compact<u128>;2727 readonly isGeneralKey: boolean;2728 readonly asGeneralKey: Bytes;2729 readonly isOnlyChild: boolean;2730 readonly isPlurality: boolean;2731 readonly asPlurality: {2732 readonly id: XcmV0JunctionBodyId;2733 readonly part: XcmV0JunctionBodyPart;2734 } & Struct;2735 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2736}27372738/** @name XcmV0JunctionBodyId */2739export interface XcmV0JunctionBodyId extends Enum {2740 readonly isUnit: boolean;2741 readonly isNamed: boolean;2742 readonly asNamed: Bytes;2743 readonly isIndex: boolean;2744 readonly asIndex: Compact<u32>;2745 readonly isExecutive: boolean;2746 readonly isTechnical: boolean;2747 readonly isLegislative: boolean;2748 readonly isJudicial: boolean;2749 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2750}27512752/** @name XcmV0JunctionBodyPart */2753export interface XcmV0JunctionBodyPart extends Enum {2754 readonly isVoice: boolean;2755 readonly isMembers: boolean;2756 readonly asMembers: {2757 readonly count: Compact<u32>;2758 } & Struct;2759 readonly isFraction: boolean;2760 readonly asFraction: {2761 readonly nom: Compact<u32>;2762 readonly denom: Compact<u32>;2763 } & Struct;2764 readonly isAtLeastProportion: boolean;2765 readonly asAtLeastProportion: {2766 readonly nom: Compact<u32>;2767 readonly denom: Compact<u32>;2768 } & Struct;2769 readonly isMoreThanProportion: boolean;2770 readonly asMoreThanProportion: {2771 readonly nom: Compact<u32>;2772 readonly denom: Compact<u32>;2773 } & Struct;2774 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2775}27762777/** @name XcmV0JunctionNetworkId */2778export interface XcmV0JunctionNetworkId extends Enum {2779 readonly isAny: boolean;2780 readonly isNamed: boolean;2781 readonly asNamed: Bytes;2782 readonly isPolkadot: boolean;2783 readonly isKusama: boolean;2784 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2785}27862787/** @name XcmV0MultiAsset */2788export interface XcmV0MultiAsset extends Enum {2789 readonly isNone: boolean;2790 readonly isAll: boolean;2791 readonly isAllFungible: boolean;2792 readonly isAllNonFungible: boolean;2793 readonly isAllAbstractFungible: boolean;2794 readonly asAllAbstractFungible: {2795 readonly id: Bytes;2796 } & Struct;2797 readonly isAllAbstractNonFungible: boolean;2798 readonly asAllAbstractNonFungible: {2799 readonly class: Bytes;2800 } & Struct;2801 readonly isAllConcreteFungible: boolean;2802 readonly asAllConcreteFungible: {2803 readonly id: XcmV0MultiLocation;2804 } & Struct;2805 readonly isAllConcreteNonFungible: boolean;2806 readonly asAllConcreteNonFungible: {2807 readonly class: XcmV0MultiLocation;2808 } & Struct;2809 readonly isAbstractFungible: boolean;2810 readonly asAbstractFungible: {2811 readonly id: Bytes;2812 readonly amount: Compact<u128>;2813 } & Struct;2814 readonly isAbstractNonFungible: boolean;2815 readonly asAbstractNonFungible: {2816 readonly class: Bytes;2817 readonly instance: XcmV1MultiassetAssetInstance;2818 } & Struct;2819 readonly isConcreteFungible: boolean;2820 readonly asConcreteFungible: {2821 readonly id: XcmV0MultiLocation;2822 readonly amount: Compact<u128>;2823 } & Struct;2824 readonly isConcreteNonFungible: boolean;2825 readonly asConcreteNonFungible: {2826 readonly class: XcmV0MultiLocation;2827 readonly instance: XcmV1MultiassetAssetInstance;2828 } & Struct;2829 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2830}28312832/** @name XcmV0MultiLocation */2833export interface XcmV0MultiLocation extends Enum {2834 readonly isNull: boolean;2835 readonly isX1: boolean;2836 readonly asX1: XcmV0Junction;2837 readonly isX2: boolean;2838 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2839 readonly isX3: boolean;2840 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2841 readonly isX4: boolean;2842 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2843 readonly isX5: boolean;2844 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2845 readonly isX6: boolean;2846 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2847 readonly isX7: boolean;2848 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2849 readonly isX8: boolean;2850 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2851 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2852}28532854/** @name XcmV0Order */2855export interface XcmV0Order extends Enum {2856 readonly isNull: boolean;2857 readonly isDepositAsset: boolean;2858 readonly asDepositAsset: {2859 readonly assets: Vec<XcmV0MultiAsset>;2860 readonly dest: XcmV0MultiLocation;2861 } & Struct;2862 readonly isDepositReserveAsset: boolean;2863 readonly asDepositReserveAsset: {2864 readonly assets: Vec<XcmV0MultiAsset>;2865 readonly dest: XcmV0MultiLocation;2866 readonly effects: Vec<XcmV0Order>;2867 } & Struct;2868 readonly isExchangeAsset: boolean;2869 readonly asExchangeAsset: {2870 readonly give: Vec<XcmV0MultiAsset>;2871 readonly receive: Vec<XcmV0MultiAsset>;2872 } & Struct;2873 readonly isInitiateReserveWithdraw: boolean;2874 readonly asInitiateReserveWithdraw: {2875 readonly assets: Vec<XcmV0MultiAsset>;2876 readonly reserve: XcmV0MultiLocation;2877 readonly effects: Vec<XcmV0Order>;2878 } & Struct;2879 readonly isInitiateTeleport: boolean;2880 readonly asInitiateTeleport: {2881 readonly assets: Vec<XcmV0MultiAsset>;2882 readonly dest: XcmV0MultiLocation;2883 readonly effects: Vec<XcmV0Order>;2884 } & Struct;2885 readonly isQueryHolding: boolean;2886 readonly asQueryHolding: {2887 readonly queryId: Compact<u64>;2888 readonly dest: XcmV0MultiLocation;2889 readonly assets: Vec<XcmV0MultiAsset>;2890 } & Struct;2891 readonly isBuyExecution: boolean;2892 readonly asBuyExecution: {2893 readonly fees: XcmV0MultiAsset;2894 readonly weight: u64;2895 readonly debt: u64;2896 readonly haltOnError: bool;2897 readonly xcm: Vec<XcmV0Xcm>;2898 } & Struct;2899 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2900}29012902/** @name XcmV0OriginKind */2903export interface XcmV0OriginKind extends Enum {2904 readonly isNative: boolean;2905 readonly isSovereignAccount: boolean;2906 readonly isSuperuser: boolean;2907 readonly isXcm: boolean;2908 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2909}29102911/** @name XcmV0Response */2912export interface XcmV0Response extends Enum {2913 readonly isAssets: boolean;2914 readonly asAssets: Vec<XcmV0MultiAsset>;2915 readonly type: 'Assets';2916}29172918/** @name XcmV0Xcm */2919export interface XcmV0Xcm extends Enum {2920 readonly isWithdrawAsset: boolean;2921 readonly asWithdrawAsset: {2922 readonly assets: Vec<XcmV0MultiAsset>;2923 readonly effects: Vec<XcmV0Order>;2924 } & Struct;2925 readonly isReserveAssetDeposit: boolean;2926 readonly asReserveAssetDeposit: {2927 readonly assets: Vec<XcmV0MultiAsset>;2928 readonly effects: Vec<XcmV0Order>;2929 } & Struct;2930 readonly isTeleportAsset: boolean;2931 readonly asTeleportAsset: {2932 readonly assets: Vec<XcmV0MultiAsset>;2933 readonly effects: Vec<XcmV0Order>;2934 } & Struct;2935 readonly isQueryResponse: boolean;2936 readonly asQueryResponse: {2937 readonly queryId: Compact<u64>;2938 readonly response: XcmV0Response;2939 } & Struct;2940 readonly isTransferAsset: boolean;2941 readonly asTransferAsset: {2942 readonly assets: Vec<XcmV0MultiAsset>;2943 readonly dest: XcmV0MultiLocation;2944 } & Struct;2945 readonly isTransferReserveAsset: boolean;2946 readonly asTransferReserveAsset: {2947 readonly assets: Vec<XcmV0MultiAsset>;2948 readonly dest: XcmV0MultiLocation;2949 readonly effects: Vec<XcmV0Order>;2950 } & Struct;2951 readonly isTransact: boolean;2952 readonly asTransact: {2953 readonly originType: XcmV0OriginKind;2954 readonly requireWeightAtMost: u64;2955 readonly call: XcmDoubleEncoded;2956 } & Struct;2957 readonly isHrmpNewChannelOpenRequest: boolean;2958 readonly asHrmpNewChannelOpenRequest: {2959 readonly sender: Compact<u32>;2960 readonly maxMessageSize: Compact<u32>;2961 readonly maxCapacity: Compact<u32>;2962 } & Struct;2963 readonly isHrmpChannelAccepted: boolean;2964 readonly asHrmpChannelAccepted: {2965 readonly recipient: Compact<u32>;2966 } & Struct;2967 readonly isHrmpChannelClosing: boolean;2968 readonly asHrmpChannelClosing: {2969 readonly initiator: Compact<u32>;2970 readonly sender: Compact<u32>;2971 readonly recipient: Compact<u32>;2972 } & Struct;2973 readonly isRelayedFrom: boolean;2974 readonly asRelayedFrom: {2975 readonly who: XcmV0MultiLocation;2976 readonly message: XcmV0Xcm;2977 } & Struct;2978 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2979}29802981/** @name XcmV1Junction */2982export interface XcmV1Junction extends Enum {2983 readonly isParachain: boolean;2984 readonly asParachain: Compact<u32>;2985 readonly isAccountId32: boolean;2986 readonly asAccountId32: {2987 readonly network: XcmV0JunctionNetworkId;2988 readonly id: U8aFixed;2989 } & Struct;2990 readonly isAccountIndex64: boolean;2991 readonly asAccountIndex64: {2992 readonly network: XcmV0JunctionNetworkId;2993 readonly index: Compact<u64>;2994 } & Struct;2995 readonly isAccountKey20: boolean;2996 readonly asAccountKey20: {2997 readonly network: XcmV0JunctionNetworkId;2998 readonly key: U8aFixed;2999 } & Struct;3000 readonly isPalletInstance: boolean;3001 readonly asPalletInstance: u8;3002 readonly isGeneralIndex: boolean;3003 readonly asGeneralIndex: Compact<u128>;3004 readonly isGeneralKey: boolean;3005 readonly asGeneralKey: Bytes;3006 readonly isOnlyChild: boolean;3007 readonly isPlurality: boolean;3008 readonly asPlurality: {3009 readonly id: XcmV0JunctionBodyId;3010 readonly part: XcmV0JunctionBodyPart;3011 } & Struct;3012 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3013}30143015/** @name XcmV1MultiAsset */3016export interface XcmV1MultiAsset extends Struct {3017 readonly id: XcmV1MultiassetAssetId;3018 readonly fun: XcmV1MultiassetFungibility;3019}30203021/** @name XcmV1MultiassetAssetId */3022export interface XcmV1MultiassetAssetId extends Enum {3023 readonly isConcrete: boolean;3024 readonly asConcrete: XcmV1MultiLocation;3025 readonly isAbstract: boolean;3026 readonly asAbstract: Bytes;3027 readonly type: 'Concrete' | 'Abstract';3028}30293030/** @name XcmV1MultiassetAssetInstance */3031export interface XcmV1MultiassetAssetInstance extends Enum {3032 readonly isUndefined: boolean;3033 readonly isIndex: boolean;3034 readonly asIndex: Compact<u128>;3035 readonly isArray4: boolean;3036 readonly asArray4: U8aFixed;3037 readonly isArray8: boolean;3038 readonly asArray8: U8aFixed;3039 readonly isArray16: boolean;3040 readonly asArray16: U8aFixed;3041 readonly isArray32: boolean;3042 readonly asArray32: U8aFixed;3043 readonly isBlob: boolean;3044 readonly asBlob: Bytes;3045 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3046}30473048/** @name XcmV1MultiassetFungibility */3049export interface XcmV1MultiassetFungibility extends Enum {3050 readonly isFungible: boolean;3051 readonly asFungible: Compact<u128>;3052 readonly isNonFungible: boolean;3053 readonly asNonFungible: XcmV1MultiassetAssetInstance;3054 readonly type: 'Fungible' | 'NonFungible';3055}30563057/** @name XcmV1MultiassetMultiAssetFilter */3058export interface XcmV1MultiassetMultiAssetFilter extends Enum {3059 readonly isDefinite: boolean;3060 readonly asDefinite: XcmV1MultiassetMultiAssets;3061 readonly isWild: boolean;3062 readonly asWild: XcmV1MultiassetWildMultiAsset;3063 readonly type: 'Definite' | 'Wild';3064}30653066/** @name XcmV1MultiassetMultiAssets */3067export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30683069/** @name XcmV1MultiassetWildFungibility */3070export interface XcmV1MultiassetWildFungibility extends Enum {3071 readonly isFungible: boolean;3072 readonly isNonFungible: boolean;3073 readonly type: 'Fungible' | 'NonFungible';3074}30753076/** @name XcmV1MultiassetWildMultiAsset */3077export interface XcmV1MultiassetWildMultiAsset extends Enum {3078 readonly isAll: boolean;3079 readonly isAllOf: boolean;3080 readonly asAllOf: {3081 readonly id: XcmV1MultiassetAssetId;3082 readonly fun: XcmV1MultiassetWildFungibility;3083 } & Struct;3084 readonly type: 'All' | 'AllOf';3085}30863087/** @name XcmV1MultiLocation */3088export interface XcmV1MultiLocation extends Struct {3089 readonly parents: u8;3090 readonly interior: XcmV1MultilocationJunctions;3091}30923093/** @name XcmV1MultilocationJunctions */3094export interface XcmV1MultilocationJunctions extends Enum {3095 readonly isHere: boolean;3096 readonly isX1: boolean;3097 readonly asX1: XcmV1Junction;3098 readonly isX2: boolean;3099 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3100 readonly isX3: boolean;3101 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3102 readonly isX4: boolean;3103 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3104 readonly isX5: boolean;3105 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3106 readonly isX6: boolean;3107 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3108 readonly isX7: boolean;3109 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3110 readonly isX8: boolean;3111 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3112 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3113}31143115/** @name XcmV1Order */3116export interface XcmV1Order extends Enum {3117 readonly isNoop: boolean;3118 readonly isDepositAsset: boolean;3119 readonly asDepositAsset: {3120 readonly assets: XcmV1MultiassetMultiAssetFilter;3121 readonly maxAssets: u32;3122 readonly beneficiary: XcmV1MultiLocation;3123 } & Struct;3124 readonly isDepositReserveAsset: boolean;3125 readonly asDepositReserveAsset: {3126 readonly assets: XcmV1MultiassetMultiAssetFilter;3127 readonly maxAssets: u32;3128 readonly dest: XcmV1MultiLocation;3129 readonly effects: Vec<XcmV1Order>;3130 } & Struct;3131 readonly isExchangeAsset: boolean;3132 readonly asExchangeAsset: {3133 readonly give: XcmV1MultiassetMultiAssetFilter;3134 readonly receive: XcmV1MultiassetMultiAssets;3135 } & Struct;3136 readonly isInitiateReserveWithdraw: boolean;3137 readonly asInitiateReserveWithdraw: {3138 readonly assets: XcmV1MultiassetMultiAssetFilter;3139 readonly reserve: XcmV1MultiLocation;3140 readonly effects: Vec<XcmV1Order>;3141 } & Struct;3142 readonly isInitiateTeleport: boolean;3143 readonly asInitiateTeleport: {3144 readonly assets: XcmV1MultiassetMultiAssetFilter;3145 readonly dest: XcmV1MultiLocation;3146 readonly effects: Vec<XcmV1Order>;3147 } & Struct;3148 readonly isQueryHolding: boolean;3149 readonly asQueryHolding: {3150 readonly queryId: Compact<u64>;3151 readonly dest: XcmV1MultiLocation;3152 readonly assets: XcmV1MultiassetMultiAssetFilter;3153 } & Struct;3154 readonly isBuyExecution: boolean;3155 readonly asBuyExecution: {3156 readonly fees: XcmV1MultiAsset;3157 readonly weight: u64;3158 readonly debt: u64;3159 readonly haltOnError: bool;3160 readonly instructions: Vec<XcmV1Xcm>;3161 } & Struct;3162 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3163}31643165/** @name XcmV1Response */3166export interface XcmV1Response extends Enum {3167 readonly isAssets: boolean;3168 readonly asAssets: XcmV1MultiassetMultiAssets;3169 readonly isVersion: boolean;3170 readonly asVersion: u32;3171 readonly type: 'Assets' | 'Version';3172}31733174/** @name XcmV1Xcm */3175export interface XcmV1Xcm extends Enum {3176 readonly isWithdrawAsset: boolean;3177 readonly asWithdrawAsset: {3178 readonly assets: XcmV1MultiassetMultiAssets;3179 readonly effects: Vec<XcmV1Order>;3180 } & Struct;3181 readonly isReserveAssetDeposited: boolean;3182 readonly asReserveAssetDeposited: {3183 readonly assets: XcmV1MultiassetMultiAssets;3184 readonly effects: Vec<XcmV1Order>;3185 } & Struct;3186 readonly isReceiveTeleportedAsset: boolean;3187 readonly asReceiveTeleportedAsset: {3188 readonly assets: XcmV1MultiassetMultiAssets;3189 readonly effects: Vec<XcmV1Order>;3190 } & Struct;3191 readonly isQueryResponse: boolean;3192 readonly asQueryResponse: {3193 readonly queryId: Compact<u64>;3194 readonly response: XcmV1Response;3195 } & Struct;3196 readonly isTransferAsset: boolean;3197 readonly asTransferAsset: {3198 readonly assets: XcmV1MultiassetMultiAssets;3199 readonly beneficiary: XcmV1MultiLocation;3200 } & Struct;3201 readonly isTransferReserveAsset: boolean;3202 readonly asTransferReserveAsset: {3203 readonly assets: XcmV1MultiassetMultiAssets;3204 readonly dest: XcmV1MultiLocation;3205 readonly effects: Vec<XcmV1Order>;3206 } & Struct;3207 readonly isTransact: boolean;3208 readonly asTransact: {3209 readonly originType: XcmV0OriginKind;3210 readonly requireWeightAtMost: u64;3211 readonly call: XcmDoubleEncoded;3212 } & Struct;3213 readonly isHrmpNewChannelOpenRequest: boolean;3214 readonly asHrmpNewChannelOpenRequest: {3215 readonly sender: Compact<u32>;3216 readonly maxMessageSize: Compact<u32>;3217 readonly maxCapacity: Compact<u32>;3218 } & Struct;3219 readonly isHrmpChannelAccepted: boolean;3220 readonly asHrmpChannelAccepted: {3221 readonly recipient: Compact<u32>;3222 } & Struct;3223 readonly isHrmpChannelClosing: boolean;3224 readonly asHrmpChannelClosing: {3225 readonly initiator: Compact<u32>;3226 readonly sender: Compact<u32>;3227 readonly recipient: Compact<u32>;3228 } & Struct;3229 readonly isRelayedFrom: boolean;3230 readonly asRelayedFrom: {3231 readonly who: XcmV1MultilocationJunctions;3232 readonly message: XcmV1Xcm;3233 } & Struct;3234 readonly isSubscribeVersion: boolean;3235 readonly asSubscribeVersion: {3236 readonly queryId: Compact<u64>;3237 readonly maxResponseWeight: Compact<u64>;3238 } & Struct;3239 readonly isUnsubscribeVersion: boolean;3240 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3241}32423243/** @name XcmV2Instruction */3244export interface XcmV2Instruction extends Enum {3245 readonly isWithdrawAsset: boolean;3246 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3247 readonly isReserveAssetDeposited: boolean;3248 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3249 readonly isReceiveTeleportedAsset: boolean;3250 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3251 readonly isQueryResponse: boolean;3252 readonly asQueryResponse: {3253 readonly queryId: Compact<u64>;3254 readonly response: XcmV2Response;3255 readonly maxWeight: Compact<u64>;3256 } & Struct;3257 readonly isTransferAsset: boolean;3258 readonly asTransferAsset: {3259 readonly assets: XcmV1MultiassetMultiAssets;3260 readonly beneficiary: XcmV1MultiLocation;3261 } & Struct;3262 readonly isTransferReserveAsset: boolean;3263 readonly asTransferReserveAsset: {3264 readonly assets: XcmV1MultiassetMultiAssets;3265 readonly dest: XcmV1MultiLocation;3266 readonly xcm: XcmV2Xcm;3267 } & Struct;3268 readonly isTransact: boolean;3269 readonly asTransact: {3270 readonly originType: XcmV0OriginKind;3271 readonly requireWeightAtMost: Compact<u64>;3272 readonly call: XcmDoubleEncoded;3273 } & Struct;3274 readonly isHrmpNewChannelOpenRequest: boolean;3275 readonly asHrmpNewChannelOpenRequest: {3276 readonly sender: Compact<u32>;3277 readonly maxMessageSize: Compact<u32>;3278 readonly maxCapacity: Compact<u32>;3279 } & Struct;3280 readonly isHrmpChannelAccepted: boolean;3281 readonly asHrmpChannelAccepted: {3282 readonly recipient: Compact<u32>;3283 } & Struct;3284 readonly isHrmpChannelClosing: boolean;3285 readonly asHrmpChannelClosing: {3286 readonly initiator: Compact<u32>;3287 readonly sender: Compact<u32>;3288 readonly recipient: Compact<u32>;3289 } & Struct;3290 readonly isClearOrigin: boolean;3291 readonly isDescendOrigin: boolean;3292 readonly asDescendOrigin: XcmV1MultilocationJunctions;3293 readonly isReportError: boolean;3294 readonly asReportError: {3295 readonly queryId: Compact<u64>;3296 readonly dest: XcmV1MultiLocation;3297 readonly maxResponseWeight: Compact<u64>;3298 } & Struct;3299 readonly isDepositAsset: boolean;3300 readonly asDepositAsset: {3301 readonly assets: XcmV1MultiassetMultiAssetFilter;3302 readonly maxAssets: Compact<u32>;3303 readonly beneficiary: XcmV1MultiLocation;3304 } & Struct;3305 readonly isDepositReserveAsset: boolean;3306 readonly asDepositReserveAsset: {3307 readonly assets: XcmV1MultiassetMultiAssetFilter;3308 readonly maxAssets: Compact<u32>;3309 readonly dest: XcmV1MultiLocation;3310 readonly xcm: XcmV2Xcm;3311 } & Struct;3312 readonly isExchangeAsset: boolean;3313 readonly asExchangeAsset: {3314 readonly give: XcmV1MultiassetMultiAssetFilter;3315 readonly receive: XcmV1MultiassetMultiAssets;3316 } & Struct;3317 readonly isInitiateReserveWithdraw: boolean;3318 readonly asInitiateReserveWithdraw: {3319 readonly assets: XcmV1MultiassetMultiAssetFilter;3320 readonly reserve: XcmV1MultiLocation;3321 readonly xcm: XcmV2Xcm;3322 } & Struct;3323 readonly isInitiateTeleport: boolean;3324 readonly asInitiateTeleport: {3325 readonly assets: XcmV1MultiassetMultiAssetFilter;3326 readonly dest: XcmV1MultiLocation;3327 readonly xcm: XcmV2Xcm;3328 } & Struct;3329 readonly isQueryHolding: boolean;3330 readonly asQueryHolding: {3331 readonly queryId: Compact<u64>;3332 readonly dest: XcmV1MultiLocation;3333 readonly assets: XcmV1MultiassetMultiAssetFilter;3334 readonly maxResponseWeight: Compact<u64>;3335 } & Struct;3336 readonly isBuyExecution: boolean;3337 readonly asBuyExecution: {3338 readonly fees: XcmV1MultiAsset;3339 readonly weightLimit: XcmV2WeightLimit;3340 } & Struct;3341 readonly isRefundSurplus: boolean;3342 readonly isSetErrorHandler: boolean;3343 readonly asSetErrorHandler: XcmV2Xcm;3344 readonly isSetAppendix: boolean;3345 readonly asSetAppendix: XcmV2Xcm;3346 readonly isClearError: boolean;3347 readonly isClaimAsset: boolean;3348 readonly asClaimAsset: {3349 readonly assets: XcmV1MultiassetMultiAssets;3350 readonly ticket: XcmV1MultiLocation;3351 } & Struct;3352 readonly isTrap: boolean;3353 readonly asTrap: Compact<u64>;3354 readonly isSubscribeVersion: boolean;3355 readonly asSubscribeVersion: {3356 readonly queryId: Compact<u64>;3357 readonly maxResponseWeight: Compact<u64>;3358 } & Struct;3359 readonly isUnsubscribeVersion: boolean;3360 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';3361}33623363/** @name XcmV2Response */3364export interface XcmV2Response extends Enum {3365 readonly isNull: boolean;3366 readonly isAssets: boolean;3367 readonly asAssets: XcmV1MultiassetMultiAssets;3368 readonly isExecutionResult: boolean;3369 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3370 readonly isVersion: boolean;3371 readonly asVersion: u32;3372 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3373}33743375/** @name XcmV2TraitsError */3376export interface XcmV2TraitsError extends Enum {3377 readonly isOverflow: boolean;3378 readonly isUnimplemented: boolean;3379 readonly isUntrustedReserveLocation: boolean;3380 readonly isUntrustedTeleportLocation: boolean;3381 readonly isMultiLocationFull: boolean;3382 readonly isMultiLocationNotInvertible: boolean;3383 readonly isBadOrigin: boolean;3384 readonly isInvalidLocation: boolean;3385 readonly isAssetNotFound: boolean;3386 readonly isFailedToTransactAsset: boolean;3387 readonly isNotWithdrawable: boolean;3388 readonly isLocationCannotHold: boolean;3389 readonly isExceedsMaxMessageSize: boolean;3390 readonly isDestinationUnsupported: boolean;3391 readonly isTransport: boolean;3392 readonly isUnroutable: boolean;3393 readonly isUnknownClaim: boolean;3394 readonly isFailedToDecode: boolean;3395 readonly isMaxWeightInvalid: boolean;3396 readonly isNotHoldingFees: boolean;3397 readonly isTooExpensive: boolean;3398 readonly isTrap: boolean;3399 readonly asTrap: u64;3400 readonly isUnhandledXcmVersion: boolean;3401 readonly isWeightLimitReached: boolean;3402 readonly asWeightLimitReached: u64;3403 readonly isBarrier: boolean;3404 readonly isWeightNotComputable: boolean;3405 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';3406}34073408/** @name XcmV2TraitsOutcome */3409export interface XcmV2TraitsOutcome extends Enum {3410 readonly isComplete: boolean;3411 readonly asComplete: u64;3412 readonly isIncomplete: boolean;3413 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3414 readonly isError: boolean;3415 readonly asError: XcmV2TraitsError;3416 readonly type: 'Complete' | 'Incomplete' | 'Error';3417}34183419/** @name XcmV2WeightLimit */3420export interface XcmV2WeightLimit extends Enum {3421 readonly isUnlimited: boolean;3422 readonly isLimited: boolean;3423 readonly asLimited: Compact<u64>;3424 readonly type: 'Unlimited' | 'Limited';3425}34263427/** @name XcmV2Xcm */3428export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}34293430/** @name XcmVersionedMultiAssets */3431export interface XcmVersionedMultiAssets extends Enum {3432 readonly isV0: boolean;3433 readonly asV0: Vec<XcmV0MultiAsset>;3434 readonly isV1: boolean;3435 readonly asV1: XcmV1MultiassetMultiAssets;3436 readonly type: 'V0' | 'V1';3437}34383439/** @name XcmVersionedMultiLocation */3440export interface XcmVersionedMultiLocation extends Enum {3441 readonly isV0: boolean;3442 readonly asV0: XcmV0MultiLocation;3443 readonly isV1: boolean;3444 readonly asV1: XcmV1MultiLocation;3445 readonly type: 'V0' | 'V1';3446}34473448/** @name XcmVersionedXcm */3449export interface XcmVersionedXcm extends Enum {3450 readonly isV0: boolean;3451 readonly asV0: XcmV0Xcm;3452 readonly isV1: boolean;3453 readonly asV1: XcmV1Xcm;3454 readonly isV2: boolean;3455 readonly asV2: XcmV2Xcm;3456 readonly type: 'V0' | 'V1' | 'V2';3457}34583459export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: u64;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: u64;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime extends Null {}749750/** @name OrmlVestingModuleCall */751export interface OrmlVestingModuleCall extends Enum {752 readonly isClaim: boolean;753 readonly isVestedTransfer: boolean;754 readonly asVestedTransfer: {755 readonly dest: MultiAddress;756 readonly schedule: OrmlVestingVestingSchedule;757 } & Struct;758 readonly isUpdateVestingSchedules: boolean;759 readonly asUpdateVestingSchedules: {760 readonly who: MultiAddress;761 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;762 } & Struct;763 readonly isClaimFor: boolean;764 readonly asClaimFor: {765 readonly dest: MultiAddress;766 } & Struct;767 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';768}769770/** @name OrmlVestingModuleError */771export interface OrmlVestingModuleError extends Enum {772 readonly isZeroVestingPeriod: boolean;773 readonly isZeroVestingPeriodCount: boolean;774 readonly isInsufficientBalanceToLock: boolean;775 readonly isTooManyVestingSchedules: boolean;776 readonly isAmountLow: boolean;777 readonly isMaxVestingSchedulesExceeded: boolean;778 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';779}780781/** @name OrmlVestingModuleEvent */782export interface OrmlVestingModuleEvent extends Enum {783 readonly isVestingScheduleAdded: boolean;784 readonly asVestingScheduleAdded: {785 readonly from: AccountId32;786 readonly to: AccountId32;787 readonly vestingSchedule: OrmlVestingVestingSchedule;788 } & Struct;789 readonly isClaimed: boolean;790 readonly asClaimed: {791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isVestingSchedulesUpdated: boolean;795 readonly asVestingSchedulesUpdated: {796 readonly who: AccountId32;797 } & Struct;798 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';799}800801/** @name OrmlVestingVestingSchedule */802export interface OrmlVestingVestingSchedule extends Struct {803 readonly start: u32;804 readonly period: u32;805 readonly periodCount: u32;806 readonly perPeriod: Compact<u128>;807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;814 } & Struct;815 readonly isStartAppPromotion: boolean;816 readonly asStartAppPromotion: {817 readonly promotionStartRelayBlock: Option<u32>;818 } & Struct;819 readonly isStopAppPromotion: boolean;820 readonly isStake: boolean;821 readonly asStake: {822 readonly amount: u128;823 } & Struct;824 readonly isUnstake: boolean;825 readonly asUnstake: {826 readonly amount: u128;827 } & Struct;828 readonly isSponsorCollection: boolean;829 readonly asSponsorCollection: {830 readonly collectionId: u32;831 } & Struct;832 readonly isStopSponsoringCollection: boolean;833 readonly asStopSponsoringCollection: {834 readonly collectionId: u32;835 } & Struct;836 readonly isSponsorConract: boolean;837 readonly asSponsorConract: {838 readonly contractId: H160;839 } & Struct;840 readonly isStopSponsoringContract: boolean;841 readonly asStopSponsoringContract: {842 readonly contractId: H160;843 } & Struct;844 readonly isPayoutStakers: boolean;845 readonly asPayoutStakers: {846 readonly stakersNumber: Option<u8>;847 } & Struct;848 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorConract' | 'StopSponsoringContract' | 'PayoutStakers';849}850851/** @name PalletAppPromotionError */852export interface PalletAppPromotionError extends Enum {853 readonly isAdminNotSet: boolean;854 readonly isNoPermission: boolean;855 readonly isNotSufficientFounds: boolean;856 readonly isInvalidArgument: boolean;857 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument';858}859860/** @name PalletAppPromotionEvent */861export interface PalletAppPromotionEvent extends Enum {862 readonly isStakingRecalculation: boolean;863 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;864 readonly type: 'StakingRecalculation';865}866867/** @name PalletBalancesAccountData */868export interface PalletBalancesAccountData extends Struct {869 readonly free: u128;870 readonly reserved: u128;871 readonly miscFrozen: u128;872 readonly feeFrozen: u128;873}874875/** @name PalletBalancesBalanceLock */876export interface PalletBalancesBalanceLock extends Struct {877 readonly id: U8aFixed;878 readonly amount: u128;879 readonly reasons: PalletBalancesReasons;880}881882/** @name PalletBalancesCall */883export interface PalletBalancesCall extends Enum {884 readonly isTransfer: boolean;885 readonly asTransfer: {886 readonly dest: MultiAddress;887 readonly value: Compact<u128>;888 } & Struct;889 readonly isSetBalance: boolean;890 readonly asSetBalance: {891 readonly who: MultiAddress;892 readonly newFree: Compact<u128>;893 readonly newReserved: Compact<u128>;894 } & Struct;895 readonly isForceTransfer: boolean;896 readonly asForceTransfer: {897 readonly source: MultiAddress;898 readonly dest: MultiAddress;899 readonly value: Compact<u128>;900 } & Struct;901 readonly isTransferKeepAlive: boolean;902 readonly asTransferKeepAlive: {903 readonly dest: MultiAddress;904 readonly value: Compact<u128>;905 } & Struct;906 readonly isTransferAll: boolean;907 readonly asTransferAll: {908 readonly dest: MultiAddress;909 readonly keepAlive: bool;910 } & Struct;911 readonly isForceUnreserve: boolean;912 readonly asForceUnreserve: {913 readonly who: MultiAddress;914 readonly amount: u128;915 } & Struct;916 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';917}918919/** @name PalletBalancesError */920export interface PalletBalancesError extends Enum {921 readonly isVestingBalance: boolean;922 readonly isLiquidityRestrictions: boolean;923 readonly isInsufficientBalance: boolean;924 readonly isExistentialDeposit: boolean;925 readonly isKeepAlive: boolean;926 readonly isExistingVestingSchedule: boolean;927 readonly isDeadAccount: boolean;928 readonly isTooManyReserves: boolean;929 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';930}931932/** @name PalletBalancesEvent */933export interface PalletBalancesEvent extends Enum {934 readonly isEndowed: boolean;935 readonly asEndowed: {936 readonly account: AccountId32;937 readonly freeBalance: u128;938 } & Struct;939 readonly isDustLost: boolean;940 readonly asDustLost: {941 readonly account: AccountId32;942 readonly amount: u128;943 } & Struct;944 readonly isTransfer: boolean;945 readonly asTransfer: {946 readonly from: AccountId32;947 readonly to: AccountId32;948 readonly amount: u128;949 } & Struct;950 readonly isBalanceSet: boolean;951 readonly asBalanceSet: {952 readonly who: AccountId32;953 readonly free: u128;954 readonly reserved: u128;955 } & Struct;956 readonly isReserved: boolean;957 readonly asReserved: {958 readonly who: AccountId32;959 readonly amount: u128;960 } & Struct;961 readonly isUnreserved: boolean;962 readonly asUnreserved: {963 readonly who: AccountId32;964 readonly amount: u128;965 } & Struct;966 readonly isReserveRepatriated: boolean;967 readonly asReserveRepatriated: {968 readonly from: AccountId32;969 readonly to: AccountId32;970 readonly amount: u128;971 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;972 } & Struct;973 readonly isDeposit: boolean;974 readonly asDeposit: {975 readonly who: AccountId32;976 readonly amount: u128;977 } & Struct;978 readonly isWithdraw: boolean;979 readonly asWithdraw: {980 readonly who: AccountId32;981 readonly amount: u128;982 } & Struct;983 readonly isSlashed: boolean;984 readonly asSlashed: {985 readonly who: AccountId32;986 readonly amount: u128;987 } & Struct;988 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';989}990991/** @name PalletBalancesReasons */992export interface PalletBalancesReasons extends Enum {993 readonly isFee: boolean;994 readonly isMisc: boolean;995 readonly isAll: boolean;996 readonly type: 'Fee' | 'Misc' | 'All';997}998999/** @name PalletBalancesReleases */1000export interface PalletBalancesReleases extends Enum {1001 readonly isV100: boolean;1002 readonly isV200: boolean;1003 readonly type: 'V100' | 'V200';1004}10051006/** @name PalletBalancesReserveData */1007export interface PalletBalancesReserveData extends Struct {1008 readonly id: U8aFixed;1009 readonly amount: u128;1010}10111012/** @name PalletCommonError */1013export interface PalletCommonError extends Enum {1014 readonly isCollectionNotFound: boolean;1015 readonly isMustBeTokenOwner: boolean;1016 readonly isNoPermission: boolean;1017 readonly isCantDestroyNotEmptyCollection: boolean;1018 readonly isPublicMintingNotAllowed: boolean;1019 readonly isAddressNotInAllowlist: boolean;1020 readonly isCollectionNameLimitExceeded: boolean;1021 readonly isCollectionDescriptionLimitExceeded: boolean;1022 readonly isCollectionTokenPrefixLimitExceeded: boolean;1023 readonly isTotalCollectionsLimitExceeded: boolean;1024 readonly isCollectionAdminCountExceeded: boolean;1025 readonly isCollectionLimitBoundsExceeded: boolean;1026 readonly isOwnerPermissionsCantBeReverted: boolean;1027 readonly isTransferNotAllowed: boolean;1028 readonly isAccountTokenLimitExceeded: boolean;1029 readonly isCollectionTokenLimitExceeded: boolean;1030 readonly isMetadataFlagFrozen: boolean;1031 readonly isTokenNotFound: boolean;1032 readonly isTokenValueTooLow: boolean;1033 readonly isApprovedValueTooLow: boolean;1034 readonly isCantApproveMoreThanOwned: boolean;1035 readonly isAddressIsZero: boolean;1036 readonly isUnsupportedOperation: boolean;1037 readonly isNotSufficientFounds: boolean;1038 readonly isUserIsNotAllowedToNest: boolean;1039 readonly isSourceCollectionIsNotAllowedToNest: boolean;1040 readonly isCollectionFieldSizeExceeded: boolean;1041 readonly isNoSpaceForProperty: boolean;1042 readonly isPropertyLimitReached: boolean;1043 readonly isPropertyKeyIsTooLong: boolean;1044 readonly isInvalidCharacterInPropertyKey: boolean;1045 readonly isEmptyPropertyKey: boolean;1046 readonly isCollectionIsExternal: boolean;1047 readonly isCollectionIsInternal: boolean;1048 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';1049}10501051/** @name PalletCommonEvent */1052export interface PalletCommonEvent extends Enum {1053 readonly isCollectionCreated: boolean;1054 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1055 readonly isCollectionDestroyed: boolean;1056 readonly asCollectionDestroyed: u32;1057 readonly isItemCreated: boolean;1058 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1059 readonly isItemDestroyed: boolean;1060 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1061 readonly isTransfer: boolean;1062 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1063 readonly isApproved: boolean;1064 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1065 readonly isCollectionPropertySet: boolean;1066 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1067 readonly isCollectionPropertyDeleted: boolean;1068 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1069 readonly isTokenPropertySet: boolean;1070 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1071 readonly isTokenPropertyDeleted: boolean;1072 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1073 readonly isPropertyPermissionSet: boolean;1074 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1075 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1076}10771078/** @name PalletConfigurationCall */1079export interface PalletConfigurationCall extends Enum {1080 readonly isSetWeightToFeeCoefficientOverride: boolean;1081 readonly asSetWeightToFeeCoefficientOverride: {1082 readonly coeff: Option<u32>;1083 } & Struct;1084 readonly isSetMinGasPriceOverride: boolean;1085 readonly asSetMinGasPriceOverride: {1086 readonly coeff: Option<u64>;1087 } & Struct;1088 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1089}10901091/** @name PalletEthereumCall */1092export interface PalletEthereumCall extends Enum {1093 readonly isTransact: boolean;1094 readonly asTransact: {1095 readonly transaction: EthereumTransactionTransactionV2;1096 } & Struct;1097 readonly type: 'Transact';1098}10991100/** @name PalletEthereumError */1101export interface PalletEthereumError extends Enum {1102 readonly isInvalidSignature: boolean;1103 readonly isPreLogExists: boolean;1104 readonly type: 'InvalidSignature' | 'PreLogExists';1105}11061107/** @name PalletEthereumEvent */1108export interface PalletEthereumEvent extends Enum {1109 readonly isExecuted: boolean;1110 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1111 readonly type: 'Executed';1112}11131114/** @name PalletEthereumFakeTransactionFinalizer */1115export interface PalletEthereumFakeTransactionFinalizer extends Null {}11161117/** @name PalletEthereumRawOrigin */1118export interface PalletEthereumRawOrigin extends Enum {1119 readonly isEthereumTransaction: boolean;1120 readonly asEthereumTransaction: H160;1121 readonly type: 'EthereumTransaction';1122}11231124/** @name PalletEvmAccountBasicCrossAccountIdRepr */1125export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1126 readonly isSubstrate: boolean;1127 readonly asSubstrate: AccountId32;1128 readonly isEthereum: boolean;1129 readonly asEthereum: H160;1130 readonly type: 'Substrate' | 'Ethereum';1131}11321133/** @name PalletEvmCall */1134export interface PalletEvmCall extends Enum {1135 readonly isWithdraw: boolean;1136 readonly asWithdraw: {1137 readonly address: H160;1138 readonly value: u128;1139 } & Struct;1140 readonly isCall: boolean;1141 readonly asCall: {1142 readonly source: H160;1143 readonly target: H160;1144 readonly input: Bytes;1145 readonly value: U256;1146 readonly gasLimit: u64;1147 readonly maxFeePerGas: U256;1148 readonly maxPriorityFeePerGas: Option<U256>;1149 readonly nonce: Option<U256>;1150 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1151 } & Struct;1152 readonly isCreate: boolean;1153 readonly asCreate: {1154 readonly source: H160;1155 readonly init: Bytes;1156 readonly value: U256;1157 readonly gasLimit: u64;1158 readonly maxFeePerGas: U256;1159 readonly maxPriorityFeePerGas: Option<U256>;1160 readonly nonce: Option<U256>;1161 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1162 } & Struct;1163 readonly isCreate2: boolean;1164 readonly asCreate2: {1165 readonly source: H160;1166 readonly init: Bytes;1167 readonly salt: H256;1168 readonly value: U256;1169 readonly gasLimit: u64;1170 readonly maxFeePerGas: U256;1171 readonly maxPriorityFeePerGas: Option<U256>;1172 readonly nonce: Option<U256>;1173 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1174 } & Struct;1175 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1176}11771178/** @name PalletEvmCoderSubstrateError */1179export interface PalletEvmCoderSubstrateError extends Enum {1180 readonly isOutOfGas: boolean;1181 readonly isOutOfFund: boolean;1182 readonly type: 'OutOfGas' | 'OutOfFund';1183}11841185/** @name PalletEvmContractHelpersError */1186export interface PalletEvmContractHelpersError extends Enum {1187 readonly isNoPermission: boolean;1188 readonly isNoPendingSponsor: boolean;1189 readonly type: 'NoPermission' | 'NoPendingSponsor';1190}11911192/** @name PalletEvmContractHelpersSponsoringModeT */1193export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1194 readonly isDisabled: boolean;1195 readonly isAllowlisted: boolean;1196 readonly isGenerous: boolean;1197 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1198}11991200/** @name PalletEvmError */1201export interface PalletEvmError extends Enum {1202 readonly isBalanceLow: boolean;1203 readonly isFeeOverflow: boolean;1204 readonly isPaymentOverflow: boolean;1205 readonly isWithdrawFailed: boolean;1206 readonly isGasPriceTooLow: boolean;1207 readonly isInvalidNonce: boolean;1208 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1209}12101211/** @name PalletEvmEvent */1212export interface PalletEvmEvent extends Enum {1213 readonly isLog: boolean;1214 readonly asLog: EthereumLog;1215 readonly isCreated: boolean;1216 readonly asCreated: H160;1217 readonly isCreatedFailed: boolean;1218 readonly asCreatedFailed: H160;1219 readonly isExecuted: boolean;1220 readonly asExecuted: H160;1221 readonly isExecutedFailed: boolean;1222 readonly asExecutedFailed: H160;1223 readonly isBalanceDeposit: boolean;1224 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1225 readonly isBalanceWithdraw: boolean;1226 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1227 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1228}12291230/** @name PalletEvmMigrationCall */1231export interface PalletEvmMigrationCall extends Enum {1232 readonly isBegin: boolean;1233 readonly asBegin: {1234 readonly address: H160;1235 } & Struct;1236 readonly isSetData: boolean;1237 readonly asSetData: {1238 readonly address: H160;1239 readonly data: Vec<ITuple<[H256, H256]>>;1240 } & Struct;1241 readonly isFinish: boolean;1242 readonly asFinish: {1243 readonly address: H160;1244 readonly code: Bytes;1245 } & Struct;1246 readonly type: 'Begin' | 'SetData' | 'Finish';1247}12481249/** @name PalletEvmMigrationError */1250export interface PalletEvmMigrationError extends Enum {1251 readonly isAccountNotEmpty: boolean;1252 readonly isAccountIsNotMigrating: boolean;1253 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1254}12551256/** @name PalletFungibleError */1257export interface PalletFungibleError extends Enum {1258 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1259 readonly isFungibleItemsHaveNoId: boolean;1260 readonly isFungibleItemsDontHaveData: boolean;1261 readonly isFungibleDisallowsNesting: boolean;1262 readonly isSettingPropertiesNotAllowed: boolean;1263 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1264}12651266/** @name PalletInflationCall */1267export interface PalletInflationCall extends Enum {1268 readonly isStartInflation: boolean;1269 readonly asStartInflation: {1270 readonly inflationStartRelayBlock: u32;1271 } & Struct;1272 readonly type: 'StartInflation';1273}12741275/** @name PalletNonfungibleError */1276export interface PalletNonfungibleError extends Enum {1277 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1278 readonly isNonfungibleItemsHaveNoAmount: boolean;1279 readonly isCantBurnNftWithChildren: boolean;1280 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1281}12821283/** @name PalletNonfungibleItemData */1284export interface PalletNonfungibleItemData extends Struct {1285 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1286}12871288/** @name PalletRefungibleError */1289export interface PalletRefungibleError extends Enum {1290 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1291 readonly isWrongRefungiblePieces: boolean;1292 readonly isRepartitionWhileNotOwningAllPieces: boolean;1293 readonly isRefungibleDisallowsNesting: boolean;1294 readonly isSettingPropertiesNotAllowed: boolean;1295 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1296}12971298/** @name PalletRefungibleItemData */1299export interface PalletRefungibleItemData extends Struct {1300 readonly constData: Bytes;1301}13021303/** @name PalletRmrkCoreCall */1304export interface PalletRmrkCoreCall extends Enum {1305 readonly isCreateCollection: boolean;1306 readonly asCreateCollection: {1307 readonly metadata: Bytes;1308 readonly max: Option<u32>;1309 readonly symbol: Bytes;1310 } & Struct;1311 readonly isDestroyCollection: boolean;1312 readonly asDestroyCollection: {1313 readonly collectionId: u32;1314 } & Struct;1315 readonly isChangeCollectionIssuer: boolean;1316 readonly asChangeCollectionIssuer: {1317 readonly collectionId: u32;1318 readonly newIssuer: MultiAddress;1319 } & Struct;1320 readonly isLockCollection: boolean;1321 readonly asLockCollection: {1322 readonly collectionId: u32;1323 } & Struct;1324 readonly isMintNft: boolean;1325 readonly asMintNft: {1326 readonly owner: Option<AccountId32>;1327 readonly collectionId: u32;1328 readonly recipient: Option<AccountId32>;1329 readonly royaltyAmount: Option<Permill>;1330 readonly metadata: Bytes;1331 readonly transferable: bool;1332 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1333 } & Struct;1334 readonly isBurnNft: boolean;1335 readonly asBurnNft: {1336 readonly collectionId: u32;1337 readonly nftId: u32;1338 readonly maxBurns: u32;1339 } & Struct;1340 readonly isSend: boolean;1341 readonly asSend: {1342 readonly rmrkCollectionId: u32;1343 readonly rmrkNftId: u32;1344 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1345 } & Struct;1346 readonly isAcceptNft: boolean;1347 readonly asAcceptNft: {1348 readonly rmrkCollectionId: u32;1349 readonly rmrkNftId: u32;1350 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1351 } & Struct;1352 readonly isRejectNft: boolean;1353 readonly asRejectNft: {1354 readonly rmrkCollectionId: u32;1355 readonly rmrkNftId: u32;1356 } & Struct;1357 readonly isAcceptResource: boolean;1358 readonly asAcceptResource: {1359 readonly rmrkCollectionId: u32;1360 readonly rmrkNftId: u32;1361 readonly resourceId: u32;1362 } & Struct;1363 readonly isAcceptResourceRemoval: boolean;1364 readonly asAcceptResourceRemoval: {1365 readonly rmrkCollectionId: u32;1366 readonly rmrkNftId: u32;1367 readonly resourceId: u32;1368 } & Struct;1369 readonly isSetProperty: boolean;1370 readonly asSetProperty: {1371 readonly rmrkCollectionId: Compact<u32>;1372 readonly maybeNftId: Option<u32>;1373 readonly key: Bytes;1374 readonly value: Bytes;1375 } & Struct;1376 readonly isSetPriority: boolean;1377 readonly asSetPriority: {1378 readonly rmrkCollectionId: u32;1379 readonly rmrkNftId: u32;1380 readonly priorities: Vec<u32>;1381 } & Struct;1382 readonly isAddBasicResource: boolean;1383 readonly asAddBasicResource: {1384 readonly rmrkCollectionId: u32;1385 readonly nftId: u32;1386 readonly resource: RmrkTraitsResourceBasicResource;1387 } & Struct;1388 readonly isAddComposableResource: boolean;1389 readonly asAddComposableResource: {1390 readonly rmrkCollectionId: u32;1391 readonly nftId: u32;1392 readonly resource: RmrkTraitsResourceComposableResource;1393 } & Struct;1394 readonly isAddSlotResource: boolean;1395 readonly asAddSlotResource: {1396 readonly rmrkCollectionId: u32;1397 readonly nftId: u32;1398 readonly resource: RmrkTraitsResourceSlotResource;1399 } & Struct;1400 readonly isRemoveResource: boolean;1401 readonly asRemoveResource: {1402 readonly rmrkCollectionId: u32;1403 readonly nftId: u32;1404 readonly resourceId: u32;1405 } & Struct;1406 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1407}14081409/** @name PalletRmrkCoreError */1410export interface PalletRmrkCoreError extends Enum {1411 readonly isCorruptedCollectionType: boolean;1412 readonly isRmrkPropertyKeyIsTooLong: boolean;1413 readonly isRmrkPropertyValueIsTooLong: boolean;1414 readonly isRmrkPropertyIsNotFound: boolean;1415 readonly isUnableToDecodeRmrkData: boolean;1416 readonly isCollectionNotEmpty: boolean;1417 readonly isNoAvailableCollectionId: boolean;1418 readonly isNoAvailableNftId: boolean;1419 readonly isCollectionUnknown: boolean;1420 readonly isNoPermission: boolean;1421 readonly isNonTransferable: boolean;1422 readonly isCollectionFullOrLocked: boolean;1423 readonly isResourceDoesntExist: boolean;1424 readonly isCannotSendToDescendentOrSelf: boolean;1425 readonly isCannotAcceptNonOwnedNft: boolean;1426 readonly isCannotRejectNonOwnedNft: boolean;1427 readonly isCannotRejectNonPendingNft: boolean;1428 readonly isResourceNotPending: boolean;1429 readonly isNoAvailableResourceId: boolean;1430 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1431}14321433/** @name PalletRmrkCoreEvent */1434export interface PalletRmrkCoreEvent extends Enum {1435 readonly isCollectionCreated: boolean;1436 readonly asCollectionCreated: {1437 readonly issuer: AccountId32;1438 readonly collectionId: u32;1439 } & Struct;1440 readonly isCollectionDestroyed: boolean;1441 readonly asCollectionDestroyed: {1442 readonly issuer: AccountId32;1443 readonly collectionId: u32;1444 } & Struct;1445 readonly isIssuerChanged: boolean;1446 readonly asIssuerChanged: {1447 readonly oldIssuer: AccountId32;1448 readonly newIssuer: AccountId32;1449 readonly collectionId: u32;1450 } & Struct;1451 readonly isCollectionLocked: boolean;1452 readonly asCollectionLocked: {1453 readonly issuer: AccountId32;1454 readonly collectionId: u32;1455 } & Struct;1456 readonly isNftMinted: boolean;1457 readonly asNftMinted: {1458 readonly owner: AccountId32;1459 readonly collectionId: u32;1460 readonly nftId: u32;1461 } & Struct;1462 readonly isNftBurned: boolean;1463 readonly asNftBurned: {1464 readonly owner: AccountId32;1465 readonly nftId: u32;1466 } & Struct;1467 readonly isNftSent: boolean;1468 readonly asNftSent: {1469 readonly sender: AccountId32;1470 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1471 readonly collectionId: u32;1472 readonly nftId: u32;1473 readonly approvalRequired: bool;1474 } & Struct;1475 readonly isNftAccepted: boolean;1476 readonly asNftAccepted: {1477 readonly sender: AccountId32;1478 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1479 readonly collectionId: u32;1480 readonly nftId: u32;1481 } & Struct;1482 readonly isNftRejected: boolean;1483 readonly asNftRejected: {1484 readonly sender: AccountId32;1485 readonly collectionId: u32;1486 readonly nftId: u32;1487 } & Struct;1488 readonly isPropertySet: boolean;1489 readonly asPropertySet: {1490 readonly collectionId: u32;1491 readonly maybeNftId: Option<u32>;1492 readonly key: Bytes;1493 readonly value: Bytes;1494 } & Struct;1495 readonly isResourceAdded: boolean;1496 readonly asResourceAdded: {1497 readonly nftId: u32;1498 readonly resourceId: u32;1499 } & Struct;1500 readonly isResourceRemoval: boolean;1501 readonly asResourceRemoval: {1502 readonly nftId: u32;1503 readonly resourceId: u32;1504 } & Struct;1505 readonly isResourceAccepted: boolean;1506 readonly asResourceAccepted: {1507 readonly nftId: u32;1508 readonly resourceId: u32;1509 } & Struct;1510 readonly isResourceRemovalAccepted: boolean;1511 readonly asResourceRemovalAccepted: {1512 readonly nftId: u32;1513 readonly resourceId: u32;1514 } & Struct;1515 readonly isPrioritySet: boolean;1516 readonly asPrioritySet: {1517 readonly collectionId: u32;1518 readonly nftId: u32;1519 } & Struct;1520 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1521}15221523/** @name PalletRmrkEquipCall */1524export interface PalletRmrkEquipCall extends Enum {1525 readonly isCreateBase: boolean;1526 readonly asCreateBase: {1527 readonly baseType: Bytes;1528 readonly symbol: Bytes;1529 readonly parts: Vec<RmrkTraitsPartPartType>;1530 } & Struct;1531 readonly isThemeAdd: boolean;1532 readonly asThemeAdd: {1533 readonly baseId: u32;1534 readonly theme: RmrkTraitsTheme;1535 } & Struct;1536 readonly isEquippable: boolean;1537 readonly asEquippable: {1538 readonly baseId: u32;1539 readonly slotId: u32;1540 readonly equippables: RmrkTraitsPartEquippableList;1541 } & Struct;1542 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1543}15441545/** @name PalletRmrkEquipError */1546export interface PalletRmrkEquipError extends Enum {1547 readonly isPermissionError: boolean;1548 readonly isNoAvailableBaseId: boolean;1549 readonly isNoAvailablePartId: boolean;1550 readonly isBaseDoesntExist: boolean;1551 readonly isNeedsDefaultThemeFirst: boolean;1552 readonly isPartDoesntExist: boolean;1553 readonly isNoEquippableOnFixedPart: boolean;1554 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1555}15561557/** @name PalletRmrkEquipEvent */1558export interface PalletRmrkEquipEvent extends Enum {1559 readonly isBaseCreated: boolean;1560 readonly asBaseCreated: {1561 readonly issuer: AccountId32;1562 readonly baseId: u32;1563 } & Struct;1564 readonly isEquippablesUpdated: boolean;1565 readonly asEquippablesUpdated: {1566 readonly baseId: u32;1567 readonly slotId: u32;1568 } & Struct;1569 readonly type: 'BaseCreated' | 'EquippablesUpdated';1570}15711572/** @name PalletStructureCall */1573export interface PalletStructureCall extends Null {}15741575/** @name PalletStructureError */1576export interface PalletStructureError extends Enum {1577 readonly isOuroborosDetected: boolean;1578 readonly isDepthLimit: boolean;1579 readonly isBreadthLimit: boolean;1580 readonly isTokenNotFound: boolean;1581 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1582}15831584/** @name PalletStructureEvent */1585export interface PalletStructureEvent extends Enum {1586 readonly isExecuted: boolean;1587 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1588 readonly type: 'Executed';1589}15901591/** @name PalletSudoCall */1592export interface PalletSudoCall extends Enum {1593 readonly isSudo: boolean;1594 readonly asSudo: {1595 readonly call: Call;1596 } & Struct;1597 readonly isSudoUncheckedWeight: boolean;1598 readonly asSudoUncheckedWeight: {1599 readonly call: Call;1600 readonly weight: u64;1601 } & Struct;1602 readonly isSetKey: boolean;1603 readonly asSetKey: {1604 readonly new_: MultiAddress;1605 } & Struct;1606 readonly isSudoAs: boolean;1607 readonly asSudoAs: {1608 readonly who: MultiAddress;1609 readonly call: Call;1610 } & Struct;1611 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1612}16131614/** @name PalletSudoError */1615export interface PalletSudoError extends Enum {1616 readonly isRequireSudo: boolean;1617 readonly type: 'RequireSudo';1618}16191620/** @name PalletSudoEvent */1621export interface PalletSudoEvent extends Enum {1622 readonly isSudid: boolean;1623 readonly asSudid: {1624 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1625 } & Struct;1626 readonly isKeyChanged: boolean;1627 readonly asKeyChanged: {1628 readonly oldSudoer: Option<AccountId32>;1629 } & Struct;1630 readonly isSudoAsDone: boolean;1631 readonly asSudoAsDone: {1632 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1633 } & Struct;1634 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1635}16361637/** @name PalletTemplateTransactionPaymentCall */1638export interface PalletTemplateTransactionPaymentCall extends Null {}16391640/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1641export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16421643/** @name PalletTimestampCall */1644export interface PalletTimestampCall extends Enum {1645 readonly isSet: boolean;1646 readonly asSet: {1647 readonly now: Compact<u64>;1648 } & Struct;1649 readonly type: 'Set';1650}16511652/** @name PalletTransactionPaymentEvent */1653export interface PalletTransactionPaymentEvent extends Enum {1654 readonly isTransactionFeePaid: boolean;1655 readonly asTransactionFeePaid: {1656 readonly who: AccountId32;1657 readonly actualFee: u128;1658 readonly tip: u128;1659 } & Struct;1660 readonly type: 'TransactionFeePaid';1661}16621663/** @name PalletTransactionPaymentReleases */1664export interface PalletTransactionPaymentReleases extends Enum {1665 readonly isV1Ancient: boolean;1666 readonly isV2: boolean;1667 readonly type: 'V1Ancient' | 'V2';1668}16691670/** @name PalletTreasuryCall */1671export interface PalletTreasuryCall extends Enum {1672 readonly isProposeSpend: boolean;1673 readonly asProposeSpend: {1674 readonly value: Compact<u128>;1675 readonly beneficiary: MultiAddress;1676 } & Struct;1677 readonly isRejectProposal: boolean;1678 readonly asRejectProposal: {1679 readonly proposalId: Compact<u32>;1680 } & Struct;1681 readonly isApproveProposal: boolean;1682 readonly asApproveProposal: {1683 readonly proposalId: Compact<u32>;1684 } & Struct;1685 readonly isSpend: boolean;1686 readonly asSpend: {1687 readonly amount: Compact<u128>;1688 readonly beneficiary: MultiAddress;1689 } & Struct;1690 readonly isRemoveApproval: boolean;1691 readonly asRemoveApproval: {1692 readonly proposalId: Compact<u32>;1693 } & Struct;1694 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1695}16961697/** @name PalletTreasuryError */1698export interface PalletTreasuryError extends Enum {1699 readonly isInsufficientProposersBalance: boolean;1700 readonly isInvalidIndex: boolean;1701 readonly isTooManyApprovals: boolean;1702 readonly isInsufficientPermission: boolean;1703 readonly isProposalNotApproved: boolean;1704 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1705}17061707/** @name PalletTreasuryEvent */1708export interface PalletTreasuryEvent extends Enum {1709 readonly isProposed: boolean;1710 readonly asProposed: {1711 readonly proposalIndex: u32;1712 } & Struct;1713 readonly isSpending: boolean;1714 readonly asSpending: {1715 readonly budgetRemaining: u128;1716 } & Struct;1717 readonly isAwarded: boolean;1718 readonly asAwarded: {1719 readonly proposalIndex: u32;1720 readonly award: u128;1721 readonly account: AccountId32;1722 } & Struct;1723 readonly isRejected: boolean;1724 readonly asRejected: {1725 readonly proposalIndex: u32;1726 readonly slashed: u128;1727 } & Struct;1728 readonly isBurnt: boolean;1729 readonly asBurnt: {1730 readonly burntFunds: u128;1731 } & Struct;1732 readonly isRollover: boolean;1733 readonly asRollover: {1734 readonly rolloverBalance: u128;1735 } & Struct;1736 readonly isDeposit: boolean;1737 readonly asDeposit: {1738 readonly value: u128;1739 } & Struct;1740 readonly isSpendApproved: boolean;1741 readonly asSpendApproved: {1742 readonly proposalIndex: u32;1743 readonly amount: u128;1744 readonly beneficiary: AccountId32;1745 } & Struct;1746 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1747}17481749/** @name PalletTreasuryProposal */1750export interface PalletTreasuryProposal extends Struct {1751 readonly proposer: AccountId32;1752 readonly value: u128;1753 readonly beneficiary: AccountId32;1754 readonly bond: u128;1755}17561757/** @name PalletUniqueCall */1758export interface PalletUniqueCall extends Enum {1759 readonly isCreateCollection: boolean;1760 readonly asCreateCollection: {1761 readonly collectionName: Vec<u16>;1762 readonly collectionDescription: Vec<u16>;1763 readonly tokenPrefix: Bytes;1764 readonly mode: UpDataStructsCollectionMode;1765 } & Struct;1766 readonly isCreateCollectionEx: boolean;1767 readonly asCreateCollectionEx: {1768 readonly data: UpDataStructsCreateCollectionData;1769 } & Struct;1770 readonly isDestroyCollection: boolean;1771 readonly asDestroyCollection: {1772 readonly collectionId: u32;1773 } & Struct;1774 readonly isAddToAllowList: boolean;1775 readonly asAddToAllowList: {1776 readonly collectionId: u32;1777 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1778 } & Struct;1779 readonly isRemoveFromAllowList: boolean;1780 readonly asRemoveFromAllowList: {1781 readonly collectionId: u32;1782 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1783 } & Struct;1784 readonly isChangeCollectionOwner: boolean;1785 readonly asChangeCollectionOwner: {1786 readonly collectionId: u32;1787 readonly newOwner: AccountId32;1788 } & Struct;1789 readonly isAddCollectionAdmin: boolean;1790 readonly asAddCollectionAdmin: {1791 readonly collectionId: u32;1792 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1793 } & Struct;1794 readonly isRemoveCollectionAdmin: boolean;1795 readonly asRemoveCollectionAdmin: {1796 readonly collectionId: u32;1797 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1798 } & Struct;1799 readonly isSetCollectionSponsor: boolean;1800 readonly asSetCollectionSponsor: {1801 readonly collectionId: u32;1802 readonly newSponsor: AccountId32;1803 } & Struct;1804 readonly isConfirmSponsorship: boolean;1805 readonly asConfirmSponsorship: {1806 readonly collectionId: u32;1807 } & Struct;1808 readonly isRemoveCollectionSponsor: boolean;1809 readonly asRemoveCollectionSponsor: {1810 readonly collectionId: u32;1811 } & Struct;1812 readonly isCreateItem: boolean;1813 readonly asCreateItem: {1814 readonly collectionId: u32;1815 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1816 readonly data: UpDataStructsCreateItemData;1817 } & Struct;1818 readonly isCreateMultipleItems: boolean;1819 readonly asCreateMultipleItems: {1820 readonly collectionId: u32;1821 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1822 readonly itemsData: Vec<UpDataStructsCreateItemData>;1823 } & Struct;1824 readonly isSetCollectionProperties: boolean;1825 readonly asSetCollectionProperties: {1826 readonly collectionId: u32;1827 readonly properties: Vec<UpDataStructsProperty>;1828 } & Struct;1829 readonly isDeleteCollectionProperties: boolean;1830 readonly asDeleteCollectionProperties: {1831 readonly collectionId: u32;1832 readonly propertyKeys: Vec<Bytes>;1833 } & Struct;1834 readonly isSetTokenProperties: boolean;1835 readonly asSetTokenProperties: {1836 readonly collectionId: u32;1837 readonly tokenId: u32;1838 readonly properties: Vec<UpDataStructsProperty>;1839 } & Struct;1840 readonly isDeleteTokenProperties: boolean;1841 readonly asDeleteTokenProperties: {1842 readonly collectionId: u32;1843 readonly tokenId: u32;1844 readonly propertyKeys: Vec<Bytes>;1845 } & Struct;1846 readonly isSetTokenPropertyPermissions: boolean;1847 readonly asSetTokenPropertyPermissions: {1848 readonly collectionId: u32;1849 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1850 } & Struct;1851 readonly isCreateMultipleItemsEx: boolean;1852 readonly asCreateMultipleItemsEx: {1853 readonly collectionId: u32;1854 readonly data: UpDataStructsCreateItemExData;1855 } & Struct;1856 readonly isSetTransfersEnabledFlag: boolean;1857 readonly asSetTransfersEnabledFlag: {1858 readonly collectionId: u32;1859 readonly value: bool;1860 } & Struct;1861 readonly isBurnItem: boolean;1862 readonly asBurnItem: {1863 readonly collectionId: u32;1864 readonly itemId: u32;1865 readonly value: u128;1866 } & Struct;1867 readonly isBurnFrom: boolean;1868 readonly asBurnFrom: {1869 readonly collectionId: u32;1870 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1871 readonly itemId: u32;1872 readonly value: u128;1873 } & Struct;1874 readonly isTransfer: boolean;1875 readonly asTransfer: {1876 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1877 readonly collectionId: u32;1878 readonly itemId: u32;1879 readonly value: u128;1880 } & Struct;1881 readonly isApprove: boolean;1882 readonly asApprove: {1883 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1884 readonly collectionId: u32;1885 readonly itemId: u32;1886 readonly amount: u128;1887 } & Struct;1888 readonly isTransferFrom: boolean;1889 readonly asTransferFrom: {1890 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1891 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1892 readonly collectionId: u32;1893 readonly itemId: u32;1894 readonly value: u128;1895 } & Struct;1896 readonly isSetCollectionLimits: boolean;1897 readonly asSetCollectionLimits: {1898 readonly collectionId: u32;1899 readonly newLimit: UpDataStructsCollectionLimits;1900 } & Struct;1901 readonly isSetCollectionPermissions: boolean;1902 readonly asSetCollectionPermissions: {1903 readonly collectionId: u32;1904 readonly newPermission: UpDataStructsCollectionPermissions;1905 } & Struct;1906 readonly isRepartition: boolean;1907 readonly asRepartition: {1908 readonly collectionId: u32;1909 readonly tokenId: u32;1910 readonly amount: u128;1911 } & Struct;1912 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';1913}19141915/** @name PalletUniqueError */1916export interface PalletUniqueError extends Enum {1917 readonly isCollectionDecimalPointLimitExceeded: boolean;1918 readonly isConfirmUnsetSponsorFail: boolean;1919 readonly isEmptyArgument: boolean;1920 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1921 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1922}19231924/** @name PalletUniqueRawEvent */1925export interface PalletUniqueRawEvent extends Enum {1926 readonly isCollectionSponsorRemoved: boolean;1927 readonly asCollectionSponsorRemoved: u32;1928 readonly isCollectionAdminAdded: boolean;1929 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1930 readonly isCollectionOwnedChanged: boolean;1931 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1932 readonly isCollectionSponsorSet: boolean;1933 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1934 readonly isSponsorshipConfirmed: boolean;1935 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1936 readonly isCollectionAdminRemoved: boolean;1937 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1938 readonly isAllowListAddressRemoved: boolean;1939 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1940 readonly isAllowListAddressAdded: boolean;1941 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1942 readonly isCollectionLimitSet: boolean;1943 readonly asCollectionLimitSet: u32;1944 readonly isCollectionPermissionSet: boolean;1945 readonly asCollectionPermissionSet: u32;1946 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1947}19481949/** @name PalletUniqueSchedulerCall */1950export interface PalletUniqueSchedulerCall extends Enum {1951 readonly isScheduleNamed: boolean;1952 readonly asScheduleNamed: {1953 readonly id: U8aFixed;1954 readonly when: u32;1955 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1956 readonly priority: u8;1957 readonly call: FrameSupportScheduleMaybeHashed;1958 } & Struct;1959 readonly isCancelNamed: boolean;1960 readonly asCancelNamed: {1961 readonly id: U8aFixed;1962 } & Struct;1963 readonly isScheduleNamedAfter: boolean;1964 readonly asScheduleNamedAfter: {1965 readonly id: U8aFixed;1966 readonly after: u32;1967 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1968 readonly priority: u8;1969 readonly call: FrameSupportScheduleMaybeHashed;1970 } & Struct;1971 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1972}19731974/** @name PalletUniqueSchedulerError */1975export interface PalletUniqueSchedulerError extends Enum {1976 readonly isFailedToSchedule: boolean;1977 readonly isNotFound: boolean;1978 readonly isTargetBlockNumberInPast: boolean;1979 readonly isRescheduleNoChange: boolean;1980 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1981}19821983/** @name PalletUniqueSchedulerEvent */1984export interface PalletUniqueSchedulerEvent extends Enum {1985 readonly isScheduled: boolean;1986 readonly asScheduled: {1987 readonly when: u32;1988 readonly index: u32;1989 } & Struct;1990 readonly isCanceled: boolean;1991 readonly asCanceled: {1992 readonly when: u32;1993 readonly index: u32;1994 } & Struct;1995 readonly isDispatched: boolean;1996 readonly asDispatched: {1997 readonly task: ITuple<[u32, u32]>;1998 readonly id: Option<U8aFixed>;1999 readonly result: Result<Null, SpRuntimeDispatchError>;2000 } & Struct;2001 readonly isCallLookupFailed: boolean;2002 readonly asCallLookupFailed: {2003 readonly task: ITuple<[u32, u32]>;2004 readonly id: Option<U8aFixed>;2005 readonly error: FrameSupportScheduleLookupError;2006 } & Struct;2007 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2008}20092010/** @name PalletUniqueSchedulerScheduledV3 */2011export interface PalletUniqueSchedulerScheduledV3 extends Struct {2012 readonly maybeId: Option<U8aFixed>;2013 readonly priority: u8;2014 readonly call: FrameSupportScheduleMaybeHashed;2015 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2016 readonly origin: OpalRuntimeOriginCaller;2017}20182019/** @name PalletXcmCall */2020export interface PalletXcmCall extends Enum {2021 readonly isSend: boolean;2022 readonly asSend: {2023 readonly dest: XcmVersionedMultiLocation;2024 readonly message: XcmVersionedXcm;2025 } & Struct;2026 readonly isTeleportAssets: boolean;2027 readonly asTeleportAssets: {2028 readonly dest: XcmVersionedMultiLocation;2029 readonly beneficiary: XcmVersionedMultiLocation;2030 readonly assets: XcmVersionedMultiAssets;2031 readonly feeAssetItem: u32;2032 } & Struct;2033 readonly isReserveTransferAssets: boolean;2034 readonly asReserveTransferAssets: {2035 readonly dest: XcmVersionedMultiLocation;2036 readonly beneficiary: XcmVersionedMultiLocation;2037 readonly assets: XcmVersionedMultiAssets;2038 readonly feeAssetItem: u32;2039 } & Struct;2040 readonly isExecute: boolean;2041 readonly asExecute: {2042 readonly message: XcmVersionedXcm;2043 readonly maxWeight: u64;2044 } & Struct;2045 readonly isForceXcmVersion: boolean;2046 readonly asForceXcmVersion: {2047 readonly location: XcmV1MultiLocation;2048 readonly xcmVersion: u32;2049 } & Struct;2050 readonly isForceDefaultXcmVersion: boolean;2051 readonly asForceDefaultXcmVersion: {2052 readonly maybeXcmVersion: Option<u32>;2053 } & Struct;2054 readonly isForceSubscribeVersionNotify: boolean;2055 readonly asForceSubscribeVersionNotify: {2056 readonly location: XcmVersionedMultiLocation;2057 } & Struct;2058 readonly isForceUnsubscribeVersionNotify: boolean;2059 readonly asForceUnsubscribeVersionNotify: {2060 readonly location: XcmVersionedMultiLocation;2061 } & Struct;2062 readonly isLimitedReserveTransferAssets: boolean;2063 readonly asLimitedReserveTransferAssets: {2064 readonly dest: XcmVersionedMultiLocation;2065 readonly beneficiary: XcmVersionedMultiLocation;2066 readonly assets: XcmVersionedMultiAssets;2067 readonly feeAssetItem: u32;2068 readonly weightLimit: XcmV2WeightLimit;2069 } & Struct;2070 readonly isLimitedTeleportAssets: boolean;2071 readonly asLimitedTeleportAssets: {2072 readonly dest: XcmVersionedMultiLocation;2073 readonly beneficiary: XcmVersionedMultiLocation;2074 readonly assets: XcmVersionedMultiAssets;2075 readonly feeAssetItem: u32;2076 readonly weightLimit: XcmV2WeightLimit;2077 } & Struct;2078 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2079}20802081/** @name PalletXcmError */2082export interface PalletXcmError extends Enum {2083 readonly isUnreachable: boolean;2084 readonly isSendFailure: boolean;2085 readonly isFiltered: boolean;2086 readonly isUnweighableMessage: boolean;2087 readonly isDestinationNotInvertible: boolean;2088 readonly isEmpty: boolean;2089 readonly isCannotReanchor: boolean;2090 readonly isTooManyAssets: boolean;2091 readonly isInvalidOrigin: boolean;2092 readonly isBadVersion: boolean;2093 readonly isBadLocation: boolean;2094 readonly isNoSubscription: boolean;2095 readonly isAlreadySubscribed: boolean;2096 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2097}20982099/** @name PalletXcmEvent */2100export interface PalletXcmEvent extends Enum {2101 readonly isAttempted: boolean;2102 readonly asAttempted: XcmV2TraitsOutcome;2103 readonly isSent: boolean;2104 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2105 readonly isUnexpectedResponse: boolean;2106 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2107 readonly isResponseReady: boolean;2108 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2109 readonly isNotified: boolean;2110 readonly asNotified: ITuple<[u64, u8, u8]>;2111 readonly isNotifyOverweight: boolean;2112 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2113 readonly isNotifyDispatchError: boolean;2114 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2115 readonly isNotifyDecodeFailed: boolean;2116 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2117 readonly isInvalidResponder: boolean;2118 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2119 readonly isInvalidResponderVersion: boolean;2120 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2121 readonly isResponseTaken: boolean;2122 readonly asResponseTaken: u64;2123 readonly isAssetsTrapped: boolean;2124 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2125 readonly isVersionChangeNotified: boolean;2126 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2127 readonly isSupportedVersionChanged: boolean;2128 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2129 readonly isNotifyTargetSendFail: boolean;2130 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2131 readonly isNotifyTargetMigrationFail: boolean;2132 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2133 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2134}21352136/** @name PalletXcmOrigin */2137export interface PalletXcmOrigin extends Enum {2138 readonly isXcm: boolean;2139 readonly asXcm: XcmV1MultiLocation;2140 readonly isResponse: boolean;2141 readonly asResponse: XcmV1MultiLocation;2142 readonly type: 'Xcm' | 'Response';2143}21442145/** @name PhantomTypeUpDataStructs */2146export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21472148/** @name PolkadotCorePrimitivesInboundDownwardMessage */2149export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2150 readonly sentAt: u32;2151 readonly msg: Bytes;2152}21532154/** @name PolkadotCorePrimitivesInboundHrmpMessage */2155export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2156 readonly sentAt: u32;2157 readonly data: Bytes;2158}21592160/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2161export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2162 readonly recipient: u32;2163 readonly data: Bytes;2164}21652166/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2167export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2168 readonly isConcatenatedVersionedXcm: boolean;2169 readonly isConcatenatedEncodedBlob: boolean;2170 readonly isSignals: boolean;2171 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2172}21732174/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2175export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2176 readonly maxCodeSize: u32;2177 readonly maxHeadDataSize: u32;2178 readonly maxUpwardQueueCount: u32;2179 readonly maxUpwardQueueSize: u32;2180 readonly maxUpwardMessageSize: u32;2181 readonly maxUpwardMessageNumPerCandidate: u32;2182 readonly hrmpMaxMessageNumPerCandidate: u32;2183 readonly validationUpgradeCooldown: u32;2184 readonly validationUpgradeDelay: u32;2185}21862187/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2188export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2189 readonly maxCapacity: u32;2190 readonly maxTotalSize: u32;2191 readonly maxMessageSize: u32;2192 readonly msgCount: u32;2193 readonly totalSize: u32;2194 readonly mqcHead: Option<H256>;2195}21962197/** @name PolkadotPrimitivesV2PersistedValidationData */2198export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2199 readonly parentHead: Bytes;2200 readonly relayParentNumber: u32;2201 readonly relayParentStorageRoot: H256;2202 readonly maxPovSize: u32;2203}22042205/** @name PolkadotPrimitivesV2UpgradeRestriction */2206export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2207 readonly isPresent: boolean;2208 readonly type: 'Present';2209}22102211/** @name RmrkTraitsBaseBaseInfo */2212export interface RmrkTraitsBaseBaseInfo extends Struct {2213 readonly issuer: AccountId32;2214 readonly baseType: Bytes;2215 readonly symbol: Bytes;2216}22172218/** @name RmrkTraitsCollectionCollectionInfo */2219export interface RmrkTraitsCollectionCollectionInfo extends Struct {2220 readonly issuer: AccountId32;2221 readonly metadata: Bytes;2222 readonly max: Option<u32>;2223 readonly symbol: Bytes;2224 readonly nftsCount: u32;2225}22262227/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2228export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2229 readonly isAccountId: boolean;2230 readonly asAccountId: AccountId32;2231 readonly isCollectionAndNftTuple: boolean;2232 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2233 readonly type: 'AccountId' | 'CollectionAndNftTuple';2234}22352236/** @name RmrkTraitsNftNftChild */2237export interface RmrkTraitsNftNftChild extends Struct {2238 readonly collectionId: u32;2239 readonly nftId: u32;2240}22412242/** @name RmrkTraitsNftNftInfo */2243export interface RmrkTraitsNftNftInfo extends Struct {2244 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2245 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2246 readonly metadata: Bytes;2247 readonly equipped: bool;2248 readonly pending: bool;2249}22502251/** @name RmrkTraitsNftRoyaltyInfo */2252export interface RmrkTraitsNftRoyaltyInfo extends Struct {2253 readonly recipient: AccountId32;2254 readonly amount: Permill;2255}22562257/** @name RmrkTraitsPartEquippableList */2258export interface RmrkTraitsPartEquippableList extends Enum {2259 readonly isAll: boolean;2260 readonly isEmpty: boolean;2261 readonly isCustom: boolean;2262 readonly asCustom: Vec<u32>;2263 readonly type: 'All' | 'Empty' | 'Custom';2264}22652266/** @name RmrkTraitsPartFixedPart */2267export interface RmrkTraitsPartFixedPart extends Struct {2268 readonly id: u32;2269 readonly z: u32;2270 readonly src: Bytes;2271}22722273/** @name RmrkTraitsPartPartType */2274export interface RmrkTraitsPartPartType extends Enum {2275 readonly isFixedPart: boolean;2276 readonly asFixedPart: RmrkTraitsPartFixedPart;2277 readonly isSlotPart: boolean;2278 readonly asSlotPart: RmrkTraitsPartSlotPart;2279 readonly type: 'FixedPart' | 'SlotPart';2280}22812282/** @name RmrkTraitsPartSlotPart */2283export interface RmrkTraitsPartSlotPart extends Struct {2284 readonly id: u32;2285 readonly equippable: RmrkTraitsPartEquippableList;2286 readonly src: Bytes;2287 readonly z: u32;2288}22892290/** @name RmrkTraitsPropertyPropertyInfo */2291export interface RmrkTraitsPropertyPropertyInfo extends Struct {2292 readonly key: Bytes;2293 readonly value: Bytes;2294}22952296/** @name RmrkTraitsResourceBasicResource */2297export interface RmrkTraitsResourceBasicResource extends Struct {2298 readonly src: Option<Bytes>;2299 readonly metadata: Option<Bytes>;2300 readonly license: Option<Bytes>;2301 readonly thumb: Option<Bytes>;2302}23032304/** @name RmrkTraitsResourceComposableResource */2305export interface RmrkTraitsResourceComposableResource extends Struct {2306 readonly parts: Vec<u32>;2307 readonly base: u32;2308 readonly src: Option<Bytes>;2309 readonly metadata: Option<Bytes>;2310 readonly license: Option<Bytes>;2311 readonly thumb: Option<Bytes>;2312}23132314/** @name RmrkTraitsResourceResourceInfo */2315export interface RmrkTraitsResourceResourceInfo extends Struct {2316 readonly id: u32;2317 readonly resource: RmrkTraitsResourceResourceTypes;2318 readonly pending: bool;2319 readonly pendingRemoval: bool;2320}23212322/** @name RmrkTraitsResourceResourceTypes */2323export interface RmrkTraitsResourceResourceTypes extends Enum {2324 readonly isBasic: boolean;2325 readonly asBasic: RmrkTraitsResourceBasicResource;2326 readonly isComposable: boolean;2327 readonly asComposable: RmrkTraitsResourceComposableResource;2328 readonly isSlot: boolean;2329 readonly asSlot: RmrkTraitsResourceSlotResource;2330 readonly type: 'Basic' | 'Composable' | 'Slot';2331}23322333/** @name RmrkTraitsResourceSlotResource */2334export interface RmrkTraitsResourceSlotResource extends Struct {2335 readonly base: u32;2336 readonly src: Option<Bytes>;2337 readonly metadata: Option<Bytes>;2338 readonly slot: u32;2339 readonly license: Option<Bytes>;2340 readonly thumb: Option<Bytes>;2341}23422343/** @name RmrkTraitsTheme */2344export interface RmrkTraitsTheme extends Struct {2345 readonly name: Bytes;2346 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2347 readonly inherit: bool;2348}23492350/** @name RmrkTraitsThemeThemeProperty */2351export interface RmrkTraitsThemeThemeProperty extends Struct {2352 readonly key: Bytes;2353 readonly value: Bytes;2354}23552356/** @name SpCoreEcdsaSignature */2357export interface SpCoreEcdsaSignature extends U8aFixed {}23582359/** @name SpCoreEd25519Signature */2360export interface SpCoreEd25519Signature extends U8aFixed {}23612362/** @name SpCoreSr25519Signature */2363export interface SpCoreSr25519Signature extends U8aFixed {}23642365/** @name SpCoreVoid */2366export interface SpCoreVoid extends Null {}23672368/** @name SpRuntimeArithmeticError */2369export interface SpRuntimeArithmeticError extends Enum {2370 readonly isUnderflow: boolean;2371 readonly isOverflow: boolean;2372 readonly isDivisionByZero: boolean;2373 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2374}23752376/** @name SpRuntimeDigest */2377export interface SpRuntimeDigest extends Struct {2378 readonly logs: Vec<SpRuntimeDigestDigestItem>;2379}23802381/** @name SpRuntimeDigestDigestItem */2382export interface SpRuntimeDigestDigestItem extends Enum {2383 readonly isOther: boolean;2384 readonly asOther: Bytes;2385 readonly isConsensus: boolean;2386 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2387 readonly isSeal: boolean;2388 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2389 readonly isPreRuntime: boolean;2390 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2391 readonly isRuntimeEnvironmentUpdated: boolean;2392 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2393}23942395/** @name SpRuntimeDispatchError */2396export interface SpRuntimeDispatchError extends Enum {2397 readonly isOther: boolean;2398 readonly isCannotLookup: boolean;2399 readonly isBadOrigin: boolean;2400 readonly isModule: boolean;2401 readonly asModule: SpRuntimeModuleError;2402 readonly isConsumerRemaining: boolean;2403 readonly isNoProviders: boolean;2404 readonly isTooManyConsumers: boolean;2405 readonly isToken: boolean;2406 readonly asToken: SpRuntimeTokenError;2407 readonly isArithmetic: boolean;2408 readonly asArithmetic: SpRuntimeArithmeticError;2409 readonly isTransactional: boolean;2410 readonly asTransactional: SpRuntimeTransactionalError;2411 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2412}24132414/** @name SpRuntimeModuleError */2415export interface SpRuntimeModuleError extends Struct {2416 readonly index: u8;2417 readonly error: U8aFixed;2418}24192420/** @name SpRuntimeMultiSignature */2421export interface SpRuntimeMultiSignature extends Enum {2422 readonly isEd25519: boolean;2423 readonly asEd25519: SpCoreEd25519Signature;2424 readonly isSr25519: boolean;2425 readonly asSr25519: SpCoreSr25519Signature;2426 readonly isEcdsa: boolean;2427 readonly asEcdsa: SpCoreEcdsaSignature;2428 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2429}24302431/** @name SpRuntimeTokenError */2432export interface SpRuntimeTokenError extends Enum {2433 readonly isNoFunds: boolean;2434 readonly isWouldDie: boolean;2435 readonly isBelowMinimum: boolean;2436 readonly isCannotCreate: boolean;2437 readonly isUnknownAsset: boolean;2438 readonly isFrozen: boolean;2439 readonly isUnsupported: boolean;2440 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2441}24422443/** @name SpRuntimeTransactionalError */2444export interface SpRuntimeTransactionalError extends Enum {2445 readonly isLimitReached: boolean;2446 readonly isNoLayer: boolean;2447 readonly type: 'LimitReached' | 'NoLayer';2448}24492450/** @name SpTrieStorageProof */2451export interface SpTrieStorageProof extends Struct {2452 readonly trieNodes: BTreeSet<Bytes>;2453}24542455/** @name SpVersionRuntimeVersion */2456export interface SpVersionRuntimeVersion extends Struct {2457 readonly specName: Text;2458 readonly implName: Text;2459 readonly authoringVersion: u32;2460 readonly specVersion: u32;2461 readonly implVersion: u32;2462 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2463 readonly transactionVersion: u32;2464 readonly stateVersion: u8;2465}24662467/** @name UpDataStructsAccessMode */2468export interface UpDataStructsAccessMode extends Enum {2469 readonly isNormal: boolean;2470 readonly isAllowList: boolean;2471 readonly type: 'Normal' | 'AllowList';2472}24732474/** @name UpDataStructsCollection */2475export interface UpDataStructsCollection extends Struct {2476 readonly owner: AccountId32;2477 readonly mode: UpDataStructsCollectionMode;2478 readonly name: Vec<u16>;2479 readonly description: Vec<u16>;2480 readonly tokenPrefix: Bytes;2481 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2482 readonly limits: UpDataStructsCollectionLimits;2483 readonly permissions: UpDataStructsCollectionPermissions;2484 readonly externalCollection: bool;2485}24862487/** @name UpDataStructsCollectionLimits */2488export interface UpDataStructsCollectionLimits extends Struct {2489 readonly accountTokenOwnershipLimit: Option<u32>;2490 readonly sponsoredDataSize: Option<u32>;2491 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2492 readonly tokenLimit: Option<u32>;2493 readonly sponsorTransferTimeout: Option<u32>;2494 readonly sponsorApproveTimeout: Option<u32>;2495 readonly ownerCanTransfer: Option<bool>;2496 readonly ownerCanDestroy: Option<bool>;2497 readonly transfersEnabled: Option<bool>;2498}24992500/** @name UpDataStructsCollectionMode */2501export interface UpDataStructsCollectionMode extends Enum {2502 readonly isNft: boolean;2503 readonly isFungible: boolean;2504 readonly asFungible: u8;2505 readonly isReFungible: boolean;2506 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2507}25082509/** @name UpDataStructsCollectionPermissions */2510export interface UpDataStructsCollectionPermissions extends Struct {2511 readonly access: Option<UpDataStructsAccessMode>;2512 readonly mintMode: Option<bool>;2513 readonly nesting: Option<UpDataStructsNestingPermissions>;2514}25152516/** @name UpDataStructsCollectionStats */2517export interface UpDataStructsCollectionStats extends Struct {2518 readonly created: u32;2519 readonly destroyed: u32;2520 readonly alive: u32;2521}25222523/** @name UpDataStructsCreateCollectionData */2524export interface UpDataStructsCreateCollectionData extends Struct {2525 readonly mode: UpDataStructsCollectionMode;2526 readonly access: Option<UpDataStructsAccessMode>;2527 readonly name: Vec<u16>;2528 readonly description: Vec<u16>;2529 readonly tokenPrefix: Bytes;2530 readonly pendingSponsor: Option<AccountId32>;2531 readonly limits: Option<UpDataStructsCollectionLimits>;2532 readonly permissions: Option<UpDataStructsCollectionPermissions>;2533 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2534 readonly properties: Vec<UpDataStructsProperty>;2535}25362537/** @name UpDataStructsCreateFungibleData */2538export interface UpDataStructsCreateFungibleData extends Struct {2539 readonly value: u128;2540}25412542/** @name UpDataStructsCreateItemData */2543export interface UpDataStructsCreateItemData extends Enum {2544 readonly isNft: boolean;2545 readonly asNft: UpDataStructsCreateNftData;2546 readonly isFungible: boolean;2547 readonly asFungible: UpDataStructsCreateFungibleData;2548 readonly isReFungible: boolean;2549 readonly asReFungible: UpDataStructsCreateReFungibleData;2550 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2551}25522553/** @name UpDataStructsCreateItemExData */2554export interface UpDataStructsCreateItemExData extends Enum {2555 readonly isNft: boolean;2556 readonly asNft: Vec<UpDataStructsCreateNftExData>;2557 readonly isFungible: boolean;2558 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2559 readonly isRefungibleMultipleItems: boolean;2560 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2561 readonly isRefungibleMultipleOwners: boolean;2562 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2563 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2564}25652566/** @name UpDataStructsCreateNftData */2567export interface UpDataStructsCreateNftData extends Struct {2568 readonly properties: Vec<UpDataStructsProperty>;2569}25702571/** @name UpDataStructsCreateNftExData */2572export interface UpDataStructsCreateNftExData extends Struct {2573 readonly properties: Vec<UpDataStructsProperty>;2574 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2575}25762577/** @name UpDataStructsCreateReFungibleData */2578export interface UpDataStructsCreateReFungibleData extends Struct {2579 readonly pieces: u128;2580 readonly properties: Vec<UpDataStructsProperty>;2581}25822583/** @name UpDataStructsCreateRefungibleExMultipleOwners */2584export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2585 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2586 readonly properties: Vec<UpDataStructsProperty>;2587}25882589/** @name UpDataStructsCreateRefungibleExSingleOwner */2590export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2591 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2592 readonly pieces: u128;2593 readonly properties: Vec<UpDataStructsProperty>;2594}25952596/** @name UpDataStructsNestingPermissions */2597export interface UpDataStructsNestingPermissions extends Struct {2598 readonly tokenOwner: bool;2599 readonly collectionAdmin: bool;2600 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2601}26022603/** @name UpDataStructsOwnerRestrictedSet */2604export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}26052606/** @name UpDataStructsProperties */2607export interface UpDataStructsProperties extends Struct {2608 readonly map: UpDataStructsPropertiesMapBoundedVec;2609 readonly consumedSpace: u32;2610 readonly spaceLimit: u32;2611}26122613/** @name UpDataStructsPropertiesMapBoundedVec */2614export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26152616/** @name UpDataStructsPropertiesMapPropertyPermission */2617export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26182619/** @name UpDataStructsProperty */2620export interface UpDataStructsProperty extends Struct {2621 readonly key: Bytes;2622 readonly value: Bytes;2623}26242625/** @name UpDataStructsPropertyKeyPermission */2626export interface UpDataStructsPropertyKeyPermission extends Struct {2627 readonly key: Bytes;2628 readonly permission: UpDataStructsPropertyPermission;2629}26302631/** @name UpDataStructsPropertyPermission */2632export interface UpDataStructsPropertyPermission extends Struct {2633 readonly mutable: bool;2634 readonly collectionAdmin: bool;2635 readonly tokenOwner: bool;2636}26372638/** @name UpDataStructsPropertyScope */2639export interface UpDataStructsPropertyScope extends Enum {2640 readonly isNone: boolean;2641 readonly isRmrk: boolean;2642 readonly isEth: boolean;2643 readonly type: 'None' | 'Rmrk' | 'Eth';2644}26452646/** @name UpDataStructsRpcCollection */2647export interface UpDataStructsRpcCollection extends Struct {2648 readonly owner: AccountId32;2649 readonly mode: UpDataStructsCollectionMode;2650 readonly name: Vec<u16>;2651 readonly description: Vec<u16>;2652 readonly tokenPrefix: Bytes;2653 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2654 readonly limits: UpDataStructsCollectionLimits;2655 readonly permissions: UpDataStructsCollectionPermissions;2656 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2657 readonly properties: Vec<UpDataStructsProperty>;2658 readonly readOnly: bool;2659}26602661/** @name UpDataStructsSponsoringRateLimit */2662export interface UpDataStructsSponsoringRateLimit extends Enum {2663 readonly isSponsoringDisabled: boolean;2664 readonly isBlocks: boolean;2665 readonly asBlocks: u32;2666 readonly type: 'SponsoringDisabled' | 'Blocks';2667}26682669/** @name UpDataStructsSponsorshipStateAccountId32 */2670export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2671 readonly isDisabled: boolean;2672 readonly isUnconfirmed: boolean;2673 readonly asUnconfirmed: AccountId32;2674 readonly isConfirmed: boolean;2675 readonly asConfirmed: AccountId32;2676 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2677}26782679/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */2680export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {2681 readonly isDisabled: boolean;2682 readonly isUnconfirmed: boolean;2683 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2684 readonly isConfirmed: boolean;2685 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2686 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2687}26882689/** @name UpDataStructsTokenChild */2690export interface UpDataStructsTokenChild extends Struct {2691 readonly token: u32;2692 readonly collection: u32;2693}26942695/** @name UpDataStructsTokenData */2696export interface UpDataStructsTokenData extends Struct {2697 readonly properties: Vec<UpDataStructsProperty>;2698 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2699 readonly pieces: u128;2700}27012702/** @name XcmDoubleEncoded */2703export interface XcmDoubleEncoded extends Struct {2704 readonly encoded: Bytes;2705}27062707/** @name XcmV0Junction */2708export interface XcmV0Junction extends Enum {2709 readonly isParent: boolean;2710 readonly isParachain: boolean;2711 readonly asParachain: Compact<u32>;2712 readonly isAccountId32: boolean;2713 readonly asAccountId32: {2714 readonly network: XcmV0JunctionNetworkId;2715 readonly id: U8aFixed;2716 } & Struct;2717 readonly isAccountIndex64: boolean;2718 readonly asAccountIndex64: {2719 readonly network: XcmV0JunctionNetworkId;2720 readonly index: Compact<u64>;2721 } & Struct;2722 readonly isAccountKey20: boolean;2723 readonly asAccountKey20: {2724 readonly network: XcmV0JunctionNetworkId;2725 readonly key: U8aFixed;2726 } & Struct;2727 readonly isPalletInstance: boolean;2728 readonly asPalletInstance: u8;2729 readonly isGeneralIndex: boolean;2730 readonly asGeneralIndex: Compact<u128>;2731 readonly isGeneralKey: boolean;2732 readonly asGeneralKey: Bytes;2733 readonly isOnlyChild: boolean;2734 readonly isPlurality: boolean;2735 readonly asPlurality: {2736 readonly id: XcmV0JunctionBodyId;2737 readonly part: XcmV0JunctionBodyPart;2738 } & Struct;2739 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2740}27412742/** @name XcmV0JunctionBodyId */2743export interface XcmV0JunctionBodyId extends Enum {2744 readonly isUnit: boolean;2745 readonly isNamed: boolean;2746 readonly asNamed: Bytes;2747 readonly isIndex: boolean;2748 readonly asIndex: Compact<u32>;2749 readonly isExecutive: boolean;2750 readonly isTechnical: boolean;2751 readonly isLegislative: boolean;2752 readonly isJudicial: boolean;2753 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2754}27552756/** @name XcmV0JunctionBodyPart */2757export interface XcmV0JunctionBodyPart extends Enum {2758 readonly isVoice: boolean;2759 readonly isMembers: boolean;2760 readonly asMembers: {2761 readonly count: Compact<u32>;2762 } & Struct;2763 readonly isFraction: boolean;2764 readonly asFraction: {2765 readonly nom: Compact<u32>;2766 readonly denom: Compact<u32>;2767 } & Struct;2768 readonly isAtLeastProportion: boolean;2769 readonly asAtLeastProportion: {2770 readonly nom: Compact<u32>;2771 readonly denom: Compact<u32>;2772 } & Struct;2773 readonly isMoreThanProportion: boolean;2774 readonly asMoreThanProportion: {2775 readonly nom: Compact<u32>;2776 readonly denom: Compact<u32>;2777 } & Struct;2778 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2779}27802781/** @name XcmV0JunctionNetworkId */2782export interface XcmV0JunctionNetworkId extends Enum {2783 readonly isAny: boolean;2784 readonly isNamed: boolean;2785 readonly asNamed: Bytes;2786 readonly isPolkadot: boolean;2787 readonly isKusama: boolean;2788 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2789}27902791/** @name XcmV0MultiAsset */2792export interface XcmV0MultiAsset extends Enum {2793 readonly isNone: boolean;2794 readonly isAll: boolean;2795 readonly isAllFungible: boolean;2796 readonly isAllNonFungible: boolean;2797 readonly isAllAbstractFungible: boolean;2798 readonly asAllAbstractFungible: {2799 readonly id: Bytes;2800 } & Struct;2801 readonly isAllAbstractNonFungible: boolean;2802 readonly asAllAbstractNonFungible: {2803 readonly class: Bytes;2804 } & Struct;2805 readonly isAllConcreteFungible: boolean;2806 readonly asAllConcreteFungible: {2807 readonly id: XcmV0MultiLocation;2808 } & Struct;2809 readonly isAllConcreteNonFungible: boolean;2810 readonly asAllConcreteNonFungible: {2811 readonly class: XcmV0MultiLocation;2812 } & Struct;2813 readonly isAbstractFungible: boolean;2814 readonly asAbstractFungible: {2815 readonly id: Bytes;2816 readonly amount: Compact<u128>;2817 } & Struct;2818 readonly isAbstractNonFungible: boolean;2819 readonly asAbstractNonFungible: {2820 readonly class: Bytes;2821 readonly instance: XcmV1MultiassetAssetInstance;2822 } & Struct;2823 readonly isConcreteFungible: boolean;2824 readonly asConcreteFungible: {2825 readonly id: XcmV0MultiLocation;2826 readonly amount: Compact<u128>;2827 } & Struct;2828 readonly isConcreteNonFungible: boolean;2829 readonly asConcreteNonFungible: {2830 readonly class: XcmV0MultiLocation;2831 readonly instance: XcmV1MultiassetAssetInstance;2832 } & Struct;2833 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2834}28352836/** @name XcmV0MultiLocation */2837export interface XcmV0MultiLocation extends Enum {2838 readonly isNull: boolean;2839 readonly isX1: boolean;2840 readonly asX1: XcmV0Junction;2841 readonly isX2: boolean;2842 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2843 readonly isX3: boolean;2844 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2845 readonly isX4: boolean;2846 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2847 readonly isX5: boolean;2848 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2849 readonly isX6: boolean;2850 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2851 readonly isX7: boolean;2852 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2853 readonly isX8: boolean;2854 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2855 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2856}28572858/** @name XcmV0Order */2859export interface XcmV0Order extends Enum {2860 readonly isNull: boolean;2861 readonly isDepositAsset: boolean;2862 readonly asDepositAsset: {2863 readonly assets: Vec<XcmV0MultiAsset>;2864 readonly dest: XcmV0MultiLocation;2865 } & Struct;2866 readonly isDepositReserveAsset: boolean;2867 readonly asDepositReserveAsset: {2868 readonly assets: Vec<XcmV0MultiAsset>;2869 readonly dest: XcmV0MultiLocation;2870 readonly effects: Vec<XcmV0Order>;2871 } & Struct;2872 readonly isExchangeAsset: boolean;2873 readonly asExchangeAsset: {2874 readonly give: Vec<XcmV0MultiAsset>;2875 readonly receive: Vec<XcmV0MultiAsset>;2876 } & Struct;2877 readonly isInitiateReserveWithdraw: boolean;2878 readonly asInitiateReserveWithdraw: {2879 readonly assets: Vec<XcmV0MultiAsset>;2880 readonly reserve: XcmV0MultiLocation;2881 readonly effects: Vec<XcmV0Order>;2882 } & Struct;2883 readonly isInitiateTeleport: boolean;2884 readonly asInitiateTeleport: {2885 readonly assets: Vec<XcmV0MultiAsset>;2886 readonly dest: XcmV0MultiLocation;2887 readonly effects: Vec<XcmV0Order>;2888 } & Struct;2889 readonly isQueryHolding: boolean;2890 readonly asQueryHolding: {2891 readonly queryId: Compact<u64>;2892 readonly dest: XcmV0MultiLocation;2893 readonly assets: Vec<XcmV0MultiAsset>;2894 } & Struct;2895 readonly isBuyExecution: boolean;2896 readonly asBuyExecution: {2897 readonly fees: XcmV0MultiAsset;2898 readonly weight: u64;2899 readonly debt: u64;2900 readonly haltOnError: bool;2901 readonly xcm: Vec<XcmV0Xcm>;2902 } & Struct;2903 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2904}29052906/** @name XcmV0OriginKind */2907export interface XcmV0OriginKind extends Enum {2908 readonly isNative: boolean;2909 readonly isSovereignAccount: boolean;2910 readonly isSuperuser: boolean;2911 readonly isXcm: boolean;2912 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2913}29142915/** @name XcmV0Response */2916export interface XcmV0Response extends Enum {2917 readonly isAssets: boolean;2918 readonly asAssets: Vec<XcmV0MultiAsset>;2919 readonly type: 'Assets';2920}29212922/** @name XcmV0Xcm */2923export interface XcmV0Xcm extends Enum {2924 readonly isWithdrawAsset: boolean;2925 readonly asWithdrawAsset: {2926 readonly assets: Vec<XcmV0MultiAsset>;2927 readonly effects: Vec<XcmV0Order>;2928 } & Struct;2929 readonly isReserveAssetDeposit: boolean;2930 readonly asReserveAssetDeposit: {2931 readonly assets: Vec<XcmV0MultiAsset>;2932 readonly effects: Vec<XcmV0Order>;2933 } & Struct;2934 readonly isTeleportAsset: boolean;2935 readonly asTeleportAsset: {2936 readonly assets: Vec<XcmV0MultiAsset>;2937 readonly effects: Vec<XcmV0Order>;2938 } & Struct;2939 readonly isQueryResponse: boolean;2940 readonly asQueryResponse: {2941 readonly queryId: Compact<u64>;2942 readonly response: XcmV0Response;2943 } & Struct;2944 readonly isTransferAsset: boolean;2945 readonly asTransferAsset: {2946 readonly assets: Vec<XcmV0MultiAsset>;2947 readonly dest: XcmV0MultiLocation;2948 } & Struct;2949 readonly isTransferReserveAsset: boolean;2950 readonly asTransferReserveAsset: {2951 readonly assets: Vec<XcmV0MultiAsset>;2952 readonly dest: XcmV0MultiLocation;2953 readonly effects: Vec<XcmV0Order>;2954 } & Struct;2955 readonly isTransact: boolean;2956 readonly asTransact: {2957 readonly originType: XcmV0OriginKind;2958 readonly requireWeightAtMost: u64;2959 readonly call: XcmDoubleEncoded;2960 } & Struct;2961 readonly isHrmpNewChannelOpenRequest: boolean;2962 readonly asHrmpNewChannelOpenRequest: {2963 readonly sender: Compact<u32>;2964 readonly maxMessageSize: Compact<u32>;2965 readonly maxCapacity: Compact<u32>;2966 } & Struct;2967 readonly isHrmpChannelAccepted: boolean;2968 readonly asHrmpChannelAccepted: {2969 readonly recipient: Compact<u32>;2970 } & Struct;2971 readonly isHrmpChannelClosing: boolean;2972 readonly asHrmpChannelClosing: {2973 readonly initiator: Compact<u32>;2974 readonly sender: Compact<u32>;2975 readonly recipient: Compact<u32>;2976 } & Struct;2977 readonly isRelayedFrom: boolean;2978 readonly asRelayedFrom: {2979 readonly who: XcmV0MultiLocation;2980 readonly message: XcmV0Xcm;2981 } & Struct;2982 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2983}29842985/** @name XcmV1Junction */2986export interface XcmV1Junction extends Enum {2987 readonly isParachain: boolean;2988 readonly asParachain: Compact<u32>;2989 readonly isAccountId32: boolean;2990 readonly asAccountId32: {2991 readonly network: XcmV0JunctionNetworkId;2992 readonly id: U8aFixed;2993 } & Struct;2994 readonly isAccountIndex64: boolean;2995 readonly asAccountIndex64: {2996 readonly network: XcmV0JunctionNetworkId;2997 readonly index: Compact<u64>;2998 } & Struct;2999 readonly isAccountKey20: boolean;3000 readonly asAccountKey20: {3001 readonly network: XcmV0JunctionNetworkId;3002 readonly key: U8aFixed;3003 } & Struct;3004 readonly isPalletInstance: boolean;3005 readonly asPalletInstance: u8;3006 readonly isGeneralIndex: boolean;3007 readonly asGeneralIndex: Compact<u128>;3008 readonly isGeneralKey: boolean;3009 readonly asGeneralKey: Bytes;3010 readonly isOnlyChild: boolean;3011 readonly isPlurality: boolean;3012 readonly asPlurality: {3013 readonly id: XcmV0JunctionBodyId;3014 readonly part: XcmV0JunctionBodyPart;3015 } & Struct;3016 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3017}30183019/** @name XcmV1MultiAsset */3020export interface XcmV1MultiAsset extends Struct {3021 readonly id: XcmV1MultiassetAssetId;3022 readonly fun: XcmV1MultiassetFungibility;3023}30243025/** @name XcmV1MultiassetAssetId */3026export interface XcmV1MultiassetAssetId extends Enum {3027 readonly isConcrete: boolean;3028 readonly asConcrete: XcmV1MultiLocation;3029 readonly isAbstract: boolean;3030 readonly asAbstract: Bytes;3031 readonly type: 'Concrete' | 'Abstract';3032}30333034/** @name XcmV1MultiassetAssetInstance */3035export interface XcmV1MultiassetAssetInstance extends Enum {3036 readonly isUndefined: boolean;3037 readonly isIndex: boolean;3038 readonly asIndex: Compact<u128>;3039 readonly isArray4: boolean;3040 readonly asArray4: U8aFixed;3041 readonly isArray8: boolean;3042 readonly asArray8: U8aFixed;3043 readonly isArray16: boolean;3044 readonly asArray16: U8aFixed;3045 readonly isArray32: boolean;3046 readonly asArray32: U8aFixed;3047 readonly isBlob: boolean;3048 readonly asBlob: Bytes;3049 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3050}30513052/** @name XcmV1MultiassetFungibility */3053export interface XcmV1MultiassetFungibility extends Enum {3054 readonly isFungible: boolean;3055 readonly asFungible: Compact<u128>;3056 readonly isNonFungible: boolean;3057 readonly asNonFungible: XcmV1MultiassetAssetInstance;3058 readonly type: 'Fungible' | 'NonFungible';3059}30603061/** @name XcmV1MultiassetMultiAssetFilter */3062export interface XcmV1MultiassetMultiAssetFilter extends Enum {3063 readonly isDefinite: boolean;3064 readonly asDefinite: XcmV1MultiassetMultiAssets;3065 readonly isWild: boolean;3066 readonly asWild: XcmV1MultiassetWildMultiAsset;3067 readonly type: 'Definite' | 'Wild';3068}30693070/** @name XcmV1MultiassetMultiAssets */3071export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30723073/** @name XcmV1MultiassetWildFungibility */3074export interface XcmV1MultiassetWildFungibility extends Enum {3075 readonly isFungible: boolean;3076 readonly isNonFungible: boolean;3077 readonly type: 'Fungible' | 'NonFungible';3078}30793080/** @name XcmV1MultiassetWildMultiAsset */3081export interface XcmV1MultiassetWildMultiAsset extends Enum {3082 readonly isAll: boolean;3083 readonly isAllOf: boolean;3084 readonly asAllOf: {3085 readonly id: XcmV1MultiassetAssetId;3086 readonly fun: XcmV1MultiassetWildFungibility;3087 } & Struct;3088 readonly type: 'All' | 'AllOf';3089}30903091/** @name XcmV1MultiLocation */3092export interface XcmV1MultiLocation extends Struct {3093 readonly parents: u8;3094 readonly interior: XcmV1MultilocationJunctions;3095}30963097/** @name XcmV1MultilocationJunctions */3098export interface XcmV1MultilocationJunctions extends Enum {3099 readonly isHere: boolean;3100 readonly isX1: boolean;3101 readonly asX1: XcmV1Junction;3102 readonly isX2: boolean;3103 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3104 readonly isX3: boolean;3105 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3106 readonly isX4: boolean;3107 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3108 readonly isX5: boolean;3109 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3110 readonly isX6: boolean;3111 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3112 readonly isX7: boolean;3113 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3114 readonly isX8: boolean;3115 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3116 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3117}31183119/** @name XcmV1Order */3120export interface XcmV1Order extends Enum {3121 readonly isNoop: boolean;3122 readonly isDepositAsset: boolean;3123 readonly asDepositAsset: {3124 readonly assets: XcmV1MultiassetMultiAssetFilter;3125 readonly maxAssets: u32;3126 readonly beneficiary: XcmV1MultiLocation;3127 } & Struct;3128 readonly isDepositReserveAsset: boolean;3129 readonly asDepositReserveAsset: {3130 readonly assets: XcmV1MultiassetMultiAssetFilter;3131 readonly maxAssets: u32;3132 readonly dest: XcmV1MultiLocation;3133 readonly effects: Vec<XcmV1Order>;3134 } & Struct;3135 readonly isExchangeAsset: boolean;3136 readonly asExchangeAsset: {3137 readonly give: XcmV1MultiassetMultiAssetFilter;3138 readonly receive: XcmV1MultiassetMultiAssets;3139 } & Struct;3140 readonly isInitiateReserveWithdraw: boolean;3141 readonly asInitiateReserveWithdraw: {3142 readonly assets: XcmV1MultiassetMultiAssetFilter;3143 readonly reserve: XcmV1MultiLocation;3144 readonly effects: Vec<XcmV1Order>;3145 } & Struct;3146 readonly isInitiateTeleport: boolean;3147 readonly asInitiateTeleport: {3148 readonly assets: XcmV1MultiassetMultiAssetFilter;3149 readonly dest: XcmV1MultiLocation;3150 readonly effects: Vec<XcmV1Order>;3151 } & Struct;3152 readonly isQueryHolding: boolean;3153 readonly asQueryHolding: {3154 readonly queryId: Compact<u64>;3155 readonly dest: XcmV1MultiLocation;3156 readonly assets: XcmV1MultiassetMultiAssetFilter;3157 } & Struct;3158 readonly isBuyExecution: boolean;3159 readonly asBuyExecution: {3160 readonly fees: XcmV1MultiAsset;3161 readonly weight: u64;3162 readonly debt: u64;3163 readonly haltOnError: bool;3164 readonly instructions: Vec<XcmV1Xcm>;3165 } & Struct;3166 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3167}31683169/** @name XcmV1Response */3170export interface XcmV1Response extends Enum {3171 readonly isAssets: boolean;3172 readonly asAssets: XcmV1MultiassetMultiAssets;3173 readonly isVersion: boolean;3174 readonly asVersion: u32;3175 readonly type: 'Assets' | 'Version';3176}31773178/** @name XcmV1Xcm */3179export interface XcmV1Xcm extends Enum {3180 readonly isWithdrawAsset: boolean;3181 readonly asWithdrawAsset: {3182 readonly assets: XcmV1MultiassetMultiAssets;3183 readonly effects: Vec<XcmV1Order>;3184 } & Struct;3185 readonly isReserveAssetDeposited: boolean;3186 readonly asReserveAssetDeposited: {3187 readonly assets: XcmV1MultiassetMultiAssets;3188 readonly effects: Vec<XcmV1Order>;3189 } & Struct;3190 readonly isReceiveTeleportedAsset: boolean;3191 readonly asReceiveTeleportedAsset: {3192 readonly assets: XcmV1MultiassetMultiAssets;3193 readonly effects: Vec<XcmV1Order>;3194 } & Struct;3195 readonly isQueryResponse: boolean;3196 readonly asQueryResponse: {3197 readonly queryId: Compact<u64>;3198 readonly response: XcmV1Response;3199 } & Struct;3200 readonly isTransferAsset: boolean;3201 readonly asTransferAsset: {3202 readonly assets: XcmV1MultiassetMultiAssets;3203 readonly beneficiary: XcmV1MultiLocation;3204 } & Struct;3205 readonly isTransferReserveAsset: boolean;3206 readonly asTransferReserveAsset: {3207 readonly assets: XcmV1MultiassetMultiAssets;3208 readonly dest: XcmV1MultiLocation;3209 readonly effects: Vec<XcmV1Order>;3210 } & Struct;3211 readonly isTransact: boolean;3212 readonly asTransact: {3213 readonly originType: XcmV0OriginKind;3214 readonly requireWeightAtMost: u64;3215 readonly call: XcmDoubleEncoded;3216 } & Struct;3217 readonly isHrmpNewChannelOpenRequest: boolean;3218 readonly asHrmpNewChannelOpenRequest: {3219 readonly sender: Compact<u32>;3220 readonly maxMessageSize: Compact<u32>;3221 readonly maxCapacity: Compact<u32>;3222 } & Struct;3223 readonly isHrmpChannelAccepted: boolean;3224 readonly asHrmpChannelAccepted: {3225 readonly recipient: Compact<u32>;3226 } & Struct;3227 readonly isHrmpChannelClosing: boolean;3228 readonly asHrmpChannelClosing: {3229 readonly initiator: Compact<u32>;3230 readonly sender: Compact<u32>;3231 readonly recipient: Compact<u32>;3232 } & Struct;3233 readonly isRelayedFrom: boolean;3234 readonly asRelayedFrom: {3235 readonly who: XcmV1MultilocationJunctions;3236 readonly message: XcmV1Xcm;3237 } & Struct;3238 readonly isSubscribeVersion: boolean;3239 readonly asSubscribeVersion: {3240 readonly queryId: Compact<u64>;3241 readonly maxResponseWeight: Compact<u64>;3242 } & Struct;3243 readonly isUnsubscribeVersion: boolean;3244 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3245}32463247/** @name XcmV2Instruction */3248export interface XcmV2Instruction extends Enum {3249 readonly isWithdrawAsset: boolean;3250 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3251 readonly isReserveAssetDeposited: boolean;3252 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3253 readonly isReceiveTeleportedAsset: boolean;3254 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3255 readonly isQueryResponse: boolean;3256 readonly asQueryResponse: {3257 readonly queryId: Compact<u64>;3258 readonly response: XcmV2Response;3259 readonly maxWeight: Compact<u64>;3260 } & Struct;3261 readonly isTransferAsset: boolean;3262 readonly asTransferAsset: {3263 readonly assets: XcmV1MultiassetMultiAssets;3264 readonly beneficiary: XcmV1MultiLocation;3265 } & Struct;3266 readonly isTransferReserveAsset: boolean;3267 readonly asTransferReserveAsset: {3268 readonly assets: XcmV1MultiassetMultiAssets;3269 readonly dest: XcmV1MultiLocation;3270 readonly xcm: XcmV2Xcm;3271 } & Struct;3272 readonly isTransact: boolean;3273 readonly asTransact: {3274 readonly originType: XcmV0OriginKind;3275 readonly requireWeightAtMost: Compact<u64>;3276 readonly call: XcmDoubleEncoded;3277 } & Struct;3278 readonly isHrmpNewChannelOpenRequest: boolean;3279 readonly asHrmpNewChannelOpenRequest: {3280 readonly sender: Compact<u32>;3281 readonly maxMessageSize: Compact<u32>;3282 readonly maxCapacity: Compact<u32>;3283 } & Struct;3284 readonly isHrmpChannelAccepted: boolean;3285 readonly asHrmpChannelAccepted: {3286 readonly recipient: Compact<u32>;3287 } & Struct;3288 readonly isHrmpChannelClosing: boolean;3289 readonly asHrmpChannelClosing: {3290 readonly initiator: Compact<u32>;3291 readonly sender: Compact<u32>;3292 readonly recipient: Compact<u32>;3293 } & Struct;3294 readonly isClearOrigin: boolean;3295 readonly isDescendOrigin: boolean;3296 readonly asDescendOrigin: XcmV1MultilocationJunctions;3297 readonly isReportError: boolean;3298 readonly asReportError: {3299 readonly queryId: Compact<u64>;3300 readonly dest: XcmV1MultiLocation;3301 readonly maxResponseWeight: Compact<u64>;3302 } & Struct;3303 readonly isDepositAsset: boolean;3304 readonly asDepositAsset: {3305 readonly assets: XcmV1MultiassetMultiAssetFilter;3306 readonly maxAssets: Compact<u32>;3307 readonly beneficiary: XcmV1MultiLocation;3308 } & Struct;3309 readonly isDepositReserveAsset: boolean;3310 readonly asDepositReserveAsset: {3311 readonly assets: XcmV1MultiassetMultiAssetFilter;3312 readonly maxAssets: Compact<u32>;3313 readonly dest: XcmV1MultiLocation;3314 readonly xcm: XcmV2Xcm;3315 } & Struct;3316 readonly isExchangeAsset: boolean;3317 readonly asExchangeAsset: {3318 readonly give: XcmV1MultiassetMultiAssetFilter;3319 readonly receive: XcmV1MultiassetMultiAssets;3320 } & Struct;3321 readonly isInitiateReserveWithdraw: boolean;3322 readonly asInitiateReserveWithdraw: {3323 readonly assets: XcmV1MultiassetMultiAssetFilter;3324 readonly reserve: XcmV1MultiLocation;3325 readonly xcm: XcmV2Xcm;3326 } & Struct;3327 readonly isInitiateTeleport: boolean;3328 readonly asInitiateTeleport: {3329 readonly assets: XcmV1MultiassetMultiAssetFilter;3330 readonly dest: XcmV1MultiLocation;3331 readonly xcm: XcmV2Xcm;3332 } & Struct;3333 readonly isQueryHolding: boolean;3334 readonly asQueryHolding: {3335 readonly queryId: Compact<u64>;3336 readonly dest: XcmV1MultiLocation;3337 readonly assets: XcmV1MultiassetMultiAssetFilter;3338 readonly maxResponseWeight: Compact<u64>;3339 } & Struct;3340 readonly isBuyExecution: boolean;3341 readonly asBuyExecution: {3342 readonly fees: XcmV1MultiAsset;3343 readonly weightLimit: XcmV2WeightLimit;3344 } & Struct;3345 readonly isRefundSurplus: boolean;3346 readonly isSetErrorHandler: boolean;3347 readonly asSetErrorHandler: XcmV2Xcm;3348 readonly isSetAppendix: boolean;3349 readonly asSetAppendix: XcmV2Xcm;3350 readonly isClearError: boolean;3351 readonly isClaimAsset: boolean;3352 readonly asClaimAsset: {3353 readonly assets: XcmV1MultiassetMultiAssets;3354 readonly ticket: XcmV1MultiLocation;3355 } & Struct;3356 readonly isTrap: boolean;3357 readonly asTrap: Compact<u64>;3358 readonly isSubscribeVersion: boolean;3359 readonly asSubscribeVersion: {3360 readonly queryId: Compact<u64>;3361 readonly maxResponseWeight: Compact<u64>;3362 } & Struct;3363 readonly isUnsubscribeVersion: boolean;3364 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';3365}33663367/** @name XcmV2Response */3368export interface XcmV2Response extends Enum {3369 readonly isNull: boolean;3370 readonly isAssets: boolean;3371 readonly asAssets: XcmV1MultiassetMultiAssets;3372 readonly isExecutionResult: boolean;3373 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3374 readonly isVersion: boolean;3375 readonly asVersion: u32;3376 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3377}33783379/** @name XcmV2TraitsError */3380export interface XcmV2TraitsError extends Enum {3381 readonly isOverflow: boolean;3382 readonly isUnimplemented: boolean;3383 readonly isUntrustedReserveLocation: boolean;3384 readonly isUntrustedTeleportLocation: boolean;3385 readonly isMultiLocationFull: boolean;3386 readonly isMultiLocationNotInvertible: boolean;3387 readonly isBadOrigin: boolean;3388 readonly isInvalidLocation: boolean;3389 readonly isAssetNotFound: boolean;3390 readonly isFailedToTransactAsset: boolean;3391 readonly isNotWithdrawable: boolean;3392 readonly isLocationCannotHold: boolean;3393 readonly isExceedsMaxMessageSize: boolean;3394 readonly isDestinationUnsupported: boolean;3395 readonly isTransport: boolean;3396 readonly isUnroutable: boolean;3397 readonly isUnknownClaim: boolean;3398 readonly isFailedToDecode: boolean;3399 readonly isMaxWeightInvalid: boolean;3400 readonly isNotHoldingFees: boolean;3401 readonly isTooExpensive: boolean;3402 readonly isTrap: boolean;3403 readonly asTrap: u64;3404 readonly isUnhandledXcmVersion: boolean;3405 readonly isWeightLimitReached: boolean;3406 readonly asWeightLimitReached: u64;3407 readonly isBarrier: boolean;3408 readonly isWeightNotComputable: boolean;3409 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';3410}34113412/** @name XcmV2TraitsOutcome */3413export interface XcmV2TraitsOutcome extends Enum {3414 readonly isComplete: boolean;3415 readonly asComplete: u64;3416 readonly isIncomplete: boolean;3417 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3418 readonly isError: boolean;3419 readonly asError: XcmV2TraitsError;3420 readonly type: 'Complete' | 'Incomplete' | 'Error';3421}34223423/** @name XcmV2WeightLimit */3424export interface XcmV2WeightLimit extends Enum {3425 readonly isUnlimited: boolean;3426 readonly isLimited: boolean;3427 readonly asLimited: Compact<u64>;3428 readonly type: 'Unlimited' | 'Limited';3429}34303431/** @name XcmV2Xcm */3432export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}34333434/** @name XcmVersionedMultiAssets */3435export interface XcmVersionedMultiAssets extends Enum {3436 readonly isV0: boolean;3437 readonly asV0: Vec<XcmV0MultiAsset>;3438 readonly isV1: boolean;3439 readonly asV1: XcmV1MultiassetMultiAssets;3440 readonly type: 'V0' | 'V1';3441}34423443/** @name XcmVersionedMultiLocation */3444export interface XcmVersionedMultiLocation extends Enum {3445 readonly isV0: boolean;3446 readonly asV0: XcmV0MultiLocation;3447 readonly isV1: boolean;3448 readonly asV1: XcmV1MultiLocation;3449 readonly type: 'V0' | 'V1';3450}34513452/** @name XcmVersionedXcm */3453export interface XcmVersionedXcm extends Enum {3454 readonly isV0: boolean;3455 readonly asV0: XcmV0Xcm;3456 readonly isV1: boolean;3457 readonly asV1: XcmV1Xcm;3458 readonly isV2: boolean;3459 readonly asV2: XcmV2Xcm;3460 readonly type: 'V0' | 'V1' | 'V2';3461}34623463export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1061,7 +1061,7 @@
**/
PalletAppPromotionEvent: {
_enum: {
- StakingRecalculation: '(u128,u128)'
+ StakingRecalculation: '(AccountId32,u128,u128)'
}
},
/**
@@ -2473,19 +2473,22 @@
sponsor_collection: {
collectionId: 'u32',
},
- stop_sponsorign_collection: {
+ stop_sponsoring_collection: {
collectionId: 'u32',
},
sponsor_conract: {
contractId: 'H160',
},
- stop_sponsorign_contract: {
- contractId: 'H160'
+ stop_sponsoring_contract: {
+ contractId: 'H160',
+ },
+ payout_stakers: {
+ stakersNumber: 'Option<u8>'
}
}
},
/**
- * Lookup305: pallet_evm::pallet::Call<T>
+ * Lookup306: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2528,7 +2531,7 @@
}
},
/**
- * Lookup309: pallet_ethereum::pallet::Call<T>
+ * Lookup310: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2538,7 +2541,7 @@
}
},
/**
- * Lookup310: ethereum::transaction::TransactionV2
+ * Lookup311: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2548,7 +2551,7 @@
}
},
/**
- * Lookup311: ethereum::transaction::LegacyTransaction
+ * Lookup312: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2560,7 +2563,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup312: ethereum::transaction::TransactionAction
+ * Lookup313: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2569,7 +2572,7 @@
}
},
/**
- * Lookup313: ethereum::transaction::TransactionSignature
+ * Lookup314: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2577,7 +2580,7 @@
s: 'H256'
},
/**
- * Lookup315: ethereum::transaction::EIP2930Transaction
+ * Lookup316: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -2593,14 +2596,14 @@
s: 'H256'
},
/**
- * Lookup317: ethereum::transaction::AccessListItem
+ * Lookup318: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup318: ethereum::transaction::EIP1559Transaction
+ * Lookup319: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -2617,7 +2620,7 @@
s: 'H256'
},
/**
- * Lookup319: pallet_evm_migration::pallet::Call<T>
+ * Lookup320: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -2635,19 +2638,19 @@
}
},
/**
- * Lookup322: pallet_sudo::pallet::Error<T>
+ * Lookup323: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup324: orml_vesting::module::Error<T>
+ * Lookup325: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup326: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup327: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2655,19 +2658,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup327: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup328: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup330: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup331: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup333: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup334: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2677,13 +2680,13 @@
lastIndex: 'u16'
},
/**
- * Lookup334: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup335: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup336: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup337: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2694,29 +2697,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup338: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup339: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup339: pallet_xcm::pallet::Error<T>
+ * Lookup340: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup340: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup341: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup341: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup342: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup342: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup343: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2724,19 +2727,19 @@
overweightCount: 'u64'
},
/**
- * Lookup345: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup346: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup349: pallet_unique::Error<T>
+ * Lookup350: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup352: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
+ * Lookup353: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
**/
PalletUniqueSchedulerScheduledV3: {
maybeId: 'Option<[u8;16]>',
@@ -2746,7 +2749,7 @@
origin: 'OpalRuntimeOriginCaller'
},
/**
- * Lookup353: opal_runtime::OriginCaller
+ * Lookup354: opal_runtime::OriginCaller
**/
OpalRuntimeOriginCaller: {
_enum: {
@@ -2855,7 +2858,7 @@
}
},
/**
- * Lookup354: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
+ * Lookup355: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
**/
FrameSupportDispatchRawOrigin: {
_enum: {
@@ -2865,7 +2868,7 @@
}
},
/**
- * Lookup355: pallet_xcm::pallet::Origin
+ * Lookup356: pallet_xcm::pallet::Origin
**/
PalletXcmOrigin: {
_enum: {
@@ -2874,7 +2877,7 @@
}
},
/**
- * Lookup356: cumulus_pallet_xcm::pallet::Origin
+ * Lookup357: cumulus_pallet_xcm::pallet::Origin
**/
CumulusPalletXcmOrigin: {
_enum: {
@@ -2883,7 +2886,7 @@
}
},
/**
- * Lookup357: pallet_ethereum::RawOrigin
+ * Lookup358: pallet_ethereum::RawOrigin
**/
PalletEthereumRawOrigin: {
_enum: {
@@ -2891,17 +2894,17 @@
}
},
/**
- * Lookup358: sp_core::Void
+ * Lookup359: sp_core::Void
**/
SpCoreVoid: 'Null',
/**
- * Lookup359: pallet_unique_scheduler::pallet::Error<T>
+ * Lookup360: pallet_unique_scheduler::pallet::Error<T>
**/
PalletUniqueSchedulerError: {
_enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']
},
/**
- * Lookup360: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup361: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2915,7 +2918,7 @@
externalCollection: 'bool'
},
/**
- * Lookup361: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup362: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -2925,7 +2928,7 @@
}
},
/**
- * Lookup362: up_data_structs::Properties
+ * Lookup363: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2933,15 +2936,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup363: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup364: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup368: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup369: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup375: up_data_structs::CollectionStats
+ * Lookup376: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2949,18 +2952,18 @@
alive: 'u32'
},
/**
- * Lookup376: up_data_structs::TokenChild
+ * Lookup377: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup377: PhantomType::up_data_structs<T>
+ * Lookup378: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup379: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup380: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -2968,7 +2971,7 @@
pieces: 'u128'
},
/**
- * Lookup381: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup382: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -2984,7 +2987,7 @@
readOnly: 'bool'
},
/**
- * Lookup382: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup383: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -2994,7 +2997,7 @@
nftsCount: 'u32'
},
/**
- * Lookup383: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup384: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -3004,14 +3007,14 @@
pending: 'bool'
},
/**
- * Lookup385: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup386: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup386: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup387: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -3020,14 +3023,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup387: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup388: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup388: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup389: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3035,86 +3038,86 @@
symbol: 'Bytes'
},
/**
- * Lookup389: rmrk_traits::nft::NftChild
+ * Lookup390: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup391: pallet_common::pallet::Error<T>
+ * Lookup392: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal']
},
/**
- * Lookup393: pallet_fungible::pallet::Error<T>
+ * Lookup394: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup394: pallet_refungible::ItemData
+ * Lookup395: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup399: pallet_refungible::pallet::Error<T>
+ * Lookup400: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup400: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup401: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup402: up_data_structs::PropertyScope
+ * Lookup403: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk', 'Eth']
},
/**
- * Lookup404: pallet_nonfungible::pallet::Error<T>
+ * Lookup405: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup405: pallet_structure::pallet::Error<T>
+ * Lookup406: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup406: pallet_rmrk_core::pallet::Error<T>
+ * Lookup407: pallet_rmrk_core::pallet::Error<T>
**/
PalletRmrkCoreError: {
_enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
},
/**
- * Lookup408: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup409: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup410: pallet_app_promotion::pallet::Error<T>
+ * Lookup412: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'InvalidArgument']
},
/**
- * Lookup413: pallet_evm::pallet::Error<T>
+ * Lookup415: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup416: fp_rpc::TransactionStatus
+ * Lookup418: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3126,11 +3129,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup418: ethbloom::Bloom
+ * Lookup420: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup420: ethereum::receipt::ReceiptV3
+ * Lookup422: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3140,7 +3143,7 @@
}
},
/**
- * Lookup421: ethereum::receipt::EIP658ReceiptData
+ * Lookup423: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3149,7 +3152,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup422: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup424: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3157,7 +3160,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup423: ethereum::header::Header
+ * Lookup425: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3177,23 +3180,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup424: ethereum_types::hash::H64
+ * Lookup426: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup429: pallet_ethereum::pallet::Error<T>
+ * Lookup431: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup430: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup432: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup431: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup433: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3203,25 +3206,25 @@
}
},
/**
- * Lookup432: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup434: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup434: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup436: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor']
},
/**
- * Lookup435: pallet_evm_migration::pallet::Error<T>
+ * Lookup437: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup437: sp_runtime::MultiSignature
+ * Lookup439: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3231,43 +3234,43 @@
}
},
/**
- * Lookup438: sp_core::ed25519::Signature
+ * Lookup440: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup440: sp_core::sr25519::Signature
+ * Lookup442: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup441: sp_core::ecdsa::Signature
+ * Lookup443: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup444: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup446: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup445: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup447: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup448: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup450: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup449: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup451: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup450: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup452: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup451: opal_runtime::Runtime
+ * Lookup453: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup452: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup454: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1201,7 +1201,7 @@
/** @name PalletAppPromotionEvent (103) */
interface PalletAppPromotionEvent extends Enum {
readonly isStakingRecalculation: boolean;
- readonly asStakingRecalculation: ITuple<[u128, u128]>;
+ readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;
readonly type: 'StakingRecalculation';
}
@@ -2682,22 +2682,26 @@
readonly asSponsorCollection: {
readonly collectionId: u32;
} & Struct;
- readonly isStopSponsorignCollection: boolean;
- readonly asStopSponsorignCollection: {
+ readonly isStopSponsoringCollection: boolean;
+ readonly asStopSponsoringCollection: {
readonly collectionId: u32;
} & Struct;
readonly isSponsorConract: boolean;
readonly asSponsorConract: {
readonly contractId: H160;
} & Struct;
- readonly isStopSponsorignContract: boolean;
- readonly asStopSponsorignContract: {
+ readonly isStopSponsoringContract: boolean;
+ readonly asStopSponsoringContract: {
readonly contractId: H160;
} & Struct;
- readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection' | 'SponsorConract' | 'StopSponsorignContract';
+ readonly isPayoutStakers: boolean;
+ readonly asPayoutStakers: {
+ readonly stakersNumber: Option<u8>;
+ } & Struct;
+ readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorConract' | 'StopSponsoringContract' | 'PayoutStakers';
}
- /** @name PalletEvmCall (305) */
+ /** @name PalletEvmCall (306) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -2742,7 +2746,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (309) */
+ /** @name PalletEthereumCall (310) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -2751,7 +2755,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (310) */
+ /** @name EthereumTransactionTransactionV2 (311) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -2762,7 +2766,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (311) */
+ /** @name EthereumTransactionLegacyTransaction (312) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -2773,7 +2777,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (312) */
+ /** @name EthereumTransactionTransactionAction (313) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -2781,14 +2785,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (313) */
+ /** @name EthereumTransactionTransactionSignature (314) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (315) */
+ /** @name EthereumTransactionEip2930Transaction (316) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -2803,13 +2807,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (317) */
+ /** @name EthereumTransactionAccessListItem (318) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (318) */
+ /** @name EthereumTransactionEip1559Transaction (319) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -2825,7 +2829,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (319) */
+ /** @name PalletEvmMigrationCall (320) */
interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -2844,13 +2848,13 @@
readonly type: 'Begin' | 'SetData' | 'Finish';
}
- /** @name PalletSudoError (322) */
+ /** @name PalletSudoError (323) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (324) */
+ /** @name OrmlVestingModuleError (325) */
interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -2861,21 +2865,21 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (326) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (327) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (327) */
+ /** @name CumulusPalletXcmpQueueInboundState (328) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (330) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (331) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -2883,7 +2887,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (333) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (334) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -2892,14 +2896,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (334) */
+ /** @name CumulusPalletXcmpQueueOutboundState (335) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (336) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (337) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -2909,7 +2913,7 @@
readonly xcmpMaxIndividualWeight: u64;
}
- /** @name CumulusPalletXcmpQueueError (338) */
+ /** @name CumulusPalletXcmpQueueError (339) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -2919,7 +2923,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (339) */
+ /** @name PalletXcmError (340) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2937,29 +2941,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (340) */
+ /** @name CumulusPalletXcmError (341) */
type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (341) */
+ /** @name CumulusPalletDmpQueueConfigData (342) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
- /** @name CumulusPalletDmpQueuePageIndexData (342) */
+ /** @name CumulusPalletDmpQueuePageIndexData (343) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (345) */
+ /** @name CumulusPalletDmpQueueError (346) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (349) */
+ /** @name PalletUniqueError (350) */
interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
@@ -2968,7 +2972,7 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletUniqueSchedulerScheduledV3 (352) */
+ /** @name PalletUniqueSchedulerScheduledV3 (353) */
interface PalletUniqueSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<U8aFixed>;
readonly priority: u8;
@@ -2977,7 +2981,7 @@
readonly origin: OpalRuntimeOriginCaller;
}
- /** @name OpalRuntimeOriginCaller (353) */
+ /** @name OpalRuntimeOriginCaller (354) */
interface OpalRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
@@ -2991,7 +2995,7 @@
readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';
}
- /** @name FrameSupportDispatchRawOrigin (354) */
+ /** @name FrameSupportDispatchRawOrigin (355) */
interface FrameSupportDispatchRawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
@@ -3000,7 +3004,7 @@
readonly type: 'Root' | 'Signed' | 'None';
}
- /** @name PalletXcmOrigin (355) */
+ /** @name PalletXcmOrigin (356) */
interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
@@ -3009,7 +3013,7 @@
readonly type: 'Xcm' | 'Response';
}
- /** @name CumulusPalletXcmOrigin (356) */
+ /** @name CumulusPalletXcmOrigin (357) */
interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
@@ -3017,17 +3021,17 @@
readonly type: 'Relay' | 'SiblingParachain';
}
- /** @name PalletEthereumRawOrigin (357) */
+ /** @name PalletEthereumRawOrigin (358) */
interface PalletEthereumRawOrigin extends Enum {
readonly isEthereumTransaction: boolean;
readonly asEthereumTransaction: H160;
readonly type: 'EthereumTransaction';
}
- /** @name SpCoreVoid (358) */
+ /** @name SpCoreVoid (359) */
type SpCoreVoid = Null;
- /** @name PalletUniqueSchedulerError (359) */
+ /** @name PalletUniqueSchedulerError (360) */
interface PalletUniqueSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
@@ -3036,7 +3040,7 @@
readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
}
- /** @name UpDataStructsCollection (360) */
+ /** @name UpDataStructsCollection (361) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3049,7 +3053,7 @@
readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipStateAccountId32 (361) */
+ /** @name UpDataStructsSponsorshipStateAccountId32 (362) */
interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3059,43 +3063,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (362) */
+ /** @name UpDataStructsProperties (363) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (363) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (364) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (368) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (369) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (375) */
+ /** @name UpDataStructsCollectionStats (376) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (376) */
+ /** @name UpDataStructsTokenChild (377) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (377) */
+ /** @name PhantomTypeUpDataStructs (378) */
interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (379) */
+ /** @name UpDataStructsTokenData (380) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (381) */
+ /** @name UpDataStructsRpcCollection (382) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3110,7 +3114,7 @@
readonly readOnly: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (382) */
+ /** @name RmrkTraitsCollectionCollectionInfo (383) */
interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -3119,7 +3123,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (383) */
+ /** @name RmrkTraitsNftNftInfo (384) */
interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -3128,13 +3132,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (385) */
+ /** @name RmrkTraitsNftRoyaltyInfo (386) */
interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (386) */
+ /** @name RmrkTraitsResourceResourceInfo (387) */
interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -3142,26 +3146,26 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (387) */
+ /** @name RmrkTraitsPropertyPropertyInfo (388) */
interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (388) */
+ /** @name RmrkTraitsBaseBaseInfo (389) */
interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (389) */
+ /** @name RmrkTraitsNftNftChild (390) */
interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (391) */
+ /** @name PalletCommonError (392) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3200,7 +3204,7 @@
readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';
}
- /** @name PalletFungibleError (393) */
+ /** @name PalletFungibleError (394) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3210,12 +3214,12 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletRefungibleItemData (394) */
+ /** @name PalletRefungibleItemData (395) */
interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (399) */
+ /** @name PalletRefungibleError (400) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3225,12 +3229,12 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (400) */
+ /** @name PalletNonfungibleItemData (401) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (402) */
+ /** @name UpDataStructsPropertyScope (403) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
@@ -3238,7 +3242,7 @@
readonly type: 'None' | 'Rmrk' | 'Eth';
}
- /** @name PalletNonfungibleError (404) */
+ /** @name PalletNonfungibleError (405) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3246,7 +3250,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (405) */
+ /** @name PalletStructureError (406) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3255,7 +3259,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (406) */
+ /** @name PalletRmrkCoreError (407) */
interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
@@ -3279,7 +3283,7 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (408) */
+ /** @name PalletRmrkEquipError (409) */
interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -3291,7 +3295,7 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletAppPromotionError (410) */
+ /** @name PalletAppPromotionError (412) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -3300,7 +3304,7 @@
readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument';
}
- /** @name PalletEvmError (413) */
+ /** @name PalletEvmError (415) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3311,7 +3315,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (416) */
+ /** @name FpRpcTransactionStatus (418) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3322,10 +3326,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (418) */
+ /** @name EthbloomBloom (420) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (420) */
+ /** @name EthereumReceiptReceiptV3 (422) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3336,7 +3340,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (421) */
+ /** @name EthereumReceiptEip658ReceiptData (423) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3344,14 +3348,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (422) */
+ /** @name EthereumBlock (424) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (423) */
+ /** @name EthereumHeader (425) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3370,24 +3374,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (424) */
+ /** @name EthereumTypesHashH64 (426) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (429) */
+ /** @name PalletEthereumError (431) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (430) */
+ /** @name PalletEvmCoderSubstrateError (432) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (431) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (433) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3397,7 +3401,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (432) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (434) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3405,21 +3409,21 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (434) */
+ /** @name PalletEvmContractHelpersError (436) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
readonly type: 'NoPermission' | 'NoPendingSponsor';
}
- /** @name PalletEvmMigrationError (435) */
+ /** @name PalletEvmMigrationError (437) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (437) */
+ /** @name SpRuntimeMultiSignature (439) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3430,34 +3434,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (438) */
+ /** @name SpCoreEd25519Signature (440) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (440) */
+ /** @name SpCoreSr25519Signature (442) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (441) */
+ /** @name SpCoreEcdsaSignature (443) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (444) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (446) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (445) */
+ /** @name FrameSystemExtensionsCheckGenesis (447) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (448) */
+ /** @name FrameSystemExtensionsCheckNonce (450) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (449) */
+ /** @name FrameSystemExtensionsCheckWeight (451) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (450) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (452) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (451) */
+ /** @name OpalRuntimeRuntime (453) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (452) */
+ /** @name PalletEthereumFakeTransactionFinalizer (454) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module