difftreelog
feat(identity) add pallet + rename evm-migration to data-management
in: master
43 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5336,15 +5336,16 @@
"pallet-collator-selection",
"pallet-common",
"pallet-configuration",
+ "pallet-data-management",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-evm-contract-helpers",
- "pallet-evm-migration",
"pallet-evm-precompile-simple",
"pallet-evm-transaction-payment",
"pallet-foreign-assets",
"pallet-fungible",
+ "pallet-identity",
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
@@ -5577,9 +5578,9 @@
"pallet-balances",
"pallet-common",
"pallet-configuration",
+ "pallet-data-management",
"pallet-evm",
"pallet-evm-contract-helpers",
- "pallet-evm-migration",
"pallet-randomness-collective-flip",
"pallet-timestamp",
"pallet-unique",
@@ -5801,6 +5802,7 @@
"pallet-aura",
"pallet-authorship",
"pallet-balances",
+ "pallet-configuration",
"pallet-session",
"pallet-timestamp",
"parity-scale-codec 3.2.1",
@@ -5889,6 +5891,24 @@
]
[[package]]
+name = "pallet-data-management"
+version = "0.1.1"
+dependencies = [
+ "ethereum 0.14.0",
+ "fp-evm",
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "pallet-evm",
+ "parity-scale-codec 3.2.1",
+ "scale-info",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.33#2dff067e9f7f6f3cc4dbfdaaa97753eccc407689"
@@ -6058,24 +6078,6 @@
]
[[package]]
-name = "pallet-evm-migration"
-version = "0.1.1"
-dependencies = [
- "ethereum 0.14.0",
- "fp-evm",
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "pallet-evm",
- "parity-scale-codec 3.2.1",
- "scale-info",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
name = "pallet-evm-precompile-simple"
version = "2.0.0-dev"
source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.33#c37ced433a29baad45899d6ab364fe437f97570e"
@@ -8976,15 +8978,16 @@
"pallet-collator-selection",
"pallet-common",
"pallet-configuration",
+ "pallet-data-management",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-evm-contract-helpers",
- "pallet-evm-migration",
"pallet-evm-precompile-simple",
"pallet-evm-transaction-payment",
"pallet-foreign-assets",
"pallet-fungible",
+ "pallet-identity",
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
@@ -13180,15 +13183,16 @@
"pallet-collator-selection",
"pallet-common",
"pallet-configuration",
+ "pallet-data-management",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-evm-contract-helpers",
- "pallet-evm-migration",
"pallet-evm-precompile-simple",
"pallet-evm-transaction-payment",
"pallet-foreign-assets",
"pallet-fungible",
+ "pallet-identity",
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
@echo "regenerate_solidity - generate stubs/interfaces for contracts defined in native (via evm-coder)"
@echo "evm_stubs - recompile contract stubs and ABI"
@echo "bench - run frame-benchmarking"
- @echo " bench-evm-migration"
+ @echo " bench-data-management"
@echo " bench-unique"
FUNGIBLE_EVM_STUBS=./pallets/fungible/src/stubs
@@ -85,9 +85,9 @@
--template .maintain/frame-weight-template.hbs --steps=50 --repeat=80 --heap-pages=4096 \
--output=./pallets/$(if $(PALLET_DIR),$(PALLET_DIR),$(PALLET))/src/weights.rs
-.PHONY: bench-evm-migration
-bench-evm-migration:
- make _bench PALLET=evm-migration
+.PHONY: bench-data-management
+bench-data-management:
+ make _bench PALLET=data-management
.PHONY: bench-common
bench-common:
@@ -134,4 +134,4 @@
make _bench PALLET=app-promotion PALLET_DIR=app-promotion
.PHONY: bench
-bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets
+bench: bench-data-management bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets
pallets/app-promotion/Cargo.tomldiffbeforeafterboth--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -71,7 +71,7 @@
pallet-configuration = { default-features = false, path = "../configuration" }
pallet-unique = { default-features = false, path = "../unique" }
pallet-evm-contract-helpers = { default-features = false, path = "../evm-contract-helpers" }
-pallet-evm-migration = { default-features = false, path = "../evm-migration" }
+pallet-data-management = { default-features = false, path = "../data-management" }
# [dev-dependencies]
pallets/app-promotion/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/benchmarking.rs
+++ b/pallets/app-promotion/src/benchmarking.rs
@@ -25,13 +25,13 @@
use frame_support::traits::OnInitialize;
use frame_system::RawOrigin;
use pallet_unique::benchmarking::create_nft_collection;
-use pallet_evm_migration::Pallet as EvmMigrationPallet;
+use pallet_data_management::Pallet as DataManagementPallet;
const SEED: u32 = 0;
fn set_admin<T>() -> Result<T::AccountId, sp_runtime::DispatchError>
where
- T: Config + pallet_unique::Config + pallet_evm_migration::Config,
+ T: Config + pallet_unique::Config + pallet_data_management::Config,
T::BlockNumber: From<u32> + Into<u32>,
<<T as Config>::Currency as Currency<T::AccountId>>::Balance: Sum + From<u128>,
{
@@ -52,7 +52,7 @@
benchmarks! {
where_clause{
- where T: Config + pallet_unique::Config + pallet_evm_migration::Config ,
+ where T: Config + pallet_unique::Config + pallet_data_management::Config ,
T::BlockNumber: From<u32> + Into<u32>,
<<T as Config>::Currency as Currency<T::AccountId>>::Balance: Sum + From<u128>
}
@@ -144,8 +144,8 @@
let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
let address = H160::from_low_u64_be(SEED as u64);
let data: Vec<u8> = (0..20 as u8).collect();
- <EvmMigrationPallet<T>>::begin(RawOrigin::Root.into(), address)?;
- <EvmMigrationPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
+ <DataManagementPallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ <DataManagementPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
} : _(RawOrigin::Signed(pallet_admin.clone()), address)
stop_sponsoring_contract {
@@ -155,8 +155,8 @@
let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
let address = H160::from_low_u64_be(SEED as u64);
let data: Vec<u8> = (0..20 as u8).collect();
- <EvmMigrationPallet<T>>::begin(RawOrigin::Root.into(), address)?;
- <EvmMigrationPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
+ <DataManagementPallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ <DataManagementPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
PromototionPallet::<T>::sponsor_contract(RawOrigin::Signed(pallet_admin.clone()).into(), address)?;
} : _(RawOrigin::Signed(pallet_admin.clone()), address)
}
pallets/data-management/CHANGELOG.mddiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/CHANGELOG.md
@@ -0,0 +1,17 @@
+<!-- bureaucrate goes here -->
+## [v0.1.1] 2022-08-16
+
+### Other changes
+
+- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a
+
+- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf8
+
+- refactor: Remove `#[transactional]` from extrinsics 7fd36cea2f6e00c02c67ccc1de9649ae404efd31
+
+Every extrinsic now runs in transaction implicitly, and
+`#[transactional]` on pallet dispatchable is now meaningless
+
+Upstream-Change: https://github.com/paritytech/substrate/issues/10806
+
+- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b
\ No newline at end of file
pallets/data-management/Cargo.tomldiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/Cargo.toml
@@ -0,0 +1,42 @@
+[package]
+name = "pallet-data-management"
+version = "0.1.1"
+license = "GPLv3"
+edition = "2021"
+
+[dependencies]
+scale-info = { version = "2.0.1", default-features = false, features = [
+ "derive",
+] }
+ethereum = { version = "0.14.0", default-features = false }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }
+
+[dependencies.codec]
+default-features = false
+features = ['derive']
+package = 'parity-scale-codec'
+version = '3.1.2'
+
+[features]
+default = ["std", "runtime-benchmarks"]
+std = [
+ "frame-support/std",
+ "frame-system/std",
+ "frame-benchmarking/std",
+ "sp-runtime/std",
+ "sp-std/std",
+ "sp-io/std",
+ "sp-core/std",
+ "pallet-evm/std",
+ "fp-evm/std",
+]
+runtime-benchmarks = ["frame-benchmarking"]
+try-runtime = ["frame-support/try-runtime"]
pallets/data-management/README.mddiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/README.md
@@ -0,0 +1,18 @@
+# EVM contract migration pallet
+
+This pallet is only callable by root, it has functionality to migrate contract
+from other ethereum chain to pallet-evm
+
+Contract data includes contract code, and contract storage,
+where contract storage is a mapping from evm word to evm word (evm word = 32 byte)
+
+To import contract data into pallet-evm admin should call this pallet multiple times:
+1. Start migration via `begin`
+2. Insert all contract data using single or
+ multiple (If data can't be fit into single extrinsic) calls
+ to `set_data`
+3. Finish migration using `finish`, providing contract code
+
+During migration no one can insert code at address of this contract,
+as [`pallet::OnMethodCall`] prevents this, and no one can call this contract,
+as code is only supplied at final stage of contract deployment
\ No newline at end of file
pallets/data-management/src/benchmarking.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/src/benchmarking.rs
@@ -0,0 +1,66 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+#![allow(missing_docs)]
+
+use super::{Call, Config, Pallet};
+use frame_benchmarking::benchmarks;
+use frame_system::RawOrigin;
+use sp_core::{H160, H256};
+use sp_std::{vec::Vec, vec};
+
+// todo:collator
+benchmarks! {
+ where_clause { where <T as Config>::RuntimeEvent: codec::Encode }
+
+ begin {
+ }: _(RawOrigin::Root, H160::default())
+
+ set_data {
+ let b in 0..80;
+ let address = H160::from_low_u64_be(b as u64);
+ let mut data = Vec::new();
+ for i in 0..b {
+ data.push((
+ H256::from_low_u64_be(i as u64),
+ H256::from_low_u64_be(i as u64),
+ ));
+ }
+ <Pallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ }: _(RawOrigin::Root, address, data)
+
+ finish {
+ let b in 0..80;
+ let address = H160::from_low_u64_be(b as u64);
+ let data: Vec<u8> = (0..b as u8).collect();
+ <Pallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ }: _(RawOrigin::Root, address, data)
+
+ insert_eth_logs {
+ let b in 0..200;
+ let logs = (0..b).map(|_| ethereum::Log {
+ address: H160([b as u8; 20]),
+ data: vec![b as u8; 128],
+ topics: vec![H256([b as u8; 32]); 6],
+ }).collect::<Vec<_>>();
+ }: _(RawOrigin::Root, logs)
+
+ insert_events {
+ let b in 0..200;
+ use codec::Encode;
+ let logs = (0..b).map(|_| <T as Config>::RuntimeEvent::from(crate::Event::<T>::TestEvent).encode()).collect::<Vec<_>>();
+ }: _(RawOrigin::Root, logs)
+}
pallets/data-management/src/lib.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/src/lib.rs
@@ -0,0 +1,168 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+#![doc = include_str!("../README.md")]
+#![cfg_attr(not(feature = "std"), no_std)]
+#![deny(missing_docs)]
+
+pub use pallet::*;
+#[cfg(feature = "runtime-benchmarks")]
+pub mod benchmarking;
+pub mod weights;
+
+#[frame_support::pallet]
+pub mod pallet {
+ use frame_support::{
+ pallet_prelude::{*, DispatchResult},
+ traits::IsType,
+ };
+ use frame_system::pallet_prelude::{*, OriginFor};
+ use sp_core::{H160, H256};
+ use sp_std::vec::Vec;
+ use super::weights::WeightInfo;
+ use pallet_evm::{PrecompileHandle, Pallet as PalletEvm};
+
+ #[pallet::config]
+ pub trait Config: frame_system::Config + pallet_evm::Config {
+ /// Weights
+ type WeightInfo: WeightInfo;
+ /// The overarching event type.
+ type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
+ }
+
+ type SelfWeightOf<T> = <T as Config>::WeightInfo;
+
+ #[pallet::pallet]
+ #[pallet::generate_store(pub(super) trait Store)]
+ pub struct Pallet<T>(_);
+
+ #[pallet::event]
+ pub enum Event<T: Config> {
+ /// This event is used in benchmarking and can be used for tests
+ TestEvent,
+ }
+
+ #[pallet::error]
+ pub enum Error<T> {
+ /// Can only migrate to empty address.
+ AccountNotEmpty,
+ /// Migration of this account is not yet started, or already finished.
+ AccountIsNotMigrating,
+ /// Failed to decode event bytes
+ BadEvent,
+ }
+
+ #[pallet::storage]
+ pub(super) type MigrationPending<T: Config> =
+ StorageMap<Hasher = Twox64Concat, Key = H160, Value = bool, QueryKind = ValueQuery>;
+
+ #[pallet::call]
+ impl<T: Config> Pallet<T> {
+ /// Start contract migration, inserts contract stub at target address,
+ /// and marks account as pending, allowing to insert storage
+ #[pallet::weight(<SelfWeightOf<T>>::begin())]
+ pub fn begin(origin: OriginFor<T>, address: H160) -> DispatchResult {
+ ensure_root(origin)?;
+ ensure!(
+ <PalletEvm<T>>::is_account_empty(&address) && !<MigrationPending<T>>::get(&address),
+ <Error<T>>::AccountNotEmpty,
+ );
+
+ <MigrationPending<T>>::insert(address, true);
+ Ok(())
+ }
+
+ /// Insert items into contract storage, this method can be called
+ /// multiple times
+ #[pallet::weight(<SelfWeightOf<T>>::set_data(data.len() as u32))]
+ pub fn set_data(
+ origin: OriginFor<T>,
+ address: H160,
+ data: Vec<(H256, H256)>,
+ ) -> DispatchResult {
+ ensure_root(origin)?;
+ ensure!(
+ <MigrationPending<T>>::get(&address),
+ <Error<T>>::AccountIsNotMigrating,
+ );
+
+ for (k, v) in data {
+ <pallet_evm::AccountStorages<T>>::insert(&address, k, v);
+ }
+ Ok(())
+ }
+
+ /// Finish contract migration, allows it to be called.
+ /// It is not possible to alter contract storage via [`Self::set_data`]
+ /// after this call.
+ #[pallet::weight(<SelfWeightOf<T>>::finish(code.len() as u32))]
+ pub fn finish(origin: OriginFor<T>, address: H160, code: Vec<u8>) -> DispatchResult {
+ ensure_root(origin)?;
+ ensure!(
+ <MigrationPending<T>>::get(&address),
+ <Error<T>>::AccountIsNotMigrating,
+ );
+
+ <pallet_evm::AccountCodes<T>>::insert(&address, code);
+ <MigrationPending<T>>::remove(address);
+ Ok(())
+ }
+
+ /// Create ethereum events attached to the fake transaction
+ #[pallet::weight(<SelfWeightOf<T>>::insert_eth_logs(logs.len() as u32))]
+ pub fn insert_eth_logs(origin: OriginFor<T>, logs: Vec<ethereum::Log>) -> DispatchResult {
+ ensure_root(origin)?;
+ for log in logs {
+ <pallet_evm::Pallet<T>>::deposit_log(log);
+ }
+ // Transactions is created by FakeTransactionFinalizer
+ Ok(())
+ }
+
+ /// Create substrate events
+ #[pallet::weight(<SelfWeightOf<T>>::insert_events(events.len() as u32))]
+ pub fn insert_events(origin: OriginFor<T>, events: Vec<Vec<u8>>) -> DispatchResult {
+ ensure_root(origin)?;
+ for event in events {
+ <frame_system::Pallet<T>>::deposit_event(
+ <T as frame_system::Config>::RuntimeEvent::decode(&mut event.as_slice())
+ .map_err(|_| <Error<T>>::BadEvent)?,
+ );
+ }
+ Ok(())
+ }
+ }
+
+ /// Implements [`pallet_evm::OnMethodCall`], which reserves accounts with pending migration
+ pub struct OnMethodCall<T>(PhantomData<T>);
+ impl<T: Config> pallet_evm::OnMethodCall<T> for OnMethodCall<T> {
+ fn is_reserved(contract: &H160) -> bool {
+ <MigrationPending<T>>::get(&contract)
+ }
+
+ fn is_used(_contract: &H160) -> bool {
+ false
+ }
+
+ fn call(_handle: &mut impl PrecompileHandle) -> Option<pallet_evm::PrecompileResult> {
+ None
+ }
+
+ fn get_code(_contract: &H160) -> Option<Vec<u8>> {
+ None
+ }
+ }
+}
pallets/data-management/src/weights.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/src/weights.rs
@@ -0,0 +1,123 @@
+// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs
+
+//! Autogenerated weights for pallet_data_management
+//!
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2022-11-23, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+
+// Executed Command:
+// target/release/unique-collator
+// benchmark
+// pallet
+// --pallet
+// pallet-data-management
+// --wasm-execution
+// compiled
+// --extrinsic
+// *
+// --template
+// .maintain/frame-weight-template.hbs
+// --steps=50
+// --repeat=80
+// --heap-pages=4096
+// --output=./pallets/data-management/src/weights.rs
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
+#![allow(unused_parens)]
+#![allow(unused_imports)]
+#![allow(missing_docs)]
+#![allow(clippy::unnecessary_cast)]
+
+use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
+use sp_std::marker::PhantomData;
+
+/// Weight functions needed for pallet_data_management.
+pub trait WeightInfo {
+ fn begin() -> Weight;
+ fn set_data(b: u32, ) -> Weight;
+ fn finish(b: u32, ) -> Weight;
+ fn insert_eth_logs(b: u32, ) -> Weight;
+ fn insert_events(b: u32, ) -> Weight;
+}
+
+/// Weights for pallet_data_management using the Substrate node and recommended hardware.
+pub struct SubstrateWeight<T>(PhantomData<T>);
+impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
+ // Storage: DataManagement MigrationPending (r:1 w:1)
+ // Storage: System Account (r:1 w:0)
+ // Storage: EVM AccountCodes (r:1 w:0)
+ fn begin() -> Weight {
+ Weight::from_ref_time(16_080_000 as u64)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
+ }
+ // Storage: DataManagement MigrationPending (r:1 w:0)
+ // Storage: EVM AccountStorages (r:0 w:1)
+ fn set_data(b: u32, ) -> Weight {
+ Weight::from_ref_time(7_945_000 as u64)
+ // Standard Error: 1_272
+ .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
+ }
+ // Storage: DataManagement MigrationPending (r:1 w:1)
+ // Storage: EVM AccountCodes (r:0 w:1)
+ fn finish(b: u32, ) -> Weight {
+ Weight::from_ref_time(8_336_000 as u64)
+ // Standard Error: 89
+ .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ }
+ fn insert_eth_logs(b: u32, ) -> Weight {
+ Weight::from_ref_time(3_447_000 as u64)
+ // Standard Error: 843
+ .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
+ }
+ fn insert_events(b: u32, ) -> Weight {
+ Weight::from_ref_time(3_457_000 as u64)
+ // Standard Error: 1_460
+ .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
+ }
+}
+
+// For backwards compatibility and tests
+impl WeightInfo for () {
+ // Storage: DataManagement MigrationPending (r:1 w:1)
+ // Storage: System Account (r:1 w:0)
+ // Storage: EVM AccountCodes (r:1 w:0)
+ fn begin() -> Weight {
+ Weight::from_ref_time(16_080_000 as u64)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ }
+ // Storage: DataManagement MigrationPending (r:1 w:0)
+ // Storage: EVM AccountStorages (r:0 w:1)
+ fn set_data(b: u32, ) -> Weight {
+ Weight::from_ref_time(7_945_000 as u64)
+ // Standard Error: 1_272
+ .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
+ }
+ // Storage: DataManagement MigrationPending (r:1 w:1)
+ // Storage: EVM AccountCodes (r:0 w:1)
+ fn finish(b: u32, ) -> Weight {
+ Weight::from_ref_time(8_336_000 as u64)
+ // Standard Error: 89
+ .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ }
+ fn insert_eth_logs(b: u32, ) -> Weight {
+ Weight::from_ref_time(3_447_000 as u64)
+ // Standard Error: 843
+ .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
+ }
+ fn insert_events(b: u32, ) -> Weight {
+ Weight::from_ref_time(3_457_000 as u64)
+ // Standard Error: 1_460
+ .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
+ }
+}
pallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth--- a/pallets/evm-contract-helpers/src/eth.rs
+++ b/pallets/evm-contract-helpers/src/eth.rs
@@ -91,7 +91,7 @@
{
/// Get user, which deployed specified contract
/// @dev May return zero address in case if contract is deployed
- /// using uniquenetwork evm-migration pallet, or using other terms not
+ /// using uniquenetwork data-management pallet, or using other terms not
/// intended by pallet-evm
/// @dev Returns zero address if contract does not exists
/// @param contractAddress Contract to get owner of
pallets/evm-contract-helpers/src/stubs/ContractHelpers.soldiffbeforeafterboth--- a/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
+++ b/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
@@ -29,7 +29,7 @@
contract ContractHelpers is Dummy, ERC165, ContractHelpersEvents {
/// Get user, which deployed specified contract
/// @dev May return zero address in case if contract is deployed
- /// using uniquenetwork evm-migration pallet, or using other terms not
+ /// using uniquenetwork data-management pallet, or using other terms not
/// intended by pallet-evm
/// @dev Returns zero address if contract does not exists
/// @param contractAddress Contract to get owner of
pallets/evm-migration/CHANGELOG.mddiffbeforeafterboth--- a/pallets/evm-migration/CHANGELOG.md
+++ /dev/null
@@ -1,17 +0,0 @@
-<!-- bureaucrate goes here -->
-## [v0.1.1] 2022-08-16
-
-### Other changes
-
-- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a
-
-- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf8
-
-- refactor: Remove `#[transactional]` from extrinsics 7fd36cea2f6e00c02c67ccc1de9649ae404efd31
-
-Every extrinsic now runs in transaction implicitly, and
-`#[transactional]` on pallet dispatchable is now meaningless
-
-Upstream-Change: https://github.com/paritytech/substrate/issues/10806
-
-- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b
\ No newline at end of file
pallets/evm-migration/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-migration/Cargo.toml
+++ /dev/null
@@ -1,42 +0,0 @@
-[package]
-name = "pallet-evm-migration"
-version = "0.1.1"
-license = "GPLv3"
-edition = "2021"
-
-[dependencies]
-scale-info = { version = "2.0.1", default-features = false, features = [
- "derive",
-] }
-ethereum = { version = "0.14.0", default-features = false }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }
-
-[dependencies.codec]
-default-features = false
-features = ['derive']
-package = 'parity-scale-codec'
-version = '3.1.2'
-
-[features]
-default = ["std", "runtime-benchmarks"]
-std = [
- "frame-support/std",
- "frame-system/std",
- "frame-benchmarking/std",
- "sp-runtime/std",
- "sp-std/std",
- "sp-io/std",
- "sp-core/std",
- "pallet-evm/std",
- "fp-evm/std",
-]
-runtime-benchmarks = ["frame-benchmarking"]
-try-runtime = ["frame-support/try-runtime"]
pallets/evm-migration/README.mddiffbeforeafterboth--- a/pallets/evm-migration/README.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# EVM contract migration pallet
-
-This pallet is only callable by root, it has functionality to migrate contract
-from other ethereum chain to pallet-evm
-
-Contract data includes contract code, and contract storage,
-where contract storage is a mapping from evm word to evm word (evm word = 32 byte)
-
-To import contract data into pallet-evm admin should call this pallet multiple times:
-1. Start migration via `begin`
-2. Insert all contract data using single or
- multiple (If data can't be fit into single extrinsic) calls
- to `set_data`
-3. Finish migration using `finish`, providing contract code
-
-During migration no one can insert code at address of this contract,
-as [`pallet::OnMethodCall`] prevents this, and no one can call this contract,
-as code is only supplied at final stage of contract deployment
\ No newline at end of file
pallets/evm-migration/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/benchmarking.rs
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
-// This file is part of Unique Network.
-
-// Unique Network is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// Unique Network is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
-
-#![allow(missing_docs)]
-
-use super::{Call, Config, Pallet};
-use frame_benchmarking::benchmarks;
-use frame_system::RawOrigin;
-use sp_core::{H160, H256};
-use sp_std::{vec::Vec, vec};
-
-benchmarks! {
- where_clause { where <T as Config>::RuntimeEvent: codec::Encode }
-
- begin {
- }: _(RawOrigin::Root, H160::default())
-
- set_data {
- let b in 0..80;
- let address = H160::from_low_u64_be(b as u64);
- let mut data = Vec::new();
- for i in 0..b {
- data.push((
- H256::from_low_u64_be(i as u64),
- H256::from_low_u64_be(i as u64),
- ));
- }
- <Pallet<T>>::begin(RawOrigin::Root.into(), address)?;
- }: _(RawOrigin::Root, address, data)
-
- finish {
- let b in 0..80;
- let address = H160::from_low_u64_be(b as u64);
- let data: Vec<u8> = (0..b as u8).collect();
- <Pallet<T>>::begin(RawOrigin::Root.into(), address)?;
- }: _(RawOrigin::Root, address, data)
-
- insert_eth_logs {
- let b in 0..200;
- let logs = (0..b).map(|_| ethereum::Log {
- address: H160([b as u8; 20]),
- data: vec![b as u8; 128],
- topics: vec![H256([b as u8; 32]); 6],
- }).collect::<Vec<_>>();
- }: _(RawOrigin::Root, logs)
-
- insert_events {
- let b in 0..200;
- use codec::Encode;
- let logs = (0..b).map(|_| <T as Config>::RuntimeEvent::from(crate::Event::<T>::TestEvent).encode()).collect::<Vec<_>>();
- }: _(RawOrigin::Root, logs)
-}
pallets/evm-migration/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/lib.rs
+++ /dev/null
@@ -1,168 +0,0 @@
-// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
-// This file is part of Unique Network.
-
-// Unique Network is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// Unique Network is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
-
-#![doc = include_str!("../README.md")]
-#![cfg_attr(not(feature = "std"), no_std)]
-#![deny(missing_docs)]
-
-pub use pallet::*;
-#[cfg(feature = "runtime-benchmarks")]
-pub mod benchmarking;
-pub mod weights;
-
-#[frame_support::pallet]
-pub mod pallet {
- use frame_support::{
- pallet_prelude::{*, DispatchResult},
- traits::IsType,
- };
- use frame_system::pallet_prelude::{*, OriginFor};
- use sp_core::{H160, H256};
- use sp_std::vec::Vec;
- use super::weights::WeightInfo;
- use pallet_evm::{PrecompileHandle, Pallet as PalletEvm};
-
- #[pallet::config]
- pub trait Config: frame_system::Config + pallet_evm::Config {
- /// Weights
- type WeightInfo: WeightInfo;
- /// The overarching event type.
- type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
- }
-
- type SelfWeightOf<T> = <T as Config>::WeightInfo;
-
- #[pallet::pallet]
- #[pallet::generate_store(pub(super) trait Store)]
- pub struct Pallet<T>(_);
-
- #[pallet::event]
- pub enum Event<T: Config> {
- /// This event is used in benchmarking and can be used for tests
- TestEvent,
- }
-
- #[pallet::error]
- pub enum Error<T> {
- /// Can only migrate to empty address.
- AccountNotEmpty,
- /// Migration of this account is not yet started, or already finished.
- AccountIsNotMigrating,
- /// Failed to decode event bytes
- BadEvent,
- }
-
- #[pallet::storage]
- pub(super) type MigrationPending<T: Config> =
- StorageMap<Hasher = Twox64Concat, Key = H160, Value = bool, QueryKind = ValueQuery>;
-
- #[pallet::call]
- impl<T: Config> Pallet<T> {
- /// Start contract migration, inserts contract stub at target address,
- /// and marks account as pending, allowing to insert storage
- #[pallet::weight(<SelfWeightOf<T>>::begin())]
- pub fn begin(origin: OriginFor<T>, address: H160) -> DispatchResult {
- ensure_root(origin)?;
- ensure!(
- <PalletEvm<T>>::is_account_empty(&address) && !<MigrationPending<T>>::get(&address),
- <Error<T>>::AccountNotEmpty,
- );
-
- <MigrationPending<T>>::insert(address, true);
- Ok(())
- }
-
- /// Insert items into contract storage, this method can be called
- /// multiple times
- #[pallet::weight(<SelfWeightOf<T>>::set_data(data.len() as u32))]
- pub fn set_data(
- origin: OriginFor<T>,
- address: H160,
- data: Vec<(H256, H256)>,
- ) -> DispatchResult {
- ensure_root(origin)?;
- ensure!(
- <MigrationPending<T>>::get(&address),
- <Error<T>>::AccountIsNotMigrating,
- );
-
- for (k, v) in data {
- <pallet_evm::AccountStorages<T>>::insert(&address, k, v);
- }
- Ok(())
- }
-
- /// Finish contract migration, allows it to be called.
- /// It is not possible to alter contract storage via [`Self::set_data`]
- /// after this call.
- #[pallet::weight(<SelfWeightOf<T>>::finish(code.len() as u32))]
- pub fn finish(origin: OriginFor<T>, address: H160, code: Vec<u8>) -> DispatchResult {
- ensure_root(origin)?;
- ensure!(
- <MigrationPending<T>>::get(&address),
- <Error<T>>::AccountIsNotMigrating,
- );
-
- <pallet_evm::AccountCodes<T>>::insert(&address, code);
- <MigrationPending<T>>::remove(address);
- Ok(())
- }
-
- /// Create ethereum events attached to the fake transaction
- #[pallet::weight(<SelfWeightOf<T>>::insert_eth_logs(logs.len() as u32))]
- pub fn insert_eth_logs(origin: OriginFor<T>, logs: Vec<ethereum::Log>) -> DispatchResult {
- ensure_root(origin)?;
- for log in logs {
- <pallet_evm::Pallet<T>>::deposit_log(log);
- }
- // Transactions is created by FakeTransactionFinalizer
- Ok(())
- }
-
- /// Create substrate events
- #[pallet::weight(<SelfWeightOf<T>>::insert_events(events.len() as u32))]
- pub fn insert_events(origin: OriginFor<T>, events: Vec<Vec<u8>>) -> DispatchResult {
- ensure_root(origin)?;
- for event in events {
- <frame_system::Pallet<T>>::deposit_event(
- <T as frame_system::Config>::RuntimeEvent::decode(&mut event.as_slice())
- .map_err(|_| <Error<T>>::BadEvent)?,
- );
- }
- Ok(())
- }
- }
-
- /// Implements [`pallet_evm::OnMethodCall`], which reserves accounts with pending migration
- pub struct OnMethodCall<T>(PhantomData<T>);
- impl<T: Config> pallet_evm::OnMethodCall<T> for OnMethodCall<T> {
- fn is_reserved(contract: &H160) -> bool {
- <MigrationPending<T>>::get(&contract)
- }
-
- fn is_used(_contract: &H160) -> bool {
- false
- }
-
- fn call(_handle: &mut impl PrecompileHandle) -> Option<pallet_evm::PrecompileResult> {
- None
- }
-
- fn get_code(_contract: &H160) -> Option<Vec<u8>> {
- None
- }
- }
-}
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ /dev/null
@@ -1,123 +0,0 @@
-// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs
-
-//! Autogenerated weights for pallet_evm_migration
-//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-11-23, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
-
-// Executed Command:
-// target/release/unique-collator
-// benchmark
-// pallet
-// --pallet
-// pallet-evm-migration
-// --wasm-execution
-// compiled
-// --extrinsic
-// *
-// --template
-// .maintain/frame-weight-template.hbs
-// --steps=50
-// --repeat=80
-// --heap-pages=4096
-// --output=./pallets/evm-migration/src/weights.rs
-
-#![cfg_attr(rustfmt, rustfmt_skip)]
-#![allow(unused_parens)]
-#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
-
-use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
-use sp_std::marker::PhantomData;
-
-/// Weight functions needed for pallet_evm_migration.
-pub trait WeightInfo {
- fn begin() -> Weight;
- fn set_data(b: u32, ) -> Weight;
- fn finish(b: u32, ) -> Weight;
- fn insert_eth_logs(b: u32, ) -> Weight;
- fn insert_events(b: u32, ) -> Weight;
-}
-
-/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.
-pub struct SubstrateWeight<T>(PhantomData<T>);
-impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: EVM AccountCodes (r:1 w:0)
- fn begin() -> Weight {
- Weight::from_ref_time(16_080_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
- }
- // Storage: EvmMigration MigrationPending (r:1 w:0)
- // Storage: EVM AccountStorages (r:0 w:1)
- fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(7_945_000 as u64)
- // Standard Error: 1_272
- .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
- }
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: EVM AccountCodes (r:0 w:1)
- fn finish(b: u32, ) -> Weight {
- Weight::from_ref_time(8_336_000 as u64)
- // Standard Error: 89
- .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
- }
- fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(3_447_000 as u64)
- // Standard Error: 843
- .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
- }
- fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(3_457_000 as u64)
- // Standard Error: 1_460
- .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
- }
-}
-
-// For backwards compatibility and tests
-impl WeightInfo for () {
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: EVM AccountCodes (r:1 w:0)
- fn begin() -> Weight {
- Weight::from_ref_time(16_080_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
- }
- // Storage: EvmMigration MigrationPending (r:1 w:0)
- // Storage: EVM AccountStorages (r:0 w:1)
- fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(7_945_000 as u64)
- // Standard Error: 1_272
- .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
- }
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: EVM AccountCodes (r:0 w:1)
- fn finish(b: u32, ) -> Weight {
- Weight::from_ref_time(8_336_000 as u64)
- // Standard Error: 89
- .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
- }
- fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(3_447_000 as u64)
- // Standard Error: 843
- .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
- }
- fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(3_457_000 as u64)
- // Standard Error: 1_460
- .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
- }
-}
runtime/common/config/ethereum.rsdiffbeforeafterboth--- a/runtime/common/config/ethereum.rs
+++ b/runtime/common/config/ethereum.rs
@@ -70,7 +70,7 @@
type Currency = Balances;
type RuntimeEvent = RuntimeEvent;
type OnMethodCall = (
- pallet_evm_migration::OnMethodCall<Self>,
+ pallet_data_management::OnMethodCall<Self>,
pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
CollectionDispatchT<Self>,
pallet_unique::eth::CollectionHelpersOnMethodCall<Self>,
@@ -83,9 +83,9 @@
type FindAuthor = EthereumFindAuthor<Aura>;
}
-impl pallet_evm_migration::Config for Runtime {
+impl pallet_data_management::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
- type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;
+ type WeightInfo = pallet_data_management::weights::SubstrateWeight<Self>;
}
impl pallet_ethereum::Config for Runtime {
runtime/common/config/pallets/collator_selection.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/collator_selection.rs
+++ b/runtime/common/config/pallets/collator_selection.rs
@@ -54,6 +54,30 @@
}
parameter_types! {
+ pub const BasicDeposit: Balance = 10 * UNIQUE; // todo:collator
+ pub const FieldDeposit: Balance = 25 * MILLIUNIQUE;
+ pub const SubAccountDeposit: Balance = 2 * UNIQUE; // end todo
+ pub const MaxSubAccounts: u32 = 100;
+ pub const MaxAdditionalFields: u32 = 100;
+ pub const MaxRegistrars: u32 = 20;
+}
+
+impl pallet_identity::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type Currency = Balances;
+ type BasicDeposit = BasicDeposit;
+ type FieldDeposit = FieldDeposit;
+ type MaxAdditionalFields = MaxAdditionalFields;
+ type MaxRegistrars = MaxRegistrars;
+ type MaxSubAccounts = MaxSubAccounts;
+ type SubAccountDeposit = SubAccountDeposit;
+ type RegistrarOrigin = EnsureRoot<<Self as frame_system::Config>::AccountId>;
+ type ForceOrigin = EnsureRoot<<Self as frame_system::Config>::AccountId>;
+ type Slashed = Treasury;
+ type WeightInfo = pallet_identity::weights::SubstrateWeight<Runtime>;
+}
+
+parameter_types! {
pub const PotId: PalletId = PalletId(*b"PotStake");
pub const SlashRatio: Perbill = Perbill::from_percent(100);
}
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -44,6 +44,9 @@
Aura: pallet_aura::{Pallet, Config<T>} = 25,
AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 26,
+ #[runtimes(opal)]
+ Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 27,
+
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,
@@ -101,7 +104,7 @@
EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,
EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage, Event<T>} = 151,
EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,
- EvmMigration: pallet_evm_migration::{Pallet, Call, Storage, Event<T>} = 153,
+ DataManagement: pallet_data_management::{Pallet, Call, Storage, Event<T>} = 153,
Maintenance: pallet_maintenance::{Pallet, Call, Storage, Event<T>} = 154,
runtime/common/data_management.rsdiffbeforeafterboth--- /dev/null
+++ b/runtime/common/data_management.rs
@@ -0,0 +1,67 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+use scale_info::TypeInfo;
+use codec::{Encode, Decode};
+use up_common::types::AccountId;
+use crate::RuntimeCall;
+
+use sp_runtime::{
+ traits::{DispatchInfoOf, SignedExtension},
+ transaction_validity::{
+ TransactionValidity, ValidTransaction, InvalidTransaction, TransactionValidityError,
+ },
+};
+
+#[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, TypeInfo)]
+pub struct FilterIdentity;
+
+impl SignedExtension for FilterIdentity {
+ type AccountId = AccountId;
+ type Call = RuntimeCall;
+ type AdditionalSigned = ();
+ type Pre = ();
+
+ const IDENTIFIER: &'static str = "FilterIdentity";
+
+ fn additional_signed(&self) -> Result<Self::AdditionalSigned, TransactionValidityError> {
+ Ok(())
+ }
+
+ fn pre_dispatch(
+ self,
+ who: &Self::AccountId,
+ call: &Self::Call,
+ info: &DispatchInfoOf<Self::Call>,
+ len: usize,
+ ) -> Result<Self::Pre, TransactionValidityError> {
+ self.validate(who, call, info, len).map(|_| ())
+ }
+
+ fn validate(
+ &self,
+ _who: &Self::AccountId,
+ call: &Self::Call,
+ _info: &DispatchInfoOf<Self::Call>,
+ _len: usize,
+ ) -> TransactionValidity {
+ match call {
+ #[cfg(feature = "collator-selection")]
+ RuntimeCall::Identity(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)),
+ _ => Ok(ValidTransaction::default()),
+ }
+ }
+}
runtime/common/maintenance.rsdiffbeforeafterboth--- a/runtime/common/maintenance.rs
+++ b/runtime/common/maintenance.rs
@@ -60,7 +60,7 @@
) -> TransactionValidity {
if Maintenance::is_enabled() {
match call {
- RuntimeCall::EvmMigration(_)
+ RuntimeCall::DataManagement(_)
| RuntimeCall::EVM(_)
| RuntimeCall::Ethereum(_)
| RuntimeCall::Inflation(_)
runtime/common/mod.rsdiffbeforeafterboth--- a/runtime/common/mod.rs
+++ b/runtime/common/mod.rs
@@ -20,6 +20,7 @@
pub mod ethereum;
pub mod instance;
pub mod maintenance;
+pub mod data_management;
pub mod runtime_apis;
pub mod xcm;
@@ -96,6 +97,7 @@
frame_system::CheckNonce<Runtime>,
frame_system::CheckWeight<Runtime>,
maintenance::CheckMaintenance,
+ data_management::FilterIdentity,
ChargeTransactionPayment,
//pallet_contract_helpers::ContractHelpersExtension<Runtime>,
pallet_ethereum::FakeTransactionFinalizer<Runtime>,
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -679,7 +679,7 @@
let mut list = Vec::<BenchmarkList>::new();
- list_benchmark!(list, extra, pallet_evm_migration, EvmMigration);
+ list_benchmark!(list, extra, pallet_data_management, DataManagement);
list_benchmark!(list, extra, pallet_common, Common);
list_benchmark!(list, extra, pallet_unique, Unique);
list_benchmark!(list, extra, pallet_structure, Structure);
@@ -746,7 +746,7 @@
let mut batches = Vec::<BenchmarkBatch>::new();
let params = (&config, &allowlist);
- add_benchmark!(params, batches, pallet_evm_migration, EvmMigration);
+ add_benchmark!(params, batches, pallet_data_management, DataManagement);
add_benchmark!(params, batches, pallet_common, Common);
add_benchmark!(params, batches, pallet_unique, Unique);
add_benchmark!(params, batches, pallet_structure, Structure);
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -26,7 +26,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-evm-migration/runtime-benchmarks',
+ 'pallet-data-management/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -73,6 +73,7 @@
"pallet-authorship/try-runtime",
"pallet-collator-selection/try-runtime",
"pallet-session/try-runtime",
+ "pallet-identity/try-runtime",
'pallet-inflation/try-runtime',
'pallet-unique/try-runtime',
'pallet-configuration/try-runtime',
@@ -91,7 +92,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-evm-migration/try-runtime',
+ 'pallet-data-management/try-runtime',
'pallet-base-fee/try-runtime',
'pallet-unique-scheduler-v2/try-runtime',
'pallet-maintenance/try-runtime',
@@ -119,6 +120,7 @@
"pallet-authorship/std",
'pallet-collator-selection/std',
"pallet-session/std",
+ 'pallet-identity/std',
'pallet-randomness-collective-flip/std',
'pallet-sudo/std',
'pallet-timestamp/std',
@@ -126,7 +128,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-evm-migration/std',
+ 'pallet-data-management/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -272,6 +274,11 @@
git = 'https://github.com/paritytech/substrate'
branch = 'polkadot-v0.9.33'
+[dependencies.pallet-identity]
+default-features = false
+git = 'https://github.com/paritytech/substrate'
+branch = 'polkadot-v0.9.33'
+
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
@@ -505,7 +512,7 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.33", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-unique-scheduler-v2 = { path = '../../pallets/scheduler-v2', default-features = false }
-pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
+pallet-data-management = { path = '../../pallets/data-management', default-features = false }
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -26,7 +26,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-evm-migration/runtime-benchmarks',
+ 'pallet-data-management/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -71,6 +71,7 @@
"pallet-authorship/try-runtime",
"pallet-collator-selection/try-runtime",
"pallet-session/try-runtime",
+ "pallet-identity/try-runtime",
'pallet-inflation/try-runtime',
'pallet-unique/try-runtime',
'pallet-configuration/try-runtime',
@@ -89,7 +90,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-evm-migration/try-runtime',
+ 'pallet-data-management/try-runtime',
'pallet-maintenance/try-runtime',
]
std = [
@@ -114,6 +115,7 @@
"pallet-authorship/std",
'pallet-collator-selection/std',
"pallet-session/std",
+ "pallet-identity/std",
'pallet-randomness-collective-flip/std',
'pallet-sudo/std',
'pallet-timestamp/std',
@@ -121,7 +123,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-evm-migration/std',
+ 'pallet-data-management/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -256,6 +258,11 @@
git = 'https://github.com/paritytech/substrate'
branch = 'polkadot-v0.9.33'
+[dependencies.pallet-identity]
+default-features = false
+git = 'https://github.com/paritytech/substrate'
+branch = 'polkadot-v0.9.33'
+
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
@@ -496,7 +503,7 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.33", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
-pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
+pallet-data-management = { path = '../../pallets/data-management', default-features = false }
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -26,7 +26,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-evm-migration/runtime-benchmarks',
+ 'pallet-data-management/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -72,6 +72,7 @@
"pallet-authorship/try-runtime",
"pallet-collator-selection/try-runtime",
"pallet-session/try-runtime",
+ "pallet-identity/try-runtime",
'pallet-inflation/try-runtime',
'pallet-unique/try-runtime',
'pallet-configuration/try-runtime',
@@ -90,7 +91,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-evm-migration/try-runtime',
+ 'pallet-data-management/try-runtime',
'pallet-maintenance/try-runtime',
]
std = [
@@ -115,6 +116,7 @@
"pallet-authorship/std",
'pallet-collator-selection/std',
"pallet-session/std",
+ "pallet-identity/std",
'pallet-randomness-collective-flip/std',
'pallet-sudo/std',
'pallet-timestamp/std',
@@ -122,7 +124,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-evm-migration/std',
+ 'pallet-data-management/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -257,6 +259,11 @@
git = 'https://github.com/paritytech/substrate'
branch = 'polkadot-v0.9.33'
+[dependencies.pallet-identity]
+default-features = false
+git = 'https://github.com/paritytech/substrate'
+branch = 'polkadot-v0.9.33'
+
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
@@ -488,7 +495,7 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.33", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
-pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
+pallet-data-management = { path = '../../pallets/data-management', default-features = false }
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
tests/src/.outdated/substrate/substrate-api.tsdiffbeforeafterboth--- a/tests/src/.outdated/substrate/substrate-api.ts
+++ b/tests/src/.outdated/substrate/substrate-api.ts
@@ -41,6 +41,10 @@
extrinsic: {},
payload: {},
},
+ FilterIdentity: {
+ extrinsic: {},
+ payload: {},
+ },
FakeTransactionFinalizer: {
extrinsic: {},
payload: {},
tests/src/eth/api/ContractHelpers.soldiffbeforeafterboth--- a/tests/src/eth/api/ContractHelpers.sol
+++ b/tests/src/eth/api/ContractHelpers.sol
@@ -24,7 +24,7 @@
interface ContractHelpers is Dummy, ERC165, ContractHelpersEvents {
/// Get user, which deployed specified contract
/// @dev May return zero address in case if contract is deployed
- /// using uniquenetwork evm-migration pallet, or using other terms not
+ /// using uniquenetwork data-management pallet, or using other terms not
/// intended by pallet-evm
/// @dev Returns zero address if contract does not exists
/// @param contractAddress Contract to get owner of
tests/src/eth/migration.seqtest.tsdiffbeforeafterboth--- a/tests/src/eth/migration.seqtest.ts
+++ b/tests/src/eth/migration.seqtest.ts
@@ -83,9 +83,9 @@
const caller = await helper.eth.createAccountWithBalance(superuser);
- const txBegin = helper.constructApiCall('api.tx.evmMigration.begin', [ADDRESS]);
- const txSetData = helper.constructApiCall('api.tx.evmMigration.setData', [ADDRESS, DATA]);
- const txFinish = helper.constructApiCall('api.tx.evmMigration.finish', [ADDRESS, CODE]);
+ const txBegin = helper.constructApiCall('api.tx.dataManagement.begin', [ADDRESS]);
+ const txSetData = helper.constructApiCall('api.tx.dataManagement.setData', [ADDRESS, DATA]);
+ const txFinish = helper.constructApiCall('api.tx.dataManagement.finish', [ADDRESS, CODE]);
await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txBegin])).to.be.fulfilled;
await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txSetData])).to.be.fulfilled;
await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txFinish])).to.be.fulfilled;
@@ -126,7 +126,7 @@
}
});
itEth('Fake collection creation on substrate side', async ({helper}) => {
- const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[
+ const txInsertEvents = helper.constructApiCall('api.tx.dataManagement.insertEvents', [[
encodeEvent(helper.getApi(), 'Common', 'common', 'CollectionCreated', [
// Collection Id
9999,
@@ -143,7 +143,7 @@
expect(eventStrings).to.contain('common.CollectionCreated');
});
itEth('Fake token creation on substrate side', async ({helper}) => {
- const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[
+ const txInsertEvents = helper.constructApiCall('api.tx.dataManagement.insertEvents', [[
encodeEvent(helper.getApi(), 'Common', 'common', 'ItemCreated', [
// Collection Id
9999,
@@ -173,7 +173,7 @@
});
{
- const txInsertEthLogs = helper.constructApiCall('api.tx.evmMigration.insertEthLogs', [[
+ const txInsertEthLogs = helper.constructApiCall('api.tx.dataManagement.insertEthLogs', [[
{
// Contract, which has emitted this log
address: collectionAddress,
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -93,6 +93,9 @@
configuration: {
appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;
dayRelayBlocks: u32 & AugmentedConst<ApiType>;
+ defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;
+ defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;
+ defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;
defaultMinGasPrice: u64 & AugmentedConst<ApiType>;
defaultWeightToFeeCoefficient: u32 & AugmentedConst<ApiType>;
maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;
@@ -111,6 +114,40 @@
**/
[key: string]: Codec;
};
+ identity: {
+ /**
+ * The amount held on deposit for a registered identity
+ **/
+ basicDeposit: u128 & AugmentedConst<ApiType>;
+ /**
+ * The amount held on deposit per additional field for a registered identity.
+ **/
+ fieldDeposit: u128 & AugmentedConst<ApiType>;
+ /**
+ * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
+ * required to access an identity, but can be pretty high.
+ **/
+ maxAdditionalFields: u32 & AugmentedConst<ApiType>;
+ /**
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
+ * of, e.g., updating judgements.
+ **/
+ maxRegistrars: u32 & AugmentedConst<ApiType>;
+ /**
+ * The maximum number of sub-accounts allowed per identified account.
+ **/
+ maxSubAccounts: u32 & AugmentedConst<ApiType>;
+ /**
+ * The amount held on deposit for a registered subaccount. This should account for the fact
+ * that one storage item's value will increase by the size of an account ID, and there will
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
+ **/
+ subAccountDeposit: u128 & AugmentedConst<ApiType>;
+ /**
+ * Generic const
+ **/
+ [key: string]: Codec;
+ };
inflation: {
/**
* Number of blocks that pass between treasury balance updates due to inflation
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -334,6 +334,24 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ dataManagement: {
+ /**
+ * Migration of this account is not yet started, or already finished.
+ **/
+ AccountIsNotMigrating: AugmentedError<ApiType>;
+ /**
+ * Can only migrate to empty address.
+ **/
+ AccountNotEmpty: AugmentedError<ApiType>;
+ /**
+ * Failed to decode event bytes
+ **/
+ BadEvent: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
dmpQueue: {
/**
* The amount of weight given is possibly not enough for executing the message.
@@ -434,24 +452,6 @@
**/
[key: string]: AugmentedError<ApiType>;
};
- evmMigration: {
- /**
- * Migration of this account is not yet started, or already finished.
- **/
- AccountIsNotMigrating: AugmentedError<ApiType>;
- /**
- * Can only migrate to empty address.
- **/
- AccountNotEmpty: AugmentedError<ApiType>;
- /**
- * Failed to decode event bytes
- **/
- BadEvent: AugmentedError<ApiType>;
- /**
- * Generic error
- **/
- [key: string]: AugmentedError<ApiType>;
- };
foreignAssets: {
/**
* AssetId exists
@@ -509,6 +509,84 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ identity: {
+ /**
+ * Account ID is already named.
+ **/
+ AlreadyClaimed: AugmentedError<ApiType>;
+ /**
+ * Empty index.
+ **/
+ EmptyIndex: AugmentedError<ApiType>;
+ /**
+ * Fee is changed.
+ **/
+ FeeChanged: AugmentedError<ApiType>;
+ /**
+ * The index is invalid.
+ **/
+ InvalidIndex: AugmentedError<ApiType>;
+ /**
+ * Invalid judgement.
+ **/
+ InvalidJudgement: AugmentedError<ApiType>;
+ /**
+ * The target is invalid.
+ **/
+ InvalidTarget: AugmentedError<ApiType>;
+ /**
+ * The provided judgement was for a different identity.
+ **/
+ JudgementForDifferentIdentity: AugmentedError<ApiType>;
+ /**
+ * Judgement given.
+ **/
+ JudgementGiven: AugmentedError<ApiType>;
+ /**
+ * Error that occurs when there is an issue paying for judgement.
+ **/
+ JudgementPaymentFailed: AugmentedError<ApiType>;
+ /**
+ * No identity found.
+ **/
+ NoIdentity: AugmentedError<ApiType>;
+ /**
+ * Account isn't found.
+ **/
+ NotFound: AugmentedError<ApiType>;
+ /**
+ * Account isn't named.
+ **/
+ NotNamed: AugmentedError<ApiType>;
+ /**
+ * Sub-account isn't owned by sender.
+ **/
+ NotOwned: AugmentedError<ApiType>;
+ /**
+ * Sender is not a sub-account.
+ **/
+ NotSub: AugmentedError<ApiType>;
+ /**
+ * Sticky judgement.
+ **/
+ StickyJudgement: AugmentedError<ApiType>;
+ /**
+ * Too many additional fields.
+ **/
+ TooManyFields: AugmentedError<ApiType>;
+ /**
+ * Maximum amount of registrars reached. Cannot add any more.
+ **/
+ TooManyRegistrars: AugmentedError<ApiType>;
+ /**
+ * Too many subs-accounts.
+ **/
+ TooManySubAccounts: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
maintenance: {
/**
* Generic error
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -107,9 +107,6 @@
InvulnerableRemoved: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
LicenseForfeited: AugmentedEvent<ApiType, [accountId: AccountId32, depositReturned: u128], { accountId: AccountId32, depositReturned: u128 }>;
LicenseObtained: AugmentedEvent<ApiType, [accountId: AccountId32, deposit: u128], { accountId: AccountId32, deposit: u128 }>;
- NewDesiredCollators: AugmentedEvent<ApiType, [desiredCollators: u32], { desiredCollators: u32 }>;
- NewKickThreshold: AugmentedEvent<ApiType, [lengthInBlocks: u32], { lengthInBlocks: u32 }>;
- NewLicenseBond: AugmentedEvent<ApiType, [bondAmount: u128], { bondAmount: u128 }>;
/**
* Generic event
**/
@@ -209,6 +206,15 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ configuration: {
+ NewCollatorKickThreshold: AugmentedEvent<ApiType, [lengthInBlocks: Option<u32>], { lengthInBlocks: Option<u32> }>;
+ NewCollatorLicenseBond: AugmentedEvent<ApiType, [bondCost: Option<u128>], { bondCost: Option<u128> }>;
+ NewDesiredCollators: AugmentedEvent<ApiType, [desiredCollators: Option<u32>], { desiredCollators: Option<u32> }>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
cumulusXcm: {
/**
* Downward message executed with the given outcome.
@@ -230,6 +236,16 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ dataManagement: {
+ /**
+ * This event is used in benchmarking and can be used for tests
+ **/
+ TestEvent: AugmentedEvent<ApiType, []>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
dmpQueue: {
/**
* Downward message executed with the given outcome.
@@ -309,16 +325,6 @@
* New sponsor was confirm.
**/
ContractSponsorshipConfirmed: AugmentedEvent<ApiType, [H160, AccountId32]>;
- /**
- * Generic event
- **/
- [key: string]: AugmentedEvent<ApiType>;
- };
- evmMigration: {
- /**
- * This event is used in benchmarking and can be used for tests
- **/
- TestEvent: AugmentedEvent<ApiType, []>;
/**
* Generic event
**/
@@ -346,6 +352,53 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ identity: {
+ /**
+ * A name was cleared, and the given balance returned.
+ **/
+ IdentityCleared: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32, deposit: u128 }>;
+ /**
+ * A name was removed and the given balance slashed.
+ **/
+ IdentityKilled: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32, deposit: u128 }>;
+ /**
+ * A name was set or reset (which will remove all judgements).
+ **/
+ IdentitySet: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
+ /**
+ * A judgement was given by a registrar.
+ **/
+ JudgementGiven: AugmentedEvent<ApiType, [target: AccountId32, registrarIndex: u32], { target: AccountId32, registrarIndex: u32 }>;
+ /**
+ * A judgement was asked from a registrar.
+ **/
+ JudgementRequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
+ /**
+ * A judgement request was retracted.
+ **/
+ JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
+ /**
+ * A registrar was added.
+ **/
+ RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], { registrarIndex: u32 }>;
+ /**
+ * A sub-identity was added to an identity and the deposit paid.
+ **/
+ SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
+ /**
+ * A sub-identity was removed from an identity and the deposit freed.
+ **/
+ SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
+ /**
+ * A sub-identity was cleared, and the given deposit repatriated from the
+ * main identity account to the sub-identity account.
+ **/
+ SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
maintenance: {
MaintenanceDisabled: AugmentedEvent<ApiType, []>;
MaintenanceEnabled: AugmentedEvent<ApiType, []>;
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -6,10 +6,11 @@
import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
+import type { Data } from '@polkadot/types';
import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -140,36 +141,18 @@
* The (community, limited) collation candidates.
**/
candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Desired number of candidates.
- *
- * This should ideally always be less than [`Config::MaxCollators`] for weights to be correct.
- **/
- desiredCollators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The invulnerable, fixed collators.
**/
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
- * Collator will be kicked if it does not produce a block within the threshold (does not apply to invulnerables).
- *
- * Should be a multiple of session or things will get inconsistent. todo:collator reword?
- **/
- kickThreshold: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
- /**
* Last block authored by collator.
**/
lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
- /**
- * Fixed amount to deposit to become a collator.
- *
- * When a collator calls `leave_intent` they immediately receive the deposit back.
- **/
- licenseBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The (community) collation license holders.
**/
- licenses: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ licenseDepositOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -219,6 +202,9 @@
};
configuration: {
appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
+ collatorSelectionDesiredCollatorsOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ collatorSelectionKickThresholdOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ collatorSelectionLicenseBondOverride: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -227,6 +213,13 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ dataManagement: {
+ migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
dmpQueue: {
/**
* The configuration.
@@ -358,13 +351,6 @@
* * **Value** - amount of sponsored blocks.
**/
sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
- evmMigration: {
- migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Generic query
**/
@@ -423,6 +409,38 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ identity: {
+ /**
+ * Information that is pertinent to identify the entity behind an account.
+ *
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
+ **/
+ identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * The set of registrars. Not expected to get very big as can only be added through a
+ * special origin (likely a council motion).
+ *
+ * The index into this can be cast to `RegistrarIndex` to get a valid value.
+ **/
+ registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Alternative "sub" identities of this account.
+ *
+ * The first item is the deposit, the second is a vector of the accounts.
+ *
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
+ **/
+ subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * The super-identity of an alternative "sub" identity together with its name, within that
+ * context. If the account is not some other account's sub-identity, then just `None`.
+ **/
+ superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
inflation: {
/**
* Current inflation for `InflationBlockInterval` number of blocks
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -6,10 +6,11 @@
import '@polkadot/api-base/types/submittable';
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
+import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -234,7 +235,7 @@
* Note that the collator can only leave on session change.
* The `LicenseBond` will be unreserved and returned immediately.
*
- * This call is not available to `Invulnerable` collators.
+ * This call is, of course, not applicable to `Invulnerable` collators.
**/
forceRevokeLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
@@ -248,8 +249,6 @@
/**
* Deregister `origin` as a collator candidate. Note that the collator can only leave on
* session change. The license to `onboard` later at any other time will remain.
- *
- * This call will fail if the total number of candidates would drop below `MinCandidates`. todo:collator maybe not
**/
offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
@@ -269,21 +268,6 @@
* Remove a collator from the list of invulnerable (fixed) collators.
**/
removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
- /**
- * Set the ideal number of collators. If lowering this number,
- * then the number of running collators could be higher than this figure.
- * Aside from that edge case, there should be no other way to have more collators than the desired number.
- **/
- setDesiredCollators: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- /**
- * Set the length of the kick threshold.
- * Note that if the length is not a multiple of the session period, it might get inconsistent.
- **/
- setKickThreshold: AugmentedSubmittable<(kickThreshold: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- /**
- * Set the candidacy bond amount.
- **/
- setLicenseBond: AugmentedSubmittable<(bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
/**
* Generic tx
**/
@@ -291,6 +275,9 @@
};
configuration: {
setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;
+ setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
+ setCollatorSelectionKickThreshold: AugmentedSubmittable<(threshold: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
+ setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>]>;
setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;
@@ -305,6 +292,36 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ dataManagement: {
+ /**
+ * Start contract migration, inserts contract stub at target address,
+ * and marks account as pending, allowing to insert storage
+ **/
+ begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
+ /**
+ * Finish contract migration, allows it to be called.
+ * It is not possible to alter contract storage via [`Self::set_data`]
+ * after this call.
+ **/
+ finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;
+ /**
+ * Create ethereum events attached to the fake transaction
+ **/
+ insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;
+ /**
+ * Create substrate events
+ **/
+ insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
+ /**
+ * Insert items into contract storage, this method can be called
+ * multiple times
+ **/
+ setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
dmpQueue: {
/**
* Service a single overweight message.
@@ -359,39 +376,277 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
- evmMigration: {
+ foreignAssets: {
+ registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
+ updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
/**
- * Start contract migration, inserts contract stub at target address,
- * and marks account as pending, allowing to insert storage
+ * Generic tx
**/
- begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
+ identity: {
/**
- * Finish contract migration, allows it to be called.
- * It is not possible to alter contract storage via [`Self::set_data`]
- * after this call.
+ * Add a registrar to the system.
+ *
+ * The dispatch origin for this call must be `T::RegistrarOrigin`.
+ *
+ * - `account`: the account of the registrar.
+ *
+ * Emits `RegistrarAdded` if successful.
+ *
+ * # <weight>
+ * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded).
+ * - One storage mutation (codec `O(R)`).
+ * - One event.
+ * # </weight>
**/
- finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;
+ addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
- * Create ethereum events attached to the fake transaction
+ * Add the given account to the sender's subs.
+ *
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
+ * to the sender.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * sub identity of `sub`.
**/
- insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;
+ addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
/**
- * Create substrate events
+ * Cancel a previous request.
+ *
+ * Payment: A previously reserved deposit is returned on success.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a
+ * registered identity.
+ *
+ * - `reg_index`: The index of the registrar whose judgement is no longer requested.
+ *
+ * Emits `JudgementUnrequested` if successful.
+ *
+ * # <weight>
+ * - `O(R + X)`.
+ * - One balance-reserve operation.
+ * - One storage mutation `O(R + X)`.
+ * - One event
+ * # </weight>
**/
- insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
+ cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
- * Insert items into contract storage, this method can be called
- * multiple times
+ * Clear an account's identity info and all sub-accounts and return all deposits.
+ *
+ * Payment: All reserved balances on the account are returned.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * identity.
+ *
+ * Emits `IdentityCleared` if successful.
+ *
+ * # <weight>
+ * - `O(R + S + X)`
+ * - where `R` registrar-count (governance-bounded).
+ * - where `S` subs-count (hard- and deposit-bounded).
+ * - where `X` additional-field-count (deposit-bounded and code-bounded).
+ * - One balance-unreserve operation.
+ * - `2` storage reads and `S + 2` storage deletions.
+ * - One event.
+ * # </weight>
**/
- setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;
+ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
- * Generic tx
+ * Remove an account's identity and sub-account information and slash the deposits.
+ *
+ * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
+ * `Slash`. Verification request deposits are not returned; they should be cancelled
+ * manually using `cancel_request`.
+ *
+ * The dispatch origin for this call must match `T::ForceOrigin`.
+ *
+ * - `target`: the account whose identity the judgement is upon. This must be an account
+ * with a registered identity.
+ *
+ * Emits `IdentityKilled` if successful.
+ *
+ * # <weight>
+ * - `O(R + S + X)`.
+ * - One balance-reserve operation.
+ * - `S + 2` storage mutations.
+ * - One event.
+ * # </weight>
**/
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
- };
- foreignAssets: {
- registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
- updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
+ killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
+ /**
+ * Provide a judgement for an account's identity.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must be the account
+ * of the registrar whose index is `reg_index`.
+ *
+ * - `reg_index`: the index of the registrar whose judgement is being made.
+ * - `target`: the account whose identity the judgement is upon. This must be an account
+ * with a registered identity.
+ * - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
+ * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.
+ *
+ * Emits `JudgementGiven` if successful.
+ *
+ * # <weight>
+ * - `O(R + X)`.
+ * - One balance-transfer operation.
+ * - Up to one account-lookup operation.
+ * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`.
+ * - One event.
+ * # </weight>
+ **/
+ provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
+ /**
+ * Remove the sender as a sub-account.
+ *
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
+ * to the sender (*not* the original depositor).
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * super-identity.
+ *
+ * NOTE: This should not normally be used, but is provided in the case that the non-
+ * controller of an account is maliciously registered as a sub-account.
+ **/
+ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Remove the given account from the sender's subs.
+ *
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
+ * to the sender.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * sub identity of `sub`.
+ **/
+ removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
+ /**
+ * Alter the associated name of the given sub-account.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * sub identity of `sub`.
+ **/
+ renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
+ /**
+ * Request a judgement from a registrar.
+ *
+ * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement
+ * given.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a
+ * registered identity.
+ *
+ * - `reg_index`: The index of the registrar whose judgement is requested.
+ * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
+ *
+ * ```nocompile
+ * Self::registrars().get(reg_index).unwrap().fee
+ * ```
+ *
+ * Emits `JudgementRequested` if successful.
+ *
+ * # <weight>
+ * - `O(R + X)`.
+ * - One balance-reserve operation.
+ * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`.
+ * - One event.
+ * # </weight>
+ **/
+ requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
+ /**
+ * Change the account associated with a registrar.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must be the account
+ * of the registrar whose index is `index`.
+ *
+ * - `index`: the index of the registrar whose fee is to be set.
+ * - `new`: the new account ID.
+ *
+ * # <weight>
+ * - `O(R)`.
+ * - One storage mutation `O(R)`.
+ * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
+ * # </weight>
+ **/
+ setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
+ /**
+ * Set the fee required for a judgement to be requested from a registrar.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must be the account
+ * of the registrar whose index is `index`.
+ *
+ * - `index`: the index of the registrar whose fee is to be set.
+ * - `fee`: the new fee.
+ *
+ * # <weight>
+ * - `O(R)`.
+ * - One storage mutation `O(R)`.
+ * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis)
+ * # </weight>
+ **/
+ setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
+ /**
+ * Set the field information for a registrar.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must be the account
+ * of the registrar whose index is `index`.
+ *
+ * - `index`: the index of the registrar whose fee is to be set.
+ * - `fields`: the fields that the registrar concerns themselves with.
+ *
+ * # <weight>
+ * - `O(R)`.
+ * - One storage mutation `O(R)`.
+ * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis)
+ * # </weight>
+ **/
+ setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;
+ /**
+ * Set an account's identity information and reserve the appropriate deposit.
+ *
+ * If the account already has identity information, the deposit is taken as part payment
+ * for the new deposit.
+ *
+ * The dispatch origin for this call must be _Signed_.
+ *
+ * - `info`: The identity information.
+ *
+ * Emits `IdentitySet` if successful.
+ *
+ * # <weight>
+ * - `O(X + X' + R)`
+ * - where `X` additional-field-count (deposit-bounded and code-bounded)
+ * - where `R` judgements-count (registrar-count-bounded)
+ * - One balance reserve operation.
+ * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`).
+ * - One event.
+ * # </weight>
+ **/
+ setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityIdentityInfo]>;
+ /**
+ * Set the sub-accounts of the sender.
+ *
+ * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned
+ * and an amount `SubAccountDeposit` will be reserved for each item in `subs`.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * identity.
+ *
+ * - `subs`: The identity's (new) sub-accounts.
+ *
+ * # <weight>
+ * - `O(P + S)`
+ * - where `P` old-subs-count (hard- and deposit-bounded).
+ * - where `S` subs-count (hard- and deposit-bounded).
+ * - At most one balance operations.
+ * - DB:
+ * - `P + S` storage mutations (codec complexity `O(1)`)
+ * - One storage read (codec complexity `O(P)`).
+ * - One storage write (codec complexity `O(S)`).
+ * - One storage-exists (`IdentityOf::contains_key`).
+ * # </weight>
+ **/
+ setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;
/**
* Generic tx
**/
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonDataManagementFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDataManagementCall, PalletDataManagementError, PalletDataManagementEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -772,6 +772,7 @@
Offender: Offender;
OldV1SessionInfo: OldV1SessionInfo;
OpalRuntimeRuntime: OpalRuntimeRuntime;
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OpaqueCall: OpaqueCall;
@@ -839,8 +840,12 @@
PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
PalletConfigurationCall: PalletConfigurationCall;
PalletConfigurationError: PalletConfigurationError;
+ PalletConfigurationEvent: PalletConfigurationEvent;
PalletConstantMetadataLatest: PalletConstantMetadataLatest;
PalletConstantMetadataV14: PalletConstantMetadataV14;
+ PalletDataManagementCall: PalletDataManagementCall;
+ PalletDataManagementError: PalletDataManagementError;
+ PalletDataManagementEvent: PalletDataManagementEvent;
PalletErrorMetadataLatest: PalletErrorMetadataLatest;
PalletErrorMetadataV14: PalletErrorMetadataV14;
PalletEthereumCall: PalletEthereumCall;
@@ -857,9 +862,6 @@
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
PalletEvmError: PalletEvmError;
PalletEvmEvent: PalletEvmEvent;
- PalletEvmMigrationCall: PalletEvmMigrationCall;
- PalletEvmMigrationError: PalletEvmMigrationError;
- PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds;
PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata;
PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall;
@@ -868,6 +870,15 @@
PalletForeignAssetsNativeCurrency: PalletForeignAssetsNativeCurrency;
PalletFungibleError: PalletFungibleError;
PalletId: PalletId;
+ PalletIdentityBitFlags: PalletIdentityBitFlags;
+ PalletIdentityCall: PalletIdentityCall;
+ PalletIdentityError: PalletIdentityError;
+ PalletIdentityEvent: PalletIdentityEvent;
+ PalletIdentityIdentityField: PalletIdentityIdentityField;
+ PalletIdentityIdentityInfo: PalletIdentityIdentityInfo;
+ PalletIdentityJudgement: PalletIdentityJudgement;
+ PalletIdentityRegistrarInfo: PalletIdentityRegistrarInfo;
+ PalletIdentityRegistration: PalletIdentityRegistration;
PalletInflationCall: PalletInflationCall;
PalletMaintenanceCall: PalletMaintenanceCall;
PalletMaintenanceError: PalletMaintenanceError;
tests/src/interfaces/default/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: SpWeightsWeightV2Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: SpWeightsWeightV2Weight;50 readonly requiredWeight: SpWeightsWeightV2Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: SpWeightsWeightV2Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: SpWeightsWeightV2Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: SpWeightsWeightV2Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmpQueueCall */157export interface CumulusPalletXcmpQueueCall extends Enum {158 readonly isServiceOverweight: boolean;159 readonly asServiceOverweight: {160 readonly index: u64;161 readonly weightLimit: u64;162 } & Struct;163 readonly isSuspendXcmExecution: boolean;164 readonly isResumeXcmExecution: boolean;165 readonly isUpdateSuspendThreshold: boolean;166 readonly asUpdateSuspendThreshold: {167 readonly new_: u32;168 } & Struct;169 readonly isUpdateDropThreshold: boolean;170 readonly asUpdateDropThreshold: {171 readonly new_: u32;172 } & Struct;173 readonly isUpdateResumeThreshold: boolean;174 readonly asUpdateResumeThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateThresholdWeight: boolean;178 readonly asUpdateThresholdWeight: {179 readonly new_: u64;180 } & Struct;181 readonly isUpdateWeightRestrictDecay: boolean;182 readonly asUpdateWeightRestrictDecay: {183 readonly new_: u64;184 } & Struct;185 readonly isUpdateXcmpMaxIndividualWeight: boolean;186 readonly asUpdateXcmpMaxIndividualWeight: {187 readonly new_: u64;188 } & Struct;189 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';190}191192/** @name CumulusPalletXcmpQueueError */193export interface CumulusPalletXcmpQueueError extends Enum {194 readonly isFailedToSend: boolean;195 readonly isBadXcmOrigin: boolean;196 readonly isBadXcm: boolean;197 readonly isBadOverweightIndex: boolean;198 readonly isWeightOverLimit: boolean;199 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';200}201202/** @name CumulusPalletXcmpQueueEvent */203export interface CumulusPalletXcmpQueueEvent extends Enum {204 readonly isSuccess: boolean;205 readonly asSuccess: {206 readonly messageHash: Option<H256>;207 readonly weight: SpWeightsWeightV2Weight;208 } & Struct;209 readonly isFail: boolean;210 readonly asFail: {211 readonly messageHash: Option<H256>;212 readonly error: XcmV2TraitsError;213 readonly weight: SpWeightsWeightV2Weight;214 } & Struct;215 readonly isBadVersion: boolean;216 readonly asBadVersion: {217 readonly messageHash: Option<H256>;218 } & Struct;219 readonly isBadFormat: boolean;220 readonly asBadFormat: {221 readonly messageHash: Option<H256>;222 } & Struct;223 readonly isUpwardMessageSent: boolean;224 readonly asUpwardMessageSent: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isXcmpMessageSent: boolean;228 readonly asXcmpMessageSent: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isOverweightEnqueued: boolean;232 readonly asOverweightEnqueued: {233 readonly sender: u32;234 readonly sentAt: u32;235 readonly index: u64;236 readonly required: SpWeightsWeightV2Weight;237 } & Struct;238 readonly isOverweightServiced: boolean;239 readonly asOverweightServiced: {240 readonly index: u64;241 readonly used: SpWeightsWeightV2Weight;242 } & Struct;243 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';244}245246/** @name CumulusPalletXcmpQueueInboundChannelDetails */247export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {248 readonly sender: u32;249 readonly state: CumulusPalletXcmpQueueInboundState;250 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;251}252253/** @name CumulusPalletXcmpQueueInboundState */254export interface CumulusPalletXcmpQueueInboundState extends Enum {255 readonly isOk: boolean;256 readonly isSuspended: boolean;257 readonly type: 'Ok' | 'Suspended';258}259260/** @name CumulusPalletXcmpQueueOutboundChannelDetails */261export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {262 readonly recipient: u32;263 readonly state: CumulusPalletXcmpQueueOutboundState;264 readonly signalsExist: bool;265 readonly firstIndex: u16;266 readonly lastIndex: u16;267}268269/** @name CumulusPalletXcmpQueueOutboundState */270export interface CumulusPalletXcmpQueueOutboundState extends Enum {271 readonly isOk: boolean;272 readonly isSuspended: boolean;273 readonly type: 'Ok' | 'Suspended';274}275276/** @name CumulusPalletXcmpQueueQueueConfigData */277export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {278 readonly suspendThreshold: u32;279 readonly dropThreshold: u32;280 readonly resumeThreshold: u32;281 readonly thresholdWeight: SpWeightsWeightV2Weight;282 readonly weightRestrictDecay: SpWeightsWeightV2Weight;283 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;284}285286/** @name CumulusPrimitivesParachainInherentParachainInherentData */287export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {288 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;289 readonly relayChainState: SpTrieStorageProof;290 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;291 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;292}293294/** @name EthbloomBloom */295export interface EthbloomBloom extends U8aFixed {}296297/** @name EthereumBlock */298export interface EthereumBlock extends Struct {299 readonly header: EthereumHeader;300 readonly transactions: Vec<EthereumTransactionTransactionV2>;301 readonly ommers: Vec<EthereumHeader>;302}303304/** @name EthereumHeader */305export interface EthereumHeader extends Struct {306 readonly parentHash: H256;307 readonly ommersHash: H256;308 readonly beneficiary: H160;309 readonly stateRoot: H256;310 readonly transactionsRoot: H256;311 readonly receiptsRoot: H256;312 readonly logsBloom: EthbloomBloom;313 readonly difficulty: U256;314 readonly number: U256;315 readonly gasLimit: U256;316 readonly gasUsed: U256;317 readonly timestamp: u64;318 readonly extraData: Bytes;319 readonly mixHash: H256;320 readonly nonce: EthereumTypesHashH64;321}322323/** @name EthereumLog */324export interface EthereumLog extends Struct {325 readonly address: H160;326 readonly topics: Vec<H256>;327 readonly data: Bytes;328}329330/** @name EthereumReceiptEip658ReceiptData */331export interface EthereumReceiptEip658ReceiptData extends Struct {332 readonly statusCode: u8;333 readonly usedGas: U256;334 readonly logsBloom: EthbloomBloom;335 readonly logs: Vec<EthereumLog>;336}337338/** @name EthereumReceiptReceiptV3 */339export interface EthereumReceiptReceiptV3 extends Enum {340 readonly isLegacy: boolean;341 readonly asLegacy: EthereumReceiptEip658ReceiptData;342 readonly isEip2930: boolean;343 readonly asEip2930: EthereumReceiptEip658ReceiptData;344 readonly isEip1559: boolean;345 readonly asEip1559: EthereumReceiptEip658ReceiptData;346 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';347}348349/** @name EthereumTransactionAccessListItem */350export interface EthereumTransactionAccessListItem extends Struct {351 readonly address: H160;352 readonly storageKeys: Vec<H256>;353}354355/** @name EthereumTransactionEip1559Transaction */356export interface EthereumTransactionEip1559Transaction extends Struct {357 readonly chainId: u64;358 readonly nonce: U256;359 readonly maxPriorityFeePerGas: U256;360 readonly maxFeePerGas: U256;361 readonly gasLimit: U256;362 readonly action: EthereumTransactionTransactionAction;363 readonly value: U256;364 readonly input: Bytes;365 readonly accessList: Vec<EthereumTransactionAccessListItem>;366 readonly oddYParity: bool;367 readonly r: H256;368 readonly s: H256;369}370371/** @name EthereumTransactionEip2930Transaction */372export interface EthereumTransactionEip2930Transaction extends Struct {373 readonly chainId: u64;374 readonly nonce: U256;375 readonly gasPrice: U256;376 readonly gasLimit: U256;377 readonly action: EthereumTransactionTransactionAction;378 readonly value: U256;379 readonly input: Bytes;380 readonly accessList: Vec<EthereumTransactionAccessListItem>;381 readonly oddYParity: bool;382 readonly r: H256;383 readonly s: H256;384}385386/** @name EthereumTransactionLegacyTransaction */387export interface EthereumTransactionLegacyTransaction extends Struct {388 readonly nonce: U256;389 readonly gasPrice: U256;390 readonly gasLimit: U256;391 readonly action: EthereumTransactionTransactionAction;392 readonly value: U256;393 readonly input: Bytes;394 readonly signature: EthereumTransactionTransactionSignature;395}396397/** @name EthereumTransactionTransactionAction */398export interface EthereumTransactionTransactionAction extends Enum {399 readonly isCall: boolean;400 readonly asCall: H160;401 readonly isCreate: boolean;402 readonly type: 'Call' | 'Create';403}404405/** @name EthereumTransactionTransactionSignature */406export interface EthereumTransactionTransactionSignature extends Struct {407 readonly v: u64;408 readonly r: H256;409 readonly s: H256;410}411412/** @name EthereumTransactionTransactionV2 */413export interface EthereumTransactionTransactionV2 extends Enum {414 readonly isLegacy: boolean;415 readonly asLegacy: EthereumTransactionLegacyTransaction;416 readonly isEip2930: boolean;417 readonly asEip2930: EthereumTransactionEip2930Transaction;418 readonly isEip1559: boolean;419 readonly asEip1559: EthereumTransactionEip1559Transaction;420 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';421}422423/** @name EthereumTypesHashH64 */424export interface EthereumTypesHashH64 extends U8aFixed {}425426/** @name EvmCoreErrorExitError */427export interface EvmCoreErrorExitError extends Enum {428 readonly isStackUnderflow: boolean;429 readonly isStackOverflow: boolean;430 readonly isInvalidJump: boolean;431 readonly isInvalidRange: boolean;432 readonly isDesignatedInvalid: boolean;433 readonly isCallTooDeep: boolean;434 readonly isCreateCollision: boolean;435 readonly isCreateContractLimit: boolean;436 readonly isOutOfOffset: boolean;437 readonly isOutOfGas: boolean;438 readonly isOutOfFund: boolean;439 readonly isPcUnderflow: boolean;440 readonly isCreateEmpty: boolean;441 readonly isOther: boolean;442 readonly asOther: Text;443 readonly isInvalidCode: boolean;444 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';445}446447/** @name EvmCoreErrorExitFatal */448export interface EvmCoreErrorExitFatal extends Enum {449 readonly isNotSupported: boolean;450 readonly isUnhandledInterrupt: boolean;451 readonly isCallErrorAsFatal: boolean;452 readonly asCallErrorAsFatal: EvmCoreErrorExitError;453 readonly isOther: boolean;454 readonly asOther: Text;455 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';456}457458/** @name EvmCoreErrorExitReason */459export interface EvmCoreErrorExitReason extends Enum {460 readonly isSucceed: boolean;461 readonly asSucceed: EvmCoreErrorExitSucceed;462 readonly isError: boolean;463 readonly asError: EvmCoreErrorExitError;464 readonly isRevert: boolean;465 readonly asRevert: EvmCoreErrorExitRevert;466 readonly isFatal: boolean;467 readonly asFatal: EvmCoreErrorExitFatal;468 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';469}470471/** @name EvmCoreErrorExitRevert */472export interface EvmCoreErrorExitRevert extends Enum {473 readonly isReverted: boolean;474 readonly type: 'Reverted';475}476477/** @name EvmCoreErrorExitSucceed */478export interface EvmCoreErrorExitSucceed extends Enum {479 readonly isStopped: boolean;480 readonly isReturned: boolean;481 readonly isSuicided: boolean;482 readonly type: 'Stopped' | 'Returned' | 'Suicided';483}484485/** @name FpRpcTransactionStatus */486export interface FpRpcTransactionStatus extends Struct {487 readonly transactionHash: H256;488 readonly transactionIndex: u32;489 readonly from: H160;490 readonly to: Option<H160>;491 readonly contractAddress: Option<H160>;492 readonly logs: Vec<EthereumLog>;493 readonly logsBloom: EthbloomBloom;494}495496/** @name FrameSupportDispatchDispatchClass */497export interface FrameSupportDispatchDispatchClass extends Enum {498 readonly isNormal: boolean;499 readonly isOperational: boolean;500 readonly isMandatory: boolean;501 readonly type: 'Normal' | 'Operational' | 'Mandatory';502}503504/** @name FrameSupportDispatchDispatchInfo */505export interface FrameSupportDispatchDispatchInfo extends Struct {506 readonly weight: SpWeightsWeightV2Weight;507 readonly class: FrameSupportDispatchDispatchClass;508 readonly paysFee: FrameSupportDispatchPays;509}510511/** @name FrameSupportDispatchPays */512export interface FrameSupportDispatchPays extends Enum {513 readonly isYes: boolean;514 readonly isNo: boolean;515 readonly type: 'Yes' | 'No';516}517518/** @name FrameSupportDispatchPerDispatchClassU32 */519export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {520 readonly normal: u32;521 readonly operational: u32;522 readonly mandatory: u32;523}524525/** @name FrameSupportDispatchPerDispatchClassWeight */526export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {527 readonly normal: SpWeightsWeightV2Weight;528 readonly operational: SpWeightsWeightV2Weight;529 readonly mandatory: SpWeightsWeightV2Weight;530}531532/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */533export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {534 readonly normal: FrameSystemLimitsWeightsPerClass;535 readonly operational: FrameSystemLimitsWeightsPerClass;536 readonly mandatory: FrameSystemLimitsWeightsPerClass;537}538539/** @name FrameSupportPalletId */540export interface FrameSupportPalletId extends U8aFixed {}541542/** @name FrameSupportTokensMiscBalanceStatus */543export interface FrameSupportTokensMiscBalanceStatus extends Enum {544 readonly isFree: boolean;545 readonly isReserved: boolean;546 readonly type: 'Free' | 'Reserved';547}548549/** @name FrameSystemAccountInfo */550export interface FrameSystemAccountInfo extends Struct {551 readonly nonce: u32;552 readonly consumers: u32;553 readonly providers: u32;554 readonly sufficients: u32;555 readonly data: PalletBalancesAccountData;556}557558/** @name FrameSystemCall */559export interface FrameSystemCall extends Enum {560 readonly isFillBlock: boolean;561 readonly asFillBlock: {562 readonly ratio: Perbill;563 } & Struct;564 readonly isRemark: boolean;565 readonly asRemark: {566 readonly remark: Bytes;567 } & Struct;568 readonly isSetHeapPages: boolean;569 readonly asSetHeapPages: {570 readonly pages: u64;571 } & Struct;572 readonly isSetCode: boolean;573 readonly asSetCode: {574 readonly code: Bytes;575 } & Struct;576 readonly isSetCodeWithoutChecks: boolean;577 readonly asSetCodeWithoutChecks: {578 readonly code: Bytes;579 } & Struct;580 readonly isSetStorage: boolean;581 readonly asSetStorage: {582 readonly items: Vec<ITuple<[Bytes, Bytes]>>;583 } & Struct;584 readonly isKillStorage: boolean;585 readonly asKillStorage: {586 readonly keys_: Vec<Bytes>;587 } & Struct;588 readonly isKillPrefix: boolean;589 readonly asKillPrefix: {590 readonly prefix: Bytes;591 readonly subkeys: u32;592 } & Struct;593 readonly isRemarkWithEvent: boolean;594 readonly asRemarkWithEvent: {595 readonly remark: Bytes;596 } & Struct;597 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';598}599600/** @name FrameSystemError */601export interface FrameSystemError extends Enum {602 readonly isInvalidSpecName: boolean;603 readonly isSpecVersionNeedsToIncrease: boolean;604 readonly isFailedToExtractRuntimeVersion: boolean;605 readonly isNonDefaultComposite: boolean;606 readonly isNonZeroRefCount: boolean;607 readonly isCallFiltered: boolean;608 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';609}610611/** @name FrameSystemEvent */612export interface FrameSystemEvent extends Enum {613 readonly isExtrinsicSuccess: boolean;614 readonly asExtrinsicSuccess: {615 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;616 } & Struct;617 readonly isExtrinsicFailed: boolean;618 readonly asExtrinsicFailed: {619 readonly dispatchError: SpRuntimeDispatchError;620 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;621 } & Struct;622 readonly isCodeUpdated: boolean;623 readonly isNewAccount: boolean;624 readonly asNewAccount: {625 readonly account: AccountId32;626 } & Struct;627 readonly isKilledAccount: boolean;628 readonly asKilledAccount: {629 readonly account: AccountId32;630 } & Struct;631 readonly isRemarked: boolean;632 readonly asRemarked: {633 readonly sender: AccountId32;634 readonly hash_: H256;635 } & Struct;636 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';637}638639/** @name FrameSystemEventRecord */640export interface FrameSystemEventRecord extends Struct {641 readonly phase: FrameSystemPhase;642 readonly event: Event;643 readonly topics: Vec<H256>;644}645646/** @name FrameSystemExtensionsCheckGenesis */647export interface FrameSystemExtensionsCheckGenesis extends Null {}648649/** @name FrameSystemExtensionsCheckNonce */650export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}651652/** @name FrameSystemExtensionsCheckSpecVersion */653export interface FrameSystemExtensionsCheckSpecVersion extends Null {}654655/** @name FrameSystemExtensionsCheckTxVersion */656export interface FrameSystemExtensionsCheckTxVersion extends Null {}657658/** @name FrameSystemExtensionsCheckWeight */659export interface FrameSystemExtensionsCheckWeight extends Null {}660661/** @name FrameSystemLastRuntimeUpgradeInfo */662export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {663 readonly specVersion: Compact<u32>;664 readonly specName: Text;665}666667/** @name FrameSystemLimitsBlockLength */668export interface FrameSystemLimitsBlockLength extends Struct {669 readonly max: FrameSupportDispatchPerDispatchClassU32;670}671672/** @name FrameSystemLimitsBlockWeights */673export interface FrameSystemLimitsBlockWeights extends Struct {674 readonly baseBlock: SpWeightsWeightV2Weight;675 readonly maxBlock: SpWeightsWeightV2Weight;676 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;677}678679/** @name FrameSystemLimitsWeightsPerClass */680export interface FrameSystemLimitsWeightsPerClass extends Struct {681 readonly baseExtrinsic: SpWeightsWeightV2Weight;682 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;683 readonly maxTotal: Option<SpWeightsWeightV2Weight>;684 readonly reserved: Option<SpWeightsWeightV2Weight>;685}686687/** @name FrameSystemPhase */688export interface FrameSystemPhase extends Enum {689 readonly isApplyExtrinsic: boolean;690 readonly asApplyExtrinsic: u32;691 readonly isFinalization: boolean;692 readonly isInitialization: boolean;693 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';694}695696/** @name OpalRuntimeRuntime */697export interface OpalRuntimeRuntime extends Null {}698699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}701702/** @name OpalRuntimeRuntimeCommonSessionKeys */703export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {704 readonly aura: SpConsensusAuraSr25519AppSr25519Public;705}706707/** @name OrmlTokensAccountData */708export interface OrmlTokensAccountData extends Struct {709 readonly free: u128;710 readonly reserved: u128;711 readonly frozen: u128;712}713714/** @name OrmlTokensBalanceLock */715export interface OrmlTokensBalanceLock extends Struct {716 readonly id: U8aFixed;717 readonly amount: u128;718}719720/** @name OrmlTokensModuleCall */721export interface OrmlTokensModuleCall extends Enum {722 readonly isTransfer: boolean;723 readonly asTransfer: {724 readonly dest: MultiAddress;725 readonly currencyId: PalletForeignAssetsAssetIds;726 readonly amount: Compact<u128>;727 } & Struct;728 readonly isTransferAll: boolean;729 readonly asTransferAll: {730 readonly dest: MultiAddress;731 readonly currencyId: PalletForeignAssetsAssetIds;732 readonly keepAlive: bool;733 } & Struct;734 readonly isTransferKeepAlive: boolean;735 readonly asTransferKeepAlive: {736 readonly dest: MultiAddress;737 readonly currencyId: PalletForeignAssetsAssetIds;738 readonly amount: Compact<u128>;739 } & Struct;740 readonly isForceTransfer: boolean;741 readonly asForceTransfer: {742 readonly source: MultiAddress;743 readonly dest: MultiAddress;744 readonly currencyId: PalletForeignAssetsAssetIds;745 readonly amount: Compact<u128>;746 } & Struct;747 readonly isSetBalance: boolean;748 readonly asSetBalance: {749 readonly who: MultiAddress;750 readonly currencyId: PalletForeignAssetsAssetIds;751 readonly newFree: Compact<u128>;752 readonly newReserved: Compact<u128>;753 } & Struct;754 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';755}756757/** @name OrmlTokensModuleError */758export interface OrmlTokensModuleError extends Enum {759 readonly isBalanceTooLow: boolean;760 readonly isAmountIntoBalanceFailed: boolean;761 readonly isLiquidityRestrictions: boolean;762 readonly isMaxLocksExceeded: boolean;763 readonly isKeepAlive: boolean;764 readonly isExistentialDeposit: boolean;765 readonly isDeadAccount: boolean;766 readonly isTooManyReserves: boolean;767 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';768}769770/** @name OrmlTokensModuleEvent */771export interface OrmlTokensModuleEvent extends Enum {772 readonly isEndowed: boolean;773 readonly asEndowed: {774 readonly currencyId: PalletForeignAssetsAssetIds;775 readonly who: AccountId32;776 readonly amount: u128;777 } & Struct;778 readonly isDustLost: boolean;779 readonly asDustLost: {780 readonly currencyId: PalletForeignAssetsAssetIds;781 readonly who: AccountId32;782 readonly amount: u128;783 } & Struct;784 readonly isTransfer: boolean;785 readonly asTransfer: {786 readonly currencyId: PalletForeignAssetsAssetIds;787 readonly from: AccountId32;788 readonly to: AccountId32;789 readonly amount: u128;790 } & Struct;791 readonly isReserved: boolean;792 readonly asReserved: {793 readonly currencyId: PalletForeignAssetsAssetIds;794 readonly who: AccountId32;795 readonly amount: u128;796 } & Struct;797 readonly isUnreserved: boolean;798 readonly asUnreserved: {799 readonly currencyId: PalletForeignAssetsAssetIds;800 readonly who: AccountId32;801 readonly amount: u128;802 } & Struct;803 readonly isReserveRepatriated: boolean;804 readonly asReserveRepatriated: {805 readonly currencyId: PalletForeignAssetsAssetIds;806 readonly from: AccountId32;807 readonly to: AccountId32;808 readonly amount: u128;809 readonly status: FrameSupportTokensMiscBalanceStatus;810 } & Struct;811 readonly isBalanceSet: boolean;812 readonly asBalanceSet: {813 readonly currencyId: PalletForeignAssetsAssetIds;814 readonly who: AccountId32;815 readonly free: u128;816 readonly reserved: u128;817 } & Struct;818 readonly isTotalIssuanceSet: boolean;819 readonly asTotalIssuanceSet: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly amount: u128;822 } & Struct;823 readonly isWithdrawn: boolean;824 readonly asWithdrawn: {825 readonly currencyId: PalletForeignAssetsAssetIds;826 readonly who: AccountId32;827 readonly amount: u128;828 } & Struct;829 readonly isSlashed: boolean;830 readonly asSlashed: {831 readonly currencyId: PalletForeignAssetsAssetIds;832 readonly who: AccountId32;833 readonly freeAmount: u128;834 readonly reservedAmount: u128;835 } & Struct;836 readonly isDeposited: boolean;837 readonly asDeposited: {838 readonly currencyId: PalletForeignAssetsAssetIds;839 readonly who: AccountId32;840 readonly amount: u128;841 } & Struct;842 readonly isLockSet: boolean;843 readonly asLockSet: {844 readonly lockId: U8aFixed;845 readonly currencyId: PalletForeignAssetsAssetIds;846 readonly who: AccountId32;847 readonly amount: u128;848 } & Struct;849 readonly isLockRemoved: boolean;850 readonly asLockRemoved: {851 readonly lockId: U8aFixed;852 readonly currencyId: PalletForeignAssetsAssetIds;853 readonly who: AccountId32;854 } & Struct;855 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';856}857858/** @name OrmlTokensReserveData */859export interface OrmlTokensReserveData extends Struct {860 readonly id: Null;861 readonly amount: u128;862}863864/** @name OrmlVestingModuleCall */865export interface OrmlVestingModuleCall extends Enum {866 readonly isClaim: boolean;867 readonly isVestedTransfer: boolean;868 readonly asVestedTransfer: {869 readonly dest: MultiAddress;870 readonly schedule: OrmlVestingVestingSchedule;871 } & Struct;872 readonly isUpdateVestingSchedules: boolean;873 readonly asUpdateVestingSchedules: {874 readonly who: MultiAddress;875 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;876 } & Struct;877 readonly isClaimFor: boolean;878 readonly asClaimFor: {879 readonly dest: MultiAddress;880 } & Struct;881 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';882}883884/** @name OrmlVestingModuleError */885export interface OrmlVestingModuleError extends Enum {886 readonly isZeroVestingPeriod: boolean;887 readonly isZeroVestingPeriodCount: boolean;888 readonly isInsufficientBalanceToLock: boolean;889 readonly isTooManyVestingSchedules: boolean;890 readonly isAmountLow: boolean;891 readonly isMaxVestingSchedulesExceeded: boolean;892 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';893}894895/** @name OrmlVestingModuleEvent */896export interface OrmlVestingModuleEvent extends Enum {897 readonly isVestingScheduleAdded: boolean;898 readonly asVestingScheduleAdded: {899 readonly from: AccountId32;900 readonly to: AccountId32;901 readonly vestingSchedule: OrmlVestingVestingSchedule;902 } & Struct;903 readonly isClaimed: boolean;904 readonly asClaimed: {905 readonly who: AccountId32;906 readonly amount: u128;907 } & Struct;908 readonly isVestingSchedulesUpdated: boolean;909 readonly asVestingSchedulesUpdated: {910 readonly who: AccountId32;911 } & Struct;912 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';913}914915/** @name OrmlVestingVestingSchedule */916export interface OrmlVestingVestingSchedule extends Struct {917 readonly start: u32;918 readonly period: u32;919 readonly periodCount: u32;920 readonly perPeriod: Compact<u128>;921}922923/** @name OrmlXtokensModuleCall */924export interface OrmlXtokensModuleCall extends Enum {925 readonly isTransfer: boolean;926 readonly asTransfer: {927 readonly currencyId: PalletForeignAssetsAssetIds;928 readonly amount: u128;929 readonly dest: XcmVersionedMultiLocation;930 readonly destWeightLimit: XcmV2WeightLimit;931 } & Struct;932 readonly isTransferMultiasset: boolean;933 readonly asTransferMultiasset: {934 readonly asset: XcmVersionedMultiAsset;935 readonly dest: XcmVersionedMultiLocation;936 readonly destWeightLimit: XcmV2WeightLimit;937 } & Struct;938 readonly isTransferWithFee: boolean;939 readonly asTransferWithFee: {940 readonly currencyId: PalletForeignAssetsAssetIds;941 readonly amount: u128;942 readonly fee: u128;943 readonly dest: XcmVersionedMultiLocation;944 readonly destWeightLimit: XcmV2WeightLimit;945 } & Struct;946 readonly isTransferMultiassetWithFee: boolean;947 readonly asTransferMultiassetWithFee: {948 readonly asset: XcmVersionedMultiAsset;949 readonly fee: XcmVersionedMultiAsset;950 readonly dest: XcmVersionedMultiLocation;951 readonly destWeightLimit: XcmV2WeightLimit;952 } & Struct;953 readonly isTransferMulticurrencies: boolean;954 readonly asTransferMulticurrencies: {955 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;956 readonly feeItem: u32;957 readonly dest: XcmVersionedMultiLocation;958 readonly destWeightLimit: XcmV2WeightLimit;959 } & Struct;960 readonly isTransferMultiassets: boolean;961 readonly asTransferMultiassets: {962 readonly assets: XcmVersionedMultiAssets;963 readonly feeItem: u32;964 readonly dest: XcmVersionedMultiLocation;965 readonly destWeightLimit: XcmV2WeightLimit;966 } & Struct;967 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';968}969970/** @name OrmlXtokensModuleError */971export interface OrmlXtokensModuleError extends Enum {972 readonly isAssetHasNoReserve: boolean;973 readonly isNotCrossChainTransfer: boolean;974 readonly isInvalidDest: boolean;975 readonly isNotCrossChainTransferableCurrency: boolean;976 readonly isUnweighableMessage: boolean;977 readonly isXcmExecutionFailed: boolean;978 readonly isCannotReanchor: boolean;979 readonly isInvalidAncestry: boolean;980 readonly isInvalidAsset: boolean;981 readonly isDestinationNotInvertible: boolean;982 readonly isBadVersion: boolean;983 readonly isDistinctReserveForAssetAndFee: boolean;984 readonly isZeroFee: boolean;985 readonly isZeroAmount: boolean;986 readonly isTooManyAssetsBeingSent: boolean;987 readonly isAssetIndexNonExistent: boolean;988 readonly isFeeNotEnough: boolean;989 readonly isNotSupportedMultiLocation: boolean;990 readonly isMinXcmFeeNotDefined: boolean;991 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';992}993994/** @name OrmlXtokensModuleEvent */995export interface OrmlXtokensModuleEvent extends Enum {996 readonly isTransferredMultiAssets: boolean;997 readonly asTransferredMultiAssets: {998 readonly sender: AccountId32;999 readonly assets: XcmV1MultiassetMultiAssets;1000 readonly fee: XcmV1MultiAsset;1001 readonly dest: XcmV1MultiLocation;1002 } & Struct;1003 readonly type: 'TransferredMultiAssets';1004}10051006/** @name PalletAppPromotionCall */1007export interface PalletAppPromotionCall extends Enum {1008 readonly isSetAdminAddress: boolean;1009 readonly asSetAdminAddress: {1010 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1011 } & Struct;1012 readonly isStake: boolean;1013 readonly asStake: {1014 readonly amount: u128;1015 } & Struct;1016 readonly isUnstake: boolean;1017 readonly isSponsorCollection: boolean;1018 readonly asSponsorCollection: {1019 readonly collectionId: u32;1020 } & Struct;1021 readonly isStopSponsoringCollection: boolean;1022 readonly asStopSponsoringCollection: {1023 readonly collectionId: u32;1024 } & Struct;1025 readonly isSponsorContract: boolean;1026 readonly asSponsorContract: {1027 readonly contractId: H160;1028 } & Struct;1029 readonly isStopSponsoringContract: boolean;1030 readonly asStopSponsoringContract: {1031 readonly contractId: H160;1032 } & Struct;1033 readonly isPayoutStakers: boolean;1034 readonly asPayoutStakers: {1035 readonly stakersNumber: Option<u8>;1036 } & Struct;1037 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1038}10391040/** @name PalletAppPromotionError */1041export interface PalletAppPromotionError extends Enum {1042 readonly isAdminNotSet: boolean;1043 readonly isNoPermission: boolean;1044 readonly isNotSufficientFunds: boolean;1045 readonly isPendingForBlockOverflow: boolean;1046 readonly isSponsorNotSet: boolean;1047 readonly isIncorrectLockedBalanceOperation: boolean;1048 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1049}10501051/** @name PalletAppPromotionEvent */1052export interface PalletAppPromotionEvent extends Enum {1053 readonly isStakingRecalculation: boolean;1054 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1055 readonly isStake: boolean;1056 readonly asStake: ITuple<[AccountId32, u128]>;1057 readonly isUnstake: boolean;1058 readonly asUnstake: ITuple<[AccountId32, u128]>;1059 readonly isSetAdmin: boolean;1060 readonly asSetAdmin: AccountId32;1061 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1062}10631064/** @name PalletAuthorshipCall */1065export interface PalletAuthorshipCall extends Enum {1066 readonly isSetUncles: boolean;1067 readonly asSetUncles: {1068 readonly newUncles: Vec<SpRuntimeHeader>;1069 } & Struct;1070 readonly type: 'SetUncles';1071}10721073/** @name PalletAuthorshipError */1074export interface PalletAuthorshipError extends Enum {1075 readonly isInvalidUncleParent: boolean;1076 readonly isUnclesAlreadySet: boolean;1077 readonly isTooManyUncles: boolean;1078 readonly isGenesisUncle: boolean;1079 readonly isTooHighUncle: boolean;1080 readonly isUncleAlreadyIncluded: boolean;1081 readonly isOldUncle: boolean;1082 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1083}10841085/** @name PalletAuthorshipUncleEntryItem */1086export interface PalletAuthorshipUncleEntryItem extends Enum {1087 readonly isInclusionHeight: boolean;1088 readonly asInclusionHeight: u32;1089 readonly isUncle: boolean;1090 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1091 readonly type: 'InclusionHeight' | 'Uncle';1092}10931094/** @name PalletBalancesAccountData */1095export interface PalletBalancesAccountData extends Struct {1096 readonly free: u128;1097 readonly reserved: u128;1098 readonly miscFrozen: u128;1099 readonly feeFrozen: u128;1100}11011102/** @name PalletBalancesBalanceLock */1103export interface PalletBalancesBalanceLock extends Struct {1104 readonly id: U8aFixed;1105 readonly amount: u128;1106 readonly reasons: PalletBalancesReasons;1107}11081109/** @name PalletBalancesCall */1110export interface PalletBalancesCall extends Enum {1111 readonly isTransfer: boolean;1112 readonly asTransfer: {1113 readonly dest: MultiAddress;1114 readonly value: Compact<u128>;1115 } & Struct;1116 readonly isSetBalance: boolean;1117 readonly asSetBalance: {1118 readonly who: MultiAddress;1119 readonly newFree: Compact<u128>;1120 readonly newReserved: Compact<u128>;1121 } & Struct;1122 readonly isForceTransfer: boolean;1123 readonly asForceTransfer: {1124 readonly source: MultiAddress;1125 readonly dest: MultiAddress;1126 readonly value: Compact<u128>;1127 } & Struct;1128 readonly isTransferKeepAlive: boolean;1129 readonly asTransferKeepAlive: {1130 readonly dest: MultiAddress;1131 readonly value: Compact<u128>;1132 } & Struct;1133 readonly isTransferAll: boolean;1134 readonly asTransferAll: {1135 readonly dest: MultiAddress;1136 readonly keepAlive: bool;1137 } & Struct;1138 readonly isForceUnreserve: boolean;1139 readonly asForceUnreserve: {1140 readonly who: MultiAddress;1141 readonly amount: u128;1142 } & Struct;1143 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1144}11451146/** @name PalletBalancesError */1147export interface PalletBalancesError extends Enum {1148 readonly isVestingBalance: boolean;1149 readonly isLiquidityRestrictions: boolean;1150 readonly isInsufficientBalance: boolean;1151 readonly isExistentialDeposit: boolean;1152 readonly isKeepAlive: boolean;1153 readonly isExistingVestingSchedule: boolean;1154 readonly isDeadAccount: boolean;1155 readonly isTooManyReserves: boolean;1156 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1157}11581159/** @name PalletBalancesEvent */1160export interface PalletBalancesEvent extends Enum {1161 readonly isEndowed: boolean;1162 readonly asEndowed: {1163 readonly account: AccountId32;1164 readonly freeBalance: u128;1165 } & Struct;1166 readonly isDustLost: boolean;1167 readonly asDustLost: {1168 readonly account: AccountId32;1169 readonly amount: u128;1170 } & Struct;1171 readonly isTransfer: boolean;1172 readonly asTransfer: {1173 readonly from: AccountId32;1174 readonly to: AccountId32;1175 readonly amount: u128;1176 } & Struct;1177 readonly isBalanceSet: boolean;1178 readonly asBalanceSet: {1179 readonly who: AccountId32;1180 readonly free: u128;1181 readonly reserved: u128;1182 } & Struct;1183 readonly isReserved: boolean;1184 readonly asReserved: {1185 readonly who: AccountId32;1186 readonly amount: u128;1187 } & Struct;1188 readonly isUnreserved: boolean;1189 readonly asUnreserved: {1190 readonly who: AccountId32;1191 readonly amount: u128;1192 } & Struct;1193 readonly isReserveRepatriated: boolean;1194 readonly asReserveRepatriated: {1195 readonly from: AccountId32;1196 readonly to: AccountId32;1197 readonly amount: u128;1198 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1199 } & Struct;1200 readonly isDeposit: boolean;1201 readonly asDeposit: {1202 readonly who: AccountId32;1203 readonly amount: u128;1204 } & Struct;1205 readonly isWithdraw: boolean;1206 readonly asWithdraw: {1207 readonly who: AccountId32;1208 readonly amount: u128;1209 } & Struct;1210 readonly isSlashed: boolean;1211 readonly asSlashed: {1212 readonly who: AccountId32;1213 readonly amount: u128;1214 } & Struct;1215 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1216}12171218/** @name PalletBalancesReasons */1219export interface PalletBalancesReasons extends Enum {1220 readonly isFee: boolean;1221 readonly isMisc: boolean;1222 readonly isAll: boolean;1223 readonly type: 'Fee' | 'Misc' | 'All';1224}12251226/** @name PalletBalancesReleases */1227export interface PalletBalancesReleases extends Enum {1228 readonly isV100: boolean;1229 readonly isV200: boolean;1230 readonly type: 'V100' | 'V200';1231}12321233/** @name PalletBalancesReserveData */1234export interface PalletBalancesReserveData extends Struct {1235 readonly id: U8aFixed;1236 readonly amount: u128;1237}12381239/** @name PalletCollatorSelectionCall */1240export interface PalletCollatorSelectionCall extends Enum {1241 readonly isAddInvulnerable: boolean;1242 readonly asAddInvulnerable: {1243 readonly new_: AccountId32;1244 } & Struct;1245 readonly isRemoveInvulnerable: boolean;1246 readonly asRemoveInvulnerable: {1247 readonly who: AccountId32;1248 } & Struct;1249 readonly isSetDesiredCollators: boolean;1250 readonly asSetDesiredCollators: {1251 readonly max: u32;1252 } & Struct;1253 readonly isSetLicenseBond: boolean;1254 readonly asSetLicenseBond: {1255 readonly bond: u128;1256 } & Struct;1257 readonly isSetKickThreshold: boolean;1258 readonly asSetKickThreshold: {1259 readonly kickThreshold: u32;1260 } & Struct;1261 readonly isGetLicense: boolean;1262 readonly isOnboard: boolean;1263 readonly isOffboard: boolean;1264 readonly isReleaseLicense: boolean;1265 readonly isForceRevokeLicense: boolean;1266 readonly asForceRevokeLicense: {1267 readonly who: AccountId32;1268 } & Struct;1269 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'SetDesiredCollators' | 'SetLicenseBond' | 'SetKickThreshold' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';1270}12711272/** @name PalletCollatorSelectionError */1273export interface PalletCollatorSelectionError extends Enum {1274 readonly isTooManyCandidates: boolean;1275 readonly isUnknown: boolean;1276 readonly isPermission: boolean;1277 readonly isAlreadyHoldingLicense: boolean;1278 readonly isNoLicense: boolean;1279 readonly isAlreadyCandidate: boolean;1280 readonly isNotCandidate: boolean;1281 readonly isTooManyInvulnerables: boolean;1282 readonly isTooFewInvulnerables: boolean;1283 readonly isAlreadyInvulnerable: boolean;1284 readonly isNotInvulnerable: boolean;1285 readonly isNoAssociatedValidatorId: boolean;1286 readonly isValidatorNotRegistered: boolean;1287 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1288}12891290/** @name PalletCollatorSelectionEvent */1291export interface PalletCollatorSelectionEvent extends Enum {1292 readonly isNewDesiredCollators: boolean;1293 readonly asNewDesiredCollators: {1294 readonly desiredCollators: u32;1295 } & Struct;1296 readonly isNewLicenseBond: boolean;1297 readonly asNewLicenseBond: {1298 readonly bondAmount: u128;1299 } & Struct;1300 readonly isNewKickThreshold: boolean;1301 readonly asNewKickThreshold: {1302 readonly lengthInBlocks: u32;1303 } & Struct;1304 readonly isInvulnerableAdded: boolean;1305 readonly asInvulnerableAdded: {1306 readonly invulnerable: AccountId32;1307 } & Struct;1308 readonly isInvulnerableRemoved: boolean;1309 readonly asInvulnerableRemoved: {1310 readonly invulnerable: AccountId32;1311 } & Struct;1312 readonly isLicenseObtained: boolean;1313 readonly asLicenseObtained: {1314 readonly accountId: AccountId32;1315 readonly deposit: u128;1316 } & Struct;1317 readonly isLicenseForfeited: boolean;1318 readonly asLicenseForfeited: {1319 readonly accountId: AccountId32;1320 readonly depositReturned: u128;1321 } & Struct;1322 readonly isCandidateAdded: boolean;1323 readonly asCandidateAdded: {1324 readonly accountId: AccountId32;1325 } & Struct;1326 readonly isCandidateRemoved: boolean;1327 readonly asCandidateRemoved: {1328 readonly accountId: AccountId32;1329 } & Struct;1330 readonly type: 'NewDesiredCollators' | 'NewLicenseBond' | 'NewKickThreshold' | 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';1331}13321333/** @name PalletCommonError */1334export interface PalletCommonError extends Enum {1335 readonly isCollectionNotFound: boolean;1336 readonly isMustBeTokenOwner: boolean;1337 readonly isNoPermission: boolean;1338 readonly isCantDestroyNotEmptyCollection: boolean;1339 readonly isPublicMintingNotAllowed: boolean;1340 readonly isAddressNotInAllowlist: boolean;1341 readonly isCollectionNameLimitExceeded: boolean;1342 readonly isCollectionDescriptionLimitExceeded: boolean;1343 readonly isCollectionTokenPrefixLimitExceeded: boolean;1344 readonly isTotalCollectionsLimitExceeded: boolean;1345 readonly isCollectionAdminCountExceeded: boolean;1346 readonly isCollectionLimitBoundsExceeded: boolean;1347 readonly isOwnerPermissionsCantBeReverted: boolean;1348 readonly isTransferNotAllowed: boolean;1349 readonly isAccountTokenLimitExceeded: boolean;1350 readonly isCollectionTokenLimitExceeded: boolean;1351 readonly isMetadataFlagFrozen: boolean;1352 readonly isTokenNotFound: boolean;1353 readonly isTokenValueTooLow: boolean;1354 readonly isApprovedValueTooLow: boolean;1355 readonly isCantApproveMoreThanOwned: boolean;1356 readonly isAddressIsZero: boolean;1357 readonly isUnsupportedOperation: boolean;1358 readonly isNotSufficientFounds: boolean;1359 readonly isUserIsNotAllowedToNest: boolean;1360 readonly isSourceCollectionIsNotAllowedToNest: boolean;1361 readonly isCollectionFieldSizeExceeded: boolean;1362 readonly isNoSpaceForProperty: boolean;1363 readonly isPropertyLimitReached: boolean;1364 readonly isPropertyKeyIsTooLong: boolean;1365 readonly isInvalidCharacterInPropertyKey: boolean;1366 readonly isEmptyPropertyKey: boolean;1367 readonly isCollectionIsExternal: boolean;1368 readonly isCollectionIsInternal: boolean;1369 readonly isConfirmSponsorshipFail: boolean;1370 readonly isUserIsNotCollectionAdmin: boolean;1371 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';1372}13731374/** @name PalletCommonEvent */1375export interface PalletCommonEvent extends Enum {1376 readonly isCollectionCreated: boolean;1377 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1378 readonly isCollectionDestroyed: boolean;1379 readonly asCollectionDestroyed: u32;1380 readonly isItemCreated: boolean;1381 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1382 readonly isItemDestroyed: boolean;1383 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1384 readonly isTransfer: boolean;1385 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1386 readonly isApproved: boolean;1387 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1388 readonly isApprovedForAll: boolean;1389 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1390 readonly isCollectionPropertySet: boolean;1391 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1392 readonly isCollectionPropertyDeleted: boolean;1393 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1394 readonly isTokenPropertySet: boolean;1395 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1396 readonly isTokenPropertyDeleted: boolean;1397 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1398 readonly isPropertyPermissionSet: boolean;1399 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1400 readonly isAllowListAddressAdded: boolean;1401 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1402 readonly isAllowListAddressRemoved: boolean;1403 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1404 readonly isCollectionAdminAdded: boolean;1405 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1406 readonly isCollectionAdminRemoved: boolean;1407 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1408 readonly isCollectionLimitSet: boolean;1409 readonly asCollectionLimitSet: u32;1410 readonly isCollectionOwnerChanged: boolean;1411 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1412 readonly isCollectionPermissionSet: boolean;1413 readonly asCollectionPermissionSet: u32;1414 readonly isCollectionSponsorSet: boolean;1415 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1416 readonly isSponsorshipConfirmed: boolean;1417 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1418 readonly isCollectionSponsorRemoved: boolean;1419 readonly asCollectionSponsorRemoved: u32;1420 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1421}14221423/** @name PalletConfigurationAppPromotionConfiguration */1424export interface PalletConfigurationAppPromotionConfiguration extends Struct {1425 readonly recalculationInterval: Option<u32>;1426 readonly pendingInterval: Option<u32>;1427 readonly intervalIncome: Option<Perbill>;1428 readonly maxStakersPerCalculation: Option<u8>;1429}14301431/** @name PalletConfigurationCall */1432export interface PalletConfigurationCall extends Enum {1433 readonly isSetWeightToFeeCoefficientOverride: boolean;1434 readonly asSetWeightToFeeCoefficientOverride: {1435 readonly coeff: Option<u32>;1436 } & Struct;1437 readonly isSetMinGasPriceOverride: boolean;1438 readonly asSetMinGasPriceOverride: {1439 readonly coeff: Option<u64>;1440 } & Struct;1441 readonly isSetXcmAllowedLocations: boolean;1442 readonly asSetXcmAllowedLocations: {1443 readonly locations: Option<Vec<XcmV1MultiLocation>>;1444 } & Struct;1445 readonly isSetAppPromotionConfigurationOverride: boolean;1446 readonly asSetAppPromotionConfigurationOverride: {1447 readonly configuration: PalletConfigurationAppPromotionConfiguration;1448 } & Struct;1449 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';1450}14511452/** @name PalletConfigurationError */1453export interface PalletConfigurationError extends Enum {1454 readonly isInconsistentConfiguration: boolean;1455 readonly type: 'InconsistentConfiguration';1456}14571458/** @name PalletEthereumCall */1459export interface PalletEthereumCall extends Enum {1460 readonly isTransact: boolean;1461 readonly asTransact: {1462 readonly transaction: EthereumTransactionTransactionV2;1463 } & Struct;1464 readonly type: 'Transact';1465}14661467/** @name PalletEthereumError */1468export interface PalletEthereumError extends Enum {1469 readonly isInvalidSignature: boolean;1470 readonly isPreLogExists: boolean;1471 readonly type: 'InvalidSignature' | 'PreLogExists';1472}14731474/** @name PalletEthereumEvent */1475export interface PalletEthereumEvent extends Enum {1476 readonly isExecuted: boolean;1477 readonly asExecuted: {1478 readonly from: H160;1479 readonly to: H160;1480 readonly transactionHash: H256;1481 readonly exitReason: EvmCoreErrorExitReason;1482 } & Struct;1483 readonly type: 'Executed';1484}14851486/** @name PalletEthereumFakeTransactionFinalizer */1487export interface PalletEthereumFakeTransactionFinalizer extends Null {}14881489/** @name PalletEvmAccountBasicCrossAccountIdRepr */1490export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1491 readonly isSubstrate: boolean;1492 readonly asSubstrate: AccountId32;1493 readonly isEthereum: boolean;1494 readonly asEthereum: H160;1495 readonly type: 'Substrate' | 'Ethereum';1496}14971498/** @name PalletEvmCall */1499export interface PalletEvmCall extends Enum {1500 readonly isWithdraw: boolean;1501 readonly asWithdraw: {1502 readonly address: H160;1503 readonly value: u128;1504 } & Struct;1505 readonly isCall: boolean;1506 readonly asCall: {1507 readonly source: H160;1508 readonly target: H160;1509 readonly input: Bytes;1510 readonly value: U256;1511 readonly gasLimit: u64;1512 readonly maxFeePerGas: U256;1513 readonly maxPriorityFeePerGas: Option<U256>;1514 readonly nonce: Option<U256>;1515 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1516 } & Struct;1517 readonly isCreate: boolean;1518 readonly asCreate: {1519 readonly source: H160;1520 readonly init: Bytes;1521 readonly value: U256;1522 readonly gasLimit: u64;1523 readonly maxFeePerGas: U256;1524 readonly maxPriorityFeePerGas: Option<U256>;1525 readonly nonce: Option<U256>;1526 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1527 } & Struct;1528 readonly isCreate2: boolean;1529 readonly asCreate2: {1530 readonly source: H160;1531 readonly init: Bytes;1532 readonly salt: H256;1533 readonly value: U256;1534 readonly gasLimit: u64;1535 readonly maxFeePerGas: U256;1536 readonly maxPriorityFeePerGas: Option<U256>;1537 readonly nonce: Option<U256>;1538 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1539 } & Struct;1540 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1541}15421543/** @name PalletEvmCoderSubstrateError */1544export interface PalletEvmCoderSubstrateError extends Enum {1545 readonly isOutOfGas: boolean;1546 readonly isOutOfFund: boolean;1547 readonly type: 'OutOfGas' | 'OutOfFund';1548}15491550/** @name PalletEvmContractHelpersError */1551export interface PalletEvmContractHelpersError extends Enum {1552 readonly isNoPermission: boolean;1553 readonly isNoPendingSponsor: boolean;1554 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1555 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1556}15571558/** @name PalletEvmContractHelpersEvent */1559export interface PalletEvmContractHelpersEvent extends Enum {1560 readonly isContractSponsorSet: boolean;1561 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1562 readonly isContractSponsorshipConfirmed: boolean;1563 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1564 readonly isContractSponsorRemoved: boolean;1565 readonly asContractSponsorRemoved: H160;1566 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1567}15681569/** @name PalletEvmContractHelpersSponsoringModeT */1570export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1571 readonly isDisabled: boolean;1572 readonly isAllowlisted: boolean;1573 readonly isGenerous: boolean;1574 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1575}15761577/** @name PalletEvmError */1578export interface PalletEvmError extends Enum {1579 readonly isBalanceLow: boolean;1580 readonly isFeeOverflow: boolean;1581 readonly isPaymentOverflow: boolean;1582 readonly isWithdrawFailed: boolean;1583 readonly isGasPriceTooLow: boolean;1584 readonly isInvalidNonce: boolean;1585 readonly isGasLimitTooLow: boolean;1586 readonly isGasLimitTooHigh: boolean;1587 readonly isUndefined: boolean;1588 readonly isReentrancy: boolean;1589 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';1590}15911592/** @name PalletEvmEvent */1593export interface PalletEvmEvent extends Enum {1594 readonly isLog: boolean;1595 readonly asLog: {1596 readonly log: EthereumLog;1597 } & Struct;1598 readonly isCreated: boolean;1599 readonly asCreated: {1600 readonly address: H160;1601 } & Struct;1602 readonly isCreatedFailed: boolean;1603 readonly asCreatedFailed: {1604 readonly address: H160;1605 } & Struct;1606 readonly isExecuted: boolean;1607 readonly asExecuted: {1608 readonly address: H160;1609 } & Struct;1610 readonly isExecutedFailed: boolean;1611 readonly asExecutedFailed: {1612 readonly address: H160;1613 } & Struct;1614 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1615}16161617/** @name PalletEvmMigrationCall */1618export interface PalletEvmMigrationCall extends Enum {1619 readonly isBegin: boolean;1620 readonly asBegin: {1621 readonly address: H160;1622 } & Struct;1623 readonly isSetData: boolean;1624 readonly asSetData: {1625 readonly address: H160;1626 readonly data: Vec<ITuple<[H256, H256]>>;1627 } & Struct;1628 readonly isFinish: boolean;1629 readonly asFinish: {1630 readonly address: H160;1631 readonly code: Bytes;1632 } & Struct;1633 readonly isInsertEthLogs: boolean;1634 readonly asInsertEthLogs: {1635 readonly logs: Vec<EthereumLog>;1636 } & Struct;1637 readonly isInsertEvents: boolean;1638 readonly asInsertEvents: {1639 readonly events: Vec<Bytes>;1640 } & Struct;1641 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1642}16431644/** @name PalletEvmMigrationError */1645export interface PalletEvmMigrationError extends Enum {1646 readonly isAccountNotEmpty: boolean;1647 readonly isAccountIsNotMigrating: boolean;1648 readonly isBadEvent: boolean;1649 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1650}16511652/** @name PalletEvmMigrationEvent */1653export interface PalletEvmMigrationEvent extends Enum {1654 readonly isTestEvent: boolean;1655 readonly type: 'TestEvent';1656}16571658/** @name PalletForeignAssetsAssetIds */1659export interface PalletForeignAssetsAssetIds extends Enum {1660 readonly isForeignAssetId: boolean;1661 readonly asForeignAssetId: u32;1662 readonly isNativeAssetId: boolean;1663 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1664 readonly type: 'ForeignAssetId' | 'NativeAssetId';1665}16661667/** @name PalletForeignAssetsModuleAssetMetadata */1668export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1669 readonly name: Bytes;1670 readonly symbol: Bytes;1671 readonly decimals: u8;1672 readonly minimalBalance: u128;1673}16741675/** @name PalletForeignAssetsModuleCall */1676export interface PalletForeignAssetsModuleCall extends Enum {1677 readonly isRegisterForeignAsset: boolean;1678 readonly asRegisterForeignAsset: {1679 readonly owner: AccountId32;1680 readonly location: XcmVersionedMultiLocation;1681 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1682 } & Struct;1683 readonly isUpdateForeignAsset: boolean;1684 readonly asUpdateForeignAsset: {1685 readonly foreignAssetId: u32;1686 readonly location: XcmVersionedMultiLocation;1687 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1688 } & Struct;1689 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1690}16911692/** @name PalletForeignAssetsModuleError */1693export interface PalletForeignAssetsModuleError extends Enum {1694 readonly isBadLocation: boolean;1695 readonly isMultiLocationExisted: boolean;1696 readonly isAssetIdNotExists: boolean;1697 readonly isAssetIdExisted: boolean;1698 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1699}17001701/** @name PalletForeignAssetsModuleEvent */1702export interface PalletForeignAssetsModuleEvent extends Enum {1703 readonly isForeignAssetRegistered: boolean;1704 readonly asForeignAssetRegistered: {1705 readonly assetId: u32;1706 readonly assetAddress: XcmV1MultiLocation;1707 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1708 } & Struct;1709 readonly isForeignAssetUpdated: boolean;1710 readonly asForeignAssetUpdated: {1711 readonly assetId: u32;1712 readonly assetAddress: XcmV1MultiLocation;1713 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1714 } & Struct;1715 readonly isAssetRegistered: boolean;1716 readonly asAssetRegistered: {1717 readonly assetId: PalletForeignAssetsAssetIds;1718 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1719 } & Struct;1720 readonly isAssetUpdated: boolean;1721 readonly asAssetUpdated: {1722 readonly assetId: PalletForeignAssetsAssetIds;1723 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1724 } & Struct;1725 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1726}17271728/** @name PalletForeignAssetsNativeCurrency */1729export interface PalletForeignAssetsNativeCurrency extends Enum {1730 readonly isHere: boolean;1731 readonly isParent: boolean;1732 readonly type: 'Here' | 'Parent';1733}17341735/** @name PalletFungibleError */1736export interface PalletFungibleError extends Enum {1737 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1738 readonly isFungibleItemsHaveNoId: boolean;1739 readonly isFungibleItemsDontHaveData: boolean;1740 readonly isFungibleDisallowsNesting: boolean;1741 readonly isSettingPropertiesNotAllowed: boolean;1742 readonly isSettingAllowanceForAllNotAllowed: boolean;1743 readonly isFungibleTokensAreAlwaysValid: boolean;1744 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1745}17461747/** @name PalletInflationCall */1748export interface PalletInflationCall extends Enum {1749 readonly isStartInflation: boolean;1750 readonly asStartInflation: {1751 readonly inflationStartRelayBlock: u32;1752 } & Struct;1753 readonly type: 'StartInflation';1754}17551756/** @name PalletMaintenanceCall */1757export interface PalletMaintenanceCall extends Enum {1758 readonly isEnable: boolean;1759 readonly isDisable: boolean;1760 readonly type: 'Enable' | 'Disable';1761}17621763/** @name PalletMaintenanceError */1764export interface PalletMaintenanceError extends Null {}17651766/** @name PalletMaintenanceEvent */1767export interface PalletMaintenanceEvent extends Enum {1768 readonly isMaintenanceEnabled: boolean;1769 readonly isMaintenanceDisabled: boolean;1770 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1771}17721773/** @name PalletNonfungibleError */1774export interface PalletNonfungibleError extends Enum {1775 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1776 readonly isNonfungibleItemsHaveNoAmount: boolean;1777 readonly isCantBurnNftWithChildren: boolean;1778 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1779}17801781/** @name PalletNonfungibleItemData */1782export interface PalletNonfungibleItemData extends Struct {1783 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1784}17851786/** @name PalletRefungibleError */1787export interface PalletRefungibleError extends Enum {1788 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1789 readonly isWrongRefungiblePieces: boolean;1790 readonly isRepartitionWhileNotOwningAllPieces: boolean;1791 readonly isRefungibleDisallowsNesting: boolean;1792 readonly isSettingPropertiesNotAllowed: boolean;1793 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1794}17951796/** @name PalletRefungibleItemData */1797export interface PalletRefungibleItemData extends Struct {1798 readonly constData: Bytes;1799}18001801/** @name PalletRmrkCoreCall */1802export interface PalletRmrkCoreCall extends Enum {1803 readonly isCreateCollection: boolean;1804 readonly asCreateCollection: {1805 readonly metadata: Bytes;1806 readonly max: Option<u32>;1807 readonly symbol: Bytes;1808 } & Struct;1809 readonly isDestroyCollection: boolean;1810 readonly asDestroyCollection: {1811 readonly collectionId: u32;1812 } & Struct;1813 readonly isChangeCollectionIssuer: boolean;1814 readonly asChangeCollectionIssuer: {1815 readonly collectionId: u32;1816 readonly newIssuer: MultiAddress;1817 } & Struct;1818 readonly isLockCollection: boolean;1819 readonly asLockCollection: {1820 readonly collectionId: u32;1821 } & Struct;1822 readonly isMintNft: boolean;1823 readonly asMintNft: {1824 readonly owner: Option<AccountId32>;1825 readonly collectionId: u32;1826 readonly recipient: Option<AccountId32>;1827 readonly royaltyAmount: Option<Permill>;1828 readonly metadata: Bytes;1829 readonly transferable: bool;1830 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1831 } & Struct;1832 readonly isBurnNft: boolean;1833 readonly asBurnNft: {1834 readonly collectionId: u32;1835 readonly nftId: u32;1836 readonly maxBurns: u32;1837 } & Struct;1838 readonly isSend: boolean;1839 readonly asSend: {1840 readonly rmrkCollectionId: u32;1841 readonly rmrkNftId: u32;1842 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1843 } & Struct;1844 readonly isAcceptNft: boolean;1845 readonly asAcceptNft: {1846 readonly rmrkCollectionId: u32;1847 readonly rmrkNftId: u32;1848 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1849 } & Struct;1850 readonly isRejectNft: boolean;1851 readonly asRejectNft: {1852 readonly rmrkCollectionId: u32;1853 readonly rmrkNftId: u32;1854 } & Struct;1855 readonly isAcceptResource: boolean;1856 readonly asAcceptResource: {1857 readonly rmrkCollectionId: u32;1858 readonly rmrkNftId: u32;1859 readonly resourceId: u32;1860 } & Struct;1861 readonly isAcceptResourceRemoval: boolean;1862 readonly asAcceptResourceRemoval: {1863 readonly rmrkCollectionId: u32;1864 readonly rmrkNftId: u32;1865 readonly resourceId: u32;1866 } & Struct;1867 readonly isSetProperty: boolean;1868 readonly asSetProperty: {1869 readonly rmrkCollectionId: Compact<u32>;1870 readonly maybeNftId: Option<u32>;1871 readonly key: Bytes;1872 readonly value: Bytes;1873 } & Struct;1874 readonly isSetPriority: boolean;1875 readonly asSetPriority: {1876 readonly rmrkCollectionId: u32;1877 readonly rmrkNftId: u32;1878 readonly priorities: Vec<u32>;1879 } & Struct;1880 readonly isAddBasicResource: boolean;1881 readonly asAddBasicResource: {1882 readonly rmrkCollectionId: u32;1883 readonly nftId: u32;1884 readonly resource: RmrkTraitsResourceBasicResource;1885 } & Struct;1886 readonly isAddComposableResource: boolean;1887 readonly asAddComposableResource: {1888 readonly rmrkCollectionId: u32;1889 readonly nftId: u32;1890 readonly resource: RmrkTraitsResourceComposableResource;1891 } & Struct;1892 readonly isAddSlotResource: boolean;1893 readonly asAddSlotResource: {1894 readonly rmrkCollectionId: u32;1895 readonly nftId: u32;1896 readonly resource: RmrkTraitsResourceSlotResource;1897 } & Struct;1898 readonly isRemoveResource: boolean;1899 readonly asRemoveResource: {1900 readonly rmrkCollectionId: u32;1901 readonly nftId: u32;1902 readonly resourceId: u32;1903 } & Struct;1904 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1905}19061907/** @name PalletRmrkCoreError */1908export interface PalletRmrkCoreError extends Enum {1909 readonly isCorruptedCollectionType: boolean;1910 readonly isRmrkPropertyKeyIsTooLong: boolean;1911 readonly isRmrkPropertyValueIsTooLong: boolean;1912 readonly isRmrkPropertyIsNotFound: boolean;1913 readonly isUnableToDecodeRmrkData: boolean;1914 readonly isCollectionNotEmpty: boolean;1915 readonly isNoAvailableCollectionId: boolean;1916 readonly isNoAvailableNftId: boolean;1917 readonly isCollectionUnknown: boolean;1918 readonly isNoPermission: boolean;1919 readonly isNonTransferable: boolean;1920 readonly isCollectionFullOrLocked: boolean;1921 readonly isResourceDoesntExist: boolean;1922 readonly isCannotSendToDescendentOrSelf: boolean;1923 readonly isCannotAcceptNonOwnedNft: boolean;1924 readonly isCannotRejectNonOwnedNft: boolean;1925 readonly isCannotRejectNonPendingNft: boolean;1926 readonly isResourceNotPending: boolean;1927 readonly isNoAvailableResourceId: boolean;1928 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1929}19301931/** @name PalletRmrkCoreEvent */1932export interface PalletRmrkCoreEvent extends Enum {1933 readonly isCollectionCreated: boolean;1934 readonly asCollectionCreated: {1935 readonly issuer: AccountId32;1936 readonly collectionId: u32;1937 } & Struct;1938 readonly isCollectionDestroyed: boolean;1939 readonly asCollectionDestroyed: {1940 readonly issuer: AccountId32;1941 readonly collectionId: u32;1942 } & Struct;1943 readonly isIssuerChanged: boolean;1944 readonly asIssuerChanged: {1945 readonly oldIssuer: AccountId32;1946 readonly newIssuer: AccountId32;1947 readonly collectionId: u32;1948 } & Struct;1949 readonly isCollectionLocked: boolean;1950 readonly asCollectionLocked: {1951 readonly issuer: AccountId32;1952 readonly collectionId: u32;1953 } & Struct;1954 readonly isNftMinted: boolean;1955 readonly asNftMinted: {1956 readonly owner: AccountId32;1957 readonly collectionId: u32;1958 readonly nftId: u32;1959 } & Struct;1960 readonly isNftBurned: boolean;1961 readonly asNftBurned: {1962 readonly owner: AccountId32;1963 readonly nftId: u32;1964 } & Struct;1965 readonly isNftSent: boolean;1966 readonly asNftSent: {1967 readonly sender: AccountId32;1968 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1969 readonly collectionId: u32;1970 readonly nftId: u32;1971 readonly approvalRequired: bool;1972 } & Struct;1973 readonly isNftAccepted: boolean;1974 readonly asNftAccepted: {1975 readonly sender: AccountId32;1976 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1977 readonly collectionId: u32;1978 readonly nftId: u32;1979 } & Struct;1980 readonly isNftRejected: boolean;1981 readonly asNftRejected: {1982 readonly sender: AccountId32;1983 readonly collectionId: u32;1984 readonly nftId: u32;1985 } & Struct;1986 readonly isPropertySet: boolean;1987 readonly asPropertySet: {1988 readonly collectionId: u32;1989 readonly maybeNftId: Option<u32>;1990 readonly key: Bytes;1991 readonly value: Bytes;1992 } & Struct;1993 readonly isResourceAdded: boolean;1994 readonly asResourceAdded: {1995 readonly nftId: u32;1996 readonly resourceId: u32;1997 } & Struct;1998 readonly isResourceRemoval: boolean;1999 readonly asResourceRemoval: {2000 readonly nftId: u32;2001 readonly resourceId: u32;2002 } & Struct;2003 readonly isResourceAccepted: boolean;2004 readonly asResourceAccepted: {2005 readonly nftId: u32;2006 readonly resourceId: u32;2007 } & Struct;2008 readonly isResourceRemovalAccepted: boolean;2009 readonly asResourceRemovalAccepted: {2010 readonly nftId: u32;2011 readonly resourceId: u32;2012 } & Struct;2013 readonly isPrioritySet: boolean;2014 readonly asPrioritySet: {2015 readonly collectionId: u32;2016 readonly nftId: u32;2017 } & Struct;2018 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2019}20202021/** @name PalletRmrkEquipCall */2022export interface PalletRmrkEquipCall extends Enum {2023 readonly isCreateBase: boolean;2024 readonly asCreateBase: {2025 readonly baseType: Bytes;2026 readonly symbol: Bytes;2027 readonly parts: Vec<RmrkTraitsPartPartType>;2028 } & Struct;2029 readonly isThemeAdd: boolean;2030 readonly asThemeAdd: {2031 readonly baseId: u32;2032 readonly theme: RmrkTraitsTheme;2033 } & Struct;2034 readonly isEquippable: boolean;2035 readonly asEquippable: {2036 readonly baseId: u32;2037 readonly slotId: u32;2038 readonly equippables: RmrkTraitsPartEquippableList;2039 } & Struct;2040 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2041}20422043/** @name PalletRmrkEquipError */2044export interface PalletRmrkEquipError extends Enum {2045 readonly isPermissionError: boolean;2046 readonly isNoAvailableBaseId: boolean;2047 readonly isNoAvailablePartId: boolean;2048 readonly isBaseDoesntExist: boolean;2049 readonly isNeedsDefaultThemeFirst: boolean;2050 readonly isPartDoesntExist: boolean;2051 readonly isNoEquippableOnFixedPart: boolean;2052 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';2053}20542055/** @name PalletRmrkEquipEvent */2056export interface PalletRmrkEquipEvent extends Enum {2057 readonly isBaseCreated: boolean;2058 readonly asBaseCreated: {2059 readonly issuer: AccountId32;2060 readonly baseId: u32;2061 } & Struct;2062 readonly isEquippablesUpdated: boolean;2063 readonly asEquippablesUpdated: {2064 readonly baseId: u32;2065 readonly slotId: u32;2066 } & Struct;2067 readonly type: 'BaseCreated' | 'EquippablesUpdated';2068}20692070/** @name PalletSessionCall */2071export interface PalletSessionCall extends Enum {2072 readonly isSetKeys: boolean;2073 readonly asSetKeys: {2074 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2075 readonly proof: Bytes;2076 } & Struct;2077 readonly isPurgeKeys: boolean;2078 readonly type: 'SetKeys' | 'PurgeKeys';2079}20802081/** @name PalletSessionError */2082export interface PalletSessionError extends Enum {2083 readonly isInvalidProof: boolean;2084 readonly isNoAssociatedValidatorId: boolean;2085 readonly isDuplicatedKey: boolean;2086 readonly isNoKeys: boolean;2087 readonly isNoAccount: boolean;2088 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2089}20902091/** @name PalletSessionEvent */2092export interface PalletSessionEvent extends Enum {2093 readonly isNewSession: boolean;2094 readonly asNewSession: {2095 readonly sessionIndex: u32;2096 } & Struct;2097 readonly type: 'NewSession';2098}20992100/** @name PalletStructureCall */2101export interface PalletStructureCall extends Null {}21022103/** @name PalletStructureError */2104export interface PalletStructureError extends Enum {2105 readonly isOuroborosDetected: boolean;2106 readonly isDepthLimit: boolean;2107 readonly isBreadthLimit: boolean;2108 readonly isTokenNotFound: boolean;2109 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';2110}21112112/** @name PalletStructureEvent */2113export interface PalletStructureEvent extends Enum {2114 readonly isExecuted: boolean;2115 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2116 readonly type: 'Executed';2117}21182119/** @name PalletSudoCall */2120export interface PalletSudoCall extends Enum {2121 readonly isSudo: boolean;2122 readonly asSudo: {2123 readonly call: Call;2124 } & Struct;2125 readonly isSudoUncheckedWeight: boolean;2126 readonly asSudoUncheckedWeight: {2127 readonly call: Call;2128 readonly weight: SpWeightsWeightV2Weight;2129 } & Struct;2130 readonly isSetKey: boolean;2131 readonly asSetKey: {2132 readonly new_: MultiAddress;2133 } & Struct;2134 readonly isSudoAs: boolean;2135 readonly asSudoAs: {2136 readonly who: MultiAddress;2137 readonly call: Call;2138 } & Struct;2139 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2140}21412142/** @name PalletSudoError */2143export interface PalletSudoError extends Enum {2144 readonly isRequireSudo: boolean;2145 readonly type: 'RequireSudo';2146}21472148/** @name PalletSudoEvent */2149export interface PalletSudoEvent extends Enum {2150 readonly isSudid: boolean;2151 readonly asSudid: {2152 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2153 } & Struct;2154 readonly isKeyChanged: boolean;2155 readonly asKeyChanged: {2156 readonly oldSudoer: Option<AccountId32>;2157 } & Struct;2158 readonly isSudoAsDone: boolean;2159 readonly asSudoAsDone: {2160 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2161 } & Struct;2162 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2163}21642165/** @name PalletTemplateTransactionPaymentCall */2166export interface PalletTemplateTransactionPaymentCall extends Null {}21672168/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2169export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}21702171/** @name PalletTestUtilsCall */2172export interface PalletTestUtilsCall extends Enum {2173 readonly isEnable: boolean;2174 readonly isSetTestValue: boolean;2175 readonly asSetTestValue: {2176 readonly value: u32;2177 } & Struct;2178 readonly isSetTestValueAndRollback: boolean;2179 readonly asSetTestValueAndRollback: {2180 readonly value: u32;2181 } & Struct;2182 readonly isIncTestValue: boolean;2183 readonly isJustTakeFee: boolean;2184 readonly isBatchAll: boolean;2185 readonly asBatchAll: {2186 readonly calls: Vec<Call>;2187 } & Struct;2188 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2189}21902191/** @name PalletTestUtilsError */2192export interface PalletTestUtilsError extends Enum {2193 readonly isTestPalletDisabled: boolean;2194 readonly isTriggerRollback: boolean;2195 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2196}21972198/** @name PalletTestUtilsEvent */2199export interface PalletTestUtilsEvent extends Enum {2200 readonly isValueIsSet: boolean;2201 readonly isShouldRollback: boolean;2202 readonly isBatchCompleted: boolean;2203 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2204}22052206/** @name PalletTimestampCall */2207export interface PalletTimestampCall extends Enum {2208 readonly isSet: boolean;2209 readonly asSet: {2210 readonly now: Compact<u64>;2211 } & Struct;2212 readonly type: 'Set';2213}22142215/** @name PalletTransactionPaymentEvent */2216export interface PalletTransactionPaymentEvent extends Enum {2217 readonly isTransactionFeePaid: boolean;2218 readonly asTransactionFeePaid: {2219 readonly who: AccountId32;2220 readonly actualFee: u128;2221 readonly tip: u128;2222 } & Struct;2223 readonly type: 'TransactionFeePaid';2224}22252226/** @name PalletTransactionPaymentReleases */2227export interface PalletTransactionPaymentReleases extends Enum {2228 readonly isV1Ancient: boolean;2229 readonly isV2: boolean;2230 readonly type: 'V1Ancient' | 'V2';2231}22322233/** @name PalletTreasuryCall */2234export interface PalletTreasuryCall extends Enum {2235 readonly isProposeSpend: boolean;2236 readonly asProposeSpend: {2237 readonly value: Compact<u128>;2238 readonly beneficiary: MultiAddress;2239 } & Struct;2240 readonly isRejectProposal: boolean;2241 readonly asRejectProposal: {2242 readonly proposalId: Compact<u32>;2243 } & Struct;2244 readonly isApproveProposal: boolean;2245 readonly asApproveProposal: {2246 readonly proposalId: Compact<u32>;2247 } & Struct;2248 readonly isSpend: boolean;2249 readonly asSpend: {2250 readonly amount: Compact<u128>;2251 readonly beneficiary: MultiAddress;2252 } & Struct;2253 readonly isRemoveApproval: boolean;2254 readonly asRemoveApproval: {2255 readonly proposalId: Compact<u32>;2256 } & Struct;2257 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2258}22592260/** @name PalletTreasuryError */2261export interface PalletTreasuryError extends Enum {2262 readonly isInsufficientProposersBalance: boolean;2263 readonly isInvalidIndex: boolean;2264 readonly isTooManyApprovals: boolean;2265 readonly isInsufficientPermission: boolean;2266 readonly isProposalNotApproved: boolean;2267 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2268}22692270/** @name PalletTreasuryEvent */2271export interface PalletTreasuryEvent extends Enum {2272 readonly isProposed: boolean;2273 readonly asProposed: {2274 readonly proposalIndex: u32;2275 } & Struct;2276 readonly isSpending: boolean;2277 readonly asSpending: {2278 readonly budgetRemaining: u128;2279 } & Struct;2280 readonly isAwarded: boolean;2281 readonly asAwarded: {2282 readonly proposalIndex: u32;2283 readonly award: u128;2284 readonly account: AccountId32;2285 } & Struct;2286 readonly isRejected: boolean;2287 readonly asRejected: {2288 readonly proposalIndex: u32;2289 readonly slashed: u128;2290 } & Struct;2291 readonly isBurnt: boolean;2292 readonly asBurnt: {2293 readonly burntFunds: u128;2294 } & Struct;2295 readonly isRollover: boolean;2296 readonly asRollover: {2297 readonly rolloverBalance: u128;2298 } & Struct;2299 readonly isDeposit: boolean;2300 readonly asDeposit: {2301 readonly value: u128;2302 } & Struct;2303 readonly isSpendApproved: boolean;2304 readonly asSpendApproved: {2305 readonly proposalIndex: u32;2306 readonly amount: u128;2307 readonly beneficiary: AccountId32;2308 } & Struct;2309 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2310}23112312/** @name PalletTreasuryProposal */2313export interface PalletTreasuryProposal extends Struct {2314 readonly proposer: AccountId32;2315 readonly value: u128;2316 readonly beneficiary: AccountId32;2317 readonly bond: u128;2318}23192320/** @name PalletUniqueCall */2321export interface PalletUniqueCall extends Enum {2322 readonly isCreateCollection: boolean;2323 readonly asCreateCollection: {2324 readonly collectionName: Vec<u16>;2325 readonly collectionDescription: Vec<u16>;2326 readonly tokenPrefix: Bytes;2327 readonly mode: UpDataStructsCollectionMode;2328 } & Struct;2329 readonly isCreateCollectionEx: boolean;2330 readonly asCreateCollectionEx: {2331 readonly data: UpDataStructsCreateCollectionData;2332 } & Struct;2333 readonly isDestroyCollection: boolean;2334 readonly asDestroyCollection: {2335 readonly collectionId: u32;2336 } & Struct;2337 readonly isAddToAllowList: boolean;2338 readonly asAddToAllowList: {2339 readonly collectionId: u32;2340 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2341 } & Struct;2342 readonly isRemoveFromAllowList: boolean;2343 readonly asRemoveFromAllowList: {2344 readonly collectionId: u32;2345 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2346 } & Struct;2347 readonly isChangeCollectionOwner: boolean;2348 readonly asChangeCollectionOwner: {2349 readonly collectionId: u32;2350 readonly newOwner: AccountId32;2351 } & Struct;2352 readonly isAddCollectionAdmin: boolean;2353 readonly asAddCollectionAdmin: {2354 readonly collectionId: u32;2355 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2356 } & Struct;2357 readonly isRemoveCollectionAdmin: boolean;2358 readonly asRemoveCollectionAdmin: {2359 readonly collectionId: u32;2360 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2361 } & Struct;2362 readonly isSetCollectionSponsor: boolean;2363 readonly asSetCollectionSponsor: {2364 readonly collectionId: u32;2365 readonly newSponsor: AccountId32;2366 } & Struct;2367 readonly isConfirmSponsorship: boolean;2368 readonly asConfirmSponsorship: {2369 readonly collectionId: u32;2370 } & Struct;2371 readonly isRemoveCollectionSponsor: boolean;2372 readonly asRemoveCollectionSponsor: {2373 readonly collectionId: u32;2374 } & Struct;2375 readonly isCreateItem: boolean;2376 readonly asCreateItem: {2377 readonly collectionId: u32;2378 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2379 readonly data: UpDataStructsCreateItemData;2380 } & Struct;2381 readonly isCreateMultipleItems: boolean;2382 readonly asCreateMultipleItems: {2383 readonly collectionId: u32;2384 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2385 readonly itemsData: Vec<UpDataStructsCreateItemData>;2386 } & Struct;2387 readonly isSetCollectionProperties: boolean;2388 readonly asSetCollectionProperties: {2389 readonly collectionId: u32;2390 readonly properties: Vec<UpDataStructsProperty>;2391 } & Struct;2392 readonly isDeleteCollectionProperties: boolean;2393 readonly asDeleteCollectionProperties: {2394 readonly collectionId: u32;2395 readonly propertyKeys: Vec<Bytes>;2396 } & Struct;2397 readonly isSetTokenProperties: boolean;2398 readonly asSetTokenProperties: {2399 readonly collectionId: u32;2400 readonly tokenId: u32;2401 readonly properties: Vec<UpDataStructsProperty>;2402 } & Struct;2403 readonly isDeleteTokenProperties: boolean;2404 readonly asDeleteTokenProperties: {2405 readonly collectionId: u32;2406 readonly tokenId: u32;2407 readonly propertyKeys: Vec<Bytes>;2408 } & Struct;2409 readonly isSetTokenPropertyPermissions: boolean;2410 readonly asSetTokenPropertyPermissions: {2411 readonly collectionId: u32;2412 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2413 } & Struct;2414 readonly isCreateMultipleItemsEx: boolean;2415 readonly asCreateMultipleItemsEx: {2416 readonly collectionId: u32;2417 readonly data: UpDataStructsCreateItemExData;2418 } & Struct;2419 readonly isSetTransfersEnabledFlag: boolean;2420 readonly asSetTransfersEnabledFlag: {2421 readonly collectionId: u32;2422 readonly value: bool;2423 } & Struct;2424 readonly isBurnItem: boolean;2425 readonly asBurnItem: {2426 readonly collectionId: u32;2427 readonly itemId: u32;2428 readonly value: u128;2429 } & Struct;2430 readonly isBurnFrom: boolean;2431 readonly asBurnFrom: {2432 readonly collectionId: u32;2433 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2434 readonly itemId: u32;2435 readonly value: u128;2436 } & Struct;2437 readonly isTransfer: boolean;2438 readonly asTransfer: {2439 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2440 readonly collectionId: u32;2441 readonly itemId: u32;2442 readonly value: u128;2443 } & Struct;2444 readonly isApprove: boolean;2445 readonly asApprove: {2446 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2447 readonly collectionId: u32;2448 readonly itemId: u32;2449 readonly amount: u128;2450 } & Struct;2451 readonly isTransferFrom: boolean;2452 readonly asTransferFrom: {2453 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2454 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2455 readonly collectionId: u32;2456 readonly itemId: u32;2457 readonly value: u128;2458 } & Struct;2459 readonly isSetCollectionLimits: boolean;2460 readonly asSetCollectionLimits: {2461 readonly collectionId: u32;2462 readonly newLimit: UpDataStructsCollectionLimits;2463 } & Struct;2464 readonly isSetCollectionPermissions: boolean;2465 readonly asSetCollectionPermissions: {2466 readonly collectionId: u32;2467 readonly newPermission: UpDataStructsCollectionPermissions;2468 } & Struct;2469 readonly isRepartition: boolean;2470 readonly asRepartition: {2471 readonly collectionId: u32;2472 readonly tokenId: u32;2473 readonly amount: u128;2474 } & Struct;2475 readonly isSetAllowanceForAll: boolean;2476 readonly asSetAllowanceForAll: {2477 readonly collectionId: u32;2478 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2479 readonly approve: bool;2480 } & Struct;2481 readonly isForceRepairCollection: boolean;2482 readonly asForceRepairCollection: {2483 readonly collectionId: u32;2484 } & Struct;2485 readonly isForceRepairItem: boolean;2486 readonly asForceRepairItem: {2487 readonly collectionId: u32;2488 readonly itemId: u32;2489 } & Struct;2490 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2491}24922493/** @name PalletUniqueError */2494export interface PalletUniqueError extends Enum {2495 readonly isCollectionDecimalPointLimitExceeded: boolean;2496 readonly isEmptyArgument: boolean;2497 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2498 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2499}25002501/** @name PalletXcmCall */2502export interface PalletXcmCall extends Enum {2503 readonly isSend: boolean;2504 readonly asSend: {2505 readonly dest: XcmVersionedMultiLocation;2506 readonly message: XcmVersionedXcm;2507 } & Struct;2508 readonly isTeleportAssets: boolean;2509 readonly asTeleportAssets: {2510 readonly dest: XcmVersionedMultiLocation;2511 readonly beneficiary: XcmVersionedMultiLocation;2512 readonly assets: XcmVersionedMultiAssets;2513 readonly feeAssetItem: u32;2514 } & Struct;2515 readonly isReserveTransferAssets: boolean;2516 readonly asReserveTransferAssets: {2517 readonly dest: XcmVersionedMultiLocation;2518 readonly beneficiary: XcmVersionedMultiLocation;2519 readonly assets: XcmVersionedMultiAssets;2520 readonly feeAssetItem: u32;2521 } & Struct;2522 readonly isExecute: boolean;2523 readonly asExecute: {2524 readonly message: XcmVersionedXcm;2525 readonly maxWeight: u64;2526 } & Struct;2527 readonly isForceXcmVersion: boolean;2528 readonly asForceXcmVersion: {2529 readonly location: XcmV1MultiLocation;2530 readonly xcmVersion: u32;2531 } & Struct;2532 readonly isForceDefaultXcmVersion: boolean;2533 readonly asForceDefaultXcmVersion: {2534 readonly maybeXcmVersion: Option<u32>;2535 } & Struct;2536 readonly isForceSubscribeVersionNotify: boolean;2537 readonly asForceSubscribeVersionNotify: {2538 readonly location: XcmVersionedMultiLocation;2539 } & Struct;2540 readonly isForceUnsubscribeVersionNotify: boolean;2541 readonly asForceUnsubscribeVersionNotify: {2542 readonly location: XcmVersionedMultiLocation;2543 } & Struct;2544 readonly isLimitedReserveTransferAssets: boolean;2545 readonly asLimitedReserveTransferAssets: {2546 readonly dest: XcmVersionedMultiLocation;2547 readonly beneficiary: XcmVersionedMultiLocation;2548 readonly assets: XcmVersionedMultiAssets;2549 readonly feeAssetItem: u32;2550 readonly weightLimit: XcmV2WeightLimit;2551 } & Struct;2552 readonly isLimitedTeleportAssets: boolean;2553 readonly asLimitedTeleportAssets: {2554 readonly dest: XcmVersionedMultiLocation;2555 readonly beneficiary: XcmVersionedMultiLocation;2556 readonly assets: XcmVersionedMultiAssets;2557 readonly feeAssetItem: u32;2558 readonly weightLimit: XcmV2WeightLimit;2559 } & Struct;2560 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2561}25622563/** @name PalletXcmError */2564export interface PalletXcmError extends Enum {2565 readonly isUnreachable: boolean;2566 readonly isSendFailure: boolean;2567 readonly isFiltered: boolean;2568 readonly isUnweighableMessage: boolean;2569 readonly isDestinationNotInvertible: boolean;2570 readonly isEmpty: boolean;2571 readonly isCannotReanchor: boolean;2572 readonly isTooManyAssets: boolean;2573 readonly isInvalidOrigin: boolean;2574 readonly isBadVersion: boolean;2575 readonly isBadLocation: boolean;2576 readonly isNoSubscription: boolean;2577 readonly isAlreadySubscribed: boolean;2578 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2579}25802581/** @name PalletXcmEvent */2582export interface PalletXcmEvent extends Enum {2583 readonly isAttempted: boolean;2584 readonly asAttempted: XcmV2TraitsOutcome;2585 readonly isSent: boolean;2586 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2587 readonly isUnexpectedResponse: boolean;2588 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2589 readonly isResponseReady: boolean;2590 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2591 readonly isNotified: boolean;2592 readonly asNotified: ITuple<[u64, u8, u8]>;2593 readonly isNotifyOverweight: boolean;2594 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2595 readonly isNotifyDispatchError: boolean;2596 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2597 readonly isNotifyDecodeFailed: boolean;2598 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2599 readonly isInvalidResponder: boolean;2600 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2601 readonly isInvalidResponderVersion: boolean;2602 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2603 readonly isResponseTaken: boolean;2604 readonly asResponseTaken: u64;2605 readonly isAssetsTrapped: boolean;2606 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2607 readonly isVersionChangeNotified: boolean;2608 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2609 readonly isSupportedVersionChanged: boolean;2610 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2611 readonly isNotifyTargetSendFail: boolean;2612 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2613 readonly isNotifyTargetMigrationFail: boolean;2614 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2615 readonly isAssetsClaimed: boolean;2616 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2617 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2618}26192620/** @name PhantomTypeUpDataStructs */2621export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}26222623/** @name PolkadotCorePrimitivesInboundDownwardMessage */2624export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2625 readonly sentAt: u32;2626 readonly msg: Bytes;2627}26282629/** @name PolkadotCorePrimitivesInboundHrmpMessage */2630export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2631 readonly sentAt: u32;2632 readonly data: Bytes;2633}26342635/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2636export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2637 readonly recipient: u32;2638 readonly data: Bytes;2639}26402641/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2642export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2643 readonly isConcatenatedVersionedXcm: boolean;2644 readonly isConcatenatedEncodedBlob: boolean;2645 readonly isSignals: boolean;2646 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2647}26482649/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2650export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2651 readonly maxCodeSize: u32;2652 readonly maxHeadDataSize: u32;2653 readonly maxUpwardQueueCount: u32;2654 readonly maxUpwardQueueSize: u32;2655 readonly maxUpwardMessageSize: u32;2656 readonly maxUpwardMessageNumPerCandidate: u32;2657 readonly hrmpMaxMessageNumPerCandidate: u32;2658 readonly validationUpgradeCooldown: u32;2659 readonly validationUpgradeDelay: u32;2660}26612662/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2663export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2664 readonly maxCapacity: u32;2665 readonly maxTotalSize: u32;2666 readonly maxMessageSize: u32;2667 readonly msgCount: u32;2668 readonly totalSize: u32;2669 readonly mqcHead: Option<H256>;2670}26712672/** @name PolkadotPrimitivesV2PersistedValidationData */2673export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2674 readonly parentHead: Bytes;2675 readonly relayParentNumber: u32;2676 readonly relayParentStorageRoot: H256;2677 readonly maxPovSize: u32;2678}26792680/** @name PolkadotPrimitivesV2UpgradeRestriction */2681export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2682 readonly isPresent: boolean;2683 readonly type: 'Present';2684}26852686/** @name RmrkTraitsBaseBaseInfo */2687export interface RmrkTraitsBaseBaseInfo extends Struct {2688 readonly issuer: AccountId32;2689 readonly baseType: Bytes;2690 readonly symbol: Bytes;2691}26922693/** @name RmrkTraitsCollectionCollectionInfo */2694export interface RmrkTraitsCollectionCollectionInfo extends Struct {2695 readonly issuer: AccountId32;2696 readonly metadata: Bytes;2697 readonly max: Option<u32>;2698 readonly symbol: Bytes;2699 readonly nftsCount: u32;2700}27012702/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2703export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2704 readonly isAccountId: boolean;2705 readonly asAccountId: AccountId32;2706 readonly isCollectionAndNftTuple: boolean;2707 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2708 readonly type: 'AccountId' | 'CollectionAndNftTuple';2709}27102711/** @name RmrkTraitsNftNftChild */2712export interface RmrkTraitsNftNftChild extends Struct {2713 readonly collectionId: u32;2714 readonly nftId: u32;2715}27162717/** @name RmrkTraitsNftNftInfo */2718export interface RmrkTraitsNftNftInfo extends Struct {2719 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2720 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2721 readonly metadata: Bytes;2722 readonly equipped: bool;2723 readonly pending: bool;2724}27252726/** @name RmrkTraitsNftRoyaltyInfo */2727export interface RmrkTraitsNftRoyaltyInfo extends Struct {2728 readonly recipient: AccountId32;2729 readonly amount: Permill;2730}27312732/** @name RmrkTraitsPartEquippableList */2733export interface RmrkTraitsPartEquippableList extends Enum {2734 readonly isAll: boolean;2735 readonly isEmpty: boolean;2736 readonly isCustom: boolean;2737 readonly asCustom: Vec<u32>;2738 readonly type: 'All' | 'Empty' | 'Custom';2739}27402741/** @name RmrkTraitsPartFixedPart */2742export interface RmrkTraitsPartFixedPart extends Struct {2743 readonly id: u32;2744 readonly z: u32;2745 readonly src: Bytes;2746}27472748/** @name RmrkTraitsPartPartType */2749export interface RmrkTraitsPartPartType extends Enum {2750 readonly isFixedPart: boolean;2751 readonly asFixedPart: RmrkTraitsPartFixedPart;2752 readonly isSlotPart: boolean;2753 readonly asSlotPart: RmrkTraitsPartSlotPart;2754 readonly type: 'FixedPart' | 'SlotPart';2755}27562757/** @name RmrkTraitsPartSlotPart */2758export interface RmrkTraitsPartSlotPart extends Struct {2759 readonly id: u32;2760 readonly equippable: RmrkTraitsPartEquippableList;2761 readonly src: Bytes;2762 readonly z: u32;2763}27642765/** @name RmrkTraitsPropertyPropertyInfo */2766export interface RmrkTraitsPropertyPropertyInfo extends Struct {2767 readonly key: Bytes;2768 readonly value: Bytes;2769}27702771/** @name RmrkTraitsResourceBasicResource */2772export interface RmrkTraitsResourceBasicResource extends Struct {2773 readonly src: Option<Bytes>;2774 readonly metadata: Option<Bytes>;2775 readonly license: Option<Bytes>;2776 readonly thumb: Option<Bytes>;2777}27782779/** @name RmrkTraitsResourceComposableResource */2780export interface RmrkTraitsResourceComposableResource extends Struct {2781 readonly parts: Vec<u32>;2782 readonly base: u32;2783 readonly src: Option<Bytes>;2784 readonly metadata: Option<Bytes>;2785 readonly license: Option<Bytes>;2786 readonly thumb: Option<Bytes>;2787}27882789/** @name RmrkTraitsResourceResourceInfo */2790export interface RmrkTraitsResourceResourceInfo extends Struct {2791 readonly id: u32;2792 readonly resource: RmrkTraitsResourceResourceTypes;2793 readonly pending: bool;2794 readonly pendingRemoval: bool;2795}27962797/** @name RmrkTraitsResourceResourceTypes */2798export interface RmrkTraitsResourceResourceTypes extends Enum {2799 readonly isBasic: boolean;2800 readonly asBasic: RmrkTraitsResourceBasicResource;2801 readonly isComposable: boolean;2802 readonly asComposable: RmrkTraitsResourceComposableResource;2803 readonly isSlot: boolean;2804 readonly asSlot: RmrkTraitsResourceSlotResource;2805 readonly type: 'Basic' | 'Composable' | 'Slot';2806}28072808/** @name RmrkTraitsResourceSlotResource */2809export interface RmrkTraitsResourceSlotResource extends Struct {2810 readonly base: u32;2811 readonly src: Option<Bytes>;2812 readonly metadata: Option<Bytes>;2813 readonly slot: u32;2814 readonly license: Option<Bytes>;2815 readonly thumb: Option<Bytes>;2816}28172818/** @name RmrkTraitsTheme */2819export interface RmrkTraitsTheme extends Struct {2820 readonly name: Bytes;2821 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2822 readonly inherit: bool;2823}28242825/** @name RmrkTraitsThemeThemeProperty */2826export interface RmrkTraitsThemeThemeProperty extends Struct {2827 readonly key: Bytes;2828 readonly value: Bytes;2829}28302831/** @name SpConsensusAuraSr25519AppSr25519Public */2832export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}28332834/** @name SpCoreCryptoKeyTypeId */2835export interface SpCoreCryptoKeyTypeId extends U8aFixed {}28362837/** @name SpCoreEcdsaSignature */2838export interface SpCoreEcdsaSignature extends U8aFixed {}28392840/** @name SpCoreEd25519Signature */2841export interface SpCoreEd25519Signature extends U8aFixed {}28422843/** @name SpCoreSr25519Public */2844export interface SpCoreSr25519Public extends U8aFixed {}28452846/** @name SpCoreSr25519Signature */2847export interface SpCoreSr25519Signature extends U8aFixed {}28482849/** @name SpRuntimeArithmeticError */2850export interface SpRuntimeArithmeticError extends Enum {2851 readonly isUnderflow: boolean;2852 readonly isOverflow: boolean;2853 readonly isDivisionByZero: boolean;2854 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2855}28562857/** @name SpRuntimeBlakeTwo256 */2858export interface SpRuntimeBlakeTwo256 extends Null {}28592860/** @name SpRuntimeDigest */2861export interface SpRuntimeDigest extends Struct {2862 readonly logs: Vec<SpRuntimeDigestDigestItem>;2863}28642865/** @name SpRuntimeDigestDigestItem */2866export interface SpRuntimeDigestDigestItem extends Enum {2867 readonly isOther: boolean;2868 readonly asOther: Bytes;2869 readonly isConsensus: boolean;2870 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2871 readonly isSeal: boolean;2872 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2873 readonly isPreRuntime: boolean;2874 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2875 readonly isRuntimeEnvironmentUpdated: boolean;2876 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2877}28782879/** @name SpRuntimeDispatchError */2880export interface SpRuntimeDispatchError extends Enum {2881 readonly isOther: boolean;2882 readonly isCannotLookup: boolean;2883 readonly isBadOrigin: boolean;2884 readonly isModule: boolean;2885 readonly asModule: SpRuntimeModuleError;2886 readonly isConsumerRemaining: boolean;2887 readonly isNoProviders: boolean;2888 readonly isTooManyConsumers: boolean;2889 readonly isToken: boolean;2890 readonly asToken: SpRuntimeTokenError;2891 readonly isArithmetic: boolean;2892 readonly asArithmetic: SpRuntimeArithmeticError;2893 readonly isTransactional: boolean;2894 readonly asTransactional: SpRuntimeTransactionalError;2895 readonly isExhausted: boolean;2896 readonly isCorruption: boolean;2897 readonly isUnavailable: boolean;2898 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2899}29002901/** @name SpRuntimeHeader */2902export interface SpRuntimeHeader extends Struct {2903 readonly parentHash: H256;2904 readonly number: Compact<u32>;2905 readonly stateRoot: H256;2906 readonly extrinsicsRoot: H256;2907 readonly digest: SpRuntimeDigest;2908}29092910/** @name SpRuntimeModuleError */2911export interface SpRuntimeModuleError extends Struct {2912 readonly index: u8;2913 readonly error: U8aFixed;2914}29152916/** @name SpRuntimeMultiSignature */2917export interface SpRuntimeMultiSignature extends Enum {2918 readonly isEd25519: boolean;2919 readonly asEd25519: SpCoreEd25519Signature;2920 readonly isSr25519: boolean;2921 readonly asSr25519: SpCoreSr25519Signature;2922 readonly isEcdsa: boolean;2923 readonly asEcdsa: SpCoreEcdsaSignature;2924 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2925}29262927/** @name SpRuntimeTokenError */2928export interface SpRuntimeTokenError extends Enum {2929 readonly isNoFunds: boolean;2930 readonly isWouldDie: boolean;2931 readonly isBelowMinimum: boolean;2932 readonly isCannotCreate: boolean;2933 readonly isUnknownAsset: boolean;2934 readonly isFrozen: boolean;2935 readonly isUnsupported: boolean;2936 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2937}29382939/** @name SpRuntimeTransactionalError */2940export interface SpRuntimeTransactionalError extends Enum {2941 readonly isLimitReached: boolean;2942 readonly isNoLayer: boolean;2943 readonly type: 'LimitReached' | 'NoLayer';2944}29452946/** @name SpTrieStorageProof */2947export interface SpTrieStorageProof extends Struct {2948 readonly trieNodes: BTreeSet<Bytes>;2949}29502951/** @name SpVersionRuntimeVersion */2952export interface SpVersionRuntimeVersion extends Struct {2953 readonly specName: Text;2954 readonly implName: Text;2955 readonly authoringVersion: u32;2956 readonly specVersion: u32;2957 readonly implVersion: u32;2958 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2959 readonly transactionVersion: u32;2960 readonly stateVersion: u8;2961}29622963/** @name SpWeightsRuntimeDbWeight */2964export interface SpWeightsRuntimeDbWeight extends Struct {2965 readonly read: u64;2966 readonly write: u64;2967}29682969/** @name SpWeightsWeightV2Weight */2970export interface SpWeightsWeightV2Weight extends Struct {2971 readonly refTime: Compact<u64>;2972 readonly proofSize: Compact<u64>;2973}29742975/** @name UpDataStructsAccessMode */2976export interface UpDataStructsAccessMode extends Enum {2977 readonly isNormal: boolean;2978 readonly isAllowList: boolean;2979 readonly type: 'Normal' | 'AllowList';2980}29812982/** @name UpDataStructsCollection */2983export interface UpDataStructsCollection extends Struct {2984 readonly owner: AccountId32;2985 readonly mode: UpDataStructsCollectionMode;2986 readonly name: Vec<u16>;2987 readonly description: Vec<u16>;2988 readonly tokenPrefix: Bytes;2989 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2990 readonly limits: UpDataStructsCollectionLimits;2991 readonly permissions: UpDataStructsCollectionPermissions;2992 readonly flags: U8aFixed;2993}29942995/** @name UpDataStructsCollectionLimits */2996export interface UpDataStructsCollectionLimits extends Struct {2997 readonly accountTokenOwnershipLimit: Option<u32>;2998 readonly sponsoredDataSize: Option<u32>;2999 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;3000 readonly tokenLimit: Option<u32>;3001 readonly sponsorTransferTimeout: Option<u32>;3002 readonly sponsorApproveTimeout: Option<u32>;3003 readonly ownerCanTransfer: Option<bool>;3004 readonly ownerCanDestroy: Option<bool>;3005 readonly transfersEnabled: Option<bool>;3006}30073008/** @name UpDataStructsCollectionMode */3009export interface UpDataStructsCollectionMode extends Enum {3010 readonly isNft: boolean;3011 readonly isFungible: boolean;3012 readonly asFungible: u8;3013 readonly isReFungible: boolean;3014 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3015}30163017/** @name UpDataStructsCollectionPermissions */3018export interface UpDataStructsCollectionPermissions extends Struct {3019 readonly access: Option<UpDataStructsAccessMode>;3020 readonly mintMode: Option<bool>;3021 readonly nesting: Option<UpDataStructsNestingPermissions>;3022}30233024/** @name UpDataStructsCollectionStats */3025export interface UpDataStructsCollectionStats extends Struct {3026 readonly created: u32;3027 readonly destroyed: u32;3028 readonly alive: u32;3029}30303031/** @name UpDataStructsCreateCollectionData */3032export interface UpDataStructsCreateCollectionData extends Struct {3033 readonly mode: UpDataStructsCollectionMode;3034 readonly access: Option<UpDataStructsAccessMode>;3035 readonly name: Vec<u16>;3036 readonly description: Vec<u16>;3037 readonly tokenPrefix: Bytes;3038 readonly pendingSponsor: Option<AccountId32>;3039 readonly limits: Option<UpDataStructsCollectionLimits>;3040 readonly permissions: Option<UpDataStructsCollectionPermissions>;3041 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3042 readonly properties: Vec<UpDataStructsProperty>;3043}30443045/** @name UpDataStructsCreateFungibleData */3046export interface UpDataStructsCreateFungibleData extends Struct {3047 readonly value: u128;3048}30493050/** @name UpDataStructsCreateItemData */3051export interface UpDataStructsCreateItemData extends Enum {3052 readonly isNft: boolean;3053 readonly asNft: UpDataStructsCreateNftData;3054 readonly isFungible: boolean;3055 readonly asFungible: UpDataStructsCreateFungibleData;3056 readonly isReFungible: boolean;3057 readonly asReFungible: UpDataStructsCreateReFungibleData;3058 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3059}30603061/** @name UpDataStructsCreateItemExData */3062export interface UpDataStructsCreateItemExData extends Enum {3063 readonly isNft: boolean;3064 readonly asNft: Vec<UpDataStructsCreateNftExData>;3065 readonly isFungible: boolean;3066 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;3067 readonly isRefungibleMultipleItems: boolean;3068 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3069 readonly isRefungibleMultipleOwners: boolean;3070 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3071 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3072}30733074/** @name UpDataStructsCreateNftData */3075export interface UpDataStructsCreateNftData extends Struct {3076 readonly properties: Vec<UpDataStructsProperty>;3077}30783079/** @name UpDataStructsCreateNftExData */3080export interface UpDataStructsCreateNftExData extends Struct {3081 readonly properties: Vec<UpDataStructsProperty>;3082 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3083}30843085/** @name UpDataStructsCreateReFungibleData */3086export interface UpDataStructsCreateReFungibleData extends Struct {3087 readonly pieces: u128;3088 readonly properties: Vec<UpDataStructsProperty>;3089}30903091/** @name UpDataStructsCreateRefungibleExMultipleOwners */3092export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3093 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3094 readonly properties: Vec<UpDataStructsProperty>;3095}30963097/** @name UpDataStructsCreateRefungibleExSingleOwner */3098export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3099 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3100 readonly pieces: u128;3101 readonly properties: Vec<UpDataStructsProperty>;3102}31033104/** @name UpDataStructsNestingPermissions */3105export interface UpDataStructsNestingPermissions extends Struct {3106 readonly tokenOwner: bool;3107 readonly collectionAdmin: bool;3108 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3109}31103111/** @name UpDataStructsOwnerRestrictedSet */3112export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}31133114/** @name UpDataStructsProperties */3115export interface UpDataStructsProperties extends Struct {3116 readonly map: UpDataStructsPropertiesMapBoundedVec;3117 readonly consumedSpace: u32;3118 readonly spaceLimit: u32;3119}31203121/** @name UpDataStructsPropertiesMapBoundedVec */3122export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}31233124/** @name UpDataStructsPropertiesMapPropertyPermission */3125export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}31263127/** @name UpDataStructsProperty */3128export interface UpDataStructsProperty extends Struct {3129 readonly key: Bytes;3130 readonly value: Bytes;3131}31323133/** @name UpDataStructsPropertyKeyPermission */3134export interface UpDataStructsPropertyKeyPermission extends Struct {3135 readonly key: Bytes;3136 readonly permission: UpDataStructsPropertyPermission;3137}31383139/** @name UpDataStructsPropertyPermission */3140export interface UpDataStructsPropertyPermission extends Struct {3141 readonly mutable: bool;3142 readonly collectionAdmin: bool;3143 readonly tokenOwner: bool;3144}31453146/** @name UpDataStructsPropertyScope */3147export interface UpDataStructsPropertyScope extends Enum {3148 readonly isNone: boolean;3149 readonly isRmrk: boolean;3150 readonly type: 'None' | 'Rmrk';3151}31523153/** @name UpDataStructsRpcCollection */3154export interface UpDataStructsRpcCollection extends Struct {3155 readonly owner: AccountId32;3156 readonly mode: UpDataStructsCollectionMode;3157 readonly name: Vec<u16>;3158 readonly description: Vec<u16>;3159 readonly tokenPrefix: Bytes;3160 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3161 readonly limits: UpDataStructsCollectionLimits;3162 readonly permissions: UpDataStructsCollectionPermissions;3163 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3164 readonly properties: Vec<UpDataStructsProperty>;3165 readonly readOnly: bool;3166 readonly flags: UpDataStructsRpcCollectionFlags;3167}31683169/** @name UpDataStructsRpcCollectionFlags */3170export interface UpDataStructsRpcCollectionFlags extends Struct {3171 readonly foreign: bool;3172 readonly erc721metadata: bool;3173}31743175/** @name UpDataStructsSponsoringRateLimit */3176export interface UpDataStructsSponsoringRateLimit extends Enum {3177 readonly isSponsoringDisabled: boolean;3178 readonly isBlocks: boolean;3179 readonly asBlocks: u32;3180 readonly type: 'SponsoringDisabled' | 'Blocks';3181}31823183/** @name UpDataStructsSponsorshipStateAccountId32 */3184export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3185 readonly isDisabled: boolean;3186 readonly isUnconfirmed: boolean;3187 readonly asUnconfirmed: AccountId32;3188 readonly isConfirmed: boolean;3189 readonly asConfirmed: AccountId32;3190 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3191}31923193/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3194export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3195 readonly isDisabled: boolean;3196 readonly isUnconfirmed: boolean;3197 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3198 readonly isConfirmed: boolean;3199 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3200 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3201}32023203/** @name UpDataStructsTokenChild */3204export interface UpDataStructsTokenChild extends Struct {3205 readonly token: u32;3206 readonly collection: u32;3207}32083209/** @name UpDataStructsTokenData */3210export interface UpDataStructsTokenData extends Struct {3211 readonly properties: Vec<UpDataStructsProperty>;3212 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3213 readonly pieces: u128;3214}32153216/** @name XcmDoubleEncoded */3217export interface XcmDoubleEncoded extends Struct {3218 readonly encoded: Bytes;3219}32203221/** @name XcmV0Junction */3222export interface XcmV0Junction extends Enum {3223 readonly isParent: boolean;3224 readonly isParachain: boolean;3225 readonly asParachain: Compact<u32>;3226 readonly isAccountId32: boolean;3227 readonly asAccountId32: {3228 readonly network: XcmV0JunctionNetworkId;3229 readonly id: U8aFixed;3230 } & Struct;3231 readonly isAccountIndex64: boolean;3232 readonly asAccountIndex64: {3233 readonly network: XcmV0JunctionNetworkId;3234 readonly index: Compact<u64>;3235 } & Struct;3236 readonly isAccountKey20: boolean;3237 readonly asAccountKey20: {3238 readonly network: XcmV0JunctionNetworkId;3239 readonly key: U8aFixed;3240 } & Struct;3241 readonly isPalletInstance: boolean;3242 readonly asPalletInstance: u8;3243 readonly isGeneralIndex: boolean;3244 readonly asGeneralIndex: Compact<u128>;3245 readonly isGeneralKey: boolean;3246 readonly asGeneralKey: Bytes;3247 readonly isOnlyChild: boolean;3248 readonly isPlurality: boolean;3249 readonly asPlurality: {3250 readonly id: XcmV0JunctionBodyId;3251 readonly part: XcmV0JunctionBodyPart;3252 } & Struct;3253 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3254}32553256/** @name XcmV0JunctionBodyId */3257export interface XcmV0JunctionBodyId extends Enum {3258 readonly isUnit: boolean;3259 readonly isNamed: boolean;3260 readonly asNamed: Bytes;3261 readonly isIndex: boolean;3262 readonly asIndex: Compact<u32>;3263 readonly isExecutive: boolean;3264 readonly isTechnical: boolean;3265 readonly isLegislative: boolean;3266 readonly isJudicial: boolean;3267 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3268}32693270/** @name XcmV0JunctionBodyPart */3271export interface XcmV0JunctionBodyPart extends Enum {3272 readonly isVoice: boolean;3273 readonly isMembers: boolean;3274 readonly asMembers: {3275 readonly count: Compact<u32>;3276 } & Struct;3277 readonly isFraction: boolean;3278 readonly asFraction: {3279 readonly nom: Compact<u32>;3280 readonly denom: Compact<u32>;3281 } & Struct;3282 readonly isAtLeastProportion: boolean;3283 readonly asAtLeastProportion: {3284 readonly nom: Compact<u32>;3285 readonly denom: Compact<u32>;3286 } & Struct;3287 readonly isMoreThanProportion: boolean;3288 readonly asMoreThanProportion: {3289 readonly nom: Compact<u32>;3290 readonly denom: Compact<u32>;3291 } & Struct;3292 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3293}32943295/** @name XcmV0JunctionNetworkId */3296export interface XcmV0JunctionNetworkId extends Enum {3297 readonly isAny: boolean;3298 readonly isNamed: boolean;3299 readonly asNamed: Bytes;3300 readonly isPolkadot: boolean;3301 readonly isKusama: boolean;3302 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3303}33043305/** @name XcmV0MultiAsset */3306export interface XcmV0MultiAsset extends Enum {3307 readonly isNone: boolean;3308 readonly isAll: boolean;3309 readonly isAllFungible: boolean;3310 readonly isAllNonFungible: boolean;3311 readonly isAllAbstractFungible: boolean;3312 readonly asAllAbstractFungible: {3313 readonly id: Bytes;3314 } & Struct;3315 readonly isAllAbstractNonFungible: boolean;3316 readonly asAllAbstractNonFungible: {3317 readonly class: Bytes;3318 } & Struct;3319 readonly isAllConcreteFungible: boolean;3320 readonly asAllConcreteFungible: {3321 readonly id: XcmV0MultiLocation;3322 } & Struct;3323 readonly isAllConcreteNonFungible: boolean;3324 readonly asAllConcreteNonFungible: {3325 readonly class: XcmV0MultiLocation;3326 } & Struct;3327 readonly isAbstractFungible: boolean;3328 readonly asAbstractFungible: {3329 readonly id: Bytes;3330 readonly amount: Compact<u128>;3331 } & Struct;3332 readonly isAbstractNonFungible: boolean;3333 readonly asAbstractNonFungible: {3334 readonly class: Bytes;3335 readonly instance: XcmV1MultiassetAssetInstance;3336 } & Struct;3337 readonly isConcreteFungible: boolean;3338 readonly asConcreteFungible: {3339 readonly id: XcmV0MultiLocation;3340 readonly amount: Compact<u128>;3341 } & Struct;3342 readonly isConcreteNonFungible: boolean;3343 readonly asConcreteNonFungible: {3344 readonly class: XcmV0MultiLocation;3345 readonly instance: XcmV1MultiassetAssetInstance;3346 } & Struct;3347 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3348}33493350/** @name XcmV0MultiLocation */3351export interface XcmV0MultiLocation extends Enum {3352 readonly isNull: boolean;3353 readonly isX1: boolean;3354 readonly asX1: XcmV0Junction;3355 readonly isX2: boolean;3356 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3357 readonly isX3: boolean;3358 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3359 readonly isX4: boolean;3360 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3361 readonly isX5: boolean;3362 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3363 readonly isX6: boolean;3364 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3365 readonly isX7: boolean;3366 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3367 readonly isX8: boolean;3368 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3369 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3370}33713372/** @name XcmV0Order */3373export interface XcmV0Order extends Enum {3374 readonly isNull: boolean;3375 readonly isDepositAsset: boolean;3376 readonly asDepositAsset: {3377 readonly assets: Vec<XcmV0MultiAsset>;3378 readonly dest: XcmV0MultiLocation;3379 } & Struct;3380 readonly isDepositReserveAsset: boolean;3381 readonly asDepositReserveAsset: {3382 readonly assets: Vec<XcmV0MultiAsset>;3383 readonly dest: XcmV0MultiLocation;3384 readonly effects: Vec<XcmV0Order>;3385 } & Struct;3386 readonly isExchangeAsset: boolean;3387 readonly asExchangeAsset: {3388 readonly give: Vec<XcmV0MultiAsset>;3389 readonly receive: Vec<XcmV0MultiAsset>;3390 } & Struct;3391 readonly isInitiateReserveWithdraw: boolean;3392 readonly asInitiateReserveWithdraw: {3393 readonly assets: Vec<XcmV0MultiAsset>;3394 readonly reserve: XcmV0MultiLocation;3395 readonly effects: Vec<XcmV0Order>;3396 } & Struct;3397 readonly isInitiateTeleport: boolean;3398 readonly asInitiateTeleport: {3399 readonly assets: Vec<XcmV0MultiAsset>;3400 readonly dest: XcmV0MultiLocation;3401 readonly effects: Vec<XcmV0Order>;3402 } & Struct;3403 readonly isQueryHolding: boolean;3404 readonly asQueryHolding: {3405 readonly queryId: Compact<u64>;3406 readonly dest: XcmV0MultiLocation;3407 readonly assets: Vec<XcmV0MultiAsset>;3408 } & Struct;3409 readonly isBuyExecution: boolean;3410 readonly asBuyExecution: {3411 readonly fees: XcmV0MultiAsset;3412 readonly weight: u64;3413 readonly debt: u64;3414 readonly haltOnError: bool;3415 readonly xcm: Vec<XcmV0Xcm>;3416 } & Struct;3417 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3418}34193420/** @name XcmV0OriginKind */3421export interface XcmV0OriginKind extends Enum {3422 readonly isNative: boolean;3423 readonly isSovereignAccount: boolean;3424 readonly isSuperuser: boolean;3425 readonly isXcm: boolean;3426 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3427}34283429/** @name XcmV0Response */3430export interface XcmV0Response extends Enum {3431 readonly isAssets: boolean;3432 readonly asAssets: Vec<XcmV0MultiAsset>;3433 readonly type: 'Assets';3434}34353436/** @name XcmV0Xcm */3437export interface XcmV0Xcm extends Enum {3438 readonly isWithdrawAsset: boolean;3439 readonly asWithdrawAsset: {3440 readonly assets: Vec<XcmV0MultiAsset>;3441 readonly effects: Vec<XcmV0Order>;3442 } & Struct;3443 readonly isReserveAssetDeposit: boolean;3444 readonly asReserveAssetDeposit: {3445 readonly assets: Vec<XcmV0MultiAsset>;3446 readonly effects: Vec<XcmV0Order>;3447 } & Struct;3448 readonly isTeleportAsset: boolean;3449 readonly asTeleportAsset: {3450 readonly assets: Vec<XcmV0MultiAsset>;3451 readonly effects: Vec<XcmV0Order>;3452 } & Struct;3453 readonly isQueryResponse: boolean;3454 readonly asQueryResponse: {3455 readonly queryId: Compact<u64>;3456 readonly response: XcmV0Response;3457 } & Struct;3458 readonly isTransferAsset: boolean;3459 readonly asTransferAsset: {3460 readonly assets: Vec<XcmV0MultiAsset>;3461 readonly dest: XcmV0MultiLocation;3462 } & Struct;3463 readonly isTransferReserveAsset: boolean;3464 readonly asTransferReserveAsset: {3465 readonly assets: Vec<XcmV0MultiAsset>;3466 readonly dest: XcmV0MultiLocation;3467 readonly effects: Vec<XcmV0Order>;3468 } & Struct;3469 readonly isTransact: boolean;3470 readonly asTransact: {3471 readonly originType: XcmV0OriginKind;3472 readonly requireWeightAtMost: u64;3473 readonly call: XcmDoubleEncoded;3474 } & Struct;3475 readonly isHrmpNewChannelOpenRequest: boolean;3476 readonly asHrmpNewChannelOpenRequest: {3477 readonly sender: Compact<u32>;3478 readonly maxMessageSize: Compact<u32>;3479 readonly maxCapacity: Compact<u32>;3480 } & Struct;3481 readonly isHrmpChannelAccepted: boolean;3482 readonly asHrmpChannelAccepted: {3483 readonly recipient: Compact<u32>;3484 } & Struct;3485 readonly isHrmpChannelClosing: boolean;3486 readonly asHrmpChannelClosing: {3487 readonly initiator: Compact<u32>;3488 readonly sender: Compact<u32>;3489 readonly recipient: Compact<u32>;3490 } & Struct;3491 readonly isRelayedFrom: boolean;3492 readonly asRelayedFrom: {3493 readonly who: XcmV0MultiLocation;3494 readonly message: XcmV0Xcm;3495 } & Struct;3496 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3497}34983499/** @name XcmV1Junction */3500export interface XcmV1Junction extends Enum {3501 readonly isParachain: boolean;3502 readonly asParachain: Compact<u32>;3503 readonly isAccountId32: boolean;3504 readonly asAccountId32: {3505 readonly network: XcmV0JunctionNetworkId;3506 readonly id: U8aFixed;3507 } & Struct;3508 readonly isAccountIndex64: boolean;3509 readonly asAccountIndex64: {3510 readonly network: XcmV0JunctionNetworkId;3511 readonly index: Compact<u64>;3512 } & Struct;3513 readonly isAccountKey20: boolean;3514 readonly asAccountKey20: {3515 readonly network: XcmV0JunctionNetworkId;3516 readonly key: U8aFixed;3517 } & Struct;3518 readonly isPalletInstance: boolean;3519 readonly asPalletInstance: u8;3520 readonly isGeneralIndex: boolean;3521 readonly asGeneralIndex: Compact<u128>;3522 readonly isGeneralKey: boolean;3523 readonly asGeneralKey: Bytes;3524 readonly isOnlyChild: boolean;3525 readonly isPlurality: boolean;3526 readonly asPlurality: {3527 readonly id: XcmV0JunctionBodyId;3528 readonly part: XcmV0JunctionBodyPart;3529 } & Struct;3530 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3531}35323533/** @name XcmV1MultiAsset */3534export interface XcmV1MultiAsset extends Struct {3535 readonly id: XcmV1MultiassetAssetId;3536 readonly fun: XcmV1MultiassetFungibility;3537}35383539/** @name XcmV1MultiassetAssetId */3540export interface XcmV1MultiassetAssetId extends Enum {3541 readonly isConcrete: boolean;3542 readonly asConcrete: XcmV1MultiLocation;3543 readonly isAbstract: boolean;3544 readonly asAbstract: Bytes;3545 readonly type: 'Concrete' | 'Abstract';3546}35473548/** @name XcmV1MultiassetAssetInstance */3549export interface XcmV1MultiassetAssetInstance extends Enum {3550 readonly isUndefined: boolean;3551 readonly isIndex: boolean;3552 readonly asIndex: Compact<u128>;3553 readonly isArray4: boolean;3554 readonly asArray4: U8aFixed;3555 readonly isArray8: boolean;3556 readonly asArray8: U8aFixed;3557 readonly isArray16: boolean;3558 readonly asArray16: U8aFixed;3559 readonly isArray32: boolean;3560 readonly asArray32: U8aFixed;3561 readonly isBlob: boolean;3562 readonly asBlob: Bytes;3563 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3564}35653566/** @name XcmV1MultiassetFungibility */3567export interface XcmV1MultiassetFungibility extends Enum {3568 readonly isFungible: boolean;3569 readonly asFungible: Compact<u128>;3570 readonly isNonFungible: boolean;3571 readonly asNonFungible: XcmV1MultiassetAssetInstance;3572 readonly type: 'Fungible' | 'NonFungible';3573}35743575/** @name XcmV1MultiassetMultiAssetFilter */3576export interface XcmV1MultiassetMultiAssetFilter extends Enum {3577 readonly isDefinite: boolean;3578 readonly asDefinite: XcmV1MultiassetMultiAssets;3579 readonly isWild: boolean;3580 readonly asWild: XcmV1MultiassetWildMultiAsset;3581 readonly type: 'Definite' | 'Wild';3582}35833584/** @name XcmV1MultiassetMultiAssets */3585export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}35863587/** @name XcmV1MultiassetWildFungibility */3588export interface XcmV1MultiassetWildFungibility extends Enum {3589 readonly isFungible: boolean;3590 readonly isNonFungible: boolean;3591 readonly type: 'Fungible' | 'NonFungible';3592}35933594/** @name XcmV1MultiassetWildMultiAsset */3595export interface XcmV1MultiassetWildMultiAsset extends Enum {3596 readonly isAll: boolean;3597 readonly isAllOf: boolean;3598 readonly asAllOf: {3599 readonly id: XcmV1MultiassetAssetId;3600 readonly fun: XcmV1MultiassetWildFungibility;3601 } & Struct;3602 readonly type: 'All' | 'AllOf';3603}36043605/** @name XcmV1MultiLocation */3606export interface XcmV1MultiLocation extends Struct {3607 readonly parents: u8;3608 readonly interior: XcmV1MultilocationJunctions;3609}36103611/** @name XcmV1MultilocationJunctions */3612export interface XcmV1MultilocationJunctions extends Enum {3613 readonly isHere: boolean;3614 readonly isX1: boolean;3615 readonly asX1: XcmV1Junction;3616 readonly isX2: boolean;3617 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3618 readonly isX3: boolean;3619 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3620 readonly isX4: boolean;3621 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3622 readonly isX5: boolean;3623 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3624 readonly isX6: boolean;3625 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3626 readonly isX7: boolean;3627 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3628 readonly isX8: boolean;3629 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3630 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3631}36323633/** @name XcmV1Order */3634export interface XcmV1Order extends Enum {3635 readonly isNoop: boolean;3636 readonly isDepositAsset: boolean;3637 readonly asDepositAsset: {3638 readonly assets: XcmV1MultiassetMultiAssetFilter;3639 readonly maxAssets: u32;3640 readonly beneficiary: XcmV1MultiLocation;3641 } & Struct;3642 readonly isDepositReserveAsset: boolean;3643 readonly asDepositReserveAsset: {3644 readonly assets: XcmV1MultiassetMultiAssetFilter;3645 readonly maxAssets: u32;3646 readonly dest: XcmV1MultiLocation;3647 readonly effects: Vec<XcmV1Order>;3648 } & Struct;3649 readonly isExchangeAsset: boolean;3650 readonly asExchangeAsset: {3651 readonly give: XcmV1MultiassetMultiAssetFilter;3652 readonly receive: XcmV1MultiassetMultiAssets;3653 } & Struct;3654 readonly isInitiateReserveWithdraw: boolean;3655 readonly asInitiateReserveWithdraw: {3656 readonly assets: XcmV1MultiassetMultiAssetFilter;3657 readonly reserve: XcmV1MultiLocation;3658 readonly effects: Vec<XcmV1Order>;3659 } & Struct;3660 readonly isInitiateTeleport: boolean;3661 readonly asInitiateTeleport: {3662 readonly assets: XcmV1MultiassetMultiAssetFilter;3663 readonly dest: XcmV1MultiLocation;3664 readonly effects: Vec<XcmV1Order>;3665 } & Struct;3666 readonly isQueryHolding: boolean;3667 readonly asQueryHolding: {3668 readonly queryId: Compact<u64>;3669 readonly dest: XcmV1MultiLocation;3670 readonly assets: XcmV1MultiassetMultiAssetFilter;3671 } & Struct;3672 readonly isBuyExecution: boolean;3673 readonly asBuyExecution: {3674 readonly fees: XcmV1MultiAsset;3675 readonly weight: u64;3676 readonly debt: u64;3677 readonly haltOnError: bool;3678 readonly instructions: Vec<XcmV1Xcm>;3679 } & Struct;3680 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3681}36823683/** @name XcmV1Response */3684export interface XcmV1Response extends Enum {3685 readonly isAssets: boolean;3686 readonly asAssets: XcmV1MultiassetMultiAssets;3687 readonly isVersion: boolean;3688 readonly asVersion: u32;3689 readonly type: 'Assets' | 'Version';3690}36913692/** @name XcmV1Xcm */3693export interface XcmV1Xcm extends Enum {3694 readonly isWithdrawAsset: boolean;3695 readonly asWithdrawAsset: {3696 readonly assets: XcmV1MultiassetMultiAssets;3697 readonly effects: Vec<XcmV1Order>;3698 } & Struct;3699 readonly isReserveAssetDeposited: boolean;3700 readonly asReserveAssetDeposited: {3701 readonly assets: XcmV1MultiassetMultiAssets;3702 readonly effects: Vec<XcmV1Order>;3703 } & Struct;3704 readonly isReceiveTeleportedAsset: boolean;3705 readonly asReceiveTeleportedAsset: {3706 readonly assets: XcmV1MultiassetMultiAssets;3707 readonly effects: Vec<XcmV1Order>;3708 } & Struct;3709 readonly isQueryResponse: boolean;3710 readonly asQueryResponse: {3711 readonly queryId: Compact<u64>;3712 readonly response: XcmV1Response;3713 } & Struct;3714 readonly isTransferAsset: boolean;3715 readonly asTransferAsset: {3716 readonly assets: XcmV1MultiassetMultiAssets;3717 readonly beneficiary: XcmV1MultiLocation;3718 } & Struct;3719 readonly isTransferReserveAsset: boolean;3720 readonly asTransferReserveAsset: {3721 readonly assets: XcmV1MultiassetMultiAssets;3722 readonly dest: XcmV1MultiLocation;3723 readonly effects: Vec<XcmV1Order>;3724 } & Struct;3725 readonly isTransact: boolean;3726 readonly asTransact: {3727 readonly originType: XcmV0OriginKind;3728 readonly requireWeightAtMost: u64;3729 readonly call: XcmDoubleEncoded;3730 } & Struct;3731 readonly isHrmpNewChannelOpenRequest: boolean;3732 readonly asHrmpNewChannelOpenRequest: {3733 readonly sender: Compact<u32>;3734 readonly maxMessageSize: Compact<u32>;3735 readonly maxCapacity: Compact<u32>;3736 } & Struct;3737 readonly isHrmpChannelAccepted: boolean;3738 readonly asHrmpChannelAccepted: {3739 readonly recipient: Compact<u32>;3740 } & Struct;3741 readonly isHrmpChannelClosing: boolean;3742 readonly asHrmpChannelClosing: {3743 readonly initiator: Compact<u32>;3744 readonly sender: Compact<u32>;3745 readonly recipient: Compact<u32>;3746 } & Struct;3747 readonly isRelayedFrom: boolean;3748 readonly asRelayedFrom: {3749 readonly who: XcmV1MultilocationJunctions;3750 readonly message: XcmV1Xcm;3751 } & Struct;3752 readonly isSubscribeVersion: boolean;3753 readonly asSubscribeVersion: {3754 readonly queryId: Compact<u64>;3755 readonly maxResponseWeight: Compact<u64>;3756 } & Struct;3757 readonly isUnsubscribeVersion: boolean;3758 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3759}37603761/** @name XcmV2Instruction */3762export interface XcmV2Instruction extends Enum {3763 readonly isWithdrawAsset: boolean;3764 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3765 readonly isReserveAssetDeposited: boolean;3766 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3767 readonly isReceiveTeleportedAsset: boolean;3768 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3769 readonly isQueryResponse: boolean;3770 readonly asQueryResponse: {3771 readonly queryId: Compact<u64>;3772 readonly response: XcmV2Response;3773 readonly maxWeight: Compact<u64>;3774 } & Struct;3775 readonly isTransferAsset: boolean;3776 readonly asTransferAsset: {3777 readonly assets: XcmV1MultiassetMultiAssets;3778 readonly beneficiary: XcmV1MultiLocation;3779 } & Struct;3780 readonly isTransferReserveAsset: boolean;3781 readonly asTransferReserveAsset: {3782 readonly assets: XcmV1MultiassetMultiAssets;3783 readonly dest: XcmV1MultiLocation;3784 readonly xcm: XcmV2Xcm;3785 } & Struct;3786 readonly isTransact: boolean;3787 readonly asTransact: {3788 readonly originType: XcmV0OriginKind;3789 readonly requireWeightAtMost: Compact<u64>;3790 readonly call: XcmDoubleEncoded;3791 } & Struct;3792 readonly isHrmpNewChannelOpenRequest: boolean;3793 readonly asHrmpNewChannelOpenRequest: {3794 readonly sender: Compact<u32>;3795 readonly maxMessageSize: Compact<u32>;3796 readonly maxCapacity: Compact<u32>;3797 } & Struct;3798 readonly isHrmpChannelAccepted: boolean;3799 readonly asHrmpChannelAccepted: {3800 readonly recipient: Compact<u32>;3801 } & Struct;3802 readonly isHrmpChannelClosing: boolean;3803 readonly asHrmpChannelClosing: {3804 readonly initiator: Compact<u32>;3805 readonly sender: Compact<u32>;3806 readonly recipient: Compact<u32>;3807 } & Struct;3808 readonly isClearOrigin: boolean;3809 readonly isDescendOrigin: boolean;3810 readonly asDescendOrigin: XcmV1MultilocationJunctions;3811 readonly isReportError: boolean;3812 readonly asReportError: {3813 readonly queryId: Compact<u64>;3814 readonly dest: XcmV1MultiLocation;3815 readonly maxResponseWeight: Compact<u64>;3816 } & Struct;3817 readonly isDepositAsset: boolean;3818 readonly asDepositAsset: {3819 readonly assets: XcmV1MultiassetMultiAssetFilter;3820 readonly maxAssets: Compact<u32>;3821 readonly beneficiary: XcmV1MultiLocation;3822 } & Struct;3823 readonly isDepositReserveAsset: boolean;3824 readonly asDepositReserveAsset: {3825 readonly assets: XcmV1MultiassetMultiAssetFilter;3826 readonly maxAssets: Compact<u32>;3827 readonly dest: XcmV1MultiLocation;3828 readonly xcm: XcmV2Xcm;3829 } & Struct;3830 readonly isExchangeAsset: boolean;3831 readonly asExchangeAsset: {3832 readonly give: XcmV1MultiassetMultiAssetFilter;3833 readonly receive: XcmV1MultiassetMultiAssets;3834 } & Struct;3835 readonly isInitiateReserveWithdraw: boolean;3836 readonly asInitiateReserveWithdraw: {3837 readonly assets: XcmV1MultiassetMultiAssetFilter;3838 readonly reserve: XcmV1MultiLocation;3839 readonly xcm: XcmV2Xcm;3840 } & Struct;3841 readonly isInitiateTeleport: boolean;3842 readonly asInitiateTeleport: {3843 readonly assets: XcmV1MultiassetMultiAssetFilter;3844 readonly dest: XcmV1MultiLocation;3845 readonly xcm: XcmV2Xcm;3846 } & Struct;3847 readonly isQueryHolding: boolean;3848 readonly asQueryHolding: {3849 readonly queryId: Compact<u64>;3850 readonly dest: XcmV1MultiLocation;3851 readonly assets: XcmV1MultiassetMultiAssetFilter;3852 readonly maxResponseWeight: Compact<u64>;3853 } & Struct;3854 readonly isBuyExecution: boolean;3855 readonly asBuyExecution: {3856 readonly fees: XcmV1MultiAsset;3857 readonly weightLimit: XcmV2WeightLimit;3858 } & Struct;3859 readonly isRefundSurplus: boolean;3860 readonly isSetErrorHandler: boolean;3861 readonly asSetErrorHandler: XcmV2Xcm;3862 readonly isSetAppendix: boolean;3863 readonly asSetAppendix: XcmV2Xcm;3864 readonly isClearError: boolean;3865 readonly isClaimAsset: boolean;3866 readonly asClaimAsset: {3867 readonly assets: XcmV1MultiassetMultiAssets;3868 readonly ticket: XcmV1MultiLocation;3869 } & Struct;3870 readonly isTrap: boolean;3871 readonly asTrap: Compact<u64>;3872 readonly isSubscribeVersion: boolean;3873 readonly asSubscribeVersion: {3874 readonly queryId: Compact<u64>;3875 readonly maxResponseWeight: Compact<u64>;3876 } & Struct;3877 readonly isUnsubscribeVersion: boolean;3878 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';3879}38803881/** @name XcmV2Response */3882export interface XcmV2Response extends Enum {3883 readonly isNull: boolean;3884 readonly isAssets: boolean;3885 readonly asAssets: XcmV1MultiassetMultiAssets;3886 readonly isExecutionResult: boolean;3887 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3888 readonly isVersion: boolean;3889 readonly asVersion: u32;3890 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3891}38923893/** @name XcmV2TraitsError */3894export interface XcmV2TraitsError extends Enum {3895 readonly isOverflow: boolean;3896 readonly isUnimplemented: boolean;3897 readonly isUntrustedReserveLocation: boolean;3898 readonly isUntrustedTeleportLocation: boolean;3899 readonly isMultiLocationFull: boolean;3900 readonly isMultiLocationNotInvertible: boolean;3901 readonly isBadOrigin: boolean;3902 readonly isInvalidLocation: boolean;3903 readonly isAssetNotFound: boolean;3904 readonly isFailedToTransactAsset: boolean;3905 readonly isNotWithdrawable: boolean;3906 readonly isLocationCannotHold: boolean;3907 readonly isExceedsMaxMessageSize: boolean;3908 readonly isDestinationUnsupported: boolean;3909 readonly isTransport: boolean;3910 readonly isUnroutable: boolean;3911 readonly isUnknownClaim: boolean;3912 readonly isFailedToDecode: boolean;3913 readonly isMaxWeightInvalid: boolean;3914 readonly isNotHoldingFees: boolean;3915 readonly isTooExpensive: boolean;3916 readonly isTrap: boolean;3917 readonly asTrap: u64;3918 readonly isUnhandledXcmVersion: boolean;3919 readonly isWeightLimitReached: boolean;3920 readonly asWeightLimitReached: u64;3921 readonly isBarrier: boolean;3922 readonly isWeightNotComputable: boolean;3923 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';3924}39253926/** @name XcmV2TraitsOutcome */3927export interface XcmV2TraitsOutcome extends Enum {3928 readonly isComplete: boolean;3929 readonly asComplete: u64;3930 readonly isIncomplete: boolean;3931 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3932 readonly isError: boolean;3933 readonly asError: XcmV2TraitsError;3934 readonly type: 'Complete' | 'Incomplete' | 'Error';3935}39363937/** @name XcmV2WeightLimit */3938export interface XcmV2WeightLimit extends Enum {3939 readonly isUnlimited: boolean;3940 readonly isLimited: boolean;3941 readonly asLimited: Compact<u64>;3942 readonly type: 'Unlimited' | 'Limited';3943}39443945/** @name XcmV2Xcm */3946export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}39473948/** @name XcmVersionedMultiAsset */3949export interface XcmVersionedMultiAsset extends Enum {3950 readonly isV0: boolean;3951 readonly asV0: XcmV0MultiAsset;3952 readonly isV1: boolean;3953 readonly asV1: XcmV1MultiAsset;3954 readonly type: 'V0' | 'V1';3955}39563957/** @name XcmVersionedMultiAssets */3958export interface XcmVersionedMultiAssets extends Enum {3959 readonly isV0: boolean;3960 readonly asV0: Vec<XcmV0MultiAsset>;3961 readonly isV1: boolean;3962 readonly asV1: XcmV1MultiassetMultiAssets;3963 readonly type: 'V0' | 'V1';3964}39653966/** @name XcmVersionedMultiLocation */3967export interface XcmVersionedMultiLocation extends Enum {3968 readonly isV0: boolean;3969 readonly asV0: XcmV0MultiLocation;3970 readonly isV1: boolean;3971 readonly asV1: XcmV1MultiLocation;3972 readonly type: 'V0' | 'V1';3973}39743975/** @name XcmVersionedXcm */3976export interface XcmVersionedXcm extends Enum {3977 readonly isV0: boolean;3978 readonly asV0: XcmV0Xcm;3979 readonly isV1: boolean;3980 readonly asV1: XcmV1Xcm;3981 readonly isV2: boolean;3982 readonly asV2: XcmV2Xcm;3983 readonly type: 'V0' | 'V1' | 'V2';3984}39853986export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { Data } from '@polkadot/types';5import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8import type { Event } from '@polkadot/types/interfaces/system';910/** @name CumulusPalletDmpQueueCall */11export interface CumulusPalletDmpQueueCall extends Enum {12 readonly isServiceOverweight: boolean;13 readonly asServiceOverweight: {14 readonly index: u64;15 readonly weightLimit: u64;16 } & Struct;17 readonly type: 'ServiceOverweight';18}1920/** @name CumulusPalletDmpQueueConfigData */21export interface CumulusPalletDmpQueueConfigData extends Struct {22 readonly maxIndividual: SpWeightsWeightV2Weight;23}2425/** @name CumulusPalletDmpQueueError */26export interface CumulusPalletDmpQueueError extends Enum {27 readonly isUnknown: boolean;28 readonly isOverLimit: boolean;29 readonly type: 'Unknown' | 'OverLimit';30}3132/** @name CumulusPalletDmpQueueEvent */33export interface CumulusPalletDmpQueueEvent extends Enum {34 readonly isInvalidFormat: boolean;35 readonly asInvalidFormat: {36 readonly messageId: U8aFixed;37 } & Struct;38 readonly isUnsupportedVersion: boolean;39 readonly asUnsupportedVersion: {40 readonly messageId: U8aFixed;41 } & Struct;42 readonly isExecutedDownward: boolean;43 readonly asExecutedDownward: {44 readonly messageId: U8aFixed;45 readonly outcome: XcmV2TraitsOutcome;46 } & Struct;47 readonly isWeightExhausted: boolean;48 readonly asWeightExhausted: {49 readonly messageId: U8aFixed;50 readonly remainingWeight: SpWeightsWeightV2Weight;51 readonly requiredWeight: SpWeightsWeightV2Weight;52 } & Struct;53 readonly isOverweightEnqueued: boolean;54 readonly asOverweightEnqueued: {55 readonly messageId: U8aFixed;56 readonly overweightIndex: u64;57 readonly requiredWeight: SpWeightsWeightV2Weight;58 } & Struct;59 readonly isOverweightServiced: boolean;60 readonly asOverweightServiced: {61 readonly overweightIndex: u64;62 readonly weightUsed: SpWeightsWeightV2Weight;63 } & Struct;64 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';65}6667/** @name CumulusPalletDmpQueuePageIndexData */68export interface CumulusPalletDmpQueuePageIndexData extends Struct {69 readonly beginUsed: u32;70 readonly endUsed: u32;71 readonly overweightCount: u64;72}7374/** @name CumulusPalletParachainSystemCall */75export interface CumulusPalletParachainSystemCall extends Enum {76 readonly isSetValidationData: boolean;77 readonly asSetValidationData: {78 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;79 } & Struct;80 readonly isSudoSendUpwardMessage: boolean;81 readonly asSudoSendUpwardMessage: {82 readonly message: Bytes;83 } & Struct;84 readonly isAuthorizeUpgrade: boolean;85 readonly asAuthorizeUpgrade: {86 readonly codeHash: H256;87 } & Struct;88 readonly isEnactAuthorizedUpgrade: boolean;89 readonly asEnactAuthorizedUpgrade: {90 readonly code: Bytes;91 } & Struct;92 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';93}9495/** @name CumulusPalletParachainSystemError */96export interface CumulusPalletParachainSystemError extends Enum {97 readonly isOverlappingUpgrades: boolean;98 readonly isProhibitedByPolkadot: boolean;99 readonly isTooBig: boolean;100 readonly isValidationDataNotAvailable: boolean;101 readonly isHostConfigurationNotAvailable: boolean;102 readonly isNotScheduled: boolean;103 readonly isNothingAuthorized: boolean;104 readonly isUnauthorized: boolean;105 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';106}107108/** @name CumulusPalletParachainSystemEvent */109export interface CumulusPalletParachainSystemEvent extends Enum {110 readonly isValidationFunctionStored: boolean;111 readonly isValidationFunctionApplied: boolean;112 readonly asValidationFunctionApplied: {113 readonly relayChainBlockNum: u32;114 } & Struct;115 readonly isValidationFunctionDiscarded: boolean;116 readonly isUpgradeAuthorized: boolean;117 readonly asUpgradeAuthorized: {118 readonly codeHash: H256;119 } & Struct;120 readonly isDownwardMessagesReceived: boolean;121 readonly asDownwardMessagesReceived: {122 readonly count: u32;123 } & Struct;124 readonly isDownwardMessagesProcessed: boolean;125 readonly asDownwardMessagesProcessed: {126 readonly weightUsed: SpWeightsWeightV2Weight;127 readonly dmqHead: H256;128 } & Struct;129 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';130}131132/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */133export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {134 readonly dmqMqcHead: H256;135 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;136 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;138}139140/** @name CumulusPalletXcmCall */141export interface CumulusPalletXcmCall extends Null {}142143/** @name CumulusPalletXcmError */144export interface CumulusPalletXcmError extends Null {}145146/** @name CumulusPalletXcmEvent */147export interface CumulusPalletXcmEvent extends Enum {148 readonly isInvalidFormat: boolean;149 readonly asInvalidFormat: U8aFixed;150 readonly isUnsupportedVersion: boolean;151 readonly asUnsupportedVersion: U8aFixed;152 readonly isExecutedDownward: boolean;153 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;154 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';155}156157/** @name CumulusPalletXcmpQueueCall */158export interface CumulusPalletXcmpQueueCall extends Enum {159 readonly isServiceOverweight: boolean;160 readonly asServiceOverweight: {161 readonly index: u64;162 readonly weightLimit: u64;163 } & Struct;164 readonly isSuspendXcmExecution: boolean;165 readonly isResumeXcmExecution: boolean;166 readonly isUpdateSuspendThreshold: boolean;167 readonly asUpdateSuspendThreshold: {168 readonly new_: u32;169 } & Struct;170 readonly isUpdateDropThreshold: boolean;171 readonly asUpdateDropThreshold: {172 readonly new_: u32;173 } & Struct;174 readonly isUpdateResumeThreshold: boolean;175 readonly asUpdateResumeThreshold: {176 readonly new_: u32;177 } & Struct;178 readonly isUpdateThresholdWeight: boolean;179 readonly asUpdateThresholdWeight: {180 readonly new_: u64;181 } & Struct;182 readonly isUpdateWeightRestrictDecay: boolean;183 readonly asUpdateWeightRestrictDecay: {184 readonly new_: u64;185 } & Struct;186 readonly isUpdateXcmpMaxIndividualWeight: boolean;187 readonly asUpdateXcmpMaxIndividualWeight: {188 readonly new_: u64;189 } & Struct;190 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';191}192193/** @name CumulusPalletXcmpQueueError */194export interface CumulusPalletXcmpQueueError extends Enum {195 readonly isFailedToSend: boolean;196 readonly isBadXcmOrigin: boolean;197 readonly isBadXcm: boolean;198 readonly isBadOverweightIndex: boolean;199 readonly isWeightOverLimit: boolean;200 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';201}202203/** @name CumulusPalletXcmpQueueEvent */204export interface CumulusPalletXcmpQueueEvent extends Enum {205 readonly isSuccess: boolean;206 readonly asSuccess: {207 readonly messageHash: Option<H256>;208 readonly weight: SpWeightsWeightV2Weight;209 } & Struct;210 readonly isFail: boolean;211 readonly asFail: {212 readonly messageHash: Option<H256>;213 readonly error: XcmV2TraitsError;214 readonly weight: SpWeightsWeightV2Weight;215 } & Struct;216 readonly isBadVersion: boolean;217 readonly asBadVersion: {218 readonly messageHash: Option<H256>;219 } & Struct;220 readonly isBadFormat: boolean;221 readonly asBadFormat: {222 readonly messageHash: Option<H256>;223 } & Struct;224 readonly isUpwardMessageSent: boolean;225 readonly asUpwardMessageSent: {226 readonly messageHash: Option<H256>;227 } & Struct;228 readonly isXcmpMessageSent: boolean;229 readonly asXcmpMessageSent: {230 readonly messageHash: Option<H256>;231 } & Struct;232 readonly isOverweightEnqueued: boolean;233 readonly asOverweightEnqueued: {234 readonly sender: u32;235 readonly sentAt: u32;236 readonly index: u64;237 readonly required: SpWeightsWeightV2Weight;238 } & Struct;239 readonly isOverweightServiced: boolean;240 readonly asOverweightServiced: {241 readonly index: u64;242 readonly used: SpWeightsWeightV2Weight;243 } & Struct;244 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';245}246247/** @name CumulusPalletXcmpQueueInboundChannelDetails */248export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {249 readonly sender: u32;250 readonly state: CumulusPalletXcmpQueueInboundState;251 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;252}253254/** @name CumulusPalletXcmpQueueInboundState */255export interface CumulusPalletXcmpQueueInboundState extends Enum {256 readonly isOk: boolean;257 readonly isSuspended: boolean;258 readonly type: 'Ok' | 'Suspended';259}260261/** @name CumulusPalletXcmpQueueOutboundChannelDetails */262export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {263 readonly recipient: u32;264 readonly state: CumulusPalletXcmpQueueOutboundState;265 readonly signalsExist: bool;266 readonly firstIndex: u16;267 readonly lastIndex: u16;268}269270/** @name CumulusPalletXcmpQueueOutboundState */271export interface CumulusPalletXcmpQueueOutboundState extends Enum {272 readonly isOk: boolean;273 readonly isSuspended: boolean;274 readonly type: 'Ok' | 'Suspended';275}276277/** @name CumulusPalletXcmpQueueQueueConfigData */278export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {279 readonly suspendThreshold: u32;280 readonly dropThreshold: u32;281 readonly resumeThreshold: u32;282 readonly thresholdWeight: SpWeightsWeightV2Weight;283 readonly weightRestrictDecay: SpWeightsWeightV2Weight;284 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;285}286287/** @name CumulusPrimitivesParachainInherentParachainInherentData */288export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {289 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;290 readonly relayChainState: SpTrieStorageProof;291 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;292 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;293}294295/** @name EthbloomBloom */296export interface EthbloomBloom extends U8aFixed {}297298/** @name EthereumBlock */299export interface EthereumBlock extends Struct {300 readonly header: EthereumHeader;301 readonly transactions: Vec<EthereumTransactionTransactionV2>;302 readonly ommers: Vec<EthereumHeader>;303}304305/** @name EthereumHeader */306export interface EthereumHeader extends Struct {307 readonly parentHash: H256;308 readonly ommersHash: H256;309 readonly beneficiary: H160;310 readonly stateRoot: H256;311 readonly transactionsRoot: H256;312 readonly receiptsRoot: H256;313 readonly logsBloom: EthbloomBloom;314 readonly difficulty: U256;315 readonly number: U256;316 readonly gasLimit: U256;317 readonly gasUsed: U256;318 readonly timestamp: u64;319 readonly extraData: Bytes;320 readonly mixHash: H256;321 readonly nonce: EthereumTypesHashH64;322}323324/** @name EthereumLog */325export interface EthereumLog extends Struct {326 readonly address: H160;327 readonly topics: Vec<H256>;328 readonly data: Bytes;329}330331/** @name EthereumReceiptEip658ReceiptData */332export interface EthereumReceiptEip658ReceiptData extends Struct {333 readonly statusCode: u8;334 readonly usedGas: U256;335 readonly logsBloom: EthbloomBloom;336 readonly logs: Vec<EthereumLog>;337}338339/** @name EthereumReceiptReceiptV3 */340export interface EthereumReceiptReceiptV3 extends Enum {341 readonly isLegacy: boolean;342 readonly asLegacy: EthereumReceiptEip658ReceiptData;343 readonly isEip2930: boolean;344 readonly asEip2930: EthereumReceiptEip658ReceiptData;345 readonly isEip1559: boolean;346 readonly asEip1559: EthereumReceiptEip658ReceiptData;347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';348}349350/** @name EthereumTransactionAccessListItem */351export interface EthereumTransactionAccessListItem extends Struct {352 readonly address: H160;353 readonly storageKeys: Vec<H256>;354}355356/** @name EthereumTransactionEip1559Transaction */357export interface EthereumTransactionEip1559Transaction extends Struct {358 readonly chainId: u64;359 readonly nonce: U256;360 readonly maxPriorityFeePerGas: U256;361 readonly maxFeePerGas: U256;362 readonly gasLimit: U256;363 readonly action: EthereumTransactionTransactionAction;364 readonly value: U256;365 readonly input: Bytes;366 readonly accessList: Vec<EthereumTransactionAccessListItem>;367 readonly oddYParity: bool;368 readonly r: H256;369 readonly s: H256;370}371372/** @name EthereumTransactionEip2930Transaction */373export interface EthereumTransactionEip2930Transaction extends Struct {374 readonly chainId: u64;375 readonly nonce: U256;376 readonly gasPrice: U256;377 readonly gasLimit: U256;378 readonly action: EthereumTransactionTransactionAction;379 readonly value: U256;380 readonly input: Bytes;381 readonly accessList: Vec<EthereumTransactionAccessListItem>;382 readonly oddYParity: bool;383 readonly r: H256;384 readonly s: H256;385}386387/** @name EthereumTransactionLegacyTransaction */388export interface EthereumTransactionLegacyTransaction extends Struct {389 readonly nonce: U256;390 readonly gasPrice: U256;391 readonly gasLimit: U256;392 readonly action: EthereumTransactionTransactionAction;393 readonly value: U256;394 readonly input: Bytes;395 readonly signature: EthereumTransactionTransactionSignature;396}397398/** @name EthereumTransactionTransactionAction */399export interface EthereumTransactionTransactionAction extends Enum {400 readonly isCall: boolean;401 readonly asCall: H160;402 readonly isCreate: boolean;403 readonly type: 'Call' | 'Create';404}405406/** @name EthereumTransactionTransactionSignature */407export interface EthereumTransactionTransactionSignature extends Struct {408 readonly v: u64;409 readonly r: H256;410 readonly s: H256;411}412413/** @name EthereumTransactionTransactionV2 */414export interface EthereumTransactionTransactionV2 extends Enum {415 readonly isLegacy: boolean;416 readonly asLegacy: EthereumTransactionLegacyTransaction;417 readonly isEip2930: boolean;418 readonly asEip2930: EthereumTransactionEip2930Transaction;419 readonly isEip1559: boolean;420 readonly asEip1559: EthereumTransactionEip1559Transaction;421 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';422}423424/** @name EthereumTypesHashH64 */425export interface EthereumTypesHashH64 extends U8aFixed {}426427/** @name EvmCoreErrorExitError */428export interface EvmCoreErrorExitError extends Enum {429 readonly isStackUnderflow: boolean;430 readonly isStackOverflow: boolean;431 readonly isInvalidJump: boolean;432 readonly isInvalidRange: boolean;433 readonly isDesignatedInvalid: boolean;434 readonly isCallTooDeep: boolean;435 readonly isCreateCollision: boolean;436 readonly isCreateContractLimit: boolean;437 readonly isOutOfOffset: boolean;438 readonly isOutOfGas: boolean;439 readonly isOutOfFund: boolean;440 readonly isPcUnderflow: boolean;441 readonly isCreateEmpty: boolean;442 readonly isOther: boolean;443 readonly asOther: Text;444 readonly isInvalidCode: boolean;445 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';446}447448/** @name EvmCoreErrorExitFatal */449export interface EvmCoreErrorExitFatal extends Enum {450 readonly isNotSupported: boolean;451 readonly isUnhandledInterrupt: boolean;452 readonly isCallErrorAsFatal: boolean;453 readonly asCallErrorAsFatal: EvmCoreErrorExitError;454 readonly isOther: boolean;455 readonly asOther: Text;456 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';457}458459/** @name EvmCoreErrorExitReason */460export interface EvmCoreErrorExitReason extends Enum {461 readonly isSucceed: boolean;462 readonly asSucceed: EvmCoreErrorExitSucceed;463 readonly isError: boolean;464 readonly asError: EvmCoreErrorExitError;465 readonly isRevert: boolean;466 readonly asRevert: EvmCoreErrorExitRevert;467 readonly isFatal: boolean;468 readonly asFatal: EvmCoreErrorExitFatal;469 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';470}471472/** @name EvmCoreErrorExitRevert */473export interface EvmCoreErrorExitRevert extends Enum {474 readonly isReverted: boolean;475 readonly type: 'Reverted';476}477478/** @name EvmCoreErrorExitSucceed */479export interface EvmCoreErrorExitSucceed extends Enum {480 readonly isStopped: boolean;481 readonly isReturned: boolean;482 readonly isSuicided: boolean;483 readonly type: 'Stopped' | 'Returned' | 'Suicided';484}485486/** @name FpRpcTransactionStatus */487export interface FpRpcTransactionStatus extends Struct {488 readonly transactionHash: H256;489 readonly transactionIndex: u32;490 readonly from: H160;491 readonly to: Option<H160>;492 readonly contractAddress: Option<H160>;493 readonly logs: Vec<EthereumLog>;494 readonly logsBloom: EthbloomBloom;495}496497/** @name FrameSupportDispatchDispatchClass */498export interface FrameSupportDispatchDispatchClass extends Enum {499 readonly isNormal: boolean;500 readonly isOperational: boolean;501 readonly isMandatory: boolean;502 readonly type: 'Normal' | 'Operational' | 'Mandatory';503}504505/** @name FrameSupportDispatchDispatchInfo */506export interface FrameSupportDispatchDispatchInfo extends Struct {507 readonly weight: SpWeightsWeightV2Weight;508 readonly class: FrameSupportDispatchDispatchClass;509 readonly paysFee: FrameSupportDispatchPays;510}511512/** @name FrameSupportDispatchPays */513export interface FrameSupportDispatchPays extends Enum {514 readonly isYes: boolean;515 readonly isNo: boolean;516 readonly type: 'Yes' | 'No';517}518519/** @name FrameSupportDispatchPerDispatchClassU32 */520export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {521 readonly normal: u32;522 readonly operational: u32;523 readonly mandatory: u32;524}525526/** @name FrameSupportDispatchPerDispatchClassWeight */527export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {528 readonly normal: SpWeightsWeightV2Weight;529 readonly operational: SpWeightsWeightV2Weight;530 readonly mandatory: SpWeightsWeightV2Weight;531}532533/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */534export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {535 readonly normal: FrameSystemLimitsWeightsPerClass;536 readonly operational: FrameSystemLimitsWeightsPerClass;537 readonly mandatory: FrameSystemLimitsWeightsPerClass;538}539540/** @name FrameSupportPalletId */541export interface FrameSupportPalletId extends U8aFixed {}542543/** @name FrameSupportTokensMiscBalanceStatus */544export interface FrameSupportTokensMiscBalanceStatus extends Enum {545 readonly isFree: boolean;546 readonly isReserved: boolean;547 readonly type: 'Free' | 'Reserved';548}549550/** @name FrameSystemAccountInfo */551export interface FrameSystemAccountInfo extends Struct {552 readonly nonce: u32;553 readonly consumers: u32;554 readonly providers: u32;555 readonly sufficients: u32;556 readonly data: PalletBalancesAccountData;557}558559/** @name FrameSystemCall */560export interface FrameSystemCall extends Enum {561 readonly isFillBlock: boolean;562 readonly asFillBlock: {563 readonly ratio: Perbill;564 } & Struct;565 readonly isRemark: boolean;566 readonly asRemark: {567 readonly remark: Bytes;568 } & Struct;569 readonly isSetHeapPages: boolean;570 readonly asSetHeapPages: {571 readonly pages: u64;572 } & Struct;573 readonly isSetCode: boolean;574 readonly asSetCode: {575 readonly code: Bytes;576 } & Struct;577 readonly isSetCodeWithoutChecks: boolean;578 readonly asSetCodeWithoutChecks: {579 readonly code: Bytes;580 } & Struct;581 readonly isSetStorage: boolean;582 readonly asSetStorage: {583 readonly items: Vec<ITuple<[Bytes, Bytes]>>;584 } & Struct;585 readonly isKillStorage: boolean;586 readonly asKillStorage: {587 readonly keys_: Vec<Bytes>;588 } & Struct;589 readonly isKillPrefix: boolean;590 readonly asKillPrefix: {591 readonly prefix: Bytes;592 readonly subkeys: u32;593 } & Struct;594 readonly isRemarkWithEvent: boolean;595 readonly asRemarkWithEvent: {596 readonly remark: Bytes;597 } & Struct;598 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';599}600601/** @name FrameSystemError */602export interface FrameSystemError extends Enum {603 readonly isInvalidSpecName: boolean;604 readonly isSpecVersionNeedsToIncrease: boolean;605 readonly isFailedToExtractRuntimeVersion: boolean;606 readonly isNonDefaultComposite: boolean;607 readonly isNonZeroRefCount: boolean;608 readonly isCallFiltered: boolean;609 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';610}611612/** @name FrameSystemEvent */613export interface FrameSystemEvent extends Enum {614 readonly isExtrinsicSuccess: boolean;615 readonly asExtrinsicSuccess: {616 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;617 } & Struct;618 readonly isExtrinsicFailed: boolean;619 readonly asExtrinsicFailed: {620 readonly dispatchError: SpRuntimeDispatchError;621 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;622 } & Struct;623 readonly isCodeUpdated: boolean;624 readonly isNewAccount: boolean;625 readonly asNewAccount: {626 readonly account: AccountId32;627 } & Struct;628 readonly isKilledAccount: boolean;629 readonly asKilledAccount: {630 readonly account: AccountId32;631 } & Struct;632 readonly isRemarked: boolean;633 readonly asRemarked: {634 readonly sender: AccountId32;635 readonly hash_: H256;636 } & Struct;637 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';638}639640/** @name FrameSystemEventRecord */641export interface FrameSystemEventRecord extends Struct {642 readonly phase: FrameSystemPhase;643 readonly event: Event;644 readonly topics: Vec<H256>;645}646647/** @name FrameSystemExtensionsCheckGenesis */648export interface FrameSystemExtensionsCheckGenesis extends Null {}649650/** @name FrameSystemExtensionsCheckNonce */651export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}652653/** @name FrameSystemExtensionsCheckSpecVersion */654export interface FrameSystemExtensionsCheckSpecVersion extends Null {}655656/** @name FrameSystemExtensionsCheckTxVersion */657export interface FrameSystemExtensionsCheckTxVersion extends Null {}658659/** @name FrameSystemExtensionsCheckWeight */660export interface FrameSystemExtensionsCheckWeight extends Null {}661662/** @name FrameSystemLastRuntimeUpgradeInfo */663export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {664 readonly specVersion: Compact<u32>;665 readonly specName: Text;666}667668/** @name FrameSystemLimitsBlockLength */669export interface FrameSystemLimitsBlockLength extends Struct {670 readonly max: FrameSupportDispatchPerDispatchClassU32;671}672673/** @name FrameSystemLimitsBlockWeights */674export interface FrameSystemLimitsBlockWeights extends Struct {675 readonly baseBlock: SpWeightsWeightV2Weight;676 readonly maxBlock: SpWeightsWeightV2Weight;677 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;678}679680/** @name FrameSystemLimitsWeightsPerClass */681export interface FrameSystemLimitsWeightsPerClass extends Struct {682 readonly baseExtrinsic: SpWeightsWeightV2Weight;683 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;684 readonly maxTotal: Option<SpWeightsWeightV2Weight>;685 readonly reserved: Option<SpWeightsWeightV2Weight>;686}687688/** @name FrameSystemPhase */689export interface FrameSystemPhase extends Enum {690 readonly isApplyExtrinsic: boolean;691 readonly asApplyExtrinsic: u32;692 readonly isFinalization: boolean;693 readonly isInitialization: boolean;694 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';695}696697/** @name OpalRuntimeRuntime */698export interface OpalRuntimeRuntime extends Null {}699700/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */701export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}702703/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */704export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}705706/** @name OpalRuntimeRuntimeCommonSessionKeys */707export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {708 readonly aura: SpConsensusAuraSr25519AppSr25519Public;709}710711/** @name OrmlTokensAccountData */712export interface OrmlTokensAccountData extends Struct {713 readonly free: u128;714 readonly reserved: u128;715 readonly frozen: u128;716}717718/** @name OrmlTokensBalanceLock */719export interface OrmlTokensBalanceLock extends Struct {720 readonly id: U8aFixed;721 readonly amount: u128;722}723724/** @name OrmlTokensModuleCall */725export interface OrmlTokensModuleCall extends Enum {726 readonly isTransfer: boolean;727 readonly asTransfer: {728 readonly dest: MultiAddress;729 readonly currencyId: PalletForeignAssetsAssetIds;730 readonly amount: Compact<u128>;731 } & Struct;732 readonly isTransferAll: boolean;733 readonly asTransferAll: {734 readonly dest: MultiAddress;735 readonly currencyId: PalletForeignAssetsAssetIds;736 readonly keepAlive: bool;737 } & Struct;738 readonly isTransferKeepAlive: boolean;739 readonly asTransferKeepAlive: {740 readonly dest: MultiAddress;741 readonly currencyId: PalletForeignAssetsAssetIds;742 readonly amount: Compact<u128>;743 } & Struct;744 readonly isForceTransfer: boolean;745 readonly asForceTransfer: {746 readonly source: MultiAddress;747 readonly dest: MultiAddress;748 readonly currencyId: PalletForeignAssetsAssetIds;749 readonly amount: Compact<u128>;750 } & Struct;751 readonly isSetBalance: boolean;752 readonly asSetBalance: {753 readonly who: MultiAddress;754 readonly currencyId: PalletForeignAssetsAssetIds;755 readonly newFree: Compact<u128>;756 readonly newReserved: Compact<u128>;757 } & Struct;758 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';759}760761/** @name OrmlTokensModuleError */762export interface OrmlTokensModuleError extends Enum {763 readonly isBalanceTooLow: boolean;764 readonly isAmountIntoBalanceFailed: boolean;765 readonly isLiquidityRestrictions: boolean;766 readonly isMaxLocksExceeded: boolean;767 readonly isKeepAlive: boolean;768 readonly isExistentialDeposit: boolean;769 readonly isDeadAccount: boolean;770 readonly isTooManyReserves: boolean;771 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';772}773774/** @name OrmlTokensModuleEvent */775export interface OrmlTokensModuleEvent extends Enum {776 readonly isEndowed: boolean;777 readonly asEndowed: {778 readonly currencyId: PalletForeignAssetsAssetIds;779 readonly who: AccountId32;780 readonly amount: u128;781 } & Struct;782 readonly isDustLost: boolean;783 readonly asDustLost: {784 readonly currencyId: PalletForeignAssetsAssetIds;785 readonly who: AccountId32;786 readonly amount: u128;787 } & Struct;788 readonly isTransfer: boolean;789 readonly asTransfer: {790 readonly currencyId: PalletForeignAssetsAssetIds;791 readonly from: AccountId32;792 readonly to: AccountId32;793 readonly amount: u128;794 } & Struct;795 readonly isReserved: boolean;796 readonly asReserved: {797 readonly currencyId: PalletForeignAssetsAssetIds;798 readonly who: AccountId32;799 readonly amount: u128;800 } & Struct;801 readonly isUnreserved: boolean;802 readonly asUnreserved: {803 readonly currencyId: PalletForeignAssetsAssetIds;804 readonly who: AccountId32;805 readonly amount: u128;806 } & Struct;807 readonly isReserveRepatriated: boolean;808 readonly asReserveRepatriated: {809 readonly currencyId: PalletForeignAssetsAssetIds;810 readonly from: AccountId32;811 readonly to: AccountId32;812 readonly amount: u128;813 readonly status: FrameSupportTokensMiscBalanceStatus;814 } & Struct;815 readonly isBalanceSet: boolean;816 readonly asBalanceSet: {817 readonly currencyId: PalletForeignAssetsAssetIds;818 readonly who: AccountId32;819 readonly free: u128;820 readonly reserved: u128;821 } & Struct;822 readonly isTotalIssuanceSet: boolean;823 readonly asTotalIssuanceSet: {824 readonly currencyId: PalletForeignAssetsAssetIds;825 readonly amount: u128;826 } & Struct;827 readonly isWithdrawn: boolean;828 readonly asWithdrawn: {829 readonly currencyId: PalletForeignAssetsAssetIds;830 readonly who: AccountId32;831 readonly amount: u128;832 } & Struct;833 readonly isSlashed: boolean;834 readonly asSlashed: {835 readonly currencyId: PalletForeignAssetsAssetIds;836 readonly who: AccountId32;837 readonly freeAmount: u128;838 readonly reservedAmount: u128;839 } & Struct;840 readonly isDeposited: boolean;841 readonly asDeposited: {842 readonly currencyId: PalletForeignAssetsAssetIds;843 readonly who: AccountId32;844 readonly amount: u128;845 } & Struct;846 readonly isLockSet: boolean;847 readonly asLockSet: {848 readonly lockId: U8aFixed;849 readonly currencyId: PalletForeignAssetsAssetIds;850 readonly who: AccountId32;851 readonly amount: u128;852 } & Struct;853 readonly isLockRemoved: boolean;854 readonly asLockRemoved: {855 readonly lockId: U8aFixed;856 readonly currencyId: PalletForeignAssetsAssetIds;857 readonly who: AccountId32;858 } & Struct;859 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';860}861862/** @name OrmlTokensReserveData */863export interface OrmlTokensReserveData extends Struct {864 readonly id: Null;865 readonly amount: u128;866}867868/** @name OrmlVestingModuleCall */869export interface OrmlVestingModuleCall extends Enum {870 readonly isClaim: boolean;871 readonly isVestedTransfer: boolean;872 readonly asVestedTransfer: {873 readonly dest: MultiAddress;874 readonly schedule: OrmlVestingVestingSchedule;875 } & Struct;876 readonly isUpdateVestingSchedules: boolean;877 readonly asUpdateVestingSchedules: {878 readonly who: MultiAddress;879 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;880 } & Struct;881 readonly isClaimFor: boolean;882 readonly asClaimFor: {883 readonly dest: MultiAddress;884 } & Struct;885 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';886}887888/** @name OrmlVestingModuleError */889export interface OrmlVestingModuleError extends Enum {890 readonly isZeroVestingPeriod: boolean;891 readonly isZeroVestingPeriodCount: boolean;892 readonly isInsufficientBalanceToLock: boolean;893 readonly isTooManyVestingSchedules: boolean;894 readonly isAmountLow: boolean;895 readonly isMaxVestingSchedulesExceeded: boolean;896 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';897}898899/** @name OrmlVestingModuleEvent */900export interface OrmlVestingModuleEvent extends Enum {901 readonly isVestingScheduleAdded: boolean;902 readonly asVestingScheduleAdded: {903 readonly from: AccountId32;904 readonly to: AccountId32;905 readonly vestingSchedule: OrmlVestingVestingSchedule;906 } & Struct;907 readonly isClaimed: boolean;908 readonly asClaimed: {909 readonly who: AccountId32;910 readonly amount: u128;911 } & Struct;912 readonly isVestingSchedulesUpdated: boolean;913 readonly asVestingSchedulesUpdated: {914 readonly who: AccountId32;915 } & Struct;916 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';917}918919/** @name OrmlVestingVestingSchedule */920export interface OrmlVestingVestingSchedule extends Struct {921 readonly start: u32;922 readonly period: u32;923 readonly periodCount: u32;924 readonly perPeriod: Compact<u128>;925}926927/** @name OrmlXtokensModuleCall */928export interface OrmlXtokensModuleCall extends Enum {929 readonly isTransfer: boolean;930 readonly asTransfer: {931 readonly currencyId: PalletForeignAssetsAssetIds;932 readonly amount: u128;933 readonly dest: XcmVersionedMultiLocation;934 readonly destWeightLimit: XcmV2WeightLimit;935 } & Struct;936 readonly isTransferMultiasset: boolean;937 readonly asTransferMultiasset: {938 readonly asset: XcmVersionedMultiAsset;939 readonly dest: XcmVersionedMultiLocation;940 readonly destWeightLimit: XcmV2WeightLimit;941 } & Struct;942 readonly isTransferWithFee: boolean;943 readonly asTransferWithFee: {944 readonly currencyId: PalletForeignAssetsAssetIds;945 readonly amount: u128;946 readonly fee: u128;947 readonly dest: XcmVersionedMultiLocation;948 readonly destWeightLimit: XcmV2WeightLimit;949 } & Struct;950 readonly isTransferMultiassetWithFee: boolean;951 readonly asTransferMultiassetWithFee: {952 readonly asset: XcmVersionedMultiAsset;953 readonly fee: XcmVersionedMultiAsset;954 readonly dest: XcmVersionedMultiLocation;955 readonly destWeightLimit: XcmV2WeightLimit;956 } & Struct;957 readonly isTransferMulticurrencies: boolean;958 readonly asTransferMulticurrencies: {959 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;960 readonly feeItem: u32;961 readonly dest: XcmVersionedMultiLocation;962 readonly destWeightLimit: XcmV2WeightLimit;963 } & Struct;964 readonly isTransferMultiassets: boolean;965 readonly asTransferMultiassets: {966 readonly assets: XcmVersionedMultiAssets;967 readonly feeItem: u32;968 readonly dest: XcmVersionedMultiLocation;969 readonly destWeightLimit: XcmV2WeightLimit;970 } & Struct;971 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';972}973974/** @name OrmlXtokensModuleError */975export interface OrmlXtokensModuleError extends Enum {976 readonly isAssetHasNoReserve: boolean;977 readonly isNotCrossChainTransfer: boolean;978 readonly isInvalidDest: boolean;979 readonly isNotCrossChainTransferableCurrency: boolean;980 readonly isUnweighableMessage: boolean;981 readonly isXcmExecutionFailed: boolean;982 readonly isCannotReanchor: boolean;983 readonly isInvalidAncestry: boolean;984 readonly isInvalidAsset: boolean;985 readonly isDestinationNotInvertible: boolean;986 readonly isBadVersion: boolean;987 readonly isDistinctReserveForAssetAndFee: boolean;988 readonly isZeroFee: boolean;989 readonly isZeroAmount: boolean;990 readonly isTooManyAssetsBeingSent: boolean;991 readonly isAssetIndexNonExistent: boolean;992 readonly isFeeNotEnough: boolean;993 readonly isNotSupportedMultiLocation: boolean;994 readonly isMinXcmFeeNotDefined: boolean;995 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';996}997998/** @name OrmlXtokensModuleEvent */999export interface OrmlXtokensModuleEvent extends Enum {1000 readonly isTransferredMultiAssets: boolean;1001 readonly asTransferredMultiAssets: {1002 readonly sender: AccountId32;1003 readonly assets: XcmV1MultiassetMultiAssets;1004 readonly fee: XcmV1MultiAsset;1005 readonly dest: XcmV1MultiLocation;1006 } & Struct;1007 readonly type: 'TransferredMultiAssets';1008}10091010/** @name PalletAppPromotionCall */1011export interface PalletAppPromotionCall extends Enum {1012 readonly isSetAdminAddress: boolean;1013 readonly asSetAdminAddress: {1014 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1015 } & Struct;1016 readonly isStake: boolean;1017 readonly asStake: {1018 readonly amount: u128;1019 } & Struct;1020 readonly isUnstake: boolean;1021 readonly isSponsorCollection: boolean;1022 readonly asSponsorCollection: {1023 readonly collectionId: u32;1024 } & Struct;1025 readonly isStopSponsoringCollection: boolean;1026 readonly asStopSponsoringCollection: {1027 readonly collectionId: u32;1028 } & Struct;1029 readonly isSponsorContract: boolean;1030 readonly asSponsorContract: {1031 readonly contractId: H160;1032 } & Struct;1033 readonly isStopSponsoringContract: boolean;1034 readonly asStopSponsoringContract: {1035 readonly contractId: H160;1036 } & Struct;1037 readonly isPayoutStakers: boolean;1038 readonly asPayoutStakers: {1039 readonly stakersNumber: Option<u8>;1040 } & Struct;1041 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1042}10431044/** @name PalletAppPromotionError */1045export interface PalletAppPromotionError extends Enum {1046 readonly isAdminNotSet: boolean;1047 readonly isNoPermission: boolean;1048 readonly isNotSufficientFunds: boolean;1049 readonly isPendingForBlockOverflow: boolean;1050 readonly isSponsorNotSet: boolean;1051 readonly isIncorrectLockedBalanceOperation: boolean;1052 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1053}10541055/** @name PalletAppPromotionEvent */1056export interface PalletAppPromotionEvent extends Enum {1057 readonly isStakingRecalculation: boolean;1058 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1059 readonly isStake: boolean;1060 readonly asStake: ITuple<[AccountId32, u128]>;1061 readonly isUnstake: boolean;1062 readonly asUnstake: ITuple<[AccountId32, u128]>;1063 readonly isSetAdmin: boolean;1064 readonly asSetAdmin: AccountId32;1065 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1066}10671068/** @name PalletAuthorshipCall */1069export interface PalletAuthorshipCall extends Enum {1070 readonly isSetUncles: boolean;1071 readonly asSetUncles: {1072 readonly newUncles: Vec<SpRuntimeHeader>;1073 } & Struct;1074 readonly type: 'SetUncles';1075}10761077/** @name PalletAuthorshipError */1078export interface PalletAuthorshipError extends Enum {1079 readonly isInvalidUncleParent: boolean;1080 readonly isUnclesAlreadySet: boolean;1081 readonly isTooManyUncles: boolean;1082 readonly isGenesisUncle: boolean;1083 readonly isTooHighUncle: boolean;1084 readonly isUncleAlreadyIncluded: boolean;1085 readonly isOldUncle: boolean;1086 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1087}10881089/** @name PalletAuthorshipUncleEntryItem */1090export interface PalletAuthorshipUncleEntryItem extends Enum {1091 readonly isInclusionHeight: boolean;1092 readonly asInclusionHeight: u32;1093 readonly isUncle: boolean;1094 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1095 readonly type: 'InclusionHeight' | 'Uncle';1096}10971098/** @name PalletBalancesAccountData */1099export interface PalletBalancesAccountData extends Struct {1100 readonly free: u128;1101 readonly reserved: u128;1102 readonly miscFrozen: u128;1103 readonly feeFrozen: u128;1104}11051106/** @name PalletBalancesBalanceLock */1107export interface PalletBalancesBalanceLock extends Struct {1108 readonly id: U8aFixed;1109 readonly amount: u128;1110 readonly reasons: PalletBalancesReasons;1111}11121113/** @name PalletBalancesCall */1114export interface PalletBalancesCall extends Enum {1115 readonly isTransfer: boolean;1116 readonly asTransfer: {1117 readonly dest: MultiAddress;1118 readonly value: Compact<u128>;1119 } & Struct;1120 readonly isSetBalance: boolean;1121 readonly asSetBalance: {1122 readonly who: MultiAddress;1123 readonly newFree: Compact<u128>;1124 readonly newReserved: Compact<u128>;1125 } & Struct;1126 readonly isForceTransfer: boolean;1127 readonly asForceTransfer: {1128 readonly source: MultiAddress;1129 readonly dest: MultiAddress;1130 readonly value: Compact<u128>;1131 } & Struct;1132 readonly isTransferKeepAlive: boolean;1133 readonly asTransferKeepAlive: {1134 readonly dest: MultiAddress;1135 readonly value: Compact<u128>;1136 } & Struct;1137 readonly isTransferAll: boolean;1138 readonly asTransferAll: {1139 readonly dest: MultiAddress;1140 readonly keepAlive: bool;1141 } & Struct;1142 readonly isForceUnreserve: boolean;1143 readonly asForceUnreserve: {1144 readonly who: MultiAddress;1145 readonly amount: u128;1146 } & Struct;1147 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1148}11491150/** @name PalletBalancesError */1151export interface PalletBalancesError extends Enum {1152 readonly isVestingBalance: boolean;1153 readonly isLiquidityRestrictions: boolean;1154 readonly isInsufficientBalance: boolean;1155 readonly isExistentialDeposit: boolean;1156 readonly isKeepAlive: boolean;1157 readonly isExistingVestingSchedule: boolean;1158 readonly isDeadAccount: boolean;1159 readonly isTooManyReserves: boolean;1160 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1161}11621163/** @name PalletBalancesEvent */1164export interface PalletBalancesEvent extends Enum {1165 readonly isEndowed: boolean;1166 readonly asEndowed: {1167 readonly account: AccountId32;1168 readonly freeBalance: u128;1169 } & Struct;1170 readonly isDustLost: boolean;1171 readonly asDustLost: {1172 readonly account: AccountId32;1173 readonly amount: u128;1174 } & Struct;1175 readonly isTransfer: boolean;1176 readonly asTransfer: {1177 readonly from: AccountId32;1178 readonly to: AccountId32;1179 readonly amount: u128;1180 } & Struct;1181 readonly isBalanceSet: boolean;1182 readonly asBalanceSet: {1183 readonly who: AccountId32;1184 readonly free: u128;1185 readonly reserved: u128;1186 } & Struct;1187 readonly isReserved: boolean;1188 readonly asReserved: {1189 readonly who: AccountId32;1190 readonly amount: u128;1191 } & Struct;1192 readonly isUnreserved: boolean;1193 readonly asUnreserved: {1194 readonly who: AccountId32;1195 readonly amount: u128;1196 } & Struct;1197 readonly isReserveRepatriated: boolean;1198 readonly asReserveRepatriated: {1199 readonly from: AccountId32;1200 readonly to: AccountId32;1201 readonly amount: u128;1202 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1203 } & Struct;1204 readonly isDeposit: boolean;1205 readonly asDeposit: {1206 readonly who: AccountId32;1207 readonly amount: u128;1208 } & Struct;1209 readonly isWithdraw: boolean;1210 readonly asWithdraw: {1211 readonly who: AccountId32;1212 readonly amount: u128;1213 } & Struct;1214 readonly isSlashed: boolean;1215 readonly asSlashed: {1216 readonly who: AccountId32;1217 readonly amount: u128;1218 } & Struct;1219 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1220}12211222/** @name PalletBalancesReasons */1223export interface PalletBalancesReasons extends Enum {1224 readonly isFee: boolean;1225 readonly isMisc: boolean;1226 readonly isAll: boolean;1227 readonly type: 'Fee' | 'Misc' | 'All';1228}12291230/** @name PalletBalancesReleases */1231export interface PalletBalancesReleases extends Enum {1232 readonly isV100: boolean;1233 readonly isV200: boolean;1234 readonly type: 'V100' | 'V200';1235}12361237/** @name PalletBalancesReserveData */1238export interface PalletBalancesReserveData extends Struct {1239 readonly id: U8aFixed;1240 readonly amount: u128;1241}12421243/** @name PalletCollatorSelectionCall */1244export interface PalletCollatorSelectionCall extends Enum {1245 readonly isAddInvulnerable: boolean;1246 readonly asAddInvulnerable: {1247 readonly new_: AccountId32;1248 } & Struct;1249 readonly isRemoveInvulnerable: boolean;1250 readonly asRemoveInvulnerable: {1251 readonly who: AccountId32;1252 } & Struct;1253 readonly isGetLicense: boolean;1254 readonly isOnboard: boolean;1255 readonly isOffboard: boolean;1256 readonly isReleaseLicense: boolean;1257 readonly isForceRevokeLicense: boolean;1258 readonly asForceRevokeLicense: {1259 readonly who: AccountId32;1260 } & Struct;1261 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';1262}12631264/** @name PalletCollatorSelectionError */1265export interface PalletCollatorSelectionError extends Enum {1266 readonly isTooManyCandidates: boolean;1267 readonly isUnknown: boolean;1268 readonly isPermission: boolean;1269 readonly isAlreadyHoldingLicense: boolean;1270 readonly isNoLicense: boolean;1271 readonly isAlreadyCandidate: boolean;1272 readonly isNotCandidate: boolean;1273 readonly isTooManyInvulnerables: boolean;1274 readonly isTooFewInvulnerables: boolean;1275 readonly isAlreadyInvulnerable: boolean;1276 readonly isNotInvulnerable: boolean;1277 readonly isNoAssociatedValidatorId: boolean;1278 readonly isValidatorNotRegistered: boolean;1279 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1280}12811282/** @name PalletCollatorSelectionEvent */1283export interface PalletCollatorSelectionEvent extends Enum {1284 readonly isInvulnerableAdded: boolean;1285 readonly asInvulnerableAdded: {1286 readonly invulnerable: AccountId32;1287 } & Struct;1288 readonly isInvulnerableRemoved: boolean;1289 readonly asInvulnerableRemoved: {1290 readonly invulnerable: AccountId32;1291 } & Struct;1292 readonly isLicenseObtained: boolean;1293 readonly asLicenseObtained: {1294 readonly accountId: AccountId32;1295 readonly deposit: u128;1296 } & Struct;1297 readonly isLicenseForfeited: boolean;1298 readonly asLicenseForfeited: {1299 readonly accountId: AccountId32;1300 readonly depositReturned: u128;1301 } & Struct;1302 readonly isCandidateAdded: boolean;1303 readonly asCandidateAdded: {1304 readonly accountId: AccountId32;1305 } & Struct;1306 readonly isCandidateRemoved: boolean;1307 readonly asCandidateRemoved: {1308 readonly accountId: AccountId32;1309 } & Struct;1310 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';1311}13121313/** @name PalletCommonError */1314export interface PalletCommonError extends Enum {1315 readonly isCollectionNotFound: boolean;1316 readonly isMustBeTokenOwner: boolean;1317 readonly isNoPermission: boolean;1318 readonly isCantDestroyNotEmptyCollection: boolean;1319 readonly isPublicMintingNotAllowed: boolean;1320 readonly isAddressNotInAllowlist: boolean;1321 readonly isCollectionNameLimitExceeded: boolean;1322 readonly isCollectionDescriptionLimitExceeded: boolean;1323 readonly isCollectionTokenPrefixLimitExceeded: boolean;1324 readonly isTotalCollectionsLimitExceeded: boolean;1325 readonly isCollectionAdminCountExceeded: boolean;1326 readonly isCollectionLimitBoundsExceeded: boolean;1327 readonly isOwnerPermissionsCantBeReverted: boolean;1328 readonly isTransferNotAllowed: boolean;1329 readonly isAccountTokenLimitExceeded: boolean;1330 readonly isCollectionTokenLimitExceeded: boolean;1331 readonly isMetadataFlagFrozen: boolean;1332 readonly isTokenNotFound: boolean;1333 readonly isTokenValueTooLow: boolean;1334 readonly isApprovedValueTooLow: boolean;1335 readonly isCantApproveMoreThanOwned: boolean;1336 readonly isAddressIsZero: boolean;1337 readonly isUnsupportedOperation: boolean;1338 readonly isNotSufficientFounds: boolean;1339 readonly isUserIsNotAllowedToNest: boolean;1340 readonly isSourceCollectionIsNotAllowedToNest: boolean;1341 readonly isCollectionFieldSizeExceeded: boolean;1342 readonly isNoSpaceForProperty: boolean;1343 readonly isPropertyLimitReached: boolean;1344 readonly isPropertyKeyIsTooLong: boolean;1345 readonly isInvalidCharacterInPropertyKey: boolean;1346 readonly isEmptyPropertyKey: boolean;1347 readonly isCollectionIsExternal: boolean;1348 readonly isCollectionIsInternal: boolean;1349 readonly isConfirmSponsorshipFail: boolean;1350 readonly isUserIsNotCollectionAdmin: boolean;1351 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';1352}13531354/** @name PalletCommonEvent */1355export interface PalletCommonEvent extends Enum {1356 readonly isCollectionCreated: boolean;1357 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1358 readonly isCollectionDestroyed: boolean;1359 readonly asCollectionDestroyed: u32;1360 readonly isItemCreated: boolean;1361 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1362 readonly isItemDestroyed: boolean;1363 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1364 readonly isTransfer: boolean;1365 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1366 readonly isApproved: boolean;1367 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1368 readonly isApprovedForAll: boolean;1369 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1370 readonly isCollectionPropertySet: boolean;1371 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1372 readonly isCollectionPropertyDeleted: boolean;1373 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1374 readonly isTokenPropertySet: boolean;1375 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1376 readonly isTokenPropertyDeleted: boolean;1377 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1378 readonly isPropertyPermissionSet: boolean;1379 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1380 readonly isAllowListAddressAdded: boolean;1381 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1382 readonly isAllowListAddressRemoved: boolean;1383 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1384 readonly isCollectionAdminAdded: boolean;1385 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1386 readonly isCollectionAdminRemoved: boolean;1387 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1388 readonly isCollectionLimitSet: boolean;1389 readonly asCollectionLimitSet: u32;1390 readonly isCollectionOwnerChanged: boolean;1391 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1392 readonly isCollectionPermissionSet: boolean;1393 readonly asCollectionPermissionSet: u32;1394 readonly isCollectionSponsorSet: boolean;1395 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1396 readonly isSponsorshipConfirmed: boolean;1397 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1398 readonly isCollectionSponsorRemoved: boolean;1399 readonly asCollectionSponsorRemoved: u32;1400 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1401}14021403/** @name PalletConfigurationAppPromotionConfiguration */1404export interface PalletConfigurationAppPromotionConfiguration extends Struct {1405 readonly recalculationInterval: Option<u32>;1406 readonly pendingInterval: Option<u32>;1407 readonly intervalIncome: Option<Perbill>;1408 readonly maxStakersPerCalculation: Option<u8>;1409}14101411/** @name PalletConfigurationCall */1412export interface PalletConfigurationCall extends Enum {1413 readonly isSetWeightToFeeCoefficientOverride: boolean;1414 readonly asSetWeightToFeeCoefficientOverride: {1415 readonly coeff: Option<u32>;1416 } & Struct;1417 readonly isSetMinGasPriceOverride: boolean;1418 readonly asSetMinGasPriceOverride: {1419 readonly coeff: Option<u64>;1420 } & Struct;1421 readonly isSetXcmAllowedLocations: boolean;1422 readonly asSetXcmAllowedLocations: {1423 readonly locations: Option<Vec<XcmV1MultiLocation>>;1424 } & Struct;1425 readonly isSetAppPromotionConfigurationOverride: boolean;1426 readonly asSetAppPromotionConfigurationOverride: {1427 readonly configuration: PalletConfigurationAppPromotionConfiguration;1428 } & Struct;1429 readonly isSetCollatorSelectionDesiredCollators: boolean;1430 readonly asSetCollatorSelectionDesiredCollators: {1431 readonly max: Option<u32>;1432 } & Struct;1433 readonly isSetCollatorSelectionLicenseBond: boolean;1434 readonly asSetCollatorSelectionLicenseBond: {1435 readonly amount: Option<u128>;1436 } & Struct;1437 readonly isSetCollatorSelectionKickThreshold: boolean;1438 readonly asSetCollatorSelectionKickThreshold: {1439 readonly threshold: Option<u32>;1440 } & Struct;1441 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';1442}14431444/** @name PalletConfigurationError */1445export interface PalletConfigurationError extends Enum {1446 readonly isInconsistentConfiguration: boolean;1447 readonly type: 'InconsistentConfiguration';1448}14491450/** @name PalletConfigurationEvent */1451export interface PalletConfigurationEvent extends Enum {1452 readonly isNewDesiredCollators: boolean;1453 readonly asNewDesiredCollators: {1454 readonly desiredCollators: Option<u32>;1455 } & Struct;1456 readonly isNewCollatorLicenseBond: boolean;1457 readonly asNewCollatorLicenseBond: {1458 readonly bondCost: Option<u128>;1459 } & Struct;1460 readonly isNewCollatorKickThreshold: boolean;1461 readonly asNewCollatorKickThreshold: {1462 readonly lengthInBlocks: Option<u32>;1463 } & Struct;1464 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1465}14661467/** @name PalletDataManagementCall */1468export interface PalletDataManagementCall extends Enum {1469 readonly isBegin: boolean;1470 readonly asBegin: {1471 readonly address: H160;1472 } & Struct;1473 readonly isSetData: boolean;1474 readonly asSetData: {1475 readonly address: H160;1476 readonly data: Vec<ITuple<[H256, H256]>>;1477 } & Struct;1478 readonly isFinish: boolean;1479 readonly asFinish: {1480 readonly address: H160;1481 readonly code: Bytes;1482 } & Struct;1483 readonly isInsertEthLogs: boolean;1484 readonly asInsertEthLogs: {1485 readonly logs: Vec<EthereumLog>;1486 } & Struct;1487 readonly isInsertEvents: boolean;1488 readonly asInsertEvents: {1489 readonly events: Vec<Bytes>;1490 } & Struct;1491 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1492}14931494/** @name PalletDataManagementError */1495export interface PalletDataManagementError extends Enum {1496 readonly isAccountNotEmpty: boolean;1497 readonly isAccountIsNotMigrating: boolean;1498 readonly isBadEvent: boolean;1499 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1500}15011502/** @name PalletDataManagementEvent */1503export interface PalletDataManagementEvent extends Enum {1504 readonly isTestEvent: boolean;1505 readonly type: 'TestEvent';1506}15071508/** @name PalletEthereumCall */1509export interface PalletEthereumCall extends Enum {1510 readonly isTransact: boolean;1511 readonly asTransact: {1512 readonly transaction: EthereumTransactionTransactionV2;1513 } & Struct;1514 readonly type: 'Transact';1515}15161517/** @name PalletEthereumError */1518export interface PalletEthereumError extends Enum {1519 readonly isInvalidSignature: boolean;1520 readonly isPreLogExists: boolean;1521 readonly type: 'InvalidSignature' | 'PreLogExists';1522}15231524/** @name PalletEthereumEvent */1525export interface PalletEthereumEvent extends Enum {1526 readonly isExecuted: boolean;1527 readonly asExecuted: {1528 readonly from: H160;1529 readonly to: H160;1530 readonly transactionHash: H256;1531 readonly exitReason: EvmCoreErrorExitReason;1532 } & Struct;1533 readonly type: 'Executed';1534}15351536/** @name PalletEthereumFakeTransactionFinalizer */1537export interface PalletEthereumFakeTransactionFinalizer extends Null {}15381539/** @name PalletEvmAccountBasicCrossAccountIdRepr */1540export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1541 readonly isSubstrate: boolean;1542 readonly asSubstrate: AccountId32;1543 readonly isEthereum: boolean;1544 readonly asEthereum: H160;1545 readonly type: 'Substrate' | 'Ethereum';1546}15471548/** @name PalletEvmCall */1549export interface PalletEvmCall extends Enum {1550 readonly isWithdraw: boolean;1551 readonly asWithdraw: {1552 readonly address: H160;1553 readonly value: u128;1554 } & Struct;1555 readonly isCall: boolean;1556 readonly asCall: {1557 readonly source: H160;1558 readonly target: H160;1559 readonly input: Bytes;1560 readonly value: U256;1561 readonly gasLimit: u64;1562 readonly maxFeePerGas: U256;1563 readonly maxPriorityFeePerGas: Option<U256>;1564 readonly nonce: Option<U256>;1565 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1566 } & Struct;1567 readonly isCreate: boolean;1568 readonly asCreate: {1569 readonly source: H160;1570 readonly init: Bytes;1571 readonly value: U256;1572 readonly gasLimit: u64;1573 readonly maxFeePerGas: U256;1574 readonly maxPriorityFeePerGas: Option<U256>;1575 readonly nonce: Option<U256>;1576 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1577 } & Struct;1578 readonly isCreate2: boolean;1579 readonly asCreate2: {1580 readonly source: H160;1581 readonly init: Bytes;1582 readonly salt: H256;1583 readonly value: U256;1584 readonly gasLimit: u64;1585 readonly maxFeePerGas: U256;1586 readonly maxPriorityFeePerGas: Option<U256>;1587 readonly nonce: Option<U256>;1588 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1589 } & Struct;1590 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1591}15921593/** @name PalletEvmCoderSubstrateError */1594export interface PalletEvmCoderSubstrateError extends Enum {1595 readonly isOutOfGas: boolean;1596 readonly isOutOfFund: boolean;1597 readonly type: 'OutOfGas' | 'OutOfFund';1598}15991600/** @name PalletEvmContractHelpersError */1601export interface PalletEvmContractHelpersError extends Enum {1602 readonly isNoPermission: boolean;1603 readonly isNoPendingSponsor: boolean;1604 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1605 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1606}16071608/** @name PalletEvmContractHelpersEvent */1609export interface PalletEvmContractHelpersEvent extends Enum {1610 readonly isContractSponsorSet: boolean;1611 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1612 readonly isContractSponsorshipConfirmed: boolean;1613 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1614 readonly isContractSponsorRemoved: boolean;1615 readonly asContractSponsorRemoved: H160;1616 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1617}16181619/** @name PalletEvmContractHelpersSponsoringModeT */1620export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1621 readonly isDisabled: boolean;1622 readonly isAllowlisted: boolean;1623 readonly isGenerous: boolean;1624 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1625}16261627/** @name PalletEvmError */1628export interface PalletEvmError extends Enum {1629 readonly isBalanceLow: boolean;1630 readonly isFeeOverflow: boolean;1631 readonly isPaymentOverflow: boolean;1632 readonly isWithdrawFailed: boolean;1633 readonly isGasPriceTooLow: boolean;1634 readonly isInvalidNonce: boolean;1635 readonly isGasLimitTooLow: boolean;1636 readonly isGasLimitTooHigh: boolean;1637 readonly isUndefined: boolean;1638 readonly isReentrancy: boolean;1639 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';1640}16411642/** @name PalletEvmEvent */1643export interface PalletEvmEvent extends Enum {1644 readonly isLog: boolean;1645 readonly asLog: {1646 readonly log: EthereumLog;1647 } & Struct;1648 readonly isCreated: boolean;1649 readonly asCreated: {1650 readonly address: H160;1651 } & Struct;1652 readonly isCreatedFailed: boolean;1653 readonly asCreatedFailed: {1654 readonly address: H160;1655 } & Struct;1656 readonly isExecuted: boolean;1657 readonly asExecuted: {1658 readonly address: H160;1659 } & Struct;1660 readonly isExecutedFailed: boolean;1661 readonly asExecutedFailed: {1662 readonly address: H160;1663 } & Struct;1664 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1665}16661667/** @name PalletForeignAssetsAssetIds */1668export interface PalletForeignAssetsAssetIds extends Enum {1669 readonly isForeignAssetId: boolean;1670 readonly asForeignAssetId: u32;1671 readonly isNativeAssetId: boolean;1672 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1673 readonly type: 'ForeignAssetId' | 'NativeAssetId';1674}16751676/** @name PalletForeignAssetsModuleAssetMetadata */1677export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1678 readonly name: Bytes;1679 readonly symbol: Bytes;1680 readonly decimals: u8;1681 readonly minimalBalance: u128;1682}16831684/** @name PalletForeignAssetsModuleCall */1685export interface PalletForeignAssetsModuleCall extends Enum {1686 readonly isRegisterForeignAsset: boolean;1687 readonly asRegisterForeignAsset: {1688 readonly owner: AccountId32;1689 readonly location: XcmVersionedMultiLocation;1690 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1691 } & Struct;1692 readonly isUpdateForeignAsset: boolean;1693 readonly asUpdateForeignAsset: {1694 readonly foreignAssetId: u32;1695 readonly location: XcmVersionedMultiLocation;1696 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1697 } & Struct;1698 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1699}17001701/** @name PalletForeignAssetsModuleError */1702export interface PalletForeignAssetsModuleError extends Enum {1703 readonly isBadLocation: boolean;1704 readonly isMultiLocationExisted: boolean;1705 readonly isAssetIdNotExists: boolean;1706 readonly isAssetIdExisted: boolean;1707 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1708}17091710/** @name PalletForeignAssetsModuleEvent */1711export interface PalletForeignAssetsModuleEvent extends Enum {1712 readonly isForeignAssetRegistered: boolean;1713 readonly asForeignAssetRegistered: {1714 readonly assetId: u32;1715 readonly assetAddress: XcmV1MultiLocation;1716 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1717 } & Struct;1718 readonly isForeignAssetUpdated: boolean;1719 readonly asForeignAssetUpdated: {1720 readonly assetId: u32;1721 readonly assetAddress: XcmV1MultiLocation;1722 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1723 } & Struct;1724 readonly isAssetRegistered: boolean;1725 readonly asAssetRegistered: {1726 readonly assetId: PalletForeignAssetsAssetIds;1727 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1728 } & Struct;1729 readonly isAssetUpdated: boolean;1730 readonly asAssetUpdated: {1731 readonly assetId: PalletForeignAssetsAssetIds;1732 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1733 } & Struct;1734 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1735}17361737/** @name PalletForeignAssetsNativeCurrency */1738export interface PalletForeignAssetsNativeCurrency extends Enum {1739 readonly isHere: boolean;1740 readonly isParent: boolean;1741 readonly type: 'Here' | 'Parent';1742}17431744/** @name PalletFungibleError */1745export interface PalletFungibleError extends Enum {1746 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1747 readonly isFungibleItemsHaveNoId: boolean;1748 readonly isFungibleItemsDontHaveData: boolean;1749 readonly isFungibleDisallowsNesting: boolean;1750 readonly isSettingPropertiesNotAllowed: boolean;1751 readonly isSettingAllowanceForAllNotAllowed: boolean;1752 readonly isFungibleTokensAreAlwaysValid: boolean;1753 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1754}17551756/** @name PalletIdentityBitFlags */1757export interface PalletIdentityBitFlags extends Struct {1758 readonly _bitLength: 64;1759 readonly Display: 1;1760 readonly Legal: 2;1761 readonly Web: 4;1762 readonly Riot: 8;1763 readonly Email: 16;1764 readonly PgpFingerprint: 32;1765 readonly Image: 64;1766 readonly Twitter: 128;1767}17681769/** @name PalletIdentityCall */1770export interface PalletIdentityCall extends Enum {1771 readonly isAddRegistrar: boolean;1772 readonly asAddRegistrar: {1773 readonly account: MultiAddress;1774 } & Struct;1775 readonly isSetIdentity: boolean;1776 readonly asSetIdentity: {1777 readonly info: PalletIdentityIdentityInfo;1778 } & Struct;1779 readonly isSetSubs: boolean;1780 readonly asSetSubs: {1781 readonly subs: Vec<ITuple<[AccountId32, Data]>>;1782 } & Struct;1783 readonly isClearIdentity: boolean;1784 readonly isRequestJudgement: boolean;1785 readonly asRequestJudgement: {1786 readonly regIndex: Compact<u32>;1787 readonly maxFee: Compact<u128>;1788 } & Struct;1789 readonly isCancelRequest: boolean;1790 readonly asCancelRequest: {1791 readonly regIndex: u32;1792 } & Struct;1793 readonly isSetFee: boolean;1794 readonly asSetFee: {1795 readonly index: Compact<u32>;1796 readonly fee: Compact<u128>;1797 } & Struct;1798 readonly isSetAccountId: boolean;1799 readonly asSetAccountId: {1800 readonly index: Compact<u32>;1801 readonly new_: MultiAddress;1802 } & Struct;1803 readonly isSetFields: boolean;1804 readonly asSetFields: {1805 readonly index: Compact<u32>;1806 readonly fields: PalletIdentityBitFlags;1807 } & Struct;1808 readonly isProvideJudgement: boolean;1809 readonly asProvideJudgement: {1810 readonly regIndex: Compact<u32>;1811 readonly target: MultiAddress;1812 readonly judgement: PalletIdentityJudgement;1813 readonly identity: H256;1814 } & Struct;1815 readonly isKillIdentity: boolean;1816 readonly asKillIdentity: {1817 readonly target: MultiAddress;1818 } & Struct;1819 readonly isAddSub: boolean;1820 readonly asAddSub: {1821 readonly sub: MultiAddress;1822 readonly data: Data;1823 } & Struct;1824 readonly isRenameSub: boolean;1825 readonly asRenameSub: {1826 readonly sub: MultiAddress;1827 readonly data: Data;1828 } & Struct;1829 readonly isRemoveSub: boolean;1830 readonly asRemoveSub: {1831 readonly sub: MultiAddress;1832 } & Struct;1833 readonly isQuitSub: boolean;1834 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';1835}18361837/** @name PalletIdentityError */1838export interface PalletIdentityError extends Enum {1839 readonly isTooManySubAccounts: boolean;1840 readonly isNotFound: boolean;1841 readonly isNotNamed: boolean;1842 readonly isEmptyIndex: boolean;1843 readonly isFeeChanged: boolean;1844 readonly isNoIdentity: boolean;1845 readonly isStickyJudgement: boolean;1846 readonly isJudgementGiven: boolean;1847 readonly isInvalidJudgement: boolean;1848 readonly isInvalidIndex: boolean;1849 readonly isInvalidTarget: boolean;1850 readonly isTooManyFields: boolean;1851 readonly isTooManyRegistrars: boolean;1852 readonly isAlreadyClaimed: boolean;1853 readonly isNotSub: boolean;1854 readonly isNotOwned: boolean;1855 readonly isJudgementForDifferentIdentity: boolean;1856 readonly isJudgementPaymentFailed: boolean;1857 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';1858}18591860/** @name PalletIdentityEvent */1861export interface PalletIdentityEvent extends Enum {1862 readonly isIdentitySet: boolean;1863 readonly asIdentitySet: {1864 readonly who: AccountId32;1865 } & Struct;1866 readonly isIdentityCleared: boolean;1867 readonly asIdentityCleared: {1868 readonly who: AccountId32;1869 readonly deposit: u128;1870 } & Struct;1871 readonly isIdentityKilled: boolean;1872 readonly asIdentityKilled: {1873 readonly who: AccountId32;1874 readonly deposit: u128;1875 } & Struct;1876 readonly isJudgementRequested: boolean;1877 readonly asJudgementRequested: {1878 readonly who: AccountId32;1879 readonly registrarIndex: u32;1880 } & Struct;1881 readonly isJudgementUnrequested: boolean;1882 readonly asJudgementUnrequested: {1883 readonly who: AccountId32;1884 readonly registrarIndex: u32;1885 } & Struct;1886 readonly isJudgementGiven: boolean;1887 readonly asJudgementGiven: {1888 readonly target: AccountId32;1889 readonly registrarIndex: u32;1890 } & Struct;1891 readonly isRegistrarAdded: boolean;1892 readonly asRegistrarAdded: {1893 readonly registrarIndex: u32;1894 } & Struct;1895 readonly isSubIdentityAdded: boolean;1896 readonly asSubIdentityAdded: {1897 readonly sub: AccountId32;1898 readonly main: AccountId32;1899 readonly deposit: u128;1900 } & Struct;1901 readonly isSubIdentityRemoved: boolean;1902 readonly asSubIdentityRemoved: {1903 readonly sub: AccountId32;1904 readonly main: AccountId32;1905 readonly deposit: u128;1906 } & Struct;1907 readonly isSubIdentityRevoked: boolean;1908 readonly asSubIdentityRevoked: {1909 readonly sub: AccountId32;1910 readonly main: AccountId32;1911 readonly deposit: u128;1912 } & Struct;1913 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';1914}19151916/** @name PalletIdentityIdentityField */1917export interface PalletIdentityIdentityField extends Enum {1918 readonly isDisplay: boolean;1919 readonly isLegal: boolean;1920 readonly isWeb: boolean;1921 readonly isRiot: boolean;1922 readonly isEmail: boolean;1923 readonly isPgpFingerprint: boolean;1924 readonly isImage: boolean;1925 readonly isTwitter: boolean;1926 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1927}19281929/** @name PalletIdentityIdentityInfo */1930export interface PalletIdentityIdentityInfo extends Struct {1931 readonly additional: Vec<ITuple<[Data, Data]>>;1932 readonly display: Data;1933 readonly legal: Data;1934 readonly web: Data;1935 readonly riot: Data;1936 readonly email: Data;1937 readonly pgpFingerprint: Option<U8aFixed>;1938 readonly image: Data;1939 readonly twitter: Data;1940}19411942/** @name PalletIdentityJudgement */1943export interface PalletIdentityJudgement extends Enum {1944 readonly isUnknown: boolean;1945 readonly isFeePaid: boolean;1946 readonly asFeePaid: u128;1947 readonly isReasonable: boolean;1948 readonly isKnownGood: boolean;1949 readonly isOutOfDate: boolean;1950 readonly isLowQuality: boolean;1951 readonly isErroneous: boolean;1952 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1953}19541955/** @name PalletIdentityRegistrarInfo */1956export interface PalletIdentityRegistrarInfo extends Struct {1957 readonly account: AccountId32;1958 readonly fee: u128;1959 readonly fields: PalletIdentityBitFlags;1960}19611962/** @name PalletIdentityRegistration */1963export interface PalletIdentityRegistration extends Struct {1964 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1965 readonly deposit: u128;1966 readonly info: PalletIdentityIdentityInfo;1967}19681969/** @name PalletInflationCall */1970export interface PalletInflationCall extends Enum {1971 readonly isStartInflation: boolean;1972 readonly asStartInflation: {1973 readonly inflationStartRelayBlock: u32;1974 } & Struct;1975 readonly type: 'StartInflation';1976}19771978/** @name PalletMaintenanceCall */1979export interface PalletMaintenanceCall extends Enum {1980 readonly isEnable: boolean;1981 readonly isDisable: boolean;1982 readonly type: 'Enable' | 'Disable';1983}19841985/** @name PalletMaintenanceError */1986export interface PalletMaintenanceError extends Null {}19871988/** @name PalletMaintenanceEvent */1989export interface PalletMaintenanceEvent extends Enum {1990 readonly isMaintenanceEnabled: boolean;1991 readonly isMaintenanceDisabled: boolean;1992 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1993}19941995/** @name PalletNonfungibleError */1996export interface PalletNonfungibleError extends Enum {1997 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1998 readonly isNonfungibleItemsHaveNoAmount: boolean;1999 readonly isCantBurnNftWithChildren: boolean;2000 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';2001}20022003/** @name PalletNonfungibleItemData */2004export interface PalletNonfungibleItemData extends Struct {2005 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2006}20072008/** @name PalletRefungibleError */2009export interface PalletRefungibleError extends Enum {2010 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2011 readonly isWrongRefungiblePieces: boolean;2012 readonly isRepartitionWhileNotOwningAllPieces: boolean;2013 readonly isRefungibleDisallowsNesting: boolean;2014 readonly isSettingPropertiesNotAllowed: boolean;2015 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2016}20172018/** @name PalletRefungibleItemData */2019export interface PalletRefungibleItemData extends Struct {2020 readonly constData: Bytes;2021}20222023/** @name PalletRmrkCoreCall */2024export interface PalletRmrkCoreCall extends Enum {2025 readonly isCreateCollection: boolean;2026 readonly asCreateCollection: {2027 readonly metadata: Bytes;2028 readonly max: Option<u32>;2029 readonly symbol: Bytes;2030 } & Struct;2031 readonly isDestroyCollection: boolean;2032 readonly asDestroyCollection: {2033 readonly collectionId: u32;2034 } & Struct;2035 readonly isChangeCollectionIssuer: boolean;2036 readonly asChangeCollectionIssuer: {2037 readonly collectionId: u32;2038 readonly newIssuer: MultiAddress;2039 } & Struct;2040 readonly isLockCollection: boolean;2041 readonly asLockCollection: {2042 readonly collectionId: u32;2043 } & Struct;2044 readonly isMintNft: boolean;2045 readonly asMintNft: {2046 readonly owner: Option<AccountId32>;2047 readonly collectionId: u32;2048 readonly recipient: Option<AccountId32>;2049 readonly royaltyAmount: Option<Permill>;2050 readonly metadata: Bytes;2051 readonly transferable: bool;2052 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2053 } & Struct;2054 readonly isBurnNft: boolean;2055 readonly asBurnNft: {2056 readonly collectionId: u32;2057 readonly nftId: u32;2058 readonly maxBurns: u32;2059 } & Struct;2060 readonly isSend: boolean;2061 readonly asSend: {2062 readonly rmrkCollectionId: u32;2063 readonly rmrkNftId: u32;2064 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2065 } & Struct;2066 readonly isAcceptNft: boolean;2067 readonly asAcceptNft: {2068 readonly rmrkCollectionId: u32;2069 readonly rmrkNftId: u32;2070 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2071 } & Struct;2072 readonly isRejectNft: boolean;2073 readonly asRejectNft: {2074 readonly rmrkCollectionId: u32;2075 readonly rmrkNftId: u32;2076 } & Struct;2077 readonly isAcceptResource: boolean;2078 readonly asAcceptResource: {2079 readonly rmrkCollectionId: u32;2080 readonly rmrkNftId: u32;2081 readonly resourceId: u32;2082 } & Struct;2083 readonly isAcceptResourceRemoval: boolean;2084 readonly asAcceptResourceRemoval: {2085 readonly rmrkCollectionId: u32;2086 readonly rmrkNftId: u32;2087 readonly resourceId: u32;2088 } & Struct;2089 readonly isSetProperty: boolean;2090 readonly asSetProperty: {2091 readonly rmrkCollectionId: Compact<u32>;2092 readonly maybeNftId: Option<u32>;2093 readonly key: Bytes;2094 readonly value: Bytes;2095 } & Struct;2096 readonly isSetPriority: boolean;2097 readonly asSetPriority: {2098 readonly rmrkCollectionId: u32;2099 readonly rmrkNftId: u32;2100 readonly priorities: Vec<u32>;2101 } & Struct;2102 readonly isAddBasicResource: boolean;2103 readonly asAddBasicResource: {2104 readonly rmrkCollectionId: u32;2105 readonly nftId: u32;2106 readonly resource: RmrkTraitsResourceBasicResource;2107 } & Struct;2108 readonly isAddComposableResource: boolean;2109 readonly asAddComposableResource: {2110 readonly rmrkCollectionId: u32;2111 readonly nftId: u32;2112 readonly resource: RmrkTraitsResourceComposableResource;2113 } & Struct;2114 readonly isAddSlotResource: boolean;2115 readonly asAddSlotResource: {2116 readonly rmrkCollectionId: u32;2117 readonly nftId: u32;2118 readonly resource: RmrkTraitsResourceSlotResource;2119 } & Struct;2120 readonly isRemoveResource: boolean;2121 readonly asRemoveResource: {2122 readonly rmrkCollectionId: u32;2123 readonly nftId: u32;2124 readonly resourceId: u32;2125 } & Struct;2126 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2127}21282129/** @name PalletRmrkCoreError */2130export interface PalletRmrkCoreError extends Enum {2131 readonly isCorruptedCollectionType: boolean;2132 readonly isRmrkPropertyKeyIsTooLong: boolean;2133 readonly isRmrkPropertyValueIsTooLong: boolean;2134 readonly isRmrkPropertyIsNotFound: boolean;2135 readonly isUnableToDecodeRmrkData: boolean;2136 readonly isCollectionNotEmpty: boolean;2137 readonly isNoAvailableCollectionId: boolean;2138 readonly isNoAvailableNftId: boolean;2139 readonly isCollectionUnknown: boolean;2140 readonly isNoPermission: boolean;2141 readonly isNonTransferable: boolean;2142 readonly isCollectionFullOrLocked: boolean;2143 readonly isResourceDoesntExist: boolean;2144 readonly isCannotSendToDescendentOrSelf: boolean;2145 readonly isCannotAcceptNonOwnedNft: boolean;2146 readonly isCannotRejectNonOwnedNft: boolean;2147 readonly isCannotRejectNonPendingNft: boolean;2148 readonly isResourceNotPending: boolean;2149 readonly isNoAvailableResourceId: boolean;2150 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';2151}21522153/** @name PalletRmrkCoreEvent */2154export interface PalletRmrkCoreEvent extends Enum {2155 readonly isCollectionCreated: boolean;2156 readonly asCollectionCreated: {2157 readonly issuer: AccountId32;2158 readonly collectionId: u32;2159 } & Struct;2160 readonly isCollectionDestroyed: boolean;2161 readonly asCollectionDestroyed: {2162 readonly issuer: AccountId32;2163 readonly collectionId: u32;2164 } & Struct;2165 readonly isIssuerChanged: boolean;2166 readonly asIssuerChanged: {2167 readonly oldIssuer: AccountId32;2168 readonly newIssuer: AccountId32;2169 readonly collectionId: u32;2170 } & Struct;2171 readonly isCollectionLocked: boolean;2172 readonly asCollectionLocked: {2173 readonly issuer: AccountId32;2174 readonly collectionId: u32;2175 } & Struct;2176 readonly isNftMinted: boolean;2177 readonly asNftMinted: {2178 readonly owner: AccountId32;2179 readonly collectionId: u32;2180 readonly nftId: u32;2181 } & Struct;2182 readonly isNftBurned: boolean;2183 readonly asNftBurned: {2184 readonly owner: AccountId32;2185 readonly nftId: u32;2186 } & Struct;2187 readonly isNftSent: boolean;2188 readonly asNftSent: {2189 readonly sender: AccountId32;2190 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2191 readonly collectionId: u32;2192 readonly nftId: u32;2193 readonly approvalRequired: bool;2194 } & Struct;2195 readonly isNftAccepted: boolean;2196 readonly asNftAccepted: {2197 readonly sender: AccountId32;2198 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2199 readonly collectionId: u32;2200 readonly nftId: u32;2201 } & Struct;2202 readonly isNftRejected: boolean;2203 readonly asNftRejected: {2204 readonly sender: AccountId32;2205 readonly collectionId: u32;2206 readonly nftId: u32;2207 } & Struct;2208 readonly isPropertySet: boolean;2209 readonly asPropertySet: {2210 readonly collectionId: u32;2211 readonly maybeNftId: Option<u32>;2212 readonly key: Bytes;2213 readonly value: Bytes;2214 } & Struct;2215 readonly isResourceAdded: boolean;2216 readonly asResourceAdded: {2217 readonly nftId: u32;2218 readonly resourceId: u32;2219 } & Struct;2220 readonly isResourceRemoval: boolean;2221 readonly asResourceRemoval: {2222 readonly nftId: u32;2223 readonly resourceId: u32;2224 } & Struct;2225 readonly isResourceAccepted: boolean;2226 readonly asResourceAccepted: {2227 readonly nftId: u32;2228 readonly resourceId: u32;2229 } & Struct;2230 readonly isResourceRemovalAccepted: boolean;2231 readonly asResourceRemovalAccepted: {2232 readonly nftId: u32;2233 readonly resourceId: u32;2234 } & Struct;2235 readonly isPrioritySet: boolean;2236 readonly asPrioritySet: {2237 readonly collectionId: u32;2238 readonly nftId: u32;2239 } & Struct;2240 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2241}22422243/** @name PalletRmrkEquipCall */2244export interface PalletRmrkEquipCall extends Enum {2245 readonly isCreateBase: boolean;2246 readonly asCreateBase: {2247 readonly baseType: Bytes;2248 readonly symbol: Bytes;2249 readonly parts: Vec<RmrkTraitsPartPartType>;2250 } & Struct;2251 readonly isThemeAdd: boolean;2252 readonly asThemeAdd: {2253 readonly baseId: u32;2254 readonly theme: RmrkTraitsTheme;2255 } & Struct;2256 readonly isEquippable: boolean;2257 readonly asEquippable: {2258 readonly baseId: u32;2259 readonly slotId: u32;2260 readonly equippables: RmrkTraitsPartEquippableList;2261 } & Struct;2262 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2263}22642265/** @name PalletRmrkEquipError */2266export interface PalletRmrkEquipError extends Enum {2267 readonly isPermissionError: boolean;2268 readonly isNoAvailableBaseId: boolean;2269 readonly isNoAvailablePartId: boolean;2270 readonly isBaseDoesntExist: boolean;2271 readonly isNeedsDefaultThemeFirst: boolean;2272 readonly isPartDoesntExist: boolean;2273 readonly isNoEquippableOnFixedPart: boolean;2274 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';2275}22762277/** @name PalletRmrkEquipEvent */2278export interface PalletRmrkEquipEvent extends Enum {2279 readonly isBaseCreated: boolean;2280 readonly asBaseCreated: {2281 readonly issuer: AccountId32;2282 readonly baseId: u32;2283 } & Struct;2284 readonly isEquippablesUpdated: boolean;2285 readonly asEquippablesUpdated: {2286 readonly baseId: u32;2287 readonly slotId: u32;2288 } & Struct;2289 readonly type: 'BaseCreated' | 'EquippablesUpdated';2290}22912292/** @name PalletSessionCall */2293export interface PalletSessionCall extends Enum {2294 readonly isSetKeys: boolean;2295 readonly asSetKeys: {2296 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2297 readonly proof: Bytes;2298 } & Struct;2299 readonly isPurgeKeys: boolean;2300 readonly type: 'SetKeys' | 'PurgeKeys';2301}23022303/** @name PalletSessionError */2304export interface PalletSessionError extends Enum {2305 readonly isInvalidProof: boolean;2306 readonly isNoAssociatedValidatorId: boolean;2307 readonly isDuplicatedKey: boolean;2308 readonly isNoKeys: boolean;2309 readonly isNoAccount: boolean;2310 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2311}23122313/** @name PalletSessionEvent */2314export interface PalletSessionEvent extends Enum {2315 readonly isNewSession: boolean;2316 readonly asNewSession: {2317 readonly sessionIndex: u32;2318 } & Struct;2319 readonly type: 'NewSession';2320}23212322/** @name PalletStructureCall */2323export interface PalletStructureCall extends Null {}23242325/** @name PalletStructureError */2326export interface PalletStructureError extends Enum {2327 readonly isOuroborosDetected: boolean;2328 readonly isDepthLimit: boolean;2329 readonly isBreadthLimit: boolean;2330 readonly isTokenNotFound: boolean;2331 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';2332}23332334/** @name PalletStructureEvent */2335export interface PalletStructureEvent extends Enum {2336 readonly isExecuted: boolean;2337 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2338 readonly type: 'Executed';2339}23402341/** @name PalletSudoCall */2342export interface PalletSudoCall extends Enum {2343 readonly isSudo: boolean;2344 readonly asSudo: {2345 readonly call: Call;2346 } & Struct;2347 readonly isSudoUncheckedWeight: boolean;2348 readonly asSudoUncheckedWeight: {2349 readonly call: Call;2350 readonly weight: SpWeightsWeightV2Weight;2351 } & Struct;2352 readonly isSetKey: boolean;2353 readonly asSetKey: {2354 readonly new_: MultiAddress;2355 } & Struct;2356 readonly isSudoAs: boolean;2357 readonly asSudoAs: {2358 readonly who: MultiAddress;2359 readonly call: Call;2360 } & Struct;2361 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2362}23632364/** @name PalletSudoError */2365export interface PalletSudoError extends Enum {2366 readonly isRequireSudo: boolean;2367 readonly type: 'RequireSudo';2368}23692370/** @name PalletSudoEvent */2371export interface PalletSudoEvent extends Enum {2372 readonly isSudid: boolean;2373 readonly asSudid: {2374 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2375 } & Struct;2376 readonly isKeyChanged: boolean;2377 readonly asKeyChanged: {2378 readonly oldSudoer: Option<AccountId32>;2379 } & Struct;2380 readonly isSudoAsDone: boolean;2381 readonly asSudoAsDone: {2382 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2383 } & Struct;2384 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2385}23862387/** @name PalletTemplateTransactionPaymentCall */2388export interface PalletTemplateTransactionPaymentCall extends Null {}23892390/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2391export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}23922393/** @name PalletTestUtilsCall */2394export interface PalletTestUtilsCall extends Enum {2395 readonly isEnable: boolean;2396 readonly isSetTestValue: boolean;2397 readonly asSetTestValue: {2398 readonly value: u32;2399 } & Struct;2400 readonly isSetTestValueAndRollback: boolean;2401 readonly asSetTestValueAndRollback: {2402 readonly value: u32;2403 } & Struct;2404 readonly isIncTestValue: boolean;2405 readonly isJustTakeFee: boolean;2406 readonly isBatchAll: boolean;2407 readonly asBatchAll: {2408 readonly calls: Vec<Call>;2409 } & Struct;2410 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2411}24122413/** @name PalletTestUtilsError */2414export interface PalletTestUtilsError extends Enum {2415 readonly isTestPalletDisabled: boolean;2416 readonly isTriggerRollback: boolean;2417 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2418}24192420/** @name PalletTestUtilsEvent */2421export interface PalletTestUtilsEvent extends Enum {2422 readonly isValueIsSet: boolean;2423 readonly isShouldRollback: boolean;2424 readonly isBatchCompleted: boolean;2425 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2426}24272428/** @name PalletTimestampCall */2429export interface PalletTimestampCall extends Enum {2430 readonly isSet: boolean;2431 readonly asSet: {2432 readonly now: Compact<u64>;2433 } & Struct;2434 readonly type: 'Set';2435}24362437/** @name PalletTransactionPaymentEvent */2438export interface PalletTransactionPaymentEvent extends Enum {2439 readonly isTransactionFeePaid: boolean;2440 readonly asTransactionFeePaid: {2441 readonly who: AccountId32;2442 readonly actualFee: u128;2443 readonly tip: u128;2444 } & Struct;2445 readonly type: 'TransactionFeePaid';2446}24472448/** @name PalletTransactionPaymentReleases */2449export interface PalletTransactionPaymentReleases extends Enum {2450 readonly isV1Ancient: boolean;2451 readonly isV2: boolean;2452 readonly type: 'V1Ancient' | 'V2';2453}24542455/** @name PalletTreasuryCall */2456export interface PalletTreasuryCall extends Enum {2457 readonly isProposeSpend: boolean;2458 readonly asProposeSpend: {2459 readonly value: Compact<u128>;2460 readonly beneficiary: MultiAddress;2461 } & Struct;2462 readonly isRejectProposal: boolean;2463 readonly asRejectProposal: {2464 readonly proposalId: Compact<u32>;2465 } & Struct;2466 readonly isApproveProposal: boolean;2467 readonly asApproveProposal: {2468 readonly proposalId: Compact<u32>;2469 } & Struct;2470 readonly isSpend: boolean;2471 readonly asSpend: {2472 readonly amount: Compact<u128>;2473 readonly beneficiary: MultiAddress;2474 } & Struct;2475 readonly isRemoveApproval: boolean;2476 readonly asRemoveApproval: {2477 readonly proposalId: Compact<u32>;2478 } & Struct;2479 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2480}24812482/** @name PalletTreasuryError */2483export interface PalletTreasuryError extends Enum {2484 readonly isInsufficientProposersBalance: boolean;2485 readonly isInvalidIndex: boolean;2486 readonly isTooManyApprovals: boolean;2487 readonly isInsufficientPermission: boolean;2488 readonly isProposalNotApproved: boolean;2489 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2490}24912492/** @name PalletTreasuryEvent */2493export interface PalletTreasuryEvent extends Enum {2494 readonly isProposed: boolean;2495 readonly asProposed: {2496 readonly proposalIndex: u32;2497 } & Struct;2498 readonly isSpending: boolean;2499 readonly asSpending: {2500 readonly budgetRemaining: u128;2501 } & Struct;2502 readonly isAwarded: boolean;2503 readonly asAwarded: {2504 readonly proposalIndex: u32;2505 readonly award: u128;2506 readonly account: AccountId32;2507 } & Struct;2508 readonly isRejected: boolean;2509 readonly asRejected: {2510 readonly proposalIndex: u32;2511 readonly slashed: u128;2512 } & Struct;2513 readonly isBurnt: boolean;2514 readonly asBurnt: {2515 readonly burntFunds: u128;2516 } & Struct;2517 readonly isRollover: boolean;2518 readonly asRollover: {2519 readonly rolloverBalance: u128;2520 } & Struct;2521 readonly isDeposit: boolean;2522 readonly asDeposit: {2523 readonly value: u128;2524 } & Struct;2525 readonly isSpendApproved: boolean;2526 readonly asSpendApproved: {2527 readonly proposalIndex: u32;2528 readonly amount: u128;2529 readonly beneficiary: AccountId32;2530 } & Struct;2531 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2532}25332534/** @name PalletTreasuryProposal */2535export interface PalletTreasuryProposal extends Struct {2536 readonly proposer: AccountId32;2537 readonly value: u128;2538 readonly beneficiary: AccountId32;2539 readonly bond: u128;2540}25412542/** @name PalletUniqueCall */2543export interface PalletUniqueCall extends Enum {2544 readonly isCreateCollection: boolean;2545 readonly asCreateCollection: {2546 readonly collectionName: Vec<u16>;2547 readonly collectionDescription: Vec<u16>;2548 readonly tokenPrefix: Bytes;2549 readonly mode: UpDataStructsCollectionMode;2550 } & Struct;2551 readonly isCreateCollectionEx: boolean;2552 readonly asCreateCollectionEx: {2553 readonly data: UpDataStructsCreateCollectionData;2554 } & Struct;2555 readonly isDestroyCollection: boolean;2556 readonly asDestroyCollection: {2557 readonly collectionId: u32;2558 } & Struct;2559 readonly isAddToAllowList: boolean;2560 readonly asAddToAllowList: {2561 readonly collectionId: u32;2562 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2563 } & Struct;2564 readonly isRemoveFromAllowList: boolean;2565 readonly asRemoveFromAllowList: {2566 readonly collectionId: u32;2567 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2568 } & Struct;2569 readonly isChangeCollectionOwner: boolean;2570 readonly asChangeCollectionOwner: {2571 readonly collectionId: u32;2572 readonly newOwner: AccountId32;2573 } & Struct;2574 readonly isAddCollectionAdmin: boolean;2575 readonly asAddCollectionAdmin: {2576 readonly collectionId: u32;2577 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2578 } & Struct;2579 readonly isRemoveCollectionAdmin: boolean;2580 readonly asRemoveCollectionAdmin: {2581 readonly collectionId: u32;2582 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2583 } & Struct;2584 readonly isSetCollectionSponsor: boolean;2585 readonly asSetCollectionSponsor: {2586 readonly collectionId: u32;2587 readonly newSponsor: AccountId32;2588 } & Struct;2589 readonly isConfirmSponsorship: boolean;2590 readonly asConfirmSponsorship: {2591 readonly collectionId: u32;2592 } & Struct;2593 readonly isRemoveCollectionSponsor: boolean;2594 readonly asRemoveCollectionSponsor: {2595 readonly collectionId: u32;2596 } & Struct;2597 readonly isCreateItem: boolean;2598 readonly asCreateItem: {2599 readonly collectionId: u32;2600 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2601 readonly data: UpDataStructsCreateItemData;2602 } & Struct;2603 readonly isCreateMultipleItems: boolean;2604 readonly asCreateMultipleItems: {2605 readonly collectionId: u32;2606 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2607 readonly itemsData: Vec<UpDataStructsCreateItemData>;2608 } & Struct;2609 readonly isSetCollectionProperties: boolean;2610 readonly asSetCollectionProperties: {2611 readonly collectionId: u32;2612 readonly properties: Vec<UpDataStructsProperty>;2613 } & Struct;2614 readonly isDeleteCollectionProperties: boolean;2615 readonly asDeleteCollectionProperties: {2616 readonly collectionId: u32;2617 readonly propertyKeys: Vec<Bytes>;2618 } & Struct;2619 readonly isSetTokenProperties: boolean;2620 readonly asSetTokenProperties: {2621 readonly collectionId: u32;2622 readonly tokenId: u32;2623 readonly properties: Vec<UpDataStructsProperty>;2624 } & Struct;2625 readonly isDeleteTokenProperties: boolean;2626 readonly asDeleteTokenProperties: {2627 readonly collectionId: u32;2628 readonly tokenId: u32;2629 readonly propertyKeys: Vec<Bytes>;2630 } & Struct;2631 readonly isSetTokenPropertyPermissions: boolean;2632 readonly asSetTokenPropertyPermissions: {2633 readonly collectionId: u32;2634 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2635 } & Struct;2636 readonly isCreateMultipleItemsEx: boolean;2637 readonly asCreateMultipleItemsEx: {2638 readonly collectionId: u32;2639 readonly data: UpDataStructsCreateItemExData;2640 } & Struct;2641 readonly isSetTransfersEnabledFlag: boolean;2642 readonly asSetTransfersEnabledFlag: {2643 readonly collectionId: u32;2644 readonly value: bool;2645 } & Struct;2646 readonly isBurnItem: boolean;2647 readonly asBurnItem: {2648 readonly collectionId: u32;2649 readonly itemId: u32;2650 readonly value: u128;2651 } & Struct;2652 readonly isBurnFrom: boolean;2653 readonly asBurnFrom: {2654 readonly collectionId: u32;2655 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2656 readonly itemId: u32;2657 readonly value: u128;2658 } & Struct;2659 readonly isTransfer: boolean;2660 readonly asTransfer: {2661 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2662 readonly collectionId: u32;2663 readonly itemId: u32;2664 readonly value: u128;2665 } & Struct;2666 readonly isApprove: boolean;2667 readonly asApprove: {2668 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2669 readonly collectionId: u32;2670 readonly itemId: u32;2671 readonly amount: u128;2672 } & Struct;2673 readonly isTransferFrom: boolean;2674 readonly asTransferFrom: {2675 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2676 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2677 readonly collectionId: u32;2678 readonly itemId: u32;2679 readonly value: u128;2680 } & Struct;2681 readonly isSetCollectionLimits: boolean;2682 readonly asSetCollectionLimits: {2683 readonly collectionId: u32;2684 readonly newLimit: UpDataStructsCollectionLimits;2685 } & Struct;2686 readonly isSetCollectionPermissions: boolean;2687 readonly asSetCollectionPermissions: {2688 readonly collectionId: u32;2689 readonly newPermission: UpDataStructsCollectionPermissions;2690 } & Struct;2691 readonly isRepartition: boolean;2692 readonly asRepartition: {2693 readonly collectionId: u32;2694 readonly tokenId: u32;2695 readonly amount: u128;2696 } & Struct;2697 readonly isSetAllowanceForAll: boolean;2698 readonly asSetAllowanceForAll: {2699 readonly collectionId: u32;2700 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2701 readonly approve: bool;2702 } & Struct;2703 readonly isForceRepairCollection: boolean;2704 readonly asForceRepairCollection: {2705 readonly collectionId: u32;2706 } & Struct;2707 readonly isForceRepairItem: boolean;2708 readonly asForceRepairItem: {2709 readonly collectionId: u32;2710 readonly itemId: u32;2711 } & Struct;2712 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2713}27142715/** @name PalletUniqueError */2716export interface PalletUniqueError extends Enum {2717 readonly isCollectionDecimalPointLimitExceeded: boolean;2718 readonly isEmptyArgument: boolean;2719 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2720 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2721}27222723/** @name PalletXcmCall */2724export interface PalletXcmCall extends Enum {2725 readonly isSend: boolean;2726 readonly asSend: {2727 readonly dest: XcmVersionedMultiLocation;2728 readonly message: XcmVersionedXcm;2729 } & Struct;2730 readonly isTeleportAssets: boolean;2731 readonly asTeleportAssets: {2732 readonly dest: XcmVersionedMultiLocation;2733 readonly beneficiary: XcmVersionedMultiLocation;2734 readonly assets: XcmVersionedMultiAssets;2735 readonly feeAssetItem: u32;2736 } & Struct;2737 readonly isReserveTransferAssets: boolean;2738 readonly asReserveTransferAssets: {2739 readonly dest: XcmVersionedMultiLocation;2740 readonly beneficiary: XcmVersionedMultiLocation;2741 readonly assets: XcmVersionedMultiAssets;2742 readonly feeAssetItem: u32;2743 } & Struct;2744 readonly isExecute: boolean;2745 readonly asExecute: {2746 readonly message: XcmVersionedXcm;2747 readonly maxWeight: u64;2748 } & Struct;2749 readonly isForceXcmVersion: boolean;2750 readonly asForceXcmVersion: {2751 readonly location: XcmV1MultiLocation;2752 readonly xcmVersion: u32;2753 } & Struct;2754 readonly isForceDefaultXcmVersion: boolean;2755 readonly asForceDefaultXcmVersion: {2756 readonly maybeXcmVersion: Option<u32>;2757 } & Struct;2758 readonly isForceSubscribeVersionNotify: boolean;2759 readonly asForceSubscribeVersionNotify: {2760 readonly location: XcmVersionedMultiLocation;2761 } & Struct;2762 readonly isForceUnsubscribeVersionNotify: boolean;2763 readonly asForceUnsubscribeVersionNotify: {2764 readonly location: XcmVersionedMultiLocation;2765 } & Struct;2766 readonly isLimitedReserveTransferAssets: boolean;2767 readonly asLimitedReserveTransferAssets: {2768 readonly dest: XcmVersionedMultiLocation;2769 readonly beneficiary: XcmVersionedMultiLocation;2770 readonly assets: XcmVersionedMultiAssets;2771 readonly feeAssetItem: u32;2772 readonly weightLimit: XcmV2WeightLimit;2773 } & Struct;2774 readonly isLimitedTeleportAssets: boolean;2775 readonly asLimitedTeleportAssets: {2776 readonly dest: XcmVersionedMultiLocation;2777 readonly beneficiary: XcmVersionedMultiLocation;2778 readonly assets: XcmVersionedMultiAssets;2779 readonly feeAssetItem: u32;2780 readonly weightLimit: XcmV2WeightLimit;2781 } & Struct;2782 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2783}27842785/** @name PalletXcmError */2786export interface PalletXcmError extends Enum {2787 readonly isUnreachable: boolean;2788 readonly isSendFailure: boolean;2789 readonly isFiltered: boolean;2790 readonly isUnweighableMessage: boolean;2791 readonly isDestinationNotInvertible: boolean;2792 readonly isEmpty: boolean;2793 readonly isCannotReanchor: boolean;2794 readonly isTooManyAssets: boolean;2795 readonly isInvalidOrigin: boolean;2796 readonly isBadVersion: boolean;2797 readonly isBadLocation: boolean;2798 readonly isNoSubscription: boolean;2799 readonly isAlreadySubscribed: boolean;2800 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2801}28022803/** @name PalletXcmEvent */2804export interface PalletXcmEvent extends Enum {2805 readonly isAttempted: boolean;2806 readonly asAttempted: XcmV2TraitsOutcome;2807 readonly isSent: boolean;2808 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2809 readonly isUnexpectedResponse: boolean;2810 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2811 readonly isResponseReady: boolean;2812 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2813 readonly isNotified: boolean;2814 readonly asNotified: ITuple<[u64, u8, u8]>;2815 readonly isNotifyOverweight: boolean;2816 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2817 readonly isNotifyDispatchError: boolean;2818 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2819 readonly isNotifyDecodeFailed: boolean;2820 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2821 readonly isInvalidResponder: boolean;2822 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2823 readonly isInvalidResponderVersion: boolean;2824 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2825 readonly isResponseTaken: boolean;2826 readonly asResponseTaken: u64;2827 readonly isAssetsTrapped: boolean;2828 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2829 readonly isVersionChangeNotified: boolean;2830 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2831 readonly isSupportedVersionChanged: boolean;2832 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2833 readonly isNotifyTargetSendFail: boolean;2834 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2835 readonly isNotifyTargetMigrationFail: boolean;2836 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2837 readonly isAssetsClaimed: boolean;2838 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2839 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2840}28412842/** @name PhantomTypeUpDataStructs */2843export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}28442845/** @name PolkadotCorePrimitivesInboundDownwardMessage */2846export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2847 readonly sentAt: u32;2848 readonly msg: Bytes;2849}28502851/** @name PolkadotCorePrimitivesInboundHrmpMessage */2852export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2853 readonly sentAt: u32;2854 readonly data: Bytes;2855}28562857/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2858export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2859 readonly recipient: u32;2860 readonly data: Bytes;2861}28622863/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2864export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2865 readonly isConcatenatedVersionedXcm: boolean;2866 readonly isConcatenatedEncodedBlob: boolean;2867 readonly isSignals: boolean;2868 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2869}28702871/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2872export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2873 readonly maxCodeSize: u32;2874 readonly maxHeadDataSize: u32;2875 readonly maxUpwardQueueCount: u32;2876 readonly maxUpwardQueueSize: u32;2877 readonly maxUpwardMessageSize: u32;2878 readonly maxUpwardMessageNumPerCandidate: u32;2879 readonly hrmpMaxMessageNumPerCandidate: u32;2880 readonly validationUpgradeCooldown: u32;2881 readonly validationUpgradeDelay: u32;2882}28832884/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2885export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2886 readonly maxCapacity: u32;2887 readonly maxTotalSize: u32;2888 readonly maxMessageSize: u32;2889 readonly msgCount: u32;2890 readonly totalSize: u32;2891 readonly mqcHead: Option<H256>;2892}28932894/** @name PolkadotPrimitivesV2PersistedValidationData */2895export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2896 readonly parentHead: Bytes;2897 readonly relayParentNumber: u32;2898 readonly relayParentStorageRoot: H256;2899 readonly maxPovSize: u32;2900}29012902/** @name PolkadotPrimitivesV2UpgradeRestriction */2903export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2904 readonly isPresent: boolean;2905 readonly type: 'Present';2906}29072908/** @name RmrkTraitsBaseBaseInfo */2909export interface RmrkTraitsBaseBaseInfo extends Struct {2910 readonly issuer: AccountId32;2911 readonly baseType: Bytes;2912 readonly symbol: Bytes;2913}29142915/** @name RmrkTraitsCollectionCollectionInfo */2916export interface RmrkTraitsCollectionCollectionInfo extends Struct {2917 readonly issuer: AccountId32;2918 readonly metadata: Bytes;2919 readonly max: Option<u32>;2920 readonly symbol: Bytes;2921 readonly nftsCount: u32;2922}29232924/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2925export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2926 readonly isAccountId: boolean;2927 readonly asAccountId: AccountId32;2928 readonly isCollectionAndNftTuple: boolean;2929 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2930 readonly type: 'AccountId' | 'CollectionAndNftTuple';2931}29322933/** @name RmrkTraitsNftNftChild */2934export interface RmrkTraitsNftNftChild extends Struct {2935 readonly collectionId: u32;2936 readonly nftId: u32;2937}29382939/** @name RmrkTraitsNftNftInfo */2940export interface RmrkTraitsNftNftInfo extends Struct {2941 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2942 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2943 readonly metadata: Bytes;2944 readonly equipped: bool;2945 readonly pending: bool;2946}29472948/** @name RmrkTraitsNftRoyaltyInfo */2949export interface RmrkTraitsNftRoyaltyInfo extends Struct {2950 readonly recipient: AccountId32;2951 readonly amount: Permill;2952}29532954/** @name RmrkTraitsPartEquippableList */2955export interface RmrkTraitsPartEquippableList extends Enum {2956 readonly isAll: boolean;2957 readonly isEmpty: boolean;2958 readonly isCustom: boolean;2959 readonly asCustom: Vec<u32>;2960 readonly type: 'All' | 'Empty' | 'Custom';2961}29622963/** @name RmrkTraitsPartFixedPart */2964export interface RmrkTraitsPartFixedPart extends Struct {2965 readonly id: u32;2966 readonly z: u32;2967 readonly src: Bytes;2968}29692970/** @name RmrkTraitsPartPartType */2971export interface RmrkTraitsPartPartType extends Enum {2972 readonly isFixedPart: boolean;2973 readonly asFixedPart: RmrkTraitsPartFixedPart;2974 readonly isSlotPart: boolean;2975 readonly asSlotPart: RmrkTraitsPartSlotPart;2976 readonly type: 'FixedPart' | 'SlotPart';2977}29782979/** @name RmrkTraitsPartSlotPart */2980export interface RmrkTraitsPartSlotPart extends Struct {2981 readonly id: u32;2982 readonly equippable: RmrkTraitsPartEquippableList;2983 readonly src: Bytes;2984 readonly z: u32;2985}29862987/** @name RmrkTraitsPropertyPropertyInfo */2988export interface RmrkTraitsPropertyPropertyInfo extends Struct {2989 readonly key: Bytes;2990 readonly value: Bytes;2991}29922993/** @name RmrkTraitsResourceBasicResource */2994export interface RmrkTraitsResourceBasicResource extends Struct {2995 readonly src: Option<Bytes>;2996 readonly metadata: Option<Bytes>;2997 readonly license: Option<Bytes>;2998 readonly thumb: Option<Bytes>;2999}30003001/** @name RmrkTraitsResourceComposableResource */3002export interface RmrkTraitsResourceComposableResource extends Struct {3003 readonly parts: Vec<u32>;3004 readonly base: u32;3005 readonly src: Option<Bytes>;3006 readonly metadata: Option<Bytes>;3007 readonly license: Option<Bytes>;3008 readonly thumb: Option<Bytes>;3009}30103011/** @name RmrkTraitsResourceResourceInfo */3012export interface RmrkTraitsResourceResourceInfo extends Struct {3013 readonly id: u32;3014 readonly resource: RmrkTraitsResourceResourceTypes;3015 readonly pending: bool;3016 readonly pendingRemoval: bool;3017}30183019/** @name RmrkTraitsResourceResourceTypes */3020export interface RmrkTraitsResourceResourceTypes extends Enum {3021 readonly isBasic: boolean;3022 readonly asBasic: RmrkTraitsResourceBasicResource;3023 readonly isComposable: boolean;3024 readonly asComposable: RmrkTraitsResourceComposableResource;3025 readonly isSlot: boolean;3026 readonly asSlot: RmrkTraitsResourceSlotResource;3027 readonly type: 'Basic' | 'Composable' | 'Slot';3028}30293030/** @name RmrkTraitsResourceSlotResource */3031export interface RmrkTraitsResourceSlotResource extends Struct {3032 readonly base: u32;3033 readonly src: Option<Bytes>;3034 readonly metadata: Option<Bytes>;3035 readonly slot: u32;3036 readonly license: Option<Bytes>;3037 readonly thumb: Option<Bytes>;3038}30393040/** @name RmrkTraitsTheme */3041export interface RmrkTraitsTheme extends Struct {3042 readonly name: Bytes;3043 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3044 readonly inherit: bool;3045}30463047/** @name RmrkTraitsThemeThemeProperty */3048export interface RmrkTraitsThemeThemeProperty extends Struct {3049 readonly key: Bytes;3050 readonly value: Bytes;3051}30523053/** @name SpConsensusAuraSr25519AppSr25519Public */3054export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}30553056/** @name SpCoreCryptoKeyTypeId */3057export interface SpCoreCryptoKeyTypeId extends U8aFixed {}30583059/** @name SpCoreEcdsaSignature */3060export interface SpCoreEcdsaSignature extends U8aFixed {}30613062/** @name SpCoreEd25519Signature */3063export interface SpCoreEd25519Signature extends U8aFixed {}30643065/** @name SpCoreSr25519Public */3066export interface SpCoreSr25519Public extends U8aFixed {}30673068/** @name SpCoreSr25519Signature */3069export interface SpCoreSr25519Signature extends U8aFixed {}30703071/** @name SpRuntimeArithmeticError */3072export interface SpRuntimeArithmeticError extends Enum {3073 readonly isUnderflow: boolean;3074 readonly isOverflow: boolean;3075 readonly isDivisionByZero: boolean;3076 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';3077}30783079/** @name SpRuntimeBlakeTwo256 */3080export interface SpRuntimeBlakeTwo256 extends Null {}30813082/** @name SpRuntimeDigest */3083export interface SpRuntimeDigest extends Struct {3084 readonly logs: Vec<SpRuntimeDigestDigestItem>;3085}30863087/** @name SpRuntimeDigestDigestItem */3088export interface SpRuntimeDigestDigestItem extends Enum {3089 readonly isOther: boolean;3090 readonly asOther: Bytes;3091 readonly isConsensus: boolean;3092 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;3093 readonly isSeal: boolean;3094 readonly asSeal: ITuple<[U8aFixed, Bytes]>;3095 readonly isPreRuntime: boolean;3096 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;3097 readonly isRuntimeEnvironmentUpdated: boolean;3098 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';3099}31003101/** @name SpRuntimeDispatchError */3102export interface SpRuntimeDispatchError extends Enum {3103 readonly isOther: boolean;3104 readonly isCannotLookup: boolean;3105 readonly isBadOrigin: boolean;3106 readonly isModule: boolean;3107 readonly asModule: SpRuntimeModuleError;3108 readonly isConsumerRemaining: boolean;3109 readonly isNoProviders: boolean;3110 readonly isTooManyConsumers: boolean;3111 readonly isToken: boolean;3112 readonly asToken: SpRuntimeTokenError;3113 readonly isArithmetic: boolean;3114 readonly asArithmetic: SpRuntimeArithmeticError;3115 readonly isTransactional: boolean;3116 readonly asTransactional: SpRuntimeTransactionalError;3117 readonly isExhausted: boolean;3118 readonly isCorruption: boolean;3119 readonly isUnavailable: boolean;3120 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';3121}31223123/** @name SpRuntimeHeader */3124export interface SpRuntimeHeader extends Struct {3125 readonly parentHash: H256;3126 readonly number: Compact<u32>;3127 readonly stateRoot: H256;3128 readonly extrinsicsRoot: H256;3129 readonly digest: SpRuntimeDigest;3130}31313132/** @name SpRuntimeModuleError */3133export interface SpRuntimeModuleError extends Struct {3134 readonly index: u8;3135 readonly error: U8aFixed;3136}31373138/** @name SpRuntimeMultiSignature */3139export interface SpRuntimeMultiSignature extends Enum {3140 readonly isEd25519: boolean;3141 readonly asEd25519: SpCoreEd25519Signature;3142 readonly isSr25519: boolean;3143 readonly asSr25519: SpCoreSr25519Signature;3144 readonly isEcdsa: boolean;3145 readonly asEcdsa: SpCoreEcdsaSignature;3146 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3147}31483149/** @name SpRuntimeTokenError */3150export interface SpRuntimeTokenError extends Enum {3151 readonly isNoFunds: boolean;3152 readonly isWouldDie: boolean;3153 readonly isBelowMinimum: boolean;3154 readonly isCannotCreate: boolean;3155 readonly isUnknownAsset: boolean;3156 readonly isFrozen: boolean;3157 readonly isUnsupported: boolean;3158 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';3159}31603161/** @name SpRuntimeTransactionalError */3162export interface SpRuntimeTransactionalError extends Enum {3163 readonly isLimitReached: boolean;3164 readonly isNoLayer: boolean;3165 readonly type: 'LimitReached' | 'NoLayer';3166}31673168/** @name SpTrieStorageProof */3169export interface SpTrieStorageProof extends Struct {3170 readonly trieNodes: BTreeSet<Bytes>;3171}31723173/** @name SpVersionRuntimeVersion */3174export interface SpVersionRuntimeVersion extends Struct {3175 readonly specName: Text;3176 readonly implName: Text;3177 readonly authoringVersion: u32;3178 readonly specVersion: u32;3179 readonly implVersion: u32;3180 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;3181 readonly transactionVersion: u32;3182 readonly stateVersion: u8;3183}31843185/** @name SpWeightsRuntimeDbWeight */3186export interface SpWeightsRuntimeDbWeight extends Struct {3187 readonly read: u64;3188 readonly write: u64;3189}31903191/** @name SpWeightsWeightV2Weight */3192export interface SpWeightsWeightV2Weight extends Struct {3193 readonly refTime: Compact<u64>;3194 readonly proofSize: Compact<u64>;3195}31963197/** @name UpDataStructsAccessMode */3198export interface UpDataStructsAccessMode extends Enum {3199 readonly isNormal: boolean;3200 readonly isAllowList: boolean;3201 readonly type: 'Normal' | 'AllowList';3202}32033204/** @name UpDataStructsCollection */3205export interface UpDataStructsCollection extends Struct {3206 readonly owner: AccountId32;3207 readonly mode: UpDataStructsCollectionMode;3208 readonly name: Vec<u16>;3209 readonly description: Vec<u16>;3210 readonly tokenPrefix: Bytes;3211 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3212 readonly limits: UpDataStructsCollectionLimits;3213 readonly permissions: UpDataStructsCollectionPermissions;3214 readonly flags: U8aFixed;3215}32163217/** @name UpDataStructsCollectionLimits */3218export interface UpDataStructsCollectionLimits extends Struct {3219 readonly accountTokenOwnershipLimit: Option<u32>;3220 readonly sponsoredDataSize: Option<u32>;3221 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;3222 readonly tokenLimit: Option<u32>;3223 readonly sponsorTransferTimeout: Option<u32>;3224 readonly sponsorApproveTimeout: Option<u32>;3225 readonly ownerCanTransfer: Option<bool>;3226 readonly ownerCanDestroy: Option<bool>;3227 readonly transfersEnabled: Option<bool>;3228}32293230/** @name UpDataStructsCollectionMode */3231export interface UpDataStructsCollectionMode extends Enum {3232 readonly isNft: boolean;3233 readonly isFungible: boolean;3234 readonly asFungible: u8;3235 readonly isReFungible: boolean;3236 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3237}32383239/** @name UpDataStructsCollectionPermissions */3240export interface UpDataStructsCollectionPermissions extends Struct {3241 readonly access: Option<UpDataStructsAccessMode>;3242 readonly mintMode: Option<bool>;3243 readonly nesting: Option<UpDataStructsNestingPermissions>;3244}32453246/** @name UpDataStructsCollectionStats */3247export interface UpDataStructsCollectionStats extends Struct {3248 readonly created: u32;3249 readonly destroyed: u32;3250 readonly alive: u32;3251}32523253/** @name UpDataStructsCreateCollectionData */3254export interface UpDataStructsCreateCollectionData extends Struct {3255 readonly mode: UpDataStructsCollectionMode;3256 readonly access: Option<UpDataStructsAccessMode>;3257 readonly name: Vec<u16>;3258 readonly description: Vec<u16>;3259 readonly tokenPrefix: Bytes;3260 readonly pendingSponsor: Option<AccountId32>;3261 readonly limits: Option<UpDataStructsCollectionLimits>;3262 readonly permissions: Option<UpDataStructsCollectionPermissions>;3263 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3264 readonly properties: Vec<UpDataStructsProperty>;3265}32663267/** @name UpDataStructsCreateFungibleData */3268export interface UpDataStructsCreateFungibleData extends Struct {3269 readonly value: u128;3270}32713272/** @name UpDataStructsCreateItemData */3273export interface UpDataStructsCreateItemData extends Enum {3274 readonly isNft: boolean;3275 readonly asNft: UpDataStructsCreateNftData;3276 readonly isFungible: boolean;3277 readonly asFungible: UpDataStructsCreateFungibleData;3278 readonly isReFungible: boolean;3279 readonly asReFungible: UpDataStructsCreateReFungibleData;3280 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3281}32823283/** @name UpDataStructsCreateItemExData */3284export interface UpDataStructsCreateItemExData extends Enum {3285 readonly isNft: boolean;3286 readonly asNft: Vec<UpDataStructsCreateNftExData>;3287 readonly isFungible: boolean;3288 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;3289 readonly isRefungibleMultipleItems: boolean;3290 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3291 readonly isRefungibleMultipleOwners: boolean;3292 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3293 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3294}32953296/** @name UpDataStructsCreateNftData */3297export interface UpDataStructsCreateNftData extends Struct {3298 readonly properties: Vec<UpDataStructsProperty>;3299}33003301/** @name UpDataStructsCreateNftExData */3302export interface UpDataStructsCreateNftExData extends Struct {3303 readonly properties: Vec<UpDataStructsProperty>;3304 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3305}33063307/** @name UpDataStructsCreateReFungibleData */3308export interface UpDataStructsCreateReFungibleData extends Struct {3309 readonly pieces: u128;3310 readonly properties: Vec<UpDataStructsProperty>;3311}33123313/** @name UpDataStructsCreateRefungibleExMultipleOwners */3314export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3315 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3316 readonly properties: Vec<UpDataStructsProperty>;3317}33183319/** @name UpDataStructsCreateRefungibleExSingleOwner */3320export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3321 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3322 readonly pieces: u128;3323 readonly properties: Vec<UpDataStructsProperty>;3324}33253326/** @name UpDataStructsNestingPermissions */3327export interface UpDataStructsNestingPermissions extends Struct {3328 readonly tokenOwner: bool;3329 readonly collectionAdmin: bool;3330 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3331}33323333/** @name UpDataStructsOwnerRestrictedSet */3334export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}33353336/** @name UpDataStructsProperties */3337export interface UpDataStructsProperties extends Struct {3338 readonly map: UpDataStructsPropertiesMapBoundedVec;3339 readonly consumedSpace: u32;3340 readonly spaceLimit: u32;3341}33423343/** @name UpDataStructsPropertiesMapBoundedVec */3344export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33453346/** @name UpDataStructsPropertiesMapPropertyPermission */3347export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33483349/** @name UpDataStructsProperty */3350export interface UpDataStructsProperty extends Struct {3351 readonly key: Bytes;3352 readonly value: Bytes;3353}33543355/** @name UpDataStructsPropertyKeyPermission */3356export interface UpDataStructsPropertyKeyPermission extends Struct {3357 readonly key: Bytes;3358 readonly permission: UpDataStructsPropertyPermission;3359}33603361/** @name UpDataStructsPropertyPermission */3362export interface UpDataStructsPropertyPermission extends Struct {3363 readonly mutable: bool;3364 readonly collectionAdmin: bool;3365 readonly tokenOwner: bool;3366}33673368/** @name UpDataStructsPropertyScope */3369export interface UpDataStructsPropertyScope extends Enum {3370 readonly isNone: boolean;3371 readonly isRmrk: boolean;3372 readonly type: 'None' | 'Rmrk';3373}33743375/** @name UpDataStructsRpcCollection */3376export interface UpDataStructsRpcCollection extends Struct {3377 readonly owner: AccountId32;3378 readonly mode: UpDataStructsCollectionMode;3379 readonly name: Vec<u16>;3380 readonly description: Vec<u16>;3381 readonly tokenPrefix: Bytes;3382 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3383 readonly limits: UpDataStructsCollectionLimits;3384 readonly permissions: UpDataStructsCollectionPermissions;3385 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3386 readonly properties: Vec<UpDataStructsProperty>;3387 readonly readOnly: bool;3388 readonly flags: UpDataStructsRpcCollectionFlags;3389}33903391/** @name UpDataStructsRpcCollectionFlags */3392export interface UpDataStructsRpcCollectionFlags extends Struct {3393 readonly foreign: bool;3394 readonly erc721metadata: bool;3395}33963397/** @name UpDataStructsSponsoringRateLimit */3398export interface UpDataStructsSponsoringRateLimit extends Enum {3399 readonly isSponsoringDisabled: boolean;3400 readonly isBlocks: boolean;3401 readonly asBlocks: u32;3402 readonly type: 'SponsoringDisabled' | 'Blocks';3403}34043405/** @name UpDataStructsSponsorshipStateAccountId32 */3406export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3407 readonly isDisabled: boolean;3408 readonly isUnconfirmed: boolean;3409 readonly asUnconfirmed: AccountId32;3410 readonly isConfirmed: boolean;3411 readonly asConfirmed: AccountId32;3412 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3413}34143415/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3416export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3417 readonly isDisabled: boolean;3418 readonly isUnconfirmed: boolean;3419 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3420 readonly isConfirmed: boolean;3421 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3422 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3423}34243425/** @name UpDataStructsTokenChild */3426export interface UpDataStructsTokenChild extends Struct {3427 readonly token: u32;3428 readonly collection: u32;3429}34303431/** @name UpDataStructsTokenData */3432export interface UpDataStructsTokenData extends Struct {3433 readonly properties: Vec<UpDataStructsProperty>;3434 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3435 readonly pieces: u128;3436}34373438/** @name XcmDoubleEncoded */3439export interface XcmDoubleEncoded extends Struct {3440 readonly encoded: Bytes;3441}34423443/** @name XcmV0Junction */3444export interface XcmV0Junction extends Enum {3445 readonly isParent: boolean;3446 readonly isParachain: boolean;3447 readonly asParachain: Compact<u32>;3448 readonly isAccountId32: boolean;3449 readonly asAccountId32: {3450 readonly network: XcmV0JunctionNetworkId;3451 readonly id: U8aFixed;3452 } & Struct;3453 readonly isAccountIndex64: boolean;3454 readonly asAccountIndex64: {3455 readonly network: XcmV0JunctionNetworkId;3456 readonly index: Compact<u64>;3457 } & Struct;3458 readonly isAccountKey20: boolean;3459 readonly asAccountKey20: {3460 readonly network: XcmV0JunctionNetworkId;3461 readonly key: U8aFixed;3462 } & Struct;3463 readonly isPalletInstance: boolean;3464 readonly asPalletInstance: u8;3465 readonly isGeneralIndex: boolean;3466 readonly asGeneralIndex: Compact<u128>;3467 readonly isGeneralKey: boolean;3468 readonly asGeneralKey: Bytes;3469 readonly isOnlyChild: boolean;3470 readonly isPlurality: boolean;3471 readonly asPlurality: {3472 readonly id: XcmV0JunctionBodyId;3473 readonly part: XcmV0JunctionBodyPart;3474 } & Struct;3475 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3476}34773478/** @name XcmV0JunctionBodyId */3479export interface XcmV0JunctionBodyId extends Enum {3480 readonly isUnit: boolean;3481 readonly isNamed: boolean;3482 readonly asNamed: Bytes;3483 readonly isIndex: boolean;3484 readonly asIndex: Compact<u32>;3485 readonly isExecutive: boolean;3486 readonly isTechnical: boolean;3487 readonly isLegislative: boolean;3488 readonly isJudicial: boolean;3489 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3490}34913492/** @name XcmV0JunctionBodyPart */3493export interface XcmV0JunctionBodyPart extends Enum {3494 readonly isVoice: boolean;3495 readonly isMembers: boolean;3496 readonly asMembers: {3497 readonly count: Compact<u32>;3498 } & Struct;3499 readonly isFraction: boolean;3500 readonly asFraction: {3501 readonly nom: Compact<u32>;3502 readonly denom: Compact<u32>;3503 } & Struct;3504 readonly isAtLeastProportion: boolean;3505 readonly asAtLeastProportion: {3506 readonly nom: Compact<u32>;3507 readonly denom: Compact<u32>;3508 } & Struct;3509 readonly isMoreThanProportion: boolean;3510 readonly asMoreThanProportion: {3511 readonly nom: Compact<u32>;3512 readonly denom: Compact<u32>;3513 } & Struct;3514 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3515}35163517/** @name XcmV0JunctionNetworkId */3518export interface XcmV0JunctionNetworkId extends Enum {3519 readonly isAny: boolean;3520 readonly isNamed: boolean;3521 readonly asNamed: Bytes;3522 readonly isPolkadot: boolean;3523 readonly isKusama: boolean;3524 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3525}35263527/** @name XcmV0MultiAsset */3528export interface XcmV0MultiAsset extends Enum {3529 readonly isNone: boolean;3530 readonly isAll: boolean;3531 readonly isAllFungible: boolean;3532 readonly isAllNonFungible: boolean;3533 readonly isAllAbstractFungible: boolean;3534 readonly asAllAbstractFungible: {3535 readonly id: Bytes;3536 } & Struct;3537 readonly isAllAbstractNonFungible: boolean;3538 readonly asAllAbstractNonFungible: {3539 readonly class: Bytes;3540 } & Struct;3541 readonly isAllConcreteFungible: boolean;3542 readonly asAllConcreteFungible: {3543 readonly id: XcmV0MultiLocation;3544 } & Struct;3545 readonly isAllConcreteNonFungible: boolean;3546 readonly asAllConcreteNonFungible: {3547 readonly class: XcmV0MultiLocation;3548 } & Struct;3549 readonly isAbstractFungible: boolean;3550 readonly asAbstractFungible: {3551 readonly id: Bytes;3552 readonly amount: Compact<u128>;3553 } & Struct;3554 readonly isAbstractNonFungible: boolean;3555 readonly asAbstractNonFungible: {3556 readonly class: Bytes;3557 readonly instance: XcmV1MultiassetAssetInstance;3558 } & Struct;3559 readonly isConcreteFungible: boolean;3560 readonly asConcreteFungible: {3561 readonly id: XcmV0MultiLocation;3562 readonly amount: Compact<u128>;3563 } & Struct;3564 readonly isConcreteNonFungible: boolean;3565 readonly asConcreteNonFungible: {3566 readonly class: XcmV0MultiLocation;3567 readonly instance: XcmV1MultiassetAssetInstance;3568 } & Struct;3569 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3570}35713572/** @name XcmV0MultiLocation */3573export interface XcmV0MultiLocation extends Enum {3574 readonly isNull: boolean;3575 readonly isX1: boolean;3576 readonly asX1: XcmV0Junction;3577 readonly isX2: boolean;3578 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3579 readonly isX3: boolean;3580 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3581 readonly isX4: boolean;3582 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3583 readonly isX5: boolean;3584 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3585 readonly isX6: boolean;3586 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3587 readonly isX7: boolean;3588 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3589 readonly isX8: boolean;3590 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3591 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3592}35933594/** @name XcmV0Order */3595export interface XcmV0Order extends Enum {3596 readonly isNull: boolean;3597 readonly isDepositAsset: boolean;3598 readonly asDepositAsset: {3599 readonly assets: Vec<XcmV0MultiAsset>;3600 readonly dest: XcmV0MultiLocation;3601 } & Struct;3602 readonly isDepositReserveAsset: boolean;3603 readonly asDepositReserveAsset: {3604 readonly assets: Vec<XcmV0MultiAsset>;3605 readonly dest: XcmV0MultiLocation;3606 readonly effects: Vec<XcmV0Order>;3607 } & Struct;3608 readonly isExchangeAsset: boolean;3609 readonly asExchangeAsset: {3610 readonly give: Vec<XcmV0MultiAsset>;3611 readonly receive: Vec<XcmV0MultiAsset>;3612 } & Struct;3613 readonly isInitiateReserveWithdraw: boolean;3614 readonly asInitiateReserveWithdraw: {3615 readonly assets: Vec<XcmV0MultiAsset>;3616 readonly reserve: XcmV0MultiLocation;3617 readonly effects: Vec<XcmV0Order>;3618 } & Struct;3619 readonly isInitiateTeleport: boolean;3620 readonly asInitiateTeleport: {3621 readonly assets: Vec<XcmV0MultiAsset>;3622 readonly dest: XcmV0MultiLocation;3623 readonly effects: Vec<XcmV0Order>;3624 } & Struct;3625 readonly isQueryHolding: boolean;3626 readonly asQueryHolding: {3627 readonly queryId: Compact<u64>;3628 readonly dest: XcmV0MultiLocation;3629 readonly assets: Vec<XcmV0MultiAsset>;3630 } & Struct;3631 readonly isBuyExecution: boolean;3632 readonly asBuyExecution: {3633 readonly fees: XcmV0MultiAsset;3634 readonly weight: u64;3635 readonly debt: u64;3636 readonly haltOnError: bool;3637 readonly xcm: Vec<XcmV0Xcm>;3638 } & Struct;3639 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3640}36413642/** @name XcmV0OriginKind */3643export interface XcmV0OriginKind extends Enum {3644 readonly isNative: boolean;3645 readonly isSovereignAccount: boolean;3646 readonly isSuperuser: boolean;3647 readonly isXcm: boolean;3648 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3649}36503651/** @name XcmV0Response */3652export interface XcmV0Response extends Enum {3653 readonly isAssets: boolean;3654 readonly asAssets: Vec<XcmV0MultiAsset>;3655 readonly type: 'Assets';3656}36573658/** @name XcmV0Xcm */3659export interface XcmV0Xcm extends Enum {3660 readonly isWithdrawAsset: boolean;3661 readonly asWithdrawAsset: {3662 readonly assets: Vec<XcmV0MultiAsset>;3663 readonly effects: Vec<XcmV0Order>;3664 } & Struct;3665 readonly isReserveAssetDeposit: boolean;3666 readonly asReserveAssetDeposit: {3667 readonly assets: Vec<XcmV0MultiAsset>;3668 readonly effects: Vec<XcmV0Order>;3669 } & Struct;3670 readonly isTeleportAsset: boolean;3671 readonly asTeleportAsset: {3672 readonly assets: Vec<XcmV0MultiAsset>;3673 readonly effects: Vec<XcmV0Order>;3674 } & Struct;3675 readonly isQueryResponse: boolean;3676 readonly asQueryResponse: {3677 readonly queryId: Compact<u64>;3678 readonly response: XcmV0Response;3679 } & Struct;3680 readonly isTransferAsset: boolean;3681 readonly asTransferAsset: {3682 readonly assets: Vec<XcmV0MultiAsset>;3683 readonly dest: XcmV0MultiLocation;3684 } & Struct;3685 readonly isTransferReserveAsset: boolean;3686 readonly asTransferReserveAsset: {3687 readonly assets: Vec<XcmV0MultiAsset>;3688 readonly dest: XcmV0MultiLocation;3689 readonly effects: Vec<XcmV0Order>;3690 } & Struct;3691 readonly isTransact: boolean;3692 readonly asTransact: {3693 readonly originType: XcmV0OriginKind;3694 readonly requireWeightAtMost: u64;3695 readonly call: XcmDoubleEncoded;3696 } & Struct;3697 readonly isHrmpNewChannelOpenRequest: boolean;3698 readonly asHrmpNewChannelOpenRequest: {3699 readonly sender: Compact<u32>;3700 readonly maxMessageSize: Compact<u32>;3701 readonly maxCapacity: Compact<u32>;3702 } & Struct;3703 readonly isHrmpChannelAccepted: boolean;3704 readonly asHrmpChannelAccepted: {3705 readonly recipient: Compact<u32>;3706 } & Struct;3707 readonly isHrmpChannelClosing: boolean;3708 readonly asHrmpChannelClosing: {3709 readonly initiator: Compact<u32>;3710 readonly sender: Compact<u32>;3711 readonly recipient: Compact<u32>;3712 } & Struct;3713 readonly isRelayedFrom: boolean;3714 readonly asRelayedFrom: {3715 readonly who: XcmV0MultiLocation;3716 readonly message: XcmV0Xcm;3717 } & Struct;3718 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3719}37203721/** @name XcmV1Junction */3722export interface XcmV1Junction extends Enum {3723 readonly isParachain: boolean;3724 readonly asParachain: Compact<u32>;3725 readonly isAccountId32: boolean;3726 readonly asAccountId32: {3727 readonly network: XcmV0JunctionNetworkId;3728 readonly id: U8aFixed;3729 } & Struct;3730 readonly isAccountIndex64: boolean;3731 readonly asAccountIndex64: {3732 readonly network: XcmV0JunctionNetworkId;3733 readonly index: Compact<u64>;3734 } & Struct;3735 readonly isAccountKey20: boolean;3736 readonly asAccountKey20: {3737 readonly network: XcmV0JunctionNetworkId;3738 readonly key: U8aFixed;3739 } & Struct;3740 readonly isPalletInstance: boolean;3741 readonly asPalletInstance: u8;3742 readonly isGeneralIndex: boolean;3743 readonly asGeneralIndex: Compact<u128>;3744 readonly isGeneralKey: boolean;3745 readonly asGeneralKey: Bytes;3746 readonly isOnlyChild: boolean;3747 readonly isPlurality: boolean;3748 readonly asPlurality: {3749 readonly id: XcmV0JunctionBodyId;3750 readonly part: XcmV0JunctionBodyPart;3751 } & Struct;3752 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3753}37543755/** @name XcmV1MultiAsset */3756export interface XcmV1MultiAsset extends Struct {3757 readonly id: XcmV1MultiassetAssetId;3758 readonly fun: XcmV1MultiassetFungibility;3759}37603761/** @name XcmV1MultiassetAssetId */3762export interface XcmV1MultiassetAssetId extends Enum {3763 readonly isConcrete: boolean;3764 readonly asConcrete: XcmV1MultiLocation;3765 readonly isAbstract: boolean;3766 readonly asAbstract: Bytes;3767 readonly type: 'Concrete' | 'Abstract';3768}37693770/** @name XcmV1MultiassetAssetInstance */3771export interface XcmV1MultiassetAssetInstance extends Enum {3772 readonly isUndefined: boolean;3773 readonly isIndex: boolean;3774 readonly asIndex: Compact<u128>;3775 readonly isArray4: boolean;3776 readonly asArray4: U8aFixed;3777 readonly isArray8: boolean;3778 readonly asArray8: U8aFixed;3779 readonly isArray16: boolean;3780 readonly asArray16: U8aFixed;3781 readonly isArray32: boolean;3782 readonly asArray32: U8aFixed;3783 readonly isBlob: boolean;3784 readonly asBlob: Bytes;3785 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3786}37873788/** @name XcmV1MultiassetFungibility */3789export interface XcmV1MultiassetFungibility extends Enum {3790 readonly isFungible: boolean;3791 readonly asFungible: Compact<u128>;3792 readonly isNonFungible: boolean;3793 readonly asNonFungible: XcmV1MultiassetAssetInstance;3794 readonly type: 'Fungible' | 'NonFungible';3795}37963797/** @name XcmV1MultiassetMultiAssetFilter */3798export interface XcmV1MultiassetMultiAssetFilter extends Enum {3799 readonly isDefinite: boolean;3800 readonly asDefinite: XcmV1MultiassetMultiAssets;3801 readonly isWild: boolean;3802 readonly asWild: XcmV1MultiassetWildMultiAsset;3803 readonly type: 'Definite' | 'Wild';3804}38053806/** @name XcmV1MultiassetMultiAssets */3807export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}38083809/** @name XcmV1MultiassetWildFungibility */3810export interface XcmV1MultiassetWildFungibility extends Enum {3811 readonly isFungible: boolean;3812 readonly isNonFungible: boolean;3813 readonly type: 'Fungible' | 'NonFungible';3814}38153816/** @name XcmV1MultiassetWildMultiAsset */3817export interface XcmV1MultiassetWildMultiAsset extends Enum {3818 readonly isAll: boolean;3819 readonly isAllOf: boolean;3820 readonly asAllOf: {3821 readonly id: XcmV1MultiassetAssetId;3822 readonly fun: XcmV1MultiassetWildFungibility;3823 } & Struct;3824 readonly type: 'All' | 'AllOf';3825}38263827/** @name XcmV1MultiLocation */3828export interface XcmV1MultiLocation extends Struct {3829 readonly parents: u8;3830 readonly interior: XcmV1MultilocationJunctions;3831}38323833/** @name XcmV1MultilocationJunctions */3834export interface XcmV1MultilocationJunctions extends Enum {3835 readonly isHere: boolean;3836 readonly isX1: boolean;3837 readonly asX1: XcmV1Junction;3838 readonly isX2: boolean;3839 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3840 readonly isX3: boolean;3841 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3842 readonly isX4: boolean;3843 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3844 readonly isX5: boolean;3845 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3846 readonly isX6: boolean;3847 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3848 readonly isX7: boolean;3849 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3850 readonly isX8: boolean;3851 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3852 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3853}38543855/** @name XcmV1Order */3856export interface XcmV1Order extends Enum {3857 readonly isNoop: boolean;3858 readonly isDepositAsset: boolean;3859 readonly asDepositAsset: {3860 readonly assets: XcmV1MultiassetMultiAssetFilter;3861 readonly maxAssets: u32;3862 readonly beneficiary: XcmV1MultiLocation;3863 } & Struct;3864 readonly isDepositReserveAsset: boolean;3865 readonly asDepositReserveAsset: {3866 readonly assets: XcmV1MultiassetMultiAssetFilter;3867 readonly maxAssets: u32;3868 readonly dest: XcmV1MultiLocation;3869 readonly effects: Vec<XcmV1Order>;3870 } & Struct;3871 readonly isExchangeAsset: boolean;3872 readonly asExchangeAsset: {3873 readonly give: XcmV1MultiassetMultiAssetFilter;3874 readonly receive: XcmV1MultiassetMultiAssets;3875 } & Struct;3876 readonly isInitiateReserveWithdraw: boolean;3877 readonly asInitiateReserveWithdraw: {3878 readonly assets: XcmV1MultiassetMultiAssetFilter;3879 readonly reserve: XcmV1MultiLocation;3880 readonly effects: Vec<XcmV1Order>;3881 } & Struct;3882 readonly isInitiateTeleport: boolean;3883 readonly asInitiateTeleport: {3884 readonly assets: XcmV1MultiassetMultiAssetFilter;3885 readonly dest: XcmV1MultiLocation;3886 readonly effects: Vec<XcmV1Order>;3887 } & Struct;3888 readonly isQueryHolding: boolean;3889 readonly asQueryHolding: {3890 readonly queryId: Compact<u64>;3891 readonly dest: XcmV1MultiLocation;3892 readonly assets: XcmV1MultiassetMultiAssetFilter;3893 } & Struct;3894 readonly isBuyExecution: boolean;3895 readonly asBuyExecution: {3896 readonly fees: XcmV1MultiAsset;3897 readonly weight: u64;3898 readonly debt: u64;3899 readonly haltOnError: bool;3900 readonly instructions: Vec<XcmV1Xcm>;3901 } & Struct;3902 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3903}39043905/** @name XcmV1Response */3906export interface XcmV1Response extends Enum {3907 readonly isAssets: boolean;3908 readonly asAssets: XcmV1MultiassetMultiAssets;3909 readonly isVersion: boolean;3910 readonly asVersion: u32;3911 readonly type: 'Assets' | 'Version';3912}39133914/** @name XcmV1Xcm */3915export interface XcmV1Xcm extends Enum {3916 readonly isWithdrawAsset: boolean;3917 readonly asWithdrawAsset: {3918 readonly assets: XcmV1MultiassetMultiAssets;3919 readonly effects: Vec<XcmV1Order>;3920 } & Struct;3921 readonly isReserveAssetDeposited: boolean;3922 readonly asReserveAssetDeposited: {3923 readonly assets: XcmV1MultiassetMultiAssets;3924 readonly effects: Vec<XcmV1Order>;3925 } & Struct;3926 readonly isReceiveTeleportedAsset: boolean;3927 readonly asReceiveTeleportedAsset: {3928 readonly assets: XcmV1MultiassetMultiAssets;3929 readonly effects: Vec<XcmV1Order>;3930 } & Struct;3931 readonly isQueryResponse: boolean;3932 readonly asQueryResponse: {3933 readonly queryId: Compact<u64>;3934 readonly response: XcmV1Response;3935 } & Struct;3936 readonly isTransferAsset: boolean;3937 readonly asTransferAsset: {3938 readonly assets: XcmV1MultiassetMultiAssets;3939 readonly beneficiary: XcmV1MultiLocation;3940 } & Struct;3941 readonly isTransferReserveAsset: boolean;3942 readonly asTransferReserveAsset: {3943 readonly assets: XcmV1MultiassetMultiAssets;3944 readonly dest: XcmV1MultiLocation;3945 readonly effects: Vec<XcmV1Order>;3946 } & Struct;3947 readonly isTransact: boolean;3948 readonly asTransact: {3949 readonly originType: XcmV0OriginKind;3950 readonly requireWeightAtMost: u64;3951 readonly call: XcmDoubleEncoded;3952 } & Struct;3953 readonly isHrmpNewChannelOpenRequest: boolean;3954 readonly asHrmpNewChannelOpenRequest: {3955 readonly sender: Compact<u32>;3956 readonly maxMessageSize: Compact<u32>;3957 readonly maxCapacity: Compact<u32>;3958 } & Struct;3959 readonly isHrmpChannelAccepted: boolean;3960 readonly asHrmpChannelAccepted: {3961 readonly recipient: Compact<u32>;3962 } & Struct;3963 readonly isHrmpChannelClosing: boolean;3964 readonly asHrmpChannelClosing: {3965 readonly initiator: Compact<u32>;3966 readonly sender: Compact<u32>;3967 readonly recipient: Compact<u32>;3968 } & Struct;3969 readonly isRelayedFrom: boolean;3970 readonly asRelayedFrom: {3971 readonly who: XcmV1MultilocationJunctions;3972 readonly message: XcmV1Xcm;3973 } & Struct;3974 readonly isSubscribeVersion: boolean;3975 readonly asSubscribeVersion: {3976 readonly queryId: Compact<u64>;3977 readonly maxResponseWeight: Compact<u64>;3978 } & Struct;3979 readonly isUnsubscribeVersion: boolean;3980 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3981}39823983/** @name XcmV2Instruction */3984export interface XcmV2Instruction extends Enum {3985 readonly isWithdrawAsset: boolean;3986 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3987 readonly isReserveAssetDeposited: boolean;3988 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3989 readonly isReceiveTeleportedAsset: boolean;3990 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3991 readonly isQueryResponse: boolean;3992 readonly asQueryResponse: {3993 readonly queryId: Compact<u64>;3994 readonly response: XcmV2Response;3995 readonly maxWeight: Compact<u64>;3996 } & Struct;3997 readonly isTransferAsset: boolean;3998 readonly asTransferAsset: {3999 readonly assets: XcmV1MultiassetMultiAssets;4000 readonly beneficiary: XcmV1MultiLocation;4001 } & Struct;4002 readonly isTransferReserveAsset: boolean;4003 readonly asTransferReserveAsset: {4004 readonly assets: XcmV1MultiassetMultiAssets;4005 readonly dest: XcmV1MultiLocation;4006 readonly xcm: XcmV2Xcm;4007 } & Struct;4008 readonly isTransact: boolean;4009 readonly asTransact: {4010 readonly originType: XcmV0OriginKind;4011 readonly requireWeightAtMost: Compact<u64>;4012 readonly call: XcmDoubleEncoded;4013 } & Struct;4014 readonly isHrmpNewChannelOpenRequest: boolean;4015 readonly asHrmpNewChannelOpenRequest: {4016 readonly sender: Compact<u32>;4017 readonly maxMessageSize: Compact<u32>;4018 readonly maxCapacity: Compact<u32>;4019 } & Struct;4020 readonly isHrmpChannelAccepted: boolean;4021 readonly asHrmpChannelAccepted: {4022 readonly recipient: Compact<u32>;4023 } & Struct;4024 readonly isHrmpChannelClosing: boolean;4025 readonly asHrmpChannelClosing: {4026 readonly initiator: Compact<u32>;4027 readonly sender: Compact<u32>;4028 readonly recipient: Compact<u32>;4029 } & Struct;4030 readonly isClearOrigin: boolean;4031 readonly isDescendOrigin: boolean;4032 readonly asDescendOrigin: XcmV1MultilocationJunctions;4033 readonly isReportError: boolean;4034 readonly asReportError: {4035 readonly queryId: Compact<u64>;4036 readonly dest: XcmV1MultiLocation;4037 readonly maxResponseWeight: Compact<u64>;4038 } & Struct;4039 readonly isDepositAsset: boolean;4040 readonly asDepositAsset: {4041 readonly assets: XcmV1MultiassetMultiAssetFilter;4042 readonly maxAssets: Compact<u32>;4043 readonly beneficiary: XcmV1MultiLocation;4044 } & Struct;4045 readonly isDepositReserveAsset: boolean;4046 readonly asDepositReserveAsset: {4047 readonly assets: XcmV1MultiassetMultiAssetFilter;4048 readonly maxAssets: Compact<u32>;4049 readonly dest: XcmV1MultiLocation;4050 readonly xcm: XcmV2Xcm;4051 } & Struct;4052 readonly isExchangeAsset: boolean;4053 readonly asExchangeAsset: {4054 readonly give: XcmV1MultiassetMultiAssetFilter;4055 readonly receive: XcmV1MultiassetMultiAssets;4056 } & Struct;4057 readonly isInitiateReserveWithdraw: boolean;4058 readonly asInitiateReserveWithdraw: {4059 readonly assets: XcmV1MultiassetMultiAssetFilter;4060 readonly reserve: XcmV1MultiLocation;4061 readonly xcm: XcmV2Xcm;4062 } & Struct;4063 readonly isInitiateTeleport: boolean;4064 readonly asInitiateTeleport: {4065 readonly assets: XcmV1MultiassetMultiAssetFilter;4066 readonly dest: XcmV1MultiLocation;4067 readonly xcm: XcmV2Xcm;4068 } & Struct;4069 readonly isQueryHolding: boolean;4070 readonly asQueryHolding: {4071 readonly queryId: Compact<u64>;4072 readonly dest: XcmV1MultiLocation;4073 readonly assets: XcmV1MultiassetMultiAssetFilter;4074 readonly maxResponseWeight: Compact<u64>;4075 } & Struct;4076 readonly isBuyExecution: boolean;4077 readonly asBuyExecution: {4078 readonly fees: XcmV1MultiAsset;4079 readonly weightLimit: XcmV2WeightLimit;4080 } & Struct;4081 readonly isRefundSurplus: boolean;4082 readonly isSetErrorHandler: boolean;4083 readonly asSetErrorHandler: XcmV2Xcm;4084 readonly isSetAppendix: boolean;4085 readonly asSetAppendix: XcmV2Xcm;4086 readonly isClearError: boolean;4087 readonly isClaimAsset: boolean;4088 readonly asClaimAsset: {4089 readonly assets: XcmV1MultiassetMultiAssets;4090 readonly ticket: XcmV1MultiLocation;4091 } & Struct;4092 readonly isTrap: boolean;4093 readonly asTrap: Compact<u64>;4094 readonly isSubscribeVersion: boolean;4095 readonly asSubscribeVersion: {4096 readonly queryId: Compact<u64>;4097 readonly maxResponseWeight: Compact<u64>;4098 } & Struct;4099 readonly isUnsubscribeVersion: boolean;4100 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';4101}41024103/** @name XcmV2Response */4104export interface XcmV2Response extends Enum {4105 readonly isNull: boolean;4106 readonly isAssets: boolean;4107 readonly asAssets: XcmV1MultiassetMultiAssets;4108 readonly isExecutionResult: boolean;4109 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;4110 readonly isVersion: boolean;4111 readonly asVersion: u32;4112 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';4113}41144115/** @name XcmV2TraitsError */4116export interface XcmV2TraitsError extends Enum {4117 readonly isOverflow: boolean;4118 readonly isUnimplemented: boolean;4119 readonly isUntrustedReserveLocation: boolean;4120 readonly isUntrustedTeleportLocation: boolean;4121 readonly isMultiLocationFull: boolean;4122 readonly isMultiLocationNotInvertible: boolean;4123 readonly isBadOrigin: boolean;4124 readonly isInvalidLocation: boolean;4125 readonly isAssetNotFound: boolean;4126 readonly isFailedToTransactAsset: boolean;4127 readonly isNotWithdrawable: boolean;4128 readonly isLocationCannotHold: boolean;4129 readonly isExceedsMaxMessageSize: boolean;4130 readonly isDestinationUnsupported: boolean;4131 readonly isTransport: boolean;4132 readonly isUnroutable: boolean;4133 readonly isUnknownClaim: boolean;4134 readonly isFailedToDecode: boolean;4135 readonly isMaxWeightInvalid: boolean;4136 readonly isNotHoldingFees: boolean;4137 readonly isTooExpensive: boolean;4138 readonly isTrap: boolean;4139 readonly asTrap: u64;4140 readonly isUnhandledXcmVersion: boolean;4141 readonly isWeightLimitReached: boolean;4142 readonly asWeightLimitReached: u64;4143 readonly isBarrier: boolean;4144 readonly isWeightNotComputable: boolean;4145 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';4146}41474148/** @name XcmV2TraitsOutcome */4149export interface XcmV2TraitsOutcome extends Enum {4150 readonly isComplete: boolean;4151 readonly asComplete: u64;4152 readonly isIncomplete: boolean;4153 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;4154 readonly isError: boolean;4155 readonly asError: XcmV2TraitsError;4156 readonly type: 'Complete' | 'Incomplete' | 'Error';4157}41584159/** @name XcmV2WeightLimit */4160export interface XcmV2WeightLimit extends Enum {4161 readonly isUnlimited: boolean;4162 readonly isLimited: boolean;4163 readonly asLimited: Compact<u64>;4164 readonly type: 'Unlimited' | 'Limited';4165}41664167/** @name XcmV2Xcm */4168export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}41694170/** @name XcmVersionedMultiAsset */4171export interface XcmVersionedMultiAsset extends Enum {4172 readonly isV0: boolean;4173 readonly asV0: XcmV0MultiAsset;4174 readonly isV1: boolean;4175 readonly asV1: XcmV1MultiAsset;4176 readonly type: 'V0' | 'V1';4177}41784179/** @name XcmVersionedMultiAssets */4180export interface XcmVersionedMultiAssets extends Enum {4181 readonly isV0: boolean;4182 readonly asV0: Vec<XcmV0MultiAsset>;4183 readonly isV1: boolean;4184 readonly asV1: XcmV1MultiassetMultiAssets;4185 readonly type: 'V0' | 'V1';4186}41874188/** @name XcmVersionedMultiLocation */4189export interface XcmVersionedMultiLocation extends Enum {4190 readonly isV0: boolean;4191 readonly asV0: XcmV0MultiLocation;4192 readonly isV1: boolean;4193 readonly asV1: XcmV1MultiLocation;4194 readonly type: 'V0' | 'V1';4195}41964197/** @name XcmVersionedXcm */4198export interface XcmVersionedXcm extends Enum {4199 readonly isV0: boolean;4200 readonly asV0: XcmV0Xcm;4201 readonly isV1: boolean;4202 readonly asV1: XcmV1Xcm;4203 readonly isV2: boolean;4204 readonly asV2: XcmV2Xcm;4205 readonly type: 'V0' | 'V1' | 'V2';4206}42074208export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -188,15 +188,6 @@
**/
PalletCollatorSelectionEvent: {
_enum: {
- NewDesiredCollators: {
- desiredCollators: 'u32',
- },
- NewLicenseBond: {
- bondAmount: 'u128',
- },
- NewKickThreshold: {
- lengthInBlocks: 'u32',
- },
InvulnerableAdded: {
invulnerable: 'AccountId32',
},
@@ -230,7 +221,55 @@
}
},
/**
- * Lookup32: pallet_balances::pallet::Event<T, I>
+ * Lookup32: pallet_identity::pallet::Event<T>
+ **/
+ PalletIdentityEvent: {
+ _enum: {
+ IdentitySet: {
+ who: 'AccountId32',
+ },
+ IdentityCleared: {
+ who: 'AccountId32',
+ deposit: 'u128',
+ },
+ IdentityKilled: {
+ who: 'AccountId32',
+ deposit: 'u128',
+ },
+ JudgementRequested: {
+ who: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ JudgementUnrequested: {
+ who: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ JudgementGiven: {
+ target: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ RegistrarAdded: {
+ registrarIndex: 'u32',
+ },
+ SubIdentityAdded: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128',
+ },
+ SubIdentityRemoved: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128',
+ },
+ SubIdentityRevoked: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128'
+ }
+ }
+ },
+ /**
+ * Lookup33: pallet_balances::pallet::Event<T, I>
**/
PalletBalancesEvent: {
_enum: {
@@ -281,13 +320,13 @@
}
},
/**
- * Lookup33: frame_support::traits::tokens::misc::BalanceStatus
+ * Lookup34: frame_support::traits::tokens::misc::BalanceStatus
**/
FrameSupportTokensMiscBalanceStatus: {
_enum: ['Free', 'Reserved']
},
/**
- * Lookup34: pallet_transaction_payment::pallet::Event<T>
+ * Lookup35: pallet_transaction_payment::pallet::Event<T>
**/
PalletTransactionPaymentEvent: {
_enum: {
@@ -299,7 +338,7 @@
}
},
/**
- * Lookup35: pallet_treasury::pallet::Event<T, I>
+ * Lookup36: pallet_treasury::pallet::Event<T, I>
**/
PalletTreasuryEvent: {
_enum: {
@@ -335,7 +374,7 @@
}
},
/**
- * Lookup36: pallet_sudo::pallet::Event<T>
+ * Lookup37: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -351,7 +390,7 @@
}
},
/**
- * Lookup40: orml_vesting::module::Event<T>
+ * Lookup41: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -370,7 +409,7 @@
}
},
/**
- * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>
+ * Lookup42: orml_vesting::VestingSchedule<BlockNumber, Balance>
**/
OrmlVestingVestingSchedule: {
start: 'u32',
@@ -379,7 +418,7 @@
perPeriod: 'Compact<u128>'
},
/**
- * Lookup43: orml_xtokens::module::Event<T>
+ * Lookup44: orml_xtokens::module::Event<T>
**/
OrmlXtokensModuleEvent: {
_enum: {
@@ -392,18 +431,18 @@
}
},
/**
- * Lookup44: xcm::v1::multiasset::MultiAssets
+ * Lookup45: xcm::v1::multiasset::MultiAssets
**/
XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
/**
- * Lookup46: xcm::v1::multiasset::MultiAsset
+ * Lookup47: xcm::v1::multiasset::MultiAsset
**/
XcmV1MultiAsset: {
id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetFungibility'
},
/**
- * Lookup47: xcm::v1::multiasset::AssetId
+ * Lookup48: xcm::v1::multiasset::AssetId
**/
XcmV1MultiassetAssetId: {
_enum: {
@@ -412,14 +451,14 @@
}
},
/**
- * Lookup48: xcm::v1::multilocation::MultiLocation
+ * Lookup49: xcm::v1::multilocation::MultiLocation
**/
XcmV1MultiLocation: {
parents: 'u8',
interior: 'XcmV1MultilocationJunctions'
},
/**
- * Lookup49: xcm::v1::multilocation::Junctions
+ * Lookup50: xcm::v1::multilocation::Junctions
**/
XcmV1MultilocationJunctions: {
_enum: {
@@ -435,7 +474,7 @@
}
},
/**
- * Lookup50: xcm::v1::junction::Junction
+ * Lookup51: xcm::v1::junction::Junction
**/
XcmV1Junction: {
_enum: {
@@ -463,7 +502,7 @@
}
},
/**
- * Lookup52: xcm::v0::junction::NetworkId
+ * Lookup53: xcm::v0::junction::NetworkId
**/
XcmV0JunctionNetworkId: {
_enum: {
@@ -474,7 +513,7 @@
}
},
/**
- * Lookup55: xcm::v0::junction::BodyId
+ * Lookup56: xcm::v0::junction::BodyId
**/
XcmV0JunctionBodyId: {
_enum: {
@@ -488,7 +527,7 @@
}
},
/**
- * Lookup56: xcm::v0::junction::BodyPart
+ * Lookup57: xcm::v0::junction::BodyPart
**/
XcmV0JunctionBodyPart: {
_enum: {
@@ -511,7 +550,7 @@
}
},
/**
- * Lookup57: xcm::v1::multiasset::Fungibility
+ * Lookup58: xcm::v1::multiasset::Fungibility
**/
XcmV1MultiassetFungibility: {
_enum: {
@@ -520,7 +559,7 @@
}
},
/**
- * Lookup58: xcm::v1::multiasset::AssetInstance
+ * Lookup59: xcm::v1::multiasset::AssetInstance
**/
XcmV1MultiassetAssetInstance: {
_enum: {
@@ -534,7 +573,7 @@
}
},
/**
- * Lookup61: orml_tokens::module::Event<T>
+ * Lookup62: orml_tokens::module::Event<T>
**/
OrmlTokensModuleEvent: {
_enum: {
@@ -611,7 +650,7 @@
}
},
/**
- * Lookup62: pallet_foreign_assets::AssetIds
+ * Lookup63: pallet_foreign_assets::AssetIds
**/
PalletForeignAssetsAssetIds: {
_enum: {
@@ -620,13 +659,13 @@
}
},
/**
- * Lookup63: pallet_foreign_assets::NativeCurrency
+ * Lookup64: pallet_foreign_assets::NativeCurrency
**/
PalletForeignAssetsNativeCurrency: {
_enum: ['Here', 'Parent']
},
/**
- * Lookup64: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup65: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -664,7 +703,7 @@
}
},
/**
- * Lookup66: xcm::v2::traits::Error
+ * Lookup67: xcm::v2::traits::Error
**/
XcmV2TraitsError: {
_enum: {
@@ -697,7 +736,7 @@
}
},
/**
- * Lookup68: pallet_xcm::pallet::Event<T>
+ * Lookup69: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -721,7 +760,7 @@
}
},
/**
- * Lookup69: xcm::v2::traits::Outcome
+ * Lookup70: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -731,11 +770,11 @@
}
},
/**
- * Lookup70: xcm::v2::Xcm<RuntimeCall>
+ * Lookup71: xcm::v2::Xcm<RuntimeCall>
**/
XcmV2Xcm: 'Vec<XcmV2Instruction>',
/**
- * Lookup72: xcm::v2::Instruction<RuntimeCall>
+ * Lookup73: xcm::v2::Instruction<RuntimeCall>
**/
XcmV2Instruction: {
_enum: {
@@ -833,7 +872,7 @@
}
},
/**
- * Lookup73: xcm::v2::Response
+ * Lookup74: xcm::v2::Response
**/
XcmV2Response: {
_enum: {
@@ -844,19 +883,19 @@
}
},
/**
- * Lookup76: xcm::v0::OriginKind
+ * Lookup77: xcm::v0::OriginKind
**/
XcmV0OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
- * Lookup77: xcm::double_encoded::DoubleEncoded<T>
+ * Lookup78: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
- * Lookup78: xcm::v1::multiasset::MultiAssetFilter
+ * Lookup79: xcm::v1::multiasset::MultiAssetFilter
**/
XcmV1MultiassetMultiAssetFilter: {
_enum: {
@@ -865,7 +904,7 @@
}
},
/**
- * Lookup79: xcm::v1::multiasset::WildMultiAsset
+ * Lookup80: xcm::v1::multiasset::WildMultiAsset
**/
XcmV1MultiassetWildMultiAsset: {
_enum: {
@@ -877,13 +916,13 @@
}
},
/**
- * Lookup80: xcm::v1::multiasset::WildFungibility
+ * Lookup81: xcm::v1::multiasset::WildFungibility
**/
XcmV1MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
- * Lookup81: xcm::v2::WeightLimit
+ * Lookup82: xcm::v2::WeightLimit
**/
XcmV2WeightLimit: {
_enum: {
@@ -892,7 +931,7 @@
}
},
/**
- * Lookup83: xcm::VersionedMultiAssets
+ * Lookup84: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
@@ -901,7 +940,7 @@
}
},
/**
- * Lookup85: xcm::v0::multi_asset::MultiAsset
+ * Lookup86: xcm::v0::multi_asset::MultiAsset
**/
XcmV0MultiAsset: {
_enum: {
@@ -940,7 +979,7 @@
}
},
/**
- * Lookup86: xcm::v0::multi_location::MultiLocation
+ * Lookup87: xcm::v0::multi_location::MultiLocation
**/
XcmV0MultiLocation: {
_enum: {
@@ -956,7 +995,7 @@
}
},
/**
- * Lookup87: xcm::v0::junction::Junction
+ * Lookup88: xcm::v0::junction::Junction
**/
XcmV0Junction: {
_enum: {
@@ -985,7 +1024,7 @@
}
},
/**
- * Lookup88: xcm::VersionedMultiLocation
+ * Lookup89: xcm::VersionedMultiLocation
**/
XcmVersionedMultiLocation: {
_enum: {
@@ -994,7 +1033,7 @@
}
},
/**
- * Lookup89: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup90: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -1004,7 +1043,7 @@
}
},
/**
- * Lookup90: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup91: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -1035,7 +1074,23 @@
}
},
/**
- * Lookup91: pallet_common::pallet::Event<T>
+ * Lookup92: pallet_configuration::pallet::Event<T>
+ **/
+ PalletConfigurationEvent: {
+ _enum: {
+ NewDesiredCollators: {
+ desiredCollators: 'Option<u32>',
+ },
+ NewCollatorLicenseBond: {
+ bondCost: 'Option<u128>',
+ },
+ NewCollatorKickThreshold: {
+ lengthInBlocks: 'Option<u32>'
+ }
+ }
+ },
+ /**
+ * Lookup95: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1064,7 +1119,7 @@
}
},
/**
- * Lookup94: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ * Lookup98: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
**/
PalletEvmAccountBasicCrossAccountIdRepr: {
_enum: {
@@ -1073,7 +1128,7 @@
}
},
/**
- * Lookup98: pallet_structure::pallet::Event<T>
+ * Lookup102: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -1081,7 +1136,7 @@
}
},
/**
- * Lookup99: pallet_rmrk_core::pallet::Event<T>
+ * Lookup103: pallet_rmrk_core::pallet::Event<T>
**/
PalletRmrkCoreEvent: {
_enum: {
@@ -1158,7 +1213,7 @@
}
},
/**
- * Lookup100: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
+ * Lookup104: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
**/
RmrkTraitsNftAccountIdOrCollectionNftTuple: {
_enum: {
@@ -1167,7 +1222,7 @@
}
},
/**
- * Lookup104: pallet_rmrk_equip::pallet::Event<T>
+ * Lookup107: pallet_rmrk_equip::pallet::Event<T>
**/
PalletRmrkEquipEvent: {
_enum: {
@@ -1182,7 +1237,7 @@
}
},
/**
- * Lookup105: pallet_app_promotion::pallet::Event<T>
+ * Lookup108: pallet_app_promotion::pallet::Event<T>
**/
PalletAppPromotionEvent: {
_enum: {
@@ -1193,7 +1248,7 @@
}
},
/**
- * Lookup106: pallet_foreign_assets::module::Event<T>
+ * Lookup109: pallet_foreign_assets::module::Event<T>
**/
PalletForeignAssetsModuleEvent: {
_enum: {
@@ -1218,7 +1273,7 @@
}
},
/**
- * Lookup107: pallet_foreign_assets::module::AssetMetadata<Balance>
+ * Lookup110: pallet_foreign_assets::module::AssetMetadata<Balance>
**/
PalletForeignAssetsModuleAssetMetadata: {
name: 'Bytes',
@@ -1227,7 +1282,7 @@
minimalBalance: 'u128'
},
/**
- * Lookup108: pallet_evm::pallet::Event<T>
+ * Lookup111: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1249,7 +1304,7 @@
}
},
/**
- * Lookup109: ethereum::log::Log
+ * Lookup112: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1257,7 +1312,7 @@
data: 'Bytes'
},
/**
- * Lookup111: pallet_ethereum::pallet::Event
+ * Lookup114: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1270,7 +1325,7 @@
}
},
/**
- * Lookup112: evm_core::error::ExitReason
+ * Lookup115: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1281,13 +1336,13 @@
}
},
/**
- * Lookup113: evm_core::error::ExitSucceed
+ * Lookup116: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup114: evm_core::error::ExitError
+ * Lookup117: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1309,13 +1364,13 @@
}
},
/**
- * Lookup117: evm_core::error::ExitRevert
+ * Lookup120: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup118: evm_core::error::ExitFatal
+ * Lookup121: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1326,7 +1381,7 @@
}
},
/**
- * Lookup119: pallet_evm_contract_helpers::pallet::Event<T>
+ * Lookup122: pallet_evm_contract_helpers::pallet::Event<T>
**/
PalletEvmContractHelpersEvent: {
_enum: {
@@ -1336,25 +1391,25 @@
}
},
/**
- * Lookup120: pallet_evm_migration::pallet::Event<T>
+ * Lookup123: pallet_data_management::pallet::Event<T>
**/
- PalletEvmMigrationEvent: {
+ PalletDataManagementEvent: {
_enum: ['TestEvent']
},
/**
- * Lookup121: pallet_maintenance::pallet::Event<T>
+ * Lookup124: pallet_maintenance::pallet::Event<T>
**/
PalletMaintenanceEvent: {
_enum: ['MaintenanceEnabled', 'MaintenanceDisabled']
},
/**
- * Lookup122: pallet_test_utils::pallet::Event<T>
+ * Lookup125: pallet_test_utils::pallet::Event<T>
**/
PalletTestUtilsEvent: {
_enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']
},
/**
- * Lookup123: frame_system::Phase
+ * Lookup126: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1364,14 +1419,14 @@
}
},
/**
- * Lookup126: frame_system::LastRuntimeUpgradeInfo
+ * Lookup129: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup127: frame_system::pallet::Call<T>
+ * Lookup130: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -1409,7 +1464,7 @@
}
},
/**
- * Lookup132: frame_system::limits::BlockWeights
+ * Lookup135: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'SpWeightsWeightV2Weight',
@@ -1417,7 +1472,7 @@
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
},
/**
- * Lookup133: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup136: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1425,7 +1480,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup134: frame_system::limits::WeightsPerClass
+ * Lookup137: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'SpWeightsWeightV2Weight',
@@ -1434,13 +1489,13 @@
reserved: 'Option<SpWeightsWeightV2Weight>'
},
/**
- * Lookup136: frame_system::limits::BlockLength
+ * Lookup139: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportDispatchPerDispatchClassU32'
},
/**
- * Lookup137: frame_support::dispatch::PerDispatchClass<T>
+ * Lookup140: frame_support::dispatch::PerDispatchClass<T>
**/
FrameSupportDispatchPerDispatchClassU32: {
normal: 'u32',
@@ -1448,14 +1503,14 @@
mandatory: 'u32'
},
/**
- * Lookup138: sp_weights::RuntimeDbWeight
+ * Lookup141: sp_weights::RuntimeDbWeight
**/
SpWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup139: sp_version::RuntimeVersion
+ * Lookup142: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1468,13 +1523,13 @@
stateVersion: 'u8'
},
/**
- * Lookup144: frame_system::pallet::Error<T>
+ * Lookup147: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup145: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ * Lookup148: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
@@ -1483,19 +1538,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup148: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup151: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup149: sp_trie::storage_proof::StorageProof
+ * Lookup152: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup151: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup154: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1504,7 +1559,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup154: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup157: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1515,7 +1570,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup155: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup158: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1529,14 +1584,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup161: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup164: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup162: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup165: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1555,7 +1610,7 @@
}
},
/**
- * Lookup163: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup166: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1564,27 +1619,27 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup165: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup168: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup168: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup171: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup171: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup174: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup173: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
+ * Lookup176: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
**/
PalletAuthorshipUncleEntryItem: {
_enum: {
@@ -1593,7 +1648,7 @@
}
},
/**
- * Lookup175: pallet_authorship::pallet::Call<T>
+ * Lookup178: pallet_authorship::pallet::Call<T>
**/
PalletAuthorshipCall: {
_enum: {
@@ -1603,7 +1658,7 @@
}
},
/**
- * Lookup177: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
+ * Lookup180: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
**/
SpRuntimeHeader: {
parentHash: 'H256',
@@ -1613,17 +1668,17 @@
digest: 'SpRuntimeDigest'
},
/**
- * Lookup178: sp_runtime::traits::BlakeTwo256
+ * Lookup181: sp_runtime::traits::BlakeTwo256
**/
SpRuntimeBlakeTwo256: 'Null',
/**
- * Lookup179: pallet_authorship::pallet::Error<T>
+ * Lookup182: pallet_authorship::pallet::Error<T>
**/
PalletAuthorshipError: {
_enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
},
/**
- * Lookup182: pallet_collator_selection::pallet::Call<T>
+ * Lookup185: pallet_collator_selection::pallet::Call<T>
**/
PalletCollatorSelectionCall: {
_enum: {
@@ -1636,15 +1691,6 @@
remove_invulnerable: {
who: 'AccountId32',
},
- set_desired_collators: {
- max: 'u32',
- },
- set_license_bond: {
- bond: 'u128',
- },
- set_kick_threshold: {
- kickThreshold: 'u32',
- },
get_license: 'Null',
onboard: 'Null',
offboard: 'Null',
@@ -1655,31 +1701,31 @@
}
},
/**
- * Lookup183: pallet_collator_selection::pallet::Error<T>
+ * Lookup186: pallet_collator_selection::pallet::Error<T>
**/
PalletCollatorSelectionError: {
_enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']
},
/**
- * Lookup186: opal_runtime::runtime_common::SessionKeys
+ * Lookup189: opal_runtime::runtime_common::SessionKeys
**/
OpalRuntimeRuntimeCommonSessionKeys: {
aura: 'SpConsensusAuraSr25519AppSr25519Public'
},
/**
- * Lookup187: sp_consensus_aura::sr25519::app_sr25519::Public
+ * Lookup190: sp_consensus_aura::sr25519::app_sr25519::Public
**/
SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',
/**
- * Lookup188: sp_core::sr25519::Public
+ * Lookup191: sp_core::sr25519::Public
**/
SpCoreSr25519Public: '[u8;32]',
/**
- * Lookup191: sp_core::crypto::KeyTypeId
+ * Lookup194: sp_core::crypto::KeyTypeId
**/
SpCoreCryptoKeyTypeId: '[u8;4]',
/**
- * Lookup192: pallet_session::pallet::Call<T>
+ * Lookup195: pallet_session::pallet::Call<T>
**/
PalletSessionCall: {
_enum: {
@@ -1694,40 +1740,170 @@
}
},
/**
- * Lookup193: pallet_session::pallet::Error<T>
+ * Lookup196: pallet_session::pallet::Error<T>
**/
PalletSessionError: {
_enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
},
/**
- * Lookup195: pallet_balances::BalanceLock<Balance>
+ * Lookup197: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
+ **/
+ PalletIdentityRegistration: {
+ judgements: 'Vec<(u32,PalletIdentityJudgement)>',
+ deposit: 'u128',
+ info: 'PalletIdentityIdentityInfo'
+ },
+ /**
+ * Lookup200: pallet_identity::types::Judgement<Balance>
+ **/
+ PalletIdentityJudgement: {
+ _enum: {
+ Unknown: 'Null',
+ FeePaid: 'u128',
+ Reasonable: 'Null',
+ KnownGood: 'Null',
+ OutOfDate: 'Null',
+ LowQuality: 'Null',
+ Erroneous: 'Null'
+ }
+ },
+ /**
+ * Lookup202: pallet_identity::types::IdentityInfo<FieldLimit>
**/
+ PalletIdentityIdentityInfo: {
+ additional: 'Vec<(Data,Data)>',
+ display: 'Data',
+ legal: 'Data',
+ web: 'Data',
+ riot: 'Data',
+ email: 'Data',
+ pgpFingerprint: 'Option<[u8;20]>',
+ image: 'Data',
+ twitter: 'Data'
+ },
+ /**
+ * Lookup241: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
+ **/
+ PalletIdentityRegistrarInfo: {
+ account: 'AccountId32',
+ fee: 'u128',
+ fields: 'PalletIdentityBitFlags'
+ },
+ /**
+ * Lookup242: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
+ **/
+ PalletIdentityBitFlags: {
+ _bitLength: 64,
+ Display: 1,
+ Legal: 2,
+ Web: 4,
+ Riot: 8,
+ Email: 16,
+ PgpFingerprint: 32,
+ Image: 64,
+ Twitter: 128
+ },
+ /**
+ * Lookup243: pallet_identity::types::IdentityField
+ **/
+ PalletIdentityIdentityField: {
+ _enum: ['__Unused0', 'Display', 'Legal', '__Unused3', 'Web', '__Unused5', '__Unused6', '__Unused7', 'Riot', '__Unused9', '__Unused10', '__Unused11', '__Unused12', '__Unused13', '__Unused14', '__Unused15', 'Email', '__Unused17', '__Unused18', '__Unused19', '__Unused20', '__Unused21', '__Unused22', '__Unused23', '__Unused24', '__Unused25', '__Unused26', '__Unused27', '__Unused28', '__Unused29', '__Unused30', '__Unused31', 'PgpFingerprint', '__Unused33', '__Unused34', '__Unused35', '__Unused36', '__Unused37', '__Unused38', '__Unused39', '__Unused40', '__Unused41', '__Unused42', '__Unused43', '__Unused44', '__Unused45', '__Unused46', '__Unused47', '__Unused48', '__Unused49', '__Unused50', '__Unused51', '__Unused52', '__Unused53', '__Unused54', '__Unused55', '__Unused56', '__Unused57', '__Unused58', '__Unused59', '__Unused60', '__Unused61', '__Unused62', '__Unused63', 'Image', '__Unused65', '__Unused66', '__Unused67', '__Unused68', '__Unused69', '__Unused70', '__Unused71', '__Unused72', '__Unused73', '__Unused74', '__Unused75', '__Unused76', '__Unused77', '__Unused78', '__Unused79', '__Unused80', '__Unused81', '__Unused82', '__Unused83', '__Unused84', '__Unused85', '__Unused86', '__Unused87', '__Unused88', '__Unused89', '__Unused90', '__Unused91', '__Unused92', '__Unused93', '__Unused94', '__Unused95', '__Unused96', '__Unused97', '__Unused98', '__Unused99', '__Unused100', '__Unused101', '__Unused102', '__Unused103', '__Unused104', '__Unused105', '__Unused106', '__Unused107', '__Unused108', '__Unused109', '__Unused110', '__Unused111', '__Unused112', '__Unused113', '__Unused114', '__Unused115', '__Unused116', '__Unused117', '__Unused118', '__Unused119', '__Unused120', '__Unused121', '__Unused122', '__Unused123', '__Unused124', '__Unused125', '__Unused126', '__Unused127', 'Twitter']
+ },
+ /**
+ * Lookup245: pallet_identity::pallet::Call<T>
+ **/
+ PalletIdentityCall: {
+ _enum: {
+ add_registrar: {
+ account: 'MultiAddress',
+ },
+ set_identity: {
+ info: 'PalletIdentityIdentityInfo',
+ },
+ set_subs: {
+ subs: 'Vec<(AccountId32,Data)>',
+ },
+ clear_identity: 'Null',
+ request_judgement: {
+ regIndex: 'Compact<u32>',
+ maxFee: 'Compact<u128>',
+ },
+ cancel_request: {
+ regIndex: 'u32',
+ },
+ set_fee: {
+ index: 'Compact<u32>',
+ fee: 'Compact<u128>',
+ },
+ set_account_id: {
+ _alias: {
+ new_: 'new',
+ },
+ index: 'Compact<u32>',
+ new_: 'MultiAddress',
+ },
+ set_fields: {
+ index: 'Compact<u32>',
+ fields: 'PalletIdentityBitFlags',
+ },
+ provide_judgement: {
+ regIndex: 'Compact<u32>',
+ target: 'MultiAddress',
+ judgement: 'PalletIdentityJudgement',
+ identity: 'H256',
+ },
+ kill_identity: {
+ target: 'MultiAddress',
+ },
+ add_sub: {
+ sub: 'MultiAddress',
+ data: 'Data',
+ },
+ rename_sub: {
+ sub: 'MultiAddress',
+ data: 'Data',
+ },
+ remove_sub: {
+ sub: 'MultiAddress',
+ },
+ quit_sub: 'Null'
+ }
+ },
+ /**
+ * Lookup249: pallet_identity::pallet::Error<T>
+ **/
+ PalletIdentityError: {
+ _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']
+ },
+ /**
+ * Lookup251: pallet_balances::BalanceLock<Balance>
+ **/
PalletBalancesBalanceLock: {
id: '[u8;8]',
amount: 'u128',
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup196: pallet_balances::Reasons
+ * Lookup252: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup199: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup255: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup201: pallet_balances::Releases
+ * Lookup257: pallet_balances::Releases
**/
PalletBalancesReleases: {
_enum: ['V1_0_0', 'V2_0_0']
},
/**
- * Lookup202: pallet_balances::pallet::Call<T, I>
+ * Lookup258: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1760,13 +1936,13 @@
}
},
/**
- * Lookup205: pallet_balances::pallet::Error<T, I>
+ * Lookup259: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup207: pallet_timestamp::pallet::Call<T>
+ * Lookup261: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1776,13 +1952,13 @@
}
},
/**
- * Lookup209: pallet_transaction_payment::Releases
+ * Lookup263: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup210: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup264: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1791,7 +1967,7 @@
bond: 'u128'
},
/**
- * Lookup212: pallet_treasury::pallet::Call<T, I>
+ * Lookup266: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1815,17 +1991,17 @@
}
},
/**
- * Lookup215: frame_support::PalletId
+ * Lookup268: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup216: pallet_treasury::pallet::Error<T, I>
+ * Lookup269: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup217: pallet_sudo::pallet::Call<T>
+ * Lookup270: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1849,7 +2025,7 @@
}
},
/**
- * Lookup219: orml_vesting::module::Call<T>
+ * Lookup272: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1868,7 +2044,7 @@
}
},
/**
- * Lookup221: orml_xtokens::module::Call<T>
+ * Lookup274: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -1911,7 +2087,7 @@
}
},
/**
- * Lookup222: xcm::VersionedMultiAsset
+ * Lookup275: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
@@ -1920,7 +2096,7 @@
}
},
/**
- * Lookup225: orml_tokens::module::Call<T>
+ * Lookup278: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -1954,7 +2130,7 @@
}
},
/**
- * Lookup226: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup279: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -2003,7 +2179,7 @@
}
},
/**
- * Lookup227: pallet_xcm::pallet::Call<T>
+ * Lookup280: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -2057,7 +2233,7 @@
}
},
/**
- * Lookup228: xcm::VersionedXcm<RuntimeCall>
+ * Lookup281: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
@@ -2067,7 +2243,7 @@
}
},
/**
- * Lookup229: xcm::v0::Xcm<RuntimeCall>
+ * Lookup282: xcm::v0::Xcm<RuntimeCall>
**/
XcmV0Xcm: {
_enum: {
@@ -2121,7 +2297,7 @@
}
},
/**
- * Lookup231: xcm::v0::order::Order<RuntimeCall>
+ * Lookup284: xcm::v0::order::Order<RuntimeCall>
**/
XcmV0Order: {
_enum: {
@@ -2164,7 +2340,7 @@
}
},
/**
- * Lookup233: xcm::v0::Response
+ * Lookup286: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -2172,7 +2348,7 @@
}
},
/**
- * Lookup234: xcm::v1::Xcm<RuntimeCall>
+ * Lookup287: xcm::v1::Xcm<RuntimeCall>
**/
XcmV1Xcm: {
_enum: {
@@ -2231,7 +2407,7 @@
}
},
/**
- * Lookup236: xcm::v1::order::Order<RuntimeCall>
+ * Lookup289: xcm::v1::order::Order<RuntimeCall>
**/
XcmV1Order: {
_enum: {
@@ -2276,7 +2452,7 @@
}
},
/**
- * Lookup238: xcm::v1::Response
+ * Lookup291: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -2285,11 +2461,11 @@
}
},
/**
- * Lookup252: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup305: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup253: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup306: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -2300,7 +2476,7 @@
}
},
/**
- * Lookup254: pallet_inflation::pallet::Call<T>
+ * Lookup307: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2310,7 +2486,7 @@
}
},
/**
- * Lookup255: pallet_unique::Call<T>
+ * Lookup308: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2454,7 +2630,7 @@
}
},
/**
- * Lookup260: up_data_structs::CollectionMode
+ * Lookup313: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2464,7 +2640,7 @@
}
},
/**
- * Lookup261: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup314: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2479,13 +2655,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup263: up_data_structs::AccessMode
+ * Lookup316: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup265: up_data_structs::CollectionLimits
+ * Lookup318: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2499,7 +2675,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup267: up_data_structs::SponsoringRateLimit
+ * Lookup320: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2508,7 +2684,7 @@
}
},
/**
- * Lookup270: up_data_structs::CollectionPermissions
+ * Lookup323: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2516,7 +2692,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup272: up_data_structs::NestingPermissions
+ * Lookup325: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2524,18 +2700,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup274: up_data_structs::OwnerRestrictedSet
+ * Lookup327: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup279: up_data_structs::PropertyKeyPermission
+ * Lookup332: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup280: up_data_structs::PropertyPermission
+ * Lookup333: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2543,14 +2719,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup283: up_data_structs::Property
+ * Lookup336: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup286: up_data_structs::CreateItemData
+ * Lookup339: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2560,26 +2736,26 @@
}
},
/**
- * Lookup287: up_data_structs::CreateNftData
+ * Lookup340: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup288: up_data_structs::CreateFungibleData
+ * Lookup341: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup289: up_data_structs::CreateReFungibleData
+ * Lookup342: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup292: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup345: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2590,14 +2766,14 @@
}
},
/**
- * Lookup294: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup347: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup301: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup354: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2605,14 +2781,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup303: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup356: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup304: pallet_configuration::pallet::Call<T>
+ * Lookup357: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2626,12 +2802,21 @@
locations: 'Option<Vec<XcmV1MultiLocation>>',
},
set_app_promotion_configuration_override: {
- configuration: 'PalletConfigurationAppPromotionConfiguration'
+ configuration: 'PalletConfigurationAppPromotionConfiguration',
+ },
+ set_collator_selection_desired_collators: {
+ max: 'Option<u32>',
+ },
+ set_collator_selection_license_bond: {
+ amount: 'Option<u128>',
+ },
+ set_collator_selection_kick_threshold: {
+ threshold: 'Option<u32>'
}
}
},
/**
- * Lookup309: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+ * Lookup362: pallet_configuration::AppPromotionConfiguration<BlockNumber>
**/
PalletConfigurationAppPromotionConfiguration: {
recalculationInterval: 'Option<u32>',
@@ -2640,15 +2825,15 @@
maxStakersPerCalculation: 'Option<u8>'
},
/**
- * Lookup312: pallet_template_transaction_payment::Call<T>
+ * Lookup365: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup313: pallet_structure::pallet::Call<T>
+ * Lookup366: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup314: pallet_rmrk_core::pallet::Call<T>
+ * Lookup367: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -2739,7 +2924,7 @@
}
},
/**
- * Lookup320: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup373: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -2749,7 +2934,7 @@
}
},
/**
- * Lookup322: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup375: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -2758,7 +2943,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup324: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup377: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -2769,7 +2954,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup325: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup378: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -2780,7 +2965,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup328: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup381: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -2801,7 +2986,7 @@
}
},
/**
- * Lookup331: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup384: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -2810,7 +2995,7 @@
}
},
/**
- * Lookup333: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup386: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -2818,7 +3003,7 @@
src: 'Bytes'
},
/**
- * Lookup334: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup387: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -2827,7 +3012,7 @@
z: 'u32'
},
/**
- * Lookup335: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup388: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -2837,7 +3022,7 @@
}
},
/**
- * Lookup337: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
+ * Lookup390: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
**/
RmrkTraitsTheme: {
name: 'Bytes',
@@ -2845,14 +3030,14 @@
inherit: 'bool'
},
/**
- * Lookup339: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup392: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup341: pallet_app_promotion::pallet::Call<T>
+ * Lookup394: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
@@ -2881,7 +3066,7 @@
}
},
/**
- * Lookup342: pallet_foreign_assets::module::Call<T>
+ * Lookup395: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -2898,7 +3083,7 @@
}
},
/**
- * Lookup343: pallet_evm::pallet::Call<T>
+ * Lookup396: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2941,7 +3126,7 @@
}
},
/**
- * Lookup349: pallet_ethereum::pallet::Call<T>
+ * Lookup402: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2951,7 +3136,7 @@
}
},
/**
- * Lookup350: ethereum::transaction::TransactionV2
+ * Lookup403: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2961,7 +3146,7 @@
}
},
/**
- * Lookup351: ethereum::transaction::LegacyTransaction
+ * Lookup404: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2973,7 +3158,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup352: ethereum::transaction::TransactionAction
+ * Lookup405: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2982,7 +3167,7 @@
}
},
/**
- * Lookup353: ethereum::transaction::TransactionSignature
+ * Lookup406: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2990,7 +3175,7 @@
s: 'H256'
},
/**
- * Lookup355: ethereum::transaction::EIP2930Transaction
+ * Lookup408: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -3006,14 +3191,14 @@
s: 'H256'
},
/**
- * Lookup357: ethereum::transaction::AccessListItem
+ * Lookup410: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup358: ethereum::transaction::EIP1559Transaction
+ * Lookup411: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -3030,9 +3215,9 @@
s: 'H256'
},
/**
- * Lookup359: pallet_evm_migration::pallet::Call<T>
+ * Lookup412: pallet_data_management::pallet::Call<T>
**/
- PalletEvmMigrationCall: {
+ PalletDataManagementCall: {
_enum: {
begin: {
address: 'H160',
@@ -3054,13 +3239,13 @@
}
},
/**
- * Lookup363: pallet_maintenance::pallet::Call<T>
+ * Lookup416: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
_enum: ['enable', 'disable']
},
/**
- * Lookup364: pallet_test_utils::pallet::Call<T>
+ * Lookup417: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -3079,32 +3264,32 @@
}
},
/**
- * Lookup366: pallet_sudo::pallet::Error<T>
+ * Lookup419: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup368: orml_vesting::module::Error<T>
+ * Lookup421: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup369: orml_xtokens::module::Error<T>
+ * Lookup422: orml_xtokens::module::Error<T>
**/
OrmlXtokensModuleError: {
_enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
},
/**
- * Lookup372: orml_tokens::BalanceLock<Balance>
+ * Lookup425: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup374: orml_tokens::AccountData<Balance>
+ * Lookup427: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -3112,20 +3297,20 @@
frozen: 'u128'
},
/**
- * Lookup376: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup429: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup378: orml_tokens::module::Error<T>
+ * Lookup431: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup380: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup433: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -3133,19 +3318,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup381: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup434: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup384: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup437: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup387: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup440: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -3155,13 +3340,13 @@
lastIndex: 'u16'
},
/**
- * Lookup388: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup441: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup390: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup443: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3172,29 +3357,29 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup392: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup445: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup393: pallet_xcm::pallet::Error<T>
+ * Lookup446: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup394: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup447: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup395: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup448: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup396: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup449: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3202,25 +3387,25 @@
overweightCount: 'u64'
},
/**
- * Lookup399: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup452: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup403: pallet_unique::Error<T>
+ * Lookup456: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup404: pallet_configuration::pallet::Error<T>
+ * Lookup457: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup405: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup458: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3234,7 +3419,7 @@
flags: '[u8;1]'
},
/**
- * Lookup406: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup459: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3244,7 +3429,7 @@
}
},
/**
- * Lookup408: up_data_structs::Properties
+ * Lookup460: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -3252,15 +3437,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup409: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup461: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup414: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup466: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup421: up_data_structs::CollectionStats
+ * Lookup473: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3268,18 +3453,18 @@
alive: 'u32'
},
/**
- * Lookup422: up_data_structs::TokenChild
+ * Lookup474: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup423: PhantomType::up_data_structs<T>
+ * Lookup475: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup425: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup477: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3287,7 +3472,7 @@
pieces: 'u128'
},
/**
- * Lookup427: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup479: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3304,14 +3489,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup428: up_data_structs::RpcCollectionFlags
+ * Lookup480: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * Lookup429: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup481: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -3321,7 +3506,7 @@
nftsCount: 'u32'
},
/**
- * Lookup430: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup482: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -3331,14 +3516,14 @@
pending: 'bool'
},
/**
- * Lookup432: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup484: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup433: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup485: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -3347,14 +3532,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup434: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup486: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup435: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup487: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3362,92 +3547,92 @@
symbol: 'Bytes'
},
/**
- * Lookup436: rmrk_traits::nft::NftChild
+ * Lookup488: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup438: pallet_common::pallet::Error<T>
+ * Lookup490: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
},
/**
- * Lookup440: pallet_fungible::pallet::Error<T>
+ * Lookup492: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup441: pallet_refungible::ItemData
+ * Lookup493: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup446: pallet_refungible::pallet::Error<T>
+ * Lookup498: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup447: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup499: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup449: up_data_structs::PropertyScope
+ * Lookup501: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup451: pallet_nonfungible::pallet::Error<T>
+ * Lookup503: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup452: pallet_structure::pallet::Error<T>
+ * Lookup504: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup453: pallet_rmrk_core::pallet::Error<T>
+ * Lookup505: pallet_rmrk_core::pallet::Error<T>
**/
PalletRmrkCoreError: {
_enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
},
/**
- * Lookup455: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup507: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup461: pallet_app_promotion::pallet::Error<T>
+ * Lookup513: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
},
/**
- * Lookup462: pallet_foreign_assets::module::Error<T>
+ * Lookup514: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup464: pallet_evm::pallet::Error<T>
+ * Lookup516: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']
},
/**
- * Lookup467: fp_rpc::TransactionStatus
+ * Lookup519: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3459,11 +3644,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup469: ethbloom::Bloom
+ * Lookup521: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup471: ethereum::receipt::ReceiptV3
+ * Lookup523: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3473,7 +3658,7 @@
}
},
/**
- * Lookup472: ethereum::receipt::EIP658ReceiptData
+ * Lookup524: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3482,7 +3667,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup473: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup525: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3490,7 +3675,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup474: ethereum::header::Header
+ * Lookup526: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3510,23 +3695,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup475: ethereum_types::hash::H64
+ * Lookup527: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup480: pallet_ethereum::pallet::Error<T>
+ * Lookup532: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup481: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup533: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup482: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup534: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3536,35 +3721,35 @@
}
},
/**
- * Lookup483: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup535: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup489: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup541: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup490: pallet_evm_migration::pallet::Error<T>
+ * Lookup542: pallet_data_management::pallet::Error<T>
**/
- PalletEvmMigrationError: {
+ PalletDataManagementError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup491: pallet_maintenance::pallet::Error<T>
+ * Lookup543: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup492: pallet_test_utils::pallet::Error<T>
+ * Lookup544: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup494: sp_runtime::MultiSignature
+ * Lookup546: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3574,51 +3759,55 @@
}
},
/**
- * Lookup495: sp_core::ed25519::Signature
+ * Lookup547: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup497: sp_core::sr25519::Signature
+ * Lookup549: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup498: sp_core::ecdsa::Signature
+ * Lookup550: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup501: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup553: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup502: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup554: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup503: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup555: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup506: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup558: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup507: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup559: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup508: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup560: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup509: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup561: opal_runtime::runtime_common::data_management::FilterIdentity
**/
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: 'Null',
+ /**
+ * Lookup562: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ **/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup510: opal_runtime::Runtime
+ * Lookup563: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup511: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup564: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonDataManagementFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDataManagementCall, PalletDataManagementError, PalletDataManagementEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -74,6 +74,7 @@
FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;
FrameSystemPhase: FrameSystemPhase;
OpalRuntimeRuntime: OpalRuntimeRuntime;
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OrmlTokensAccountData: OrmlTokensAccountData;
@@ -111,6 +112,10 @@
PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
PalletConfigurationCall: PalletConfigurationCall;
PalletConfigurationError: PalletConfigurationError;
+ PalletConfigurationEvent: PalletConfigurationEvent;
+ PalletDataManagementCall: PalletDataManagementCall;
+ PalletDataManagementError: PalletDataManagementError;
+ PalletDataManagementEvent: PalletDataManagementEvent;
PalletEthereumCall: PalletEthereumCall;
PalletEthereumError: PalletEthereumError;
PalletEthereumEvent: PalletEthereumEvent;
@@ -123,9 +128,6 @@
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
PalletEvmError: PalletEvmError;
PalletEvmEvent: PalletEvmEvent;
- PalletEvmMigrationCall: PalletEvmMigrationCall;
- PalletEvmMigrationError: PalletEvmMigrationError;
- PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds;
PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata;
PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall;
@@ -133,6 +135,15 @@
PalletForeignAssetsModuleEvent: PalletForeignAssetsModuleEvent;
PalletForeignAssetsNativeCurrency: PalletForeignAssetsNativeCurrency;
PalletFungibleError: PalletFungibleError;
+ PalletIdentityBitFlags: PalletIdentityBitFlags;
+ PalletIdentityCall: PalletIdentityCall;
+ PalletIdentityError: PalletIdentityError;
+ PalletIdentityEvent: PalletIdentityEvent;
+ PalletIdentityIdentityField: PalletIdentityIdentityField;
+ PalletIdentityIdentityInfo: PalletIdentityIdentityInfo;
+ PalletIdentityJudgement: PalletIdentityJudgement;
+ PalletIdentityRegistrarInfo: PalletIdentityRegistrarInfo;
+ PalletIdentityRegistration: PalletIdentityRegistration;
PalletInflationCall: PalletInflationCall;
PalletMaintenanceCall: PalletMaintenanceCall;
PalletMaintenanceError: PalletMaintenanceError;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -5,7 +5,8 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/lookup';
-import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
+import type { Data } from '@polkadot/types';
+import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
@@ -198,18 +199,6 @@
/** @name PalletCollatorSelectionEvent (30) */
interface PalletCollatorSelectionEvent extends Enum {
- readonly isNewDesiredCollators: boolean;
- readonly asNewDesiredCollators: {
- readonly desiredCollators: u32;
- } & Struct;
- readonly isNewLicenseBond: boolean;
- readonly asNewLicenseBond: {
- readonly bondAmount: u128;
- } & Struct;
- readonly isNewKickThreshold: boolean;
- readonly asNewKickThreshold: {
- readonly lengthInBlocks: u32;
- } & Struct;
readonly isInvulnerableAdded: boolean;
readonly asInvulnerableAdded: {
readonly invulnerable: AccountId32;
@@ -236,7 +225,7 @@
readonly asCandidateRemoved: {
readonly accountId: AccountId32;
} & Struct;
- readonly type: 'NewDesiredCollators' | 'NewLicenseBond' | 'NewKickThreshold' | 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
+ readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
}
/** @name PalletSessionEvent (31) */
@@ -248,7 +237,63 @@
readonly type: 'NewSession';
}
- /** @name PalletBalancesEvent (32) */
+ /** @name PalletIdentityEvent (32) */
+ interface PalletIdentityEvent extends Enum {
+ readonly isIdentitySet: boolean;
+ readonly asIdentitySet: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly isIdentityCleared: boolean;
+ readonly asIdentityCleared: {
+ readonly who: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isIdentityKilled: boolean;
+ readonly asIdentityKilled: {
+ readonly who: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isJudgementRequested: boolean;
+ readonly asJudgementRequested: {
+ readonly who: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isJudgementUnrequested: boolean;
+ readonly asJudgementUnrequested: {
+ readonly who: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isJudgementGiven: boolean;
+ readonly asJudgementGiven: {
+ readonly target: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isRegistrarAdded: boolean;
+ readonly asRegistrarAdded: {
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isSubIdentityAdded: boolean;
+ readonly asSubIdentityAdded: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isSubIdentityRemoved: boolean;
+ readonly asSubIdentityRemoved: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isSubIdentityRevoked: boolean;
+ readonly asSubIdentityRevoked: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';
+ }
+
+ /** @name PalletBalancesEvent (33) */
interface PalletBalancesEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
@@ -307,14 +352,14 @@
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
}
- /** @name FrameSupportTokensMiscBalanceStatus (33) */
+ /** @name FrameSupportTokensMiscBalanceStatus (34) */
interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
- /** @name PalletTransactionPaymentEvent (34) */
+ /** @name PalletTransactionPaymentEvent (35) */
interface PalletTransactionPaymentEvent extends Enum {
readonly isTransactionFeePaid: boolean;
readonly asTransactionFeePaid: {
@@ -325,7 +370,7 @@
readonly type: 'TransactionFeePaid';
}
- /** @name PalletTreasuryEvent (35) */
+ /** @name PalletTreasuryEvent (36) */
interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
@@ -367,7 +412,7 @@
readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';
}
- /** @name PalletSudoEvent (36) */
+ /** @name PalletSudoEvent (37) */
interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -384,7 +429,7 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name OrmlVestingModuleEvent (40) */
+ /** @name OrmlVestingModuleEvent (41) */
interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -404,7 +449,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name OrmlVestingVestingSchedule (41) */
+ /** @name OrmlVestingVestingSchedule (42) */
interface OrmlVestingVestingSchedule extends Struct {
readonly start: u32;
readonly period: u32;
@@ -412,7 +457,7 @@
readonly perPeriod: Compact<u128>;
}
- /** @name OrmlXtokensModuleEvent (43) */
+ /** @name OrmlXtokensModuleEvent (44) */
interface OrmlXtokensModuleEvent extends Enum {
readonly isTransferredMultiAssets: boolean;
readonly asTransferredMultiAssets: {
@@ -424,16 +469,16 @@
readonly type: 'TransferredMultiAssets';
}
- /** @name XcmV1MultiassetMultiAssets (44) */
+ /** @name XcmV1MultiassetMultiAssets (45) */
interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
- /** @name XcmV1MultiAsset (46) */
+ /** @name XcmV1MultiAsset (47) */
interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
- /** @name XcmV1MultiassetAssetId (47) */
+ /** @name XcmV1MultiassetAssetId (48) */
interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
@@ -442,13 +487,13 @@
readonly type: 'Concrete' | 'Abstract';
}
- /** @name XcmV1MultiLocation (48) */
+ /** @name XcmV1MultiLocation (49) */
interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
}
- /** @name XcmV1MultilocationJunctions (49) */
+ /** @name XcmV1MultilocationJunctions (50) */
interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
@@ -470,7 +515,7 @@
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV1Junction (50) */
+ /** @name XcmV1Junction (51) */
interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
@@ -504,7 +549,7 @@
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmV0JunctionNetworkId (52) */
+ /** @name XcmV0JunctionNetworkId (53) */
interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
@@ -514,7 +559,7 @@
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
- /** @name XcmV0JunctionBodyId (55) */
+ /** @name XcmV0JunctionBodyId (56) */
interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
@@ -528,7 +573,7 @@
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
}
- /** @name XcmV0JunctionBodyPart (56) */
+ /** @name XcmV0JunctionBodyPart (57) */
interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
@@ -553,7 +598,7 @@
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
- /** @name XcmV1MultiassetFungibility (57) */
+ /** @name XcmV1MultiassetFungibility (58) */
interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
@@ -562,7 +607,7 @@
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV1MultiassetAssetInstance (58) */
+ /** @name XcmV1MultiassetAssetInstance (59) */
interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
@@ -580,7 +625,7 @@
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
}
- /** @name OrmlTokensModuleEvent (61) */
+ /** @name OrmlTokensModuleEvent (62) */
interface OrmlTokensModuleEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
@@ -668,7 +713,7 @@
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';
}
- /** @name PalletForeignAssetsAssetIds (62) */
+ /** @name PalletForeignAssetsAssetIds (63) */
interface PalletForeignAssetsAssetIds extends Enum {
readonly isForeignAssetId: boolean;
readonly asForeignAssetId: u32;
@@ -677,14 +722,14 @@
readonly type: 'ForeignAssetId' | 'NativeAssetId';
}
- /** @name PalletForeignAssetsNativeCurrency (63) */
+ /** @name PalletForeignAssetsNativeCurrency (64) */
interface PalletForeignAssetsNativeCurrency extends Enum {
readonly isHere: boolean;
readonly isParent: boolean;
readonly type: 'Here' | 'Parent';
}
- /** @name CumulusPalletXcmpQueueEvent (64) */
+ /** @name CumulusPalletXcmpQueueEvent (65) */
interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: {
@@ -728,7 +773,7 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name XcmV2TraitsError (66) */
+ /** @name XcmV2TraitsError (67) */
interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
@@ -761,7 +806,7 @@
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
}
- /** @name PalletXcmEvent (68) */
+ /** @name PalletXcmEvent (69) */
interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -800,7 +845,7 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';
}
- /** @name XcmV2TraitsOutcome (69) */
+ /** @name XcmV2TraitsOutcome (70) */
interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -811,10 +856,10 @@
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
- /** @name XcmV2Xcm (70) */
+ /** @name XcmV2Xcm (71) */
interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
- /** @name XcmV2Instruction (72) */
+ /** @name XcmV2Instruction (73) */
interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
@@ -934,7 +979,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV2Response (73) */
+ /** @name XcmV2Response (74) */
interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
@@ -946,7 +991,7 @@
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
- /** @name XcmV0OriginKind (76) */
+ /** @name XcmV0OriginKind (77) */
interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
@@ -955,12 +1000,12 @@
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
- /** @name XcmDoubleEncoded (77) */
+ /** @name XcmDoubleEncoded (78) */
interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
- /** @name XcmV1MultiassetMultiAssetFilter (78) */
+ /** @name XcmV1MultiassetMultiAssetFilter (79) */
interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
@@ -969,7 +1014,7 @@
readonly type: 'Definite' | 'Wild';
}
- /** @name XcmV1MultiassetWildMultiAsset (79) */
+ /** @name XcmV1MultiassetWildMultiAsset (80) */
interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
@@ -980,14 +1025,14 @@
readonly type: 'All' | 'AllOf';
}
- /** @name XcmV1MultiassetWildFungibility (80) */
+ /** @name XcmV1MultiassetWildFungibility (81) */
interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV2WeightLimit (81) */
+ /** @name XcmV2WeightLimit (82) */
interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
@@ -995,7 +1040,7 @@
readonly type: 'Unlimited' | 'Limited';
}
- /** @name XcmVersionedMultiAssets (83) */
+ /** @name XcmVersionedMultiAssets (84) */
interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
@@ -1004,7 +1049,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name XcmV0MultiAsset (85) */
+ /** @name XcmV0MultiAsset (86) */
interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
@@ -1049,7 +1094,7 @@
readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
}
- /** @name XcmV0MultiLocation (86) */
+ /** @name XcmV0MultiLocation (87) */
interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
@@ -1071,7 +1116,7 @@
readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV0Junction (87) */
+ /** @name XcmV0Junction (88) */
interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
@@ -1106,7 +1151,7 @@
readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmVersionedMultiLocation (88) */
+ /** @name XcmVersionedMultiLocation (89) */
interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
@@ -1115,7 +1160,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name CumulusPalletXcmEvent (89) */
+ /** @name CumulusPalletXcmEvent (90) */
interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -1126,7 +1171,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (90) */
+ /** @name CumulusPalletDmpQueueEvent (91) */
interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: {
@@ -1161,7 +1206,24 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletCommonEvent (91) */
+ /** @name PalletConfigurationEvent (92) */
+ interface PalletConfigurationEvent extends Enum {
+ readonly isNewDesiredCollators: boolean;
+ readonly asNewDesiredCollators: {
+ readonly desiredCollators: Option<u32>;
+ } & Struct;
+ readonly isNewCollatorLicenseBond: boolean;
+ readonly asNewCollatorLicenseBond: {
+ readonly bondCost: Option<u128>;
+ } & Struct;
+ readonly isNewCollatorKickThreshold: boolean;
+ readonly asNewCollatorKickThreshold: {
+ readonly lengthInBlocks: Option<u32>;
+ } & Struct;
+ readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
+ }
+
+ /** @name PalletCommonEvent (95) */
interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -1210,7 +1272,7 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';
}
- /** @name PalletEvmAccountBasicCrossAccountIdRepr (94) */
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (98) */
interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
@@ -1219,14 +1281,14 @@
readonly type: 'Substrate' | 'Ethereum';
}
- /** @name PalletStructureEvent (98) */
+ /** @name PalletStructureEvent (102) */
interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
- /** @name PalletRmrkCoreEvent (99) */
+ /** @name PalletRmrkCoreEvent (103) */
interface PalletRmrkCoreEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: {
@@ -1316,7 +1378,7 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
}
- /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (100) */
+ /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (104) */
interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
readonly isAccountId: boolean;
readonly asAccountId: AccountId32;
@@ -1325,7 +1387,7 @@
readonly type: 'AccountId' | 'CollectionAndNftTuple';
}
- /** @name PalletRmrkEquipEvent (104) */
+ /** @name PalletRmrkEquipEvent (107) */
interface PalletRmrkEquipEvent extends Enum {
readonly isBaseCreated: boolean;
readonly asBaseCreated: {
@@ -1340,7 +1402,7 @@
readonly type: 'BaseCreated' | 'EquippablesUpdated';
}
- /** @name PalletAppPromotionEvent (105) */
+ /** @name PalletAppPromotionEvent (108) */
interface PalletAppPromotionEvent extends Enum {
readonly isStakingRecalculation: boolean;
readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;
@@ -1353,7 +1415,7 @@
readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
}
- /** @name PalletForeignAssetsModuleEvent (106) */
+ /** @name PalletForeignAssetsModuleEvent (109) */
interface PalletForeignAssetsModuleEvent extends Enum {
readonly isForeignAssetRegistered: boolean;
readonly asForeignAssetRegistered: {
@@ -1380,7 +1442,7 @@
readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';
}
- /** @name PalletForeignAssetsModuleAssetMetadata (107) */
+ /** @name PalletForeignAssetsModuleAssetMetadata (110) */
interface PalletForeignAssetsModuleAssetMetadata extends Struct {
readonly name: Bytes;
readonly symbol: Bytes;
@@ -1388,7 +1450,7 @@
readonly minimalBalance: u128;
}
- /** @name PalletEvmEvent (108) */
+ /** @name PalletEvmEvent (111) */
interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: {
@@ -1413,14 +1475,14 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
}
- /** @name EthereumLog (109) */
+ /** @name EthereumLog (112) */
interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (111) */
+ /** @name PalletEthereumEvent (114) */
interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: {
@@ -1432,7 +1494,7 @@
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (112) */
+ /** @name EvmCoreErrorExitReason (115) */
interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -1445,7 +1507,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (113) */
+ /** @name EvmCoreErrorExitSucceed (116) */
interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -1453,7 +1515,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (114) */
+ /** @name EvmCoreErrorExitError (117) */
interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -1474,13 +1536,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (117) */
+ /** @name EvmCoreErrorExitRevert (120) */
interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (118) */
+ /** @name EvmCoreErrorExitFatal (121) */
interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -1491,7 +1553,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name PalletEvmContractHelpersEvent (119) */
+ /** @name PalletEvmContractHelpersEvent (122) */
interface PalletEvmContractHelpersEvent extends Enum {
readonly isContractSponsorSet: boolean;
readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;
@@ -1502,20 +1564,20 @@
readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';
}
- /** @name PalletEvmMigrationEvent (120) */
- interface PalletEvmMigrationEvent extends Enum {
+ /** @name PalletDataManagementEvent (123) */
+ interface PalletDataManagementEvent extends Enum {
readonly isTestEvent: boolean;
readonly type: 'TestEvent';
}
- /** @name PalletMaintenanceEvent (121) */
+ /** @name PalletMaintenanceEvent (124) */
interface PalletMaintenanceEvent extends Enum {
readonly isMaintenanceEnabled: boolean;
readonly isMaintenanceDisabled: boolean;
readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';
}
- /** @name PalletTestUtilsEvent (122) */
+ /** @name PalletTestUtilsEvent (125) */
interface PalletTestUtilsEvent extends Enum {
readonly isValueIsSet: boolean;
readonly isShouldRollback: boolean;
@@ -1523,7 +1585,7 @@
readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';
}
- /** @name FrameSystemPhase (123) */
+ /** @name FrameSystemPhase (126) */
interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -1532,13 +1594,13 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (126) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (129) */
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemCall (127) */
+ /** @name FrameSystemCall (130) */
interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
@@ -1580,21 +1642,21 @@
readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
- /** @name FrameSystemLimitsBlockWeights (132) */
+ /** @name FrameSystemLimitsBlockWeights (135) */
interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: SpWeightsWeightV2Weight;
readonly maxBlock: SpWeightsWeightV2Weight;
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (133) */
+ /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (136) */
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (134) */
+ /** @name FrameSystemLimitsWeightsPerClass (137) */
interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: SpWeightsWeightV2Weight;
readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
@@ -1602,25 +1664,25 @@
readonly reserved: Option<SpWeightsWeightV2Weight>;
}
- /** @name FrameSystemLimitsBlockLength (136) */
+ /** @name FrameSystemLimitsBlockLength (139) */
interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportDispatchPerDispatchClassU32;
}
- /** @name FrameSupportDispatchPerDispatchClassU32 (137) */
+ /** @name FrameSupportDispatchPerDispatchClassU32 (140) */
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name SpWeightsRuntimeDbWeight (138) */
+ /** @name SpWeightsRuntimeDbWeight (141) */
interface SpWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (139) */
+ /** @name SpVersionRuntimeVersion (142) */
interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -1632,7 +1694,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (144) */
+ /** @name FrameSystemError (147) */
interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -1643,7 +1705,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name PolkadotPrimitivesV2PersistedValidationData (145) */
+ /** @name PolkadotPrimitivesV2PersistedValidationData (148) */
interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
@@ -1651,18 +1713,18 @@
readonly maxPovSize: u32;
}
- /** @name PolkadotPrimitivesV2UpgradeRestriction (148) */
+ /** @name PolkadotPrimitivesV2UpgradeRestriction (151) */
interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
- /** @name SpTrieStorageProof (149) */
+ /** @name SpTrieStorageProof (152) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
- /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (151) */
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (154) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
@@ -1670,7 +1732,7 @@
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
}
- /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (154) */
+ /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (157) */
interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -1680,7 +1742,7 @@
readonly mqcHead: Option<H256>;
}
- /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (155) */
+ /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (158) */
interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1693,13 +1755,13 @@
readonly validationUpgradeDelay: u32;
}
- /** @name PolkadotCorePrimitivesOutboundHrmpMessage (161) */
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (164) */
interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemCall (162) */
+ /** @name CumulusPalletParachainSystemCall (165) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
@@ -1720,7 +1782,7 @@
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
}
- /** @name CumulusPrimitivesParachainInherentParachainInherentData (163) */
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (166) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
@@ -1728,19 +1790,19 @@
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
- /** @name PolkadotCorePrimitivesInboundDownwardMessage (165) */
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (168) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
- /** @name PolkadotCorePrimitivesInboundHrmpMessage (168) */
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (171) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemError (171) */
+ /** @name CumulusPalletParachainSystemError (174) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
@@ -1753,7 +1815,7 @@
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
}
- /** @name PalletAuthorshipUncleEntryItem (173) */
+ /** @name PalletAuthorshipUncleEntryItem (176) */
interface PalletAuthorshipUncleEntryItem extends Enum {
readonly isInclusionHeight: boolean;
readonly asInclusionHeight: u32;
@@ -1762,7 +1824,7 @@
readonly type: 'InclusionHeight' | 'Uncle';
}
- /** @name PalletAuthorshipCall (175) */
+ /** @name PalletAuthorshipCall (178) */
interface PalletAuthorshipCall extends Enum {
readonly isSetUncles: boolean;
readonly asSetUncles: {
@@ -1771,7 +1833,7 @@
readonly type: 'SetUncles';
}
- /** @name SpRuntimeHeader (177) */
+ /** @name SpRuntimeHeader (180) */
interface SpRuntimeHeader extends Struct {
readonly parentHash: H256;
readonly number: Compact<u32>;
@@ -1780,10 +1842,10 @@
readonly digest: SpRuntimeDigest;
}
- /** @name SpRuntimeBlakeTwo256 (178) */
+ /** @name SpRuntimeBlakeTwo256 (181) */
type SpRuntimeBlakeTwo256 = Null;
- /** @name PalletAuthorshipError (179) */
+ /** @name PalletAuthorshipError (182) */
interface PalletAuthorshipError extends Enum {
readonly isInvalidUncleParent: boolean;
readonly isUnclesAlreadySet: boolean;
@@ -1795,7 +1857,7 @@
readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
}
- /** @name PalletCollatorSelectionCall (182) */
+ /** @name PalletCollatorSelectionCall (185) */
interface PalletCollatorSelectionCall extends Enum {
readonly isAddInvulnerable: boolean;
readonly asAddInvulnerable: {
@@ -1804,18 +1866,6 @@
readonly isRemoveInvulnerable: boolean;
readonly asRemoveInvulnerable: {
readonly who: AccountId32;
- } & Struct;
- readonly isSetDesiredCollators: boolean;
- readonly asSetDesiredCollators: {
- readonly max: u32;
- } & Struct;
- readonly isSetLicenseBond: boolean;
- readonly asSetLicenseBond: {
- readonly bond: u128;
- } & Struct;
- readonly isSetKickThreshold: boolean;
- readonly asSetKickThreshold: {
- readonly kickThreshold: u32;
} & Struct;
readonly isGetLicense: boolean;
readonly isOnboard: boolean;
@@ -1825,10 +1875,10 @@
readonly asForceRevokeLicense: {
readonly who: AccountId32;
} & Struct;
- readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'SetDesiredCollators' | 'SetLicenseBond' | 'SetKickThreshold' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
+ readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
}
- /** @name PalletCollatorSelectionError (183) */
+ /** @name PalletCollatorSelectionError (186) */
interface PalletCollatorSelectionError extends Enum {
readonly isTooManyCandidates: boolean;
readonly isUnknown: boolean;
@@ -1846,21 +1896,21 @@
readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
}
- /** @name OpalRuntimeRuntimeCommonSessionKeys (186) */
+ /** @name OpalRuntimeRuntimeCommonSessionKeys (189) */
interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
}
- /** @name SpConsensusAuraSr25519AppSr25519Public (187) */
+ /** @name SpConsensusAuraSr25519AppSr25519Public (190) */
interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
- /** @name SpCoreSr25519Public (188) */
+ /** @name SpCoreSr25519Public (191) */
interface SpCoreSr25519Public extends U8aFixed {}
- /** @name SpCoreCryptoKeyTypeId (191) */
+ /** @name SpCoreCryptoKeyTypeId (194) */
interface SpCoreCryptoKeyTypeId extends U8aFixed {}
- /** @name PalletSessionCall (192) */
+ /** @name PalletSessionCall (195) */
interface PalletSessionCall extends Enum {
readonly isSetKeys: boolean;
readonly asSetKeys: {
@@ -1871,7 +1921,7 @@
readonly type: 'SetKeys' | 'PurgeKeys';
}
- /** @name PalletSessionError (193) */
+ /** @name PalletSessionError (196) */
interface PalletSessionError extends Enum {
readonly isInvalidProof: boolean;
readonly isNoAssociatedValidatorId: boolean;
@@ -1881,14 +1931,170 @@
readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
}
- /** @name PalletBalancesBalanceLock (195) */
+ /** @name PalletIdentityRegistration (197) */
+ interface PalletIdentityRegistration extends Struct {
+ readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
+ readonly deposit: u128;
+ readonly info: PalletIdentityIdentityInfo;
+ }
+
+ /** @name PalletIdentityJudgement (200) */
+ interface PalletIdentityJudgement extends Enum {
+ readonly isUnknown: boolean;
+ readonly isFeePaid: boolean;
+ readonly asFeePaid: u128;
+ readonly isReasonable: boolean;
+ readonly isKnownGood: boolean;
+ readonly isOutOfDate: boolean;
+ readonly isLowQuality: boolean;
+ readonly isErroneous: boolean;
+ readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';
+ }
+
+ /** @name PalletIdentityIdentityInfo (202) */
+ interface PalletIdentityIdentityInfo extends Struct {
+ readonly additional: Vec<ITuple<[Data, Data]>>;
+ readonly display: Data;
+ readonly legal: Data;
+ readonly web: Data;
+ readonly riot: Data;
+ readonly email: Data;
+ readonly pgpFingerprint: Option<U8aFixed>;
+ readonly image: Data;
+ readonly twitter: Data;
+ }
+
+ /** @name PalletIdentityRegistrarInfo (241) */
+ interface PalletIdentityRegistrarInfo extends Struct {
+ readonly account: AccountId32;
+ readonly fee: u128;
+ readonly fields: PalletIdentityBitFlags;
+ }
+
+ /** @name PalletIdentityBitFlags (242) */
+ interface PalletIdentityBitFlags extends Set {
+ readonly isDisplay: boolean;
+ readonly isLegal: boolean;
+ readonly isWeb: boolean;
+ readonly isRiot: boolean;
+ readonly isEmail: boolean;
+ readonly isPgpFingerprint: boolean;
+ readonly isImage: boolean;
+ readonly isTwitter: boolean;
+ }
+
+ /** @name PalletIdentityIdentityField (243) */
+ interface PalletIdentityIdentityField extends Enum {
+ readonly isDisplay: boolean;
+ readonly isLegal: boolean;
+ readonly isWeb: boolean;
+ readonly isRiot: boolean;
+ readonly isEmail: boolean;
+ readonly isPgpFingerprint: boolean;
+ readonly isImage: boolean;
+ readonly isTwitter: boolean;
+ readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';
+ }
+
+ /** @name PalletIdentityCall (245) */
+ interface PalletIdentityCall extends Enum {
+ readonly isAddRegistrar: boolean;
+ readonly asAddRegistrar: {
+ readonly account: MultiAddress;
+ } & Struct;
+ readonly isSetIdentity: boolean;
+ readonly asSetIdentity: {
+ readonly info: PalletIdentityIdentityInfo;
+ } & Struct;
+ readonly isSetSubs: boolean;
+ readonly asSetSubs: {
+ readonly subs: Vec<ITuple<[AccountId32, Data]>>;
+ } & Struct;
+ readonly isClearIdentity: boolean;
+ readonly isRequestJudgement: boolean;
+ readonly asRequestJudgement: {
+ readonly regIndex: Compact<u32>;
+ readonly maxFee: Compact<u128>;
+ } & Struct;
+ readonly isCancelRequest: boolean;
+ readonly asCancelRequest: {
+ readonly regIndex: u32;
+ } & Struct;
+ readonly isSetFee: boolean;
+ readonly asSetFee: {
+ readonly index: Compact<u32>;
+ readonly fee: Compact<u128>;
+ } & Struct;
+ readonly isSetAccountId: boolean;
+ readonly asSetAccountId: {
+ readonly index: Compact<u32>;
+ readonly new_: MultiAddress;
+ } & Struct;
+ readonly isSetFields: boolean;
+ readonly asSetFields: {
+ readonly index: Compact<u32>;
+ readonly fields: PalletIdentityBitFlags;
+ } & Struct;
+ readonly isProvideJudgement: boolean;
+ readonly asProvideJudgement: {
+ readonly regIndex: Compact<u32>;
+ readonly target: MultiAddress;
+ readonly judgement: PalletIdentityJudgement;
+ readonly identity: H256;
+ } & Struct;
+ readonly isKillIdentity: boolean;
+ readonly asKillIdentity: {
+ readonly target: MultiAddress;
+ } & Struct;
+ readonly isAddSub: boolean;
+ readonly asAddSub: {
+ readonly sub: MultiAddress;
+ readonly data: Data;
+ } & Struct;
+ readonly isRenameSub: boolean;
+ readonly asRenameSub: {
+ readonly sub: MultiAddress;
+ readonly data: Data;
+ } & Struct;
+ readonly isRemoveSub: boolean;
+ readonly asRemoveSub: {
+ readonly sub: MultiAddress;
+ } & Struct;
+ readonly isQuitSub: boolean;
+ readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
+ }
+
+ /** @name PalletIdentityError (249) */
+ interface PalletIdentityError extends Enum {
+ readonly isTooManySubAccounts: boolean;
+ readonly isNotFound: boolean;
+ readonly isNotNamed: boolean;
+ readonly isEmptyIndex: boolean;
+ readonly isFeeChanged: boolean;
+ readonly isNoIdentity: boolean;
+ readonly isStickyJudgement: boolean;
+ readonly isJudgementGiven: boolean;
+ readonly isInvalidJudgement: boolean;
+ readonly isInvalidIndex: boolean;
+ readonly isInvalidTarget: boolean;
+ readonly isTooManyFields: boolean;
+ readonly isTooManyRegistrars: boolean;
+ readonly isAlreadyClaimed: boolean;
+ readonly isNotSub: boolean;
+ readonly isNotOwned: boolean;
+ readonly isJudgementForDifferentIdentity: boolean;
+ readonly isJudgementPaymentFailed: boolean;
+ readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
+ }
+
+ /** @name PalletBalancesBalanceLock (251) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (196) */
+ /** @name PalletBalancesReasons (252) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -1896,20 +2102,20 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (199) */
+ /** @name PalletBalancesReserveData (255) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name PalletBalancesReleases (201) */
+ /** @name PalletBalancesReleases (257) */
interface PalletBalancesReleases extends Enum {
readonly isV100: boolean;
readonly isV200: boolean;
readonly type: 'V100' | 'V200';
}
- /** @name PalletBalancesCall (202) */
+ /** @name PalletBalancesCall (258) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1946,7 +2152,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (205) */
+ /** @name PalletBalancesError (259) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -1959,7 +2165,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (207) */
+ /** @name PalletTimestampCall (261) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -1968,14 +2174,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (209) */
+ /** @name PalletTransactionPaymentReleases (263) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (210) */
+ /** @name PalletTreasuryProposal (264) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -1983,7 +2189,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (212) */
+ /** @name PalletTreasuryCall (266) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -2010,10 +2216,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (215) */
+ /** @name FrameSupportPalletId (268) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (216) */
+ /** @name PalletTreasuryError (269) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -2023,7 +2229,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (217) */
+ /** @name PalletSudoCall (270) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -2046,7 +2252,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (219) */
+ /** @name OrmlVestingModuleCall (272) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -2066,7 +2272,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlXtokensModuleCall (221) */
+ /** @name OrmlXtokensModuleCall (274) */
interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2113,7 +2319,7 @@
readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
}
- /** @name XcmVersionedMultiAsset (222) */
+ /** @name XcmVersionedMultiAsset (275) */
interface XcmVersionedMultiAsset extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiAsset;
@@ -2122,7 +2328,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name OrmlTokensModuleCall (225) */
+ /** @name OrmlTokensModuleCall (278) */
interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2159,7 +2365,7 @@
readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
}
- /** @name CumulusPalletXcmpQueueCall (226) */
+ /** @name CumulusPalletXcmpQueueCall (279) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2195,7 +2401,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (227) */
+ /** @name PalletXcmCall (280) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -2257,7 +2463,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedXcm (228) */
+ /** @name XcmVersionedXcm (281) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -2268,7 +2474,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (229) */
+ /** @name XcmV0Xcm (282) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2331,7 +2537,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0Order (231) */
+ /** @name XcmV0Order (284) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -2379,14 +2585,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (233) */
+ /** @name XcmV0Response (286) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV1Xcm (234) */
+ /** @name XcmV1Xcm (287) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2455,7 +2661,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1Order (236) */
+ /** @name XcmV1Order (289) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -2505,7 +2711,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1Response (238) */
+ /** @name XcmV1Response (291) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2514,10 +2720,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name CumulusPalletXcmCall (252) */
+ /** @name CumulusPalletXcmCall (305) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (253) */
+ /** @name CumulusPalletDmpQueueCall (306) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2527,7 +2733,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (254) */
+ /** @name PalletInflationCall (307) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2536,7 +2742,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (255) */
+ /** @name PalletUniqueCall (308) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2709,7 +2915,7 @@
readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
}
- /** @name UpDataStructsCollectionMode (260) */
+ /** @name UpDataStructsCollectionMode (313) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2718,7 +2924,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (261) */
+ /** @name UpDataStructsCreateCollectionData (314) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2732,14 +2938,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (263) */
+ /** @name UpDataStructsAccessMode (316) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (265) */
+ /** @name UpDataStructsCollectionLimits (318) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2752,7 +2958,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (267) */
+ /** @name UpDataStructsSponsoringRateLimit (320) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2760,43 +2966,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (270) */
+ /** @name UpDataStructsCollectionPermissions (323) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (272) */
+ /** @name UpDataStructsNestingPermissions (325) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (274) */
+ /** @name UpDataStructsOwnerRestrictedSet (327) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (279) */
+ /** @name UpDataStructsPropertyKeyPermission (332) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (280) */
+ /** @name UpDataStructsPropertyPermission (333) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (283) */
+ /** @name UpDataStructsProperty (336) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (286) */
+ /** @name UpDataStructsCreateItemData (339) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -2807,23 +3013,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (287) */
+ /** @name UpDataStructsCreateNftData (340) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (288) */
+ /** @name UpDataStructsCreateFungibleData (341) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (289) */
+ /** @name UpDataStructsCreateReFungibleData (342) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (292) */
+ /** @name UpDataStructsCreateItemExData (345) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -2836,26 +3042,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (294) */
+ /** @name UpDataStructsCreateNftExData (347) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (301) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (354) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (303) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (356) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletConfigurationCall (304) */
+ /** @name PalletConfigurationCall (357) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -2873,10 +3079,22 @@
readonly asSetAppPromotionConfigurationOverride: {
readonly configuration: PalletConfigurationAppPromotionConfiguration;
} & Struct;
- readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';
+ readonly isSetCollatorSelectionDesiredCollators: boolean;
+ readonly asSetCollatorSelectionDesiredCollators: {
+ readonly max: Option<u32>;
+ } & Struct;
+ readonly isSetCollatorSelectionLicenseBond: boolean;
+ readonly asSetCollatorSelectionLicenseBond: {
+ readonly amount: Option<u128>;
+ } & Struct;
+ readonly isSetCollatorSelectionKickThreshold: boolean;
+ readonly asSetCollatorSelectionKickThreshold: {
+ readonly threshold: Option<u32>;
+ } & Struct;
+ readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
}
- /** @name PalletConfigurationAppPromotionConfiguration (309) */
+ /** @name PalletConfigurationAppPromotionConfiguration (362) */
interface PalletConfigurationAppPromotionConfiguration extends Struct {
readonly recalculationInterval: Option<u32>;
readonly pendingInterval: Option<u32>;
@@ -2884,13 +3102,13 @@
readonly maxStakersPerCalculation: Option<u8>;
}
- /** @name PalletTemplateTransactionPaymentCall (312) */
+ /** @name PalletTemplateTransactionPaymentCall (365) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (313) */
+ /** @name PalletStructureCall (366) */
type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (314) */
+ /** @name PalletRmrkCoreCall (367) */
interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2996,7 +3214,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (320) */
+ /** @name RmrkTraitsResourceResourceTypes (373) */
interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -3007,7 +3225,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (322) */
+ /** @name RmrkTraitsResourceBasicResource (375) */
interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -3015,7 +3233,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (324) */
+ /** @name RmrkTraitsResourceComposableResource (377) */
interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -3025,7 +3243,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (325) */
+ /** @name RmrkTraitsResourceSlotResource (378) */
interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -3035,7 +3253,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (328) */
+ /** @name PalletRmrkEquipCall (381) */
interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -3057,7 +3275,7 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (331) */
+ /** @name RmrkTraitsPartPartType (384) */
interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -3066,14 +3284,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (333) */
+ /** @name RmrkTraitsPartFixedPart (386) */
interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (334) */
+ /** @name RmrkTraitsPartSlotPart (387) */
interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -3081,7 +3299,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (335) */
+ /** @name RmrkTraitsPartEquippableList (388) */
interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -3090,20 +3308,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (337) */
+ /** @name RmrkTraitsTheme (390) */
interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (339) */
+ /** @name RmrkTraitsThemeThemeProperty (392) */
interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletAppPromotionCall (341) */
+ /** @name PalletAppPromotionCall (394) */
interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
@@ -3137,7 +3355,7 @@
readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
}
- /** @name PalletForeignAssetsModuleCall (342) */
+ /** @name PalletForeignAssetsModuleCall (395) */
interface PalletForeignAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
@@ -3154,7 +3372,7 @@
readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
}
- /** @name PalletEvmCall (343) */
+ /** @name PalletEvmCall (396) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -3199,7 +3417,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (349) */
+ /** @name PalletEthereumCall (402) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -3208,7 +3426,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (350) */
+ /** @name EthereumTransactionTransactionV2 (403) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -3219,7 +3437,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (351) */
+ /** @name EthereumTransactionLegacyTransaction (404) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -3230,7 +3448,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (352) */
+ /** @name EthereumTransactionTransactionAction (405) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -3238,14 +3456,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (353) */
+ /** @name EthereumTransactionTransactionSignature (406) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (355) */
+ /** @name EthereumTransactionEip2930Transaction (408) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3260,13 +3478,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (357) */
+ /** @name EthereumTransactionAccessListItem (410) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (358) */
+ /** @name EthereumTransactionEip1559Transaction (411) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3282,8 +3500,8 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (359) */
- interface PalletEvmMigrationCall extends Enum {
+ /** @name PalletDataManagementCall (412) */
+ interface PalletDataManagementCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
readonly address: H160;
@@ -3309,14 +3527,14 @@
readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
}
- /** @name PalletMaintenanceCall (363) */
+ /** @name PalletMaintenanceCall (416) */
interface PalletMaintenanceCall extends Enum {
readonly isEnable: boolean;
readonly isDisable: boolean;
readonly type: 'Enable' | 'Disable';
}
- /** @name PalletTestUtilsCall (364) */
+ /** @name PalletTestUtilsCall (417) */
interface PalletTestUtilsCall extends Enum {
readonly isEnable: boolean;
readonly isSetTestValue: boolean;
@@ -3336,13 +3554,13 @@
readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
}
- /** @name PalletSudoError (366) */
+ /** @name PalletSudoError (419) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (368) */
+ /** @name OrmlVestingModuleError (421) */
interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -3353,7 +3571,7 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name OrmlXtokensModuleError (369) */
+ /** @name OrmlXtokensModuleError (422) */
interface OrmlXtokensModuleError extends Enum {
readonly isAssetHasNoReserve: boolean;
readonly isNotCrossChainTransfer: boolean;
@@ -3377,26 +3595,26 @@
readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
}
- /** @name OrmlTokensBalanceLock (372) */
+ /** @name OrmlTokensBalanceLock (425) */
interface OrmlTokensBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name OrmlTokensAccountData (374) */
+ /** @name OrmlTokensAccountData (427) */
interface OrmlTokensAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly frozen: u128;
}
- /** @name OrmlTokensReserveData (376) */
+ /** @name OrmlTokensReserveData (429) */
interface OrmlTokensReserveData extends Struct {
readonly id: Null;
readonly amount: u128;
}
- /** @name OrmlTokensModuleError (378) */
+ /** @name OrmlTokensModuleError (431) */
interface OrmlTokensModuleError extends Enum {
readonly isBalanceTooLow: boolean;
readonly isAmountIntoBalanceFailed: boolean;
@@ -3409,21 +3627,21 @@
readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (380) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (433) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (381) */
+ /** @name CumulusPalletXcmpQueueInboundState (434) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (384) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (437) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -3431,7 +3649,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (387) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (440) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -3440,14 +3658,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (388) */
+ /** @name CumulusPalletXcmpQueueOutboundState (441) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (390) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (443) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -3457,7 +3675,7 @@
readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletXcmpQueueError (392) */
+ /** @name CumulusPalletXcmpQueueError (445) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -3467,7 +3685,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (393) */
+ /** @name PalletXcmError (446) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -3485,29 +3703,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (394) */
+ /** @name CumulusPalletXcmError (447) */
type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (395) */
+ /** @name CumulusPalletDmpQueueConfigData (448) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletDmpQueuePageIndexData (396) */
+ /** @name CumulusPalletDmpQueuePageIndexData (449) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (399) */
+ /** @name CumulusPalletDmpQueueError (452) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (403) */
+ /** @name PalletUniqueError (456) */
interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isEmptyArgument: boolean;
@@ -3515,13 +3733,13 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletConfigurationError (404) */
+ /** @name PalletConfigurationError (457) */
interface PalletConfigurationError extends Enum {
readonly isInconsistentConfiguration: boolean;
readonly type: 'InconsistentConfiguration';
}
- /** @name UpDataStructsCollection (405) */
+ /** @name UpDataStructsCollection (458) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3534,7 +3752,7 @@
readonly flags: U8aFixed;
}
- /** @name UpDataStructsSponsorshipStateAccountId32 (406) */
+ /** @name UpDataStructsSponsorshipStateAccountId32 (459) */
interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3544,43 +3762,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (408) */
+ /** @name UpDataStructsProperties (460) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (409) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (461) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (414) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (466) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (421) */
+ /** @name UpDataStructsCollectionStats (473) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (422) */
+ /** @name UpDataStructsTokenChild (474) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (423) */
+ /** @name PhantomTypeUpDataStructs (475) */
interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (425) */
+ /** @name UpDataStructsTokenData (477) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (427) */
+ /** @name UpDataStructsRpcCollection (479) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3596,13 +3814,13 @@
readonly flags: UpDataStructsRpcCollectionFlags;
}
- /** @name UpDataStructsRpcCollectionFlags (428) */
+ /** @name UpDataStructsRpcCollectionFlags (480) */
interface UpDataStructsRpcCollectionFlags extends Struct {
readonly foreign: bool;
readonly erc721metadata: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (429) */
+ /** @name RmrkTraitsCollectionCollectionInfo (481) */
interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -3611,7 +3829,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (430) */
+ /** @name RmrkTraitsNftNftInfo (482) */
interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -3620,13 +3838,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (432) */
+ /** @name RmrkTraitsNftRoyaltyInfo (484) */
interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (433) */
+ /** @name RmrkTraitsResourceResourceInfo (485) */
interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -3634,26 +3852,26 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (434) */
+ /** @name RmrkTraitsPropertyPropertyInfo (486) */
interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (435) */
+ /** @name RmrkTraitsBaseBaseInfo (487) */
interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (436) */
+ /** @name RmrkTraitsNftNftChild (488) */
interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (438) */
+ /** @name PalletCommonError (490) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3694,7 +3912,7 @@
readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
}
- /** @name PalletFungibleError (440) */
+ /** @name PalletFungibleError (492) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3706,12 +3924,12 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
- /** @name PalletRefungibleItemData (441) */
+ /** @name PalletRefungibleItemData (493) */
interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (446) */
+ /** @name PalletRefungibleError (498) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3721,19 +3939,19 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (447) */
+ /** @name PalletNonfungibleItemData (499) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (449) */
+ /** @name UpDataStructsPropertyScope (501) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly type: 'None' | 'Rmrk';
}
- /** @name PalletNonfungibleError (451) */
+ /** @name PalletNonfungibleError (503) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3741,7 +3959,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (452) */
+ /** @name PalletStructureError (504) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3750,7 +3968,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (453) */
+ /** @name PalletRmrkCoreError (505) */
interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
@@ -3774,7 +3992,7 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (455) */
+ /** @name PalletRmrkEquipError (507) */
interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -3786,7 +4004,7 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletAppPromotionError (461) */
+ /** @name PalletAppPromotionError (513) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -3797,7 +4015,7 @@
readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
}
- /** @name PalletForeignAssetsModuleError (462) */
+ /** @name PalletForeignAssetsModuleError (514) */
interface PalletForeignAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
@@ -3806,7 +4024,7 @@
readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
}
- /** @name PalletEvmError (464) */
+ /** @name PalletEvmError (516) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3821,7 +4039,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';
}
- /** @name FpRpcTransactionStatus (467) */
+ /** @name FpRpcTransactionStatus (519) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3832,10 +4050,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (469) */
+ /** @name EthbloomBloom (521) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (471) */
+ /** @name EthereumReceiptReceiptV3 (523) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3846,7 +4064,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (472) */
+ /** @name EthereumReceiptEip658ReceiptData (524) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3854,14 +4072,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (473) */
+ /** @name EthereumBlock (525) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (474) */
+ /** @name EthereumHeader (526) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3880,24 +4098,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (475) */
+ /** @name EthereumTypesHashH64 (527) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (480) */
+ /** @name PalletEthereumError (532) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (481) */
+ /** @name PalletEvmCoderSubstrateError (533) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (482) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (534) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3907,7 +4125,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (483) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (535) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3915,7 +4133,7 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (489) */
+ /** @name PalletEvmContractHelpersError (541) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
@@ -3923,25 +4141,25 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletEvmMigrationError (490) */
- interface PalletEvmMigrationError extends Enum {
+ /** @name PalletDataManagementError (542) */
+ interface PalletDataManagementError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly isBadEvent: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
- /** @name PalletMaintenanceError (491) */
+ /** @name PalletMaintenanceError (543) */
type PalletMaintenanceError = Null;
- /** @name PalletTestUtilsError (492) */
+ /** @name PalletTestUtilsError (544) */
interface PalletTestUtilsError extends Enum {
readonly isTestPalletDisabled: boolean;
readonly isTriggerRollback: boolean;
readonly type: 'TestPalletDisabled' | 'TriggerRollback';
}
- /** @name SpRuntimeMultiSignature (494) */
+ /** @name SpRuntimeMultiSignature (546) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3952,40 +4170,43 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (495) */
+ /** @name SpCoreEd25519Signature (547) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (497) */
+ /** @name SpCoreSr25519Signature (549) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (498) */
+ /** @name SpCoreEcdsaSignature (550) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (501) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (553) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckTxVersion (502) */
+ /** @name FrameSystemExtensionsCheckTxVersion (554) */
type FrameSystemExtensionsCheckTxVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (503) */
+ /** @name FrameSystemExtensionsCheckGenesis (555) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (506) */
+ /** @name FrameSystemExtensionsCheckNonce (558) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (507) */
+ /** @name FrameSystemExtensionsCheckWeight (559) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (508) */
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (560) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (509) */
+ /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (561) */
+ type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;
+
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (562) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (510) */
+ /** @name OpalRuntimeRuntime (563) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (511) */
+ /** @name PalletEthereumFakeTransactionFinalizer (564) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -32,7 +32,7 @@
'evm',
'evmcodersubstrate',
'evmcontracthelpers',
- 'evmmigration',
+ 'datamanagement',
'evmtransactionpayment',
'ethereum',
'fungible',
@@ -66,7 +66,7 @@
const foreignAssets = 'foreignassets';
const rmrkPallets = ['rmrkcore', 'rmrkequip'];
const appPromotion = 'apppromotion';
- const collatorSelection = ['authorship', 'session', 'collatorselection'];
+ const collatorSelection = ['authorship', 'session', 'collatorselection', 'identity'];
const testUtils = 'testutils';
if (chain.eq('OPAL by UNIQUE')) {
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -92,6 +92,10 @@
extrinsic: {},
payload: {},
},
+ FilterIdentity: {
+ extrinsic: {},
+ payload: {},
+ },
FakeTransactionFinalizer: {
extrinsic: {},
payload: {},