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.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1,6 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
+import type { Data } from '@polkadot/types';
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 { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
@@ -696,6 +697,9 @@
/** @name OpalRuntimeRuntime */
export interface OpalRuntimeRuntime extends Null {}
+/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */
+export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}
+
/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
@@ -1245,19 +1249,7 @@
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;
readonly isOffboard: boolean;
@@ -1266,7 +1258,7 @@
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 */
@@ -1289,18 +1281,6 @@
/** @name PalletCollatorSelectionEvent */
export 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;
@@ -1327,7 +1307,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 PalletCommonError */
@@ -1446,7 +1426,19 @@
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 PalletConfigurationError */
@@ -1455,6 +1447,64 @@
readonly type: 'InconsistentConfiguration';
}
+/** @name PalletConfigurationEvent */
+export 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 PalletDataManagementCall */
+export interface PalletDataManagementCall extends Enum {
+ readonly isBegin: boolean;
+ readonly asBegin: {
+ readonly address: H160;
+ } & Struct;
+ readonly isSetData: boolean;
+ readonly asSetData: {
+ readonly address: H160;
+ readonly data: Vec<ITuple<[H256, H256]>>;
+ } & Struct;
+ readonly isFinish: boolean;
+ readonly asFinish: {
+ readonly address: H160;
+ readonly code: Bytes;
+ } & Struct;
+ readonly isInsertEthLogs: boolean;
+ readonly asInsertEthLogs: {
+ readonly logs: Vec<EthereumLog>;
+ } & Struct;
+ readonly isInsertEvents: boolean;
+ readonly asInsertEvents: {
+ readonly events: Vec<Bytes>;
+ } & Struct;
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
+}
+
+/** @name PalletDataManagementError */
+export interface PalletDataManagementError extends Enum {
+ readonly isAccountNotEmpty: boolean;
+ readonly isAccountIsNotMigrating: boolean;
+ readonly isBadEvent: boolean;
+ readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
+}
+
+/** @name PalletDataManagementEvent */
+export interface PalletDataManagementEvent extends Enum {
+ readonly isTestEvent: boolean;
+ readonly type: 'TestEvent';
+}
+
/** @name PalletEthereumCall */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
@@ -1614,47 +1664,6 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
}
-/** @name PalletEvmMigrationCall */
-export interface PalletEvmMigrationCall extends Enum {
- readonly isBegin: boolean;
- readonly asBegin: {
- readonly address: H160;
- } & Struct;
- readonly isSetData: boolean;
- readonly asSetData: {
- readonly address: H160;
- readonly data: Vec<ITuple<[H256, H256]>>;
- } & Struct;
- readonly isFinish: boolean;
- readonly asFinish: {
- readonly address: H160;
- readonly code: Bytes;
- } & Struct;
- readonly isInsertEthLogs: boolean;
- readonly asInsertEthLogs: {
- readonly logs: Vec<EthereumLog>;
- } & Struct;
- readonly isInsertEvents: boolean;
- readonly asInsertEvents: {
- readonly events: Vec<Bytes>;
- } & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
-}
-
-/** @name PalletEvmMigrationError */
-export interface PalletEvmMigrationError extends Enum {
- readonly isAccountNotEmpty: boolean;
- readonly isAccountIsNotMigrating: boolean;
- readonly isBadEvent: boolean;
- readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
-}
-
-/** @name PalletEvmMigrationEvent */
-export interface PalletEvmMigrationEvent extends Enum {
- readonly isTestEvent: boolean;
- readonly type: 'TestEvent';
-}
-
/** @name PalletForeignAssetsAssetIds */
export interface PalletForeignAssetsAssetIds extends Enum {
readonly isForeignAssetId: boolean;
@@ -1744,6 +1753,219 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
+/** @name PalletIdentityBitFlags */
+export interface PalletIdentityBitFlags extends Struct {
+ readonly _bitLength: 64;
+ readonly Display: 1;
+ readonly Legal: 2;
+ readonly Web: 4;
+ readonly Riot: 8;
+ readonly Email: 16;
+ readonly PgpFingerprint: 32;
+ readonly Image: 64;
+ readonly Twitter: 128;
+}
+
+/** @name PalletIdentityCall */
+export 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 */
+export 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 PalletIdentityEvent */
+export 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 PalletIdentityIdentityField */
+export 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 PalletIdentityIdentityInfo */
+export 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 PalletIdentityJudgement */
+export 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 PalletIdentityRegistrarInfo */
+export interface PalletIdentityRegistrarInfo extends Struct {
+ readonly account: AccountId32;
+ readonly fee: u128;
+ readonly fields: PalletIdentityBitFlags;
+}
+
+/** @name PalletIdentityRegistration */
+export interface PalletIdentityRegistration extends Struct {
+ readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
+ readonly deposit: u128;
+ readonly info: PalletIdentityIdentityInfo;
+}
+
/** @name PalletInflationCall */
export interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
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.tsdiffbeforeafterboth5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';6import '@polkadot/types/lookup';778import type { Data } from '@polkadot/types';8import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import 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';9import type { ITuple } from '@polkadot/types-codec/types';10import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';12import type { Event } from '@polkadot/types/interfaces/system';198199199 /** @name PalletCollatorSelectionEvent (30) */200 /** @name PalletCollatorSelectionEvent (30) */200 interface PalletCollatorSelectionEvent extends Enum {201 interface PalletCollatorSelectionEvent extends Enum {201 readonly isNewDesiredCollators: boolean;202 readonly asNewDesiredCollators: {203 readonly desiredCollators: u32;204 } & Struct;205 readonly isNewLicenseBond: boolean;206 readonly asNewLicenseBond: {207 readonly bondAmount: u128;208 } & Struct;209 readonly isNewKickThreshold: boolean;210 readonly asNewKickThreshold: {211 readonly lengthInBlocks: u32;212 } & Struct;213 readonly isInvulnerableAdded: boolean;202 readonly isInvulnerableAdded: boolean;214 readonly asInvulnerableAdded: {203 readonly asInvulnerableAdded: {215 readonly invulnerable: AccountId32;204 readonly invulnerable: AccountId32;236 readonly asCandidateRemoved: {225 readonly asCandidateRemoved: {237 readonly accountId: AccountId32;226 readonly accountId: AccountId32;238 } & Struct;227 } & Struct;239 readonly type: 'NewDesiredCollators' | 'NewLicenseBond' | 'NewKickThreshold' | 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';228 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';240 }229 }241230242 /** @name PalletSessionEvent (31) */231 /** @name PalletSessionEvent (31) */248 readonly type: 'NewSession';237 readonly type: 'NewSession';249 }238 }239240 /** @name PalletIdentityEvent (32) */241 interface PalletIdentityEvent extends Enum {242 readonly isIdentitySet: boolean;243 readonly asIdentitySet: {244 readonly who: AccountId32;245 } & Struct;246 readonly isIdentityCleared: boolean;247 readonly asIdentityCleared: {248 readonly who: AccountId32;249 readonly deposit: u128;250 } & Struct;251 readonly isIdentityKilled: boolean;252 readonly asIdentityKilled: {253 readonly who: AccountId32;254 readonly deposit: u128;255 } & Struct;256 readonly isJudgementRequested: boolean;257 readonly asJudgementRequested: {258 readonly who: AccountId32;259 readonly registrarIndex: u32;260 } & Struct;261 readonly isJudgementUnrequested: boolean;262 readonly asJudgementUnrequested: {263 readonly who: AccountId32;264 readonly registrarIndex: u32;265 } & Struct;266 readonly isJudgementGiven: boolean;267 readonly asJudgementGiven: {268 readonly target: AccountId32;269 readonly registrarIndex: u32;270 } & Struct;271 readonly isRegistrarAdded: boolean;272 readonly asRegistrarAdded: {273 readonly registrarIndex: u32;274 } & Struct;275 readonly isSubIdentityAdded: boolean;276 readonly asSubIdentityAdded: {277 readonly sub: AccountId32;278 readonly main: AccountId32;279 readonly deposit: u128;280 } & Struct;281 readonly isSubIdentityRemoved: boolean;282 readonly asSubIdentityRemoved: {283 readonly sub: AccountId32;284 readonly main: AccountId32;285 readonly deposit: u128;286 } & Struct;287 readonly isSubIdentityRevoked: boolean;288 readonly asSubIdentityRevoked: {289 readonly sub: AccountId32;290 readonly main: AccountId32;291 readonly deposit: u128;292 } & Struct;293 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';294 }250295251 /** @name PalletBalancesEvent (32) */296 /** @name PalletBalancesEvent (33) */252 interface PalletBalancesEvent extends Enum {297 interface PalletBalancesEvent extends Enum {253 readonly isEndowed: boolean;298 readonly isEndowed: boolean;254 readonly asEndowed: {299 readonly asEndowed: {307 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';352 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';308 }353 }309354310 /** @name FrameSupportTokensMiscBalanceStatus (33) */355 /** @name FrameSupportTokensMiscBalanceStatus (34) */311 interface FrameSupportTokensMiscBalanceStatus extends Enum {356 interface FrameSupportTokensMiscBalanceStatus extends Enum {312 readonly isFree: boolean;357 readonly isFree: boolean;313 readonly isReserved: boolean;358 readonly isReserved: boolean;314 readonly type: 'Free' | 'Reserved';359 readonly type: 'Free' | 'Reserved';315 }360 }316361317 /** @name PalletTransactionPaymentEvent (34) */362 /** @name PalletTransactionPaymentEvent (35) */318 interface PalletTransactionPaymentEvent extends Enum {363 interface PalletTransactionPaymentEvent extends Enum {319 readonly isTransactionFeePaid: boolean;364 readonly isTransactionFeePaid: boolean;320 readonly asTransactionFeePaid: {365 readonly asTransactionFeePaid: {325 readonly type: 'TransactionFeePaid';370 readonly type: 'TransactionFeePaid';326 }371 }327372328 /** @name PalletTreasuryEvent (35) */373 /** @name PalletTreasuryEvent (36) */329 interface PalletTreasuryEvent extends Enum {374 interface PalletTreasuryEvent extends Enum {330 readonly isProposed: boolean;375 readonly isProposed: boolean;331 readonly asProposed: {376 readonly asProposed: {367 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';412 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';368 }413 }369414370 /** @name PalletSudoEvent (36) */415 /** @name PalletSudoEvent (37) */371 interface PalletSudoEvent extends Enum {416 interface PalletSudoEvent extends Enum {372 readonly isSudid: boolean;417 readonly isSudid: boolean;373 readonly asSudid: {418 readonly asSudid: {384 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';429 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';385 }430 }386431387 /** @name OrmlVestingModuleEvent (40) */432 /** @name OrmlVestingModuleEvent (41) */388 interface OrmlVestingModuleEvent extends Enum {433 interface OrmlVestingModuleEvent extends Enum {389 readonly isVestingScheduleAdded: boolean;434 readonly isVestingScheduleAdded: boolean;390 readonly asVestingScheduleAdded: {435 readonly asVestingScheduleAdded: {404 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';449 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';405 }450 }406451407 /** @name OrmlVestingVestingSchedule (41) */452 /** @name OrmlVestingVestingSchedule (42) */408 interface OrmlVestingVestingSchedule extends Struct {453 interface OrmlVestingVestingSchedule extends Struct {409 readonly start: u32;454 readonly start: u32;410 readonly period: u32;455 readonly period: u32;411 readonly periodCount: u32;456 readonly periodCount: u32;412 readonly perPeriod: Compact<u128>;457 readonly perPeriod: Compact<u128>;413 }458 }414459415 /** @name OrmlXtokensModuleEvent (43) */460 /** @name OrmlXtokensModuleEvent (44) */416 interface OrmlXtokensModuleEvent extends Enum {461 interface OrmlXtokensModuleEvent extends Enum {417 readonly isTransferredMultiAssets: boolean;462 readonly isTransferredMultiAssets: boolean;418 readonly asTransferredMultiAssets: {463 readonly asTransferredMultiAssets: {424 readonly type: 'TransferredMultiAssets';469 readonly type: 'TransferredMultiAssets';425 }470 }426471427 /** @name XcmV1MultiassetMultiAssets (44) */472 /** @name XcmV1MultiassetMultiAssets (45) */428 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}473 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}429474430 /** @name XcmV1MultiAsset (46) */475 /** @name XcmV1MultiAsset (47) */431 interface XcmV1MultiAsset extends Struct {476 interface XcmV1MultiAsset extends Struct {432 readonly id: XcmV1MultiassetAssetId;477 readonly id: XcmV1MultiassetAssetId;433 readonly fun: XcmV1MultiassetFungibility;478 readonly fun: XcmV1MultiassetFungibility;434 }479 }435480436 /** @name XcmV1MultiassetAssetId (47) */481 /** @name XcmV1MultiassetAssetId (48) */437 interface XcmV1MultiassetAssetId extends Enum {482 interface XcmV1MultiassetAssetId extends Enum {438 readonly isConcrete: boolean;483 readonly isConcrete: boolean;439 readonly asConcrete: XcmV1MultiLocation;484 readonly asConcrete: XcmV1MultiLocation;442 readonly type: 'Concrete' | 'Abstract';487 readonly type: 'Concrete' | 'Abstract';443 }488 }444489445 /** @name XcmV1MultiLocation (48) */490 /** @name XcmV1MultiLocation (49) */446 interface XcmV1MultiLocation extends Struct {491 interface XcmV1MultiLocation extends Struct {447 readonly parents: u8;492 readonly parents: u8;448 readonly interior: XcmV1MultilocationJunctions;493 readonly interior: XcmV1MultilocationJunctions;449 }494 }450495451 /** @name XcmV1MultilocationJunctions (49) */496 /** @name XcmV1MultilocationJunctions (50) */452 interface XcmV1MultilocationJunctions extends Enum {497 interface XcmV1MultilocationJunctions extends Enum {453 readonly isHere: boolean;498 readonly isHere: boolean;454 readonly isX1: boolean;499 readonly isX1: boolean;470 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';515 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';471 }516 }472517473 /** @name XcmV1Junction (50) */518 /** @name XcmV1Junction (51) */474 interface XcmV1Junction extends Enum {519 interface XcmV1Junction extends Enum {475 readonly isParachain: boolean;520 readonly isParachain: boolean;476 readonly asParachain: Compact<u32>;521 readonly asParachain: Compact<u32>;504 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';549 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';505 }550 }506551507 /** @name XcmV0JunctionNetworkId (52) */552 /** @name XcmV0JunctionNetworkId (53) */508 interface XcmV0JunctionNetworkId extends Enum {553 interface XcmV0JunctionNetworkId extends Enum {509 readonly isAny: boolean;554 readonly isAny: boolean;510 readonly isNamed: boolean;555 readonly isNamed: boolean;514 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';559 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';515 }560 }516561517 /** @name XcmV0JunctionBodyId (55) */562 /** @name XcmV0JunctionBodyId (56) */518 interface XcmV0JunctionBodyId extends Enum {563 interface XcmV0JunctionBodyId extends Enum {519 readonly isUnit: boolean;564 readonly isUnit: boolean;520 readonly isNamed: boolean;565 readonly isNamed: boolean;528 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';573 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';529 }574 }530575531 /** @name XcmV0JunctionBodyPart (56) */576 /** @name XcmV0JunctionBodyPart (57) */532 interface XcmV0JunctionBodyPart extends Enum {577 interface XcmV0JunctionBodyPart extends Enum {533 readonly isVoice: boolean;578 readonly isVoice: boolean;534 readonly isMembers: boolean;579 readonly isMembers: boolean;553 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';598 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';554 }599 }555600556 /** @name XcmV1MultiassetFungibility (57) */601 /** @name XcmV1MultiassetFungibility (58) */557 interface XcmV1MultiassetFungibility extends Enum {602 interface XcmV1MultiassetFungibility extends Enum {558 readonly isFungible: boolean;603 readonly isFungible: boolean;559 readonly asFungible: Compact<u128>;604 readonly asFungible: Compact<u128>;562 readonly type: 'Fungible' | 'NonFungible';607 readonly type: 'Fungible' | 'NonFungible';563 }608 }564609565 /** @name XcmV1MultiassetAssetInstance (58) */610 /** @name XcmV1MultiassetAssetInstance (59) */566 interface XcmV1MultiassetAssetInstance extends Enum {611 interface XcmV1MultiassetAssetInstance extends Enum {567 readonly isUndefined: boolean;612 readonly isUndefined: boolean;568 readonly isIndex: boolean;613 readonly isIndex: boolean;580 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';625 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';581 }626 }582627583 /** @name OrmlTokensModuleEvent (61) */628 /** @name OrmlTokensModuleEvent (62) */584 interface OrmlTokensModuleEvent extends Enum {629 interface OrmlTokensModuleEvent extends Enum {585 readonly isEndowed: boolean;630 readonly isEndowed: boolean;586 readonly asEndowed: {631 readonly asEndowed: {668 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';713 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';669 }714 }670715671 /** @name PalletForeignAssetsAssetIds (62) */716 /** @name PalletForeignAssetsAssetIds (63) */672 interface PalletForeignAssetsAssetIds extends Enum {717 interface PalletForeignAssetsAssetIds extends Enum {673 readonly isForeignAssetId: boolean;718 readonly isForeignAssetId: boolean;674 readonly asForeignAssetId: u32;719 readonly asForeignAssetId: u32;677 readonly type: 'ForeignAssetId' | 'NativeAssetId';722 readonly type: 'ForeignAssetId' | 'NativeAssetId';678 }723 }679724680 /** @name PalletForeignAssetsNativeCurrency (63) */725 /** @name PalletForeignAssetsNativeCurrency (64) */681 interface PalletForeignAssetsNativeCurrency extends Enum {726 interface PalletForeignAssetsNativeCurrency extends Enum {682 readonly isHere: boolean;727 readonly isHere: boolean;683 readonly isParent: boolean;728 readonly isParent: boolean;684 readonly type: 'Here' | 'Parent';729 readonly type: 'Here' | 'Parent';685 }730 }686731687 /** @name CumulusPalletXcmpQueueEvent (64) */732 /** @name CumulusPalletXcmpQueueEvent (65) */688 interface CumulusPalletXcmpQueueEvent extends Enum {733 interface CumulusPalletXcmpQueueEvent extends Enum {689 readonly isSuccess: boolean;734 readonly isSuccess: boolean;690 readonly asSuccess: {735 readonly asSuccess: {728 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';773 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';729 }774 }730775731 /** @name XcmV2TraitsError (66) */776 /** @name XcmV2TraitsError (67) */732 interface XcmV2TraitsError extends Enum {777 interface XcmV2TraitsError extends Enum {733 readonly isOverflow: boolean;778 readonly isOverflow: boolean;734 readonly isUnimplemented: boolean;779 readonly isUnimplemented: boolean;761 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';806 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';762 }807 }763808764 /** @name PalletXcmEvent (68) */809 /** @name PalletXcmEvent (69) */765 interface PalletXcmEvent extends Enum {810 interface PalletXcmEvent extends Enum {766 readonly isAttempted: boolean;811 readonly isAttempted: boolean;767 readonly asAttempted: XcmV2TraitsOutcome;812 readonly asAttempted: XcmV2TraitsOutcome;800 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';845 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';801 }846 }802847803 /** @name XcmV2TraitsOutcome (69) */848 /** @name XcmV2TraitsOutcome (70) */804 interface XcmV2TraitsOutcome extends Enum {849 interface XcmV2TraitsOutcome extends Enum {805 readonly isComplete: boolean;850 readonly isComplete: boolean;806 readonly asComplete: u64;851 readonly asComplete: u64;811 readonly type: 'Complete' | 'Incomplete' | 'Error';856 readonly type: 'Complete' | 'Incomplete' | 'Error';812 }857 }813858814 /** @name XcmV2Xcm (70) */859 /** @name XcmV2Xcm (71) */815 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}860 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}816861817 /** @name XcmV2Instruction (72) */862 /** @name XcmV2Instruction (73) */818 interface XcmV2Instruction extends Enum {863 interface XcmV2Instruction extends Enum {819 readonly isWithdrawAsset: boolean;864 readonly isWithdrawAsset: boolean;820 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;865 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;934 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';979 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';935 }980 }936981937 /** @name XcmV2Response (73) */982 /** @name XcmV2Response (74) */938 interface XcmV2Response extends Enum {983 interface XcmV2Response extends Enum {939 readonly isNull: boolean;984 readonly isNull: boolean;940 readonly isAssets: boolean;985 readonly isAssets: boolean;946 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';991 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';947 }992 }948993949 /** @name XcmV0OriginKind (76) */994 /** @name XcmV0OriginKind (77) */950 interface XcmV0OriginKind extends Enum {995 interface XcmV0OriginKind extends Enum {951 readonly isNative: boolean;996 readonly isNative: boolean;952 readonly isSovereignAccount: boolean;997 readonly isSovereignAccount: boolean;955 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';1000 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';956 }1001 }9571002958 /** @name XcmDoubleEncoded (77) */1003 /** @name XcmDoubleEncoded (78) */959 interface XcmDoubleEncoded extends Struct {1004 interface XcmDoubleEncoded extends Struct {960 readonly encoded: Bytes;1005 readonly encoded: Bytes;961 }1006 }9621007963 /** @name XcmV1MultiassetMultiAssetFilter (78) */1008 /** @name XcmV1MultiassetMultiAssetFilter (79) */964 interface XcmV1MultiassetMultiAssetFilter extends Enum {1009 interface XcmV1MultiassetMultiAssetFilter extends Enum {965 readonly isDefinite: boolean;1010 readonly isDefinite: boolean;966 readonly asDefinite: XcmV1MultiassetMultiAssets;1011 readonly asDefinite: XcmV1MultiassetMultiAssets;969 readonly type: 'Definite' | 'Wild';1014 readonly type: 'Definite' | 'Wild';970 }1015 }9711016972 /** @name XcmV1MultiassetWildMultiAsset (79) */1017 /** @name XcmV1MultiassetWildMultiAsset (80) */973 interface XcmV1MultiassetWildMultiAsset extends Enum {1018 interface XcmV1MultiassetWildMultiAsset extends Enum {974 readonly isAll: boolean;1019 readonly isAll: boolean;975 readonly isAllOf: boolean;1020 readonly isAllOf: boolean;980 readonly type: 'All' | 'AllOf';1025 readonly type: 'All' | 'AllOf';981 }1026 }9821027983 /** @name XcmV1MultiassetWildFungibility (80) */1028 /** @name XcmV1MultiassetWildFungibility (81) */984 interface XcmV1MultiassetWildFungibility extends Enum {1029 interface XcmV1MultiassetWildFungibility extends Enum {985 readonly isFungible: boolean;1030 readonly isFungible: boolean;986 readonly isNonFungible: boolean;1031 readonly isNonFungible: boolean;987 readonly type: 'Fungible' | 'NonFungible';1032 readonly type: 'Fungible' | 'NonFungible';988 }1033 }9891034990 /** @name XcmV2WeightLimit (81) */1035 /** @name XcmV2WeightLimit (82) */991 interface XcmV2WeightLimit extends Enum {1036 interface XcmV2WeightLimit extends Enum {992 readonly isUnlimited: boolean;1037 readonly isUnlimited: boolean;993 readonly isLimited: boolean;1038 readonly isLimited: boolean;994 readonly asLimited: Compact<u64>;1039 readonly asLimited: Compact<u64>;995 readonly type: 'Unlimited' | 'Limited';1040 readonly type: 'Unlimited' | 'Limited';996 }1041 }9971042998 /** @name XcmVersionedMultiAssets (83) */1043 /** @name XcmVersionedMultiAssets (84) */999 interface XcmVersionedMultiAssets extends Enum {1044 interface XcmVersionedMultiAssets extends Enum {1000 readonly isV0: boolean;1045 readonly isV0: boolean;1001 readonly asV0: Vec<XcmV0MultiAsset>;1046 readonly asV0: Vec<XcmV0MultiAsset>;1004 readonly type: 'V0' | 'V1';1049 readonly type: 'V0' | 'V1';1005 }1050 }100610511007 /** @name XcmV0MultiAsset (85) */1052 /** @name XcmV0MultiAsset (86) */1008 interface XcmV0MultiAsset extends Enum {1053 interface XcmV0MultiAsset extends Enum {1009 readonly isNone: boolean;1054 readonly isNone: boolean;1010 readonly isAll: boolean;1055 readonly isAll: boolean;1049 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';1094 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';1050 }1095 }105110961052 /** @name XcmV0MultiLocation (86) */1097 /** @name XcmV0MultiLocation (87) */1053 interface XcmV0MultiLocation extends Enum {1098 interface XcmV0MultiLocation extends Enum {1054 readonly isNull: boolean;1099 readonly isNull: boolean;1055 readonly isX1: boolean;1100 readonly isX1: boolean;1071 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1116 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1072 }1117 }107311181074 /** @name XcmV0Junction (87) */1119 /** @name XcmV0Junction (88) */1075 interface XcmV0Junction extends Enum {1120 interface XcmV0Junction extends Enum {1076 readonly isParent: boolean;1121 readonly isParent: boolean;1077 readonly isParachain: boolean;1122 readonly isParachain: boolean;1106 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1151 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1107 }1152 }110811531109 /** @name XcmVersionedMultiLocation (88) */1154 /** @name XcmVersionedMultiLocation (89) */1110 interface XcmVersionedMultiLocation extends Enum {1155 interface XcmVersionedMultiLocation extends Enum {1111 readonly isV0: boolean;1156 readonly isV0: boolean;1112 readonly asV0: XcmV0MultiLocation;1157 readonly asV0: XcmV0MultiLocation;1115 readonly type: 'V0' | 'V1';1160 readonly type: 'V0' | 'V1';1116 }1161 }111711621118 /** @name CumulusPalletXcmEvent (89) */1163 /** @name CumulusPalletXcmEvent (90) */1119 interface CumulusPalletXcmEvent extends Enum {1164 interface CumulusPalletXcmEvent extends Enum {1120 readonly isInvalidFormat: boolean;1165 readonly isInvalidFormat: boolean;1121 readonly asInvalidFormat: U8aFixed;1166 readonly asInvalidFormat: U8aFixed;1126 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1171 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1127 }1172 }112811731129 /** @name CumulusPalletDmpQueueEvent (90) */1174 /** @name CumulusPalletDmpQueueEvent (91) */1130 interface CumulusPalletDmpQueueEvent extends Enum {1175 interface CumulusPalletDmpQueueEvent extends Enum {1131 readonly isInvalidFormat: boolean;1176 readonly isInvalidFormat: boolean;1132 readonly asInvalidFormat: {1177 readonly asInvalidFormat: {1161 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1206 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1162 }1207 }12081209 /** @name PalletConfigurationEvent (92) */1210 interface PalletConfigurationEvent extends Enum {1211 readonly isNewDesiredCollators: boolean;1212 readonly asNewDesiredCollators: {1213 readonly desiredCollators: Option<u32>;1214 } & Struct;1215 readonly isNewCollatorLicenseBond: boolean;1216 readonly asNewCollatorLicenseBond: {1217 readonly bondCost: Option<u128>;1218 } & Struct;1219 readonly isNewCollatorKickThreshold: boolean;1220 readonly asNewCollatorKickThreshold: {1221 readonly lengthInBlocks: Option<u32>;1222 } & Struct;1223 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1224 }116312251164 /** @name PalletCommonEvent (91) */1226 /** @name PalletCommonEvent (95) */1165 interface PalletCommonEvent extends Enum {1227 interface PalletCommonEvent extends Enum {1166 readonly isCollectionCreated: boolean;1228 readonly isCollectionCreated: boolean;1167 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1229 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1210 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1272 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1211 }1273 }121212741213 /** @name PalletEvmAccountBasicCrossAccountIdRepr (94) */1275 /** @name PalletEvmAccountBasicCrossAccountIdRepr (98) */1214 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1276 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1215 readonly isSubstrate: boolean;1277 readonly isSubstrate: boolean;1216 readonly asSubstrate: AccountId32;1278 readonly asSubstrate: AccountId32;1219 readonly type: 'Substrate' | 'Ethereum';1281 readonly type: 'Substrate' | 'Ethereum';1220 }1282 }122112831222 /** @name PalletStructureEvent (98) */1284 /** @name PalletStructureEvent (102) */1223 interface PalletStructureEvent extends Enum {1285 interface PalletStructureEvent extends Enum {1224 readonly isExecuted: boolean;1286 readonly isExecuted: boolean;1225 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1287 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1226 readonly type: 'Executed';1288 readonly type: 'Executed';1227 }1289 }122812901229 /** @name PalletRmrkCoreEvent (99) */1291 /** @name PalletRmrkCoreEvent (103) */1230 interface PalletRmrkCoreEvent extends Enum {1292 interface PalletRmrkCoreEvent extends Enum {1231 readonly isCollectionCreated: boolean;1293 readonly isCollectionCreated: boolean;1232 readonly asCollectionCreated: {1294 readonly asCollectionCreated: {1316 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1378 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1317 }1379 }131813801319 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (100) */1381 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (104) */1320 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1382 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1321 readonly isAccountId: boolean;1383 readonly isAccountId: boolean;1322 readonly asAccountId: AccountId32;1384 readonly asAccountId: AccountId32;1325 readonly type: 'AccountId' | 'CollectionAndNftTuple';1387 readonly type: 'AccountId' | 'CollectionAndNftTuple';1326 }1388 }132713891328 /** @name PalletRmrkEquipEvent (104) */1390 /** @name PalletRmrkEquipEvent (107) */1329 interface PalletRmrkEquipEvent extends Enum {1391 interface PalletRmrkEquipEvent extends Enum {1330 readonly isBaseCreated: boolean;1392 readonly isBaseCreated: boolean;1331 readonly asBaseCreated: {1393 readonly asBaseCreated: {1340 readonly type: 'BaseCreated' | 'EquippablesUpdated';1402 readonly type: 'BaseCreated' | 'EquippablesUpdated';1341 }1403 }134214041343 /** @name PalletAppPromotionEvent (105) */1405 /** @name PalletAppPromotionEvent (108) */1344 interface PalletAppPromotionEvent extends Enum {1406 interface PalletAppPromotionEvent extends Enum {1345 readonly isStakingRecalculation: boolean;1407 readonly isStakingRecalculation: boolean;1346 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1408 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1353 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1415 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1354 }1416 }135514171356 /** @name PalletForeignAssetsModuleEvent (106) */1418 /** @name PalletForeignAssetsModuleEvent (109) */1357 interface PalletForeignAssetsModuleEvent extends Enum {1419 interface PalletForeignAssetsModuleEvent extends Enum {1358 readonly isForeignAssetRegistered: boolean;1420 readonly isForeignAssetRegistered: boolean;1359 readonly asForeignAssetRegistered: {1421 readonly asForeignAssetRegistered: {1380 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1442 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1381 }1443 }138214441383 /** @name PalletForeignAssetsModuleAssetMetadata (107) */1445 /** @name PalletForeignAssetsModuleAssetMetadata (110) */1384 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1446 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1385 readonly name: Bytes;1447 readonly name: Bytes;1386 readonly symbol: Bytes;1448 readonly symbol: Bytes;1387 readonly decimals: u8;1449 readonly decimals: u8;1388 readonly minimalBalance: u128;1450 readonly minimalBalance: u128;1389 }1451 }139014521391 /** @name PalletEvmEvent (108) */1453 /** @name PalletEvmEvent (111) */1392 interface PalletEvmEvent extends Enum {1454 interface PalletEvmEvent extends Enum {1393 readonly isLog: boolean;1455 readonly isLog: boolean;1394 readonly asLog: {1456 readonly asLog: {1413 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1475 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1414 }1476 }141514771416 /** @name EthereumLog (109) */1478 /** @name EthereumLog (112) */1417 interface EthereumLog extends Struct {1479 interface EthereumLog extends Struct {1418 readonly address: H160;1480 readonly address: H160;1419 readonly topics: Vec<H256>;1481 readonly topics: Vec<H256>;1420 readonly data: Bytes;1482 readonly data: Bytes;1421 }1483 }142214841423 /** @name PalletEthereumEvent (111) */1485 /** @name PalletEthereumEvent (114) */1424 interface PalletEthereumEvent extends Enum {1486 interface PalletEthereumEvent extends Enum {1425 readonly isExecuted: boolean;1487 readonly isExecuted: boolean;1426 readonly asExecuted: {1488 readonly asExecuted: {1432 readonly type: 'Executed';1494 readonly type: 'Executed';1433 }1495 }143414961435 /** @name EvmCoreErrorExitReason (112) */1497 /** @name EvmCoreErrorExitReason (115) */1436 interface EvmCoreErrorExitReason extends Enum {1498 interface EvmCoreErrorExitReason extends Enum {1437 readonly isSucceed: boolean;1499 readonly isSucceed: boolean;1438 readonly asSucceed: EvmCoreErrorExitSucceed;1500 readonly asSucceed: EvmCoreErrorExitSucceed;1445 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1507 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1446 }1508 }144715091448 /** @name EvmCoreErrorExitSucceed (113) */1510 /** @name EvmCoreErrorExitSucceed (116) */1449 interface EvmCoreErrorExitSucceed extends Enum {1511 interface EvmCoreErrorExitSucceed extends Enum {1450 readonly isStopped: boolean;1512 readonly isStopped: boolean;1451 readonly isReturned: boolean;1513 readonly isReturned: boolean;1452 readonly isSuicided: boolean;1514 readonly isSuicided: boolean;1453 readonly type: 'Stopped' | 'Returned' | 'Suicided';1515 readonly type: 'Stopped' | 'Returned' | 'Suicided';1454 }1516 }145515171456 /** @name EvmCoreErrorExitError (114) */1518 /** @name EvmCoreErrorExitError (117) */1457 interface EvmCoreErrorExitError extends Enum {1519 interface EvmCoreErrorExitError extends Enum {1458 readonly isStackUnderflow: boolean;1520 readonly isStackUnderflow: boolean;1459 readonly isStackOverflow: boolean;1521 readonly isStackOverflow: boolean;1474 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1536 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1475 }1537 }147615381477 /** @name EvmCoreErrorExitRevert (117) */1539 /** @name EvmCoreErrorExitRevert (120) */1478 interface EvmCoreErrorExitRevert extends Enum {1540 interface EvmCoreErrorExitRevert extends Enum {1479 readonly isReverted: boolean;1541 readonly isReverted: boolean;1480 readonly type: 'Reverted';1542 readonly type: 'Reverted';1481 }1543 }148215441483 /** @name EvmCoreErrorExitFatal (118) */1545 /** @name EvmCoreErrorExitFatal (121) */1484 interface EvmCoreErrorExitFatal extends Enum {1546 interface EvmCoreErrorExitFatal extends Enum {1485 readonly isNotSupported: boolean;1547 readonly isNotSupported: boolean;1486 readonly isUnhandledInterrupt: boolean;1548 readonly isUnhandledInterrupt: boolean;1491 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1553 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1492 }1554 }149315551494 /** @name PalletEvmContractHelpersEvent (119) */1556 /** @name PalletEvmContractHelpersEvent (122) */1495 interface PalletEvmContractHelpersEvent extends Enum {1557 interface PalletEvmContractHelpersEvent extends Enum {1496 readonly isContractSponsorSet: boolean;1558 readonly isContractSponsorSet: boolean;1497 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1559 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1502 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1564 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1503 }1565 }150415661505 /** @name PalletEvmMigrationEvent (120) */1567 /** @name PalletDataManagementEvent (123) */1506 interface PalletEvmMigrationEvent extends Enum {1568 interface PalletDataManagementEvent extends Enum {1507 readonly isTestEvent: boolean;1569 readonly isTestEvent: boolean;1508 readonly type: 'TestEvent';1570 readonly type: 'TestEvent';1509 }1571 }151015721511 /** @name PalletMaintenanceEvent (121) */1573 /** @name PalletMaintenanceEvent (124) */1512 interface PalletMaintenanceEvent extends Enum {1574 interface PalletMaintenanceEvent extends Enum {1513 readonly isMaintenanceEnabled: boolean;1575 readonly isMaintenanceEnabled: boolean;1514 readonly isMaintenanceDisabled: boolean;1576 readonly isMaintenanceDisabled: boolean;1515 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1577 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1516 }1578 }151715791518 /** @name PalletTestUtilsEvent (122) */1580 /** @name PalletTestUtilsEvent (125) */1519 interface PalletTestUtilsEvent extends Enum {1581 interface PalletTestUtilsEvent extends Enum {1520 readonly isValueIsSet: boolean;1582 readonly isValueIsSet: boolean;1521 readonly isShouldRollback: boolean;1583 readonly isShouldRollback: boolean;1522 readonly isBatchCompleted: boolean;1584 readonly isBatchCompleted: boolean;1523 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1585 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1524 }1586 }152515871526 /** @name FrameSystemPhase (123) */1588 /** @name FrameSystemPhase (126) */1527 interface FrameSystemPhase extends Enum {1589 interface FrameSystemPhase extends Enum {1528 readonly isApplyExtrinsic: boolean;1590 readonly isApplyExtrinsic: boolean;1529 readonly asApplyExtrinsic: u32;1591 readonly asApplyExtrinsic: u32;1532 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1594 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1533 }1595 }153415961535 /** @name FrameSystemLastRuntimeUpgradeInfo (126) */1597 /** @name FrameSystemLastRuntimeUpgradeInfo (129) */1536 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1598 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1537 readonly specVersion: Compact<u32>;1599 readonly specVersion: Compact<u32>;1538 readonly specName: Text;1600 readonly specName: Text;1539 }1601 }154016021541 /** @name FrameSystemCall (127) */1603 /** @name FrameSystemCall (130) */1542 interface FrameSystemCall extends Enum {1604 interface FrameSystemCall extends Enum {1543 readonly isFillBlock: boolean;1605 readonly isFillBlock: boolean;1544 readonly asFillBlock: {1606 readonly asFillBlock: {1580 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1642 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1581 }1643 }158216441583 /** @name FrameSystemLimitsBlockWeights (132) */1645 /** @name FrameSystemLimitsBlockWeights (135) */1584 interface FrameSystemLimitsBlockWeights extends Struct {1646 interface FrameSystemLimitsBlockWeights extends Struct {1585 readonly baseBlock: SpWeightsWeightV2Weight;1647 readonly baseBlock: SpWeightsWeightV2Weight;1586 readonly maxBlock: SpWeightsWeightV2Weight;1648 readonly maxBlock: SpWeightsWeightV2Weight;1587 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1649 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1588 }1650 }158916511590 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (133) */1652 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (136) */1591 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1653 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1592 readonly normal: FrameSystemLimitsWeightsPerClass;1654 readonly normal: FrameSystemLimitsWeightsPerClass;1593 readonly operational: FrameSystemLimitsWeightsPerClass;1655 readonly operational: FrameSystemLimitsWeightsPerClass;1594 readonly mandatory: FrameSystemLimitsWeightsPerClass;1656 readonly mandatory: FrameSystemLimitsWeightsPerClass;1595 }1657 }159616581597 /** @name FrameSystemLimitsWeightsPerClass (134) */1659 /** @name FrameSystemLimitsWeightsPerClass (137) */1598 interface FrameSystemLimitsWeightsPerClass extends Struct {1660 interface FrameSystemLimitsWeightsPerClass extends Struct {1599 readonly baseExtrinsic: SpWeightsWeightV2Weight;1661 readonly baseExtrinsic: SpWeightsWeightV2Weight;1600 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1662 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1601 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1663 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1602 readonly reserved: Option<SpWeightsWeightV2Weight>;1664 readonly reserved: Option<SpWeightsWeightV2Weight>;1603 }1665 }160416661605 /** @name FrameSystemLimitsBlockLength (136) */1667 /** @name FrameSystemLimitsBlockLength (139) */1606 interface FrameSystemLimitsBlockLength extends Struct {1668 interface FrameSystemLimitsBlockLength extends Struct {1607 readonly max: FrameSupportDispatchPerDispatchClassU32;1669 readonly max: FrameSupportDispatchPerDispatchClassU32;1608 }1670 }160916711610 /** @name FrameSupportDispatchPerDispatchClassU32 (137) */1672 /** @name FrameSupportDispatchPerDispatchClassU32 (140) */1611 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1673 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1612 readonly normal: u32;1674 readonly normal: u32;1613 readonly operational: u32;1675 readonly operational: u32;1614 readonly mandatory: u32;1676 readonly mandatory: u32;1615 }1677 }161616781617 /** @name SpWeightsRuntimeDbWeight (138) */1679 /** @name SpWeightsRuntimeDbWeight (141) */1618 interface SpWeightsRuntimeDbWeight extends Struct {1680 interface SpWeightsRuntimeDbWeight extends Struct {1619 readonly read: u64;1681 readonly read: u64;1620 readonly write: u64;1682 readonly write: u64;1621 }1683 }162216841623 /** @name SpVersionRuntimeVersion (139) */1685 /** @name SpVersionRuntimeVersion (142) */1624 interface SpVersionRuntimeVersion extends Struct {1686 interface SpVersionRuntimeVersion extends Struct {1625 readonly specName: Text;1687 readonly specName: Text;1626 readonly implName: Text;1688 readonly implName: Text;1632 readonly stateVersion: u8;1694 readonly stateVersion: u8;1633 }1695 }163416961635 /** @name FrameSystemError (144) */1697 /** @name FrameSystemError (147) */1636 interface FrameSystemError extends Enum {1698 interface FrameSystemError extends Enum {1637 readonly isInvalidSpecName: boolean;1699 readonly isInvalidSpecName: boolean;1638 readonly isSpecVersionNeedsToIncrease: boolean;1700 readonly isSpecVersionNeedsToIncrease: boolean;1643 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1705 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1644 }1706 }164517071646 /** @name PolkadotPrimitivesV2PersistedValidationData (145) */1708 /** @name PolkadotPrimitivesV2PersistedValidationData (148) */1647 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1709 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1648 readonly parentHead: Bytes;1710 readonly parentHead: Bytes;1649 readonly relayParentNumber: u32;1711 readonly relayParentNumber: u32;1650 readonly relayParentStorageRoot: H256;1712 readonly relayParentStorageRoot: H256;1651 readonly maxPovSize: u32;1713 readonly maxPovSize: u32;1652 }1714 }165317151654 /** @name PolkadotPrimitivesV2UpgradeRestriction (148) */1716 /** @name PolkadotPrimitivesV2UpgradeRestriction (151) */1655 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1717 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1656 readonly isPresent: boolean;1718 readonly isPresent: boolean;1657 readonly type: 'Present';1719 readonly type: 'Present';1658 }1720 }165917211660 /** @name SpTrieStorageProof (149) */1722 /** @name SpTrieStorageProof (152) */1661 interface SpTrieStorageProof extends Struct {1723 interface SpTrieStorageProof extends Struct {1662 readonly trieNodes: BTreeSet<Bytes>;1724 readonly trieNodes: BTreeSet<Bytes>;1663 }1725 }166417261665 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (151) */1727 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (154) */1666 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1728 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1667 readonly dmqMqcHead: H256;1729 readonly dmqMqcHead: H256;1668 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1730 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1669 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1731 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1670 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1732 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1671 }1733 }167217341673 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (154) */1735 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (157) */1674 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1736 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1675 readonly maxCapacity: u32;1737 readonly maxCapacity: u32;1676 readonly maxTotalSize: u32;1738 readonly maxTotalSize: u32;1680 readonly mqcHead: Option<H256>;1742 readonly mqcHead: Option<H256>;1681 }1743 }168217441683 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (155) */1745 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (158) */1684 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1746 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1685 readonly maxCodeSize: u32;1747 readonly maxCodeSize: u32;1686 readonly maxHeadDataSize: u32;1748 readonly maxHeadDataSize: u32;1693 readonly validationUpgradeDelay: u32;1755 readonly validationUpgradeDelay: u32;1694 }1756 }169517571696 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (161) */1758 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (164) */1697 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1759 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1698 readonly recipient: u32;1760 readonly recipient: u32;1699 readonly data: Bytes;1761 readonly data: Bytes;1700 }1762 }170117631702 /** @name CumulusPalletParachainSystemCall (162) */1764 /** @name CumulusPalletParachainSystemCall (165) */1703 interface CumulusPalletParachainSystemCall extends Enum {1765 interface CumulusPalletParachainSystemCall extends Enum {1704 readonly isSetValidationData: boolean;1766 readonly isSetValidationData: boolean;1705 readonly asSetValidationData: {1767 readonly asSetValidationData: {1720 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1782 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1721 }1783 }172217841723 /** @name CumulusPrimitivesParachainInherentParachainInherentData (163) */1785 /** @name CumulusPrimitivesParachainInherentParachainInherentData (166) */1724 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1786 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1725 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1787 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1726 readonly relayChainState: SpTrieStorageProof;1788 readonly relayChainState: SpTrieStorageProof;1727 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1789 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1728 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1790 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1729 }1791 }173017921731 /** @name PolkadotCorePrimitivesInboundDownwardMessage (165) */1793 /** @name PolkadotCorePrimitivesInboundDownwardMessage (168) */1732 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1794 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1733 readonly sentAt: u32;1795 readonly sentAt: u32;1734 readonly msg: Bytes;1796 readonly msg: Bytes;1735 }1797 }173617981737 /** @name PolkadotCorePrimitivesInboundHrmpMessage (168) */1799 /** @name PolkadotCorePrimitivesInboundHrmpMessage (171) */1738 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1800 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1739 readonly sentAt: u32;1801 readonly sentAt: u32;1740 readonly data: Bytes;1802 readonly data: Bytes;1741 }1803 }174218041743 /** @name CumulusPalletParachainSystemError (171) */1805 /** @name CumulusPalletParachainSystemError (174) */1744 interface CumulusPalletParachainSystemError extends Enum {1806 interface CumulusPalletParachainSystemError extends Enum {1745 readonly isOverlappingUpgrades: boolean;1807 readonly isOverlappingUpgrades: boolean;1746 readonly isProhibitedByPolkadot: boolean;1808 readonly isProhibitedByPolkadot: boolean;1753 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1815 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1754 }1816 }175518171756 /** @name PalletAuthorshipUncleEntryItem (173) */1818 /** @name PalletAuthorshipUncleEntryItem (176) */1757 interface PalletAuthorshipUncleEntryItem extends Enum {1819 interface PalletAuthorshipUncleEntryItem extends Enum {1758 readonly isInclusionHeight: boolean;1820 readonly isInclusionHeight: boolean;1759 readonly asInclusionHeight: u32;1821 readonly asInclusionHeight: u32;1762 readonly type: 'InclusionHeight' | 'Uncle';1824 readonly type: 'InclusionHeight' | 'Uncle';1763 }1825 }176418261765 /** @name PalletAuthorshipCall (175) */1827 /** @name PalletAuthorshipCall (178) */1766 interface PalletAuthorshipCall extends Enum {1828 interface PalletAuthorshipCall extends Enum {1767 readonly isSetUncles: boolean;1829 readonly isSetUncles: boolean;1768 readonly asSetUncles: {1830 readonly asSetUncles: {1771 readonly type: 'SetUncles';1833 readonly type: 'SetUncles';1772 }1834 }177318351774 /** @name SpRuntimeHeader (177) */1836 /** @name SpRuntimeHeader (180) */1775 interface SpRuntimeHeader extends Struct {1837 interface SpRuntimeHeader extends Struct {1776 readonly parentHash: H256;1838 readonly parentHash: H256;1777 readonly number: Compact<u32>;1839 readonly number: Compact<u32>;1780 readonly digest: SpRuntimeDigest;1842 readonly digest: SpRuntimeDigest;1781 }1843 }178218441783 /** @name SpRuntimeBlakeTwo256 (178) */1845 /** @name SpRuntimeBlakeTwo256 (181) */1784 type SpRuntimeBlakeTwo256 = Null;1846 type SpRuntimeBlakeTwo256 = Null;178518471786 /** @name PalletAuthorshipError (179) */1848 /** @name PalletAuthorshipError (182) */1787 interface PalletAuthorshipError extends Enum {1849 interface PalletAuthorshipError extends Enum {1788 readonly isInvalidUncleParent: boolean;1850 readonly isInvalidUncleParent: boolean;1789 readonly isUnclesAlreadySet: boolean;1851 readonly isUnclesAlreadySet: boolean;1795 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1857 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1796 }1858 }179718591798 /** @name PalletCollatorSelectionCall (182) */1860 /** @name PalletCollatorSelectionCall (185) */1799 interface PalletCollatorSelectionCall extends Enum {1861 interface PalletCollatorSelectionCall extends Enum {1800 readonly isAddInvulnerable: boolean;1862 readonly isAddInvulnerable: boolean;1801 readonly asAddInvulnerable: {1863 readonly asAddInvulnerable: {1805 readonly asRemoveInvulnerable: {1867 readonly asRemoveInvulnerable: {1806 readonly who: AccountId32;1868 readonly who: AccountId32;1807 } & Struct;1869 } & Struct;1808 readonly isSetDesiredCollators: boolean;1809 readonly asSetDesiredCollators: {1810 readonly max: u32;1811 } & Struct;1812 readonly isSetLicenseBond: boolean;1813 readonly asSetLicenseBond: {1814 readonly bond: u128;1815 } & Struct;1816 readonly isSetKickThreshold: boolean;1817 readonly asSetKickThreshold: {1818 readonly kickThreshold: u32;1819 } & Struct;1820 readonly isGetLicense: boolean;1870 readonly isGetLicense: boolean;1821 readonly isOnboard: boolean;1871 readonly isOnboard: boolean;1822 readonly isOffboard: boolean;1872 readonly isOffboard: boolean;1825 readonly asForceRevokeLicense: {1875 readonly asForceRevokeLicense: {1826 readonly who: AccountId32;1876 readonly who: AccountId32;1827 } & Struct;1877 } & Struct;1828 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'SetDesiredCollators' | 'SetLicenseBond' | 'SetKickThreshold' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';1878 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';1829 }1879 }183018801831 /** @name PalletCollatorSelectionError (183) */1881 /** @name PalletCollatorSelectionError (186) */1832 interface PalletCollatorSelectionError extends Enum {1882 interface PalletCollatorSelectionError extends Enum {1833 readonly isTooManyCandidates: boolean;1883 readonly isTooManyCandidates: boolean;1834 readonly isUnknown: boolean;1884 readonly isUnknown: boolean;1846 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1896 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1847 }1897 }184818981849 /** @name OpalRuntimeRuntimeCommonSessionKeys (186) */1899 /** @name OpalRuntimeRuntimeCommonSessionKeys (189) */1850 interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {1900 interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {1851 readonly aura: SpConsensusAuraSr25519AppSr25519Public;1901 readonly aura: SpConsensusAuraSr25519AppSr25519Public;1852 }1902 }185319031854 /** @name SpConsensusAuraSr25519AppSr25519Public (187) */1904 /** @name SpConsensusAuraSr25519AppSr25519Public (190) */1855 interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}1905 interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}185619061857 /** @name SpCoreSr25519Public (188) */1907 /** @name SpCoreSr25519Public (191) */1858 interface SpCoreSr25519Public extends U8aFixed {}1908 interface SpCoreSr25519Public extends U8aFixed {}185919091860 /** @name SpCoreCryptoKeyTypeId (191) */1910 /** @name SpCoreCryptoKeyTypeId (194) */1861 interface SpCoreCryptoKeyTypeId extends U8aFixed {}1911 interface SpCoreCryptoKeyTypeId extends U8aFixed {}186219121863 /** @name PalletSessionCall (192) */1913 /** @name PalletSessionCall (195) */1864 interface PalletSessionCall extends Enum {1914 interface PalletSessionCall extends Enum {1865 readonly isSetKeys: boolean;1915 readonly isSetKeys: boolean;1866 readonly asSetKeys: {1916 readonly asSetKeys: {1871 readonly type: 'SetKeys' | 'PurgeKeys';1921 readonly type: 'SetKeys' | 'PurgeKeys';1872 }1922 }187319231874 /** @name PalletSessionError (193) */1924 /** @name PalletSessionError (196) */1875 interface PalletSessionError extends Enum {1925 interface PalletSessionError extends Enum {1876 readonly isInvalidProof: boolean;1926 readonly isInvalidProof: boolean;1877 readonly isNoAssociatedValidatorId: boolean;1927 readonly isNoAssociatedValidatorId: boolean;1881 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';1931 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';1882 }1932 }19331934 /** @name PalletIdentityRegistration (197) */1935 interface PalletIdentityRegistration extends Struct {1936 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1937 readonly deposit: u128;1938 readonly info: PalletIdentityIdentityInfo;1939 }19401941 /** @name PalletIdentityJudgement (200) */1942 interface PalletIdentityJudgement extends Enum {1943 readonly isUnknown: boolean;1944 readonly isFeePaid: boolean;1945 readonly asFeePaid: u128;1946 readonly isReasonable: boolean;1947 readonly isKnownGood: boolean;1948 readonly isOutOfDate: boolean;1949 readonly isLowQuality: boolean;1950 readonly isErroneous: boolean;1951 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1952 }19531954 /** @name PalletIdentityIdentityInfo (202) */1955 interface PalletIdentityIdentityInfo extends Struct {1956 readonly additional: Vec<ITuple<[Data, Data]>>;1957 readonly display: Data;1958 readonly legal: Data;1959 readonly web: Data;1960 readonly riot: Data;1961 readonly email: Data;1962 readonly pgpFingerprint: Option<U8aFixed>;1963 readonly image: Data;1964 readonly twitter: Data;1965 }19661967 /** @name PalletIdentityRegistrarInfo (241) */1968 interface PalletIdentityRegistrarInfo extends Struct {1969 readonly account: AccountId32;1970 readonly fee: u128;1971 readonly fields: PalletIdentityBitFlags;1972 }19731974 /** @name PalletIdentityBitFlags (242) */1975 interface PalletIdentityBitFlags extends Set {1976 readonly isDisplay: boolean;1977 readonly isLegal: boolean;1978 readonly isWeb: boolean;1979 readonly isRiot: boolean;1980 readonly isEmail: boolean;1981 readonly isPgpFingerprint: boolean;1982 readonly isImage: boolean;1983 readonly isTwitter: boolean;1984 }19851986 /** @name PalletIdentityIdentityField (243) */1987 interface PalletIdentityIdentityField extends Enum {1988 readonly isDisplay: boolean;1989 readonly isLegal: boolean;1990 readonly isWeb: boolean;1991 readonly isRiot: boolean;1992 readonly isEmail: boolean;1993 readonly isPgpFingerprint: boolean;1994 readonly isImage: boolean;1995 readonly isTwitter: boolean;1996 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1997 }19981999 /** @name PalletIdentityCall (245) */2000 interface PalletIdentityCall extends Enum {2001 readonly isAddRegistrar: boolean;2002 readonly asAddRegistrar: {2003 readonly account: MultiAddress;2004 } & Struct;2005 readonly isSetIdentity: boolean;2006 readonly asSetIdentity: {2007 readonly info: PalletIdentityIdentityInfo;2008 } & Struct;2009 readonly isSetSubs: boolean;2010 readonly asSetSubs: {2011 readonly subs: Vec<ITuple<[AccountId32, Data]>>;2012 } & Struct;2013 readonly isClearIdentity: boolean;2014 readonly isRequestJudgement: boolean;2015 readonly asRequestJudgement: {2016 readonly regIndex: Compact<u32>;2017 readonly maxFee: Compact<u128>;2018 } & Struct;2019 readonly isCancelRequest: boolean;2020 readonly asCancelRequest: {2021 readonly regIndex: u32;2022 } & Struct;2023 readonly isSetFee: boolean;2024 readonly asSetFee: {2025 readonly index: Compact<u32>;2026 readonly fee: Compact<u128>;2027 } & Struct;2028 readonly isSetAccountId: boolean;2029 readonly asSetAccountId: {2030 readonly index: Compact<u32>;2031 readonly new_: MultiAddress;2032 } & Struct;2033 readonly isSetFields: boolean;2034 readonly asSetFields: {2035 readonly index: Compact<u32>;2036 readonly fields: PalletIdentityBitFlags;2037 } & Struct;2038 readonly isProvideJudgement: boolean;2039 readonly asProvideJudgement: {2040 readonly regIndex: Compact<u32>;2041 readonly target: MultiAddress;2042 readonly judgement: PalletIdentityJudgement;2043 readonly identity: H256;2044 } & Struct;2045 readonly isKillIdentity: boolean;2046 readonly asKillIdentity: {2047 readonly target: MultiAddress;2048 } & Struct;2049 readonly isAddSub: boolean;2050 readonly asAddSub: {2051 readonly sub: MultiAddress;2052 readonly data: Data;2053 } & Struct;2054 readonly isRenameSub: boolean;2055 readonly asRenameSub: {2056 readonly sub: MultiAddress;2057 readonly data: Data;2058 } & Struct;2059 readonly isRemoveSub: boolean;2060 readonly asRemoveSub: {2061 readonly sub: MultiAddress;2062 } & Struct;2063 readonly isQuitSub: boolean;2064 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';2065 }20662067 /** @name PalletIdentityError (249) */2068 interface PalletIdentityError extends Enum {2069 readonly isTooManySubAccounts: boolean;2070 readonly isNotFound: boolean;2071 readonly isNotNamed: boolean;2072 readonly isEmptyIndex: boolean;2073 readonly isFeeChanged: boolean;2074 readonly isNoIdentity: boolean;2075 readonly isStickyJudgement: boolean;2076 readonly isJudgementGiven: boolean;2077 readonly isInvalidJudgement: boolean;2078 readonly isInvalidIndex: boolean;2079 readonly isInvalidTarget: boolean;2080 readonly isTooManyFields: boolean;2081 readonly isTooManyRegistrars: boolean;2082 readonly isAlreadyClaimed: boolean;2083 readonly isNotSub: boolean;2084 readonly isNotOwned: boolean;2085 readonly isJudgementForDifferentIdentity: boolean;2086 readonly isJudgementPaymentFailed: boolean;2087 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';2088 }188320891884 /** @name PalletBalancesBalanceLock (195) */2090 /** @name PalletBalancesBalanceLock (251) */1885 interface PalletBalancesBalanceLock extends Struct {2091 interface PalletBalancesBalanceLock extends Struct {1886 readonly id: U8aFixed;2092 readonly id: U8aFixed;1887 readonly amount: u128;2093 readonly amount: u128;1888 readonly reasons: PalletBalancesReasons;2094 readonly reasons: PalletBalancesReasons;1889 }2095 }189020961891 /** @name PalletBalancesReasons (196) */2097 /** @name PalletBalancesReasons (252) */1892 interface PalletBalancesReasons extends Enum {2098 interface PalletBalancesReasons extends Enum {1893 readonly isFee: boolean;2099 readonly isFee: boolean;1894 readonly isMisc: boolean;2100 readonly isMisc: boolean;1895 readonly isAll: boolean;2101 readonly isAll: boolean;1896 readonly type: 'Fee' | 'Misc' | 'All';2102 readonly type: 'Fee' | 'Misc' | 'All';1897 }2103 }189821041899 /** @name PalletBalancesReserveData (199) */2105 /** @name PalletBalancesReserveData (255) */1900 interface PalletBalancesReserveData extends Struct {2106 interface PalletBalancesReserveData extends Struct {1901 readonly id: U8aFixed;2107 readonly id: U8aFixed;1902 readonly amount: u128;2108 readonly amount: u128;1903 }2109 }190421101905 /** @name PalletBalancesReleases (201) */2111 /** @name PalletBalancesReleases (257) */1906 interface PalletBalancesReleases extends Enum {2112 interface PalletBalancesReleases extends Enum {1907 readonly isV100: boolean;2113 readonly isV100: boolean;1908 readonly isV200: boolean;2114 readonly isV200: boolean;1909 readonly type: 'V100' | 'V200';2115 readonly type: 'V100' | 'V200';1910 }2116 }191121171912 /** @name PalletBalancesCall (202) */2118 /** @name PalletBalancesCall (258) */1913 interface PalletBalancesCall extends Enum {2119 interface PalletBalancesCall extends Enum {1914 readonly isTransfer: boolean;2120 readonly isTransfer: boolean;1915 readonly asTransfer: {2121 readonly asTransfer: {1946 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2152 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1947 }2153 }194821541949 /** @name PalletBalancesError (205) */2155 /** @name PalletBalancesError (259) */1950 interface PalletBalancesError extends Enum {2156 interface PalletBalancesError extends Enum {1951 readonly isVestingBalance: boolean;2157 readonly isVestingBalance: boolean;1952 readonly isLiquidityRestrictions: boolean;2158 readonly isLiquidityRestrictions: boolean;1959 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';2165 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1960 }2166 }196121671962 /** @name PalletTimestampCall (207) */2168 /** @name PalletTimestampCall (261) */1963 interface PalletTimestampCall extends Enum {2169 interface PalletTimestampCall extends Enum {1964 readonly isSet: boolean;2170 readonly isSet: boolean;1965 readonly asSet: {2171 readonly asSet: {1968 readonly type: 'Set';2174 readonly type: 'Set';1969 }2175 }197021761971 /** @name PalletTransactionPaymentReleases (209) */2177 /** @name PalletTransactionPaymentReleases (263) */1972 interface PalletTransactionPaymentReleases extends Enum {2178 interface PalletTransactionPaymentReleases extends Enum {1973 readonly isV1Ancient: boolean;2179 readonly isV1Ancient: boolean;1974 readonly isV2: boolean;2180 readonly isV2: boolean;1975 readonly type: 'V1Ancient' | 'V2';2181 readonly type: 'V1Ancient' | 'V2';1976 }2182 }197721831978 /** @name PalletTreasuryProposal (210) */2184 /** @name PalletTreasuryProposal (264) */1979 interface PalletTreasuryProposal extends Struct {2185 interface PalletTreasuryProposal extends Struct {1980 readonly proposer: AccountId32;2186 readonly proposer: AccountId32;1981 readonly value: u128;2187 readonly value: u128;1982 readonly beneficiary: AccountId32;2188 readonly beneficiary: AccountId32;1983 readonly bond: u128;2189 readonly bond: u128;1984 }2190 }198521911986 /** @name PalletTreasuryCall (212) */2192 /** @name PalletTreasuryCall (266) */1987 interface PalletTreasuryCall extends Enum {2193 interface PalletTreasuryCall extends Enum {1988 readonly isProposeSpend: boolean;2194 readonly isProposeSpend: boolean;1989 readonly asProposeSpend: {2195 readonly asProposeSpend: {2010 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2216 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2011 }2217 }201222182013 /** @name FrameSupportPalletId (215) */2219 /** @name FrameSupportPalletId (268) */2014 interface FrameSupportPalletId extends U8aFixed {}2220 interface FrameSupportPalletId extends U8aFixed {}201522212016 /** @name PalletTreasuryError (216) */2222 /** @name PalletTreasuryError (269) */2017 interface PalletTreasuryError extends Enum {2223 interface PalletTreasuryError extends Enum {2018 readonly isInsufficientProposersBalance: boolean;2224 readonly isInsufficientProposersBalance: boolean;2019 readonly isInvalidIndex: boolean;2225 readonly isInvalidIndex: boolean;2023 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2229 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2024 }2230 }202522312026 /** @name PalletSudoCall (217) */2232 /** @name PalletSudoCall (270) */2027 interface PalletSudoCall extends Enum {2233 interface PalletSudoCall extends Enum {2028 readonly isSudo: boolean;2234 readonly isSudo: boolean;2029 readonly asSudo: {2235 readonly asSudo: {2046 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2252 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2047 }2253 }204822542049 /** @name OrmlVestingModuleCall (219) */2255 /** @name OrmlVestingModuleCall (272) */2050 interface OrmlVestingModuleCall extends Enum {2256 interface OrmlVestingModuleCall extends Enum {2051 readonly isClaim: boolean;2257 readonly isClaim: boolean;2052 readonly isVestedTransfer: boolean;2258 readonly isVestedTransfer: boolean;2066 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2272 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2067 }2273 }206822742069 /** @name OrmlXtokensModuleCall (221) */2275 /** @name OrmlXtokensModuleCall (274) */2070 interface OrmlXtokensModuleCall extends Enum {2276 interface OrmlXtokensModuleCall extends Enum {2071 readonly isTransfer: boolean;2277 readonly isTransfer: boolean;2072 readonly asTransfer: {2278 readonly asTransfer: {2113 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2319 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2114 }2320 }211523212116 /** @name XcmVersionedMultiAsset (222) */2322 /** @name XcmVersionedMultiAsset (275) */2117 interface XcmVersionedMultiAsset extends Enum {2323 interface XcmVersionedMultiAsset extends Enum {2118 readonly isV0: boolean;2324 readonly isV0: boolean;2119 readonly asV0: XcmV0MultiAsset;2325 readonly asV0: XcmV0MultiAsset;2122 readonly type: 'V0' | 'V1';2328 readonly type: 'V0' | 'V1';2123 }2329 }212423302125 /** @name OrmlTokensModuleCall (225) */2331 /** @name OrmlTokensModuleCall (278) */2126 interface OrmlTokensModuleCall extends Enum {2332 interface OrmlTokensModuleCall extends Enum {2127 readonly isTransfer: boolean;2333 readonly isTransfer: boolean;2128 readonly asTransfer: {2334 readonly asTransfer: {2159 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2365 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2160 }2366 }216123672162 /** @name CumulusPalletXcmpQueueCall (226) */2368 /** @name CumulusPalletXcmpQueueCall (279) */2163 interface CumulusPalletXcmpQueueCall extends Enum {2369 interface CumulusPalletXcmpQueueCall extends Enum {2164 readonly isServiceOverweight: boolean;2370 readonly isServiceOverweight: boolean;2165 readonly asServiceOverweight: {2371 readonly asServiceOverweight: {2195 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2401 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2196 }2402 }219724032198 /** @name PalletXcmCall (227) */2404 /** @name PalletXcmCall (280) */2199 interface PalletXcmCall extends Enum {2405 interface PalletXcmCall extends Enum {2200 readonly isSend: boolean;2406 readonly isSend: boolean;2201 readonly asSend: {2407 readonly asSend: {2257 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2463 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2258 }2464 }225924652260 /** @name XcmVersionedXcm (228) */2466 /** @name XcmVersionedXcm (281) */2261 interface XcmVersionedXcm extends Enum {2467 interface XcmVersionedXcm extends Enum {2262 readonly isV0: boolean;2468 readonly isV0: boolean;2263 readonly asV0: XcmV0Xcm;2469 readonly asV0: XcmV0Xcm;2268 readonly type: 'V0' | 'V1' | 'V2';2474 readonly type: 'V0' | 'V1' | 'V2';2269 }2475 }227024762271 /** @name XcmV0Xcm (229) */2477 /** @name XcmV0Xcm (282) */2272 interface XcmV0Xcm extends Enum {2478 interface XcmV0Xcm extends Enum {2273 readonly isWithdrawAsset: boolean;2479 readonly isWithdrawAsset: boolean;2274 readonly asWithdrawAsset: {2480 readonly asWithdrawAsset: {2331 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2537 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2332 }2538 }233325392334 /** @name XcmV0Order (231) */2540 /** @name XcmV0Order (284) */2335 interface XcmV0Order extends Enum {2541 interface XcmV0Order extends Enum {2336 readonly isNull: boolean;2542 readonly isNull: boolean;2337 readonly isDepositAsset: boolean;2543 readonly isDepositAsset: boolean;2379 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2585 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2380 }2586 }238125872382 /** @name XcmV0Response (233) */2588 /** @name XcmV0Response (286) */2383 interface XcmV0Response extends Enum {2589 interface XcmV0Response extends Enum {2384 readonly isAssets: boolean;2590 readonly isAssets: boolean;2385 readonly asAssets: Vec<XcmV0MultiAsset>;2591 readonly asAssets: Vec<XcmV0MultiAsset>;2386 readonly type: 'Assets';2592 readonly type: 'Assets';2387 }2593 }238825942389 /** @name XcmV1Xcm (234) */2595 /** @name XcmV1Xcm (287) */2390 interface XcmV1Xcm extends Enum {2596 interface XcmV1Xcm extends Enum {2391 readonly isWithdrawAsset: boolean;2597 readonly isWithdrawAsset: boolean;2392 readonly asWithdrawAsset: {2598 readonly asWithdrawAsset: {2455 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2661 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2456 }2662 }245726632458 /** @name XcmV1Order (236) */2664 /** @name XcmV1Order (289) */2459 interface XcmV1Order extends Enum {2665 interface XcmV1Order extends Enum {2460 readonly isNoop: boolean;2666 readonly isNoop: boolean;2461 readonly isDepositAsset: boolean;2667 readonly isDepositAsset: boolean;2505 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2711 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2506 }2712 }250727132508 /** @name XcmV1Response (238) */2714 /** @name XcmV1Response (291) */2509 interface XcmV1Response extends Enum {2715 interface XcmV1Response extends Enum {2510 readonly isAssets: boolean;2716 readonly isAssets: boolean;2511 readonly asAssets: XcmV1MultiassetMultiAssets;2717 readonly asAssets: XcmV1MultiassetMultiAssets;2514 readonly type: 'Assets' | 'Version';2720 readonly type: 'Assets' | 'Version';2515 }2721 }251627222517 /** @name CumulusPalletXcmCall (252) */2723 /** @name CumulusPalletXcmCall (305) */2518 type CumulusPalletXcmCall = Null;2724 type CumulusPalletXcmCall = Null;251927252520 /** @name CumulusPalletDmpQueueCall (253) */2726 /** @name CumulusPalletDmpQueueCall (306) */2521 interface CumulusPalletDmpQueueCall extends Enum {2727 interface CumulusPalletDmpQueueCall extends Enum {2522 readonly isServiceOverweight: boolean;2728 readonly isServiceOverweight: boolean;2523 readonly asServiceOverweight: {2729 readonly asServiceOverweight: {2527 readonly type: 'ServiceOverweight';2733 readonly type: 'ServiceOverweight';2528 }2734 }252927352530 /** @name PalletInflationCall (254) */2736 /** @name PalletInflationCall (307) */2531 interface PalletInflationCall extends Enum {2737 interface PalletInflationCall extends Enum {2532 readonly isStartInflation: boolean;2738 readonly isStartInflation: boolean;2533 readonly asStartInflation: {2739 readonly asStartInflation: {2536 readonly type: 'StartInflation';2742 readonly type: 'StartInflation';2537 }2743 }253827442539 /** @name PalletUniqueCall (255) */2745 /** @name PalletUniqueCall (308) */2540 interface PalletUniqueCall extends Enum {2746 interface PalletUniqueCall extends Enum {2541 readonly isCreateCollection: boolean;2747 readonly isCreateCollection: boolean;2542 readonly asCreateCollection: {2748 readonly asCreateCollection: {2709 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';2915 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';2710 }2916 }271129172712 /** @name UpDataStructsCollectionMode (260) */2918 /** @name UpDataStructsCollectionMode (313) */2713 interface UpDataStructsCollectionMode extends Enum {2919 interface UpDataStructsCollectionMode extends Enum {2714 readonly isNft: boolean;2920 readonly isNft: boolean;2715 readonly isFungible: boolean;2921 readonly isFungible: boolean;2718 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2924 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2719 }2925 }272029262721 /** @name UpDataStructsCreateCollectionData (261) */2927 /** @name UpDataStructsCreateCollectionData (314) */2722 interface UpDataStructsCreateCollectionData extends Struct {2928 interface UpDataStructsCreateCollectionData extends Struct {2723 readonly mode: UpDataStructsCollectionMode;2929 readonly mode: UpDataStructsCollectionMode;2724 readonly access: Option<UpDataStructsAccessMode>;2930 readonly access: Option<UpDataStructsAccessMode>;2732 readonly properties: Vec<UpDataStructsProperty>;2938 readonly properties: Vec<UpDataStructsProperty>;2733 }2939 }273429402735 /** @name UpDataStructsAccessMode (263) */2941 /** @name UpDataStructsAccessMode (316) */2736 interface UpDataStructsAccessMode extends Enum {2942 interface UpDataStructsAccessMode extends Enum {2737 readonly isNormal: boolean;2943 readonly isNormal: boolean;2738 readonly isAllowList: boolean;2944 readonly isAllowList: boolean;2739 readonly type: 'Normal' | 'AllowList';2945 readonly type: 'Normal' | 'AllowList';2740 }2946 }274129472742 /** @name UpDataStructsCollectionLimits (265) */2948 /** @name UpDataStructsCollectionLimits (318) */2743 interface UpDataStructsCollectionLimits extends Struct {2949 interface UpDataStructsCollectionLimits extends Struct {2744 readonly accountTokenOwnershipLimit: Option<u32>;2950 readonly accountTokenOwnershipLimit: Option<u32>;2745 readonly sponsoredDataSize: Option<u32>;2951 readonly sponsoredDataSize: Option<u32>;2752 readonly transfersEnabled: Option<bool>;2958 readonly transfersEnabled: Option<bool>;2753 }2959 }275429602755 /** @name UpDataStructsSponsoringRateLimit (267) */2961 /** @name UpDataStructsSponsoringRateLimit (320) */2756 interface UpDataStructsSponsoringRateLimit extends Enum {2962 interface UpDataStructsSponsoringRateLimit extends Enum {2757 readonly isSponsoringDisabled: boolean;2963 readonly isSponsoringDisabled: boolean;2758 readonly isBlocks: boolean;2964 readonly isBlocks: boolean;2759 readonly asBlocks: u32;2965 readonly asBlocks: u32;2760 readonly type: 'SponsoringDisabled' | 'Blocks';2966 readonly type: 'SponsoringDisabled' | 'Blocks';2761 }2967 }276229682763 /** @name UpDataStructsCollectionPermissions (270) */2969 /** @name UpDataStructsCollectionPermissions (323) */2764 interface UpDataStructsCollectionPermissions extends Struct {2970 interface UpDataStructsCollectionPermissions extends Struct {2765 readonly access: Option<UpDataStructsAccessMode>;2971 readonly access: Option<UpDataStructsAccessMode>;2766 readonly mintMode: Option<bool>;2972 readonly mintMode: Option<bool>;2767 readonly nesting: Option<UpDataStructsNestingPermissions>;2973 readonly nesting: Option<UpDataStructsNestingPermissions>;2768 }2974 }276929752770 /** @name UpDataStructsNestingPermissions (272) */2976 /** @name UpDataStructsNestingPermissions (325) */2771 interface UpDataStructsNestingPermissions extends Struct {2977 interface UpDataStructsNestingPermissions extends Struct {2772 readonly tokenOwner: bool;2978 readonly tokenOwner: bool;2773 readonly collectionAdmin: bool;2979 readonly collectionAdmin: bool;2774 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2980 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2775 }2981 }277629822777 /** @name UpDataStructsOwnerRestrictedSet (274) */2983 /** @name UpDataStructsOwnerRestrictedSet (327) */2778 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}2984 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}277929852780 /** @name UpDataStructsPropertyKeyPermission (279) */2986 /** @name UpDataStructsPropertyKeyPermission (332) */2781 interface UpDataStructsPropertyKeyPermission extends Struct {2987 interface UpDataStructsPropertyKeyPermission extends Struct {2782 readonly key: Bytes;2988 readonly key: Bytes;2783 readonly permission: UpDataStructsPropertyPermission;2989 readonly permission: UpDataStructsPropertyPermission;2784 }2990 }278529912786 /** @name UpDataStructsPropertyPermission (280) */2992 /** @name UpDataStructsPropertyPermission (333) */2787 interface UpDataStructsPropertyPermission extends Struct {2993 interface UpDataStructsPropertyPermission extends Struct {2788 readonly mutable: bool;2994 readonly mutable: bool;2789 readonly collectionAdmin: bool;2995 readonly collectionAdmin: bool;2790 readonly tokenOwner: bool;2996 readonly tokenOwner: bool;2791 }2997 }279229982793 /** @name UpDataStructsProperty (283) */2999 /** @name UpDataStructsProperty (336) */2794 interface UpDataStructsProperty extends Struct {3000 interface UpDataStructsProperty extends Struct {2795 readonly key: Bytes;3001 readonly key: Bytes;2796 readonly value: Bytes;3002 readonly value: Bytes;2797 }3003 }279830042799 /** @name UpDataStructsCreateItemData (286) */3005 /** @name UpDataStructsCreateItemData (339) */2800 interface UpDataStructsCreateItemData extends Enum {3006 interface UpDataStructsCreateItemData extends Enum {2801 readonly isNft: boolean;3007 readonly isNft: boolean;2802 readonly asNft: UpDataStructsCreateNftData;3008 readonly asNft: UpDataStructsCreateNftData;2807 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3013 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2808 }3014 }280930152810 /** @name UpDataStructsCreateNftData (287) */3016 /** @name UpDataStructsCreateNftData (340) */2811 interface UpDataStructsCreateNftData extends Struct {3017 interface UpDataStructsCreateNftData extends Struct {2812 readonly properties: Vec<UpDataStructsProperty>;3018 readonly properties: Vec<UpDataStructsProperty>;2813 }3019 }281430202815 /** @name UpDataStructsCreateFungibleData (288) */3021 /** @name UpDataStructsCreateFungibleData (341) */2816 interface UpDataStructsCreateFungibleData extends Struct {3022 interface UpDataStructsCreateFungibleData extends Struct {2817 readonly value: u128;3023 readonly value: u128;2818 }3024 }281930252820 /** @name UpDataStructsCreateReFungibleData (289) */3026 /** @name UpDataStructsCreateReFungibleData (342) */2821 interface UpDataStructsCreateReFungibleData extends Struct {3027 interface UpDataStructsCreateReFungibleData extends Struct {2822 readonly pieces: u128;3028 readonly pieces: u128;2823 readonly properties: Vec<UpDataStructsProperty>;3029 readonly properties: Vec<UpDataStructsProperty>;2824 }3030 }282530312826 /** @name UpDataStructsCreateItemExData (292) */3032 /** @name UpDataStructsCreateItemExData (345) */2827 interface UpDataStructsCreateItemExData extends Enum {3033 interface UpDataStructsCreateItemExData extends Enum {2828 readonly isNft: boolean;3034 readonly isNft: boolean;2829 readonly asNft: Vec<UpDataStructsCreateNftExData>;3035 readonly asNft: Vec<UpDataStructsCreateNftExData>;2836 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3042 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2837 }3043 }283830442839 /** @name UpDataStructsCreateNftExData (294) */3045 /** @name UpDataStructsCreateNftExData (347) */2840 interface UpDataStructsCreateNftExData extends Struct {3046 interface UpDataStructsCreateNftExData extends Struct {2841 readonly properties: Vec<UpDataStructsProperty>;3047 readonly properties: Vec<UpDataStructsProperty>;2842 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3048 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2843 }3049 }284430502845 /** @name UpDataStructsCreateRefungibleExSingleOwner (301) */3051 /** @name UpDataStructsCreateRefungibleExSingleOwner (354) */2846 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3052 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2847 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3053 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2848 readonly pieces: u128;3054 readonly pieces: u128;2849 readonly properties: Vec<UpDataStructsProperty>;3055 readonly properties: Vec<UpDataStructsProperty>;2850 }3056 }285130572852 /** @name UpDataStructsCreateRefungibleExMultipleOwners (303) */3058 /** @name UpDataStructsCreateRefungibleExMultipleOwners (356) */2853 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3059 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2854 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3060 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2855 readonly properties: Vec<UpDataStructsProperty>;3061 readonly properties: Vec<UpDataStructsProperty>;2856 }3062 }285730632858 /** @name PalletConfigurationCall (304) */3064 /** @name PalletConfigurationCall (357) */2859 interface PalletConfigurationCall extends Enum {3065 interface PalletConfigurationCall extends Enum {2860 readonly isSetWeightToFeeCoefficientOverride: boolean;3066 readonly isSetWeightToFeeCoefficientOverride: boolean;2861 readonly asSetWeightToFeeCoefficientOverride: {3067 readonly asSetWeightToFeeCoefficientOverride: {2873 readonly asSetAppPromotionConfigurationOverride: {3079 readonly asSetAppPromotionConfigurationOverride: {2874 readonly configuration: PalletConfigurationAppPromotionConfiguration;3080 readonly configuration: PalletConfigurationAppPromotionConfiguration;2875 } & Struct;3081 } & Struct;3082 readonly isSetCollatorSelectionDesiredCollators: boolean;3083 readonly asSetCollatorSelectionDesiredCollators: {3084 readonly max: Option<u32>;3085 } & Struct;3086 readonly isSetCollatorSelectionLicenseBond: boolean;3087 readonly asSetCollatorSelectionLicenseBond: {3088 readonly amount: Option<u128>;3089 } & Struct;3090 readonly isSetCollatorSelectionKickThreshold: boolean;3091 readonly asSetCollatorSelectionKickThreshold: {3092 readonly threshold: Option<u32>;3093 } & Struct;2876 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';3094 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';2877 }3095 }287830962879 /** @name PalletConfigurationAppPromotionConfiguration (309) */3097 /** @name PalletConfigurationAppPromotionConfiguration (362) */2880 interface PalletConfigurationAppPromotionConfiguration extends Struct {3098 interface PalletConfigurationAppPromotionConfiguration extends Struct {2881 readonly recalculationInterval: Option<u32>;3099 readonly recalculationInterval: Option<u32>;2882 readonly pendingInterval: Option<u32>;3100 readonly pendingInterval: Option<u32>;2883 readonly intervalIncome: Option<Perbill>;3101 readonly intervalIncome: Option<Perbill>;2884 readonly maxStakersPerCalculation: Option<u8>;3102 readonly maxStakersPerCalculation: Option<u8>;2885 }3103 }288631042887 /** @name PalletTemplateTransactionPaymentCall (312) */3105 /** @name PalletTemplateTransactionPaymentCall (365) */2888 type PalletTemplateTransactionPaymentCall = Null;3106 type PalletTemplateTransactionPaymentCall = Null;288931072890 /** @name PalletStructureCall (313) */3108 /** @name PalletStructureCall (366) */2891 type PalletStructureCall = Null;3109 type PalletStructureCall = Null;289231102893 /** @name PalletRmrkCoreCall (314) */3111 /** @name PalletRmrkCoreCall (367) */2894 interface PalletRmrkCoreCall extends Enum {3112 interface PalletRmrkCoreCall extends Enum {2895 readonly isCreateCollection: boolean;3113 readonly isCreateCollection: boolean;2896 readonly asCreateCollection: {3114 readonly asCreateCollection: {2996 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';3214 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2997 }3215 }299832162999 /** @name RmrkTraitsResourceResourceTypes (320) */3217 /** @name RmrkTraitsResourceResourceTypes (373) */3000 interface RmrkTraitsResourceResourceTypes extends Enum {3218 interface RmrkTraitsResourceResourceTypes extends Enum {3001 readonly isBasic: boolean;3219 readonly isBasic: boolean;3002 readonly asBasic: RmrkTraitsResourceBasicResource;3220 readonly asBasic: RmrkTraitsResourceBasicResource;3007 readonly type: 'Basic' | 'Composable' | 'Slot';3225 readonly type: 'Basic' | 'Composable' | 'Slot';3008 }3226 }300932273010 /** @name RmrkTraitsResourceBasicResource (322) */3228 /** @name RmrkTraitsResourceBasicResource (375) */3011 interface RmrkTraitsResourceBasicResource extends Struct {3229 interface RmrkTraitsResourceBasicResource extends Struct {3012 readonly src: Option<Bytes>;3230 readonly src: Option<Bytes>;3013 readonly metadata: Option<Bytes>;3231 readonly metadata: Option<Bytes>;3014 readonly license: Option<Bytes>;3232 readonly license: Option<Bytes>;3015 readonly thumb: Option<Bytes>;3233 readonly thumb: Option<Bytes>;3016 }3234 }301732353018 /** @name RmrkTraitsResourceComposableResource (324) */3236 /** @name RmrkTraitsResourceComposableResource (377) */3019 interface RmrkTraitsResourceComposableResource extends Struct {3237 interface RmrkTraitsResourceComposableResource extends Struct {3020 readonly parts: Vec<u32>;3238 readonly parts: Vec<u32>;3021 readonly base: u32;3239 readonly base: u32;3025 readonly thumb: Option<Bytes>;3243 readonly thumb: Option<Bytes>;3026 }3244 }302732453028 /** @name RmrkTraitsResourceSlotResource (325) */3246 /** @name RmrkTraitsResourceSlotResource (378) */3029 interface RmrkTraitsResourceSlotResource extends Struct {3247 interface RmrkTraitsResourceSlotResource extends Struct {3030 readonly base: u32;3248 readonly base: u32;3031 readonly src: Option<Bytes>;3249 readonly src: Option<Bytes>;3035 readonly thumb: Option<Bytes>;3253 readonly thumb: Option<Bytes>;3036 }3254 }303732553038 /** @name PalletRmrkEquipCall (328) */3256 /** @name PalletRmrkEquipCall (381) */3039 interface PalletRmrkEquipCall extends Enum {3257 interface PalletRmrkEquipCall extends Enum {3040 readonly isCreateBase: boolean;3258 readonly isCreateBase: boolean;3041 readonly asCreateBase: {3259 readonly asCreateBase: {3057 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3275 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3058 }3276 }305932773060 /** @name RmrkTraitsPartPartType (331) */3278 /** @name RmrkTraitsPartPartType (384) */3061 interface RmrkTraitsPartPartType extends Enum {3279 interface RmrkTraitsPartPartType extends Enum {3062 readonly isFixedPart: boolean;3280 readonly isFixedPart: boolean;3063 readonly asFixedPart: RmrkTraitsPartFixedPart;3281 readonly asFixedPart: RmrkTraitsPartFixedPart;3066 readonly type: 'FixedPart' | 'SlotPart';3284 readonly type: 'FixedPart' | 'SlotPart';3067 }3285 }306832863069 /** @name RmrkTraitsPartFixedPart (333) */3287 /** @name RmrkTraitsPartFixedPart (386) */3070 interface RmrkTraitsPartFixedPart extends Struct {3288 interface RmrkTraitsPartFixedPart extends Struct {3071 readonly id: u32;3289 readonly id: u32;3072 readonly z: u32;3290 readonly z: u32;3073 readonly src: Bytes;3291 readonly src: Bytes;3074 }3292 }307532933076 /** @name RmrkTraitsPartSlotPart (334) */3294 /** @name RmrkTraitsPartSlotPart (387) */3077 interface RmrkTraitsPartSlotPart extends Struct {3295 interface RmrkTraitsPartSlotPart extends Struct {3078 readonly id: u32;3296 readonly id: u32;3079 readonly equippable: RmrkTraitsPartEquippableList;3297 readonly equippable: RmrkTraitsPartEquippableList;3080 readonly src: Bytes;3298 readonly src: Bytes;3081 readonly z: u32;3299 readonly z: u32;3082 }3300 }308333013084 /** @name RmrkTraitsPartEquippableList (335) */3302 /** @name RmrkTraitsPartEquippableList (388) */3085 interface RmrkTraitsPartEquippableList extends Enum {3303 interface RmrkTraitsPartEquippableList extends Enum {3086 readonly isAll: boolean;3304 readonly isAll: boolean;3087 readonly isEmpty: boolean;3305 readonly isEmpty: boolean;3090 readonly type: 'All' | 'Empty' | 'Custom';3308 readonly type: 'All' | 'Empty' | 'Custom';3091 }3309 }309233103093 /** @name RmrkTraitsTheme (337) */3311 /** @name RmrkTraitsTheme (390) */3094 interface RmrkTraitsTheme extends Struct {3312 interface RmrkTraitsTheme extends Struct {3095 readonly name: Bytes;3313 readonly name: Bytes;3096 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3314 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3097 readonly inherit: bool;3315 readonly inherit: bool;3098 }3316 }309933173100 /** @name RmrkTraitsThemeThemeProperty (339) */3318 /** @name RmrkTraitsThemeThemeProperty (392) */3101 interface RmrkTraitsThemeThemeProperty extends Struct {3319 interface RmrkTraitsThemeThemeProperty extends Struct {3102 readonly key: Bytes;3320 readonly key: Bytes;3103 readonly value: Bytes;3321 readonly value: Bytes;3104 }3322 }310533233106 /** @name PalletAppPromotionCall (341) */3324 /** @name PalletAppPromotionCall (394) */3107 interface PalletAppPromotionCall extends Enum {3325 interface PalletAppPromotionCall extends Enum {3108 readonly isSetAdminAddress: boolean;3326 readonly isSetAdminAddress: boolean;3109 readonly asSetAdminAddress: {3327 readonly asSetAdminAddress: {3137 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3355 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3138 }3356 }313933573140 /** @name PalletForeignAssetsModuleCall (342) */3358 /** @name PalletForeignAssetsModuleCall (395) */3141 interface PalletForeignAssetsModuleCall extends Enum {3359 interface PalletForeignAssetsModuleCall extends Enum {3142 readonly isRegisterForeignAsset: boolean;3360 readonly isRegisterForeignAsset: boolean;3143 readonly asRegisterForeignAsset: {3361 readonly asRegisterForeignAsset: {3154 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3372 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3155 }3373 }315633743157 /** @name PalletEvmCall (343) */3375 /** @name PalletEvmCall (396) */3158 interface PalletEvmCall extends Enum {3376 interface PalletEvmCall extends Enum {3159 readonly isWithdraw: boolean;3377 readonly isWithdraw: boolean;3160 readonly asWithdraw: {3378 readonly asWithdraw: {3199 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3417 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3200 }3418 }320134193202 /** @name PalletEthereumCall (349) */3420 /** @name PalletEthereumCall (402) */3203 interface PalletEthereumCall extends Enum {3421 interface PalletEthereumCall extends Enum {3204 readonly isTransact: boolean;3422 readonly isTransact: boolean;3205 readonly asTransact: {3423 readonly asTransact: {3208 readonly type: 'Transact';3426 readonly type: 'Transact';3209 }3427 }321034283211 /** @name EthereumTransactionTransactionV2 (350) */3429 /** @name EthereumTransactionTransactionV2 (403) */3212 interface EthereumTransactionTransactionV2 extends Enum {3430 interface EthereumTransactionTransactionV2 extends Enum {3213 readonly isLegacy: boolean;3431 readonly isLegacy: boolean;3214 readonly asLegacy: EthereumTransactionLegacyTransaction;3432 readonly asLegacy: EthereumTransactionLegacyTransaction;3219 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3437 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3220 }3438 }322134393222 /** @name EthereumTransactionLegacyTransaction (351) */3440 /** @name EthereumTransactionLegacyTransaction (404) */3223 interface EthereumTransactionLegacyTransaction extends Struct {3441 interface EthereumTransactionLegacyTransaction extends Struct {3224 readonly nonce: U256;3442 readonly nonce: U256;3225 readonly gasPrice: U256;3443 readonly gasPrice: U256;3230 readonly signature: EthereumTransactionTransactionSignature;3448 readonly signature: EthereumTransactionTransactionSignature;3231 }3449 }323234503233 /** @name EthereumTransactionTransactionAction (352) */3451 /** @name EthereumTransactionTransactionAction (405) */3234 interface EthereumTransactionTransactionAction extends Enum {3452 interface EthereumTransactionTransactionAction extends Enum {3235 readonly isCall: boolean;3453 readonly isCall: boolean;3236 readonly asCall: H160;3454 readonly asCall: H160;3237 readonly isCreate: boolean;3455 readonly isCreate: boolean;3238 readonly type: 'Call' | 'Create';3456 readonly type: 'Call' | 'Create';3239 }3457 }324034583241 /** @name EthereumTransactionTransactionSignature (353) */3459 /** @name EthereumTransactionTransactionSignature (406) */3242 interface EthereumTransactionTransactionSignature extends Struct {3460 interface EthereumTransactionTransactionSignature extends Struct {3243 readonly v: u64;3461 readonly v: u64;3244 readonly r: H256;3462 readonly r: H256;3245 readonly s: H256;3463 readonly s: H256;3246 }3464 }324734653248 /** @name EthereumTransactionEip2930Transaction (355) */3466 /** @name EthereumTransactionEip2930Transaction (408) */3249 interface EthereumTransactionEip2930Transaction extends Struct {3467 interface EthereumTransactionEip2930Transaction extends Struct {3250 readonly chainId: u64;3468 readonly chainId: u64;3251 readonly nonce: U256;3469 readonly nonce: U256;3260 readonly s: H256;3478 readonly s: H256;3261 }3479 }326234803263 /** @name EthereumTransactionAccessListItem (357) */3481 /** @name EthereumTransactionAccessListItem (410) */3264 interface EthereumTransactionAccessListItem extends Struct {3482 interface EthereumTransactionAccessListItem extends Struct {3265 readonly address: H160;3483 readonly address: H160;3266 readonly storageKeys: Vec<H256>;3484 readonly storageKeys: Vec<H256>;3267 }3485 }326834863269 /** @name EthereumTransactionEip1559Transaction (358) */3487 /** @name EthereumTransactionEip1559Transaction (411) */3270 interface EthereumTransactionEip1559Transaction extends Struct {3488 interface EthereumTransactionEip1559Transaction extends Struct {3271 readonly chainId: u64;3489 readonly chainId: u64;3272 readonly nonce: U256;3490 readonly nonce: U256;3282 readonly s: H256;3500 readonly s: H256;3283 }3501 }328435023285 /** @name PalletEvmMigrationCall (359) */3503 /** @name PalletDataManagementCall (412) */3286 interface PalletEvmMigrationCall extends Enum {3504 interface PalletDataManagementCall extends Enum {3287 readonly isBegin: boolean;3505 readonly isBegin: boolean;3288 readonly asBegin: {3506 readonly asBegin: {3289 readonly address: H160;3507 readonly address: H160;3309 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3527 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3310 }3528 }331135293312 /** @name PalletMaintenanceCall (363) */3530 /** @name PalletMaintenanceCall (416) */3313 interface PalletMaintenanceCall extends Enum {3531 interface PalletMaintenanceCall extends Enum {3314 readonly isEnable: boolean;3532 readonly isEnable: boolean;3315 readonly isDisable: boolean;3533 readonly isDisable: boolean;3316 readonly type: 'Enable' | 'Disable';3534 readonly type: 'Enable' | 'Disable';3317 }3535 }331835363319 /** @name PalletTestUtilsCall (364) */3537 /** @name PalletTestUtilsCall (417) */3320 interface PalletTestUtilsCall extends Enum {3538 interface PalletTestUtilsCall extends Enum {3321 readonly isEnable: boolean;3539 readonly isEnable: boolean;3322 readonly isSetTestValue: boolean;3540 readonly isSetTestValue: boolean;3336 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3554 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3337 }3555 }333835563339 /** @name PalletSudoError (366) */3557 /** @name PalletSudoError (419) */3340 interface PalletSudoError extends Enum {3558 interface PalletSudoError extends Enum {3341 readonly isRequireSudo: boolean;3559 readonly isRequireSudo: boolean;3342 readonly type: 'RequireSudo';3560 readonly type: 'RequireSudo';3343 }3561 }334435623345 /** @name OrmlVestingModuleError (368) */3563 /** @name OrmlVestingModuleError (421) */3346 interface OrmlVestingModuleError extends Enum {3564 interface OrmlVestingModuleError extends Enum {3347 readonly isZeroVestingPeriod: boolean;3565 readonly isZeroVestingPeriod: boolean;3348 readonly isZeroVestingPeriodCount: boolean;3566 readonly isZeroVestingPeriodCount: boolean;3353 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3571 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3354 }3572 }335535733356 /** @name OrmlXtokensModuleError (369) */3574 /** @name OrmlXtokensModuleError (422) */3357 interface OrmlXtokensModuleError extends Enum {3575 interface OrmlXtokensModuleError extends Enum {3358 readonly isAssetHasNoReserve: boolean;3576 readonly isAssetHasNoReserve: boolean;3359 readonly isNotCrossChainTransfer: boolean;3577 readonly isNotCrossChainTransfer: boolean;3377 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3595 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3378 }3596 }337935973380 /** @name OrmlTokensBalanceLock (372) */3598 /** @name OrmlTokensBalanceLock (425) */3381 interface OrmlTokensBalanceLock extends Struct {3599 interface OrmlTokensBalanceLock extends Struct {3382 readonly id: U8aFixed;3600 readonly id: U8aFixed;3383 readonly amount: u128;3601 readonly amount: u128;3384 }3602 }338536033386 /** @name OrmlTokensAccountData (374) */3604 /** @name OrmlTokensAccountData (427) */3387 interface OrmlTokensAccountData extends Struct {3605 interface OrmlTokensAccountData extends Struct {3388 readonly free: u128;3606 readonly free: u128;3389 readonly reserved: u128;3607 readonly reserved: u128;3390 readonly frozen: u128;3608 readonly frozen: u128;3391 }3609 }339236103393 /** @name OrmlTokensReserveData (376) */3611 /** @name OrmlTokensReserveData (429) */3394 interface OrmlTokensReserveData extends Struct {3612 interface OrmlTokensReserveData extends Struct {3395 readonly id: Null;3613 readonly id: Null;3396 readonly amount: u128;3614 readonly amount: u128;3397 }3615 }339836163399 /** @name OrmlTokensModuleError (378) */3617 /** @name OrmlTokensModuleError (431) */3400 interface OrmlTokensModuleError extends Enum {3618 interface OrmlTokensModuleError extends Enum {3401 readonly isBalanceTooLow: boolean;3619 readonly isBalanceTooLow: boolean;3402 readonly isAmountIntoBalanceFailed: boolean;3620 readonly isAmountIntoBalanceFailed: boolean;3409 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3627 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3410 }3628 }341136293412 /** @name CumulusPalletXcmpQueueInboundChannelDetails (380) */3630 /** @name CumulusPalletXcmpQueueInboundChannelDetails (433) */3413 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3631 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3414 readonly sender: u32;3632 readonly sender: u32;3415 readonly state: CumulusPalletXcmpQueueInboundState;3633 readonly state: CumulusPalletXcmpQueueInboundState;3416 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3634 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3417 }3635 }341836363419 /** @name CumulusPalletXcmpQueueInboundState (381) */3637 /** @name CumulusPalletXcmpQueueInboundState (434) */3420 interface CumulusPalletXcmpQueueInboundState extends Enum {3638 interface CumulusPalletXcmpQueueInboundState extends Enum {3421 readonly isOk: boolean;3639 readonly isOk: boolean;3422 readonly isSuspended: boolean;3640 readonly isSuspended: boolean;3423 readonly type: 'Ok' | 'Suspended';3641 readonly type: 'Ok' | 'Suspended';3424 }3642 }342536433426 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (384) */3644 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (437) */3427 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3645 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3428 readonly isConcatenatedVersionedXcm: boolean;3646 readonly isConcatenatedVersionedXcm: boolean;3429 readonly isConcatenatedEncodedBlob: boolean;3647 readonly isConcatenatedEncodedBlob: boolean;3430 readonly isSignals: boolean;3648 readonly isSignals: boolean;3431 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3649 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3432 }3650 }343336513434 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (387) */3652 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (440) */3435 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3653 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3436 readonly recipient: u32;3654 readonly recipient: u32;3437 readonly state: CumulusPalletXcmpQueueOutboundState;3655 readonly state: CumulusPalletXcmpQueueOutboundState;3440 readonly lastIndex: u16;3658 readonly lastIndex: u16;3441 }3659 }344236603443 /** @name CumulusPalletXcmpQueueOutboundState (388) */3661 /** @name CumulusPalletXcmpQueueOutboundState (441) */3444 interface CumulusPalletXcmpQueueOutboundState extends Enum {3662 interface CumulusPalletXcmpQueueOutboundState extends Enum {3445 readonly isOk: boolean;3663 readonly isOk: boolean;3446 readonly isSuspended: boolean;3664 readonly isSuspended: boolean;3447 readonly type: 'Ok' | 'Suspended';3665 readonly type: 'Ok' | 'Suspended';3448 }3666 }344936673450 /** @name CumulusPalletXcmpQueueQueueConfigData (390) */3668 /** @name CumulusPalletXcmpQueueQueueConfigData (443) */3451 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3669 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3452 readonly suspendThreshold: u32;3670 readonly suspendThreshold: u32;3453 readonly dropThreshold: u32;3671 readonly dropThreshold: u32;3457 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3675 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3458 }3676 }345936773460 /** @name CumulusPalletXcmpQueueError (392) */3678 /** @name CumulusPalletXcmpQueueError (445) */3461 interface CumulusPalletXcmpQueueError extends Enum {3679 interface CumulusPalletXcmpQueueError extends Enum {3462 readonly isFailedToSend: boolean;3680 readonly isFailedToSend: boolean;3463 readonly isBadXcmOrigin: boolean;3681 readonly isBadXcmOrigin: boolean;3467 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3685 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3468 }3686 }346936873470 /** @name PalletXcmError (393) */3688 /** @name PalletXcmError (446) */3471 interface PalletXcmError extends Enum {3689 interface PalletXcmError extends Enum {3472 readonly isUnreachable: boolean;3690 readonly isUnreachable: boolean;3473 readonly isSendFailure: boolean;3691 readonly isSendFailure: boolean;3485 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3703 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3486 }3704 }348737053488 /** @name CumulusPalletXcmError (394) */3706 /** @name CumulusPalletXcmError (447) */3489 type CumulusPalletXcmError = Null;3707 type CumulusPalletXcmError = Null;349037083491 /** @name CumulusPalletDmpQueueConfigData (395) */3709 /** @name CumulusPalletDmpQueueConfigData (448) */3492 interface CumulusPalletDmpQueueConfigData extends Struct {3710 interface CumulusPalletDmpQueueConfigData extends Struct {3493 readonly maxIndividual: SpWeightsWeightV2Weight;3711 readonly maxIndividual: SpWeightsWeightV2Weight;3494 }3712 }349537133496 /** @name CumulusPalletDmpQueuePageIndexData (396) */3714 /** @name CumulusPalletDmpQueuePageIndexData (449) */3497 interface CumulusPalletDmpQueuePageIndexData extends Struct {3715 interface CumulusPalletDmpQueuePageIndexData extends Struct {3498 readonly beginUsed: u32;3716 readonly beginUsed: u32;3499 readonly endUsed: u32;3717 readonly endUsed: u32;3500 readonly overweightCount: u64;3718 readonly overweightCount: u64;3501 }3719 }350237203503 /** @name CumulusPalletDmpQueueError (399) */3721 /** @name CumulusPalletDmpQueueError (452) */3504 interface CumulusPalletDmpQueueError extends Enum {3722 interface CumulusPalletDmpQueueError extends Enum {3505 readonly isUnknown: boolean;3723 readonly isUnknown: boolean;3506 readonly isOverLimit: boolean;3724 readonly isOverLimit: boolean;3507 readonly type: 'Unknown' | 'OverLimit';3725 readonly type: 'Unknown' | 'OverLimit';3508 }3726 }350937273510 /** @name PalletUniqueError (403) */3728 /** @name PalletUniqueError (456) */3511 interface PalletUniqueError extends Enum {3729 interface PalletUniqueError extends Enum {3512 readonly isCollectionDecimalPointLimitExceeded: boolean;3730 readonly isCollectionDecimalPointLimitExceeded: boolean;3513 readonly isEmptyArgument: boolean;3731 readonly isEmptyArgument: boolean;3514 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3732 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3515 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3733 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3516 }3734 }351737353518 /** @name PalletConfigurationError (404) */3736 /** @name PalletConfigurationError (457) */3519 interface PalletConfigurationError extends Enum {3737 interface PalletConfigurationError extends Enum {3520 readonly isInconsistentConfiguration: boolean;3738 readonly isInconsistentConfiguration: boolean;3521 readonly type: 'InconsistentConfiguration';3739 readonly type: 'InconsistentConfiguration';3522 }3740 }352337413524 /** @name UpDataStructsCollection (405) */3742 /** @name UpDataStructsCollection (458) */3525 interface UpDataStructsCollection extends Struct {3743 interface UpDataStructsCollection extends Struct {3526 readonly owner: AccountId32;3744 readonly owner: AccountId32;3527 readonly mode: UpDataStructsCollectionMode;3745 readonly mode: UpDataStructsCollectionMode;3534 readonly flags: U8aFixed;3752 readonly flags: U8aFixed;3535 }3753 }353637543537 /** @name UpDataStructsSponsorshipStateAccountId32 (406) */3755 /** @name UpDataStructsSponsorshipStateAccountId32 (459) */3538 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3756 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3539 readonly isDisabled: boolean;3757 readonly isDisabled: boolean;3540 readonly isUnconfirmed: boolean;3758 readonly isUnconfirmed: boolean;3544 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3762 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3545 }3763 }354637643547 /** @name UpDataStructsProperties (408) */3765 /** @name UpDataStructsProperties (460) */3548 interface UpDataStructsProperties extends Struct {3766 interface UpDataStructsProperties extends Struct {3549 readonly map: UpDataStructsPropertiesMapBoundedVec;3767 readonly map: UpDataStructsPropertiesMapBoundedVec;3550 readonly consumedSpace: u32;3768 readonly consumedSpace: u32;3551 readonly spaceLimit: u32;3769 readonly spaceLimit: u32;3552 }3770 }355337713554 /** @name UpDataStructsPropertiesMapBoundedVec (409) */3772 /** @name UpDataStructsPropertiesMapBoundedVec (461) */3555 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3773 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}355637743557 /** @name UpDataStructsPropertiesMapPropertyPermission (414) */3775 /** @name UpDataStructsPropertiesMapPropertyPermission (466) */3558 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3776 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}355937773560 /** @name UpDataStructsCollectionStats (421) */3778 /** @name UpDataStructsCollectionStats (473) */3561 interface UpDataStructsCollectionStats extends Struct {3779 interface UpDataStructsCollectionStats extends Struct {3562 readonly created: u32;3780 readonly created: u32;3563 readonly destroyed: u32;3781 readonly destroyed: u32;3564 readonly alive: u32;3782 readonly alive: u32;3565 }3783 }356637843567 /** @name UpDataStructsTokenChild (422) */3785 /** @name UpDataStructsTokenChild (474) */3568 interface UpDataStructsTokenChild extends Struct {3786 interface UpDataStructsTokenChild extends Struct {3569 readonly token: u32;3787 readonly token: u32;3570 readonly collection: u32;3788 readonly collection: u32;3571 }3789 }357237903573 /** @name PhantomTypeUpDataStructs (423) */3791 /** @name PhantomTypeUpDataStructs (475) */3574 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}3792 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}357537933576 /** @name UpDataStructsTokenData (425) */3794 /** @name UpDataStructsTokenData (477) */3577 interface UpDataStructsTokenData extends Struct {3795 interface UpDataStructsTokenData extends Struct {3578 readonly properties: Vec<UpDataStructsProperty>;3796 readonly properties: Vec<UpDataStructsProperty>;3579 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3797 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3580 readonly pieces: u128;3798 readonly pieces: u128;3581 }3799 }358238003583 /** @name UpDataStructsRpcCollection (427) */3801 /** @name UpDataStructsRpcCollection (479) */3584 interface UpDataStructsRpcCollection extends Struct {3802 interface UpDataStructsRpcCollection extends Struct {3585 readonly owner: AccountId32;3803 readonly owner: AccountId32;3586 readonly mode: UpDataStructsCollectionMode;3804 readonly mode: UpDataStructsCollectionMode;3596 readonly flags: UpDataStructsRpcCollectionFlags;3814 readonly flags: UpDataStructsRpcCollectionFlags;3597 }3815 }359838163599 /** @name UpDataStructsRpcCollectionFlags (428) */3817 /** @name UpDataStructsRpcCollectionFlags (480) */3600 interface UpDataStructsRpcCollectionFlags extends Struct {3818 interface UpDataStructsRpcCollectionFlags extends Struct {3601 readonly foreign: bool;3819 readonly foreign: bool;3602 readonly erc721metadata: bool;3820 readonly erc721metadata: bool;3603 }3821 }360438223605 /** @name RmrkTraitsCollectionCollectionInfo (429) */3823 /** @name RmrkTraitsCollectionCollectionInfo (481) */3606 interface RmrkTraitsCollectionCollectionInfo extends Struct {3824 interface RmrkTraitsCollectionCollectionInfo extends Struct {3607 readonly issuer: AccountId32;3825 readonly issuer: AccountId32;3608 readonly metadata: Bytes;3826 readonly metadata: Bytes;3611 readonly nftsCount: u32;3829 readonly nftsCount: u32;3612 }3830 }361338313614 /** @name RmrkTraitsNftNftInfo (430) */3832 /** @name RmrkTraitsNftNftInfo (482) */3615 interface RmrkTraitsNftNftInfo extends Struct {3833 interface RmrkTraitsNftNftInfo extends Struct {3616 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3834 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3617 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3835 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3620 readonly pending: bool;3838 readonly pending: bool;3621 }3839 }362238403623 /** @name RmrkTraitsNftRoyaltyInfo (432) */3841 /** @name RmrkTraitsNftRoyaltyInfo (484) */3624 interface RmrkTraitsNftRoyaltyInfo extends Struct {3842 interface RmrkTraitsNftRoyaltyInfo extends Struct {3625 readonly recipient: AccountId32;3843 readonly recipient: AccountId32;3626 readonly amount: Permill;3844 readonly amount: Permill;3627 }3845 }362838463629 /** @name RmrkTraitsResourceResourceInfo (433) */3847 /** @name RmrkTraitsResourceResourceInfo (485) */3630 interface RmrkTraitsResourceResourceInfo extends Struct {3848 interface RmrkTraitsResourceResourceInfo extends Struct {3631 readonly id: u32;3849 readonly id: u32;3632 readonly resource: RmrkTraitsResourceResourceTypes;3850 readonly resource: RmrkTraitsResourceResourceTypes;3633 readonly pending: bool;3851 readonly pending: bool;3634 readonly pendingRemoval: bool;3852 readonly pendingRemoval: bool;3635 }3853 }363638543637 /** @name RmrkTraitsPropertyPropertyInfo (434) */3855 /** @name RmrkTraitsPropertyPropertyInfo (486) */3638 interface RmrkTraitsPropertyPropertyInfo extends Struct {3856 interface RmrkTraitsPropertyPropertyInfo extends Struct {3639 readonly key: Bytes;3857 readonly key: Bytes;3640 readonly value: Bytes;3858 readonly value: Bytes;3641 }3859 }364238603643 /** @name RmrkTraitsBaseBaseInfo (435) */3861 /** @name RmrkTraitsBaseBaseInfo (487) */3644 interface RmrkTraitsBaseBaseInfo extends Struct {3862 interface RmrkTraitsBaseBaseInfo extends Struct {3645 readonly issuer: AccountId32;3863 readonly issuer: AccountId32;3646 readonly baseType: Bytes;3864 readonly baseType: Bytes;3647 readonly symbol: Bytes;3865 readonly symbol: Bytes;3648 }3866 }364938673650 /** @name RmrkTraitsNftNftChild (436) */3868 /** @name RmrkTraitsNftNftChild (488) */3651 interface RmrkTraitsNftNftChild extends Struct {3869 interface RmrkTraitsNftNftChild extends Struct {3652 readonly collectionId: u32;3870 readonly collectionId: u32;3653 readonly nftId: u32;3871 readonly nftId: u32;3654 }3872 }365538733656 /** @name PalletCommonError (438) */3874 /** @name PalletCommonError (490) */3657 interface PalletCommonError extends Enum {3875 interface PalletCommonError extends Enum {3658 readonly isCollectionNotFound: boolean;3876 readonly isCollectionNotFound: boolean;3659 readonly isMustBeTokenOwner: boolean;3877 readonly isMustBeTokenOwner: boolean;3694 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';3912 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';3695 }3913 }369639143697 /** @name PalletFungibleError (440) */3915 /** @name PalletFungibleError (492) */3698 interface PalletFungibleError extends Enum {3916 interface PalletFungibleError extends Enum {3699 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3917 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3700 readonly isFungibleItemsHaveNoId: boolean;3918 readonly isFungibleItemsHaveNoId: boolean;3706 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3924 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3707 }3925 }370839263709 /** @name PalletRefungibleItemData (441) */3927 /** @name PalletRefungibleItemData (493) */3710 interface PalletRefungibleItemData extends Struct {3928 interface PalletRefungibleItemData extends Struct {3711 readonly constData: Bytes;3929 readonly constData: Bytes;3712 }3930 }371339313714 /** @name PalletRefungibleError (446) */3932 /** @name PalletRefungibleError (498) */3715 interface PalletRefungibleError extends Enum {3933 interface PalletRefungibleError extends Enum {3716 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3934 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3717 readonly isWrongRefungiblePieces: boolean;3935 readonly isWrongRefungiblePieces: boolean;3721 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3939 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3722 }3940 }372339413724 /** @name PalletNonfungibleItemData (447) */3942 /** @name PalletNonfungibleItemData (499) */3725 interface PalletNonfungibleItemData extends Struct {3943 interface PalletNonfungibleItemData extends Struct {3726 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3944 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3727 }3945 }372839463729 /** @name UpDataStructsPropertyScope (449) */3947 /** @name UpDataStructsPropertyScope (501) */3730 interface UpDataStructsPropertyScope extends Enum {3948 interface UpDataStructsPropertyScope extends Enum {3731 readonly isNone: boolean;3949 readonly isNone: boolean;3732 readonly isRmrk: boolean;3950 readonly isRmrk: boolean;3733 readonly type: 'None' | 'Rmrk';3951 readonly type: 'None' | 'Rmrk';3734 }3952 }373539533736 /** @name PalletNonfungibleError (451) */3954 /** @name PalletNonfungibleError (503) */3737 interface PalletNonfungibleError extends Enum {3955 interface PalletNonfungibleError extends Enum {3738 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3956 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3739 readonly isNonfungibleItemsHaveNoAmount: boolean;3957 readonly isNonfungibleItemsHaveNoAmount: boolean;3740 readonly isCantBurnNftWithChildren: boolean;3958 readonly isCantBurnNftWithChildren: boolean;3741 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3959 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3742 }3960 }374339613744 /** @name PalletStructureError (452) */3962 /** @name PalletStructureError (504) */3745 interface PalletStructureError extends Enum {3963 interface PalletStructureError extends Enum {3746 readonly isOuroborosDetected: boolean;3964 readonly isOuroborosDetected: boolean;3747 readonly isDepthLimit: boolean;3965 readonly isDepthLimit: boolean;3750 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3968 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3751 }3969 }375239703753 /** @name PalletRmrkCoreError (453) */3971 /** @name PalletRmrkCoreError (505) */3754 interface PalletRmrkCoreError extends Enum {3972 interface PalletRmrkCoreError extends Enum {3755 readonly isCorruptedCollectionType: boolean;3973 readonly isCorruptedCollectionType: boolean;3756 readonly isRmrkPropertyKeyIsTooLong: boolean;3974 readonly isRmrkPropertyKeyIsTooLong: boolean;3774 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3992 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3775 }3993 }377639943777 /** @name PalletRmrkEquipError (455) */3995 /** @name PalletRmrkEquipError (507) */3778 interface PalletRmrkEquipError extends Enum {3996 interface PalletRmrkEquipError extends Enum {3779 readonly isPermissionError: boolean;3997 readonly isPermissionError: boolean;3780 readonly isNoAvailableBaseId: boolean;3998 readonly isNoAvailableBaseId: boolean;3786 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';4004 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3787 }4005 }378840063789 /** @name PalletAppPromotionError (461) */4007 /** @name PalletAppPromotionError (513) */3790 interface PalletAppPromotionError extends Enum {4008 interface PalletAppPromotionError extends Enum {3791 readonly isAdminNotSet: boolean;4009 readonly isAdminNotSet: boolean;3792 readonly isNoPermission: boolean;4010 readonly isNoPermission: boolean;3797 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';4015 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3798 }4016 }379940173800 /** @name PalletForeignAssetsModuleError (462) */4018 /** @name PalletForeignAssetsModuleError (514) */3801 interface PalletForeignAssetsModuleError extends Enum {4019 interface PalletForeignAssetsModuleError extends Enum {3802 readonly isBadLocation: boolean;4020 readonly isBadLocation: boolean;3803 readonly isMultiLocationExisted: boolean;4021 readonly isMultiLocationExisted: boolean;3806 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';4024 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3807 }4025 }380840263809 /** @name PalletEvmError (464) */4027 /** @name PalletEvmError (516) */3810 interface PalletEvmError extends Enum {4028 interface PalletEvmError extends Enum {3811 readonly isBalanceLow: boolean;4029 readonly isBalanceLow: boolean;3812 readonly isFeeOverflow: boolean;4030 readonly isFeeOverflow: boolean;3821 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';4039 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';3822 }4040 }382340413824 /** @name FpRpcTransactionStatus (467) */4042 /** @name FpRpcTransactionStatus (519) */3825 interface FpRpcTransactionStatus extends Struct {4043 interface FpRpcTransactionStatus extends Struct {3826 readonly transactionHash: H256;4044 readonly transactionHash: H256;3827 readonly transactionIndex: u32;4045 readonly transactionIndex: u32;3832 readonly logsBloom: EthbloomBloom;4050 readonly logsBloom: EthbloomBloom;3833 }4051 }383440523835 /** @name EthbloomBloom (469) */4053 /** @name EthbloomBloom (521) */3836 interface EthbloomBloom extends U8aFixed {}4054 interface EthbloomBloom extends U8aFixed {}383740553838 /** @name EthereumReceiptReceiptV3 (471) */4056 /** @name EthereumReceiptReceiptV3 (523) */3839 interface EthereumReceiptReceiptV3 extends Enum {4057 interface EthereumReceiptReceiptV3 extends Enum {3840 readonly isLegacy: boolean;4058 readonly isLegacy: boolean;3841 readonly asLegacy: EthereumReceiptEip658ReceiptData;4059 readonly asLegacy: EthereumReceiptEip658ReceiptData;3846 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';4064 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3847 }4065 }384840663849 /** @name EthereumReceiptEip658ReceiptData (472) */4067 /** @name EthereumReceiptEip658ReceiptData (524) */3850 interface EthereumReceiptEip658ReceiptData extends Struct {4068 interface EthereumReceiptEip658ReceiptData extends Struct {3851 readonly statusCode: u8;4069 readonly statusCode: u8;3852 readonly usedGas: U256;4070 readonly usedGas: U256;3853 readonly logsBloom: EthbloomBloom;4071 readonly logsBloom: EthbloomBloom;3854 readonly logs: Vec<EthereumLog>;4072 readonly logs: Vec<EthereumLog>;3855 }4073 }385640743857 /** @name EthereumBlock (473) */4075 /** @name EthereumBlock (525) */3858 interface EthereumBlock extends Struct {4076 interface EthereumBlock extends Struct {3859 readonly header: EthereumHeader;4077 readonly header: EthereumHeader;3860 readonly transactions: Vec<EthereumTransactionTransactionV2>;4078 readonly transactions: Vec<EthereumTransactionTransactionV2>;3861 readonly ommers: Vec<EthereumHeader>;4079 readonly ommers: Vec<EthereumHeader>;3862 }4080 }386340813864 /** @name EthereumHeader (474) */4082 /** @name EthereumHeader (526) */3865 interface EthereumHeader extends Struct {4083 interface EthereumHeader extends Struct {3866 readonly parentHash: H256;4084 readonly parentHash: H256;3867 readonly ommersHash: H256;4085 readonly ommersHash: H256;3880 readonly nonce: EthereumTypesHashH64;4098 readonly nonce: EthereumTypesHashH64;3881 }4099 }388241003883 /** @name EthereumTypesHashH64 (475) */4101 /** @name EthereumTypesHashH64 (527) */3884 interface EthereumTypesHashH64 extends U8aFixed {}4102 interface EthereumTypesHashH64 extends U8aFixed {}388541033886 /** @name PalletEthereumError (480) */4104 /** @name PalletEthereumError (532) */3887 interface PalletEthereumError extends Enum {4105 interface PalletEthereumError extends Enum {3888 readonly isInvalidSignature: boolean;4106 readonly isInvalidSignature: boolean;3889 readonly isPreLogExists: boolean;4107 readonly isPreLogExists: boolean;3890 readonly type: 'InvalidSignature' | 'PreLogExists';4108 readonly type: 'InvalidSignature' | 'PreLogExists';3891 }4109 }389241103893 /** @name PalletEvmCoderSubstrateError (481) */4111 /** @name PalletEvmCoderSubstrateError (533) */3894 interface PalletEvmCoderSubstrateError extends Enum {4112 interface PalletEvmCoderSubstrateError extends Enum {3895 readonly isOutOfGas: boolean;4113 readonly isOutOfGas: boolean;3896 readonly isOutOfFund: boolean;4114 readonly isOutOfFund: boolean;3897 readonly type: 'OutOfGas' | 'OutOfFund';4115 readonly type: 'OutOfGas' | 'OutOfFund';3898 }4116 }389941173900 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (482) */4118 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (534) */3901 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {4119 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3902 readonly isDisabled: boolean;4120 readonly isDisabled: boolean;3903 readonly isUnconfirmed: boolean;4121 readonly isUnconfirmed: boolean;3907 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';4125 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3908 }4126 }390941273910 /** @name PalletEvmContractHelpersSponsoringModeT (483) */4128 /** @name PalletEvmContractHelpersSponsoringModeT (535) */3911 interface PalletEvmContractHelpersSponsoringModeT extends Enum {4129 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3912 readonly isDisabled: boolean;4130 readonly isDisabled: boolean;3913 readonly isAllowlisted: boolean;4131 readonly isAllowlisted: boolean;3914 readonly isGenerous: boolean;4132 readonly isGenerous: boolean;3915 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';4133 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3916 }4134 }391741353918 /** @name PalletEvmContractHelpersError (489) */4136 /** @name PalletEvmContractHelpersError (541) */3919 interface PalletEvmContractHelpersError extends Enum {4137 interface PalletEvmContractHelpersError extends Enum {3920 readonly isNoPermission: boolean;4138 readonly isNoPermission: boolean;3921 readonly isNoPendingSponsor: boolean;4139 readonly isNoPendingSponsor: boolean;3922 readonly isTooManyMethodsHaveSponsoredLimit: boolean;4140 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3923 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';4141 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3924 }4142 }392541433926 /** @name PalletEvmMigrationError (490) */4144 /** @name PalletDataManagementError (542) */3927 interface PalletEvmMigrationError extends Enum {4145 interface PalletDataManagementError extends Enum {3928 readonly isAccountNotEmpty: boolean;4146 readonly isAccountNotEmpty: boolean;3929 readonly isAccountIsNotMigrating: boolean;4147 readonly isAccountIsNotMigrating: boolean;3930 readonly isBadEvent: boolean;4148 readonly isBadEvent: boolean;3931 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';4149 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3932 }4150 }393341513934 /** @name PalletMaintenanceError (491) */4152 /** @name PalletMaintenanceError (543) */3935 type PalletMaintenanceError = Null;4153 type PalletMaintenanceError = Null;393641543937 /** @name PalletTestUtilsError (492) */4155 /** @name PalletTestUtilsError (544) */3938 interface PalletTestUtilsError extends Enum {4156 interface PalletTestUtilsError extends Enum {3939 readonly isTestPalletDisabled: boolean;4157 readonly isTestPalletDisabled: boolean;3940 readonly isTriggerRollback: boolean;4158 readonly isTriggerRollback: boolean;3941 readonly type: 'TestPalletDisabled' | 'TriggerRollback';4159 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3942 }4160 }394341613944 /** @name SpRuntimeMultiSignature (494) */4162 /** @name SpRuntimeMultiSignature (546) */3945 interface SpRuntimeMultiSignature extends Enum {4163 interface SpRuntimeMultiSignature extends Enum {3946 readonly isEd25519: boolean;4164 readonly isEd25519: boolean;3947 readonly asEd25519: SpCoreEd25519Signature;4165 readonly asEd25519: SpCoreEd25519Signature;3952 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';4170 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3953 }4171 }395441723955 /** @name SpCoreEd25519Signature (495) */4173 /** @name SpCoreEd25519Signature (547) */3956 interface SpCoreEd25519Signature extends U8aFixed {}4174 interface SpCoreEd25519Signature extends U8aFixed {}395741753958 /** @name SpCoreSr25519Signature (497) */4176 /** @name SpCoreSr25519Signature (549) */3959 interface SpCoreSr25519Signature extends U8aFixed {}4177 interface SpCoreSr25519Signature extends U8aFixed {}396041783961 /** @name SpCoreEcdsaSignature (498) */4179 /** @name SpCoreEcdsaSignature (550) */3962 interface SpCoreEcdsaSignature extends U8aFixed {}4180 interface SpCoreEcdsaSignature extends U8aFixed {}396341813964 /** @name FrameSystemExtensionsCheckSpecVersion (501) */4182 /** @name FrameSystemExtensionsCheckSpecVersion (553) */3965 type FrameSystemExtensionsCheckSpecVersion = Null;4183 type FrameSystemExtensionsCheckSpecVersion = Null;396641843967 /** @name FrameSystemExtensionsCheckTxVersion (502) */4185 /** @name FrameSystemExtensionsCheckTxVersion (554) */3968 type FrameSystemExtensionsCheckTxVersion = Null;4186 type FrameSystemExtensionsCheckTxVersion = Null;396941873970 /** @name FrameSystemExtensionsCheckGenesis (503) */4188 /** @name FrameSystemExtensionsCheckGenesis (555) */3971 type FrameSystemExtensionsCheckGenesis = Null;4189 type FrameSystemExtensionsCheckGenesis = Null;397241903973 /** @name FrameSystemExtensionsCheckNonce (506) */4191 /** @name FrameSystemExtensionsCheckNonce (558) */3974 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}4192 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}397541933976 /** @name FrameSystemExtensionsCheckWeight (507) */4194 /** @name FrameSystemExtensionsCheckWeight (559) */3977 type FrameSystemExtensionsCheckWeight = Null;4195 type FrameSystemExtensionsCheckWeight = Null;397841963979 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (508) */4197 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (560) */3980 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;4198 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;41994200 /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (561) */4201 type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;398142023982 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (509) */4203 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (562) */3983 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}4204 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}398442053985 /** @name OpalRuntimeRuntime (510) */4206 /** @name OpalRuntimeRuntime (563) */3986 type OpalRuntimeRuntime = Null;4207 type OpalRuntimeRuntime = Null;398742083988 /** @name PalletEthereumFakeTransactionFinalizer (511) */4209 /** @name PalletEthereumFakeTransactionFinalizer (564) */3989 type PalletEthereumFakeTransactionFinalizer = Null;4210 type PalletEthereumFakeTransactionFinalizer = Null;399042113991} // declare module4212} // declare moduletests/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: {},