git.delta.rocks / unique-network / refs/commits / 982476ef99fe

difftreelog

feautres: Pending interval is now tied to relay blocks, contract sponsors and `stopAppPromotion` added. Preparing to integrate the `app-promotion` palette to integrate with Unique and Quartz.

PraetorP2022-08-29parent: #9d0f344.patch.diff
in: master

13 files changed

modifiedpallets/app-promotion/src/lib.rsdiffbeforeafterboth
--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -37,9 +37,10 @@
 pub mod weights;
 
 use sp_std::{vec::Vec, iter::Sum, borrow::ToOwned};
+use sp_core::H160;
 use codec::EncodeLike;
 use pallet_balances::BalanceLock;
-pub use types::ExtendedLockableCurrency;
+pub use types::*;
 
 // use up_common::constants::{DAYS, UNIQUE};
 use up_data_structs::CollectionId;
@@ -78,7 +79,6 @@
 	use super::*;
 	use frame_support::{Blake2_128Concat, Twox64Concat, pallet_prelude::*, storage::Key, PalletId};
 	use frame_system::pallet_prelude::*;
-	use types::CollectionHandler;
 
 	#[pallet::config]
 	pub trait Config: frame_system::Config + pallet_evm::account::Config {
@@ -89,6 +89,8 @@
 			CollectionId = CollectionId,
 		>;
 
+		type ContractHandler: ContractHandler<AccountId = Self::CrossAccountId, ContractId = H160>;
+
 		type TreasuryAccountId: Get<Self::AccountId>;
 
 		/// The app's pallet id, used for deriving its sovereign account ID.
@@ -98,7 +100,7 @@
 		/// In relay blocks.
 		#[pallet::constant]
 		type RecalculationInterval: Get<Self::BlockNumber>;
-		/// In chain blocks.
+		/// In relay blocks.
 		#[pallet::constant]
 		type PendingInterval: Get<Self::BlockNumber>;
 
@@ -120,13 +122,6 @@
 
 		/// Events compatible with [`frame_system::Config::Event`].
 		type Event: IsType<<Self as frame_system::Config>::Event> + From<Event<Self>>;
-
-		// /// Number of blocks that pass between treasury balance updates due to inflation
-		// #[pallet::constant]
-		// type InterestBlockInterval: Get<Self::BlockNumber>;
-
-		// // Weight information for functions of this pallet.
-		// type WeightInfo: WeightInfo;
 	}
 
 	#[pallet::pallet]
@@ -146,13 +141,14 @@
 
 	#[pallet::error]
 	pub enum Error<T> {
+		/// Error due to action requiring admin to be set
 		AdminNotSet,
-		/// No permission to perform action
+		/// No permission to perform an action
 		NoPermission,
 		/// Insufficient funds to perform an action
 		NotSufficientFounds,
+		/// An error related to the fact that an invalid argument was passed to perform an action
 		InvalidArgument,
-		AlreadySponsored,
 	}
 
 	#[pallet::storage]
@@ -183,7 +179,7 @@
 		QueryKind = ValueQuery,
 	>;
 
-	/// A block when app-promotion has started
+	/// A block when app-promotion has started .I think this is redundant, because we only need `NextInterestBlock`.
 	#[pallet::storage]
 	pub type StartBlock<T: Config> = StorageValue<Value = T::BlockNumber, QueryKind = ValueQuery>;
 
@@ -285,6 +281,21 @@
 			Ok(())
 		}
 
+		#[pallet::weight(0)]
+		pub fn stop_app_promotion(origin: OriginFor<T>) -> DispatchResult
+		where
+			<T as frame_system::Config>::BlockNumber: From<u32>,
+		{
+			ensure_root(origin)?;
+
+			if <StartBlock<T>>::get() != 0u32.into() {
+				<StartBlock<T>>::set(T::BlockNumber::default());
+				<NextInterestBlock<T>>::set(T::BlockNumber::default());
+			}
+
+			Ok(())
+		}
+
 		#[pallet::weight(T::WeightInfo::stake())]
 		pub fn stake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
 			let staker_id = ensure_signed(staker)?;
@@ -341,7 +352,8 @@
 					.ok_or(ArithmeticError::Underflow)?,
 			);
 
-			let block = frame_system::Pallet::<T>::block_number() + T::PendingInterval::get();
+			let block =
+				T::RelayBlockNumberProvider::current_block_number() + T::PendingInterval::get();
 			<PendingUnstake<T>>::insert(
 				(&staker_id, block),
 				<PendingUnstake<T>>::get((&staker_id, block))
@@ -415,113 +427,46 @@
 			);
 			T::CollectionHandler::remove_collection_sponsor(collection_id)
 		}
-	}
-}
-
-impl<T: Config> Pallet<T> {
-	// pub fn stake(staker: &T::AccountId, amount: BalanceOf<T>) -> DispatchResult {
-	// 	let balance = <<T as Config>::Currency as Currency<T::AccountId>>::free_balance(staker);
-
-	// 	ensure!(balance >= amount, ArithmeticError::Underflow);
-
-	// 	Self::set_lock_unchecked(staker, amount);
-
-	// 	let block_number = <T::BlockNumberProvider as BlockNumberProvider>::current_block_number();
 
-	// 	<Staked<T>>::insert(
-	// 		(staker, block_number),
-	// 		<Staked<T>>::get((staker, block_number))
-	// 			.checked_add(&amount)
-	// 			.ok_or(ArithmeticError::Overflow)?,
-	// 	);
-
-	// 	<TotalStaked<T>>::set(
-	// 		<TotalStaked<T>>::get()
-	// 			.checked_add(&amount)
-	// 			.ok_or(ArithmeticError::Overflow)?,
-	// 	);
-
-	// 	Ok(())
-	// }
-
-	// pub fn unstake(staker: &T::AccountId, amount: BalanceOf<T>) -> DispatchResult {
-	// 	let mut stakes = Staked::<T>::iter_prefix((staker,)).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::BlockNumberProvider>::current_block_number() + WEEK.into();
-	// 	<PendingUnstake<T>>::insert(
-	// 		(staker, block),
-	// 		<PendingUnstake<T>>::get((staker, 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, block));
-	// 			} else {
-	// 				<Staked<T>>::insert((staker, block), to_staked);
-	// 			}
-	// 		});
+		#[pallet::weight(0)]
+		pub fn sponsor_conract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
+			let admin_id = ensure_signed(admin)?;
 
-	// 	Ok(())
-	// }
+			ensure!(
+				admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,
+				Error::<T>::NoPermission
+			);
 
-	// pub fn sponsor_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {
-	// 	Ok(())
-	// }
+			T::ContractHandler::set_sponsor(
+				T::CrossAccountId::from_sub(Self::account_id()),
+				contract_id,
+			)
+		}
 
-	// pub fn stop_sponsorign_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {
-	// 	Ok(())
-	// }
+		#[pallet::weight(0)]
+		pub fn stop_sponsorign_contract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
+			let admin_id = ensure_signed(admin)?;
 
-	pub fn sponsor_conract(admin: T::AccountId, app_id: u32) -> DispatchResult {
-		Ok(())
-	}
+			ensure!(
+				admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,
+				Error::<T>::NoPermission
+			);
 
-	pub fn stop_sponsorign_contract(admin: T::AccountId, app_id: u32) -> DispatchResult {
-		Ok(())
+			ensure!(
+				T::ContractHandler::get_sponsor(contract_id)?.ok_or(<Error<T>>::InvalidArgument)?
+					== T::CrossAccountId::from_sub(Self::account_id()),
+				<Error<T>>::NoPermission
+			);
+			T::ContractHandler::remove_contract_sponsor(contract_id)
+		}
 	}
+}
 
+impl<T: Config> Pallet<T> {
 	pub fn account_id() -> T::AccountId {
 		T::PalletId::get().into_account_truncating()
 	}
-}
 
-impl<T: Config> Pallet<T> {
 	fn unlock_balance_unchecked(staker: &T::AccountId, amount: BalanceOf<T>) {
 		let mut locked_balance = Self::get_locked_balance(staker).map(|l| l.amount).unwrap();
 		locked_balance -= amount;
modifiedpallets/app-promotion/src/types.rsdiffbeforeafterboth
--- a/pallets/app-promotion/src/types.rs
+++ b/pallets/app-promotion/src/types.rs
@@ -9,7 +9,7 @@
 use sp_runtime::DispatchError;
 use up_data_structs::{CollectionId, SponsorshipState};
 use sp_std::borrow::ToOwned;
-
+use pallet_evm_contract_helpers::{Pallet as EvmHelpersPallet, Config as EvmHelpersConfig, Sponsoring};
 
 pub trait ExtendedLockableCurrency<AccountId: Parameter>: LockableCurrency<AccountId> {
 	fn locks<KArg>(who: KArg) -> WeakBoundedVec<BalanceLock<Self::Balance>, Self::MaxLocks>
@@ -94,3 +94,40 @@
 			.map(|acc| acc.to_owned()))
 	}
 }
+
+pub trait ContractHandler {
+	type ContractId;
+	type AccountId;
+
+	fn set_sponsor(sponsor_id: Self::AccountId, contract_id: Self::ContractId) -> DispatchResult;
+
+	fn remove_contract_sponsor(collection_id: Self::ContractId) -> DispatchResult;
+
+	fn get_sponsor(contract_id: Self::ContractId)
+		-> Result<Option<Self::AccountId>, DispatchError>;
+}
+
+impl<T: EvmHelpersConfig> ContractHandler for EvmHelpersPallet<T> {
+	type ContractId = sp_core::H160;
+
+	type AccountId = T::CrossAccountId;
+
+	fn set_sponsor(sponsor_id: Self::AccountId, contract_id: Self::ContractId) -> DispatchResult {
+		Sponsoring::<T>::insert(
+			contract_id,
+			SponsorshipState::<T::CrossAccountId>::Confirmed(sponsor_id),
+		);
+		Ok(())
+	}
+
+	fn remove_contract_sponsor(contract_id: Self::ContractId) -> DispatchResult {
+		Sponsoring::<T>::remove(contract_id);
+		Ok(())
+	}
+
+	fn get_sponsor(
+		contract_id: Self::ContractId,
+	) -> Result<Option<Self::AccountId>, DispatchError> {
+		Ok(Self::get_sponsor(contract_id))
+	}
+}
modifiedpallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth
--- a/pallets/evm-contract-helpers/src/lib.rs
+++ b/pallets/evm-contract-helpers/src/lib.rs
@@ -75,7 +75,7 @@
 	/// * **Key** - contract address.
 	/// * **Value** - sponsorship state.
 	#[pallet::storage]
-	pub(super) type Sponsoring<T: Config> = StorageMap<
+	pub type Sponsoring<T: Config> = StorageMap<
 		Hasher = Twox64Concat,
 		Key = H160,
 		Value = SponsorshipState<T::CrossAccountId>,
modifiedprimitives/common/src/constants.rsdiffbeforeafterboth
--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -22,6 +22,7 @@
 use crate::types::{BlockNumber, Balance};
 
 pub const MILLISECS_PER_BLOCK: u64 = 12000;
+pub const MILLISECS_PER_RELAY_BLOCK: u64 = 6000;
 
 pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;
 
@@ -30,6 +31,11 @@
 pub const HOURS: BlockNumber = MINUTES * 60;
 pub const DAYS: BlockNumber = HOURS * 24;
 
+// These time units are defined in number of relay blocks.
+pub const RELAY_MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_RELAY_BLOCK as BlockNumber);
+pub const RELAY_HOURS: BlockNumber = RELAY_MINUTES * 60;
+pub const RELAY_DAYS: BlockNumber = RELAY_HOURS * 24;
+
 pub const MICROUNIQUE: Balance = 1_000_000_000_000;
 pub const MILLIUNIQUE: Balance = 1_000 * MICROUNIQUE;
 pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;
modifiedruntime/common/config/pallets/app_promotion.rsdiffbeforeafterboth
--- a/runtime/common/config/pallets/app_promotion.rs
+++ b/runtime/common/config/pallets/app_promotion.rs
@@ -16,28 +16,40 @@
 
 use crate::{
 	runtime_common::config::pallets::{TreasuryAccountId, RelayChainBlockNumberProvider},
-	Runtime, Balances, BlockNumber, Unique, Event,
+	Runtime, Balances, BlockNumber, Unique, Event, EvmContractHelpers,
 };
 
 use frame_support::{parameter_types, PalletId};
 use sp_arithmetic::Perbill;
 use up_common::{
-	constants::{DAYS, UNIQUE},
+	constants::{DAYS, UNIQUE, RELAY_DAYS},
 	types::Balance,
 };
 
+#[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]
 parameter_types! {
 	pub const AppPromotionId: PalletId = PalletId(*b"appstake");
 	pub const RecalculationInterval: BlockNumber = 20;
-	pub const PendingInterval: BlockNumber = 10;
+	pub const PendingInterval: BlockNumber = 20;
 	pub const Nominal: Balance = UNIQUE;
 	pub const Day: BlockNumber = DAYS;
-	pub IntervalIncome: Perbill = Perbill::from_rational(RecalculationInterval::get(), 2 * DAYS) * Perbill::from_rational(5u32, 10_000);
+	pub IntervalIncome: Perbill = Perbill::from_rational(RecalculationInterval::get(), RELAY_DAYS) * Perbill::from_rational(5u32, 10_000);
+}
+
+#[cfg(any(feature = "unique-runtime", feature = "quartz-runtime"))]
+parameter_types! {
+	pub const AppPromotionId: PalletId = PalletId(*b"appstake");
+	pub const RecalculationInterval: BlockNumber = RELAY_DAYS;
+	pub const PendingInterval: BlockNumber = 7 * RELAY_DAYS;
+	pub const Nominal: Balance = UNIQUE;
+	pub const Day: BlockNumber = RELAY_DAYS;
+	pub IntervalIncome: Perbill = Perbill::from_rational(5u32, 10_000);
 }
 
 impl pallet_app_promotion::Config for Runtime {
 	type PalletId = AppPromotionId;
 	type CollectionHandler = Unique;
+	type ContractHandler = EvmContractHelpers;
 	type Currency = Balances;
 	type WeightInfo = pallet_app_promotion::weights::SubstrateWeight<Self>;
 	type TreasuryAccountId = TreasuryAccountId;
modifiedtests/src/app-promotion.test.tsdiffbeforeafterboth
--- a/tests/src/app-promotion.test.ts
+++ b/tests/src/app-promotion.test.ts
@@ -706,6 +706,12 @@
       nominal = helper.balance.getOneTokenNominal();
     });
   });
+
+  after(async function () {
+    await usingPlaygrounds(async (helper) => {
+      await helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.stopAppPromotion()));
+    });
+  });
   
   it('will credit 0.05% for staking period', async () => {
     // arrange: bob.stake(10000);
@@ -770,39 +776,24 @@
       const staker = await createUser(40n * nominal);
       
       await waitForRecalculationBlock(helper.api!);
-      // const foo = await helper.api!.registry.getChainProperties().
+      
 
       await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;
-      // await waitNewBlocks(helper.api!, 1);
+      
       await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;
-      // await waitNewBlocks(helper.api!, 1);
+      
       await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;
-      // console.log(await helper.balance.getSubstrate(staker.address));
-      // await waitNewBlocks(helper.api!, 17);
+      
       await waitForRelayBlock(helper.api!, 34);
       expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))
         .map(([_, amount]) => amount.toBigInt()))
         .to.be.deep.equal([calculateIncome(10n * nominal, 10n), calculateIncome(10n * nominal, 10n), calculateIncome(10n * nominal, 10n)]);
       
-      // console.log(await getBlockNumber(helper.api!));
-      // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([block, amount]) => [block.toBigInt(), amount.toBigInt()]));
-      // console.log(`${calculateIncome(10n * nominal, 10n)} || ${calculateIncome(10n * nominal, 10n, 2)}`);
-      // await waitNewBlocks(helper.api!, 10);
       await waitForRelayBlock(helper.api!, 20);
-      // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt()));
-      // console.log(await helper.balance.getSubstrate(staker.address));
       await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(calculateIncome(10n * nominal, 10n, 2) - 10n * nominal))).to.be.eventually.fulfilled;
-      // console.log(calculateIncome(10n * nominal, 10n, 2));
-      // console.log(calculateIncome(10n * nominal, 10n, 3));
-      // console.log(calculateIncome(10n * nominal, 10n, 4));
-      // console.log(calculateIncome(10n * nominal, 10n, 5));
       expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))
         .map(([_, amount]) => amount.toBigInt()))
         .to.be.deep.equal([10n * nominal, calculateIncome(10n * nominal, 10n, 2), calculateIncome(10n * nominal, 10n, 2)]);
-      
-      // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt()));
-      
-      // console.log(await helper.balance.getSubstrate(staker.address));
     });
     
   });
modifiedtests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -78,7 +78,7 @@
        **/
       palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
       /**
-       * In chain blocks.
+       * In relay blocks.
        **/
       pendingInterval: u32 & AugmentedConst<ApiType>;
       /**
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -430,11 +430,16 @@
       [key: string]: AugmentedError<ApiType>;
     };
     promotion: {
+      /**
+       * Error due to action requiring admin to be set
+       **/
       AdminNotSet: AugmentedError<ApiType>;
-      AlreadySponsored: AugmentedError<ApiType>;
+      /**
+       * An error related to the fact that an invalid argument was passed to perform an action
+       **/
       InvalidArgument: AugmentedError<ApiType>;
       /**
-       * No permission to perform action
+       * No permission to perform an action
        **/
       NoPermission: AugmentedError<ApiType>;
       /**
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -525,7 +525,7 @@
        **/
       staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
       /**
-       * A block when app-promotion has started
+       * A block when app-promotion has started .I think this is redundant, because we only need `NextInterestBlock`.
        **/
       startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
       totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -365,9 +365,12 @@
     promotion: {
       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]>;
       unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
       /**
        * Generic tx
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
before · tests/src/interfaces/default/types.ts
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 isStake: boolean;820  readonly asStake: {821    readonly amount: u128;822  } & Struct;823  readonly isUnstake: boolean;824  readonly asUnstake: {825    readonly amount: u128;826  } & Struct;827  readonly isSponsorCollection: boolean;828  readonly asSponsorCollection: {829    readonly collectionId: u32;830  } & Struct;831  readonly isStopSponsorignCollection: boolean;832  readonly asStopSponsorignCollection: {833    readonly collectionId: u32;834  } & Struct;835  readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';836}837838/** @name PalletAppPromotionError */839export interface PalletAppPromotionError extends Enum {840  readonly isAdminNotSet: boolean;841  readonly isNoPermission: boolean;842  readonly isNotSufficientFounds: boolean;843  readonly isInvalidArgument: boolean;844  readonly isAlreadySponsored: boolean;845  readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';846}847848/** @name PalletAppPromotionEvent */849export interface PalletAppPromotionEvent extends Enum {850  readonly isStakingRecalculation: boolean;851  readonly asStakingRecalculation: ITuple<[u128, u128]>;852  readonly type: 'StakingRecalculation';853}854855/** @name PalletBalancesAccountData */856export interface PalletBalancesAccountData extends Struct {857  readonly free: u128;858  readonly reserved: u128;859  readonly miscFrozen: u128;860  readonly feeFrozen: u128;861}862863/** @name PalletBalancesBalanceLock */864export interface PalletBalancesBalanceLock extends Struct {865  readonly id: U8aFixed;866  readonly amount: u128;867  readonly reasons: PalletBalancesReasons;868}869870/** @name PalletBalancesCall */871export interface PalletBalancesCall extends Enum {872  readonly isTransfer: boolean;873  readonly asTransfer: {874    readonly dest: MultiAddress;875    readonly value: Compact<u128>;876  } & Struct;877  readonly isSetBalance: boolean;878  readonly asSetBalance: {879    readonly who: MultiAddress;880    readonly newFree: Compact<u128>;881    readonly newReserved: Compact<u128>;882  } & Struct;883  readonly isForceTransfer: boolean;884  readonly asForceTransfer: {885    readonly source: MultiAddress;886    readonly dest: MultiAddress;887    readonly value: Compact<u128>;888  } & Struct;889  readonly isTransferKeepAlive: boolean;890  readonly asTransferKeepAlive: {891    readonly dest: MultiAddress;892    readonly value: Compact<u128>;893  } & Struct;894  readonly isTransferAll: boolean;895  readonly asTransferAll: {896    readonly dest: MultiAddress;897    readonly keepAlive: bool;898  } & Struct;899  readonly isForceUnreserve: boolean;900  readonly asForceUnreserve: {901    readonly who: MultiAddress;902    readonly amount: u128;903  } & Struct;904  readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';905}906907/** @name PalletBalancesError */908export interface PalletBalancesError extends Enum {909  readonly isVestingBalance: boolean;910  readonly isLiquidityRestrictions: boolean;911  readonly isInsufficientBalance: boolean;912  readonly isExistentialDeposit: boolean;913  readonly isKeepAlive: boolean;914  readonly isExistingVestingSchedule: boolean;915  readonly isDeadAccount: boolean;916  readonly isTooManyReserves: boolean;917  readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';918}919920/** @name PalletBalancesEvent */921export interface PalletBalancesEvent extends Enum {922  readonly isEndowed: boolean;923  readonly asEndowed: {924    readonly account: AccountId32;925    readonly freeBalance: u128;926  } & Struct;927  readonly isDustLost: boolean;928  readonly asDustLost: {929    readonly account: AccountId32;930    readonly amount: u128;931  } & Struct;932  readonly isTransfer: boolean;933  readonly asTransfer: {934    readonly from: AccountId32;935    readonly to: AccountId32;936    readonly amount: u128;937  } & Struct;938  readonly isBalanceSet: boolean;939  readonly asBalanceSet: {940    readonly who: AccountId32;941    readonly free: u128;942    readonly reserved: u128;943  } & Struct;944  readonly isReserved: boolean;945  readonly asReserved: {946    readonly who: AccountId32;947    readonly amount: u128;948  } & Struct;949  readonly isUnreserved: boolean;950  readonly asUnreserved: {951    readonly who: AccountId32;952    readonly amount: u128;953  } & Struct;954  readonly isReserveRepatriated: boolean;955  readonly asReserveRepatriated: {956    readonly from: AccountId32;957    readonly to: AccountId32;958    readonly amount: u128;959    readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;960  } & Struct;961  readonly isDeposit: boolean;962  readonly asDeposit: {963    readonly who: AccountId32;964    readonly amount: u128;965  } & Struct;966  readonly isWithdraw: boolean;967  readonly asWithdraw: {968    readonly who: AccountId32;969    readonly amount: u128;970  } & Struct;971  readonly isSlashed: boolean;972  readonly asSlashed: {973    readonly who: AccountId32;974    readonly amount: u128;975  } & Struct;976  readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';977}978979/** @name PalletBalancesReasons */980export interface PalletBalancesReasons extends Enum {981  readonly isFee: boolean;982  readonly isMisc: boolean;983  readonly isAll: boolean;984  readonly type: 'Fee' | 'Misc' | 'All';985}986987/** @name PalletBalancesReleases */988export interface PalletBalancesReleases extends Enum {989  readonly isV100: boolean;990  readonly isV200: boolean;991  readonly type: 'V100' | 'V200';992}993994/** @name PalletBalancesReserveData */995export interface PalletBalancesReserveData extends Struct {996  readonly id: U8aFixed;997  readonly amount: u128;998}9991000/** @name PalletCommonError */1001export interface PalletCommonError extends Enum {1002  readonly isCollectionNotFound: boolean;1003  readonly isMustBeTokenOwner: boolean;1004  readonly isNoPermission: boolean;1005  readonly isCantDestroyNotEmptyCollection: boolean;1006  readonly isPublicMintingNotAllowed: boolean;1007  readonly isAddressNotInAllowlist: boolean;1008  readonly isCollectionNameLimitExceeded: boolean;1009  readonly isCollectionDescriptionLimitExceeded: boolean;1010  readonly isCollectionTokenPrefixLimitExceeded: boolean;1011  readonly isTotalCollectionsLimitExceeded: boolean;1012  readonly isCollectionAdminCountExceeded: boolean;1013  readonly isCollectionLimitBoundsExceeded: boolean;1014  readonly isOwnerPermissionsCantBeReverted: boolean;1015  readonly isTransferNotAllowed: boolean;1016  readonly isAccountTokenLimitExceeded: boolean;1017  readonly isCollectionTokenLimitExceeded: boolean;1018  readonly isMetadataFlagFrozen: boolean;1019  readonly isTokenNotFound: boolean;1020  readonly isTokenValueTooLow: boolean;1021  readonly isApprovedValueTooLow: boolean;1022  readonly isCantApproveMoreThanOwned: boolean;1023  readonly isAddressIsZero: boolean;1024  readonly isUnsupportedOperation: boolean;1025  readonly isNotSufficientFounds: boolean;1026  readonly isUserIsNotAllowedToNest: boolean;1027  readonly isSourceCollectionIsNotAllowedToNest: boolean;1028  readonly isCollectionFieldSizeExceeded: boolean;1029  readonly isNoSpaceForProperty: boolean;1030  readonly isPropertyLimitReached: boolean;1031  readonly isPropertyKeyIsTooLong: boolean;1032  readonly isInvalidCharacterInPropertyKey: boolean;1033  readonly isEmptyPropertyKey: boolean;1034  readonly isCollectionIsExternal: boolean;1035  readonly isCollectionIsInternal: boolean;1036  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';1037}10381039/** @name PalletCommonEvent */1040export interface PalletCommonEvent extends Enum {1041  readonly isCollectionCreated: boolean;1042  readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1043  readonly isCollectionDestroyed: boolean;1044  readonly asCollectionDestroyed: u32;1045  readonly isItemCreated: boolean;1046  readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1047  readonly isItemDestroyed: boolean;1048  readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1049  readonly isTransfer: boolean;1050  readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1051  readonly isApproved: boolean;1052  readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1053  readonly isCollectionPropertySet: boolean;1054  readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1055  readonly isCollectionPropertyDeleted: boolean;1056  readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1057  readonly isTokenPropertySet: boolean;1058  readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1059  readonly isTokenPropertyDeleted: boolean;1060  readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1061  readonly isPropertyPermissionSet: boolean;1062  readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1063  readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1064}10651066/** @name PalletConfigurationCall */1067export interface PalletConfigurationCall extends Enum {1068  readonly isSetWeightToFeeCoefficientOverride: boolean;1069  readonly asSetWeightToFeeCoefficientOverride: {1070    readonly coeff: Option<u32>;1071  } & Struct;1072  readonly isSetMinGasPriceOverride: boolean;1073  readonly asSetMinGasPriceOverride: {1074    readonly coeff: Option<u64>;1075  } & Struct;1076  readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1077}10781079/** @name PalletEthereumCall */1080export interface PalletEthereumCall extends Enum {1081  readonly isTransact: boolean;1082  readonly asTransact: {1083    readonly transaction: EthereumTransactionTransactionV2;1084  } & Struct;1085  readonly type: 'Transact';1086}10871088/** @name PalletEthereumError */1089export interface PalletEthereumError extends Enum {1090  readonly isInvalidSignature: boolean;1091  readonly isPreLogExists: boolean;1092  readonly type: 'InvalidSignature' | 'PreLogExists';1093}10941095/** @name PalletEthereumEvent */1096export interface PalletEthereumEvent extends Enum {1097  readonly isExecuted: boolean;1098  readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1099  readonly type: 'Executed';1100}11011102/** @name PalletEthereumFakeTransactionFinalizer */1103export interface PalletEthereumFakeTransactionFinalizer extends Null {}11041105/** @name PalletEthereumRawOrigin */1106export interface PalletEthereumRawOrigin extends Enum {1107  readonly isEthereumTransaction: boolean;1108  readonly asEthereumTransaction: H160;1109  readonly type: 'EthereumTransaction';1110}11111112/** @name PalletEvmAccountBasicCrossAccountIdRepr */1113export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1114  readonly isSubstrate: boolean;1115  readonly asSubstrate: AccountId32;1116  readonly isEthereum: boolean;1117  readonly asEthereum: H160;1118  readonly type: 'Substrate' | 'Ethereum';1119}11201121/** @name PalletEvmCall */1122export interface PalletEvmCall extends Enum {1123  readonly isWithdraw: boolean;1124  readonly asWithdraw: {1125    readonly address: H160;1126    readonly value: u128;1127  } & Struct;1128  readonly isCall: boolean;1129  readonly asCall: {1130    readonly source: H160;1131    readonly target: H160;1132    readonly input: Bytes;1133    readonly value: U256;1134    readonly gasLimit: u64;1135    readonly maxFeePerGas: U256;1136    readonly maxPriorityFeePerGas: Option<U256>;1137    readonly nonce: Option<U256>;1138    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1139  } & Struct;1140  readonly isCreate: boolean;1141  readonly asCreate: {1142    readonly source: H160;1143    readonly init: Bytes;1144    readonly value: U256;1145    readonly gasLimit: u64;1146    readonly maxFeePerGas: U256;1147    readonly maxPriorityFeePerGas: Option<U256>;1148    readonly nonce: Option<U256>;1149    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1150  } & Struct;1151  readonly isCreate2: boolean;1152  readonly asCreate2: {1153    readonly source: H160;1154    readonly init: Bytes;1155    readonly salt: H256;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 type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1164}11651166/** @name PalletEvmCoderSubstrateError */1167export interface PalletEvmCoderSubstrateError extends Enum {1168  readonly isOutOfGas: boolean;1169  readonly isOutOfFund: boolean;1170  readonly type: 'OutOfGas' | 'OutOfFund';1171}11721173/** @name PalletEvmContractHelpersError */1174export interface PalletEvmContractHelpersError extends Enum {1175  readonly isNoPermission: boolean;1176  readonly isNoPendingSponsor: boolean;1177  readonly type: 'NoPermission' | 'NoPendingSponsor';1178}11791180/** @name PalletEvmContractHelpersSponsoringModeT */1181export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1182  readonly isDisabled: boolean;1183  readonly isAllowlisted: boolean;1184  readonly isGenerous: boolean;1185  readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1186}11871188/** @name PalletEvmError */1189export interface PalletEvmError extends Enum {1190  readonly isBalanceLow: boolean;1191  readonly isFeeOverflow: boolean;1192  readonly isPaymentOverflow: boolean;1193  readonly isWithdrawFailed: boolean;1194  readonly isGasPriceTooLow: boolean;1195  readonly isInvalidNonce: boolean;1196  readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1197}11981199/** @name PalletEvmEvent */1200export interface PalletEvmEvent extends Enum {1201  readonly isLog: boolean;1202  readonly asLog: EthereumLog;1203  readonly isCreated: boolean;1204  readonly asCreated: H160;1205  readonly isCreatedFailed: boolean;1206  readonly asCreatedFailed: H160;1207  readonly isExecuted: boolean;1208  readonly asExecuted: H160;1209  readonly isExecutedFailed: boolean;1210  readonly asExecutedFailed: H160;1211  readonly isBalanceDeposit: boolean;1212  readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1213  readonly isBalanceWithdraw: boolean;1214  readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1215  readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1216}12171218/** @name PalletEvmMigrationCall */1219export interface PalletEvmMigrationCall extends Enum {1220  readonly isBegin: boolean;1221  readonly asBegin: {1222    readonly address: H160;1223  } & Struct;1224  readonly isSetData: boolean;1225  readonly asSetData: {1226    readonly address: H160;1227    readonly data: Vec<ITuple<[H256, H256]>>;1228  } & Struct;1229  readonly isFinish: boolean;1230  readonly asFinish: {1231    readonly address: H160;1232    readonly code: Bytes;1233  } & Struct;1234  readonly type: 'Begin' | 'SetData' | 'Finish';1235}12361237/** @name PalletEvmMigrationError */1238export interface PalletEvmMigrationError extends Enum {1239  readonly isAccountNotEmpty: boolean;1240  readonly isAccountIsNotMigrating: boolean;1241  readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1242}12431244/** @name PalletFungibleError */1245export interface PalletFungibleError extends Enum {1246  readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1247  readonly isFungibleItemsHaveNoId: boolean;1248  readonly isFungibleItemsDontHaveData: boolean;1249  readonly isFungibleDisallowsNesting: boolean;1250  readonly isSettingPropertiesNotAllowed: boolean;1251  readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1252}12531254/** @name PalletInflationCall */1255export interface PalletInflationCall extends Enum {1256  readonly isStartInflation: boolean;1257  readonly asStartInflation: {1258    readonly inflationStartRelayBlock: u32;1259  } & Struct;1260  readonly type: 'StartInflation';1261}12621263/** @name PalletNonfungibleError */1264export interface PalletNonfungibleError extends Enum {1265  readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1266  readonly isNonfungibleItemsHaveNoAmount: boolean;1267  readonly isCantBurnNftWithChildren: boolean;1268  readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1269}12701271/** @name PalletNonfungibleItemData */1272export interface PalletNonfungibleItemData extends Struct {1273  readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1274}12751276/** @name PalletRefungibleError */1277export interface PalletRefungibleError extends Enum {1278  readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1279  readonly isWrongRefungiblePieces: boolean;1280  readonly isRepartitionWhileNotOwningAllPieces: boolean;1281  readonly isRefungibleDisallowsNesting: boolean;1282  readonly isSettingPropertiesNotAllowed: boolean;1283  readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1284}12851286/** @name PalletRefungibleItemData */1287export interface PalletRefungibleItemData extends Struct {1288  readonly constData: Bytes;1289}12901291/** @name PalletRmrkCoreCall */1292export interface PalletRmrkCoreCall extends Enum {1293  readonly isCreateCollection: boolean;1294  readonly asCreateCollection: {1295    readonly metadata: Bytes;1296    readonly max: Option<u32>;1297    readonly symbol: Bytes;1298  } & Struct;1299  readonly isDestroyCollection: boolean;1300  readonly asDestroyCollection: {1301    readonly collectionId: u32;1302  } & Struct;1303  readonly isChangeCollectionIssuer: boolean;1304  readonly asChangeCollectionIssuer: {1305    readonly collectionId: u32;1306    readonly newIssuer: MultiAddress;1307  } & Struct;1308  readonly isLockCollection: boolean;1309  readonly asLockCollection: {1310    readonly collectionId: u32;1311  } & Struct;1312  readonly isMintNft: boolean;1313  readonly asMintNft: {1314    readonly owner: Option<AccountId32>;1315    readonly collectionId: u32;1316    readonly recipient: Option<AccountId32>;1317    readonly royaltyAmount: Option<Permill>;1318    readonly metadata: Bytes;1319    readonly transferable: bool;1320    readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1321  } & Struct;1322  readonly isBurnNft: boolean;1323  readonly asBurnNft: {1324    readonly collectionId: u32;1325    readonly nftId: u32;1326    readonly maxBurns: u32;1327  } & Struct;1328  readonly isSend: boolean;1329  readonly asSend: {1330    readonly rmrkCollectionId: u32;1331    readonly rmrkNftId: u32;1332    readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1333  } & Struct;1334  readonly isAcceptNft: boolean;1335  readonly asAcceptNft: {1336    readonly rmrkCollectionId: u32;1337    readonly rmrkNftId: u32;1338    readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1339  } & Struct;1340  readonly isRejectNft: boolean;1341  readonly asRejectNft: {1342    readonly rmrkCollectionId: u32;1343    readonly rmrkNftId: u32;1344  } & Struct;1345  readonly isAcceptResource: boolean;1346  readonly asAcceptResource: {1347    readonly rmrkCollectionId: u32;1348    readonly rmrkNftId: u32;1349    readonly resourceId: u32;1350  } & Struct;1351  readonly isAcceptResourceRemoval: boolean;1352  readonly asAcceptResourceRemoval: {1353    readonly rmrkCollectionId: u32;1354    readonly rmrkNftId: u32;1355    readonly resourceId: u32;1356  } & Struct;1357  readonly isSetProperty: boolean;1358  readonly asSetProperty: {1359    readonly rmrkCollectionId: Compact<u32>;1360    readonly maybeNftId: Option<u32>;1361    readonly key: Bytes;1362    readonly value: Bytes;1363  } & Struct;1364  readonly isSetPriority: boolean;1365  readonly asSetPriority: {1366    readonly rmrkCollectionId: u32;1367    readonly rmrkNftId: u32;1368    readonly priorities: Vec<u32>;1369  } & Struct;1370  readonly isAddBasicResource: boolean;1371  readonly asAddBasicResource: {1372    readonly rmrkCollectionId: u32;1373    readonly nftId: u32;1374    readonly resource: RmrkTraitsResourceBasicResource;1375  } & Struct;1376  readonly isAddComposableResource: boolean;1377  readonly asAddComposableResource: {1378    readonly rmrkCollectionId: u32;1379    readonly nftId: u32;1380    readonly resource: RmrkTraitsResourceComposableResource;1381  } & Struct;1382  readonly isAddSlotResource: boolean;1383  readonly asAddSlotResource: {1384    readonly rmrkCollectionId: u32;1385    readonly nftId: u32;1386    readonly resource: RmrkTraitsResourceSlotResource;1387  } & Struct;1388  readonly isRemoveResource: boolean;1389  readonly asRemoveResource: {1390    readonly rmrkCollectionId: u32;1391    readonly nftId: u32;1392    readonly resourceId: u32;1393  } & Struct;1394  readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1395}13961397/** @name PalletRmrkCoreError */1398export interface PalletRmrkCoreError extends Enum {1399  readonly isCorruptedCollectionType: boolean;1400  readonly isRmrkPropertyKeyIsTooLong: boolean;1401  readonly isRmrkPropertyValueIsTooLong: boolean;1402  readonly isRmrkPropertyIsNotFound: boolean;1403  readonly isUnableToDecodeRmrkData: boolean;1404  readonly isCollectionNotEmpty: boolean;1405  readonly isNoAvailableCollectionId: boolean;1406  readonly isNoAvailableNftId: boolean;1407  readonly isCollectionUnknown: boolean;1408  readonly isNoPermission: boolean;1409  readonly isNonTransferable: boolean;1410  readonly isCollectionFullOrLocked: boolean;1411  readonly isResourceDoesntExist: boolean;1412  readonly isCannotSendToDescendentOrSelf: boolean;1413  readonly isCannotAcceptNonOwnedNft: boolean;1414  readonly isCannotRejectNonOwnedNft: boolean;1415  readonly isCannotRejectNonPendingNft: boolean;1416  readonly isResourceNotPending: boolean;1417  readonly isNoAvailableResourceId: boolean;1418  readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1419}14201421/** @name PalletRmrkCoreEvent */1422export interface PalletRmrkCoreEvent extends Enum {1423  readonly isCollectionCreated: boolean;1424  readonly asCollectionCreated: {1425    readonly issuer: AccountId32;1426    readonly collectionId: u32;1427  } & Struct;1428  readonly isCollectionDestroyed: boolean;1429  readonly asCollectionDestroyed: {1430    readonly issuer: AccountId32;1431    readonly collectionId: u32;1432  } & Struct;1433  readonly isIssuerChanged: boolean;1434  readonly asIssuerChanged: {1435    readonly oldIssuer: AccountId32;1436    readonly newIssuer: AccountId32;1437    readonly collectionId: u32;1438  } & Struct;1439  readonly isCollectionLocked: boolean;1440  readonly asCollectionLocked: {1441    readonly issuer: AccountId32;1442    readonly collectionId: u32;1443  } & Struct;1444  readonly isNftMinted: boolean;1445  readonly asNftMinted: {1446    readonly owner: AccountId32;1447    readonly collectionId: u32;1448    readonly nftId: u32;1449  } & Struct;1450  readonly isNftBurned: boolean;1451  readonly asNftBurned: {1452    readonly owner: AccountId32;1453    readonly nftId: u32;1454  } & Struct;1455  readonly isNftSent: boolean;1456  readonly asNftSent: {1457    readonly sender: AccountId32;1458    readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1459    readonly collectionId: u32;1460    readonly nftId: u32;1461    readonly approvalRequired: bool;1462  } & Struct;1463  readonly isNftAccepted: boolean;1464  readonly asNftAccepted: {1465    readonly sender: AccountId32;1466    readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1467    readonly collectionId: u32;1468    readonly nftId: u32;1469  } & Struct;1470  readonly isNftRejected: boolean;1471  readonly asNftRejected: {1472    readonly sender: AccountId32;1473    readonly collectionId: u32;1474    readonly nftId: u32;1475  } & Struct;1476  readonly isPropertySet: boolean;1477  readonly asPropertySet: {1478    readonly collectionId: u32;1479    readonly maybeNftId: Option<u32>;1480    readonly key: Bytes;1481    readonly value: Bytes;1482  } & Struct;1483  readonly isResourceAdded: boolean;1484  readonly asResourceAdded: {1485    readonly nftId: u32;1486    readonly resourceId: u32;1487  } & Struct;1488  readonly isResourceRemoval: boolean;1489  readonly asResourceRemoval: {1490    readonly nftId: u32;1491    readonly resourceId: u32;1492  } & Struct;1493  readonly isResourceAccepted: boolean;1494  readonly asResourceAccepted: {1495    readonly nftId: u32;1496    readonly resourceId: u32;1497  } & Struct;1498  readonly isResourceRemovalAccepted: boolean;1499  readonly asResourceRemovalAccepted: {1500    readonly nftId: u32;1501    readonly resourceId: u32;1502  } & Struct;1503  readonly isPrioritySet: boolean;1504  readonly asPrioritySet: {1505    readonly collectionId: u32;1506    readonly nftId: u32;1507  } & Struct;1508  readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1509}15101511/** @name PalletRmrkEquipCall */1512export interface PalletRmrkEquipCall extends Enum {1513  readonly isCreateBase: boolean;1514  readonly asCreateBase: {1515    readonly baseType: Bytes;1516    readonly symbol: Bytes;1517    readonly parts: Vec<RmrkTraitsPartPartType>;1518  } & Struct;1519  readonly isThemeAdd: boolean;1520  readonly asThemeAdd: {1521    readonly baseId: u32;1522    readonly theme: RmrkTraitsTheme;1523  } & Struct;1524  readonly isEquippable: boolean;1525  readonly asEquippable: {1526    readonly baseId: u32;1527    readonly slotId: u32;1528    readonly equippables: RmrkTraitsPartEquippableList;1529  } & Struct;1530  readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1531}15321533/** @name PalletRmrkEquipError */1534export interface PalletRmrkEquipError extends Enum {1535  readonly isPermissionError: boolean;1536  readonly isNoAvailableBaseId: boolean;1537  readonly isNoAvailablePartId: boolean;1538  readonly isBaseDoesntExist: boolean;1539  readonly isNeedsDefaultThemeFirst: boolean;1540  readonly isPartDoesntExist: boolean;1541  readonly isNoEquippableOnFixedPart: boolean;1542  readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1543}15441545/** @name PalletRmrkEquipEvent */1546export interface PalletRmrkEquipEvent extends Enum {1547  readonly isBaseCreated: boolean;1548  readonly asBaseCreated: {1549    readonly issuer: AccountId32;1550    readonly baseId: u32;1551  } & Struct;1552  readonly isEquippablesUpdated: boolean;1553  readonly asEquippablesUpdated: {1554    readonly baseId: u32;1555    readonly slotId: u32;1556  } & Struct;1557  readonly type: 'BaseCreated' | 'EquippablesUpdated';1558}15591560/** @name PalletStructureCall */1561export interface PalletStructureCall extends Null {}15621563/** @name PalletStructureError */1564export interface PalletStructureError extends Enum {1565  readonly isOuroborosDetected: boolean;1566  readonly isDepthLimit: boolean;1567  readonly isBreadthLimit: boolean;1568  readonly isTokenNotFound: boolean;1569  readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1570}15711572/** @name PalletStructureEvent */1573export interface PalletStructureEvent extends Enum {1574  readonly isExecuted: boolean;1575  readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1576  readonly type: 'Executed';1577}15781579/** @name PalletSudoCall */1580export interface PalletSudoCall extends Enum {1581  readonly isSudo: boolean;1582  readonly asSudo: {1583    readonly call: Call;1584  } & Struct;1585  readonly isSudoUncheckedWeight: boolean;1586  readonly asSudoUncheckedWeight: {1587    readonly call: Call;1588    readonly weight: u64;1589  } & Struct;1590  readonly isSetKey: boolean;1591  readonly asSetKey: {1592    readonly new_: MultiAddress;1593  } & Struct;1594  readonly isSudoAs: boolean;1595  readonly asSudoAs: {1596    readonly who: MultiAddress;1597    readonly call: Call;1598  } & Struct;1599  readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1600}16011602/** @name PalletSudoError */1603export interface PalletSudoError extends Enum {1604  readonly isRequireSudo: boolean;1605  readonly type: 'RequireSudo';1606}16071608/** @name PalletSudoEvent */1609export interface PalletSudoEvent extends Enum {1610  readonly isSudid: boolean;1611  readonly asSudid: {1612    readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1613  } & Struct;1614  readonly isKeyChanged: boolean;1615  readonly asKeyChanged: {1616    readonly oldSudoer: Option<AccountId32>;1617  } & Struct;1618  readonly isSudoAsDone: boolean;1619  readonly asSudoAsDone: {1620    readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1621  } & Struct;1622  readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1623}16241625/** @name PalletTemplateTransactionPaymentCall */1626export interface PalletTemplateTransactionPaymentCall extends Null {}16271628/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1629export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16301631/** @name PalletTimestampCall */1632export interface PalletTimestampCall extends Enum {1633  readonly isSet: boolean;1634  readonly asSet: {1635    readonly now: Compact<u64>;1636  } & Struct;1637  readonly type: 'Set';1638}16391640/** @name PalletTransactionPaymentEvent */1641export interface PalletTransactionPaymentEvent extends Enum {1642  readonly isTransactionFeePaid: boolean;1643  readonly asTransactionFeePaid: {1644    readonly who: AccountId32;1645    readonly actualFee: u128;1646    readonly tip: u128;1647  } & Struct;1648  readonly type: 'TransactionFeePaid';1649}16501651/** @name PalletTransactionPaymentReleases */1652export interface PalletTransactionPaymentReleases extends Enum {1653  readonly isV1Ancient: boolean;1654  readonly isV2: boolean;1655  readonly type: 'V1Ancient' | 'V2';1656}16571658/** @name PalletTreasuryCall */1659export interface PalletTreasuryCall extends Enum {1660  readonly isProposeSpend: boolean;1661  readonly asProposeSpend: {1662    readonly value: Compact<u128>;1663    readonly beneficiary: MultiAddress;1664  } & Struct;1665  readonly isRejectProposal: boolean;1666  readonly asRejectProposal: {1667    readonly proposalId: Compact<u32>;1668  } & Struct;1669  readonly isApproveProposal: boolean;1670  readonly asApproveProposal: {1671    readonly proposalId: Compact<u32>;1672  } & Struct;1673  readonly isSpend: boolean;1674  readonly asSpend: {1675    readonly amount: Compact<u128>;1676    readonly beneficiary: MultiAddress;1677  } & Struct;1678  readonly isRemoveApproval: boolean;1679  readonly asRemoveApproval: {1680    readonly proposalId: Compact<u32>;1681  } & Struct;1682  readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1683}16841685/** @name PalletTreasuryError */1686export interface PalletTreasuryError extends Enum {1687  readonly isInsufficientProposersBalance: boolean;1688  readonly isInvalidIndex: boolean;1689  readonly isTooManyApprovals: boolean;1690  readonly isInsufficientPermission: boolean;1691  readonly isProposalNotApproved: boolean;1692  readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1693}16941695/** @name PalletTreasuryEvent */1696export interface PalletTreasuryEvent extends Enum {1697  readonly isProposed: boolean;1698  readonly asProposed: {1699    readonly proposalIndex: u32;1700  } & Struct;1701  readonly isSpending: boolean;1702  readonly asSpending: {1703    readonly budgetRemaining: u128;1704  } & Struct;1705  readonly isAwarded: boolean;1706  readonly asAwarded: {1707    readonly proposalIndex: u32;1708    readonly award: u128;1709    readonly account: AccountId32;1710  } & Struct;1711  readonly isRejected: boolean;1712  readonly asRejected: {1713    readonly proposalIndex: u32;1714    readonly slashed: u128;1715  } & Struct;1716  readonly isBurnt: boolean;1717  readonly asBurnt: {1718    readonly burntFunds: u128;1719  } & Struct;1720  readonly isRollover: boolean;1721  readonly asRollover: {1722    readonly rolloverBalance: u128;1723  } & Struct;1724  readonly isDeposit: boolean;1725  readonly asDeposit: {1726    readonly value: u128;1727  } & Struct;1728  readonly isSpendApproved: boolean;1729  readonly asSpendApproved: {1730    readonly proposalIndex: u32;1731    readonly amount: u128;1732    readonly beneficiary: AccountId32;1733  } & Struct;1734  readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1735}17361737/** @name PalletTreasuryProposal */1738export interface PalletTreasuryProposal extends Struct {1739  readonly proposer: AccountId32;1740  readonly value: u128;1741  readonly beneficiary: AccountId32;1742  readonly bond: u128;1743}17441745/** @name PalletUniqueCall */1746export interface PalletUniqueCall extends Enum {1747  readonly isCreateCollection: boolean;1748  readonly asCreateCollection: {1749    readonly collectionName: Vec<u16>;1750    readonly collectionDescription: Vec<u16>;1751    readonly tokenPrefix: Bytes;1752    readonly mode: UpDataStructsCollectionMode;1753  } & Struct;1754  readonly isCreateCollectionEx: boolean;1755  readonly asCreateCollectionEx: {1756    readonly data: UpDataStructsCreateCollectionData;1757  } & Struct;1758  readonly isDestroyCollection: boolean;1759  readonly asDestroyCollection: {1760    readonly collectionId: u32;1761  } & Struct;1762  readonly isAddToAllowList: boolean;1763  readonly asAddToAllowList: {1764    readonly collectionId: u32;1765    readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1766  } & Struct;1767  readonly isRemoveFromAllowList: boolean;1768  readonly asRemoveFromAllowList: {1769    readonly collectionId: u32;1770    readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1771  } & Struct;1772  readonly isChangeCollectionOwner: boolean;1773  readonly asChangeCollectionOwner: {1774    readonly collectionId: u32;1775    readonly newOwner: AccountId32;1776  } & Struct;1777  readonly isAddCollectionAdmin: boolean;1778  readonly asAddCollectionAdmin: {1779    readonly collectionId: u32;1780    readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1781  } & Struct;1782  readonly isRemoveCollectionAdmin: boolean;1783  readonly asRemoveCollectionAdmin: {1784    readonly collectionId: u32;1785    readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1786  } & Struct;1787  readonly isSetCollectionSponsor: boolean;1788  readonly asSetCollectionSponsor: {1789    readonly collectionId: u32;1790    readonly newSponsor: AccountId32;1791  } & Struct;1792  readonly isConfirmSponsorship: boolean;1793  readonly asConfirmSponsorship: {1794    readonly collectionId: u32;1795  } & Struct;1796  readonly isRemoveCollectionSponsor: boolean;1797  readonly asRemoveCollectionSponsor: {1798    readonly collectionId: u32;1799  } & Struct;1800  readonly isCreateItem: boolean;1801  readonly asCreateItem: {1802    readonly collectionId: u32;1803    readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1804    readonly data: UpDataStructsCreateItemData;1805  } & Struct;1806  readonly isCreateMultipleItems: boolean;1807  readonly asCreateMultipleItems: {1808    readonly collectionId: u32;1809    readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1810    readonly itemsData: Vec<UpDataStructsCreateItemData>;1811  } & Struct;1812  readonly isSetCollectionProperties: boolean;1813  readonly asSetCollectionProperties: {1814    readonly collectionId: u32;1815    readonly properties: Vec<UpDataStructsProperty>;1816  } & Struct;1817  readonly isDeleteCollectionProperties: boolean;1818  readonly asDeleteCollectionProperties: {1819    readonly collectionId: u32;1820    readonly propertyKeys: Vec<Bytes>;1821  } & Struct;1822  readonly isSetTokenProperties: boolean;1823  readonly asSetTokenProperties: {1824    readonly collectionId: u32;1825    readonly tokenId: u32;1826    readonly properties: Vec<UpDataStructsProperty>;1827  } & Struct;1828  readonly isDeleteTokenProperties: boolean;1829  readonly asDeleteTokenProperties: {1830    readonly collectionId: u32;1831    readonly tokenId: u32;1832    readonly propertyKeys: Vec<Bytes>;1833  } & Struct;1834  readonly isSetTokenPropertyPermissions: boolean;1835  readonly asSetTokenPropertyPermissions: {1836    readonly collectionId: u32;1837    readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1838  } & Struct;1839  readonly isCreateMultipleItemsEx: boolean;1840  readonly asCreateMultipleItemsEx: {1841    readonly collectionId: u32;1842    readonly data: UpDataStructsCreateItemExData;1843  } & Struct;1844  readonly isSetTransfersEnabledFlag: boolean;1845  readonly asSetTransfersEnabledFlag: {1846    readonly collectionId: u32;1847    readonly value: bool;1848  } & Struct;1849  readonly isBurnItem: boolean;1850  readonly asBurnItem: {1851    readonly collectionId: u32;1852    readonly itemId: u32;1853    readonly value: u128;1854  } & Struct;1855  readonly isBurnFrom: boolean;1856  readonly asBurnFrom: {1857    readonly collectionId: u32;1858    readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1859    readonly itemId: u32;1860    readonly value: u128;1861  } & Struct;1862  readonly isTransfer: boolean;1863  readonly asTransfer: {1864    readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1865    readonly collectionId: u32;1866    readonly itemId: u32;1867    readonly value: u128;1868  } & Struct;1869  readonly isApprove: boolean;1870  readonly asApprove: {1871    readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1872    readonly collectionId: u32;1873    readonly itemId: u32;1874    readonly amount: u128;1875  } & Struct;1876  readonly isTransferFrom: boolean;1877  readonly asTransferFrom: {1878    readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1879    readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1880    readonly collectionId: u32;1881    readonly itemId: u32;1882    readonly value: u128;1883  } & Struct;1884  readonly isSetCollectionLimits: boolean;1885  readonly asSetCollectionLimits: {1886    readonly collectionId: u32;1887    readonly newLimit: UpDataStructsCollectionLimits;1888  } & Struct;1889  readonly isSetCollectionPermissions: boolean;1890  readonly asSetCollectionPermissions: {1891    readonly collectionId: u32;1892    readonly newPermission: UpDataStructsCollectionPermissions;1893  } & Struct;1894  readonly isRepartition: boolean;1895  readonly asRepartition: {1896    readonly collectionId: u32;1897    readonly tokenId: u32;1898    readonly amount: u128;1899  } & Struct;1900  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';1901}19021903/** @name PalletUniqueError */1904export interface PalletUniqueError extends Enum {1905  readonly isCollectionDecimalPointLimitExceeded: boolean;1906  readonly isConfirmUnsetSponsorFail: boolean;1907  readonly isEmptyArgument: boolean;1908  readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1909  readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1910}19111912/** @name PalletUniqueRawEvent */1913export interface PalletUniqueRawEvent extends Enum {1914  readonly isCollectionSponsorRemoved: boolean;1915  readonly asCollectionSponsorRemoved: u32;1916  readonly isCollectionAdminAdded: boolean;1917  readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1918  readonly isCollectionOwnedChanged: boolean;1919  readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1920  readonly isCollectionSponsorSet: boolean;1921  readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1922  readonly isSponsorshipConfirmed: boolean;1923  readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1924  readonly isCollectionAdminRemoved: boolean;1925  readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1926  readonly isAllowListAddressRemoved: boolean;1927  readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1928  readonly isAllowListAddressAdded: boolean;1929  readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1930  readonly isCollectionLimitSet: boolean;1931  readonly asCollectionLimitSet: u32;1932  readonly isCollectionPermissionSet: boolean;1933  readonly asCollectionPermissionSet: u32;1934  readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1935}19361937/** @name PalletUniqueSchedulerCall */1938export interface PalletUniqueSchedulerCall extends Enum {1939  readonly isScheduleNamed: boolean;1940  readonly asScheduleNamed: {1941    readonly id: U8aFixed;1942    readonly when: u32;1943    readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1944    readonly priority: u8;1945    readonly call: FrameSupportScheduleMaybeHashed;1946  } & Struct;1947  readonly isCancelNamed: boolean;1948  readonly asCancelNamed: {1949    readonly id: U8aFixed;1950  } & Struct;1951  readonly isScheduleNamedAfter: boolean;1952  readonly asScheduleNamedAfter: {1953    readonly id: U8aFixed;1954    readonly after: u32;1955    readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1956    readonly priority: u8;1957    readonly call: FrameSupportScheduleMaybeHashed;1958  } & Struct;1959  readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1960}19611962/** @name PalletUniqueSchedulerError */1963export interface PalletUniqueSchedulerError extends Enum {1964  readonly isFailedToSchedule: boolean;1965  readonly isNotFound: boolean;1966  readonly isTargetBlockNumberInPast: boolean;1967  readonly isRescheduleNoChange: boolean;1968  readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1969}19701971/** @name PalletUniqueSchedulerEvent */1972export interface PalletUniqueSchedulerEvent extends Enum {1973  readonly isScheduled: boolean;1974  readonly asScheduled: {1975    readonly when: u32;1976    readonly index: u32;1977  } & Struct;1978  readonly isCanceled: boolean;1979  readonly asCanceled: {1980    readonly when: u32;1981    readonly index: u32;1982  } & Struct;1983  readonly isDispatched: boolean;1984  readonly asDispatched: {1985    readonly task: ITuple<[u32, u32]>;1986    readonly id: Option<U8aFixed>;1987    readonly result: Result<Null, SpRuntimeDispatchError>;1988  } & Struct;1989  readonly isCallLookupFailed: boolean;1990  readonly asCallLookupFailed: {1991    readonly task: ITuple<[u32, u32]>;1992    readonly id: Option<U8aFixed>;1993    readonly error: FrameSupportScheduleLookupError;1994  } & Struct;1995  readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1996}19971998/** @name PalletUniqueSchedulerScheduledV3 */1999export interface PalletUniqueSchedulerScheduledV3 extends Struct {2000  readonly maybeId: Option<U8aFixed>;2001  readonly priority: u8;2002  readonly call: FrameSupportScheduleMaybeHashed;2003  readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2004  readonly origin: OpalRuntimeOriginCaller;2005}20062007/** @name PalletXcmCall */2008export interface PalletXcmCall extends Enum {2009  readonly isSend: boolean;2010  readonly asSend: {2011    readonly dest: XcmVersionedMultiLocation;2012    readonly message: XcmVersionedXcm;2013  } & Struct;2014  readonly isTeleportAssets: boolean;2015  readonly asTeleportAssets: {2016    readonly dest: XcmVersionedMultiLocation;2017    readonly beneficiary: XcmVersionedMultiLocation;2018    readonly assets: XcmVersionedMultiAssets;2019    readonly feeAssetItem: u32;2020  } & Struct;2021  readonly isReserveTransferAssets: boolean;2022  readonly asReserveTransferAssets: {2023    readonly dest: XcmVersionedMultiLocation;2024    readonly beneficiary: XcmVersionedMultiLocation;2025    readonly assets: XcmVersionedMultiAssets;2026    readonly feeAssetItem: u32;2027  } & Struct;2028  readonly isExecute: boolean;2029  readonly asExecute: {2030    readonly message: XcmVersionedXcm;2031    readonly maxWeight: u64;2032  } & Struct;2033  readonly isForceXcmVersion: boolean;2034  readonly asForceXcmVersion: {2035    readonly location: XcmV1MultiLocation;2036    readonly xcmVersion: u32;2037  } & Struct;2038  readonly isForceDefaultXcmVersion: boolean;2039  readonly asForceDefaultXcmVersion: {2040    readonly maybeXcmVersion: Option<u32>;2041  } & Struct;2042  readonly isForceSubscribeVersionNotify: boolean;2043  readonly asForceSubscribeVersionNotify: {2044    readonly location: XcmVersionedMultiLocation;2045  } & Struct;2046  readonly isForceUnsubscribeVersionNotify: boolean;2047  readonly asForceUnsubscribeVersionNotify: {2048    readonly location: XcmVersionedMultiLocation;2049  } & Struct;2050  readonly isLimitedReserveTransferAssets: boolean;2051  readonly asLimitedReserveTransferAssets: {2052    readonly dest: XcmVersionedMultiLocation;2053    readonly beneficiary: XcmVersionedMultiLocation;2054    readonly assets: XcmVersionedMultiAssets;2055    readonly feeAssetItem: u32;2056    readonly weightLimit: XcmV2WeightLimit;2057  } & Struct;2058  readonly isLimitedTeleportAssets: boolean;2059  readonly asLimitedTeleportAssets: {2060    readonly dest: XcmVersionedMultiLocation;2061    readonly beneficiary: XcmVersionedMultiLocation;2062    readonly assets: XcmVersionedMultiAssets;2063    readonly feeAssetItem: u32;2064    readonly weightLimit: XcmV2WeightLimit;2065  } & Struct;2066  readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2067}20682069/** @name PalletXcmError */2070export interface PalletXcmError extends Enum {2071  readonly isUnreachable: boolean;2072  readonly isSendFailure: boolean;2073  readonly isFiltered: boolean;2074  readonly isUnweighableMessage: boolean;2075  readonly isDestinationNotInvertible: boolean;2076  readonly isEmpty: boolean;2077  readonly isCannotReanchor: boolean;2078  readonly isTooManyAssets: boolean;2079  readonly isInvalidOrigin: boolean;2080  readonly isBadVersion: boolean;2081  readonly isBadLocation: boolean;2082  readonly isNoSubscription: boolean;2083  readonly isAlreadySubscribed: boolean;2084  readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2085}20862087/** @name PalletXcmEvent */2088export interface PalletXcmEvent extends Enum {2089  readonly isAttempted: boolean;2090  readonly asAttempted: XcmV2TraitsOutcome;2091  readonly isSent: boolean;2092  readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2093  readonly isUnexpectedResponse: boolean;2094  readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2095  readonly isResponseReady: boolean;2096  readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2097  readonly isNotified: boolean;2098  readonly asNotified: ITuple<[u64, u8, u8]>;2099  readonly isNotifyOverweight: boolean;2100  readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2101  readonly isNotifyDispatchError: boolean;2102  readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2103  readonly isNotifyDecodeFailed: boolean;2104  readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2105  readonly isInvalidResponder: boolean;2106  readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2107  readonly isInvalidResponderVersion: boolean;2108  readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2109  readonly isResponseTaken: boolean;2110  readonly asResponseTaken: u64;2111  readonly isAssetsTrapped: boolean;2112  readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2113  readonly isVersionChangeNotified: boolean;2114  readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2115  readonly isSupportedVersionChanged: boolean;2116  readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2117  readonly isNotifyTargetSendFail: boolean;2118  readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2119  readonly isNotifyTargetMigrationFail: boolean;2120  readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2121  readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2122}21232124/** @name PalletXcmOrigin */2125export interface PalletXcmOrigin extends Enum {2126  readonly isXcm: boolean;2127  readonly asXcm: XcmV1MultiLocation;2128  readonly isResponse: boolean;2129  readonly asResponse: XcmV1MultiLocation;2130  readonly type: 'Xcm' | 'Response';2131}21322133/** @name PhantomTypeUpDataStructs */2134export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21352136/** @name PolkadotCorePrimitivesInboundDownwardMessage */2137export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2138  readonly sentAt: u32;2139  readonly msg: Bytes;2140}21412142/** @name PolkadotCorePrimitivesInboundHrmpMessage */2143export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2144  readonly sentAt: u32;2145  readonly data: Bytes;2146}21472148/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2149export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2150  readonly recipient: u32;2151  readonly data: Bytes;2152}21532154/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2155export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2156  readonly isConcatenatedVersionedXcm: boolean;2157  readonly isConcatenatedEncodedBlob: boolean;2158  readonly isSignals: boolean;2159  readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2160}21612162/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2163export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2164  readonly maxCodeSize: u32;2165  readonly maxHeadDataSize: u32;2166  readonly maxUpwardQueueCount: u32;2167  readonly maxUpwardQueueSize: u32;2168  readonly maxUpwardMessageSize: u32;2169  readonly maxUpwardMessageNumPerCandidate: u32;2170  readonly hrmpMaxMessageNumPerCandidate: u32;2171  readonly validationUpgradeCooldown: u32;2172  readonly validationUpgradeDelay: u32;2173}21742175/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2176export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2177  readonly maxCapacity: u32;2178  readonly maxTotalSize: u32;2179  readonly maxMessageSize: u32;2180  readonly msgCount: u32;2181  readonly totalSize: u32;2182  readonly mqcHead: Option<H256>;2183}21842185/** @name PolkadotPrimitivesV2PersistedValidationData */2186export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2187  readonly parentHead: Bytes;2188  readonly relayParentNumber: u32;2189  readonly relayParentStorageRoot: H256;2190  readonly maxPovSize: u32;2191}21922193/** @name PolkadotPrimitivesV2UpgradeRestriction */2194export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2195  readonly isPresent: boolean;2196  readonly type: 'Present';2197}21982199/** @name RmrkTraitsBaseBaseInfo */2200export interface RmrkTraitsBaseBaseInfo extends Struct {2201  readonly issuer: AccountId32;2202  readonly baseType: Bytes;2203  readonly symbol: Bytes;2204}22052206/** @name RmrkTraitsCollectionCollectionInfo */2207export interface RmrkTraitsCollectionCollectionInfo extends Struct {2208  readonly issuer: AccountId32;2209  readonly metadata: Bytes;2210  readonly max: Option<u32>;2211  readonly symbol: Bytes;2212  readonly nftsCount: u32;2213}22142215/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2216export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2217  readonly isAccountId: boolean;2218  readonly asAccountId: AccountId32;2219  readonly isCollectionAndNftTuple: boolean;2220  readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2221  readonly type: 'AccountId' | 'CollectionAndNftTuple';2222}22232224/** @name RmrkTraitsNftNftChild */2225export interface RmrkTraitsNftNftChild extends Struct {2226  readonly collectionId: u32;2227  readonly nftId: u32;2228}22292230/** @name RmrkTraitsNftNftInfo */2231export interface RmrkTraitsNftNftInfo extends Struct {2232  readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2233  readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2234  readonly metadata: Bytes;2235  readonly equipped: bool;2236  readonly pending: bool;2237}22382239/** @name RmrkTraitsNftRoyaltyInfo */2240export interface RmrkTraitsNftRoyaltyInfo extends Struct {2241  readonly recipient: AccountId32;2242  readonly amount: Permill;2243}22442245/** @name RmrkTraitsPartEquippableList */2246export interface RmrkTraitsPartEquippableList extends Enum {2247  readonly isAll: boolean;2248  readonly isEmpty: boolean;2249  readonly isCustom: boolean;2250  readonly asCustom: Vec<u32>;2251  readonly type: 'All' | 'Empty' | 'Custom';2252}22532254/** @name RmrkTraitsPartFixedPart */2255export interface RmrkTraitsPartFixedPart extends Struct {2256  readonly id: u32;2257  readonly z: u32;2258  readonly src: Bytes;2259}22602261/** @name RmrkTraitsPartPartType */2262export interface RmrkTraitsPartPartType extends Enum {2263  readonly isFixedPart: boolean;2264  readonly asFixedPart: RmrkTraitsPartFixedPart;2265  readonly isSlotPart: boolean;2266  readonly asSlotPart: RmrkTraitsPartSlotPart;2267  readonly type: 'FixedPart' | 'SlotPart';2268}22692270/** @name RmrkTraitsPartSlotPart */2271export interface RmrkTraitsPartSlotPart extends Struct {2272  readonly id: u32;2273  readonly equippable: RmrkTraitsPartEquippableList;2274  readonly src: Bytes;2275  readonly z: u32;2276}22772278/** @name RmrkTraitsPropertyPropertyInfo */2279export interface RmrkTraitsPropertyPropertyInfo extends Struct {2280  readonly key: Bytes;2281  readonly value: Bytes;2282}22832284/** @name RmrkTraitsResourceBasicResource */2285export interface RmrkTraitsResourceBasicResource extends Struct {2286  readonly src: Option<Bytes>;2287  readonly metadata: Option<Bytes>;2288  readonly license: Option<Bytes>;2289  readonly thumb: Option<Bytes>;2290}22912292/** @name RmrkTraitsResourceComposableResource */2293export interface RmrkTraitsResourceComposableResource extends Struct {2294  readonly parts: Vec<u32>;2295  readonly base: u32;2296  readonly src: Option<Bytes>;2297  readonly metadata: Option<Bytes>;2298  readonly license: Option<Bytes>;2299  readonly thumb: Option<Bytes>;2300}23012302/** @name RmrkTraitsResourceResourceInfo */2303export interface RmrkTraitsResourceResourceInfo extends Struct {2304  readonly id: u32;2305  readonly resource: RmrkTraitsResourceResourceTypes;2306  readonly pending: bool;2307  readonly pendingRemoval: bool;2308}23092310/** @name RmrkTraitsResourceResourceTypes */2311export interface RmrkTraitsResourceResourceTypes extends Enum {2312  readonly isBasic: boolean;2313  readonly asBasic: RmrkTraitsResourceBasicResource;2314  readonly isComposable: boolean;2315  readonly asComposable: RmrkTraitsResourceComposableResource;2316  readonly isSlot: boolean;2317  readonly asSlot: RmrkTraitsResourceSlotResource;2318  readonly type: 'Basic' | 'Composable' | 'Slot';2319}23202321/** @name RmrkTraitsResourceSlotResource */2322export interface RmrkTraitsResourceSlotResource extends Struct {2323  readonly base: u32;2324  readonly src: Option<Bytes>;2325  readonly metadata: Option<Bytes>;2326  readonly slot: u32;2327  readonly license: Option<Bytes>;2328  readonly thumb: Option<Bytes>;2329}23302331/** @name RmrkTraitsTheme */2332export interface RmrkTraitsTheme extends Struct {2333  readonly name: Bytes;2334  readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2335  readonly inherit: bool;2336}23372338/** @name RmrkTraitsThemeThemeProperty */2339export interface RmrkTraitsThemeThemeProperty extends Struct {2340  readonly key: Bytes;2341  readonly value: Bytes;2342}23432344/** @name SpCoreEcdsaSignature */2345export interface SpCoreEcdsaSignature extends U8aFixed {}23462347/** @name SpCoreEd25519Signature */2348export interface SpCoreEd25519Signature extends U8aFixed {}23492350/** @name SpCoreSr25519Signature */2351export interface SpCoreSr25519Signature extends U8aFixed {}23522353/** @name SpCoreVoid */2354export interface SpCoreVoid extends Null {}23552356/** @name SpRuntimeArithmeticError */2357export interface SpRuntimeArithmeticError extends Enum {2358  readonly isUnderflow: boolean;2359  readonly isOverflow: boolean;2360  readonly isDivisionByZero: boolean;2361  readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2362}23632364/** @name SpRuntimeDigest */2365export interface SpRuntimeDigest extends Struct {2366  readonly logs: Vec<SpRuntimeDigestDigestItem>;2367}23682369/** @name SpRuntimeDigestDigestItem */2370export interface SpRuntimeDigestDigestItem extends Enum {2371  readonly isOther: boolean;2372  readonly asOther: Bytes;2373  readonly isConsensus: boolean;2374  readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2375  readonly isSeal: boolean;2376  readonly asSeal: ITuple<[U8aFixed, Bytes]>;2377  readonly isPreRuntime: boolean;2378  readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2379  readonly isRuntimeEnvironmentUpdated: boolean;2380  readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2381}23822383/** @name SpRuntimeDispatchError */2384export interface SpRuntimeDispatchError extends Enum {2385  readonly isOther: boolean;2386  readonly isCannotLookup: boolean;2387  readonly isBadOrigin: boolean;2388  readonly isModule: boolean;2389  readonly asModule: SpRuntimeModuleError;2390  readonly isConsumerRemaining: boolean;2391  readonly isNoProviders: boolean;2392  readonly isTooManyConsumers: boolean;2393  readonly isToken: boolean;2394  readonly asToken: SpRuntimeTokenError;2395  readonly isArithmetic: boolean;2396  readonly asArithmetic: SpRuntimeArithmeticError;2397  readonly isTransactional: boolean;2398  readonly asTransactional: SpRuntimeTransactionalError;2399  readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2400}24012402/** @name SpRuntimeModuleError */2403export interface SpRuntimeModuleError extends Struct {2404  readonly index: u8;2405  readonly error: U8aFixed;2406}24072408/** @name SpRuntimeMultiSignature */2409export interface SpRuntimeMultiSignature extends Enum {2410  readonly isEd25519: boolean;2411  readonly asEd25519: SpCoreEd25519Signature;2412  readonly isSr25519: boolean;2413  readonly asSr25519: SpCoreSr25519Signature;2414  readonly isEcdsa: boolean;2415  readonly asEcdsa: SpCoreEcdsaSignature;2416  readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2417}24182419/** @name SpRuntimeTokenError */2420export interface SpRuntimeTokenError extends Enum {2421  readonly isNoFunds: boolean;2422  readonly isWouldDie: boolean;2423  readonly isBelowMinimum: boolean;2424  readonly isCannotCreate: boolean;2425  readonly isUnknownAsset: boolean;2426  readonly isFrozen: boolean;2427  readonly isUnsupported: boolean;2428  readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2429}24302431/** @name SpRuntimeTransactionalError */2432export interface SpRuntimeTransactionalError extends Enum {2433  readonly isLimitReached: boolean;2434  readonly isNoLayer: boolean;2435  readonly type: 'LimitReached' | 'NoLayer';2436}24372438/** @name SpTrieStorageProof */2439export interface SpTrieStorageProof extends Struct {2440  readonly trieNodes: BTreeSet<Bytes>;2441}24422443/** @name SpVersionRuntimeVersion */2444export interface SpVersionRuntimeVersion extends Struct {2445  readonly specName: Text;2446  readonly implName: Text;2447  readonly authoringVersion: u32;2448  readonly specVersion: u32;2449  readonly implVersion: u32;2450  readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2451  readonly transactionVersion: u32;2452  readonly stateVersion: u8;2453}24542455/** @name UpDataStructsAccessMode */2456export interface UpDataStructsAccessMode extends Enum {2457  readonly isNormal: boolean;2458  readonly isAllowList: boolean;2459  readonly type: 'Normal' | 'AllowList';2460}24612462/** @name UpDataStructsCollection */2463export interface UpDataStructsCollection extends Struct {2464  readonly owner: AccountId32;2465  readonly mode: UpDataStructsCollectionMode;2466  readonly name: Vec<u16>;2467  readonly description: Vec<u16>;2468  readonly tokenPrefix: Bytes;2469  readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2470  readonly limits: UpDataStructsCollectionLimits;2471  readonly permissions: UpDataStructsCollectionPermissions;2472  readonly externalCollection: bool;2473}24742475/** @name UpDataStructsCollectionLimits */2476export interface UpDataStructsCollectionLimits extends Struct {2477  readonly accountTokenOwnershipLimit: Option<u32>;2478  readonly sponsoredDataSize: Option<u32>;2479  readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2480  readonly tokenLimit: Option<u32>;2481  readonly sponsorTransferTimeout: Option<u32>;2482  readonly sponsorApproveTimeout: Option<u32>;2483  readonly ownerCanTransfer: Option<bool>;2484  readonly ownerCanDestroy: Option<bool>;2485  readonly transfersEnabled: Option<bool>;2486}24872488/** @name UpDataStructsCollectionMode */2489export interface UpDataStructsCollectionMode extends Enum {2490  readonly isNft: boolean;2491  readonly isFungible: boolean;2492  readonly asFungible: u8;2493  readonly isReFungible: boolean;2494  readonly type: 'Nft' | 'Fungible' | 'ReFungible';2495}24962497/** @name UpDataStructsCollectionPermissions */2498export interface UpDataStructsCollectionPermissions extends Struct {2499  readonly access: Option<UpDataStructsAccessMode>;2500  readonly mintMode: Option<bool>;2501  readonly nesting: Option<UpDataStructsNestingPermissions>;2502}25032504/** @name UpDataStructsCollectionStats */2505export interface UpDataStructsCollectionStats extends Struct {2506  readonly created: u32;2507  readonly destroyed: u32;2508  readonly alive: u32;2509}25102511/** @name UpDataStructsCreateCollectionData */2512export interface UpDataStructsCreateCollectionData extends Struct {2513  readonly mode: UpDataStructsCollectionMode;2514  readonly access: Option<UpDataStructsAccessMode>;2515  readonly name: Vec<u16>;2516  readonly description: Vec<u16>;2517  readonly tokenPrefix: Bytes;2518  readonly pendingSponsor: Option<AccountId32>;2519  readonly limits: Option<UpDataStructsCollectionLimits>;2520  readonly permissions: Option<UpDataStructsCollectionPermissions>;2521  readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2522  readonly properties: Vec<UpDataStructsProperty>;2523}25242525/** @name UpDataStructsCreateFungibleData */2526export interface UpDataStructsCreateFungibleData extends Struct {2527  readonly value: u128;2528}25292530/** @name UpDataStructsCreateItemData */2531export interface UpDataStructsCreateItemData extends Enum {2532  readonly isNft: boolean;2533  readonly asNft: UpDataStructsCreateNftData;2534  readonly isFungible: boolean;2535  readonly asFungible: UpDataStructsCreateFungibleData;2536  readonly isReFungible: boolean;2537  readonly asReFungible: UpDataStructsCreateReFungibleData;2538  readonly type: 'Nft' | 'Fungible' | 'ReFungible';2539}25402541/** @name UpDataStructsCreateItemExData */2542export interface UpDataStructsCreateItemExData extends Enum {2543  readonly isNft: boolean;2544  readonly asNft: Vec<UpDataStructsCreateNftExData>;2545  readonly isFungible: boolean;2546  readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2547  readonly isRefungibleMultipleItems: boolean;2548  readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2549  readonly isRefungibleMultipleOwners: boolean;2550  readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2551  readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2552}25532554/** @name UpDataStructsCreateNftData */2555export interface UpDataStructsCreateNftData extends Struct {2556  readonly properties: Vec<UpDataStructsProperty>;2557}25582559/** @name UpDataStructsCreateNftExData */2560export interface UpDataStructsCreateNftExData extends Struct {2561  readonly properties: Vec<UpDataStructsProperty>;2562  readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2563}25642565/** @name UpDataStructsCreateReFungibleData */2566export interface UpDataStructsCreateReFungibleData extends Struct {2567  readonly pieces: u128;2568  readonly properties: Vec<UpDataStructsProperty>;2569}25702571/** @name UpDataStructsCreateRefungibleExMultipleOwners */2572export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2573  readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2574  readonly properties: Vec<UpDataStructsProperty>;2575}25762577/** @name UpDataStructsCreateRefungibleExSingleOwner */2578export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2579  readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2580  readonly pieces: u128;2581  readonly properties: Vec<UpDataStructsProperty>;2582}25832584/** @name UpDataStructsNestingPermissions */2585export interface UpDataStructsNestingPermissions extends Struct {2586  readonly tokenOwner: bool;2587  readonly collectionAdmin: bool;2588  readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2589}25902591/** @name UpDataStructsOwnerRestrictedSet */2592export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25932594/** @name UpDataStructsProperties */2595export interface UpDataStructsProperties extends Struct {2596  readonly map: UpDataStructsPropertiesMapBoundedVec;2597  readonly consumedSpace: u32;2598  readonly spaceLimit: u32;2599}26002601/** @name UpDataStructsPropertiesMapBoundedVec */2602export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26032604/** @name UpDataStructsPropertiesMapPropertyPermission */2605export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26062607/** @name UpDataStructsProperty */2608export interface UpDataStructsProperty extends Struct {2609  readonly key: Bytes;2610  readonly value: Bytes;2611}26122613/** @name UpDataStructsPropertyKeyPermission */2614export interface UpDataStructsPropertyKeyPermission extends Struct {2615  readonly key: Bytes;2616  readonly permission: UpDataStructsPropertyPermission;2617}26182619/** @name UpDataStructsPropertyPermission */2620export interface UpDataStructsPropertyPermission extends Struct {2621  readonly mutable: bool;2622  readonly collectionAdmin: bool;2623  readonly tokenOwner: bool;2624}26252626/** @name UpDataStructsPropertyScope */2627export interface UpDataStructsPropertyScope extends Enum {2628  readonly isNone: boolean;2629  readonly isRmrk: boolean;2630  readonly isEth: boolean;2631  readonly type: 'None' | 'Rmrk' | 'Eth';2632}26332634/** @name UpDataStructsRpcCollection */2635export interface UpDataStructsRpcCollection extends Struct {2636  readonly owner: AccountId32;2637  readonly mode: UpDataStructsCollectionMode;2638  readonly name: Vec<u16>;2639  readonly description: Vec<u16>;2640  readonly tokenPrefix: Bytes;2641  readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2642  readonly limits: UpDataStructsCollectionLimits;2643  readonly permissions: UpDataStructsCollectionPermissions;2644  readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2645  readonly properties: Vec<UpDataStructsProperty>;2646  readonly readOnly: bool;2647}26482649/** @name UpDataStructsSponsoringRateLimit */2650export interface UpDataStructsSponsoringRateLimit extends Enum {2651  readonly isSponsoringDisabled: boolean;2652  readonly isBlocks: boolean;2653  readonly asBlocks: u32;2654  readonly type: 'SponsoringDisabled' | 'Blocks';2655}26562657/** @name UpDataStructsSponsorshipStateAccountId32 */2658export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2659  readonly isDisabled: boolean;2660  readonly isUnconfirmed: boolean;2661  readonly asUnconfirmed: AccountId32;2662  readonly isConfirmed: boolean;2663  readonly asConfirmed: AccountId32;2664  readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2665}26662667/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */2668export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {2669  readonly isDisabled: boolean;2670  readonly isUnconfirmed: boolean;2671  readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2672  readonly isConfirmed: boolean;2673  readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2674  readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2675}26762677/** @name UpDataStructsTokenChild */2678export interface UpDataStructsTokenChild extends Struct {2679  readonly token: u32;2680  readonly collection: u32;2681}26822683/** @name UpDataStructsTokenData */2684export interface UpDataStructsTokenData extends Struct {2685  readonly properties: Vec<UpDataStructsProperty>;2686  readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2687  readonly pieces: u128;2688}26892690/** @name XcmDoubleEncoded */2691export interface XcmDoubleEncoded extends Struct {2692  readonly encoded: Bytes;2693}26942695/** @name XcmV0Junction */2696export interface XcmV0Junction extends Enum {2697  readonly isParent: boolean;2698  readonly isParachain: boolean;2699  readonly asParachain: Compact<u32>;2700  readonly isAccountId32: boolean;2701  readonly asAccountId32: {2702    readonly network: XcmV0JunctionNetworkId;2703    readonly id: U8aFixed;2704  } & Struct;2705  readonly isAccountIndex64: boolean;2706  readonly asAccountIndex64: {2707    readonly network: XcmV0JunctionNetworkId;2708    readonly index: Compact<u64>;2709  } & Struct;2710  readonly isAccountKey20: boolean;2711  readonly asAccountKey20: {2712    readonly network: XcmV0JunctionNetworkId;2713    readonly key: U8aFixed;2714  } & Struct;2715  readonly isPalletInstance: boolean;2716  readonly asPalletInstance: u8;2717  readonly isGeneralIndex: boolean;2718  readonly asGeneralIndex: Compact<u128>;2719  readonly isGeneralKey: boolean;2720  readonly asGeneralKey: Bytes;2721  readonly isOnlyChild: boolean;2722  readonly isPlurality: boolean;2723  readonly asPlurality: {2724    readonly id: XcmV0JunctionBodyId;2725    readonly part: XcmV0JunctionBodyPart;2726  } & Struct;2727  readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2728}27292730/** @name XcmV0JunctionBodyId */2731export interface XcmV0JunctionBodyId extends Enum {2732  readonly isUnit: boolean;2733  readonly isNamed: boolean;2734  readonly asNamed: Bytes;2735  readonly isIndex: boolean;2736  readonly asIndex: Compact<u32>;2737  readonly isExecutive: boolean;2738  readonly isTechnical: boolean;2739  readonly isLegislative: boolean;2740  readonly isJudicial: boolean;2741  readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2742}27432744/** @name XcmV0JunctionBodyPart */2745export interface XcmV0JunctionBodyPart extends Enum {2746  readonly isVoice: boolean;2747  readonly isMembers: boolean;2748  readonly asMembers: {2749    readonly count: Compact<u32>;2750  } & Struct;2751  readonly isFraction: boolean;2752  readonly asFraction: {2753    readonly nom: Compact<u32>;2754    readonly denom: Compact<u32>;2755  } & Struct;2756  readonly isAtLeastProportion: boolean;2757  readonly asAtLeastProportion: {2758    readonly nom: Compact<u32>;2759    readonly denom: Compact<u32>;2760  } & Struct;2761  readonly isMoreThanProportion: boolean;2762  readonly asMoreThanProportion: {2763    readonly nom: Compact<u32>;2764    readonly denom: Compact<u32>;2765  } & Struct;2766  readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2767}27682769/** @name XcmV0JunctionNetworkId */2770export interface XcmV0JunctionNetworkId extends Enum {2771  readonly isAny: boolean;2772  readonly isNamed: boolean;2773  readonly asNamed: Bytes;2774  readonly isPolkadot: boolean;2775  readonly isKusama: boolean;2776  readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2777}27782779/** @name XcmV0MultiAsset */2780export interface XcmV0MultiAsset extends Enum {2781  readonly isNone: boolean;2782  readonly isAll: boolean;2783  readonly isAllFungible: boolean;2784  readonly isAllNonFungible: boolean;2785  readonly isAllAbstractFungible: boolean;2786  readonly asAllAbstractFungible: {2787    readonly id: Bytes;2788  } & Struct;2789  readonly isAllAbstractNonFungible: boolean;2790  readonly asAllAbstractNonFungible: {2791    readonly class: Bytes;2792  } & Struct;2793  readonly isAllConcreteFungible: boolean;2794  readonly asAllConcreteFungible: {2795    readonly id: XcmV0MultiLocation;2796  } & Struct;2797  readonly isAllConcreteNonFungible: boolean;2798  readonly asAllConcreteNonFungible: {2799    readonly class: XcmV0MultiLocation;2800  } & Struct;2801  readonly isAbstractFungible: boolean;2802  readonly asAbstractFungible: {2803    readonly id: Bytes;2804    readonly amount: Compact<u128>;2805  } & Struct;2806  readonly isAbstractNonFungible: boolean;2807  readonly asAbstractNonFungible: {2808    readonly class: Bytes;2809    readonly instance: XcmV1MultiassetAssetInstance;2810  } & Struct;2811  readonly isConcreteFungible: boolean;2812  readonly asConcreteFungible: {2813    readonly id: XcmV0MultiLocation;2814    readonly amount: Compact<u128>;2815  } & Struct;2816  readonly isConcreteNonFungible: boolean;2817  readonly asConcreteNonFungible: {2818    readonly class: XcmV0MultiLocation;2819    readonly instance: XcmV1MultiassetAssetInstance;2820  } & Struct;2821  readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2822}28232824/** @name XcmV0MultiLocation */2825export interface XcmV0MultiLocation extends Enum {2826  readonly isNull: boolean;2827  readonly isX1: boolean;2828  readonly asX1: XcmV0Junction;2829  readonly isX2: boolean;2830  readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2831  readonly isX3: boolean;2832  readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2833  readonly isX4: boolean;2834  readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2835  readonly isX5: boolean;2836  readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2837  readonly isX6: boolean;2838  readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2839  readonly isX7: boolean;2840  readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2841  readonly isX8: boolean;2842  readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2843  readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2844}28452846/** @name XcmV0Order */2847export interface XcmV0Order extends Enum {2848  readonly isNull: boolean;2849  readonly isDepositAsset: boolean;2850  readonly asDepositAsset: {2851    readonly assets: Vec<XcmV0MultiAsset>;2852    readonly dest: XcmV0MultiLocation;2853  } & Struct;2854  readonly isDepositReserveAsset: boolean;2855  readonly asDepositReserveAsset: {2856    readonly assets: Vec<XcmV0MultiAsset>;2857    readonly dest: XcmV0MultiLocation;2858    readonly effects: Vec<XcmV0Order>;2859  } & Struct;2860  readonly isExchangeAsset: boolean;2861  readonly asExchangeAsset: {2862    readonly give: Vec<XcmV0MultiAsset>;2863    readonly receive: Vec<XcmV0MultiAsset>;2864  } & Struct;2865  readonly isInitiateReserveWithdraw: boolean;2866  readonly asInitiateReserveWithdraw: {2867    readonly assets: Vec<XcmV0MultiAsset>;2868    readonly reserve: XcmV0MultiLocation;2869    readonly effects: Vec<XcmV0Order>;2870  } & Struct;2871  readonly isInitiateTeleport: boolean;2872  readonly asInitiateTeleport: {2873    readonly assets: Vec<XcmV0MultiAsset>;2874    readonly dest: XcmV0MultiLocation;2875    readonly effects: Vec<XcmV0Order>;2876  } & Struct;2877  readonly isQueryHolding: boolean;2878  readonly asQueryHolding: {2879    readonly queryId: Compact<u64>;2880    readonly dest: XcmV0MultiLocation;2881    readonly assets: Vec<XcmV0MultiAsset>;2882  } & Struct;2883  readonly isBuyExecution: boolean;2884  readonly asBuyExecution: {2885    readonly fees: XcmV0MultiAsset;2886    readonly weight: u64;2887    readonly debt: u64;2888    readonly haltOnError: bool;2889    readonly xcm: Vec<XcmV0Xcm>;2890  } & Struct;2891  readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2892}28932894/** @name XcmV0OriginKind */2895export interface XcmV0OriginKind extends Enum {2896  readonly isNative: boolean;2897  readonly isSovereignAccount: boolean;2898  readonly isSuperuser: boolean;2899  readonly isXcm: boolean;2900  readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2901}29022903/** @name XcmV0Response */2904export interface XcmV0Response extends Enum {2905  readonly isAssets: boolean;2906  readonly asAssets: Vec<XcmV0MultiAsset>;2907  readonly type: 'Assets';2908}29092910/** @name XcmV0Xcm */2911export interface XcmV0Xcm extends Enum {2912  readonly isWithdrawAsset: boolean;2913  readonly asWithdrawAsset: {2914    readonly assets: Vec<XcmV0MultiAsset>;2915    readonly effects: Vec<XcmV0Order>;2916  } & Struct;2917  readonly isReserveAssetDeposit: boolean;2918  readonly asReserveAssetDeposit: {2919    readonly assets: Vec<XcmV0MultiAsset>;2920    readonly effects: Vec<XcmV0Order>;2921  } & Struct;2922  readonly isTeleportAsset: boolean;2923  readonly asTeleportAsset: {2924    readonly assets: Vec<XcmV0MultiAsset>;2925    readonly effects: Vec<XcmV0Order>;2926  } & Struct;2927  readonly isQueryResponse: boolean;2928  readonly asQueryResponse: {2929    readonly queryId: Compact<u64>;2930    readonly response: XcmV0Response;2931  } & Struct;2932  readonly isTransferAsset: boolean;2933  readonly asTransferAsset: {2934    readonly assets: Vec<XcmV0MultiAsset>;2935    readonly dest: XcmV0MultiLocation;2936  } & Struct;2937  readonly isTransferReserveAsset: boolean;2938  readonly asTransferReserveAsset: {2939    readonly assets: Vec<XcmV0MultiAsset>;2940    readonly dest: XcmV0MultiLocation;2941    readonly effects: Vec<XcmV0Order>;2942  } & Struct;2943  readonly isTransact: boolean;2944  readonly asTransact: {2945    readonly originType: XcmV0OriginKind;2946    readonly requireWeightAtMost: u64;2947    readonly call: XcmDoubleEncoded;2948  } & Struct;2949  readonly isHrmpNewChannelOpenRequest: boolean;2950  readonly asHrmpNewChannelOpenRequest: {2951    readonly sender: Compact<u32>;2952    readonly maxMessageSize: Compact<u32>;2953    readonly maxCapacity: Compact<u32>;2954  } & Struct;2955  readonly isHrmpChannelAccepted: boolean;2956  readonly asHrmpChannelAccepted: {2957    readonly recipient: Compact<u32>;2958  } & Struct;2959  readonly isHrmpChannelClosing: boolean;2960  readonly asHrmpChannelClosing: {2961    readonly initiator: Compact<u32>;2962    readonly sender: Compact<u32>;2963    readonly recipient: Compact<u32>;2964  } & Struct;2965  readonly isRelayedFrom: boolean;2966  readonly asRelayedFrom: {2967    readonly who: XcmV0MultiLocation;2968    readonly message: XcmV0Xcm;2969  } & Struct;2970  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2971}29722973/** @name XcmV1Junction */2974export interface XcmV1Junction extends Enum {2975  readonly isParachain: boolean;2976  readonly asParachain: Compact<u32>;2977  readonly isAccountId32: boolean;2978  readonly asAccountId32: {2979    readonly network: XcmV0JunctionNetworkId;2980    readonly id: U8aFixed;2981  } & Struct;2982  readonly isAccountIndex64: boolean;2983  readonly asAccountIndex64: {2984    readonly network: XcmV0JunctionNetworkId;2985    readonly index: Compact<u64>;2986  } & Struct;2987  readonly isAccountKey20: boolean;2988  readonly asAccountKey20: {2989    readonly network: XcmV0JunctionNetworkId;2990    readonly key: U8aFixed;2991  } & Struct;2992  readonly isPalletInstance: boolean;2993  readonly asPalletInstance: u8;2994  readonly isGeneralIndex: boolean;2995  readonly asGeneralIndex: Compact<u128>;2996  readonly isGeneralKey: boolean;2997  readonly asGeneralKey: Bytes;2998  readonly isOnlyChild: boolean;2999  readonly isPlurality: boolean;3000  readonly asPlurality: {3001    readonly id: XcmV0JunctionBodyId;3002    readonly part: XcmV0JunctionBodyPart;3003  } & Struct;3004  readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3005}30063007/** @name XcmV1MultiAsset */3008export interface XcmV1MultiAsset extends Struct {3009  readonly id: XcmV1MultiassetAssetId;3010  readonly fun: XcmV1MultiassetFungibility;3011}30123013/** @name XcmV1MultiassetAssetId */3014export interface XcmV1MultiassetAssetId extends Enum {3015  readonly isConcrete: boolean;3016  readonly asConcrete: XcmV1MultiLocation;3017  readonly isAbstract: boolean;3018  readonly asAbstract: Bytes;3019  readonly type: 'Concrete' | 'Abstract';3020}30213022/** @name XcmV1MultiassetAssetInstance */3023export interface XcmV1MultiassetAssetInstance extends Enum {3024  readonly isUndefined: boolean;3025  readonly isIndex: boolean;3026  readonly asIndex: Compact<u128>;3027  readonly isArray4: boolean;3028  readonly asArray4: U8aFixed;3029  readonly isArray8: boolean;3030  readonly asArray8: U8aFixed;3031  readonly isArray16: boolean;3032  readonly asArray16: U8aFixed;3033  readonly isArray32: boolean;3034  readonly asArray32: U8aFixed;3035  readonly isBlob: boolean;3036  readonly asBlob: Bytes;3037  readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3038}30393040/** @name XcmV1MultiassetFungibility */3041export interface XcmV1MultiassetFungibility extends Enum {3042  readonly isFungible: boolean;3043  readonly asFungible: Compact<u128>;3044  readonly isNonFungible: boolean;3045  readonly asNonFungible: XcmV1MultiassetAssetInstance;3046  readonly type: 'Fungible' | 'NonFungible';3047}30483049/** @name XcmV1MultiassetMultiAssetFilter */3050export interface XcmV1MultiassetMultiAssetFilter extends Enum {3051  readonly isDefinite: boolean;3052  readonly asDefinite: XcmV1MultiassetMultiAssets;3053  readonly isWild: boolean;3054  readonly asWild: XcmV1MultiassetWildMultiAsset;3055  readonly type: 'Definite' | 'Wild';3056}30573058/** @name XcmV1MultiassetMultiAssets */3059export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30603061/** @name XcmV1MultiassetWildFungibility */3062export interface XcmV1MultiassetWildFungibility extends Enum {3063  readonly isFungible: boolean;3064  readonly isNonFungible: boolean;3065  readonly type: 'Fungible' | 'NonFungible';3066}30673068/** @name XcmV1MultiassetWildMultiAsset */3069export interface XcmV1MultiassetWildMultiAsset extends Enum {3070  readonly isAll: boolean;3071  readonly isAllOf: boolean;3072  readonly asAllOf: {3073    readonly id: XcmV1MultiassetAssetId;3074    readonly fun: XcmV1MultiassetWildFungibility;3075  } & Struct;3076  readonly type: 'All' | 'AllOf';3077}30783079/** @name XcmV1MultiLocation */3080export interface XcmV1MultiLocation extends Struct {3081  readonly parents: u8;3082  readonly interior: XcmV1MultilocationJunctions;3083}30843085/** @name XcmV1MultilocationJunctions */3086export interface XcmV1MultilocationJunctions extends Enum {3087  readonly isHere: boolean;3088  readonly isX1: boolean;3089  readonly asX1: XcmV1Junction;3090  readonly isX2: boolean;3091  readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3092  readonly isX3: boolean;3093  readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3094  readonly isX4: boolean;3095  readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3096  readonly isX5: boolean;3097  readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3098  readonly isX6: boolean;3099  readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3100  readonly isX7: boolean;3101  readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3102  readonly isX8: boolean;3103  readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3104  readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3105}31063107/** @name XcmV1Order */3108export interface XcmV1Order extends Enum {3109  readonly isNoop: boolean;3110  readonly isDepositAsset: boolean;3111  readonly asDepositAsset: {3112    readonly assets: XcmV1MultiassetMultiAssetFilter;3113    readonly maxAssets: u32;3114    readonly beneficiary: XcmV1MultiLocation;3115  } & Struct;3116  readonly isDepositReserveAsset: boolean;3117  readonly asDepositReserveAsset: {3118    readonly assets: XcmV1MultiassetMultiAssetFilter;3119    readonly maxAssets: u32;3120    readonly dest: XcmV1MultiLocation;3121    readonly effects: Vec<XcmV1Order>;3122  } & Struct;3123  readonly isExchangeAsset: boolean;3124  readonly asExchangeAsset: {3125    readonly give: XcmV1MultiassetMultiAssetFilter;3126    readonly receive: XcmV1MultiassetMultiAssets;3127  } & Struct;3128  readonly isInitiateReserveWithdraw: boolean;3129  readonly asInitiateReserveWithdraw: {3130    readonly assets: XcmV1MultiassetMultiAssetFilter;3131    readonly reserve: XcmV1MultiLocation;3132    readonly effects: Vec<XcmV1Order>;3133  } & Struct;3134  readonly isInitiateTeleport: boolean;3135  readonly asInitiateTeleport: {3136    readonly assets: XcmV1MultiassetMultiAssetFilter;3137    readonly dest: XcmV1MultiLocation;3138    readonly effects: Vec<XcmV1Order>;3139  } & Struct;3140  readonly isQueryHolding: boolean;3141  readonly asQueryHolding: {3142    readonly queryId: Compact<u64>;3143    readonly dest: XcmV1MultiLocation;3144    readonly assets: XcmV1MultiassetMultiAssetFilter;3145  } & Struct;3146  readonly isBuyExecution: boolean;3147  readonly asBuyExecution: {3148    readonly fees: XcmV1MultiAsset;3149    readonly weight: u64;3150    readonly debt: u64;3151    readonly haltOnError: bool;3152    readonly instructions: Vec<XcmV1Xcm>;3153  } & Struct;3154  readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3155}31563157/** @name XcmV1Response */3158export interface XcmV1Response extends Enum {3159  readonly isAssets: boolean;3160  readonly asAssets: XcmV1MultiassetMultiAssets;3161  readonly isVersion: boolean;3162  readonly asVersion: u32;3163  readonly type: 'Assets' | 'Version';3164}31653166/** @name XcmV1Xcm */3167export interface XcmV1Xcm extends Enum {3168  readonly isWithdrawAsset: boolean;3169  readonly asWithdrawAsset: {3170    readonly assets: XcmV1MultiassetMultiAssets;3171    readonly effects: Vec<XcmV1Order>;3172  } & Struct;3173  readonly isReserveAssetDeposited: boolean;3174  readonly asReserveAssetDeposited: {3175    readonly assets: XcmV1MultiassetMultiAssets;3176    readonly effects: Vec<XcmV1Order>;3177  } & Struct;3178  readonly isReceiveTeleportedAsset: boolean;3179  readonly asReceiveTeleportedAsset: {3180    readonly assets: XcmV1MultiassetMultiAssets;3181    readonly effects: Vec<XcmV1Order>;3182  } & Struct;3183  readonly isQueryResponse: boolean;3184  readonly asQueryResponse: {3185    readonly queryId: Compact<u64>;3186    readonly response: XcmV1Response;3187  } & Struct;3188  readonly isTransferAsset: boolean;3189  readonly asTransferAsset: {3190    readonly assets: XcmV1MultiassetMultiAssets;3191    readonly beneficiary: XcmV1MultiLocation;3192  } & Struct;3193  readonly isTransferReserveAsset: boolean;3194  readonly asTransferReserveAsset: {3195    readonly assets: XcmV1MultiassetMultiAssets;3196    readonly dest: XcmV1MultiLocation;3197    readonly effects: Vec<XcmV1Order>;3198  } & Struct;3199  readonly isTransact: boolean;3200  readonly asTransact: {3201    readonly originType: XcmV0OriginKind;3202    readonly requireWeightAtMost: u64;3203    readonly call: XcmDoubleEncoded;3204  } & Struct;3205  readonly isHrmpNewChannelOpenRequest: boolean;3206  readonly asHrmpNewChannelOpenRequest: {3207    readonly sender: Compact<u32>;3208    readonly maxMessageSize: Compact<u32>;3209    readonly maxCapacity: Compact<u32>;3210  } & Struct;3211  readonly isHrmpChannelAccepted: boolean;3212  readonly asHrmpChannelAccepted: {3213    readonly recipient: Compact<u32>;3214  } & Struct;3215  readonly isHrmpChannelClosing: boolean;3216  readonly asHrmpChannelClosing: {3217    readonly initiator: Compact<u32>;3218    readonly sender: Compact<u32>;3219    readonly recipient: Compact<u32>;3220  } & Struct;3221  readonly isRelayedFrom: boolean;3222  readonly asRelayedFrom: {3223    readonly who: XcmV1MultilocationJunctions;3224    readonly message: XcmV1Xcm;3225  } & Struct;3226  readonly isSubscribeVersion: boolean;3227  readonly asSubscribeVersion: {3228    readonly queryId: Compact<u64>;3229    readonly maxResponseWeight: Compact<u64>;3230  } & Struct;3231  readonly isUnsubscribeVersion: boolean;3232  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3233}32343235/** @name XcmV2Instruction */3236export interface XcmV2Instruction extends Enum {3237  readonly isWithdrawAsset: boolean;3238  readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3239  readonly isReserveAssetDeposited: boolean;3240  readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3241  readonly isReceiveTeleportedAsset: boolean;3242  readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3243  readonly isQueryResponse: boolean;3244  readonly asQueryResponse: {3245    readonly queryId: Compact<u64>;3246    readonly response: XcmV2Response;3247    readonly maxWeight: Compact<u64>;3248  } & Struct;3249  readonly isTransferAsset: boolean;3250  readonly asTransferAsset: {3251    readonly assets: XcmV1MultiassetMultiAssets;3252    readonly beneficiary: XcmV1MultiLocation;3253  } & Struct;3254  readonly isTransferReserveAsset: boolean;3255  readonly asTransferReserveAsset: {3256    readonly assets: XcmV1MultiassetMultiAssets;3257    readonly dest: XcmV1MultiLocation;3258    readonly xcm: XcmV2Xcm;3259  } & Struct;3260  readonly isTransact: boolean;3261  readonly asTransact: {3262    readonly originType: XcmV0OriginKind;3263    readonly requireWeightAtMost: Compact<u64>;3264    readonly call: XcmDoubleEncoded;3265  } & Struct;3266  readonly isHrmpNewChannelOpenRequest: boolean;3267  readonly asHrmpNewChannelOpenRequest: {3268    readonly sender: Compact<u32>;3269    readonly maxMessageSize: Compact<u32>;3270    readonly maxCapacity: Compact<u32>;3271  } & Struct;3272  readonly isHrmpChannelAccepted: boolean;3273  readonly asHrmpChannelAccepted: {3274    readonly recipient: Compact<u32>;3275  } & Struct;3276  readonly isHrmpChannelClosing: boolean;3277  readonly asHrmpChannelClosing: {3278    readonly initiator: Compact<u32>;3279    readonly sender: Compact<u32>;3280    readonly recipient: Compact<u32>;3281  } & Struct;3282  readonly isClearOrigin: boolean;3283  readonly isDescendOrigin: boolean;3284  readonly asDescendOrigin: XcmV1MultilocationJunctions;3285  readonly isReportError: boolean;3286  readonly asReportError: {3287    readonly queryId: Compact<u64>;3288    readonly dest: XcmV1MultiLocation;3289    readonly maxResponseWeight: Compact<u64>;3290  } & Struct;3291  readonly isDepositAsset: boolean;3292  readonly asDepositAsset: {3293    readonly assets: XcmV1MultiassetMultiAssetFilter;3294    readonly maxAssets: Compact<u32>;3295    readonly beneficiary: XcmV1MultiLocation;3296  } & Struct;3297  readonly isDepositReserveAsset: boolean;3298  readonly asDepositReserveAsset: {3299    readonly assets: XcmV1MultiassetMultiAssetFilter;3300    readonly maxAssets: Compact<u32>;3301    readonly dest: XcmV1MultiLocation;3302    readonly xcm: XcmV2Xcm;3303  } & Struct;3304  readonly isExchangeAsset: boolean;3305  readonly asExchangeAsset: {3306    readonly give: XcmV1MultiassetMultiAssetFilter;3307    readonly receive: XcmV1MultiassetMultiAssets;3308  } & Struct;3309  readonly isInitiateReserveWithdraw: boolean;3310  readonly asInitiateReserveWithdraw: {3311    readonly assets: XcmV1MultiassetMultiAssetFilter;3312    readonly reserve: XcmV1MultiLocation;3313    readonly xcm: XcmV2Xcm;3314  } & Struct;3315  readonly isInitiateTeleport: boolean;3316  readonly asInitiateTeleport: {3317    readonly assets: XcmV1MultiassetMultiAssetFilter;3318    readonly dest: XcmV1MultiLocation;3319    readonly xcm: XcmV2Xcm;3320  } & Struct;3321  readonly isQueryHolding: boolean;3322  readonly asQueryHolding: {3323    readonly queryId: Compact<u64>;3324    readonly dest: XcmV1MultiLocation;3325    readonly assets: XcmV1MultiassetMultiAssetFilter;3326    readonly maxResponseWeight: Compact<u64>;3327  } & Struct;3328  readonly isBuyExecution: boolean;3329  readonly asBuyExecution: {3330    readonly fees: XcmV1MultiAsset;3331    readonly weightLimit: XcmV2WeightLimit;3332  } & Struct;3333  readonly isRefundSurplus: boolean;3334  readonly isSetErrorHandler: boolean;3335  readonly asSetErrorHandler: XcmV2Xcm;3336  readonly isSetAppendix: boolean;3337  readonly asSetAppendix: XcmV2Xcm;3338  readonly isClearError: boolean;3339  readonly isClaimAsset: boolean;3340  readonly asClaimAsset: {3341    readonly assets: XcmV1MultiassetMultiAssets;3342    readonly ticket: XcmV1MultiLocation;3343  } & Struct;3344  readonly isTrap: boolean;3345  readonly asTrap: Compact<u64>;3346  readonly isSubscribeVersion: boolean;3347  readonly asSubscribeVersion: {3348    readonly queryId: Compact<u64>;3349    readonly maxResponseWeight: Compact<u64>;3350  } & Struct;3351  readonly isUnsubscribeVersion: boolean;3352  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';3353}33543355/** @name XcmV2Response */3356export interface XcmV2Response extends Enum {3357  readonly isNull: boolean;3358  readonly isAssets: boolean;3359  readonly asAssets: XcmV1MultiassetMultiAssets;3360  readonly isExecutionResult: boolean;3361  readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3362  readonly isVersion: boolean;3363  readonly asVersion: u32;3364  readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3365}33663367/** @name XcmV2TraitsError */3368export interface XcmV2TraitsError extends Enum {3369  readonly isOverflow: boolean;3370  readonly isUnimplemented: boolean;3371  readonly isUntrustedReserveLocation: boolean;3372  readonly isUntrustedTeleportLocation: boolean;3373  readonly isMultiLocationFull: boolean;3374  readonly isMultiLocationNotInvertible: boolean;3375  readonly isBadOrigin: boolean;3376  readonly isInvalidLocation: boolean;3377  readonly isAssetNotFound: boolean;3378  readonly isFailedToTransactAsset: boolean;3379  readonly isNotWithdrawable: boolean;3380  readonly isLocationCannotHold: boolean;3381  readonly isExceedsMaxMessageSize: boolean;3382  readonly isDestinationUnsupported: boolean;3383  readonly isTransport: boolean;3384  readonly isUnroutable: boolean;3385  readonly isUnknownClaim: boolean;3386  readonly isFailedToDecode: boolean;3387  readonly isMaxWeightInvalid: boolean;3388  readonly isNotHoldingFees: boolean;3389  readonly isTooExpensive: boolean;3390  readonly isTrap: boolean;3391  readonly asTrap: u64;3392  readonly isUnhandledXcmVersion: boolean;3393  readonly isWeightLimitReached: boolean;3394  readonly asWeightLimitReached: u64;3395  readonly isBarrier: boolean;3396  readonly isWeightNotComputable: boolean;3397  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';3398}33993400/** @name XcmV2TraitsOutcome */3401export interface XcmV2TraitsOutcome extends Enum {3402  readonly isComplete: boolean;3403  readonly asComplete: u64;3404  readonly isIncomplete: boolean;3405  readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3406  readonly isError: boolean;3407  readonly asError: XcmV2TraitsError;3408  readonly type: 'Complete' | 'Incomplete' | 'Error';3409}34103411/** @name XcmV2WeightLimit */3412export interface XcmV2WeightLimit extends Enum {3413  readonly isUnlimited: boolean;3414  readonly isLimited: boolean;3415  readonly asLimited: Compact<u64>;3416  readonly type: 'Unlimited' | 'Limited';3417}34183419/** @name XcmV2Xcm */3420export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}34213422/** @name XcmVersionedMultiAssets */3423export interface XcmVersionedMultiAssets extends Enum {3424  readonly isV0: boolean;3425  readonly asV0: Vec<XcmV0MultiAsset>;3426  readonly isV1: boolean;3427  readonly asV1: XcmV1MultiassetMultiAssets;3428  readonly type: 'V0' | 'V1';3429}34303431/** @name XcmVersionedMultiLocation */3432export interface XcmVersionedMultiLocation extends Enum {3433  readonly isV0: boolean;3434  readonly asV0: XcmV0MultiLocation;3435  readonly isV1: boolean;3436  readonly asV1: XcmV1MultiLocation;3437  readonly type: 'V0' | 'V1';3438}34393440/** @name XcmVersionedXcm */3441export interface XcmVersionedXcm extends Enum {3442  readonly isV0: boolean;3443  readonly asV0: XcmV0Xcm;3444  readonly isV1: boolean;3445  readonly asV1: XcmV1Xcm;3446  readonly isV2: boolean;3447  readonly asV2: XcmV2Xcm;3448  readonly type: 'V0' | 'V1' | 'V2';3449}34503451export type PHANTOM_DEFAULT = 'default';
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -2463,6 +2463,7 @@
       start_app_promotion: {
         promotionStartRelayBlock: 'Option<u32>',
       },
+      stop_app_promotion: 'Null',
       stake: {
         amount: 'u128',
       },
@@ -2473,7 +2474,13 @@
         collectionId: 'u32',
       },
       stop_sponsorign_collection: {
-        collectionId: 'u32'
+        collectionId: 'u32',
+      },
+      sponsor_conract: {
+        contractId: 'H160',
+      },
+      stop_sponsorign_contract: {
+        contractId: 'H160'
       }
     }
   },
@@ -3098,7 +3105,7 @@
    * Lookup410: pallet_app_promotion::pallet::Error<T>
    **/
   PalletAppPromotionError: {
-    _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'InvalidArgument', 'AlreadySponsored']
+    _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'InvalidArgument']
   },
   /**
    * Lookup413: pallet_evm::pallet::Error<T>
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2669,6 +2669,7 @@
     readonly asStartAppPromotion: {
       readonly promotionStartRelayBlock: Option<u32>;
     } & Struct;
+    readonly isStopAppPromotion: boolean;
     readonly isStake: boolean;
     readonly asStake: {
       readonly amount: u128;
@@ -2685,7 +2686,15 @@
     readonly asStopSponsorignCollection: {
       readonly collectionId: u32;
     } & Struct;
-    readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';
+    readonly isSponsorConract: boolean;
+    readonly asSponsorConract: {
+      readonly contractId: H160;
+    } & Struct;
+    readonly isStopSponsorignContract: boolean;
+    readonly asStopSponsorignContract: {
+      readonly contractId: H160;
+    } & Struct;
+    readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection' | 'SponsorConract' | 'StopSponsorignContract';
   }
 
   /** @name PalletEvmCall (305) */
@@ -3288,8 +3297,7 @@
     readonly isNoPermission: boolean;
     readonly isNotSufficientFounds: boolean;
     readonly isInvalidArgument: boolean;
-    readonly isAlreadySponsored: boolean;
-    readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';
+    readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument';
   }
 
   /** @name PalletEvmError (413) */