git.delta.rocks / unique-network / refs/commits / 915ff113b0bb

difftreelog

refactor use rpcs instead of api.query.common

Yaroslav Bolyukin2021-11-17parent: #516bf2b.patch.diff
in: master

33 files changed

modifiedclient/rpc/src/lib.rsdiffbeforeafterboth
--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -3,7 +3,7 @@
 use codec::Decode;
 use jsonrpc_core::{Error as RpcError, ErrorCode, Result};
 use jsonrpc_derive::rpc;
-use nft_data_structs::{CollectionId, TokenId};
+use nft_data_structs::{Collection, CollectionId, CollectionStats, TokenId};
 use sp_api::{BlockId, BlockT, ProvideRuntimeApi};
 use sp_blockchain::HeaderBackend;
 use up_rpc::NftApi as NftRuntimeApi;
@@ -86,8 +86,23 @@
 		collection: CollectionId,
 		at: Option<BlockHash>,
 	) -> Result<Vec<CrossAccountId>>;
+	#[rpc(name = "nft_allowed")]
+	fn allowed(
+		&self,
+		collection: CollectionId,
+		user: CrossAccountId,
+		at: Option<BlockHash>,
+	) -> Result<bool>;
 	#[rpc(name = "nft_lastTokenId")]
 	fn last_token_id(&self, collection: CollectionId, at: Option<BlockHash>) -> Result<TokenId>;
+	#[rpc(name = "nft_collectionById")]
+	fn collection_by_id(
+		&self,
+		collection: CollectionId,
+		at: Option<BlockHash>,
+	) -> Result<Option<Collection<AccountId>>>;
+	#[rpc(name = "nft_collectionStats")]
+	fn collection_stats(&self, at: Option<BlockHash>) -> Result<CollectionStats>;
 }
 
 pub struct Nft<C, P> {
@@ -160,5 +175,8 @@
 
 	pass_method!(adminlist(collection: CollectionId) -> Vec<CrossAccountId>);
 	pass_method!(allowlist(collection: CollectionId) -> Vec<CrossAccountId>);
+	pass_method!(allowed(collection: CollectionId, user: CrossAccountId) -> bool);
 	pass_method!(last_token_id(collection: CollectionId) -> TokenId);
+	pass_method!(collection_by_id(collection: CollectionId) -> Option<Collection<AccountId>>);
+	pass_method!(collection_stats() -> CollectionStats);
 }
modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/common/src/benchmarking.rs
+++ b/pallets/common/src/benchmarking.rs
@@ -19,7 +19,7 @@
 pub fn create_collection_raw<T: Config, R>(
 	owner: T::AccountId,
 	mode: CollectionMode,
-	handler: impl FnOnce(Collection<T>) -> Result<CollectionId, DispatchError>,
+	handler: impl FnOnce(Collection<T::AccountId>) -> Result<CollectionId, DispatchError>,
 	cast: impl FnOnce(CollectionHandle<T>) -> R,
 ) -> Result<R, DispatchError> {
 	T::Currency::deposit_creating(&owner, T::CollectionCreationPrice::get());
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -12,7 +12,7 @@
 	COLLECTION_NUMBER_LIMIT, Collection, CollectionId, CreateItemData, ExistenceRequirement,
 	MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_COLLECTION_NAME_LENGTH, MAX_TOKEN_PREFIX_LENGTH,
 	COLLECTION_ADMINS_LIMIT, MetaUpdatePermission, Pays, PostDispatchInfo, TokenId, Weight,
-	WithdrawReasons,
+	WithdrawReasons, CollectionStats,
 };
 pub use pallet::*;
 use sp_core::H160;
@@ -26,7 +26,7 @@
 #[must_use = "Should call submit_logs or save, otherwise some data will be lost for evm side"]
 pub struct CollectionHandle<T: Config> {
 	pub id: CollectionId,
-	collection: Collection<T>,
+	collection: Collection<T::AccountId>,
 	pub recorder: pallet_evm_coder_substrate::SubstrateRecorder<T>,
 }
 impl<T: Config> CollectionHandle<T> {
@@ -78,7 +78,7 @@
 	}
 }
 impl<T: Config> Deref for CollectionHandle<T> {
-	type Target = Collection<T>;
+	type Target = Collection<T::AccountId>;
 
 	fn deref(&self) -> &Self::Target {
 		&self.collection
@@ -311,7 +311,7 @@
 	pub type CollectionById<T> = StorageMap<
 		Hasher = Blake2_128Concat,
 		Key = CollectionId,
-		Value = Collection<T>,
+		Value = Collection<<T as frame_system::Config>::AccountId>,
 		QueryKind = OptionQuery,
 	>;
 
@@ -344,6 +344,10 @@
 		Value = bool,
 		QueryKind = ValueQuery,
 	>;
+
+	/// Not used by code, exists only to provide some types to metadata
+	#[pallet::storage]
+	pub type DummyStorageValue<T> = StorageValue<Value = (CollectionStats, CollectionId, TokenId), QueryKind = OptionQuery>;
 }
 
 impl<T: Config> Pallet<T> {
@@ -355,10 +359,32 @@
 		);
 		Ok(())
 	}
+	pub fn adminlist(collection: CollectionId) -> Vec<T::CrossAccountId> {
+		<IsAdmin<T>>::iter_prefix((collection,))
+			.map(|(a, _)| a)
+			.collect()
+	}
+	pub fn allowlist(collection: CollectionId) -> Vec<T::CrossAccountId> {
+		<Allowlist<T>>::iter_prefix((collection,))
+			.map(|(a, _)| a)
+			.collect()
+	}
+	pub fn allowed(collection: CollectionId, user: T::CrossAccountId) -> bool {
+		<Allowlist<T>>::get((collection, user))
+	}
+	pub fn collection_stats() -> CollectionStats {
+		let created = <CreatedCollectionCount<T>>::get();
+		let destroyed = <DestroyedCollectionCount<T>>::get();
+		CollectionStats {
+			created: created.0,
+			destroyed: destroyed.0,
+			alive: created.0 - destroyed.0,
+		}
+	}
 }
 
 impl<T: Config> Pallet<T> {
-	pub fn init_collection(data: Collection<T>) -> Result<CollectionId, DispatchError> {
+	pub fn init_collection(data: Collection<T::AccountId>) -> Result<CollectionId, DispatchError> {
 		{
 			ensure!(
 				data.name.len() <= MAX_COLLECTION_NAME_LENGTH,
modifiedpallets/fungible/src/lib.rsdiffbeforeafterboth
--- a/pallets/fungible/src/lib.rs
+++ b/pallets/fungible/src/lib.rs
@@ -91,8 +91,8 @@
 }
 
 impl<T: Config> Pallet<T> {
-	pub fn init_collection(data: Collection<T>) -> Result<CollectionId, DispatchError> {
-		PalletCommon::init_collection(data)
+	pub fn init_collection(data: Collection<T::AccountId>) -> Result<CollectionId, DispatchError> {
+		<PalletCommon<T>>::init_collection(data)
 	}
 	pub fn destroy_collection(
 		collection: FungibleHandle<T>,
modifiedpallets/nft/src/eth/sponsoring.rsdiffbeforeafterboth
--- a/pallets/nft/src/eth/sponsoring.rs
+++ b/pallets/nft/src/eth/sponsoring.rs
@@ -25,7 +25,7 @@
 fn try_sponsor<T: Config>(
 	caller: &H160,
 	collection_id: CollectionId,
-	collection: &Collection<T>,
+	collection: &Collection<T::AccountId>,
 	call: &[u8],
 ) -> Result<(), AnyError> {
 	let (method_id, mut reader) = AbiReader::new_call(call).map_err(|_| AnyError)?;
@@ -109,7 +109,7 @@
 				if !collection.sponsorship.confirmed() {
 					return None;
 				}
-				if try_sponsor(who, collection_id, &collection, &call.1).is_ok() {
+				if try_sponsor::<T>(who, collection_id, &collection, &call.1).is_ok() {
 					return collection
 						.sponsorship
 						.sponsor()
modifiedpallets/nft/src/lib.rsdiffbeforeafterboth
--- a/pallets/nft/src/lib.rs
+++ b/pallets/nft/src/lib.rs
@@ -42,8 +42,8 @@
 	CollectionId, CollectionMode, TokenId, SchemaVersion, SponsorshipState, MetaUpdatePermission,
 };
 use pallet_common::{
-	account::CrossAccountId, CollectionHandle, IsAdmin, Pallet as PalletCommon,
-	Error as CommonError, CommonWeightInfo, Allowlist,
+	account::CrossAccountId, CollectionHandle, Pallet as PalletCommon, Error as CommonError,
+	CommonWeightInfo,
 };
 use pallet_refungible::{Pallet as PalletRefungible, RefungibleHandle};
 use pallet_fungible::{Pallet as PalletFungible, FungibleHandle};
@@ -190,7 +190,7 @@
 			let who = ensure_signed(origin)?;
 
 			// Create new collection
-			let new_collection = Collection::<T> {
+			let new_collection = Collection {
 				owner: who.clone(),
 				name: collection_name,
 				mode: mode.clone(),
@@ -208,14 +208,14 @@
 			};
 
 			let _id = match mode {
-				CollectionMode::NFT => {PalletNonfungible::init_collection(new_collection)?},
+				CollectionMode::NFT => {<PalletNonfungible<T>>::init_collection(new_collection)?},
 				CollectionMode::Fungible(decimal_points) => {
 					// check params
 					ensure!(decimal_points <= MAX_DECIMAL_POINTS, Error::<T>::CollectionDecimalPointLimitExceeded);
-					PalletFungible::init_collection(new_collection)?
+					<PalletFungible<T>>::init_collection(new_collection)?
 				}
 				CollectionMode::ReFungible => {
-					PalletRefungible::init_collection(new_collection)?
+					<PalletRefungible<T>>::init_collection(new_collection)?
 				}
 			};
 
@@ -936,19 +936,5 @@
 
 			target_collection.save()
 		}
-	}
-}
-
-// TODO: limit returned entries?
-impl<T: Config> Pallet<T> {
-	pub fn adminlist(collection: CollectionId) -> Vec<T::CrossAccountId> {
-		<IsAdmin<T>>::iter_prefix((collection,))
-			.map(|(a, _)| a)
-			.collect()
-	}
-	pub fn allowlist(collection: CollectionId) -> Vec<T::CrossAccountId> {
-		<Allowlist<T>>::iter_prefix((collection,))
-			.map(|(a, _)| a)
-			.collect()
 	}
 }
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/lib.rs
+++ b/pallets/nonfungible/src/lib.rs
@@ -133,8 +133,8 @@
 
 // unchecked calls skips any permission checks
 impl<T: Config> Pallet<T> {
-	pub fn init_collection(data: Collection<T>) -> Result<CollectionId, DispatchError> {
-		PalletCommon::init_collection(data)
+	pub fn init_collection(data: Collection<T::AccountId>) -> Result<CollectionId, DispatchError> {
+		<PalletCommon<T>>::init_collection(data)
 	}
 	pub fn destroy_collection(
 		collection: NonfungibleHandle<T>,
modifiedpallets/refungible/src/lib.rsdiffbeforeafterboth
--- a/pallets/refungible/src/lib.rs
+++ b/pallets/refungible/src/lib.rs
@@ -156,8 +156,8 @@
 
 // unchecked calls skips any permission checks
 impl<T: Config> Pallet<T> {
-	pub fn init_collection(data: Collection<T>) -> Result<CollectionId, DispatchError> {
-		PalletCommon::init_collection(data)
+	pub fn init_collection(data: Collection<T::AccountId>) -> Result<CollectionId, DispatchError> {
+		<PalletCommon<T>>::init_collection(data)
 	}
 	pub fn destroy_collection(
 		collection: RefungibleHandle<T>,
modifiedprimitives/nft/src/lib.rsdiffbeforeafterboth
--- a/primitives/nft/src/lib.rs
+++ b/primitives/nft/src/lib.rs
@@ -207,8 +207,8 @@
 
 #[derive(Encode, Decode, Clone, PartialEq, TypeInfo)]
 #[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
-pub struct Collection<T: frame_system::Config> {
-	pub owner: T::AccountId,
+pub struct Collection<AccountId> {
+	pub owner: AccountId,
 	pub mode: CollectionMode,
 	pub access: AccessMode,
 	pub name: Vec<u16>,        // 64 include null escape char
@@ -217,7 +217,7 @@
 	pub mint_mode: bool,
 	pub offchain_schema: Vec<u8>,
 	pub schema_version: SchemaVersion,
-	pub sponsorship: SponsorshipState<T::AccountId>,
+	pub sponsorship: SponsorshipState<AccountId>,
 	pub limits: CollectionLimits,          // Collection private restrictions
 	pub variable_on_chain_schema: Vec<u8>, //
 	pub const_on_chain_schema: Vec<u8>,    //
@@ -413,3 +413,11 @@
 		CreateItemData::Fungible(item)
 	}
 }
+
+#[derive(Encode, Decode, MaxEncodedLen, PartialEq, Clone, Debug, TypeInfo)]
+#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
+pub struct CollectionStats {
+	pub created: u32,
+	pub destroyed: u32,
+	pub alive: u32,
+}
modifiedprimitives/rpc/src/lib.rsdiffbeforeafterboth
--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -1,6 +1,6 @@
 #![cfg_attr(not(feature = "std"), no_std)]
 
-use nft_data_structs::{CollectionId, TokenId};
+use nft_data_structs::{CollectionId, TokenId, Collection, CollectionStats};
 use sp_std::vec::Vec;
 use sp_core::H160;
 use codec::Decode;
@@ -32,6 +32,9 @@
 
 		fn adminlist(collection: CollectionId) -> Vec<CrossAccountId>;
 		fn allowlist(collection: CollectionId) -> Vec<CrossAccountId>;
+		fn allowed(collection: CollectionId, user: CrossAccountId) -> bool;
 		fn last_token_id(collection: CollectionId) -> TokenId;
+		fn collection_by_id(collection: CollectionId) -> Option<Collection<AccountId>>;
+		fn collection_stats() -> CollectionStats;
 	}
 }
modifiedruntime/src/lib.rsdiffbeforeafterboth
--- a/runtime/src/lib.rs
+++ b/runtime/src/lib.rs
@@ -1040,14 +1040,23 @@
 				.or_else(|| <pallet_evm_contract_helpers::HelpersOnMethodCall<Self>>::get_code(&account))
 		}
 		fn adminlist(collection: CollectionId) -> Vec<CrossAccountId> {
-			<pallet_nft::Pallet<Runtime>>::adminlist(collection)
+			<pallet_common::Pallet<Runtime>>::adminlist(collection)
 		}
 		fn allowlist(collection: CollectionId) -> Vec<CrossAccountId> {
-			<pallet_nft::Pallet<Runtime>>::allowlist(collection)
+			<pallet_common::Pallet<Runtime>>::allowlist(collection)
+		}
+		fn allowed(collection: CollectionId, user: CrossAccountId) -> bool {
+			<pallet_common::Pallet<Runtime>>::allowed(collection, user)
 		}
 		fn last_token_id(collection: CollectionId) -> TokenId {
 			dispatch_nft_runtime!(collection.last_token_id())
 		}
+		fn collection_by_id(collection: CollectionId) -> Option<Collection<AccountId>> {
+			<pallet_common::CollectionById<Runtime>>::get(collection)
+		}
+		fn collection_stats() -> CollectionStats {
+			<pallet_common::Pallet<Runtime>>::collection_stats()
+		}
 	}
 
 	impl sp_api::Core<Block> for Runtime {
modifiedtests/src/addCollectionAdmin.test.tsdiffbeforeafterboth
--- a/tests/src/addCollectionAdmin.test.ts
+++ b/tests/src/addCollectionAdmin.test.ts
@@ -8,7 +8,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from './substrate/privateKey';
 import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api';
-import {addCollectionAdminExpectSuccess, createCollectionExpectSuccess, destroyCollectionExpectSuccess, getAdminList, normalizeAccountId} from './util/helpers';
+import {addCollectionAdminExpectSuccess, createCollectionExpectSuccess, destroyCollectionExpectSuccess, getAdminList, normalizeAccountId, queryCollectionExpectSuccess} from './util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -20,7 +20,7 @@
       const alice = privateKey('//Alice');
       const bob = privateKey('//Bob');
 
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.equal(alice.address);
 
       const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(bob.address));
@@ -38,7 +38,7 @@
       const bob = privateKey('//Bob');
       const charlie = privateKey('//CHARLIE');
 
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.equal(alice.address);
 
       const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(bob.address));
modifiedtests/src/addToAllowList.test.tsdiffbeforeafterboth
--- a/tests/src/addToAllowList.test.ts
+++ b/tests/src/addToAllowList.test.ts
@@ -18,6 +18,7 @@
   normalizeAccountId,
   addCollectionAdminExpectSuccess,
   addToAllowListExpectFail,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -55,7 +56,7 @@
   it('Allow list an address in the collection that does not exist', async () => {
     await usingApi(async (api) => {
       // tslint:disable-next-line: no-bitwise
-      const collectionId = ((await api.query.common.createdCollectionCount()).toNumber()) + 1;
+      const collectionId = await getCreatedCollectionCount(api) + 1;
       const bob = privateKey('//Bob');
 
       const tx = api.tx.nft.addToAllowList(collectionId, normalizeAccountId(bob.address));
modifiedtests/src/approve.test.tsdiffbeforeafterboth
--- a/tests/src/approve.test.ts
+++ b/tests/src/approve.test.ts
@@ -18,6 +18,7 @@
   transferExpectSuccess,
   addCollectionAdminExpectSuccess,
   adminApproveFromExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -94,13 +95,13 @@
   it('Approve for a collection that does not exist', async () => {
     await usingApi(async (api: ApiPromise) => {
       // nft
-      const nftCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const nftCollectionCount = await getCreatedCollectionCount(api);
       await approveExpectFail(nftCollectionCount + 1, 1, alice, bob);
       // fungible
-      const fungibleCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const fungibleCollectionCount = await getCreatedCollectionCount(api);
       await approveExpectFail(fungibleCollectionCount + 1, 0, alice, bob);
       // reFungible
-      const reFungibleCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const reFungibleCollectionCount = await getCreatedCollectionCount(api);
       await approveExpectFail(reFungibleCollectionCount + 1, 1, alice, bob);
     });
   });
modifiedtests/src/change-collection-owner.test.tsdiffbeforeafterboth
--- a/tests/src/change-collection-owner.test.ts
+++ b/tests/src/change-collection-owner.test.ts
@@ -22,6 +22,7 @@
   setMintPermissionExpectFailure,
   destroyCollectionExpectFailure,
   setPublicAccessModeExpectSuccess,
+  queryCollectionExpectSuccess,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -34,13 +35,13 @@
       const alice = privateKey('//Alice');
       const bob = privateKey('//Bob');
 
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection =await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.deep.eq(alice.address);
 
       const changeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, bob.address);
       await submitTransactionAsync(alice, changeOwnerTx);
 
-      const collectionAfterOwnerChange = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collectionAfterOwnerChange = await queryCollectionExpectSuccess(api, collectionId);
       expect(collectionAfterOwnerChange.owner.toString()).to.be.deep.eq(bob.address);
     });
   });
@@ -53,7 +54,7 @@
       const alice = privateKey('//Alice');
       const bob = privateKey('//Bob');
 
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.deep.eq(alice.address);
 
       const changeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, bob.address);
@@ -62,7 +63,7 @@
       const badChangeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, alice.address);
       await expect(submitTransactionExpectFailAsync(alice, badChangeOwnerTx)).to.be.rejected;
 
-      const collectionAfterOwnerChange = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collectionAfterOwnerChange = await queryCollectionExpectSuccess(api, collectionId);
       expect(collectionAfterOwnerChange.owner.toString()).to.be.deep.eq(bob.address);
     });
   });
@@ -74,13 +75,13 @@
       const bob = privateKey('//Bob');
       const charlie = privateKey('//Charlie');
 
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.deep.eq(alice.address);
 
       const changeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, bob.address);
       await submitTransactionAsync(alice, changeOwnerTx);
 
-      const collectionAfterOwnerChange = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collectionAfterOwnerChange = await queryCollectionExpectSuccess(api, collectionId);
       expect(collectionAfterOwnerChange.owner.toString()).to.be.deep.eq(bob.address);
 
       // After changing the owner of the collection, all privileged methods are available to the new owner
@@ -118,20 +119,20 @@
       const bob = privateKey('//Bob');
       const charlie = privateKey('//Charlie');
 
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.deep.eq(alice.address);
 
       const changeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, bob.address);
       await submitTransactionAsync(alice, changeOwnerTx);
 
-      const collectionAfterOwnerChange = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collectionAfterOwnerChange = await queryCollectionExpectSuccess(api, collectionId);
       expect(collectionAfterOwnerChange.owner.toString()).to.be.deep.eq(bob.address);
 
       const changeOwnerTx2 = api.tx.nft.changeCollectionOwner(collectionId, charlie.address);
       await submitTransactionAsync(bob, changeOwnerTx2);
 
       // ownership lost
-      const collectionAfterOwnerChange2 = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collectionAfterOwnerChange2 = await queryCollectionExpectSuccess(api, collectionId);
       expect(collectionAfterOwnerChange2.owner.toString()).to.be.deep.eq(charlie.address);
     });
   });
@@ -147,7 +148,7 @@
       const changeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, bob.address);
       await expect(submitTransactionExpectFailAsync(bob, changeOwnerTx)).to.be.rejected;
 
-      const collectionAfterOwnerChange = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collectionAfterOwnerChange = await queryCollectionExpectSuccess(api, collectionId);
       expect(collectionAfterOwnerChange.owner.toString()).to.be.deep.eq(alice.address);
 
       // Verifying that nothing bad happened (network is live, new collections can be created, etc.)
@@ -166,7 +167,7 @@
       const changeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, bob.address);
       await expect(submitTransactionExpectFailAsync(bob, changeOwnerTx)).to.be.rejected;
 
-      const collectionAfterOwnerChange = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collectionAfterOwnerChange = await queryCollectionExpectSuccess(api, collectionId);
       expect(collectionAfterOwnerChange.owner.toString()).to.be.deep.eq(alice.address);
 
       // Verifying that nothing bad happened (network is live, new collections can be created, etc.)
@@ -195,7 +196,7 @@
       const bob = privateKey('//Bob');
       const charlie = privateKey('//Charlie');
 
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.deep.eq(alice.address);
 
       const changeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, bob.address);
@@ -204,7 +205,7 @@
       const badChangeOwnerTx = api.tx.nft.changeCollectionOwner(collectionId, alice.address);
       await expect(submitTransactionExpectFailAsync(alice, badChangeOwnerTx)).to.be.rejected;
 
-      const collectionAfterOwnerChange = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collectionAfterOwnerChange = await queryCollectionExpectSuccess(api, collectionId);
       expect(collectionAfterOwnerChange.owner.toString()).to.be.deep.eq(bob.address);
 
       await setCollectionSponsorExpectFailure(collectionId, charlie.address, '//Alice');
modifiedtests/src/confirmSponsorship.test.tsdiffbeforeafterboth
--- a/tests/src/confirmSponsorship.test.ts
+++ b/tests/src/confirmSponsorship.test.ts
@@ -20,6 +20,7 @@
   addToAllowListExpectSuccess,
   normalizeAccountId,
   addCollectionAdminExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 import {Keyring} from '@polkadot/api';
 import {IKeyringPair} from '@polkadot/types/types';
@@ -335,7 +336,7 @@
     // Find the collection that never existed
     let collectionId = 0;
     await usingApi(async (api) => {
-      collectionId = (await api.query.common.createdCollectionCount()).toNumber() + 1;
+      collectionId = await getCreatedCollectionCount(api) + 1;
     });
 
     await confirmSponsorshipExpectFailure(collectionId, '//Bob');
modifiedtests/src/contracts.test.tsdiffbeforeafterboth
--- a/tests/src/contracts.test.ts
+++ b/tests/src/contracts.test.ts
@@ -228,7 +228,7 @@
       const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, contract.address);
       await submitTransactionAsync(alice, changeAdminTx);
 
-      expect(await isAllowlisted(collectionId, bob.address)).to.be.false;
+      expect(await isAllowlisted(api, collectionId, bob.address)).to.be.false;
 
       {
         const transferTx = contract.tx.toggleAllowList(value, gasLimit, collectionId, bob.address, true);
@@ -236,7 +236,7 @@
         const result = getGenericResult(events);
         expect(result.success).to.be.true;
 
-        expect(await isAllowlisted(collectionId, bob.address)).to.be.true;
+        expect(await isAllowlisted(api, collectionId, bob.address)).to.be.true;
       }
       {
         const transferTx = contract.tx.toggleAllowList(value, gasLimit, collectionId, bob.address, false);
@@ -244,7 +244,7 @@
         const result = getGenericResult(events);
         expect(result.success).to.be.true;
 
-        expect(await isAllowlisted(collectionId, bob.address)).to.be.false;
+        expect(await isAllowlisted(api, collectionId, bob.address)).to.be.false;
       }
     });
   });
modifiedtests/src/createMultipleItems.test.tsdiffbeforeafterboth
--- a/tests/src/createMultipleItems.test.ts
+++ b/tests/src/createMultipleItems.test.ts
@@ -20,6 +20,7 @@
   getLastTokenId,
   getVariableMetadata,
   getConstMetadata,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -273,7 +274,7 @@
 
   it('Create token in not existing collection', async () => {
     await usingApi(async (api: ApiPromise) => {
-      const collectionId = (await api.query.common.createdCollectionCount()).toNumber() + 1;
+      const collectionId = await getCreatedCollectionCount(api) + 1;
       const createMultipleItemsTx = api.tx.nft
         .createMultipleItems(collectionId, normalizeAccountId(alice.address), ['NFT', 'NFT', 'NFT']);
       await expect(submitTransactionExpectFailAsync(alice, createMultipleItemsTx)).to.be.rejected;
modifiedtests/src/destroyCollection.test.tsdiffbeforeafterboth
--- a/tests/src/destroyCollection.test.ts
+++ b/tests/src/destroyCollection.test.ts
@@ -13,6 +13,7 @@
   destroyCollectionExpectFailure,
   setCollectionLimitsExpectSuccess,
   addCollectionAdminExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -46,7 +47,7 @@
   it('(!negative test!) Destroy a collection that never existed', async () => {
     await usingApi(async (api) => {
       // Find the collection that never existed
-      const collectionId = (await api.query.common.createdCollectionCount()).toNumber() + 1;
+      const collectionId = await getCreatedCollectionCount(api) + 1;
       await destroyCollectionExpectFailure(collectionId);
     });
   });
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
 // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
 /* eslint-disable */
 
-import type { NftDataStructsCollectionId, NftDataStructsTokenId, PalletCommonAccountBasicCrossAccountIdRepr } from './nft';
+import type { NftDataStructsCollection, NftDataStructsCollectionId, NftDataStructsCollectionStats, NftDataStructsTokenId, PalletCommonAccountBasicCrossAccountIdRepr } from './nft';
 import type { Bytes, HashMap, Json, Metadata, Null, Option, StorageKey, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types';
 import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
 import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
@@ -373,6 +373,10 @@
        **/
       allowance: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, sender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: NftDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
       /**
+       * Check if user is allowed to use collection
+       **/
+      allowed: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
+      /**
        * Get allowlist
        **/
       allowlist: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletCommonAccountBasicCrossAccountIdRepr>>>;
@@ -381,6 +385,14 @@
        **/
       balance: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, account: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: NftDataStructsTokenId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
       /**
+       * Get collection by specified id
+       **/
+      collectionById: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<NftDataStructsCollection>>>;
+      /**
+       * Get collection stats
+       **/
+      collectionStats: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<NftDataStructsCollectionStats>>;
+      /**
        * Get tokens contained in collection
        **/
       collectionTokens: AugmentedRpc<(collection: NftDataStructsCollectionId | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<NftDataStructsTokenId>>>;
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
before · tests/src/interfaces/augment-types.ts
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { EthereumBlock, EthereumLog, EthereumReceipt, EthereumTransactionLegacyTransaction, EvmCoreErrorExitReason, FpRpcTransactionStatus } from './ethereum';5import type { NftDataStructsAccessMode, NftDataStructsCollection, NftDataStructsCollectionId, NftDataStructsCollectionLimits, NftDataStructsCollectionMode, NftDataStructsCreateItemData, NftDataStructsMetaUpdatePermission, NftDataStructsSchemaVersion, NftDataStructsSponsorshipState, NftDataStructsTokenId, PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, PalletUnqSchedulerCallSpec, PalletUnqSchedulerReleases, PalletUnqSchedulerScheduledV2 } from './nft';6import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';7import type { BitVec, Bool, Bytes, Data, I128, I16, I256, I32, I64, I8, Json, Null, Raw, StorageKey, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types';8import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';9import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';10import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';11import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';12import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';13import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';14import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';15import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy';16import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';17import type { BlockHash } from '@polkadot/types/interfaces/chain';18import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';19import type { StatementKind } from '@polkadot/types/interfaces/claims';20import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';21import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';22import type { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';23import type { ContractConstructorSpec, ContractContractSpec, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpec, ContractEventSpec, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpec, ContractMessageSpec, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';24import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';25import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';26import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';27import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';28import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';29import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';30import type { EvmAccount, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';31import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';32import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset';33import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt';34import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';35import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity';36import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';37import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';38import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableRegistry, PortableRegistryV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';39import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';40import type { StorageKind } from '@polkadot/types/interfaces/offchain';41import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';42import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersDataTuple, WinningData, WinningDataEntry } from '@polkadot/types/interfaces/parachains';43import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';44import type { Approvals } from '@polkadot/types/interfaces/poll';45import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';46import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';47import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';48import type { RpcMethods } from '@polkadot/types/interfaces/rpc';49import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';50import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo';51import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler';52import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';53import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';54import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';55import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';56import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';57import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';58import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';59import type { Multiplier } from '@polkadot/types/interfaces/txpayment';60import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';61import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';62import type { VestingInfo } from '@polkadot/types/interfaces/vesting';63import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';6465declare module '@polkadot/types/types/registry' {66  export interface InterfaceTypes {67    AbridgedCandidateReceipt: AbridgedCandidateReceipt;68    AbridgedHostConfiguration: AbridgedHostConfiguration;69    AbridgedHrmpChannel: AbridgedHrmpChannel;70    AccountData: AccountData;71    AccountId: AccountId;72    AccountId20: AccountId20;73    AccountId32: AccountId32;74    AccountIdOf: AccountIdOf;75    AccountIndex: AccountIndex;76    AccountInfo: AccountInfo;77    AccountInfoWithDualRefCount: AccountInfoWithDualRefCount;78    AccountInfoWithProviders: AccountInfoWithProviders;79    AccountInfoWithRefCount: AccountInfoWithRefCount;80    AccountInfoWithRefCountU8: AccountInfoWithRefCountU8;81    AccountInfoWithTripleRefCount: AccountInfoWithTripleRefCount;82    AccountStatus: AccountStatus;83    AccountValidity: AccountValidity;84    AccountVote: AccountVote;85    AccountVoteSplit: AccountVoteSplit;86    AccountVoteStandard: AccountVoteStandard;87    ActiveEraInfo: ActiveEraInfo;88    ActiveGilt: ActiveGilt;89    ActiveGiltsTotal: ActiveGiltsTotal;90    ActiveIndex: ActiveIndex;91    ActiveRecovery: ActiveRecovery;92    Address: Address;93    AliveContractInfo: AliveContractInfo;94    AllowedSlots: AllowedSlots;95    AnySignature: AnySignature;96    ApiId: ApiId;97    ApplyExtrinsicResult: ApplyExtrinsicResult;98    ApprovalFlag: ApprovalFlag;99    Approvals: Approvals;100    ArithmeticError: ArithmeticError;101    AssetApproval: AssetApproval;102    AssetApprovalKey: AssetApprovalKey;103    AssetBalance: AssetBalance;104    AssetDestroyWitness: AssetDestroyWitness;105    AssetDetails: AssetDetails;106    AssetId: AssetId;107    AssetInstance: AssetInstance;108    AssetInstanceV0: AssetInstanceV0;109    AssetInstanceV1: AssetInstanceV1;110    AssetInstanceV2: AssetInstanceV2;111    AssetMetadata: AssetMetadata;112    AssetOptions: AssetOptions;113    AssignmentId: AssignmentId;114    AssignmentKind: AssignmentKind;115    AttestedCandidate: AttestedCandidate;116    AuctionIndex: AuctionIndex;117    AuthIndex: AuthIndex;118    AuthorityDiscoveryId: AuthorityDiscoveryId;119    AuthorityId: AuthorityId;120    AuthorityIndex: AuthorityIndex;121    AuthorityList: AuthorityList;122    AuthoritySet: AuthoritySet;123    AuthoritySetChange: AuthoritySetChange;124    AuthoritySetChanges: AuthoritySetChanges;125    AuthoritySignature: AuthoritySignature;126    AuthorityWeight: AuthorityWeight;127    AvailabilityBitfield: AvailabilityBitfield;128    AvailabilityBitfieldRecord: AvailabilityBitfieldRecord;129    BabeAuthorityWeight: BabeAuthorityWeight;130    BabeBlockWeight: BabeBlockWeight;131    BabeEpochConfiguration: BabeEpochConfiguration;132    BabeEquivocationProof: BabeEquivocationProof;133    BabeWeight: BabeWeight;134    BackedCandidate: BackedCandidate;135    Balance: Balance;136    BalanceLock: BalanceLock;137    BalanceLockTo212: BalanceLockTo212;138    BalanceOf: BalanceOf;139    BalanceStatus: BalanceStatus;140    BeefyCommitment: BeefyCommitment;141    BeefyId: BeefyId;142    BeefyKey: BeefyKey;143    BeefyNextAuthoritySet: BeefyNextAuthoritySet;144    BeefyPayload: BeefyPayload;145    BeefySignedCommitment: BeefySignedCommitment;146    Bid: Bid;147    Bidder: Bidder;148    BidKind: BidKind;149    BitVec: BitVec;150    Block: Block;151    BlockAttestations: BlockAttestations;152    BlockHash: BlockHash;153    BlockLength: BlockLength;154    BlockNumber: BlockNumber;155    BlockNumberFor: BlockNumberFor;156    BlockNumberOf: BlockNumberOf;157    BlockTrace: BlockTrace;158    BlockTraceEvent: BlockTraceEvent;159    BlockTraceEventData: BlockTraceEventData;160    BlockTraceSpan: BlockTraceSpan;161    BlockV0: BlockV0;162    BlockV1: BlockV1;163    BlockV2: BlockV2;164    BlockWeights: BlockWeights;165    BodyId: BodyId;166    BodyPart: BodyPart;167    bool: bool;168    Bool: Bool;169    Bounty: Bounty;170    BountyIndex: BountyIndex;171    BountyStatus: BountyStatus;172    BountyStatusActive: BountyStatusActive;173    BountyStatusCuratorProposed: BountyStatusCuratorProposed;174    BountyStatusPendingPayout: BountyStatusPendingPayout;175    BridgedBlockHash: BridgedBlockHash;176    BridgedBlockNumber: BridgedBlockNumber;177    BridgedHeader: BridgedHeader;178    BridgeMessageId: BridgeMessageId;179    BufferedSessionChange: BufferedSessionChange;180    Bytes: Bytes;181    Call: Call;182    CallHash: CallHash;183    CallHashOf: CallHashOf;184    CallIndex: CallIndex;185    CallOrigin: CallOrigin;186    CandidateCommitments: CandidateCommitments;187    CandidateDescriptor: CandidateDescriptor;188    CandidateHash: CandidateHash;189    CandidateInfo: CandidateInfo;190    CandidatePendingAvailability: CandidatePendingAvailability;191    CandidateReceipt: CandidateReceipt;192    ChainId: ChainId;193    ChainProperties: ChainProperties;194    ChainType: ChainType;195    ChangesTrieConfiguration: ChangesTrieConfiguration;196    ChangesTrieSignal: ChangesTrieSignal;197    ClassDetails: ClassDetails;198    ClassId: ClassId;199    ClassMetadata: ClassMetadata;200    CodecHash: CodecHash;201    CodeHash: CodeHash;202    CollatorId: CollatorId;203    CollatorSignature: CollatorSignature;204    CollectiveOrigin: CollectiveOrigin;205    CommittedCandidateReceipt: CommittedCandidateReceipt;206    CompactAssignments: CompactAssignments;207    CompactAssignmentsTo257: CompactAssignmentsTo257;208    CompactAssignmentsTo265: CompactAssignmentsTo265;209    CompactAssignmentsWith16: CompactAssignmentsWith16;210    CompactAssignmentsWith24: CompactAssignmentsWith24;211    CompactScore: CompactScore;212    CompactScoreCompact: CompactScoreCompact;213    ConfigData: ConfigData;214    Consensus: Consensus;215    ConsensusEngineId: ConsensusEngineId;216    ConsumedWeight: ConsumedWeight;217    ContractCallRequest: ContractCallRequest;218    ContractConstructorSpec: ContractConstructorSpec;219    ContractContractSpec: ContractContractSpec;220    ContractCryptoHasher: ContractCryptoHasher;221    ContractDiscriminant: ContractDiscriminant;222    ContractDisplayName: ContractDisplayName;223    ContractEventParamSpec: ContractEventParamSpec;224    ContractEventSpec: ContractEventSpec;225    ContractExecResult: ContractExecResult;226    ContractExecResultErr: ContractExecResultErr;227    ContractExecResultErrModule: ContractExecResultErrModule;228    ContractExecResultOk: ContractExecResultOk;229    ContractExecResultResult: ContractExecResultResult;230    ContractExecResultSuccessTo255: ContractExecResultSuccessTo255;231    ContractExecResultSuccessTo260: ContractExecResultSuccessTo260;232    ContractExecResultTo255: ContractExecResultTo255;233    ContractExecResultTo260: ContractExecResultTo260;234    ContractExecResultTo267: ContractExecResultTo267;235    ContractInfo: ContractInfo;236    ContractInstantiateResult: ContractInstantiateResult;237    ContractInstantiateResultTo267: ContractInstantiateResultTo267;238    ContractLayoutArray: ContractLayoutArray;239    ContractLayoutCell: ContractLayoutCell;240    ContractLayoutEnum: ContractLayoutEnum;241    ContractLayoutHash: ContractLayoutHash;242    ContractLayoutHashingStrategy: ContractLayoutHashingStrategy;243    ContractLayoutKey: ContractLayoutKey;244    ContractLayoutStruct: ContractLayoutStruct;245    ContractLayoutStructField: ContractLayoutStructField;246    ContractMessageParamSpec: ContractMessageParamSpec;247    ContractMessageSpec: ContractMessageSpec;248    ContractMetadata: ContractMetadata;249    ContractMetadataLatest: ContractMetadataLatest;250    ContractMetadataV0: ContractMetadataV0;251    ContractMetadataV1: ContractMetadataV1;252    ContractProject: ContractProject;253    ContractProjectContract: ContractProjectContract;254    ContractProjectInfo: ContractProjectInfo;255    ContractProjectSource: ContractProjectSource;256    ContractProjectV0: ContractProjectV0;257    ContractSelector: ContractSelector;258    ContractStorageKey: ContractStorageKey;259    ContractStorageLayout: ContractStorageLayout;260    ContractTypeSpec: ContractTypeSpec;261    Conviction: Conviction;262    CoreAssignment: CoreAssignment;263    CoreIndex: CoreIndex;264    CoreOccupied: CoreOccupied;265    CrateVersion: CrateVersion;266    CreatedBlock: CreatedBlock;267    CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData;268    CumulusPalletDmpQueuePageIndexData: CumulusPalletDmpQueuePageIndexData;269    CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot;270    CumulusPalletXcmpQueueInboundStatus: CumulusPalletXcmpQueueInboundStatus;271    CumulusPalletXcmpQueueOutboundStatus: CumulusPalletXcmpQueueOutboundStatus;272    CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData;273    CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData;274    Data: Data;275    DeferredOffenceOf: DeferredOffenceOf;276    DefunctVoter: DefunctVoter;277    DelayKind: DelayKind;278    DelayKindBest: DelayKindBest;279    Delegations: Delegations;280    DeletedContract: DeletedContract;281    DeliveredMessages: DeliveredMessages;282    DepositBalance: DepositBalance;283    DepositBalanceOf: DepositBalanceOf;284    DestroyWitness: DestroyWitness;285    Digest: Digest;286    DigestItem: DigestItem;287    DigestOf: DigestOf;288    DispatchClass: DispatchClass;289    DispatchError: DispatchError;290    DispatchErrorModule: DispatchErrorModule;291    DispatchErrorTo198: DispatchErrorTo198;292    DispatchFeePayment: DispatchFeePayment;293    DispatchInfo: DispatchInfo;294    DispatchInfoTo190: DispatchInfoTo190;295    DispatchInfoTo244: DispatchInfoTo244;296    DispatchOutcome: DispatchOutcome;297    DispatchResult: DispatchResult;298    DispatchResultOf: DispatchResultOf;299    DispatchResultTo198: DispatchResultTo198;300    DisputeLocation: DisputeLocation;301    DisputeResult: DisputeResult;302    DisputeState: DisputeState;303    DisputeStatement: DisputeStatement;304    DisputeStatementSet: DisputeStatementSet;305    DoubleEncodedCall: DoubleEncodedCall;306    DoubleVoteReport: DoubleVoteReport;307    DownwardMessage: DownwardMessage;308    EcdsaSignature: EcdsaSignature;309    Ed25519Signature: Ed25519Signature;310    EIP1559Transaction: EIP1559Transaction;311    EIP2930Transaction: EIP2930Transaction;312    ElectionCompute: ElectionCompute;313    ElectionPhase: ElectionPhase;314    ElectionResult: ElectionResult;315    ElectionScore: ElectionScore;316    ElectionSize: ElectionSize;317    ElectionStatus: ElectionStatus;318    EncodedFinalityProofs: EncodedFinalityProofs;319    EncodedJustification: EncodedJustification;320    EpochAuthorship: EpochAuthorship;321    Era: Era;322    EraIndex: EraIndex;323    EraPoints: EraPoints;324    EraRewardPoints: EraRewardPoints;325    EraRewards: EraRewards;326    ErrorMetadataLatest: ErrorMetadataLatest;327    ErrorMetadataV10: ErrorMetadataV10;328    ErrorMetadataV11: ErrorMetadataV11;329    ErrorMetadataV12: ErrorMetadataV12;330    ErrorMetadataV13: ErrorMetadataV13;331    ErrorMetadataV14: ErrorMetadataV14;332    ErrorMetadataV9: ErrorMetadataV9;333    EthAccessList: EthAccessList;334    EthAccessListItem: EthAccessListItem;335    EthAccount: EthAccount;336    EthAddress: EthAddress;337    EthBlock: EthBlock;338    EthBloom: EthBloom;339    EthCallRequest: EthCallRequest;340    EthereumAccountId: EthereumAccountId;341    EthereumAddress: EthereumAddress;342    EthereumBlock: EthereumBlock;343    EthereumLog: EthereumLog;344    EthereumLookupSource: EthereumLookupSource;345    EthereumReceipt: EthereumReceipt;346    EthereumSignature: EthereumSignature;347    EthereumTransactionLegacyTransaction: EthereumTransactionLegacyTransaction;348    EthFilter: EthFilter;349    EthFilterAddress: EthFilterAddress;350    EthFilterChanges: EthFilterChanges;351    EthFilterTopic: EthFilterTopic;352    EthFilterTopicEntry: EthFilterTopicEntry;353    EthFilterTopicInner: EthFilterTopicInner;354    EthHeader: EthHeader;355    EthLog: EthLog;356    EthReceipt: EthReceipt;357    EthRichBlock: EthRichBlock;358    EthRichHeader: EthRichHeader;359    EthStorageProof: EthStorageProof;360    EthSubKind: EthSubKind;361    EthSubParams: EthSubParams;362    EthSubResult: EthSubResult;363    EthSyncInfo: EthSyncInfo;364    EthSyncStatus: EthSyncStatus;365    EthTransaction: EthTransaction;366    EthTransactionAction: EthTransactionAction;367    EthTransactionCondition: EthTransactionCondition;368    EthTransactionRequest: EthTransactionRequest;369    EthTransactionSignature: EthTransactionSignature;370    EthTransactionStatus: EthTransactionStatus;371    EthWork: EthWork;372    Event: Event;373    EventId: EventId;374    EventIndex: EventIndex;375    EventMetadataLatest: EventMetadataLatest;376    EventMetadataV10: EventMetadataV10;377    EventMetadataV11: EventMetadataV11;378    EventMetadataV12: EventMetadataV12;379    EventMetadataV13: EventMetadataV13;380    EventMetadataV14: EventMetadataV14;381    EventMetadataV9: EventMetadataV9;382    EventRecord: EventRecord;383    EvmAccount: EvmAccount;384    EvmCoreErrorExitReason: EvmCoreErrorExitReason;385    EvmLog: EvmLog;386    EvmVicinity: EvmVicinity;387    ExecReturnValue: ExecReturnValue;388    ExitError: ExitError;389    ExitFatal: ExitFatal;390    ExitReason: ExitReason;391    ExitRevert: ExitRevert;392    ExitSucceed: ExitSucceed;393    ExplicitDisputeStatement: ExplicitDisputeStatement;394    Exposure: Exposure;395    ExtendedBalance: ExtendedBalance;396    Extrinsic: Extrinsic;397    ExtrinsicEra: ExtrinsicEra;398    ExtrinsicMetadataLatest: ExtrinsicMetadataLatest;399    ExtrinsicMetadataV11: ExtrinsicMetadataV11;400    ExtrinsicMetadataV12: ExtrinsicMetadataV12;401    ExtrinsicMetadataV13: ExtrinsicMetadataV13;402    ExtrinsicMetadataV14: ExtrinsicMetadataV14;403    ExtrinsicOrHash: ExtrinsicOrHash;404    ExtrinsicPayload: ExtrinsicPayload;405    ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown;406    ExtrinsicPayloadV4: ExtrinsicPayloadV4;407    ExtrinsicSignature: ExtrinsicSignature;408    ExtrinsicSignatureV4: ExtrinsicSignatureV4;409    ExtrinsicStatus: ExtrinsicStatus;410    ExtrinsicsWeight: ExtrinsicsWeight;411    ExtrinsicUnknown: ExtrinsicUnknown;412    ExtrinsicV4: ExtrinsicV4;413    FeeDetails: FeeDetails;414    Fixed128: Fixed128;415    Fixed64: Fixed64;416    FixedI128: FixedI128;417    FixedI64: FixedI64;418    FixedU128: FixedU128;419    FixedU64: FixedU64;420    Forcing: Forcing;421    ForkTreePendingChange: ForkTreePendingChange;422    ForkTreePendingChangeNode: ForkTreePendingChangeNode;423    FpRpcTransactionStatus: FpRpcTransactionStatus;424    FullIdentification: FullIdentification;425    FunctionArgumentMetadataLatest: FunctionArgumentMetadataLatest;426    FunctionArgumentMetadataV10: FunctionArgumentMetadataV10;427    FunctionArgumentMetadataV11: FunctionArgumentMetadataV11;428    FunctionArgumentMetadataV12: FunctionArgumentMetadataV12;429    FunctionArgumentMetadataV13: FunctionArgumentMetadataV13;430    FunctionArgumentMetadataV14: FunctionArgumentMetadataV14;431    FunctionArgumentMetadataV9: FunctionArgumentMetadataV9;432    FunctionMetadataLatest: FunctionMetadataLatest;433    FunctionMetadataV10: FunctionMetadataV10;434    FunctionMetadataV11: FunctionMetadataV11;435    FunctionMetadataV12: FunctionMetadataV12;436    FunctionMetadataV13: FunctionMetadataV13;437    FunctionMetadataV14: FunctionMetadataV14;438    FunctionMetadataV9: FunctionMetadataV9;439    FundIndex: FundIndex;440    FundInfo: FundInfo;441    Fungibility: Fungibility;442    FungibilityV0: FungibilityV0;443    FungibilityV1: FungibilityV1;444    FungibilityV2: FungibilityV2;445    Gas: Gas;446    GiltBid: GiltBid;447    GlobalValidationData: GlobalValidationData;448    GlobalValidationSchedule: GlobalValidationSchedule;449    GrandpaCommit: GrandpaCommit;450    GrandpaEquivocation: GrandpaEquivocation;451    GrandpaEquivocationProof: GrandpaEquivocationProof;452    GrandpaEquivocationValue: GrandpaEquivocationValue;453    GrandpaJustification: GrandpaJustification;454    GrandpaPrecommit: GrandpaPrecommit;455    GrandpaPrevote: GrandpaPrevote;456    GrandpaSignedPrecommit: GrandpaSignedPrecommit;457    GroupIndex: GroupIndex;458    H1024: H1024;459    H128: H128;460    H160: H160;461    H2048: H2048;462    H256: H256;463    H32: H32;464    H512: H512;465    H64: H64;466    Hash: Hash;467    HeadData: HeadData;468    Header: Header;469    HeaderPartial: HeaderPartial;470    Health: Health;471    Heartbeat: Heartbeat;472    HeartbeatTo244: HeartbeatTo244;473    HostConfiguration: HostConfiguration;474    HostFnWeights: HostFnWeights;475    HostFnWeightsTo264: HostFnWeightsTo264;476    HrmpChannel: HrmpChannel;477    HrmpChannelId: HrmpChannelId;478    HrmpOpenChannelRequest: HrmpOpenChannelRequest;479    i128: i128;480    I128: I128;481    i16: i16;482    I16: I16;483    i256: i256;484    I256: I256;485    i32: i32;486    I32: I32;487    I32F32: I32F32;488    i64: i64;489    I64: I64;490    i8: i8;491    I8: I8;492    IdentificationTuple: IdentificationTuple;493    IdentityFields: IdentityFields;494    IdentityInfo: IdentityInfo;495    IdentityInfoAdditional: IdentityInfoAdditional;496    IdentityInfoTo198: IdentityInfoTo198;497    IdentityJudgement: IdentityJudgement;498    ImmortalEra: ImmortalEra;499    ImportedAux: ImportedAux;500    InboundDownwardMessage: InboundDownwardMessage;501    InboundHrmpMessage: InboundHrmpMessage;502    InboundHrmpMessages: InboundHrmpMessages;503    InboundLaneData: InboundLaneData;504    InboundRelayer: InboundRelayer;505    InboundStatus: InboundStatus;506    IncludedBlocks: IncludedBlocks;507    InclusionFee: InclusionFee;508    IncomingParachain: IncomingParachain;509    IncomingParachainDeploy: IncomingParachainDeploy;510    IncomingParachainFixed: IncomingParachainFixed;511    Index: Index;512    IndicesLookupSource: IndicesLookupSource;513    IndividualExposure: IndividualExposure;514    InitializationData: InitializationData;515    InstanceDetails: InstanceDetails;516    InstanceId: InstanceId;517    InstanceMetadata: InstanceMetadata;518    InstantiateRequest: InstantiateRequest;519    InstantiateReturnValue: InstantiateReturnValue;520    InstantiateReturnValueTo267: InstantiateReturnValueTo267;521    InstructionV2: InstructionV2;522    InstructionWeights: InstructionWeights;523    InteriorMultiLocation: InteriorMultiLocation;524    InvalidDisputeStatementKind: InvalidDisputeStatementKind;525    InvalidTransaction: InvalidTransaction;526    Json: Json;527    Junction: Junction;528    Junctions: Junctions;529    JunctionsV1: JunctionsV1;530    JunctionsV2: JunctionsV2;531    JunctionV0: JunctionV0;532    JunctionV1: JunctionV1;533    JunctionV2: JunctionV2;534    Justification: Justification;535    JustificationNotification: JustificationNotification;536    Justifications: Justifications;537    Key: Key;538    KeyOwnerProof: KeyOwnerProof;539    Keys: Keys;540    KeyType: KeyType;541    KeyTypeId: KeyTypeId;542    KeyValue: KeyValue;543    KeyValueOption: KeyValueOption;544    Kind: Kind;545    LaneId: LaneId;546    LastContribution: LastContribution;547    LastRuntimeUpgradeInfo: LastRuntimeUpgradeInfo;548    LeasePeriod: LeasePeriod;549    LeasePeriodOf: LeasePeriodOf;550    LegacyTransaction: LegacyTransaction;551    Limits: Limits;552    LimitsTo264: LimitsTo264;553    LocalValidationData: LocalValidationData;554    LockIdentifier: LockIdentifier;555    LookupSource: LookupSource;556    LookupTarget: LookupTarget;557    LotteryConfig: LotteryConfig;558    MaybeRandomness: MaybeRandomness;559    MaybeVrf: MaybeVrf;560    MemberCount: MemberCount;561    MembershipProof: MembershipProof;562    MessageData: MessageData;563    MessageId: MessageId;564    MessageIngestionType: MessageIngestionType;565    MessageKey: MessageKey;566    MessageNonce: MessageNonce;567    MessageQueueChain: MessageQueueChain;568    MessagesDeliveryProofOf: MessagesDeliveryProofOf;569    MessagesProofOf: MessagesProofOf;570    MessagingStateSnapshot: MessagingStateSnapshot;571    MessagingStateSnapshotEgressEntry: MessagingStateSnapshotEgressEntry;572    MetadataAll: MetadataAll;573    MetadataLatest: MetadataLatest;574    MetadataV10: MetadataV10;575    MetadataV11: MetadataV11;576    MetadataV12: MetadataV12;577    MetadataV13: MetadataV13;578    MetadataV14: MetadataV14;579    MetadataV9: MetadataV9;580    MmrLeafProof: MmrLeafProof;581    MmrRootHash: MmrRootHash;582    ModuleConstantMetadataV10: ModuleConstantMetadataV10;583    ModuleConstantMetadataV11: ModuleConstantMetadataV11;584    ModuleConstantMetadataV12: ModuleConstantMetadataV12;585    ModuleConstantMetadataV13: ModuleConstantMetadataV13;586    ModuleConstantMetadataV9: ModuleConstantMetadataV9;587    ModuleId: ModuleId;588    ModuleMetadataV10: ModuleMetadataV10;589    ModuleMetadataV11: ModuleMetadataV11;590    ModuleMetadataV12: ModuleMetadataV12;591    ModuleMetadataV13: ModuleMetadataV13;592    ModuleMetadataV9: ModuleMetadataV9;593    Moment: Moment;594    MomentOf: MomentOf;595    MoreAttestations: MoreAttestations;596    MortalEra: MortalEra;597    MultiAddress: MultiAddress;598    MultiAsset: MultiAsset;599    MultiAssetFilter: MultiAssetFilter;600    MultiAssetFilterV1: MultiAssetFilterV1;601    MultiAssetFilterV2: MultiAssetFilterV2;602    MultiAssets: MultiAssets;603    MultiAssetsV1: MultiAssetsV1;604    MultiAssetsV2: MultiAssetsV2;605    MultiAssetV0: MultiAssetV0;606    MultiAssetV1: MultiAssetV1;607    MultiAssetV2: MultiAssetV2;608    MultiDisputeStatementSet: MultiDisputeStatementSet;609    MultiLocation: MultiLocation;610    MultiLocationV0: MultiLocationV0;611    MultiLocationV1: MultiLocationV1;612    MultiLocationV2: MultiLocationV2;613    Multiplier: Multiplier;614    Multisig: Multisig;615    MultiSignature: MultiSignature;616    MultiSigner: MultiSigner;617    NetworkId: NetworkId;618    NetworkState: NetworkState;619    NetworkStatePeerset: NetworkStatePeerset;620    NetworkStatePeersetInfo: NetworkStatePeersetInfo;621    NewBidder: NewBidder;622    NextAuthority: NextAuthority;623    NextConfigDescriptor: NextConfigDescriptor;624    NextConfigDescriptorV1: NextConfigDescriptorV1;625    NftDataStructsAccessMode: NftDataStructsAccessMode;626    NftDataStructsCollection: NftDataStructsCollection;627    NftDataStructsCollectionId: NftDataStructsCollectionId;628    NftDataStructsCollectionLimits: NftDataStructsCollectionLimits;629    NftDataStructsCollectionMode: NftDataStructsCollectionMode;630    NftDataStructsCreateItemData: NftDataStructsCreateItemData;631    NftDataStructsMetaUpdatePermission: NftDataStructsMetaUpdatePermission;632    NftDataStructsSchemaVersion: NftDataStructsSchemaVersion;633    NftDataStructsSponsorshipState: NftDataStructsSponsorshipState;634    NftDataStructsTokenId: NftDataStructsTokenId;635    NodeRole: NodeRole;636    Nominations: Nominations;637    NominatorIndex: NominatorIndex;638    NominatorIndexCompact: NominatorIndexCompact;639    NotConnectedPeer: NotConnectedPeer;640    Null: Null;641    OffchainAccuracy: OffchainAccuracy;642    OffchainAccuracyCompact: OffchainAccuracyCompact;643    OffenceDetails: OffenceDetails;644    Offender: Offender;645    OpaqueCall: OpaqueCall;646    OpaqueMultiaddr: OpaqueMultiaddr;647    OpaqueNetworkState: OpaqueNetworkState;648    OpaquePeerId: OpaquePeerId;649    OpaqueTimeSlot: OpaqueTimeSlot;650    OpenTip: OpenTip;651    OpenTipFinderTo225: OpenTipFinderTo225;652    OpenTipTip: OpenTipTip;653    OpenTipTo225: OpenTipTo225;654    OperatingMode: OperatingMode;655    Origin: Origin;656    OriginCaller: OriginCaller;657    OriginKindV0: OriginKindV0;658    OriginKindV1: OriginKindV1;659    OriginKindV2: OriginKindV2;660    OutboundHrmpMessage: OutboundHrmpMessage;661    OutboundLaneData: OutboundLaneData;662    OutboundMessageFee: OutboundMessageFee;663    OutboundPayload: OutboundPayload;664    OutboundStatus: OutboundStatus;665    Outcome: Outcome;666    OverweightIndex: OverweightIndex;667    Owner: Owner;668    PageCounter: PageCounter;669    PageIndexData: PageIndexData;670    PalletCallMetadataLatest: PalletCallMetadataLatest;671    PalletCallMetadataV14: PalletCallMetadataV14;672    PalletCommonAccountBasicCrossAccountIdRepr: PalletCommonAccountBasicCrossAccountIdRepr;673    PalletConstantMetadataLatest: PalletConstantMetadataLatest;674    PalletConstantMetadataV14: PalletConstantMetadataV14;675    PalletErrorMetadataLatest: PalletErrorMetadataLatest;676    PalletErrorMetadataV14: PalletErrorMetadataV14;677    PalletEventMetadataLatest: PalletEventMetadataLatest;678    PalletEventMetadataV14: PalletEventMetadataV14;679    PalletId: PalletId;680    PalletMetadataLatest: PalletMetadataLatest;681    PalletMetadataV14: PalletMetadataV14;682    PalletNonfungibleItemData: PalletNonfungibleItemData;683    PalletRefungibleItemData: PalletRefungibleItemData;684    PalletsOrigin: PalletsOrigin;685    PalletStorageMetadataLatest: PalletStorageMetadataLatest;686    PalletStorageMetadataV14: PalletStorageMetadataV14;687    PalletUnqSchedulerCallSpec: PalletUnqSchedulerCallSpec;688    PalletUnqSchedulerReleases: PalletUnqSchedulerReleases;689    PalletUnqSchedulerScheduledV2: PalletUnqSchedulerScheduledV2;690    PalletVersion: PalletVersion;691    ParachainDispatchOrigin: ParachainDispatchOrigin;692    ParachainInherentData: ParachainInherentData;693    ParachainProposal: ParachainProposal;694    ParachainsInherentData: ParachainsInherentData;695    ParaGenesisArgs: ParaGenesisArgs;696    ParaId: ParaId;697    ParaInfo: ParaInfo;698    ParaLifecycle: ParaLifecycle;699    Parameter: Parameter;700    ParaPastCodeMeta: ParaPastCodeMeta;701    ParaScheduling: ParaScheduling;702    ParathreadClaim: ParathreadClaim;703    ParathreadClaimQueue: ParathreadClaimQueue;704    ParathreadEntry: ParathreadEntry;705    ParaValidatorIndex: ParaValidatorIndex;706    Pays: Pays;707    Peer: Peer;708    PeerEndpoint: PeerEndpoint;709    PeerEndpointAddr: PeerEndpointAddr;710    PeerInfo: PeerInfo;711    PeerPing: PeerPing;712    PendingChange: PendingChange;713    PendingPause: PendingPause;714    PendingResume: PendingResume;715    Perbill: Perbill;716    Percent: Percent;717    PerDispatchClassU32: PerDispatchClassU32;718    PerDispatchClassWeight: PerDispatchClassWeight;719    PerDispatchClassWeightsPerClass: PerDispatchClassWeightsPerClass;720    Period: Period;721    Permill: Permill;722    PermissionLatest: PermissionLatest;723    PermissionsV1: PermissionsV1;724    PermissionVersions: PermissionVersions;725    Perquintill: Perquintill;726    PersistedValidationData: PersistedValidationData;727    PerU16: PerU16;728    Phantom: Phantom;729    PhantomData: PhantomData;730    Phase: Phase;731    PhragmenScore: PhragmenScore;732    Points: Points;733    PolkadotParachainPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesXcmpMessageFormat;734    PolkadotPrimitivesV1AbridgedHostConfiguration: PolkadotPrimitivesV1AbridgedHostConfiguration;735    PolkadotPrimitivesV1PersistedValidationData: PolkadotPrimitivesV1PersistedValidationData;736    PortableRegistry: PortableRegistry;737    PortableRegistryV14: PortableRegistryV14;738    PortableType: PortableType;739    PortableTypeV14: PortableTypeV14;740    Precommits: Precommits;741    PrefabWasmModule: PrefabWasmModule;742    PrefixedStorageKey: PrefixedStorageKey;743    PreimageStatus: PreimageStatus;744    PreimageStatusAvailable: PreimageStatusAvailable;745    PreRuntime: PreRuntime;746    Prevotes: Prevotes;747    Priority: Priority;748    PriorLock: PriorLock;749    PropIndex: PropIndex;750    Proposal: Proposal;751    ProposalIndex: ProposalIndex;752    ProxyAnnouncement: ProxyAnnouncement;753    ProxyDefinition: ProxyDefinition;754    ProxyState: ProxyState;755    ProxyType: ProxyType;756    QueryId: QueryId;757    QueryStatus: QueryStatus;758    QueueConfigData: QueueConfigData;759    QueuedParathread: QueuedParathread;760    Randomness: Randomness;761    Raw: Raw;762    RawAuraPreDigest: RawAuraPreDigest;763    RawBabePreDigest: RawBabePreDigest;764    RawBabePreDigestCompat: RawBabePreDigestCompat;765    RawBabePreDigestPrimary: RawBabePreDigestPrimary;766    RawBabePreDigestPrimaryTo159: RawBabePreDigestPrimaryTo159;767    RawBabePreDigestSecondaryPlain: RawBabePreDigestSecondaryPlain;768    RawBabePreDigestSecondaryTo159: RawBabePreDigestSecondaryTo159;769    RawBabePreDigestSecondaryVRF: RawBabePreDigestSecondaryVRF;770    RawBabePreDigestTo159: RawBabePreDigestTo159;771    RawOrigin: RawOrigin;772    RawSolution: RawSolution;773    RawSolutionTo265: RawSolutionTo265;774    RawSolutionWith16: RawSolutionWith16;775    RawSolutionWith24: RawSolutionWith24;776    RawVRFOutput: RawVRFOutput;777    ReadProof: ReadProof;778    ReadySolution: ReadySolution;779    Reasons: Reasons;780    RecoveryConfig: RecoveryConfig;781    RefCount: RefCount;782    RefCountTo259: RefCountTo259;783    ReferendumIndex: ReferendumIndex;784    ReferendumInfo: ReferendumInfo;785    ReferendumInfoFinished: ReferendumInfoFinished;786    ReferendumInfoTo239: ReferendumInfoTo239;787    ReferendumStatus: ReferendumStatus;788    RegisteredParachainInfo: RegisteredParachainInfo;789    RegistrarIndex: RegistrarIndex;790    RegistrarInfo: RegistrarInfo;791    Registration: Registration;792    RegistrationJudgement: RegistrationJudgement;793    RegistrationTo198: RegistrationTo198;794    RelayBlockNumber: RelayBlockNumber;795    RelayChainBlockNumber: RelayChainBlockNumber;796    RelayChainHash: RelayChainHash;797    RelayerId: RelayerId;798    RelayHash: RelayHash;799    Releases: Releases;800    Remark: Remark;801    Renouncing: Renouncing;802    RentProjection: RentProjection;803    ReplacementTimes: ReplacementTimes;804    ReportedRoundStates: ReportedRoundStates;805    Reporter: Reporter;806    ReportIdOf: ReportIdOf;807    ReserveData: ReserveData;808    ReserveIdentifier: ReserveIdentifier;809    Response: Response;810    ResponseV0: ResponseV0;811    ResponseV1: ResponseV1;812    ResponseV2: ResponseV2;813    ResponseV2Error: ResponseV2Error;814    ResponseV2Result: ResponseV2Result;815    Retriable: Retriable;816    RewardDestination: RewardDestination;817    RewardPoint: RewardPoint;818    RoundSnapshot: RoundSnapshot;819    RoundState: RoundState;820    RpcMethods: RpcMethods;821    RuntimeDbWeight: RuntimeDbWeight;822    RuntimeDispatchInfo: RuntimeDispatchInfo;823    RuntimeVersion: RuntimeVersion;824    RuntimeVersionApi: RuntimeVersionApi;825    RuntimeVersionPartial: RuntimeVersionPartial;826    Schedule: Schedule;827    Scheduled: Scheduled;828    ScheduledTo254: ScheduledTo254;829    SchedulePeriod: SchedulePeriod;830    SchedulePriority: SchedulePriority;831    ScheduleTo212: ScheduleTo212;832    ScheduleTo258: ScheduleTo258;833    ScheduleTo264: ScheduleTo264;834    Scheduling: Scheduling;835    Seal: Seal;836    SealV0: SealV0;837    SeatHolder: SeatHolder;838    SeedOf: SeedOf;839    ServiceQuality: ServiceQuality;840    SessionIndex: SessionIndex;841    SessionInfo: SessionInfo;842    SessionInfoValidatorGroup: SessionInfoValidatorGroup;843    SessionKeys1: SessionKeys1;844    SessionKeys10: SessionKeys10;845    SessionKeys10B: SessionKeys10B;846    SessionKeys2: SessionKeys2;847    SessionKeys3: SessionKeys3;848    SessionKeys4: SessionKeys4;849    SessionKeys5: SessionKeys5;850    SessionKeys6: SessionKeys6;851    SessionKeys6B: SessionKeys6B;852    SessionKeys7: SessionKeys7;853    SessionKeys7B: SessionKeys7B;854    SessionKeys8: SessionKeys8;855    SessionKeys8B: SessionKeys8B;856    SessionKeys9: SessionKeys9;857    SessionKeys9B: SessionKeys9B;858    SetId: SetId;859    SetIndex: SetIndex;860    Si0Field: Si0Field;861    Si0LookupTypeId: Si0LookupTypeId;862    Si0Path: Si0Path;863    Si0Type: Si0Type;864    Si0TypeDef: Si0TypeDef;865    Si0TypeDefArray: Si0TypeDefArray;866    Si0TypeDefBitSequence: Si0TypeDefBitSequence;867    Si0TypeDefCompact: Si0TypeDefCompact;868    Si0TypeDefComposite: Si0TypeDefComposite;869    Si0TypeDefPhantom: Si0TypeDefPhantom;870    Si0TypeDefPrimitive: Si0TypeDefPrimitive;871    Si0TypeDefSequence: Si0TypeDefSequence;872    Si0TypeDefTuple: Si0TypeDefTuple;873    Si0TypeDefVariant: Si0TypeDefVariant;874    Si0TypeParameter: Si0TypeParameter;875    Si0Variant: Si0Variant;876    Si1Field: Si1Field;877    Si1LookupTypeId: Si1LookupTypeId;878    Si1Path: Si1Path;879    Si1Type: Si1Type;880    Si1TypeDef: Si1TypeDef;881    Si1TypeDefArray: Si1TypeDefArray;882    Si1TypeDefBitSequence: Si1TypeDefBitSequence;883    Si1TypeDefCompact: Si1TypeDefCompact;884    Si1TypeDefComposite: Si1TypeDefComposite;885    Si1TypeDefPrimitive: Si1TypeDefPrimitive;886    Si1TypeDefSequence: Si1TypeDefSequence;887    Si1TypeDefTuple: Si1TypeDefTuple;888    Si1TypeDefVariant: Si1TypeDefVariant;889    Si1TypeParameter: Si1TypeParameter;890    Si1Variant: Si1Variant;891    SiField: SiField;892    Signature: Signature;893    SignedAvailabilityBitfield: SignedAvailabilityBitfield;894    SignedAvailabilityBitfields: SignedAvailabilityBitfields;895    SignedBlock: SignedBlock;896    SignedBlockWithJustification: SignedBlockWithJustification;897    SignedBlockWithJustifications: SignedBlockWithJustifications;898    SignedExtensionMetadataLatest: SignedExtensionMetadataLatest;899    SignedExtensionMetadataV14: SignedExtensionMetadataV14;900    SignedSubmission: SignedSubmission;901    SignedSubmissionOf: SignedSubmissionOf;902    SignedSubmissionTo276: SignedSubmissionTo276;903    SignerPayload: SignerPayload;904    SigningContext: SigningContext;905    SiLookupTypeId: SiLookupTypeId;906    SiPath: SiPath;907    SiType: SiType;908    SiTypeDef: SiTypeDef;909    SiTypeDefArray: SiTypeDefArray;910    SiTypeDefBitSequence: SiTypeDefBitSequence;911    SiTypeDefCompact: SiTypeDefCompact;912    SiTypeDefComposite: SiTypeDefComposite;913    SiTypeDefPrimitive: SiTypeDefPrimitive;914    SiTypeDefSequence: SiTypeDefSequence;915    SiTypeDefTuple: SiTypeDefTuple;916    SiTypeDefVariant: SiTypeDefVariant;917    SiTypeParameter: SiTypeParameter;918    SiVariant: SiVariant;919    SlashingSpans: SlashingSpans;920    SlashingSpansTo204: SlashingSpansTo204;921    SlashJournalEntry: SlashJournalEntry;922    Slot: Slot;923    SlotNumber: SlotNumber;924    SlotRange: SlotRange;925    SocietyJudgement: SocietyJudgement;926    SocietyVote: SocietyVote;927    SolutionOrSnapshotSize: SolutionOrSnapshotSize;928    SolutionSupport: SolutionSupport;929    SolutionSupports: SolutionSupports;930    SpanIndex: SpanIndex;931    SpanRecord: SpanRecord;932    SpecVersion: SpecVersion;933    Sr25519Signature: Sr25519Signature;934    StakingLedger: StakingLedger;935    StakingLedgerTo223: StakingLedgerTo223;936    StakingLedgerTo240: StakingLedgerTo240;937    Statement: Statement;938    StatementKind: StatementKind;939    StorageChangeSet: StorageChangeSet;940    StorageData: StorageData;941    StorageEntryMetadataLatest: StorageEntryMetadataLatest;942    StorageEntryMetadataV10: StorageEntryMetadataV10;943    StorageEntryMetadataV11: StorageEntryMetadataV11;944    StorageEntryMetadataV12: StorageEntryMetadataV12;945    StorageEntryMetadataV13: StorageEntryMetadataV13;946    StorageEntryMetadataV14: StorageEntryMetadataV14;947    StorageEntryMetadataV9: StorageEntryMetadataV9;948    StorageEntryModifierLatest: StorageEntryModifierLatest;949    StorageEntryModifierV10: StorageEntryModifierV10;950    StorageEntryModifierV11: StorageEntryModifierV11;951    StorageEntryModifierV12: StorageEntryModifierV12;952    StorageEntryModifierV13: StorageEntryModifierV13;953    StorageEntryModifierV14: StorageEntryModifierV14;954    StorageEntryModifierV9: StorageEntryModifierV9;955    StorageEntryTypeLatest: StorageEntryTypeLatest;956    StorageEntryTypeV10: StorageEntryTypeV10;957    StorageEntryTypeV11: StorageEntryTypeV11;958    StorageEntryTypeV12: StorageEntryTypeV12;959    StorageEntryTypeV13: StorageEntryTypeV13;960    StorageEntryTypeV14: StorageEntryTypeV14;961    StorageEntryTypeV9: StorageEntryTypeV9;962    StorageHasher: StorageHasher;963    StorageHasherV10: StorageHasherV10;964    StorageHasherV11: StorageHasherV11;965    StorageHasherV12: StorageHasherV12;966    StorageHasherV13: StorageHasherV13;967    StorageHasherV14: StorageHasherV14;968    StorageHasherV9: StorageHasherV9;969    StorageKey: StorageKey;970    StorageKind: StorageKind;971    StorageMetadataV10: StorageMetadataV10;972    StorageMetadataV11: StorageMetadataV11;973    StorageMetadataV12: StorageMetadataV12;974    StorageMetadataV13: StorageMetadataV13;975    StorageMetadataV9: StorageMetadataV9;976    StorageProof: StorageProof;977    StoredPendingChange: StoredPendingChange;978    StoredState: StoredState;979    StrikeCount: StrikeCount;980    SubId: SubId;981    SubmissionIndicesOf: SubmissionIndicesOf;982    Supports: Supports;983    SyncState: SyncState;984    SystemInherentData: SystemInherentData;985    SystemOrigin: SystemOrigin;986    Tally: Tally;987    TaskAddress: TaskAddress;988    TAssetBalance: TAssetBalance;989    TAssetDepositBalance: TAssetDepositBalance;990    Text: Text;991    Timepoint: Timepoint;992    TokenError: TokenError;993    TombstoneContractInfo: TombstoneContractInfo;994    TraceBlockResponse: TraceBlockResponse;995    TraceError: TraceError;996    TransactionInfo: TransactionInfo;997    TransactionPriority: TransactionPriority;998    TransactionStorageProof: TransactionStorageProof;999    TransactionV0: TransactionV0;1000    TransactionV1: TransactionV1;1001    TransactionV2: TransactionV2;1002    TransactionValidityError: TransactionValidityError;1003    TransientValidationData: TransientValidationData;1004    TreasuryProposal: TreasuryProposal;1005    TrieId: TrieId;1006    TrieIndex: TrieIndex;1007    Type: Type;1008    u128: u128;1009    U128: U128;1010    u16: u16;1011    U16: U16;1012    u256: u256;1013    U256: U256;1014    u32: u32;1015    U32: U32;1016    U32F32: U32F32;1017    u64: u64;1018    U64: U64;1019    u8: u8;1020    U8: U8;1021    UnappliedSlash: UnappliedSlash;1022    UnappliedSlashOther: UnappliedSlashOther;1023    UncleEntryItem: UncleEntryItem;1024    UnknownTransaction: UnknownTransaction;1025    UnlockChunk: UnlockChunk;1026    UnrewardedRelayer: UnrewardedRelayer;1027    UnrewardedRelayersState: UnrewardedRelayersState;1028    UpgradeGoAhead: UpgradeGoAhead;1029    UpgradeRestriction: UpgradeRestriction;1030    UpwardMessage: UpwardMessage;1031    usize: usize;1032    USize: USize;1033    ValidationCode: ValidationCode;1034    ValidationCodeHash: ValidationCodeHash;1035    ValidationData: ValidationData;1036    ValidationDataType: ValidationDataType;1037    ValidationFunctionParams: ValidationFunctionParams;1038    ValidatorCount: ValidatorCount;1039    ValidatorId: ValidatorId;1040    ValidatorIdOf: ValidatorIdOf;1041    ValidatorIndex: ValidatorIndex;1042    ValidatorIndexCompact: ValidatorIndexCompact;1043    ValidatorPrefs: ValidatorPrefs;1044    ValidatorPrefsTo145: ValidatorPrefsTo145;1045    ValidatorPrefsTo196: ValidatorPrefsTo196;1046    ValidatorPrefsWithBlocked: ValidatorPrefsWithBlocked;1047    ValidatorPrefsWithCommission: ValidatorPrefsWithCommission;1048    ValidatorSetId: ValidatorSetId;1049    ValidatorSignature: ValidatorSignature;1050    ValidDisputeStatementKind: ValidDisputeStatementKind;1051    ValidityAttestation: ValidityAttestation;1052    VecInboundHrmpMessage: VecInboundHrmpMessage;1053    VersionedMultiAsset: VersionedMultiAsset;1054    VersionedMultiAssets: VersionedMultiAssets;1055    VersionedMultiLocation: VersionedMultiLocation;1056    VersionedResponse: VersionedResponse;1057    VersionedXcm: VersionedXcm;1058    VersionMigrationStage: VersionMigrationStage;1059    VestingInfo: VestingInfo;1060    VestingSchedule: VestingSchedule;1061    Vote: Vote;1062    VoteIndex: VoteIndex;1063    Voter: Voter;1064    VoterInfo: VoterInfo;1065    Votes: Votes;1066    VotesTo230: VotesTo230;1067    VoteThreshold: VoteThreshold;1068    VoteWeight: VoteWeight;1069    Voting: Voting;1070    VotingDelegating: VotingDelegating;1071    VotingDirect: VotingDirect;1072    VotingDirectVote: VotingDirectVote;1073    VouchingStatus: VouchingStatus;1074    VrfData: VrfData;1075    VrfOutput: VrfOutput;1076    VrfProof: VrfProof;1077    Weight: Weight;1078    WeightLimitV2: WeightLimitV2;1079    WeightMultiplier: WeightMultiplier;1080    WeightPerClass: WeightPerClass;1081    WeightToFeeCoefficient: WeightToFeeCoefficient;1082    WildFungibility: WildFungibility;1083    WildFungibilityV0: WildFungibilityV0;1084    WildFungibilityV1: WildFungibilityV1;1085    WildFungibilityV2: WildFungibilityV2;1086    WildMultiAsset: WildMultiAsset;1087    WildMultiAssetV1: WildMultiAssetV1;1088    WildMultiAssetV2: WildMultiAssetV2;1089    WinnersData: WinnersData;1090    WinnersDataTuple: WinnersDataTuple;1091    WinningData: WinningData;1092    WinningDataEntry: WinningDataEntry;1093    WithdrawReasons: WithdrawReasons;1094    Xcm: Xcm;1095    XcmAssetId: XcmAssetId;1096    XcmError: XcmError;1097    XcmErrorV0: XcmErrorV0;1098    XcmErrorV1: XcmErrorV1;1099    XcmErrorV2: XcmErrorV2;1100    XcmOrder: XcmOrder;1101    XcmOrderV0: XcmOrderV0;1102    XcmOrderV1: XcmOrderV1;1103    XcmOrderV2: XcmOrderV2;1104    XcmOrigin: XcmOrigin;1105    XcmOriginKind: XcmOriginKind;1106    XcmpMessageFormat: XcmpMessageFormat;1107    XcmV0: XcmV0;1108    XcmV1: XcmV1;1109    XcmV2: XcmV2;1110    XcmVersion: XcmVersion;1111  }1112}
after · tests/src/interfaces/augment-types.ts
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { EthereumBlock, EthereumLog, EthereumReceipt, EthereumTransactionLegacyTransaction, EvmCoreErrorExitReason, FpRpcTransactionStatus } from './ethereum';5import type { NftDataStructsAccessMode, NftDataStructsCollection, NftDataStructsCollectionId, NftDataStructsCollectionLimits, NftDataStructsCollectionMode, NftDataStructsCollectionStats, NftDataStructsCreateItemData, NftDataStructsMetaUpdatePermission, NftDataStructsSchemaVersion, NftDataStructsSponsorshipState, NftDataStructsTokenId, PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, PalletUnqSchedulerCallSpec, PalletUnqSchedulerReleases, PalletUnqSchedulerScheduledV2 } from './nft';6import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';7import type { BitVec, Bool, Bytes, Data, I128, I16, I256, I32, I64, I8, Json, Null, Raw, StorageKey, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types';8import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';9import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';10import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';11import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';12import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';13import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';14import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';15import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy';16import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';17import type { BlockHash } from '@polkadot/types/interfaces/chain';18import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';19import type { StatementKind } from '@polkadot/types/interfaces/claims';20import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';21import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';22import type { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';23import type { ContractConstructorSpec, ContractContractSpec, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpec, ContractEventSpec, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpec, ContractMessageSpec, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';24import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';25import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';26import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';27import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';28import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';29import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';30import type { EvmAccount, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';31import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';32import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset';33import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt';34import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';35import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity';36import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';37import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';38import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableRegistry, PortableRegistryV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';39import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';40import type { StorageKind } from '@polkadot/types/interfaces/offchain';41import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';42import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersDataTuple, WinningData, WinningDataEntry } from '@polkadot/types/interfaces/parachains';43import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';44import type { Approvals } from '@polkadot/types/interfaces/poll';45import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';46import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';47import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';48import type { RpcMethods } from '@polkadot/types/interfaces/rpc';49import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';50import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo';51import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler';52import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';53import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';54import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';55import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';56import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';57import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';58import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';59import type { Multiplier } from '@polkadot/types/interfaces/txpayment';60import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';61import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';62import type { VestingInfo } from '@polkadot/types/interfaces/vesting';63import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';6465declare module '@polkadot/types/types/registry' {66  export interface InterfaceTypes {67    AbridgedCandidateReceipt: AbridgedCandidateReceipt;68    AbridgedHostConfiguration: AbridgedHostConfiguration;69    AbridgedHrmpChannel: AbridgedHrmpChannel;70    AccountData: AccountData;71    AccountId: AccountId;72    AccountId20: AccountId20;73    AccountId32: AccountId32;74    AccountIdOf: AccountIdOf;75    AccountIndex: AccountIndex;76    AccountInfo: AccountInfo;77    AccountInfoWithDualRefCount: AccountInfoWithDualRefCount;78    AccountInfoWithProviders: AccountInfoWithProviders;79    AccountInfoWithRefCount: AccountInfoWithRefCount;80    AccountInfoWithRefCountU8: AccountInfoWithRefCountU8;81    AccountInfoWithTripleRefCount: AccountInfoWithTripleRefCount;82    AccountStatus: AccountStatus;83    AccountValidity: AccountValidity;84    AccountVote: AccountVote;85    AccountVoteSplit: AccountVoteSplit;86    AccountVoteStandard: AccountVoteStandard;87    ActiveEraInfo: ActiveEraInfo;88    ActiveGilt: ActiveGilt;89    ActiveGiltsTotal: ActiveGiltsTotal;90    ActiveIndex: ActiveIndex;91    ActiveRecovery: ActiveRecovery;92    Address: Address;93    AliveContractInfo: AliveContractInfo;94    AllowedSlots: AllowedSlots;95    AnySignature: AnySignature;96    ApiId: ApiId;97    ApplyExtrinsicResult: ApplyExtrinsicResult;98    ApprovalFlag: ApprovalFlag;99    Approvals: Approvals;100    ArithmeticError: ArithmeticError;101    AssetApproval: AssetApproval;102    AssetApprovalKey: AssetApprovalKey;103    AssetBalance: AssetBalance;104    AssetDestroyWitness: AssetDestroyWitness;105    AssetDetails: AssetDetails;106    AssetId: AssetId;107    AssetInstance: AssetInstance;108    AssetInstanceV0: AssetInstanceV0;109    AssetInstanceV1: AssetInstanceV1;110    AssetInstanceV2: AssetInstanceV2;111    AssetMetadata: AssetMetadata;112    AssetOptions: AssetOptions;113    AssignmentId: AssignmentId;114    AssignmentKind: AssignmentKind;115    AttestedCandidate: AttestedCandidate;116    AuctionIndex: AuctionIndex;117    AuthIndex: AuthIndex;118    AuthorityDiscoveryId: AuthorityDiscoveryId;119    AuthorityId: AuthorityId;120    AuthorityIndex: AuthorityIndex;121    AuthorityList: AuthorityList;122    AuthoritySet: AuthoritySet;123    AuthoritySetChange: AuthoritySetChange;124    AuthoritySetChanges: AuthoritySetChanges;125    AuthoritySignature: AuthoritySignature;126    AuthorityWeight: AuthorityWeight;127    AvailabilityBitfield: AvailabilityBitfield;128    AvailabilityBitfieldRecord: AvailabilityBitfieldRecord;129    BabeAuthorityWeight: BabeAuthorityWeight;130    BabeBlockWeight: BabeBlockWeight;131    BabeEpochConfiguration: BabeEpochConfiguration;132    BabeEquivocationProof: BabeEquivocationProof;133    BabeWeight: BabeWeight;134    BackedCandidate: BackedCandidate;135    Balance: Balance;136    BalanceLock: BalanceLock;137    BalanceLockTo212: BalanceLockTo212;138    BalanceOf: BalanceOf;139    BalanceStatus: BalanceStatus;140    BeefyCommitment: BeefyCommitment;141    BeefyId: BeefyId;142    BeefyKey: BeefyKey;143    BeefyNextAuthoritySet: BeefyNextAuthoritySet;144    BeefyPayload: BeefyPayload;145    BeefySignedCommitment: BeefySignedCommitment;146    Bid: Bid;147    Bidder: Bidder;148    BidKind: BidKind;149    BitVec: BitVec;150    Block: Block;151    BlockAttestations: BlockAttestations;152    BlockHash: BlockHash;153    BlockLength: BlockLength;154    BlockNumber: BlockNumber;155    BlockNumberFor: BlockNumberFor;156    BlockNumberOf: BlockNumberOf;157    BlockTrace: BlockTrace;158    BlockTraceEvent: BlockTraceEvent;159    BlockTraceEventData: BlockTraceEventData;160    BlockTraceSpan: BlockTraceSpan;161    BlockV0: BlockV0;162    BlockV1: BlockV1;163    BlockV2: BlockV2;164    BlockWeights: BlockWeights;165    BodyId: BodyId;166    BodyPart: BodyPart;167    bool: bool;168    Bool: Bool;169    Bounty: Bounty;170    BountyIndex: BountyIndex;171    BountyStatus: BountyStatus;172    BountyStatusActive: BountyStatusActive;173    BountyStatusCuratorProposed: BountyStatusCuratorProposed;174    BountyStatusPendingPayout: BountyStatusPendingPayout;175    BridgedBlockHash: BridgedBlockHash;176    BridgedBlockNumber: BridgedBlockNumber;177    BridgedHeader: BridgedHeader;178    BridgeMessageId: BridgeMessageId;179    BufferedSessionChange: BufferedSessionChange;180    Bytes: Bytes;181    Call: Call;182    CallHash: CallHash;183    CallHashOf: CallHashOf;184    CallIndex: CallIndex;185    CallOrigin: CallOrigin;186    CandidateCommitments: CandidateCommitments;187    CandidateDescriptor: CandidateDescriptor;188    CandidateHash: CandidateHash;189    CandidateInfo: CandidateInfo;190    CandidatePendingAvailability: CandidatePendingAvailability;191    CandidateReceipt: CandidateReceipt;192    ChainId: ChainId;193    ChainProperties: ChainProperties;194    ChainType: ChainType;195    ChangesTrieConfiguration: ChangesTrieConfiguration;196    ChangesTrieSignal: ChangesTrieSignal;197    ClassDetails: ClassDetails;198    ClassId: ClassId;199    ClassMetadata: ClassMetadata;200    CodecHash: CodecHash;201    CodeHash: CodeHash;202    CollatorId: CollatorId;203    CollatorSignature: CollatorSignature;204    CollectiveOrigin: CollectiveOrigin;205    CommittedCandidateReceipt: CommittedCandidateReceipt;206    CompactAssignments: CompactAssignments;207    CompactAssignmentsTo257: CompactAssignmentsTo257;208    CompactAssignmentsTo265: CompactAssignmentsTo265;209    CompactAssignmentsWith16: CompactAssignmentsWith16;210    CompactAssignmentsWith24: CompactAssignmentsWith24;211    CompactScore: CompactScore;212    CompactScoreCompact: CompactScoreCompact;213    ConfigData: ConfigData;214    Consensus: Consensus;215    ConsensusEngineId: ConsensusEngineId;216    ConsumedWeight: ConsumedWeight;217    ContractCallRequest: ContractCallRequest;218    ContractConstructorSpec: ContractConstructorSpec;219    ContractContractSpec: ContractContractSpec;220    ContractCryptoHasher: ContractCryptoHasher;221    ContractDiscriminant: ContractDiscriminant;222    ContractDisplayName: ContractDisplayName;223    ContractEventParamSpec: ContractEventParamSpec;224    ContractEventSpec: ContractEventSpec;225    ContractExecResult: ContractExecResult;226    ContractExecResultErr: ContractExecResultErr;227    ContractExecResultErrModule: ContractExecResultErrModule;228    ContractExecResultOk: ContractExecResultOk;229    ContractExecResultResult: ContractExecResultResult;230    ContractExecResultSuccessTo255: ContractExecResultSuccessTo255;231    ContractExecResultSuccessTo260: ContractExecResultSuccessTo260;232    ContractExecResultTo255: ContractExecResultTo255;233    ContractExecResultTo260: ContractExecResultTo260;234    ContractExecResultTo267: ContractExecResultTo267;235    ContractInfo: ContractInfo;236    ContractInstantiateResult: ContractInstantiateResult;237    ContractInstantiateResultTo267: ContractInstantiateResultTo267;238    ContractLayoutArray: ContractLayoutArray;239    ContractLayoutCell: ContractLayoutCell;240    ContractLayoutEnum: ContractLayoutEnum;241    ContractLayoutHash: ContractLayoutHash;242    ContractLayoutHashingStrategy: ContractLayoutHashingStrategy;243    ContractLayoutKey: ContractLayoutKey;244    ContractLayoutStruct: ContractLayoutStruct;245    ContractLayoutStructField: ContractLayoutStructField;246    ContractMessageParamSpec: ContractMessageParamSpec;247    ContractMessageSpec: ContractMessageSpec;248    ContractMetadata: ContractMetadata;249    ContractMetadataLatest: ContractMetadataLatest;250    ContractMetadataV0: ContractMetadataV0;251    ContractMetadataV1: ContractMetadataV1;252    ContractProject: ContractProject;253    ContractProjectContract: ContractProjectContract;254    ContractProjectInfo: ContractProjectInfo;255    ContractProjectSource: ContractProjectSource;256    ContractProjectV0: ContractProjectV0;257    ContractSelector: ContractSelector;258    ContractStorageKey: ContractStorageKey;259    ContractStorageLayout: ContractStorageLayout;260    ContractTypeSpec: ContractTypeSpec;261    Conviction: Conviction;262    CoreAssignment: CoreAssignment;263    CoreIndex: CoreIndex;264    CoreOccupied: CoreOccupied;265    CrateVersion: CrateVersion;266    CreatedBlock: CreatedBlock;267    CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData;268    CumulusPalletDmpQueuePageIndexData: CumulusPalletDmpQueuePageIndexData;269    CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot;270    CumulusPalletXcmpQueueInboundStatus: CumulusPalletXcmpQueueInboundStatus;271    CumulusPalletXcmpQueueOutboundStatus: CumulusPalletXcmpQueueOutboundStatus;272    CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData;273    CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData;274    Data: Data;275    DeferredOffenceOf: DeferredOffenceOf;276    DefunctVoter: DefunctVoter;277    DelayKind: DelayKind;278    DelayKindBest: DelayKindBest;279    Delegations: Delegations;280    DeletedContract: DeletedContract;281    DeliveredMessages: DeliveredMessages;282    DepositBalance: DepositBalance;283    DepositBalanceOf: DepositBalanceOf;284    DestroyWitness: DestroyWitness;285    Digest: Digest;286    DigestItem: DigestItem;287    DigestOf: DigestOf;288    DispatchClass: DispatchClass;289    DispatchError: DispatchError;290    DispatchErrorModule: DispatchErrorModule;291    DispatchErrorTo198: DispatchErrorTo198;292    DispatchFeePayment: DispatchFeePayment;293    DispatchInfo: DispatchInfo;294    DispatchInfoTo190: DispatchInfoTo190;295    DispatchInfoTo244: DispatchInfoTo244;296    DispatchOutcome: DispatchOutcome;297    DispatchResult: DispatchResult;298    DispatchResultOf: DispatchResultOf;299    DispatchResultTo198: DispatchResultTo198;300    DisputeLocation: DisputeLocation;301    DisputeResult: DisputeResult;302    DisputeState: DisputeState;303    DisputeStatement: DisputeStatement;304    DisputeStatementSet: DisputeStatementSet;305    DoubleEncodedCall: DoubleEncodedCall;306    DoubleVoteReport: DoubleVoteReport;307    DownwardMessage: DownwardMessage;308    EcdsaSignature: EcdsaSignature;309    Ed25519Signature: Ed25519Signature;310    EIP1559Transaction: EIP1559Transaction;311    EIP2930Transaction: EIP2930Transaction;312    ElectionCompute: ElectionCompute;313    ElectionPhase: ElectionPhase;314    ElectionResult: ElectionResult;315    ElectionScore: ElectionScore;316    ElectionSize: ElectionSize;317    ElectionStatus: ElectionStatus;318    EncodedFinalityProofs: EncodedFinalityProofs;319    EncodedJustification: EncodedJustification;320    EpochAuthorship: EpochAuthorship;321    Era: Era;322    EraIndex: EraIndex;323    EraPoints: EraPoints;324    EraRewardPoints: EraRewardPoints;325    EraRewards: EraRewards;326    ErrorMetadataLatest: ErrorMetadataLatest;327    ErrorMetadataV10: ErrorMetadataV10;328    ErrorMetadataV11: ErrorMetadataV11;329    ErrorMetadataV12: ErrorMetadataV12;330    ErrorMetadataV13: ErrorMetadataV13;331    ErrorMetadataV14: ErrorMetadataV14;332    ErrorMetadataV9: ErrorMetadataV9;333    EthAccessList: EthAccessList;334    EthAccessListItem: EthAccessListItem;335    EthAccount: EthAccount;336    EthAddress: EthAddress;337    EthBlock: EthBlock;338    EthBloom: EthBloom;339    EthCallRequest: EthCallRequest;340    EthereumAccountId: EthereumAccountId;341    EthereumAddress: EthereumAddress;342    EthereumBlock: EthereumBlock;343    EthereumLog: EthereumLog;344    EthereumLookupSource: EthereumLookupSource;345    EthereumReceipt: EthereumReceipt;346    EthereumSignature: EthereumSignature;347    EthereumTransactionLegacyTransaction: EthereumTransactionLegacyTransaction;348    EthFilter: EthFilter;349    EthFilterAddress: EthFilterAddress;350    EthFilterChanges: EthFilterChanges;351    EthFilterTopic: EthFilterTopic;352    EthFilterTopicEntry: EthFilterTopicEntry;353    EthFilterTopicInner: EthFilterTopicInner;354    EthHeader: EthHeader;355    EthLog: EthLog;356    EthReceipt: EthReceipt;357    EthRichBlock: EthRichBlock;358    EthRichHeader: EthRichHeader;359    EthStorageProof: EthStorageProof;360    EthSubKind: EthSubKind;361    EthSubParams: EthSubParams;362    EthSubResult: EthSubResult;363    EthSyncInfo: EthSyncInfo;364    EthSyncStatus: EthSyncStatus;365    EthTransaction: EthTransaction;366    EthTransactionAction: EthTransactionAction;367    EthTransactionCondition: EthTransactionCondition;368    EthTransactionRequest: EthTransactionRequest;369    EthTransactionSignature: EthTransactionSignature;370    EthTransactionStatus: EthTransactionStatus;371    EthWork: EthWork;372    Event: Event;373    EventId: EventId;374    EventIndex: EventIndex;375    EventMetadataLatest: EventMetadataLatest;376    EventMetadataV10: EventMetadataV10;377    EventMetadataV11: EventMetadataV11;378    EventMetadataV12: EventMetadataV12;379    EventMetadataV13: EventMetadataV13;380    EventMetadataV14: EventMetadataV14;381    EventMetadataV9: EventMetadataV9;382    EventRecord: EventRecord;383    EvmAccount: EvmAccount;384    EvmCoreErrorExitReason: EvmCoreErrorExitReason;385    EvmLog: EvmLog;386    EvmVicinity: EvmVicinity;387    ExecReturnValue: ExecReturnValue;388    ExitError: ExitError;389    ExitFatal: ExitFatal;390    ExitReason: ExitReason;391    ExitRevert: ExitRevert;392    ExitSucceed: ExitSucceed;393    ExplicitDisputeStatement: ExplicitDisputeStatement;394    Exposure: Exposure;395    ExtendedBalance: ExtendedBalance;396    Extrinsic: Extrinsic;397    ExtrinsicEra: ExtrinsicEra;398    ExtrinsicMetadataLatest: ExtrinsicMetadataLatest;399    ExtrinsicMetadataV11: ExtrinsicMetadataV11;400    ExtrinsicMetadataV12: ExtrinsicMetadataV12;401    ExtrinsicMetadataV13: ExtrinsicMetadataV13;402    ExtrinsicMetadataV14: ExtrinsicMetadataV14;403    ExtrinsicOrHash: ExtrinsicOrHash;404    ExtrinsicPayload: ExtrinsicPayload;405    ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown;406    ExtrinsicPayloadV4: ExtrinsicPayloadV4;407    ExtrinsicSignature: ExtrinsicSignature;408    ExtrinsicSignatureV4: ExtrinsicSignatureV4;409    ExtrinsicStatus: ExtrinsicStatus;410    ExtrinsicsWeight: ExtrinsicsWeight;411    ExtrinsicUnknown: ExtrinsicUnknown;412    ExtrinsicV4: ExtrinsicV4;413    FeeDetails: FeeDetails;414    Fixed128: Fixed128;415    Fixed64: Fixed64;416    FixedI128: FixedI128;417    FixedI64: FixedI64;418    FixedU128: FixedU128;419    FixedU64: FixedU64;420    Forcing: Forcing;421    ForkTreePendingChange: ForkTreePendingChange;422    ForkTreePendingChangeNode: ForkTreePendingChangeNode;423    FpRpcTransactionStatus: FpRpcTransactionStatus;424    FullIdentification: FullIdentification;425    FunctionArgumentMetadataLatest: FunctionArgumentMetadataLatest;426    FunctionArgumentMetadataV10: FunctionArgumentMetadataV10;427    FunctionArgumentMetadataV11: FunctionArgumentMetadataV11;428    FunctionArgumentMetadataV12: FunctionArgumentMetadataV12;429    FunctionArgumentMetadataV13: FunctionArgumentMetadataV13;430    FunctionArgumentMetadataV14: FunctionArgumentMetadataV14;431    FunctionArgumentMetadataV9: FunctionArgumentMetadataV9;432    FunctionMetadataLatest: FunctionMetadataLatest;433    FunctionMetadataV10: FunctionMetadataV10;434    FunctionMetadataV11: FunctionMetadataV11;435    FunctionMetadataV12: FunctionMetadataV12;436    FunctionMetadataV13: FunctionMetadataV13;437    FunctionMetadataV14: FunctionMetadataV14;438    FunctionMetadataV9: FunctionMetadataV9;439    FundIndex: FundIndex;440    FundInfo: FundInfo;441    Fungibility: Fungibility;442    FungibilityV0: FungibilityV0;443    FungibilityV1: FungibilityV1;444    FungibilityV2: FungibilityV2;445    Gas: Gas;446    GiltBid: GiltBid;447    GlobalValidationData: GlobalValidationData;448    GlobalValidationSchedule: GlobalValidationSchedule;449    GrandpaCommit: GrandpaCommit;450    GrandpaEquivocation: GrandpaEquivocation;451    GrandpaEquivocationProof: GrandpaEquivocationProof;452    GrandpaEquivocationValue: GrandpaEquivocationValue;453    GrandpaJustification: GrandpaJustification;454    GrandpaPrecommit: GrandpaPrecommit;455    GrandpaPrevote: GrandpaPrevote;456    GrandpaSignedPrecommit: GrandpaSignedPrecommit;457    GroupIndex: GroupIndex;458    H1024: H1024;459    H128: H128;460    H160: H160;461    H2048: H2048;462    H256: H256;463    H32: H32;464    H512: H512;465    H64: H64;466    Hash: Hash;467    HeadData: HeadData;468    Header: Header;469    HeaderPartial: HeaderPartial;470    Health: Health;471    Heartbeat: Heartbeat;472    HeartbeatTo244: HeartbeatTo244;473    HostConfiguration: HostConfiguration;474    HostFnWeights: HostFnWeights;475    HostFnWeightsTo264: HostFnWeightsTo264;476    HrmpChannel: HrmpChannel;477    HrmpChannelId: HrmpChannelId;478    HrmpOpenChannelRequest: HrmpOpenChannelRequest;479    i128: i128;480    I128: I128;481    i16: i16;482    I16: I16;483    i256: i256;484    I256: I256;485    i32: i32;486    I32: I32;487    I32F32: I32F32;488    i64: i64;489    I64: I64;490    i8: i8;491    I8: I8;492    IdentificationTuple: IdentificationTuple;493    IdentityFields: IdentityFields;494    IdentityInfo: IdentityInfo;495    IdentityInfoAdditional: IdentityInfoAdditional;496    IdentityInfoTo198: IdentityInfoTo198;497    IdentityJudgement: IdentityJudgement;498    ImmortalEra: ImmortalEra;499    ImportedAux: ImportedAux;500    InboundDownwardMessage: InboundDownwardMessage;501    InboundHrmpMessage: InboundHrmpMessage;502    InboundHrmpMessages: InboundHrmpMessages;503    InboundLaneData: InboundLaneData;504    InboundRelayer: InboundRelayer;505    InboundStatus: InboundStatus;506    IncludedBlocks: IncludedBlocks;507    InclusionFee: InclusionFee;508    IncomingParachain: IncomingParachain;509    IncomingParachainDeploy: IncomingParachainDeploy;510    IncomingParachainFixed: IncomingParachainFixed;511    Index: Index;512    IndicesLookupSource: IndicesLookupSource;513    IndividualExposure: IndividualExposure;514    InitializationData: InitializationData;515    InstanceDetails: InstanceDetails;516    InstanceId: InstanceId;517    InstanceMetadata: InstanceMetadata;518    InstantiateRequest: InstantiateRequest;519    InstantiateReturnValue: InstantiateReturnValue;520    InstantiateReturnValueTo267: InstantiateReturnValueTo267;521    InstructionV2: InstructionV2;522    InstructionWeights: InstructionWeights;523    InteriorMultiLocation: InteriorMultiLocation;524    InvalidDisputeStatementKind: InvalidDisputeStatementKind;525    InvalidTransaction: InvalidTransaction;526    Json: Json;527    Junction: Junction;528    Junctions: Junctions;529    JunctionsV1: JunctionsV1;530    JunctionsV2: JunctionsV2;531    JunctionV0: JunctionV0;532    JunctionV1: JunctionV1;533    JunctionV2: JunctionV2;534    Justification: Justification;535    JustificationNotification: JustificationNotification;536    Justifications: Justifications;537    Key: Key;538    KeyOwnerProof: KeyOwnerProof;539    Keys: Keys;540    KeyType: KeyType;541    KeyTypeId: KeyTypeId;542    KeyValue: KeyValue;543    KeyValueOption: KeyValueOption;544    Kind: Kind;545    LaneId: LaneId;546    LastContribution: LastContribution;547    LastRuntimeUpgradeInfo: LastRuntimeUpgradeInfo;548    LeasePeriod: LeasePeriod;549    LeasePeriodOf: LeasePeriodOf;550    LegacyTransaction: LegacyTransaction;551    Limits: Limits;552    LimitsTo264: LimitsTo264;553    LocalValidationData: LocalValidationData;554    LockIdentifier: LockIdentifier;555    LookupSource: LookupSource;556    LookupTarget: LookupTarget;557    LotteryConfig: LotteryConfig;558    MaybeRandomness: MaybeRandomness;559    MaybeVrf: MaybeVrf;560    MemberCount: MemberCount;561    MembershipProof: MembershipProof;562    MessageData: MessageData;563    MessageId: MessageId;564    MessageIngestionType: MessageIngestionType;565    MessageKey: MessageKey;566    MessageNonce: MessageNonce;567    MessageQueueChain: MessageQueueChain;568    MessagesDeliveryProofOf: MessagesDeliveryProofOf;569    MessagesProofOf: MessagesProofOf;570    MessagingStateSnapshot: MessagingStateSnapshot;571    MessagingStateSnapshotEgressEntry: MessagingStateSnapshotEgressEntry;572    MetadataAll: MetadataAll;573    MetadataLatest: MetadataLatest;574    MetadataV10: MetadataV10;575    MetadataV11: MetadataV11;576    MetadataV12: MetadataV12;577    MetadataV13: MetadataV13;578    MetadataV14: MetadataV14;579    MetadataV9: MetadataV9;580    MmrLeafProof: MmrLeafProof;581    MmrRootHash: MmrRootHash;582    ModuleConstantMetadataV10: ModuleConstantMetadataV10;583    ModuleConstantMetadataV11: ModuleConstantMetadataV11;584    ModuleConstantMetadataV12: ModuleConstantMetadataV12;585    ModuleConstantMetadataV13: ModuleConstantMetadataV13;586    ModuleConstantMetadataV9: ModuleConstantMetadataV9;587    ModuleId: ModuleId;588    ModuleMetadataV10: ModuleMetadataV10;589    ModuleMetadataV11: ModuleMetadataV11;590    ModuleMetadataV12: ModuleMetadataV12;591    ModuleMetadataV13: ModuleMetadataV13;592    ModuleMetadataV9: ModuleMetadataV9;593    Moment: Moment;594    MomentOf: MomentOf;595    MoreAttestations: MoreAttestations;596    MortalEra: MortalEra;597    MultiAddress: MultiAddress;598    MultiAsset: MultiAsset;599    MultiAssetFilter: MultiAssetFilter;600    MultiAssetFilterV1: MultiAssetFilterV1;601    MultiAssetFilterV2: MultiAssetFilterV2;602    MultiAssets: MultiAssets;603    MultiAssetsV1: MultiAssetsV1;604    MultiAssetsV2: MultiAssetsV2;605    MultiAssetV0: MultiAssetV0;606    MultiAssetV1: MultiAssetV1;607    MultiAssetV2: MultiAssetV2;608    MultiDisputeStatementSet: MultiDisputeStatementSet;609    MultiLocation: MultiLocation;610    MultiLocationV0: MultiLocationV0;611    MultiLocationV1: MultiLocationV1;612    MultiLocationV2: MultiLocationV2;613    Multiplier: Multiplier;614    Multisig: Multisig;615    MultiSignature: MultiSignature;616    MultiSigner: MultiSigner;617    NetworkId: NetworkId;618    NetworkState: NetworkState;619    NetworkStatePeerset: NetworkStatePeerset;620    NetworkStatePeersetInfo: NetworkStatePeersetInfo;621    NewBidder: NewBidder;622    NextAuthority: NextAuthority;623    NextConfigDescriptor: NextConfigDescriptor;624    NextConfigDescriptorV1: NextConfigDescriptorV1;625    NftDataStructsAccessMode: NftDataStructsAccessMode;626    NftDataStructsCollection: NftDataStructsCollection;627    NftDataStructsCollectionId: NftDataStructsCollectionId;628    NftDataStructsCollectionLimits: NftDataStructsCollectionLimits;629    NftDataStructsCollectionMode: NftDataStructsCollectionMode;630    NftDataStructsCollectionStats: NftDataStructsCollectionStats;631    NftDataStructsCreateItemData: NftDataStructsCreateItemData;632    NftDataStructsMetaUpdatePermission: NftDataStructsMetaUpdatePermission;633    NftDataStructsSchemaVersion: NftDataStructsSchemaVersion;634    NftDataStructsSponsorshipState: NftDataStructsSponsorshipState;635    NftDataStructsTokenId: NftDataStructsTokenId;636    NodeRole: NodeRole;637    Nominations: Nominations;638    NominatorIndex: NominatorIndex;639    NominatorIndexCompact: NominatorIndexCompact;640    NotConnectedPeer: NotConnectedPeer;641    Null: Null;642    OffchainAccuracy: OffchainAccuracy;643    OffchainAccuracyCompact: OffchainAccuracyCompact;644    OffenceDetails: OffenceDetails;645    Offender: Offender;646    OpaqueCall: OpaqueCall;647    OpaqueMultiaddr: OpaqueMultiaddr;648    OpaqueNetworkState: OpaqueNetworkState;649    OpaquePeerId: OpaquePeerId;650    OpaqueTimeSlot: OpaqueTimeSlot;651    OpenTip: OpenTip;652    OpenTipFinderTo225: OpenTipFinderTo225;653    OpenTipTip: OpenTipTip;654    OpenTipTo225: OpenTipTo225;655    OperatingMode: OperatingMode;656    Origin: Origin;657    OriginCaller: OriginCaller;658    OriginKindV0: OriginKindV0;659    OriginKindV1: OriginKindV1;660    OriginKindV2: OriginKindV2;661    OutboundHrmpMessage: OutboundHrmpMessage;662    OutboundLaneData: OutboundLaneData;663    OutboundMessageFee: OutboundMessageFee;664    OutboundPayload: OutboundPayload;665    OutboundStatus: OutboundStatus;666    Outcome: Outcome;667    OverweightIndex: OverweightIndex;668    Owner: Owner;669    PageCounter: PageCounter;670    PageIndexData: PageIndexData;671    PalletCallMetadataLatest: PalletCallMetadataLatest;672    PalletCallMetadataV14: PalletCallMetadataV14;673    PalletCommonAccountBasicCrossAccountIdRepr: PalletCommonAccountBasicCrossAccountIdRepr;674    PalletConstantMetadataLatest: PalletConstantMetadataLatest;675    PalletConstantMetadataV14: PalletConstantMetadataV14;676    PalletErrorMetadataLatest: PalletErrorMetadataLatest;677    PalletErrorMetadataV14: PalletErrorMetadataV14;678    PalletEventMetadataLatest: PalletEventMetadataLatest;679    PalletEventMetadataV14: PalletEventMetadataV14;680    PalletId: PalletId;681    PalletMetadataLatest: PalletMetadataLatest;682    PalletMetadataV14: PalletMetadataV14;683    PalletNonfungibleItemData: PalletNonfungibleItemData;684    PalletRefungibleItemData: PalletRefungibleItemData;685    PalletsOrigin: PalletsOrigin;686    PalletStorageMetadataLatest: PalletStorageMetadataLatest;687    PalletStorageMetadataV14: PalletStorageMetadataV14;688    PalletUnqSchedulerCallSpec: PalletUnqSchedulerCallSpec;689    PalletUnqSchedulerReleases: PalletUnqSchedulerReleases;690    PalletUnqSchedulerScheduledV2: PalletUnqSchedulerScheduledV2;691    PalletVersion: PalletVersion;692    ParachainDispatchOrigin: ParachainDispatchOrigin;693    ParachainInherentData: ParachainInherentData;694    ParachainProposal: ParachainProposal;695    ParachainsInherentData: ParachainsInherentData;696    ParaGenesisArgs: ParaGenesisArgs;697    ParaId: ParaId;698    ParaInfo: ParaInfo;699    ParaLifecycle: ParaLifecycle;700    Parameter: Parameter;701    ParaPastCodeMeta: ParaPastCodeMeta;702    ParaScheduling: ParaScheduling;703    ParathreadClaim: ParathreadClaim;704    ParathreadClaimQueue: ParathreadClaimQueue;705    ParathreadEntry: ParathreadEntry;706    ParaValidatorIndex: ParaValidatorIndex;707    Pays: Pays;708    Peer: Peer;709    PeerEndpoint: PeerEndpoint;710    PeerEndpointAddr: PeerEndpointAddr;711    PeerInfo: PeerInfo;712    PeerPing: PeerPing;713    PendingChange: PendingChange;714    PendingPause: PendingPause;715    PendingResume: PendingResume;716    Perbill: Perbill;717    Percent: Percent;718    PerDispatchClassU32: PerDispatchClassU32;719    PerDispatchClassWeight: PerDispatchClassWeight;720    PerDispatchClassWeightsPerClass: PerDispatchClassWeightsPerClass;721    Period: Period;722    Permill: Permill;723    PermissionLatest: PermissionLatest;724    PermissionsV1: PermissionsV1;725    PermissionVersions: PermissionVersions;726    Perquintill: Perquintill;727    PersistedValidationData: PersistedValidationData;728    PerU16: PerU16;729    Phantom: Phantom;730    PhantomData: PhantomData;731    Phase: Phase;732    PhragmenScore: PhragmenScore;733    Points: Points;734    PolkadotParachainPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesXcmpMessageFormat;735    PolkadotPrimitivesV1AbridgedHostConfiguration: PolkadotPrimitivesV1AbridgedHostConfiguration;736    PolkadotPrimitivesV1PersistedValidationData: PolkadotPrimitivesV1PersistedValidationData;737    PortableRegistry: PortableRegistry;738    PortableRegistryV14: PortableRegistryV14;739    PortableType: PortableType;740    PortableTypeV14: PortableTypeV14;741    Precommits: Precommits;742    PrefabWasmModule: PrefabWasmModule;743    PrefixedStorageKey: PrefixedStorageKey;744    PreimageStatus: PreimageStatus;745    PreimageStatusAvailable: PreimageStatusAvailable;746    PreRuntime: PreRuntime;747    Prevotes: Prevotes;748    Priority: Priority;749    PriorLock: PriorLock;750    PropIndex: PropIndex;751    Proposal: Proposal;752    ProposalIndex: ProposalIndex;753    ProxyAnnouncement: ProxyAnnouncement;754    ProxyDefinition: ProxyDefinition;755    ProxyState: ProxyState;756    ProxyType: ProxyType;757    QueryId: QueryId;758    QueryStatus: QueryStatus;759    QueueConfigData: QueueConfigData;760    QueuedParathread: QueuedParathread;761    Randomness: Randomness;762    Raw: Raw;763    RawAuraPreDigest: RawAuraPreDigest;764    RawBabePreDigest: RawBabePreDigest;765    RawBabePreDigestCompat: RawBabePreDigestCompat;766    RawBabePreDigestPrimary: RawBabePreDigestPrimary;767    RawBabePreDigestPrimaryTo159: RawBabePreDigestPrimaryTo159;768    RawBabePreDigestSecondaryPlain: RawBabePreDigestSecondaryPlain;769    RawBabePreDigestSecondaryTo159: RawBabePreDigestSecondaryTo159;770    RawBabePreDigestSecondaryVRF: RawBabePreDigestSecondaryVRF;771    RawBabePreDigestTo159: RawBabePreDigestTo159;772    RawOrigin: RawOrigin;773    RawSolution: RawSolution;774    RawSolutionTo265: RawSolutionTo265;775    RawSolutionWith16: RawSolutionWith16;776    RawSolutionWith24: RawSolutionWith24;777    RawVRFOutput: RawVRFOutput;778    ReadProof: ReadProof;779    ReadySolution: ReadySolution;780    Reasons: Reasons;781    RecoveryConfig: RecoveryConfig;782    RefCount: RefCount;783    RefCountTo259: RefCountTo259;784    ReferendumIndex: ReferendumIndex;785    ReferendumInfo: ReferendumInfo;786    ReferendumInfoFinished: ReferendumInfoFinished;787    ReferendumInfoTo239: ReferendumInfoTo239;788    ReferendumStatus: ReferendumStatus;789    RegisteredParachainInfo: RegisteredParachainInfo;790    RegistrarIndex: RegistrarIndex;791    RegistrarInfo: RegistrarInfo;792    Registration: Registration;793    RegistrationJudgement: RegistrationJudgement;794    RegistrationTo198: RegistrationTo198;795    RelayBlockNumber: RelayBlockNumber;796    RelayChainBlockNumber: RelayChainBlockNumber;797    RelayChainHash: RelayChainHash;798    RelayerId: RelayerId;799    RelayHash: RelayHash;800    Releases: Releases;801    Remark: Remark;802    Renouncing: Renouncing;803    RentProjection: RentProjection;804    ReplacementTimes: ReplacementTimes;805    ReportedRoundStates: ReportedRoundStates;806    Reporter: Reporter;807    ReportIdOf: ReportIdOf;808    ReserveData: ReserveData;809    ReserveIdentifier: ReserveIdentifier;810    Response: Response;811    ResponseV0: ResponseV0;812    ResponseV1: ResponseV1;813    ResponseV2: ResponseV2;814    ResponseV2Error: ResponseV2Error;815    ResponseV2Result: ResponseV2Result;816    Retriable: Retriable;817    RewardDestination: RewardDestination;818    RewardPoint: RewardPoint;819    RoundSnapshot: RoundSnapshot;820    RoundState: RoundState;821    RpcMethods: RpcMethods;822    RuntimeDbWeight: RuntimeDbWeight;823    RuntimeDispatchInfo: RuntimeDispatchInfo;824    RuntimeVersion: RuntimeVersion;825    RuntimeVersionApi: RuntimeVersionApi;826    RuntimeVersionPartial: RuntimeVersionPartial;827    Schedule: Schedule;828    Scheduled: Scheduled;829    ScheduledTo254: ScheduledTo254;830    SchedulePeriod: SchedulePeriod;831    SchedulePriority: SchedulePriority;832    ScheduleTo212: ScheduleTo212;833    ScheduleTo258: ScheduleTo258;834    ScheduleTo264: ScheduleTo264;835    Scheduling: Scheduling;836    Seal: Seal;837    SealV0: SealV0;838    SeatHolder: SeatHolder;839    SeedOf: SeedOf;840    ServiceQuality: ServiceQuality;841    SessionIndex: SessionIndex;842    SessionInfo: SessionInfo;843    SessionInfoValidatorGroup: SessionInfoValidatorGroup;844    SessionKeys1: SessionKeys1;845    SessionKeys10: SessionKeys10;846    SessionKeys10B: SessionKeys10B;847    SessionKeys2: SessionKeys2;848    SessionKeys3: SessionKeys3;849    SessionKeys4: SessionKeys4;850    SessionKeys5: SessionKeys5;851    SessionKeys6: SessionKeys6;852    SessionKeys6B: SessionKeys6B;853    SessionKeys7: SessionKeys7;854    SessionKeys7B: SessionKeys7B;855    SessionKeys8: SessionKeys8;856    SessionKeys8B: SessionKeys8B;857    SessionKeys9: SessionKeys9;858    SessionKeys9B: SessionKeys9B;859    SetId: SetId;860    SetIndex: SetIndex;861    Si0Field: Si0Field;862    Si0LookupTypeId: Si0LookupTypeId;863    Si0Path: Si0Path;864    Si0Type: Si0Type;865    Si0TypeDef: Si0TypeDef;866    Si0TypeDefArray: Si0TypeDefArray;867    Si0TypeDefBitSequence: Si0TypeDefBitSequence;868    Si0TypeDefCompact: Si0TypeDefCompact;869    Si0TypeDefComposite: Si0TypeDefComposite;870    Si0TypeDefPhantom: Si0TypeDefPhantom;871    Si0TypeDefPrimitive: Si0TypeDefPrimitive;872    Si0TypeDefSequence: Si0TypeDefSequence;873    Si0TypeDefTuple: Si0TypeDefTuple;874    Si0TypeDefVariant: Si0TypeDefVariant;875    Si0TypeParameter: Si0TypeParameter;876    Si0Variant: Si0Variant;877    Si1Field: Si1Field;878    Si1LookupTypeId: Si1LookupTypeId;879    Si1Path: Si1Path;880    Si1Type: Si1Type;881    Si1TypeDef: Si1TypeDef;882    Si1TypeDefArray: Si1TypeDefArray;883    Si1TypeDefBitSequence: Si1TypeDefBitSequence;884    Si1TypeDefCompact: Si1TypeDefCompact;885    Si1TypeDefComposite: Si1TypeDefComposite;886    Si1TypeDefPrimitive: Si1TypeDefPrimitive;887    Si1TypeDefSequence: Si1TypeDefSequence;888    Si1TypeDefTuple: Si1TypeDefTuple;889    Si1TypeDefVariant: Si1TypeDefVariant;890    Si1TypeParameter: Si1TypeParameter;891    Si1Variant: Si1Variant;892    SiField: SiField;893    Signature: Signature;894    SignedAvailabilityBitfield: SignedAvailabilityBitfield;895    SignedAvailabilityBitfields: SignedAvailabilityBitfields;896    SignedBlock: SignedBlock;897    SignedBlockWithJustification: SignedBlockWithJustification;898    SignedBlockWithJustifications: SignedBlockWithJustifications;899    SignedExtensionMetadataLatest: SignedExtensionMetadataLatest;900    SignedExtensionMetadataV14: SignedExtensionMetadataV14;901    SignedSubmission: SignedSubmission;902    SignedSubmissionOf: SignedSubmissionOf;903    SignedSubmissionTo276: SignedSubmissionTo276;904    SignerPayload: SignerPayload;905    SigningContext: SigningContext;906    SiLookupTypeId: SiLookupTypeId;907    SiPath: SiPath;908    SiType: SiType;909    SiTypeDef: SiTypeDef;910    SiTypeDefArray: SiTypeDefArray;911    SiTypeDefBitSequence: SiTypeDefBitSequence;912    SiTypeDefCompact: SiTypeDefCompact;913    SiTypeDefComposite: SiTypeDefComposite;914    SiTypeDefPrimitive: SiTypeDefPrimitive;915    SiTypeDefSequence: SiTypeDefSequence;916    SiTypeDefTuple: SiTypeDefTuple;917    SiTypeDefVariant: SiTypeDefVariant;918    SiTypeParameter: SiTypeParameter;919    SiVariant: SiVariant;920    SlashingSpans: SlashingSpans;921    SlashingSpansTo204: SlashingSpansTo204;922    SlashJournalEntry: SlashJournalEntry;923    Slot: Slot;924    SlotNumber: SlotNumber;925    SlotRange: SlotRange;926    SocietyJudgement: SocietyJudgement;927    SocietyVote: SocietyVote;928    SolutionOrSnapshotSize: SolutionOrSnapshotSize;929    SolutionSupport: SolutionSupport;930    SolutionSupports: SolutionSupports;931    SpanIndex: SpanIndex;932    SpanRecord: SpanRecord;933    SpecVersion: SpecVersion;934    Sr25519Signature: Sr25519Signature;935    StakingLedger: StakingLedger;936    StakingLedgerTo223: StakingLedgerTo223;937    StakingLedgerTo240: StakingLedgerTo240;938    Statement: Statement;939    StatementKind: StatementKind;940    StorageChangeSet: StorageChangeSet;941    StorageData: StorageData;942    StorageEntryMetadataLatest: StorageEntryMetadataLatest;943    StorageEntryMetadataV10: StorageEntryMetadataV10;944    StorageEntryMetadataV11: StorageEntryMetadataV11;945    StorageEntryMetadataV12: StorageEntryMetadataV12;946    StorageEntryMetadataV13: StorageEntryMetadataV13;947    StorageEntryMetadataV14: StorageEntryMetadataV14;948    StorageEntryMetadataV9: StorageEntryMetadataV9;949    StorageEntryModifierLatest: StorageEntryModifierLatest;950    StorageEntryModifierV10: StorageEntryModifierV10;951    StorageEntryModifierV11: StorageEntryModifierV11;952    StorageEntryModifierV12: StorageEntryModifierV12;953    StorageEntryModifierV13: StorageEntryModifierV13;954    StorageEntryModifierV14: StorageEntryModifierV14;955    StorageEntryModifierV9: StorageEntryModifierV9;956    StorageEntryTypeLatest: StorageEntryTypeLatest;957    StorageEntryTypeV10: StorageEntryTypeV10;958    StorageEntryTypeV11: StorageEntryTypeV11;959    StorageEntryTypeV12: StorageEntryTypeV12;960    StorageEntryTypeV13: StorageEntryTypeV13;961    StorageEntryTypeV14: StorageEntryTypeV14;962    StorageEntryTypeV9: StorageEntryTypeV9;963    StorageHasher: StorageHasher;964    StorageHasherV10: StorageHasherV10;965    StorageHasherV11: StorageHasherV11;966    StorageHasherV12: StorageHasherV12;967    StorageHasherV13: StorageHasherV13;968    StorageHasherV14: StorageHasherV14;969    StorageHasherV9: StorageHasherV9;970    StorageKey: StorageKey;971    StorageKind: StorageKind;972    StorageMetadataV10: StorageMetadataV10;973    StorageMetadataV11: StorageMetadataV11;974    StorageMetadataV12: StorageMetadataV12;975    StorageMetadataV13: StorageMetadataV13;976    StorageMetadataV9: StorageMetadataV9;977    StorageProof: StorageProof;978    StoredPendingChange: StoredPendingChange;979    StoredState: StoredState;980    StrikeCount: StrikeCount;981    SubId: SubId;982    SubmissionIndicesOf: SubmissionIndicesOf;983    Supports: Supports;984    SyncState: SyncState;985    SystemInherentData: SystemInherentData;986    SystemOrigin: SystemOrigin;987    Tally: Tally;988    TaskAddress: TaskAddress;989    TAssetBalance: TAssetBalance;990    TAssetDepositBalance: TAssetDepositBalance;991    Text: Text;992    Timepoint: Timepoint;993    TokenError: TokenError;994    TombstoneContractInfo: TombstoneContractInfo;995    TraceBlockResponse: TraceBlockResponse;996    TraceError: TraceError;997    TransactionInfo: TransactionInfo;998    TransactionPriority: TransactionPriority;999    TransactionStorageProof: TransactionStorageProof;1000    TransactionV0: TransactionV0;1001    TransactionV1: TransactionV1;1002    TransactionV2: TransactionV2;1003    TransactionValidityError: TransactionValidityError;1004    TransientValidationData: TransientValidationData;1005    TreasuryProposal: TreasuryProposal;1006    TrieId: TrieId;1007    TrieIndex: TrieIndex;1008    Type: Type;1009    u128: u128;1010    U128: U128;1011    u16: u16;1012    U16: U16;1013    u256: u256;1014    U256: U256;1015    u32: u32;1016    U32: U32;1017    U32F32: U32F32;1018    u64: u64;1019    U64: U64;1020    u8: u8;1021    U8: U8;1022    UnappliedSlash: UnappliedSlash;1023    UnappliedSlashOther: UnappliedSlashOther;1024    UncleEntryItem: UncleEntryItem;1025    UnknownTransaction: UnknownTransaction;1026    UnlockChunk: UnlockChunk;1027    UnrewardedRelayer: UnrewardedRelayer;1028    UnrewardedRelayersState: UnrewardedRelayersState;1029    UpgradeGoAhead: UpgradeGoAhead;1030    UpgradeRestriction: UpgradeRestriction;1031    UpwardMessage: UpwardMessage;1032    usize: usize;1033    USize: USize;1034    ValidationCode: ValidationCode;1035    ValidationCodeHash: ValidationCodeHash;1036    ValidationData: ValidationData;1037    ValidationDataType: ValidationDataType;1038    ValidationFunctionParams: ValidationFunctionParams;1039    ValidatorCount: ValidatorCount;1040    ValidatorId: ValidatorId;1041    ValidatorIdOf: ValidatorIdOf;1042    ValidatorIndex: ValidatorIndex;1043    ValidatorIndexCompact: ValidatorIndexCompact;1044    ValidatorPrefs: ValidatorPrefs;1045    ValidatorPrefsTo145: ValidatorPrefsTo145;1046    ValidatorPrefsTo196: ValidatorPrefsTo196;1047    ValidatorPrefsWithBlocked: ValidatorPrefsWithBlocked;1048    ValidatorPrefsWithCommission: ValidatorPrefsWithCommission;1049    ValidatorSetId: ValidatorSetId;1050    ValidatorSignature: ValidatorSignature;1051    ValidDisputeStatementKind: ValidDisputeStatementKind;1052    ValidityAttestation: ValidityAttestation;1053    VecInboundHrmpMessage: VecInboundHrmpMessage;1054    VersionedMultiAsset: VersionedMultiAsset;1055    VersionedMultiAssets: VersionedMultiAssets;1056    VersionedMultiLocation: VersionedMultiLocation;1057    VersionedResponse: VersionedResponse;1058    VersionedXcm: VersionedXcm;1059    VersionMigrationStage: VersionMigrationStage;1060    VestingInfo: VestingInfo;1061    VestingSchedule: VestingSchedule;1062    Vote: Vote;1063    VoteIndex: VoteIndex;1064    Voter: Voter;1065    VoterInfo: VoterInfo;1066    Votes: Votes;1067    VotesTo230: VotesTo230;1068    VoteThreshold: VoteThreshold;1069    VoteWeight: VoteWeight;1070    Voting: Voting;1071    VotingDelegating: VotingDelegating;1072    VotingDirect: VotingDirect;1073    VotingDirectVote: VotingDirectVote;1074    VouchingStatus: VouchingStatus;1075    VrfData: VrfData;1076    VrfOutput: VrfOutput;1077    VrfProof: VrfProof;1078    Weight: Weight;1079    WeightLimitV2: WeightLimitV2;1080    WeightMultiplier: WeightMultiplier;1081    WeightPerClass: WeightPerClass;1082    WeightToFeeCoefficient: WeightToFeeCoefficient;1083    WildFungibility: WildFungibility;1084    WildFungibilityV0: WildFungibilityV0;1085    WildFungibilityV1: WildFungibilityV1;1086    WildFungibilityV2: WildFungibilityV2;1087    WildMultiAsset: WildMultiAsset;1088    WildMultiAssetV1: WildMultiAssetV1;1089    WildMultiAssetV2: WildMultiAssetV2;1090    WinnersData: WinnersData;1091    WinnersDataTuple: WinnersDataTuple;1092    WinningData: WinningData;1093    WinningDataEntry: WinningDataEntry;1094    WithdrawReasons: WithdrawReasons;1095    Xcm: Xcm;1096    XcmAssetId: XcmAssetId;1097    XcmError: XcmError;1098    XcmErrorV0: XcmErrorV0;1099    XcmErrorV1: XcmErrorV1;1100    XcmErrorV2: XcmErrorV2;1101    XcmOrder: XcmOrder;1102    XcmOrderV0: XcmOrderV0;1103    XcmOrderV1: XcmOrderV1;1104    XcmOrderV2: XcmOrderV2;1105    XcmOrigin: XcmOrigin;1106    XcmOriginKind: XcmOriginKind;1107    XcmpMessageFormat: XcmpMessageFormat;1108    XcmV0: XcmV0;1109    XcmV1: XcmV1;1110    XcmV2: XcmV2;1111    XcmVersion: XcmVersion;1112  }1113}
modifiedtests/src/interfaces/nft/definitions.tsdiffbeforeafterboth
--- a/tests/src/interfaces/nft/definitions.ts
+++ b/tests/src/interfaces/nft/definitions.ts
@@ -40,6 +40,9 @@
     constMetadata: fun('Get token constant metadata', [collectionParam, tokenParam], 'Vec<u8>'),
     variableMetadata: fun('Get token variable metadata', [collectionParam, tokenParam], 'Vec<u8>'),
     tokenExists: fun('Check if token exists', [collectionParam, tokenParam], 'bool'),
+    collectionById: fun('Get collection by specified id', [collectionParam], 'Option<NftDataStructsCollection>'),
+    collectionStats: fun('Get collection stats', [], 'NftDataStructsCollectionStats'),
+    allowed: fun('Check if user is allowed to use collection', [collectionParam, crossAccountParam()], 'bool'),
   },
   types: {
     PalletCommonAccountBasicCrossAccountIdRepr: {
@@ -64,6 +67,11 @@
       constOnChainSchema: 'Vec<u8>',
       metaUpdatePermission: 'NftDataStructsMetaUpdatePermission',
     },
+    NftDataStructsCollectionStats: {
+      created: 'u32',
+      destroyed: 'u32',
+      alive: 'u32',
+    },
     NftDataStructsCollectionId: 'u32',
     NftDataStructsTokenId: 'u32',
     PalletNonfungibleItemData: mkDummy('NftItemData'),
modifiedtests/src/interfaces/nft/types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/nft/types.ts
+++ b/tests/src/interfaces/nft/types.ts
@@ -48,6 +48,13 @@
   readonly dummyCollectionMode: u32;
 }
 
+/** @name NftDataStructsCollectionStats */
+export interface NftDataStructsCollectionStats extends Struct {
+  readonly created: u32;
+  readonly destroyed: u32;
+  readonly alive: u32;
+}
+
 /** @name NftDataStructsCreateItemData */
 export interface NftDataStructsCreateItemData extends Struct {
   readonly dummyCreateItemData: u32;
modifiedtests/src/removeCollectionAdmin.test.tsdiffbeforeafterboth
--- a/tests/src/removeCollectionAdmin.test.ts
+++ b/tests/src/removeCollectionAdmin.test.ts
@@ -8,7 +8,7 @@
 import chaiAsPromised from 'chai-as-promised';
 import privateKey from './substrate/privateKey';
 import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api';
-import {createCollectionExpectSuccess, destroyCollectionExpectSuccess, getAdminList, normalizeAccountId} from './util/helpers';
+import {createCollectionExpectSuccess, destroyCollectionExpectSuccess, getAdminList, normalizeAccountId, queryCollectionExpectSuccess} from './util/helpers';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;
@@ -19,7 +19,7 @@
       const collectionId = await createCollectionExpectSuccess();
       const alice = privateKey('//Alice');
       const bob = privateKey('//Bob');
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.deep.eq(alice.address);
       // first - add collection admin Bob
       const addAdminTx = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(bob.address));
@@ -43,7 +43,7 @@
       const alice = privateKey('//Alice');
       const bob = privateKey('//Bob');
       const charlie = privateKey('//Charlie');
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.eq(alice.address);
       // first - add collection admin Bob
       const addAdminTx = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(bob.address));
modifiedtests/src/removeCollectionSponsor.test.tsdiffbeforeafterboth
--- a/tests/src/removeCollectionSponsor.test.ts
+++ b/tests/src/removeCollectionSponsor.test.ts
@@ -18,6 +18,7 @@
   removeCollectionSponsorExpectFailure,
   normalizeAccountId,
   addCollectionAdminExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 import {Keyring} from '@polkadot/api';
 import {IKeyringPair} from '@polkadot/types/types';
@@ -98,7 +99,7 @@
     // Find the collection that never existed
     let collectionId = 0;
     await usingApi(async (api) => {
-      collectionId = (await api.query.common.createdCollectionCount()).toNumber() + 1;
+      collectionId = await getCreatedCollectionCount(api) + 1;
     });
 
     await removeCollectionSponsorExpectFailure(collectionId);
modifiedtests/src/removeFromAllowList.test.tsdiffbeforeafterboth
--- a/tests/src/removeFromAllowList.test.ts
+++ b/tests/src/removeFromAllowList.test.ts
@@ -37,13 +37,13 @@
   });
 
   it('ensure bob is not in allowlist after removal', async () => {
-    await usingApi(async () => {
+    await usingApi(async api => {
       const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
       await enableAllowListExpectSuccess(alice, collectionId);
       await addToAllowListExpectSuccess(alice, collectionId, bob.address);
 
       await removeFromAllowListExpectSuccess(alice, collectionId, normalizeAccountId(bob.address));
-      expect(await isAllowlisted(collectionId, bob.address)).to.be.false;
+      expect(await isAllowlisted(api, collectionId, bob.address)).to.be.false;
     });
   });
 
@@ -104,13 +104,13 @@
   });
 
   it('ensure address is not in allowlist after removal', async () => {
-    await usingApi(async () => {
+    await usingApi(async api => {
       const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
       await enableAllowListExpectSuccess(alice, collectionId);
       await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
       await addToAllowListExpectSuccess(alice, collectionId, charlie.address);
       await removeFromAllowListExpectSuccess(bob, collectionId, normalizeAccountId(charlie.address));
-      expect(await isAllowlisted(collectionId, charlie.address)).to.be.false;
+      expect(await isAllowlisted(api, collectionId, charlie.address)).to.be.false;
     });
   });
 
modifiedtests/src/setCollectionSponsor.test.tsdiffbeforeafterboth
--- a/tests/src/setCollectionSponsor.test.ts
+++ b/tests/src/setCollectionSponsor.test.ts
@@ -11,6 +11,7 @@
   destroyCollectionExpectSuccess,
   setCollectionSponsorExpectFailure,
   addCollectionAdminExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 import {Keyring} from '@polkadot/api';
 import {IKeyringPair} from '@polkadot/types/types';
@@ -77,7 +78,7 @@
     // Find the collection that never existed
     let collectionId = 0;
     await usingApi(async (api) => {
-      collectionId = (await api.query.common.createdCollectionCount()).toNumber() + 1;
+      collectionId = await getCreatedCollectionCount(api) + 1;
     });
 
     await setCollectionSponsorExpectFailure(collectionId, bob.address);
modifiedtests/src/setConstOnChainSchema.test.tsdiffbeforeafterboth
--- a/tests/src/setConstOnChainSchema.test.ts
+++ b/tests/src/setConstOnChainSchema.test.ts
@@ -12,6 +12,8 @@
   createCollectionExpectSuccess,
   destroyCollectionExpectSuccess,
   addCollectionAdminExpectSuccess,
+  queryCollectionExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -37,7 +39,7 @@
   it('Run extrinsic with parameters of the collection id, set the scheme', async () => {
     await usingApi(async (api) => {
       const collectionId = await createCollectionExpectSuccess();
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.eq(alice.address);
       const setShema = api.tx.nft.setConstOnChainSchema(collectionId, shema);
       await submitTransactionAsync(alice, setShema);
@@ -47,7 +49,7 @@
   it('Collection admin can set the scheme', async () => {
     await usingApi(async (api) => {
       const collectionId = await createCollectionExpectSuccess();
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.eq(alice.address);
       await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
       const setShema = api.tx.nft.setConstOnChainSchema(collectionId, shema);
@@ -60,7 +62,7 @@
       const collectionId = await createCollectionExpectSuccess();
       const setShema = api.tx.nft.setConstOnChainSchema(collectionId, shema);
       await submitTransactionAsync(alice, setShema);
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.constOnChainSchema.toString()).to.be.eq(shema);
     });
   });
@@ -71,7 +73,7 @@
   it('Set a non-existent collection', async () => {
     await usingApi(async (api) => {
       // tslint:disable-next-line: radix
-      const collectionId = (await api.query.common.createdCollectionCount()).toNumber() + 1;
+      const collectionId = await getCreatedCollectionCount(api) + 1;
       const setShema = api.tx.nft.setConstOnChainSchema(collectionId, shema);
       await expect(submitTransactionExpectFailAsync(alice, setShema)).to.be.rejected;
     });
@@ -97,7 +99,7 @@
   it('Execute method not on behalf of the collection owner', async () => {
     await usingApi(async (api) => {
       const collectionId = await createCollectionExpectSuccess();
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.eq(alice.address);
       const setShema = api.tx.nft.setConstOnChainSchema(collectionId, shema);
       await expect(submitTransactionExpectFailAsync(bob, setShema)).to.be.rejected;
modifiedtests/src/setPublicAccessMode.test.tsdiffbeforeafterboth
--- a/tests/src/setPublicAccessMode.test.ts
+++ b/tests/src/setPublicAccessMode.test.ts
@@ -19,6 +19,7 @@
   enableAllowListExpectSuccess,
   normalizeAccountId,
   addCollectionAdminExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -60,7 +61,7 @@
   it('Set a non-existent collection', async () => {
     await usingApi(async (api: ApiPromise) => {
       // tslint:disable-next-line: radix
-      const collectionId = (await api.query.common.createdCollectionCount()).toNumber() + 1;
+      const collectionId = await getCreatedCollectionCount(api) + 1;
       const tx = api.tx.nft.setPublicAccessMode(collectionId, 'AllowList');
       await expect(submitTransactionExpectFailAsync(alice, tx)).to.be.rejected;
     });
modifiedtests/src/setVariableOnChainSchema.test.tsdiffbeforeafterboth
--- a/tests/src/setVariableOnChainSchema.test.ts
+++ b/tests/src/setVariableOnChainSchema.test.ts
@@ -12,6 +12,8 @@
   createCollectionExpectSuccess,
   destroyCollectionExpectSuccess,
   addCollectionAdminExpectSuccess,
+  queryCollectionExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -37,7 +39,7 @@
   it('Run extrinsic with parameters of the collection id, set the scheme', async () => {
     await usingApi(async (api) => {
       const collectionId = await createCollectionExpectSuccess();
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.eq(alice.address);
       const setSchema = api.tx.nft.setVariableOnChainSchema(collectionId, schema);
       await submitTransactionAsync(alice, setSchema);
@@ -49,7 +51,7 @@
       const collectionId = await createCollectionExpectSuccess();
       const setSchema = api.tx.nft.setVariableOnChainSchema(collectionId, schema);
       await submitTransactionAsync(alice, setSchema);
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.variableOnChainSchema.toString()).to.be.eq(schema);
 
     });
@@ -61,7 +63,7 @@
   it('Run extrinsic with parameters of the collection id, set the scheme', async () => {
     await usingApi(async (api) => {
       const collectionId = await createCollectionExpectSuccess();
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.eq(alice.address);
       await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
       const setSchema = api.tx.nft.setVariableOnChainSchema(collectionId, schema);
@@ -75,7 +77,7 @@
       await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
       const setSchema = api.tx.nft.setVariableOnChainSchema(collectionId, schema);
       await submitTransactionAsync(bob, setSchema);
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.variableOnChainSchema.toString()).to.be.eq(schema);
 
     });
@@ -87,7 +89,7 @@
   it('Set a non-existent collection', async () => {
     await usingApi(async (api) => {
       // tslint:disable-next-line: radix
-      const collectionId = (await api.query.common.createdCollectionCount()).toNumber() + 1;
+      const collectionId = await getCreatedCollectionCount(api) + 1;
       const setSchema = api.tx.nft.setVariableOnChainSchema(collectionId, schema);
       await expect(submitTransactionExpectFailAsync(alice, setSchema)).to.be.rejected;
     });
@@ -113,7 +115,7 @@
   it('Execute method not on behalf of the collection owner', async () => {
     await usingApi(async (api) => {
       const collectionId = await createCollectionExpectSuccess();
-      const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+      const collection = await queryCollectionExpectSuccess(api, collectionId);
       expect(collection.owner.toString()).to.be.eq(alice.address);
       const setSchema = api.tx.nft.setVariableOnChainSchema(collectionId, schema);
       await expect(submitTransactionExpectFailAsync(bob, setSchema)).to.be.rejected;
modifiedtests/src/transfer.test.tsdiffbeforeafterboth
--- a/tests/src/transfer.test.ts
+++ b/tests/src/transfer.test.ts
@@ -19,6 +19,7 @@
   transferExpectFailure,
   transferExpectSuccess,
   addCollectionAdminExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 let alice: IKeyringPair;
@@ -132,13 +133,13 @@
   it('Transfer with not existed collection_id', async () => {
     await usingApi(async (api) => {
       // nft
-      const nftCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const nftCollectionCount = await getCreatedCollectionCount(api);
       await transferExpectFailure(nftCollectionCount + 1, 1, alice, bob, 1);
       // fungible
-      const fungibleCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const fungibleCollectionCount = await getCreatedCollectionCount(api);
       await transferExpectFailure(fungibleCollectionCount + 1, 0, alice, bob, 1);
       // reFungible
-      const reFungibleCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const reFungibleCollectionCount = await getCreatedCollectionCount(api);
       await transferExpectFailure(reFungibleCollectionCount + 1, 1, alice, bob, 1);
     });
   });
modifiedtests/src/transferFrom.test.tsdiffbeforeafterboth
--- a/tests/src/transferFrom.test.ts
+++ b/tests/src/transferFrom.test.ts
@@ -19,6 +19,7 @@
   transferFromExpectSuccess,
   burnItemExpectSuccess,
   setCollectionLimitsExpectSuccess,
+  getCreatedCollectionCount,
 } from './util/helpers';
 
 chai.use(chaiAsPromised);
@@ -109,18 +110,18 @@
   it('transferFrom for a collection that does not exist', async () => {
     await usingApi(async (api: ApiPromise) => {
       // nft
-      const nftCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const nftCollectionCount = await getCreatedCollectionCount(api);
       await approveExpectFail(nftCollectionCount + 1, 1, alice, bob);
 
       await transferFromExpectFail(nftCollectionCount + 1, 1, bob, alice, charlie, 1);
 
       // fungible
-      const fungibleCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const fungibleCollectionCount = await getCreatedCollectionCount(api);
       await approveExpectFail(fungibleCollectionCount + 1, 0, alice, bob);
 
       await transferFromExpectFail(fungibleCollectionCount + 1, 0, bob, alice, charlie, 1);
       // reFungible
-      const reFungibleCollectionCount = (await api.query.common.createdCollectionCount()).toNumber();
+      const reFungibleCollectionCount = await getCreatedCollectionCount(api);
       await approveExpectFail(reFungibleCollectionCount + 1, 1, alice, bob);
 
       await transferFromExpectFail(reFungibleCollectionCount + 1, 1, bob, alice, charlie, 1);
modifiedtests/src/util/helpers.tsdiffbeforeafterboth
--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -269,7 +269,7 @@
   let collectionId = 0;
   await usingApi(async (api) => {
     // Get number of collections before the transaction
-    const collectionCountBefore = (await api.query.common.createdCollectionCount()).toNumber();
+    const collectionCountBefore = await getCreatedCollectionCount(api);
 
     // Run the CreateCollection transaction
     const alicePrivateKey = privateKey('//Alice');
@@ -288,10 +288,10 @@
     const result = getCreateCollectionResult(events);
 
     // Get number of collections after the transaction
-    const collectionCountAfter = (await api.query.common.createdCollectionCount()).toNumber();
+    const collectionCountAfter = await getCreatedCollectionCount(api);
 
     // Get the collection
-    const collection = (await api.query.common.collectionById(result.collectionId)).unwrap();
+    const collection = await queryCollectionExpectSuccess(api, result.collectionId);
 
     // What to expect
     // tslint:disable-next-line:no-unused-expression
@@ -325,7 +325,7 @@
 
   await usingApi(async (api) => {
     // Get number of collections before the transaction
-    const collectionCountBefore = (await api.query.common.createdCollectionCount()).toNumber();
+    const collectionCountBefore = await getCreatedCollectionCount(api);
 
     // Run the CreateCollection transaction
     const alicePrivateKey = privateKey('//Alice');
@@ -334,7 +334,7 @@
     const result = getCreateCollectionResult(events);
 
     // Get number of collections after the transaction
-    const collectionCountAfter = (await api.query.common.createdCollectionCount()).toNumber();
+    const collectionCountAfter = await getCreatedCollectionCount(api);
 
     // What to expect
     // tslint:disable-next-line:no-unused-expression
@@ -364,7 +364,7 @@
 }
 
 export async function findNotExistingCollection(api: ApiPromise): Promise<number> {
-  const totalNumber = (await api.query.common.createdCollectionCount()).toNumber();
+  const totalNumber = await getCreatedCollectionCount(api);
   const newCollection: number = totalNumber + 1;
   return newCollection;
 }
@@ -398,7 +398,7 @@
     expect(result).to.be.true;
 
     // What to expect
-    expect((await api.query.common.collectionById(collectionId)).isNone).to.be.true;
+    expect(await getDetailedCollectionInfo(api, collectionId)).to.be.null;
   });
 }
 
@@ -432,7 +432,7 @@
     const result = getGenericResult(events);
 
     // Get the collection
-    const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+    const collection = await queryCollectionExpectSuccess(api, collectionId);
 
     // What to expect
     expect(result.success).to.be.true;
@@ -452,7 +452,7 @@
     const result = getGenericResult(events);
 
     // Get the collection
-    const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+    const collection = await queryCollectionExpectSuccess(api, collectionId);
 
     // What to expect
     expect(result.success).to.be.true;
@@ -490,7 +490,7 @@
     const result = getGenericResult(events);
 
     // Get the collection
-    const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+    const collection = await queryCollectionExpectSuccess(api, collectionId);
 
     // What to expect
     expect(result.success).to.be.true;
@@ -1057,7 +1057,7 @@
     const result = getGenericResult(events);
 
     // Get the collection
-    const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+    const collection = await queryCollectionExpectSuccess(api, collectionId);
 
     // What to expect
     // tslint:disable-next-line:no-unused-expression
@@ -1105,7 +1105,7 @@
     expect(result.success).to.be.true;
 
     // Get the collection
-    const collection = (await api.query.common.collectionById(collectionId)).unwrap();
+    const collection = await queryCollectionExpectSuccess(api, collectionId);
 
     expect(collection.mintMode.toHuman()).to.be.equal(enabled);
   });
@@ -1137,15 +1137,13 @@
   });
 }
 
-export async function isAllowlisted(collectionId: number, address: string | CrossAccountId) {
-  return await usingApi(async (api) => {
-    return (await api.query.common.allowlist(collectionId, normalizeAccountId(address))).toJSON();
-  });
+export async function isAllowlisted(api: ApiPromise, collectionId: number, address: string | CrossAccountId) {
+  return (await api.rpc.nft.allowed(collectionId, normalizeAccountId(address))).toJSON();
 }
 
 export async function addToAllowListExpectSuccess(sender: IKeyringPair, collectionId: number, address: string | AccountId | CrossAccountId) {
   await usingApi(async (api) => {
-    expect(await isAllowlisted(collectionId, normalizeAccountId(address))).to.be.false;
+    expect(await isAllowlisted(api, collectionId, normalizeAccountId(address))).to.be.false;
 
     // Run the transaction
     const tx = api.tx.nft.addToAllowList(collectionId, normalizeAccountId(address));
@@ -1153,14 +1151,14 @@
     const result = getGenericResult(events);
     expect(result.success).to.be.true;
 
-    expect(await isAllowlisted(collectionId, normalizeAccountId(address))).to.be.true;
+    expect(await isAllowlisted(api, collectionId, normalizeAccountId(address))).to.be.true;
   });
 }
 
 export async function addToAllowListAgainExpectSuccess(sender: IKeyringPair, collectionId: number, address: string | AccountId) {
   await usingApi(async (api) => {
 
-    expect(await isAllowlisted(collectionId, normalizeAccountId(address))).to.be.true;
+    expect(await isAllowlisted(api, collectionId, normalizeAccountId(address))).to.be.true;
 
     // Run the transaction
     const tx = api.tx.nft.addToAllowList(collectionId, normalizeAccountId(address));
@@ -1168,7 +1166,7 @@
     const result = getGenericResult(events);
     expect(result.success).to.be.true;
 
-    expect(await isAllowlisted(collectionId, normalizeAccountId(address))).to.be.true;
+    expect(await isAllowlisted(api, collectionId, normalizeAccountId(address))).to.be.true;
   });
 }
 
@@ -1214,16 +1212,16 @@
 
 export const getDetailedCollectionInfo = async (api: ApiPromise, collectionId: number)
   : Promise<NftDataStructsCollection | null> => {
-  return (await api.query.common.collectionById(collectionId)).unwrapOr(null);
+  return (await api.rpc.nft.collectionById(collectionId)).unwrapOr(null);
 };
 
 export const getCreatedCollectionCount = async (api: ApiPromise): Promise<number> => {
   // set global object - collectionsCount
-  return (await api.query.common.createdCollectionCount()).toNumber();
+  return (await api.rpc.nft.collectionStats()).created.toNumber();
 };
 
 export async function queryCollectionExpectSuccess(api: ApiPromise, collectionId: number): Promise<NftDataStructsCollection> {
-  return (await api.query.common.collectionById(collectionId)).unwrap();
+  return (await api.rpc.nft.collectionById(collectionId)).unwrap();
 }
 
 export async function waitNewBlocks(blocksCount = 1): Promise<void> {