difftreelog
refactor(data-management) revert naming back to evm-migration
in: master
37 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5313,11 +5313,11 @@
"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",
@@ -5562,9 +5562,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",
@@ -5870,25 +5870,6 @@
"parity-scale-codec 3.2.1",
"scale-info",
"serde",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
-name = "pallet-data-management"
-version = "0.1.1"
-dependencies = [
- "ethereum 0.14.0",
- "fp-evm",
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "pallet-evm",
- "pallet-identity 4.0.0-dev",
- "parity-scale-codec 3.2.1",
- "scale-info",
- "sp-core",
"sp-io",
"sp-runtime",
"sp-std",
@@ -6064,6 +6045,25 @@
]
[[package]]
+name = "pallet-evm-migration"
+version = "0.1.1"
+dependencies = [
+ "ethereum 0.14.0",
+ "fp-evm",
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "pallet-evm",
+ "pallet-identity 4.0.0-dev",
+ "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.36#cf1894629c7df1c4dafe58aa773627a3d940da14"
@@ -8921,11 +8921,11 @@
"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",
@@ -13153,11 +13153,11 @@
"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",
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-data-management"
+ @echo " bench-evm-migration"
@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-data-management
-bench-data-management:
- make _bench PALLET=data-management
+.PHONY: bench-evm-migration
+bench-evm-migration:
+ make _bench PALLET=evm-migration
.PHONY: bench-common
bench-common:
@@ -143,4 +143,4 @@
.PHONY: bench
# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip
-bench: bench-data-management bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets
+bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible 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-data-management = { default-features = false, path = "../data-management" }
+pallet-evm-migration = { default-features = false, path = "../evm-migration" }
# [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_data_management::Pallet as DataManagementPallet;
+use pallet_evm_migration::Pallet as EvmMigrationPallet;
const SEED: u32 = 0;
fn set_admin<T>() -> Result<T::AccountId, sp_runtime::DispatchError>
where
- T: Config + pallet_unique::Config + pallet_data_management::Config,
+ T: Config + pallet_unique::Config + pallet_evm_migration::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_data_management::Config ,
+ where T: Config + pallet_unique::Config + pallet_evm_migration::Config ,
T::BlockNumber: From<u32> + Into<u32>,
<<T as Config>::Currency as Currency<T::AccountId>>::Balance: Sum + From<u128>
}
@@ -156,8 +156,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();
- <DataManagementPallet<T>>::begin(RawOrigin::Root.into(), address)?;
- <DataManagementPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
+ <EvmMigrationPallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ <EvmMigrationPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
} : _(RawOrigin::Signed(pallet_admin.clone()), address)
stop_sponsoring_contract {
@@ -167,8 +167,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();
- <DataManagementPallet<T>>::begin(RawOrigin::Root.into(), address)?;
- <DataManagementPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
+ <EvmMigrationPallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ <EvmMigrationPallet<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--- a/pallets/data-management/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/data-management/Cargo.tomldiffbeforeafterboth--- a/pallets/data-management/Cargo.toml
+++ /dev/null
@@ -1,43 +0,0 @@
-[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.36" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
-pallet-identity = { default-features = false, path = "../identity" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
-
-[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--- a/pallets/data-management/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/data-management/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/data-management/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/data-management/src/lib.rsdiffbeforeafterboth--- a/pallets/data-management/src/lib.rs
+++ /dev/null
@@ -1,173 +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::call_index(0)]
- #[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::call_index(1)]
- #[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::call_index(2)]
- #[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::call_index(3)]
- #[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::call_index(4)]
- #[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--- a/pallets/data-management/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_data_management
-//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-12-26, 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(15_073_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_943_438 as u64)
- // Standard Error: 1_792
- .saturating_add(Weight::from_ref_time(960_230 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(9_316_585 as u64)
- // Standard Error: 595
- .saturating_add(Weight::from_ref_time(2_082 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(6_570_767 as u64)
- // Standard Error: 2_292
- .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
- }
- fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(10_936_376 as u64)
- // Standard Error: 1_227
- .saturating_add(Weight::from_ref_time(1_311_481 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(15_073_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_943_438 as u64)
- // Standard Error: 1_792
- .saturating_add(Weight::from_ref_time(960_230 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(9_316_585 as u64)
- // Standard Error: 595
- .saturating_add(Weight::from_ref_time(2_082 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(6_570_767 as u64)
- // Standard Error: 2_292
- .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
- }
- fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(10_936_376 as u64)
- // Standard Error: 1_227
- .saturating_add(Weight::from_ref_time(1_311_481 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 data-management pallet, or using other terms not
+ /// using uniquenetwork evm-migration 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 data-management pallet, or using other terms not
+ /// using uniquenetwork evm-migration 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--- /dev/null
+++ b/pallets/evm-migration/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/evm-migration/Cargo.tomldiffbeforeafterboth--- /dev/null
+++ b/pallets/evm-migration/Cargo.toml
@@ -0,0 +1,43 @@
+[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.36" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+pallet-identity = { default-features = false, path = "../identity" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
+
+[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--- /dev/null
+++ b/pallets/evm-migration/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/evm-migration/src/benchmarking.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/evm-migration/src/benchmarking.rs
@@ -0,0 +1,65 @@
+// 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--- /dev/null
+++ b/pallets/evm-migration/src/lib.rs
@@ -0,0 +1,173 @@
+// 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::call_index(0)]
+ #[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::call_index(1)]
+ #[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::call_index(2)]
+ #[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::call_index(3)]
+ #[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::call_index(4)]
+ #[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--- /dev/null
+++ b/pallets/evm-migration/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_evm_migration
+//!
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2022-12-26, 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(15_073_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_943_438 as u64)
+ // Standard Error: 1_792
+ .saturating_add(Weight::from_ref_time(960_230 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(9_316_585 as u64)
+ // Standard Error: 595
+ .saturating_add(Weight::from_ref_time(2_082 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(6_570_767 as u64)
+ // Standard Error: 2_292
+ .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
+ }
+ fn insert_events(b: u32, ) -> Weight {
+ Weight::from_ref_time(10_936_376 as u64)
+ // Standard Error: 1_227
+ .saturating_add(Weight::from_ref_time(1_311_481 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(15_073_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_943_438 as u64)
+ // Standard Error: 1_792
+ .saturating_add(Weight::from_ref_time(960_230 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(9_316_585 as u64)
+ // Standard Error: 595
+ .saturating_add(Weight::from_ref_time(2_082 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(6_570_767 as u64)
+ // Standard Error: 2_292
+ .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
+ }
+ fn insert_events(b: u32, ) -> Weight {
+ Weight::from_ref_time(10_936_376 as u64)
+ // Standard Error: 1_227
+ .saturating_add(Weight::from_ref_time(1_311_481 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_data_management::OnMethodCall<Self>,
+ pallet_evm_migration::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_data_management::Config for Runtime {
+impl pallet_evm_migration::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
- type WeightInfo = pallet_data_management::weights::SubstrateWeight<Self>;
+ type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;
}
impl pallet_ethereum::Config for Runtime {
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -104,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,
- DataManagement: pallet_data_management::{Pallet, Call, Storage, Event<T>} = 153,
+ EvmMigration: pallet_evm_migration::{Pallet, Call, Storage, Event<T>} = 153,
Maintenance: pallet_maintenance::{Pallet, Call, Storage, Event<T>} = 154,
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::DataManagement(_)
+ RuntimeCall::EvmMigration(_)
| RuntimeCall::EVM(_)
| RuntimeCall::Ethereum(_)
| RuntimeCall::Inflation(_)
@@ -116,7 +116,7 @@
) -> TransactionValidity {
if Maintenance::is_enabled() {
match call {
- RuntimeCall::EVM(_) | RuntimeCall::Ethereum(_) | RuntimeCall::DataManagement(_) => {
+ RuntimeCall::EVM(_) | RuntimeCall::Ethereum(_) | RuntimeCall::EvmMigration(_) => {
Err(TransactionValidityError::Invalid(InvalidTransaction::Call))
}
_ => Ok(ValidTransaction::default()),
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -681,7 +681,7 @@
let mut list = Vec::<BenchmarkList>::new();
- list_benchmark!(list, extra, pallet_data_management, DataManagement);
+ list_benchmark!(list, extra, pallet_evm_migration, EvmMigration);
list_benchmark!(list, extra, pallet_common, Common);
list_benchmark!(list, extra, pallet_unique, Unique);
list_benchmark!(list, extra, pallet_structure, Structure);
@@ -750,7 +750,7 @@
let mut batches = Vec::<BenchmarkBatch>::new();
let params = (&config, &allowlist);
- add_benchmark!(params, batches, pallet_data_management, DataManagement);
+ add_benchmark!(params, batches, pallet_evm_migration, EvmMigration);
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
@@ -24,7 +24,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-data-management/runtime-benchmarks',
+ 'pallet-evm-migration/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -93,7 +93,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-data-management/try-runtime',
+ 'pallet-evm-migration/try-runtime',
'pallet-base-fee/try-runtime',
'pallet-unique-scheduler-v2/try-runtime',
'pallet-maintenance/try-runtime',
@@ -130,7 +130,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-data-management/std',
+ 'pallet-evm-migration/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -513,7 +513,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.36", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-unique-scheduler-v2 = { path = '../../pallets/scheduler-v2', default-features = false }
-pallet-data-management = { path = '../../pallets/data-management', default-features = false }
+pallet-evm-migration = { path = '../../pallets/evm-migration', 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
@@ -24,7 +24,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-data-management/runtime-benchmarks',
+ 'pallet-evm-migration/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -91,7 +91,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-data-management/try-runtime',
+ 'pallet-evm-migration/try-runtime',
'pallet-maintenance/try-runtime',
'fp-self-contained/try-runtime',
]
@@ -125,7 +125,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-data-management/std',
+ 'pallet-evm-migration/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -504,7 +504,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.36", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
-pallet-data-management = { path = '../../pallets/data-management', default-features = false }
+pallet-evm-migration = { path = '../../pallets/evm-migration', 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
@@ -24,7 +24,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-data-management/runtime-benchmarks',
+ 'pallet-evm-migration/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -91,7 +91,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-data-management/try-runtime',
+ 'pallet-evm-migration/try-runtime',
'pallet-maintenance/try-runtime',
'fp-self-contained/try-runtime',
]
@@ -125,7 +125,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-data-management/std',
+ 'pallet-evm-migration/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -495,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.36", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
-pallet-data-management = { path = '../../pallets/data-management', default-features = false }
+pallet-evm-migration = { path = '../../pallets/evm-migration', 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/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 data-management pallet, or using other terms not
+ /// using uniquenetwork evm-migration 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.dataManagement.begin', [ADDRESS]);
- const txSetData = helper.constructApiCall('api.tx.dataManagement.setData', [ADDRESS, DATA]);
- const txFinish = helper.constructApiCall('api.tx.dataManagement.finish', [ADDRESS, CODE]);
+ 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]);
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.dataManagement.insertEvents', [[
+ const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.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.dataManagement.insertEvents', [[
+ const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[
encodeEvent(helper.getApi(), 'Common', 'common', 'ItemCreated', [
// Collection Id
9999,
@@ -173,7 +173,7 @@
});
{
- const txInsertEthLogs = helper.constructApiCall('api.tx.dataManagement.insertEthLogs', [[
+ const txInsertEthLogs = helper.constructApiCall('api.tx.evmMigration.insertEthLogs', [[
{
// Contract, which has emitted this log
address: collectionAddress,
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -334,7 +334,7 @@
**/
[key: string]: AugmentedError<ApiType>;
};
- dataManagement: {
+ evmMigration: {
/**
* Migration of this account is not yet started, or already finished.
**/
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -236,7 +236,7 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
- dataManagement: {
+ evmMigration: {
/**
* This event is used in benchmarking and can be used for tests
**/
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -211,7 +211,7 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
- dataManagement: {
+ evmMigration: {
migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Generic query
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -292,7 +292,7 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
- dataManagement: {
+ evmMigration: {
/**
* Start contract migration, inserts contract stub at target address,
* and marks account as pending, allowing to insert storage
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, 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, 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, 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, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, 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, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, 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, OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity, 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, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, 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, 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, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, 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, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, 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,7 +772,7 @@
Offender: Offender;
OldV1SessionInfo: OldV1SessionInfo;
OpalRuntimeRuntime: OpalRuntimeRuntime;
- OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity;
+ OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OpaqueCall: OpaqueCall;
@@ -842,9 +842,9 @@
PalletConfigurationEvent: PalletConfigurationEvent;
PalletConstantMetadataLatest: PalletConstantMetadataLatest;
PalletConstantMetadataV14: PalletConstantMetadataV14;
- PalletDataManagementCall: PalletDataManagementCall;
- PalletDataManagementError: PalletDataManagementError;
- PalletDataManagementEvent: PalletDataManagementEvent;
+ PalletEvmMigrationCall: PalletEvmMigrationCall;
+ PalletEvmMigrationError: PalletEvmMigrationError;
+ PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletErrorMetadataLatest: PalletErrorMetadataLatest;
PalletErrorMetadataV14: PalletErrorMetadataV14;
PalletEthereumCall: PalletEthereumCall;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -693,8 +693,8 @@
/** @name OpalRuntimeRuntime */
export interface OpalRuntimeRuntime extends Null {}
-/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */
-export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}
+/** @name OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity */
+export interface OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity extends Null {}
/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
@@ -1453,8 +1453,8 @@
readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
}
-/** @name PalletDataManagementCall */
-export interface PalletDataManagementCall extends Enum {
+/** @name PalletEvmMigrationCall */
+export interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
readonly address: H160;
@@ -1480,16 +1480,16 @@
readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
}
-/** @name PalletDataManagementError */
-export interface PalletDataManagementError extends Enum {
+/** @name PalletEvmMigrationError */
+export interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly isBadEvent: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
-/** @name PalletDataManagementEvent */
-export interface PalletDataManagementEvent extends Enum {
+/** @name PalletEvmMigrationEvent */
+export interface PalletEvmMigrationEvent extends Enum {
readonly isTestEvent: boolean;
readonly type: 'TestEvent';
}
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1391,9 +1391,9 @@
}
},
/**
- * Lookup123: pallet_data_management::pallet::Event<T>
+ * Lookup123: pallet_evm_migration::pallet::Event<T>
**/
- PalletDataManagementEvent: {
+ PalletEvmMigrationEvent: {
_enum: ['TestEvent']
},
/**
@@ -3209,9 +3209,9 @@
s: 'H256'
},
/**
- * Lookup414: pallet_data_management::pallet::Call<T>
+ * Lookup414: pallet_evm_migration::pallet::Call<T>
**/
- PalletDataManagementCall: {
+ PalletEvmMigrationCall: {
_enum: {
begin: {
address: 'H160',
@@ -3775,9 +3775,9 @@
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup551: pallet_data_management::pallet::Error<T>
+ * Lookup551: pallet_evm_migration::pallet::Error<T>
**/
- PalletDataManagementError: {
+ PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
@@ -3837,9 +3837,9 @@
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup570: opal_runtime::runtime_common::data_management::FilterIdentity
+ * Lookup570: opal_runtime::runtime_common::evm_migration::FilterIdentity
**/
- OpalRuntimeRuntimeCommonDataManagementFilterIdentity: 'Null',
+ OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: 'Null',
/**
* Lookup571: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
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, 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, 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, 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, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, 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, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, 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, OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity, 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, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, 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, 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, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, 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, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, 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,7 +74,7 @@
FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;
FrameSystemPhase: FrameSystemPhase;
OpalRuntimeRuntime: OpalRuntimeRuntime;
- OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity;
+ OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OrmlTokensAccountData: OrmlTokensAccountData;
@@ -112,9 +112,9 @@
PalletConfigurationCall: PalletConfigurationCall;
PalletConfigurationError: PalletConfigurationError;
PalletConfigurationEvent: PalletConfigurationEvent;
- PalletDataManagementCall: PalletDataManagementCall;
- PalletDataManagementError: PalletDataManagementError;
- PalletDataManagementEvent: PalletDataManagementEvent;
+ PalletEvmMigrationCall: PalletEvmMigrationCall;
+ PalletEvmMigrationError: PalletEvmMigrationError;
+ PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletEthereumCall: PalletEthereumCall;
PalletEthereumError: PalletEthereumError;
PalletEthereumEvent: PalletEthereumEvent;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { Data } from '@polkadot/types';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';10import type { ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { Event } from '@polkadot/types/interfaces/system';1314declare module '@polkadot/types/lookup' {15 /** @name FrameSystemAccountInfo (3) */16 interface FrameSystemAccountInfo extends Struct {17 readonly nonce: u32;18 readonly consumers: u32;19 readonly providers: u32;20 readonly sufficients: u32;21 readonly data: PalletBalancesAccountData;22 }2324 /** @name PalletBalancesAccountData (5) */25 interface PalletBalancesAccountData extends Struct {26 readonly free: u128;27 readonly reserved: u128;28 readonly miscFrozen: u128;29 readonly feeFrozen: u128;30 }3132 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */33 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {34 readonly normal: SpWeightsWeightV2Weight;35 readonly operational: SpWeightsWeightV2Weight;36 readonly mandatory: SpWeightsWeightV2Weight;37 }3839 /** @name SpWeightsWeightV2Weight (8) */40 interface SpWeightsWeightV2Weight extends Struct {41 readonly refTime: Compact<u64>;42 readonly proofSize: Compact<u64>;43 }4445 /** @name SpRuntimeDigest (13) */46 interface SpRuntimeDigest extends Struct {47 readonly logs: Vec<SpRuntimeDigestDigestItem>;48 }4950 /** @name SpRuntimeDigestDigestItem (15) */51 interface SpRuntimeDigestDigestItem extends Enum {52 readonly isOther: boolean;53 readonly asOther: Bytes;54 readonly isConsensus: boolean;55 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;56 readonly isSeal: boolean;57 readonly asSeal: ITuple<[U8aFixed, Bytes]>;58 readonly isPreRuntime: boolean;59 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;60 readonly isRuntimeEnvironmentUpdated: boolean;61 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';62 }6364 /** @name FrameSystemEventRecord (18) */65 interface FrameSystemEventRecord extends Struct {66 readonly phase: FrameSystemPhase;67 readonly event: Event;68 readonly topics: Vec<H256>;69 }7071 /** @name FrameSystemEvent (20) */72 interface FrameSystemEvent extends Enum {73 readonly isExtrinsicSuccess: boolean;74 readonly asExtrinsicSuccess: {75 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;76 } & Struct;77 readonly isExtrinsicFailed: boolean;78 readonly asExtrinsicFailed: {79 readonly dispatchError: SpRuntimeDispatchError;80 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;81 } & Struct;82 readonly isCodeUpdated: boolean;83 readonly isNewAccount: boolean;84 readonly asNewAccount: {85 readonly account: AccountId32;86 } & Struct;87 readonly isKilledAccount: boolean;88 readonly asKilledAccount: {89 readonly account: AccountId32;90 } & Struct;91 readonly isRemarked: boolean;92 readonly asRemarked: {93 readonly sender: AccountId32;94 readonly hash_: H256;95 } & Struct;96 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';97 }9899 /** @name FrameSupportDispatchDispatchInfo (21) */100 interface FrameSupportDispatchDispatchInfo extends Struct {101 readonly weight: SpWeightsWeightV2Weight;102 readonly class: FrameSupportDispatchDispatchClass;103 readonly paysFee: FrameSupportDispatchPays;104 }105106 /** @name FrameSupportDispatchDispatchClass (22) */107 interface FrameSupportDispatchDispatchClass extends Enum {108 readonly isNormal: boolean;109 readonly isOperational: boolean;110 readonly isMandatory: boolean;111 readonly type: 'Normal' | 'Operational' | 'Mandatory';112 }113114 /** @name FrameSupportDispatchPays (23) */115 interface FrameSupportDispatchPays extends Enum {116 readonly isYes: boolean;117 readonly isNo: boolean;118 readonly type: 'Yes' | 'No';119 }120121 /** @name SpRuntimeDispatchError (24) */122 interface SpRuntimeDispatchError extends Enum {123 readonly isOther: boolean;124 readonly isCannotLookup: boolean;125 readonly isBadOrigin: boolean;126 readonly isModule: boolean;127 readonly asModule: SpRuntimeModuleError;128 readonly isConsumerRemaining: boolean;129 readonly isNoProviders: boolean;130 readonly isTooManyConsumers: boolean;131 readonly isToken: boolean;132 readonly asToken: SpRuntimeTokenError;133 readonly isArithmetic: boolean;134 readonly asArithmetic: SpRuntimeArithmeticError;135 readonly isTransactional: boolean;136 readonly asTransactional: SpRuntimeTransactionalError;137 readonly isExhausted: boolean;138 readonly isCorruption: boolean;139 readonly isUnavailable: boolean;140 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';141 }142143 /** @name SpRuntimeModuleError (25) */144 interface SpRuntimeModuleError extends Struct {145 readonly index: u8;146 readonly error: U8aFixed;147 }148149 /** @name SpRuntimeTokenError (26) */150 interface SpRuntimeTokenError extends Enum {151 readonly isNoFunds: boolean;152 readonly isWouldDie: boolean;153 readonly isBelowMinimum: boolean;154 readonly isCannotCreate: boolean;155 readonly isUnknownAsset: boolean;156 readonly isFrozen: boolean;157 readonly isUnsupported: boolean;158 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';159 }160161 /** @name SpRuntimeArithmeticError (27) */162 interface SpRuntimeArithmeticError extends Enum {163 readonly isUnderflow: boolean;164 readonly isOverflow: boolean;165 readonly isDivisionByZero: boolean;166 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';167 }168169 /** @name SpRuntimeTransactionalError (28) */170 interface SpRuntimeTransactionalError extends Enum {171 readonly isLimitReached: boolean;172 readonly isNoLayer: boolean;173 readonly type: 'LimitReached' | 'NoLayer';174 }175176 /** @name CumulusPalletParachainSystemEvent (29) */177 interface CumulusPalletParachainSystemEvent extends Enum {178 readonly isValidationFunctionStored: boolean;179 readonly isValidationFunctionApplied: boolean;180 readonly asValidationFunctionApplied: {181 readonly relayChainBlockNum: u32;182 } & Struct;183 readonly isValidationFunctionDiscarded: boolean;184 readonly isUpgradeAuthorized: boolean;185 readonly asUpgradeAuthorized: {186 readonly codeHash: H256;187 } & Struct;188 readonly isDownwardMessagesReceived: boolean;189 readonly asDownwardMessagesReceived: {190 readonly count: u32;191 } & Struct;192 readonly isDownwardMessagesProcessed: boolean;193 readonly asDownwardMessagesProcessed: {194 readonly weightUsed: SpWeightsWeightV2Weight;195 readonly dmqHead: H256;196 } & Struct;197 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';198 }199200 /** @name PalletCollatorSelectionEvent (30) */201 interface PalletCollatorSelectionEvent extends Enum {202 readonly isInvulnerableAdded: boolean;203 readonly asInvulnerableAdded: {204 readonly invulnerable: AccountId32;205 } & Struct;206 readonly isInvulnerableRemoved: boolean;207 readonly asInvulnerableRemoved: {208 readonly invulnerable: AccountId32;209 } & Struct;210 readonly isLicenseObtained: boolean;211 readonly asLicenseObtained: {212 readonly accountId: AccountId32;213 readonly deposit: u128;214 } & Struct;215 readonly isLicenseReleased: boolean;216 readonly asLicenseReleased: {217 readonly accountId: AccountId32;218 readonly depositReturned: u128;219 } & Struct;220 readonly isCandidateAdded: boolean;221 readonly asCandidateAdded: {222 readonly accountId: AccountId32;223 } & Struct;224 readonly isCandidateRemoved: boolean;225 readonly asCandidateRemoved: {226 readonly accountId: AccountId32;227 } & Struct;228 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';229 }230231 /** @name PalletSessionEvent (31) */232 interface PalletSessionEvent extends Enum {233 readonly isNewSession: boolean;234 readonly asNewSession: {235 readonly sessionIndex: u32;236 } & Struct;237 readonly type: 'NewSession';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 }295296 /** @name PalletBalancesEvent (33) */297 interface PalletBalancesEvent extends Enum {298 readonly isEndowed: boolean;299 readonly asEndowed: {300 readonly account: AccountId32;301 readonly freeBalance: u128;302 } & Struct;303 readonly isDustLost: boolean;304 readonly asDustLost: {305 readonly account: AccountId32;306 readonly amount: u128;307 } & Struct;308 readonly isTransfer: boolean;309 readonly asTransfer: {310 readonly from: AccountId32;311 readonly to: AccountId32;312 readonly amount: u128;313 } & Struct;314 readonly isBalanceSet: boolean;315 readonly asBalanceSet: {316 readonly who: AccountId32;317 readonly free: u128;318 readonly reserved: u128;319 } & Struct;320 readonly isReserved: boolean;321 readonly asReserved: {322 readonly who: AccountId32;323 readonly amount: u128;324 } & Struct;325 readonly isUnreserved: boolean;326 readonly asUnreserved: {327 readonly who: AccountId32;328 readonly amount: u128;329 } & Struct;330 readonly isReserveRepatriated: boolean;331 readonly asReserveRepatriated: {332 readonly from: AccountId32;333 readonly to: AccountId32;334 readonly amount: u128;335 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;336 } & Struct;337 readonly isDeposit: boolean;338 readonly asDeposit: {339 readonly who: AccountId32;340 readonly amount: u128;341 } & Struct;342 readonly isWithdraw: boolean;343 readonly asWithdraw: {344 readonly who: AccountId32;345 readonly amount: u128;346 } & Struct;347 readonly isSlashed: boolean;348 readonly asSlashed: {349 readonly who: AccountId32;350 readonly amount: u128;351 } & Struct;352 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';353 }354355 /** @name FrameSupportTokensMiscBalanceStatus (34) */356 interface FrameSupportTokensMiscBalanceStatus extends Enum {357 readonly isFree: boolean;358 readonly isReserved: boolean;359 readonly type: 'Free' | 'Reserved';360 }361362 /** @name PalletTransactionPaymentEvent (35) */363 interface PalletTransactionPaymentEvent extends Enum {364 readonly isTransactionFeePaid: boolean;365 readonly asTransactionFeePaid: {366 readonly who: AccountId32;367 readonly actualFee: u128;368 readonly tip: u128;369 } & Struct;370 readonly type: 'TransactionFeePaid';371 }372373 /** @name PalletTreasuryEvent (36) */374 interface PalletTreasuryEvent extends Enum {375 readonly isProposed: boolean;376 readonly asProposed: {377 readonly proposalIndex: u32;378 } & Struct;379 readonly isSpending: boolean;380 readonly asSpending: {381 readonly budgetRemaining: u128;382 } & Struct;383 readonly isAwarded: boolean;384 readonly asAwarded: {385 readonly proposalIndex: u32;386 readonly award: u128;387 readonly account: AccountId32;388 } & Struct;389 readonly isRejected: boolean;390 readonly asRejected: {391 readonly proposalIndex: u32;392 readonly slashed: u128;393 } & Struct;394 readonly isBurnt: boolean;395 readonly asBurnt: {396 readonly burntFunds: u128;397 } & Struct;398 readonly isRollover: boolean;399 readonly asRollover: {400 readonly rolloverBalance: u128;401 } & Struct;402 readonly isDeposit: boolean;403 readonly asDeposit: {404 readonly value: u128;405 } & Struct;406 readonly isSpendApproved: boolean;407 readonly asSpendApproved: {408 readonly proposalIndex: u32;409 readonly amount: u128;410 readonly beneficiary: AccountId32;411 } & Struct;412 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';413 }414415 /** @name PalletSudoEvent (37) */416 interface PalletSudoEvent extends Enum {417 readonly isSudid: boolean;418 readonly asSudid: {419 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;420 } & Struct;421 readonly isKeyChanged: boolean;422 readonly asKeyChanged: {423 readonly oldSudoer: Option<AccountId32>;424 } & Struct;425 readonly isSudoAsDone: boolean;426 readonly asSudoAsDone: {427 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;428 } & Struct;429 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';430 }431432 /** @name OrmlVestingModuleEvent (41) */433 interface OrmlVestingModuleEvent extends Enum {434 readonly isVestingScheduleAdded: boolean;435 readonly asVestingScheduleAdded: {436 readonly from: AccountId32;437 readonly to: AccountId32;438 readonly vestingSchedule: OrmlVestingVestingSchedule;439 } & Struct;440 readonly isClaimed: boolean;441 readonly asClaimed: {442 readonly who: AccountId32;443 readonly amount: u128;444 } & Struct;445 readonly isVestingSchedulesUpdated: boolean;446 readonly asVestingSchedulesUpdated: {447 readonly who: AccountId32;448 } & Struct;449 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';450 }451452 /** @name OrmlVestingVestingSchedule (42) */453 interface OrmlVestingVestingSchedule extends Struct {454 readonly start: u32;455 readonly period: u32;456 readonly periodCount: u32;457 readonly perPeriod: Compact<u128>;458 }459460 /** @name OrmlXtokensModuleEvent (44) */461 interface OrmlXtokensModuleEvent extends Enum {462 readonly isTransferredMultiAssets: boolean;463 readonly asTransferredMultiAssets: {464 readonly sender: AccountId32;465 readonly assets: XcmV1MultiassetMultiAssets;466 readonly fee: XcmV1MultiAsset;467 readonly dest: XcmV1MultiLocation;468 } & Struct;469 readonly type: 'TransferredMultiAssets';470 }471472 /** @name XcmV1MultiassetMultiAssets (45) */473 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}474475 /** @name XcmV1MultiAsset (47) */476 interface XcmV1MultiAsset extends Struct {477 readonly id: XcmV1MultiassetAssetId;478 readonly fun: XcmV1MultiassetFungibility;479 }480481 /** @name XcmV1MultiassetAssetId (48) */482 interface XcmV1MultiassetAssetId extends Enum {483 readonly isConcrete: boolean;484 readonly asConcrete: XcmV1MultiLocation;485 readonly isAbstract: boolean;486 readonly asAbstract: Bytes;487 readonly type: 'Concrete' | 'Abstract';488 }489490 /** @name XcmV1MultiLocation (49) */491 interface XcmV1MultiLocation extends Struct {492 readonly parents: u8;493 readonly interior: XcmV1MultilocationJunctions;494 }495496 /** @name XcmV1MultilocationJunctions (50) */497 interface XcmV1MultilocationJunctions extends Enum {498 readonly isHere: boolean;499 readonly isX1: boolean;500 readonly asX1: XcmV1Junction;501 readonly isX2: boolean;502 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;503 readonly isX3: boolean;504 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;505 readonly isX4: boolean;506 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;507 readonly isX5: boolean;508 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;509 readonly isX6: boolean;510 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;511 readonly isX7: boolean;512 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;513 readonly isX8: boolean;514 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;515 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';516 }517518 /** @name XcmV1Junction (51) */519 interface XcmV1Junction extends Enum {520 readonly isParachain: boolean;521 readonly asParachain: Compact<u32>;522 readonly isAccountId32: boolean;523 readonly asAccountId32: {524 readonly network: XcmV0JunctionNetworkId;525 readonly id: U8aFixed;526 } & Struct;527 readonly isAccountIndex64: boolean;528 readonly asAccountIndex64: {529 readonly network: XcmV0JunctionNetworkId;530 readonly index: Compact<u64>;531 } & Struct;532 readonly isAccountKey20: boolean;533 readonly asAccountKey20: {534 readonly network: XcmV0JunctionNetworkId;535 readonly key: U8aFixed;536 } & Struct;537 readonly isPalletInstance: boolean;538 readonly asPalletInstance: u8;539 readonly isGeneralIndex: boolean;540 readonly asGeneralIndex: Compact<u128>;541 readonly isGeneralKey: boolean;542 readonly asGeneralKey: Bytes;543 readonly isOnlyChild: boolean;544 readonly isPlurality: boolean;545 readonly asPlurality: {546 readonly id: XcmV0JunctionBodyId;547 readonly part: XcmV0JunctionBodyPart;548 } & Struct;549 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';550 }551552 /** @name XcmV0JunctionNetworkId (53) */553 interface XcmV0JunctionNetworkId extends Enum {554 readonly isAny: boolean;555 readonly isNamed: boolean;556 readonly asNamed: Bytes;557 readonly isPolkadot: boolean;558 readonly isKusama: boolean;559 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';560 }561562 /** @name XcmV0JunctionBodyId (56) */563 interface XcmV0JunctionBodyId extends Enum {564 readonly isUnit: boolean;565 readonly isNamed: boolean;566 readonly asNamed: Bytes;567 readonly isIndex: boolean;568 readonly asIndex: Compact<u32>;569 readonly isExecutive: boolean;570 readonly isTechnical: boolean;571 readonly isLegislative: boolean;572 readonly isJudicial: boolean;573 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';574 }575576 /** @name XcmV0JunctionBodyPart (57) */577 interface XcmV0JunctionBodyPart extends Enum {578 readonly isVoice: boolean;579 readonly isMembers: boolean;580 readonly asMembers: {581 readonly count: Compact<u32>;582 } & Struct;583 readonly isFraction: boolean;584 readonly asFraction: {585 readonly nom: Compact<u32>;586 readonly denom: Compact<u32>;587 } & Struct;588 readonly isAtLeastProportion: boolean;589 readonly asAtLeastProportion: {590 readonly nom: Compact<u32>;591 readonly denom: Compact<u32>;592 } & Struct;593 readonly isMoreThanProportion: boolean;594 readonly asMoreThanProportion: {595 readonly nom: Compact<u32>;596 readonly denom: Compact<u32>;597 } & Struct;598 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';599 }600601 /** @name XcmV1MultiassetFungibility (58) */602 interface XcmV1MultiassetFungibility extends Enum {603 readonly isFungible: boolean;604 readonly asFungible: Compact<u128>;605 readonly isNonFungible: boolean;606 readonly asNonFungible: XcmV1MultiassetAssetInstance;607 readonly type: 'Fungible' | 'NonFungible';608 }609610 /** @name XcmV1MultiassetAssetInstance (59) */611 interface XcmV1MultiassetAssetInstance extends Enum {612 readonly isUndefined: boolean;613 readonly isIndex: boolean;614 readonly asIndex: Compact<u128>;615 readonly isArray4: boolean;616 readonly asArray4: U8aFixed;617 readonly isArray8: boolean;618 readonly asArray8: U8aFixed;619 readonly isArray16: boolean;620 readonly asArray16: U8aFixed;621 readonly isArray32: boolean;622 readonly asArray32: U8aFixed;623 readonly isBlob: boolean;624 readonly asBlob: Bytes;625 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';626 }627628 /** @name OrmlTokensModuleEvent (62) */629 interface OrmlTokensModuleEvent extends Enum {630 readonly isEndowed: boolean;631 readonly asEndowed: {632 readonly currencyId: PalletForeignAssetsAssetIds;633 readonly who: AccountId32;634 readonly amount: u128;635 } & Struct;636 readonly isDustLost: boolean;637 readonly asDustLost: {638 readonly currencyId: PalletForeignAssetsAssetIds;639 readonly who: AccountId32;640 readonly amount: u128;641 } & Struct;642 readonly isTransfer: boolean;643 readonly asTransfer: {644 readonly currencyId: PalletForeignAssetsAssetIds;645 readonly from: AccountId32;646 readonly to: AccountId32;647 readonly amount: u128;648 } & Struct;649 readonly isReserved: boolean;650 readonly asReserved: {651 readonly currencyId: PalletForeignAssetsAssetIds;652 readonly who: AccountId32;653 readonly amount: u128;654 } & Struct;655 readonly isUnreserved: boolean;656 readonly asUnreserved: {657 readonly currencyId: PalletForeignAssetsAssetIds;658 readonly who: AccountId32;659 readonly amount: u128;660 } & Struct;661 readonly isReserveRepatriated: boolean;662 readonly asReserveRepatriated: {663 readonly currencyId: PalletForeignAssetsAssetIds;664 readonly from: AccountId32;665 readonly to: AccountId32;666 readonly amount: u128;667 readonly status: FrameSupportTokensMiscBalanceStatus;668 } & Struct;669 readonly isBalanceSet: boolean;670 readonly asBalanceSet: {671 readonly currencyId: PalletForeignAssetsAssetIds;672 readonly who: AccountId32;673 readonly free: u128;674 readonly reserved: u128;675 } & Struct;676 readonly isTotalIssuanceSet: boolean;677 readonly asTotalIssuanceSet: {678 readonly currencyId: PalletForeignAssetsAssetIds;679 readonly amount: u128;680 } & Struct;681 readonly isWithdrawn: boolean;682 readonly asWithdrawn: {683 readonly currencyId: PalletForeignAssetsAssetIds;684 readonly who: AccountId32;685 readonly amount: u128;686 } & Struct;687 readonly isSlashed: boolean;688 readonly asSlashed: {689 readonly currencyId: PalletForeignAssetsAssetIds;690 readonly who: AccountId32;691 readonly freeAmount: u128;692 readonly reservedAmount: u128;693 } & Struct;694 readonly isDeposited: boolean;695 readonly asDeposited: {696 readonly currencyId: PalletForeignAssetsAssetIds;697 readonly who: AccountId32;698 readonly amount: u128;699 } & Struct;700 readonly isLockSet: boolean;701 readonly asLockSet: {702 readonly lockId: U8aFixed;703 readonly currencyId: PalletForeignAssetsAssetIds;704 readonly who: AccountId32;705 readonly amount: u128;706 } & Struct;707 readonly isLockRemoved: boolean;708 readonly asLockRemoved: {709 readonly lockId: U8aFixed;710 readonly currencyId: PalletForeignAssetsAssetIds;711 readonly who: AccountId32;712 } & Struct;713 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';714 }715716 /** @name PalletForeignAssetsAssetIds (63) */717 interface PalletForeignAssetsAssetIds extends Enum {718 readonly isForeignAssetId: boolean;719 readonly asForeignAssetId: u32;720 readonly isNativeAssetId: boolean;721 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;722 readonly type: 'ForeignAssetId' | 'NativeAssetId';723 }724725 /** @name PalletForeignAssetsNativeCurrency (64) */726 interface PalletForeignAssetsNativeCurrency extends Enum {727 readonly isHere: boolean;728 readonly isParent: boolean;729 readonly type: 'Here' | 'Parent';730 }731732 /** @name CumulusPalletXcmpQueueEvent (65) */733 interface CumulusPalletXcmpQueueEvent extends Enum {734 readonly isSuccess: boolean;735 readonly asSuccess: {736 readonly messageHash: Option<H256>;737 readonly weight: SpWeightsWeightV2Weight;738 } & Struct;739 readonly isFail: boolean;740 readonly asFail: {741 readonly messageHash: Option<H256>;742 readonly error: XcmV2TraitsError;743 readonly weight: SpWeightsWeightV2Weight;744 } & Struct;745 readonly isBadVersion: boolean;746 readonly asBadVersion: {747 readonly messageHash: Option<H256>;748 } & Struct;749 readonly isBadFormat: boolean;750 readonly asBadFormat: {751 readonly messageHash: Option<H256>;752 } & Struct;753 readonly isUpwardMessageSent: boolean;754 readonly asUpwardMessageSent: {755 readonly messageHash: Option<H256>;756 } & Struct;757 readonly isXcmpMessageSent: boolean;758 readonly asXcmpMessageSent: {759 readonly messageHash: Option<H256>;760 } & Struct;761 readonly isOverweightEnqueued: boolean;762 readonly asOverweightEnqueued: {763 readonly sender: u32;764 readonly sentAt: u32;765 readonly index: u64;766 readonly required: SpWeightsWeightV2Weight;767 } & Struct;768 readonly isOverweightServiced: boolean;769 readonly asOverweightServiced: {770 readonly index: u64;771 readonly used: SpWeightsWeightV2Weight;772 } & Struct;773 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';774 }775776 /** @name XcmV2TraitsError (67) */777 interface XcmV2TraitsError extends Enum {778 readonly isOverflow: boolean;779 readonly isUnimplemented: boolean;780 readonly isUntrustedReserveLocation: boolean;781 readonly isUntrustedTeleportLocation: boolean;782 readonly isMultiLocationFull: boolean;783 readonly isMultiLocationNotInvertible: boolean;784 readonly isBadOrigin: boolean;785 readonly isInvalidLocation: boolean;786 readonly isAssetNotFound: boolean;787 readonly isFailedToTransactAsset: boolean;788 readonly isNotWithdrawable: boolean;789 readonly isLocationCannotHold: boolean;790 readonly isExceedsMaxMessageSize: boolean;791 readonly isDestinationUnsupported: boolean;792 readonly isTransport: boolean;793 readonly isUnroutable: boolean;794 readonly isUnknownClaim: boolean;795 readonly isFailedToDecode: boolean;796 readonly isMaxWeightInvalid: boolean;797 readonly isNotHoldingFees: boolean;798 readonly isTooExpensive: boolean;799 readonly isTrap: boolean;800 readonly asTrap: u64;801 readonly isUnhandledXcmVersion: boolean;802 readonly isWeightLimitReached: boolean;803 readonly asWeightLimitReached: u64;804 readonly isBarrier: boolean;805 readonly isWeightNotComputable: boolean;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';807 }808809 /** @name PalletXcmEvent (69) */810 interface PalletXcmEvent extends Enum {811 readonly isAttempted: boolean;812 readonly asAttempted: XcmV2TraitsOutcome;813 readonly isSent: boolean;814 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;815 readonly isUnexpectedResponse: boolean;816 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;817 readonly isResponseReady: boolean;818 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;819 readonly isNotified: boolean;820 readonly asNotified: ITuple<[u64, u8, u8]>;821 readonly isNotifyOverweight: boolean;822 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;823 readonly isNotifyDispatchError: boolean;824 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;825 readonly isNotifyDecodeFailed: boolean;826 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;827 readonly isInvalidResponder: boolean;828 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;829 readonly isInvalidResponderVersion: boolean;830 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;831 readonly isResponseTaken: boolean;832 readonly asResponseTaken: u64;833 readonly isAssetsTrapped: boolean;834 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;835 readonly isVersionChangeNotified: boolean;836 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;837 readonly isSupportedVersionChanged: boolean;838 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;839 readonly isNotifyTargetSendFail: boolean;840 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;841 readonly isNotifyTargetMigrationFail: boolean;842 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;843 readonly isAssetsClaimed: boolean;844 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;845 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';846 }847848 /** @name XcmV2TraitsOutcome (70) */849 interface XcmV2TraitsOutcome extends Enum {850 readonly isComplete: boolean;851 readonly asComplete: u64;852 readonly isIncomplete: boolean;853 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;854 readonly isError: boolean;855 readonly asError: XcmV2TraitsError;856 readonly type: 'Complete' | 'Incomplete' | 'Error';857 }858859 /** @name XcmV2Xcm (71) */860 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}861862 /** @name XcmV2Instruction (73) */863 interface XcmV2Instruction extends Enum {864 readonly isWithdrawAsset: boolean;865 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;866 readonly isReserveAssetDeposited: boolean;867 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;868 readonly isReceiveTeleportedAsset: boolean;869 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;870 readonly isQueryResponse: boolean;871 readonly asQueryResponse: {872 readonly queryId: Compact<u64>;873 readonly response: XcmV2Response;874 readonly maxWeight: Compact<u64>;875 } & Struct;876 readonly isTransferAsset: boolean;877 readonly asTransferAsset: {878 readonly assets: XcmV1MultiassetMultiAssets;879 readonly beneficiary: XcmV1MultiLocation;880 } & Struct;881 readonly isTransferReserveAsset: boolean;882 readonly asTransferReserveAsset: {883 readonly assets: XcmV1MultiassetMultiAssets;884 readonly dest: XcmV1MultiLocation;885 readonly xcm: XcmV2Xcm;886 } & Struct;887 readonly isTransact: boolean;888 readonly asTransact: {889 readonly originType: XcmV0OriginKind;890 readonly requireWeightAtMost: Compact<u64>;891 readonly call: XcmDoubleEncoded;892 } & Struct;893 readonly isHrmpNewChannelOpenRequest: boolean;894 readonly asHrmpNewChannelOpenRequest: {895 readonly sender: Compact<u32>;896 readonly maxMessageSize: Compact<u32>;897 readonly maxCapacity: Compact<u32>;898 } & Struct;899 readonly isHrmpChannelAccepted: boolean;900 readonly asHrmpChannelAccepted: {901 readonly recipient: Compact<u32>;902 } & Struct;903 readonly isHrmpChannelClosing: boolean;904 readonly asHrmpChannelClosing: {905 readonly initiator: Compact<u32>;906 readonly sender: Compact<u32>;907 readonly recipient: Compact<u32>;908 } & Struct;909 readonly isClearOrigin: boolean;910 readonly isDescendOrigin: boolean;911 readonly asDescendOrigin: XcmV1MultilocationJunctions;912 readonly isReportError: boolean;913 readonly asReportError: {914 readonly queryId: Compact<u64>;915 readonly dest: XcmV1MultiLocation;916 readonly maxResponseWeight: Compact<u64>;917 } & Struct;918 readonly isDepositAsset: boolean;919 readonly asDepositAsset: {920 readonly assets: XcmV1MultiassetMultiAssetFilter;921 readonly maxAssets: Compact<u32>;922 readonly beneficiary: XcmV1MultiLocation;923 } & Struct;924 readonly isDepositReserveAsset: boolean;925 readonly asDepositReserveAsset: {926 readonly assets: XcmV1MultiassetMultiAssetFilter;927 readonly maxAssets: Compact<u32>;928 readonly dest: XcmV1MultiLocation;929 readonly xcm: XcmV2Xcm;930 } & Struct;931 readonly isExchangeAsset: boolean;932 readonly asExchangeAsset: {933 readonly give: XcmV1MultiassetMultiAssetFilter;934 readonly receive: XcmV1MultiassetMultiAssets;935 } & Struct;936 readonly isInitiateReserveWithdraw: boolean;937 readonly asInitiateReserveWithdraw: {938 readonly assets: XcmV1MultiassetMultiAssetFilter;939 readonly reserve: XcmV1MultiLocation;940 readonly xcm: XcmV2Xcm;941 } & Struct;942 readonly isInitiateTeleport: boolean;943 readonly asInitiateTeleport: {944 readonly assets: XcmV1MultiassetMultiAssetFilter;945 readonly dest: XcmV1MultiLocation;946 readonly xcm: XcmV2Xcm;947 } & Struct;948 readonly isQueryHolding: boolean;949 readonly asQueryHolding: {950 readonly queryId: Compact<u64>;951 readonly dest: XcmV1MultiLocation;952 readonly assets: XcmV1MultiassetMultiAssetFilter;953 readonly maxResponseWeight: Compact<u64>;954 } & Struct;955 readonly isBuyExecution: boolean;956 readonly asBuyExecution: {957 readonly fees: XcmV1MultiAsset;958 readonly weightLimit: XcmV2WeightLimit;959 } & Struct;960 readonly isRefundSurplus: boolean;961 readonly isSetErrorHandler: boolean;962 readonly asSetErrorHandler: XcmV2Xcm;963 readonly isSetAppendix: boolean;964 readonly asSetAppendix: XcmV2Xcm;965 readonly isClearError: boolean;966 readonly isClaimAsset: boolean;967 readonly asClaimAsset: {968 readonly assets: XcmV1MultiassetMultiAssets;969 readonly ticket: XcmV1MultiLocation;970 } & Struct;971 readonly isTrap: boolean;972 readonly asTrap: Compact<u64>;973 readonly isSubscribeVersion: boolean;974 readonly asSubscribeVersion: {975 readonly queryId: Compact<u64>;976 readonly maxResponseWeight: Compact<u64>;977 } & Struct;978 readonly isUnsubscribeVersion: boolean;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';980 }981982 /** @name XcmV2Response (74) */983 interface XcmV2Response extends Enum {984 readonly isNull: boolean;985 readonly isAssets: boolean;986 readonly asAssets: XcmV1MultiassetMultiAssets;987 readonly isExecutionResult: boolean;988 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;989 readonly isVersion: boolean;990 readonly asVersion: u32;991 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';992 }993994 /** @name XcmV0OriginKind (77) */995 interface XcmV0OriginKind extends Enum {996 readonly isNative: boolean;997 readonly isSovereignAccount: boolean;998 readonly isSuperuser: boolean;999 readonly isXcm: boolean;1000 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';1001 }10021003 /** @name XcmDoubleEncoded (78) */1004 interface XcmDoubleEncoded extends Struct {1005 readonly encoded: Bytes;1006 }10071008 /** @name XcmV1MultiassetMultiAssetFilter (79) */1009 interface XcmV1MultiassetMultiAssetFilter extends Enum {1010 readonly isDefinite: boolean;1011 readonly asDefinite: XcmV1MultiassetMultiAssets;1012 readonly isWild: boolean;1013 readonly asWild: XcmV1MultiassetWildMultiAsset;1014 readonly type: 'Definite' | 'Wild';1015 }10161017 /** @name XcmV1MultiassetWildMultiAsset (80) */1018 interface XcmV1MultiassetWildMultiAsset extends Enum {1019 readonly isAll: boolean;1020 readonly isAllOf: boolean;1021 readonly asAllOf: {1022 readonly id: XcmV1MultiassetAssetId;1023 readonly fun: XcmV1MultiassetWildFungibility;1024 } & Struct;1025 readonly type: 'All' | 'AllOf';1026 }10271028 /** @name XcmV1MultiassetWildFungibility (81) */1029 interface XcmV1MultiassetWildFungibility extends Enum {1030 readonly isFungible: boolean;1031 readonly isNonFungible: boolean;1032 readonly type: 'Fungible' | 'NonFungible';1033 }10341035 /** @name XcmV2WeightLimit (82) */1036 interface XcmV2WeightLimit extends Enum {1037 readonly isUnlimited: boolean;1038 readonly isLimited: boolean;1039 readonly asLimited: Compact<u64>;1040 readonly type: 'Unlimited' | 'Limited';1041 }10421043 /** @name XcmVersionedMultiAssets (84) */1044 interface XcmVersionedMultiAssets extends Enum {1045 readonly isV0: boolean;1046 readonly asV0: Vec<XcmV0MultiAsset>;1047 readonly isV1: boolean;1048 readonly asV1: XcmV1MultiassetMultiAssets;1049 readonly type: 'V0' | 'V1';1050 }10511052 /** @name XcmV0MultiAsset (86) */1053 interface XcmV0MultiAsset extends Enum {1054 readonly isNone: boolean;1055 readonly isAll: boolean;1056 readonly isAllFungible: boolean;1057 readonly isAllNonFungible: boolean;1058 readonly isAllAbstractFungible: boolean;1059 readonly asAllAbstractFungible: {1060 readonly id: Bytes;1061 } & Struct;1062 readonly isAllAbstractNonFungible: boolean;1063 readonly asAllAbstractNonFungible: {1064 readonly class: Bytes;1065 } & Struct;1066 readonly isAllConcreteFungible: boolean;1067 readonly asAllConcreteFungible: {1068 readonly id: XcmV0MultiLocation;1069 } & Struct;1070 readonly isAllConcreteNonFungible: boolean;1071 readonly asAllConcreteNonFungible: {1072 readonly class: XcmV0MultiLocation;1073 } & Struct;1074 readonly isAbstractFungible: boolean;1075 readonly asAbstractFungible: {1076 readonly id: Bytes;1077 readonly amount: Compact<u128>;1078 } & Struct;1079 readonly isAbstractNonFungible: boolean;1080 readonly asAbstractNonFungible: {1081 readonly class: Bytes;1082 readonly instance: XcmV1MultiassetAssetInstance;1083 } & Struct;1084 readonly isConcreteFungible: boolean;1085 readonly asConcreteFungible: {1086 readonly id: XcmV0MultiLocation;1087 readonly amount: Compact<u128>;1088 } & Struct;1089 readonly isConcreteNonFungible: boolean;1090 readonly asConcreteNonFungible: {1091 readonly class: XcmV0MultiLocation;1092 readonly instance: XcmV1MultiassetAssetInstance;1093 } & Struct;1094 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';1095 }10961097 /** @name XcmV0MultiLocation (87) */1098 interface XcmV0MultiLocation extends Enum {1099 readonly isNull: boolean;1100 readonly isX1: boolean;1101 readonly asX1: XcmV0Junction;1102 readonly isX2: boolean;1103 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;1104 readonly isX3: boolean;1105 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1106 readonly isX4: boolean;1107 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1108 readonly isX5: boolean;1109 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1110 readonly isX6: boolean;1111 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1112 readonly isX7: boolean;1113 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1114 readonly isX8: boolean;1115 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1116 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1117 }11181119 /** @name XcmV0Junction (88) */1120 interface XcmV0Junction extends Enum {1121 readonly isParent: boolean;1122 readonly isParachain: boolean;1123 readonly asParachain: Compact<u32>;1124 readonly isAccountId32: boolean;1125 readonly asAccountId32: {1126 readonly network: XcmV0JunctionNetworkId;1127 readonly id: U8aFixed;1128 } & Struct;1129 readonly isAccountIndex64: boolean;1130 readonly asAccountIndex64: {1131 readonly network: XcmV0JunctionNetworkId;1132 readonly index: Compact<u64>;1133 } & Struct;1134 readonly isAccountKey20: boolean;1135 readonly asAccountKey20: {1136 readonly network: XcmV0JunctionNetworkId;1137 readonly key: U8aFixed;1138 } & Struct;1139 readonly isPalletInstance: boolean;1140 readonly asPalletInstance: u8;1141 readonly isGeneralIndex: boolean;1142 readonly asGeneralIndex: Compact<u128>;1143 readonly isGeneralKey: boolean;1144 readonly asGeneralKey: Bytes;1145 readonly isOnlyChild: boolean;1146 readonly isPlurality: boolean;1147 readonly asPlurality: {1148 readonly id: XcmV0JunctionBodyId;1149 readonly part: XcmV0JunctionBodyPart;1150 } & Struct;1151 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1152 }11531154 /** @name XcmVersionedMultiLocation (89) */1155 interface XcmVersionedMultiLocation extends Enum {1156 readonly isV0: boolean;1157 readonly asV0: XcmV0MultiLocation;1158 readonly isV1: boolean;1159 readonly asV1: XcmV1MultiLocation;1160 readonly type: 'V0' | 'V1';1161 }11621163 /** @name CumulusPalletXcmEvent (90) */1164 interface CumulusPalletXcmEvent extends Enum {1165 readonly isInvalidFormat: boolean;1166 readonly asInvalidFormat: U8aFixed;1167 readonly isUnsupportedVersion: boolean;1168 readonly asUnsupportedVersion: U8aFixed;1169 readonly isExecutedDownward: boolean;1170 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1171 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1172 }11731174 /** @name CumulusPalletDmpQueueEvent (91) */1175 interface CumulusPalletDmpQueueEvent extends Enum {1176 readonly isInvalidFormat: boolean;1177 readonly asInvalidFormat: {1178 readonly messageId: U8aFixed;1179 } & Struct;1180 readonly isUnsupportedVersion: boolean;1181 readonly asUnsupportedVersion: {1182 readonly messageId: U8aFixed;1183 } & Struct;1184 readonly isExecutedDownward: boolean;1185 readonly asExecutedDownward: {1186 readonly messageId: U8aFixed;1187 readonly outcome: XcmV2TraitsOutcome;1188 } & Struct;1189 readonly isWeightExhausted: boolean;1190 readonly asWeightExhausted: {1191 readonly messageId: U8aFixed;1192 readonly remainingWeight: SpWeightsWeightV2Weight;1193 readonly requiredWeight: SpWeightsWeightV2Weight;1194 } & Struct;1195 readonly isOverweightEnqueued: boolean;1196 readonly asOverweightEnqueued: {1197 readonly messageId: U8aFixed;1198 readonly overweightIndex: u64;1199 readonly requiredWeight: SpWeightsWeightV2Weight;1200 } & Struct;1201 readonly isOverweightServiced: boolean;1202 readonly asOverweightServiced: {1203 readonly overweightIndex: u64;1204 readonly weightUsed: SpWeightsWeightV2Weight;1205 } & Struct;1206 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';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 }12251226 /** @name PalletCommonEvent (95) */1227 interface PalletCommonEvent extends Enum {1228 readonly isCollectionCreated: boolean;1229 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1230 readonly isCollectionDestroyed: boolean;1231 readonly asCollectionDestroyed: u32;1232 readonly isItemCreated: boolean;1233 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1234 readonly isItemDestroyed: boolean;1235 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1236 readonly isTransfer: boolean;1237 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1238 readonly isApproved: boolean;1239 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1240 readonly isApprovedForAll: boolean;1241 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1242 readonly isCollectionPropertySet: boolean;1243 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1244 readonly isCollectionPropertyDeleted: boolean;1245 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1246 readonly isTokenPropertySet: boolean;1247 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1248 readonly isTokenPropertyDeleted: boolean;1249 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1250 readonly isPropertyPermissionSet: boolean;1251 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1252 readonly isAllowListAddressAdded: boolean;1253 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1254 readonly isAllowListAddressRemoved: boolean;1255 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1256 readonly isCollectionAdminAdded: boolean;1257 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1258 readonly isCollectionAdminRemoved: boolean;1259 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1260 readonly isCollectionLimitSet: boolean;1261 readonly asCollectionLimitSet: u32;1262 readonly isCollectionOwnerChanged: boolean;1263 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1264 readonly isCollectionPermissionSet: boolean;1265 readonly asCollectionPermissionSet: u32;1266 readonly isCollectionSponsorSet: boolean;1267 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1268 readonly isSponsorshipConfirmed: boolean;1269 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1270 readonly isCollectionSponsorRemoved: boolean;1271 readonly asCollectionSponsorRemoved: u32;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';1273 }12741275 /** @name PalletEvmAccountBasicCrossAccountIdRepr (98) */1276 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1277 readonly isSubstrate: boolean;1278 readonly asSubstrate: AccountId32;1279 readonly isEthereum: boolean;1280 readonly asEthereum: H160;1281 readonly type: 'Substrate' | 'Ethereum';1282 }12831284 /** @name PalletStructureEvent (102) */1285 interface PalletStructureEvent extends Enum {1286 readonly isExecuted: boolean;1287 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1288 readonly type: 'Executed';1289 }12901291 /** @name PalletRmrkCoreEvent (103) */1292 interface PalletRmrkCoreEvent extends Enum {1293 readonly isCollectionCreated: boolean;1294 readonly asCollectionCreated: {1295 readonly issuer: AccountId32;1296 readonly collectionId: u32;1297 } & Struct;1298 readonly isCollectionDestroyed: boolean;1299 readonly asCollectionDestroyed: {1300 readonly issuer: AccountId32;1301 readonly collectionId: u32;1302 } & Struct;1303 readonly isIssuerChanged: boolean;1304 readonly asIssuerChanged: {1305 readonly oldIssuer: AccountId32;1306 readonly newIssuer: AccountId32;1307 readonly collectionId: u32;1308 } & Struct;1309 readonly isCollectionLocked: boolean;1310 readonly asCollectionLocked: {1311 readonly issuer: AccountId32;1312 readonly collectionId: u32;1313 } & Struct;1314 readonly isNftMinted: boolean;1315 readonly asNftMinted: {1316 readonly owner: AccountId32;1317 readonly collectionId: u32;1318 readonly nftId: u32;1319 } & Struct;1320 readonly isNftBurned: boolean;1321 readonly asNftBurned: {1322 readonly owner: AccountId32;1323 readonly nftId: u32;1324 } & Struct;1325 readonly isNftSent: boolean;1326 readonly asNftSent: {1327 readonly sender: AccountId32;1328 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1329 readonly collectionId: u32;1330 readonly nftId: u32;1331 readonly approvalRequired: bool;1332 } & Struct;1333 readonly isNftAccepted: boolean;1334 readonly asNftAccepted: {1335 readonly sender: AccountId32;1336 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1337 readonly collectionId: u32;1338 readonly nftId: u32;1339 } & Struct;1340 readonly isNftRejected: boolean;1341 readonly asNftRejected: {1342 readonly sender: AccountId32;1343 readonly collectionId: u32;1344 readonly nftId: u32;1345 } & Struct;1346 readonly isPropertySet: boolean;1347 readonly asPropertySet: {1348 readonly collectionId: u32;1349 readonly maybeNftId: Option<u32>;1350 readonly key: Bytes;1351 readonly value: Bytes;1352 } & Struct;1353 readonly isResourceAdded: boolean;1354 readonly asResourceAdded: {1355 readonly nftId: u32;1356 readonly resourceId: u32;1357 } & Struct;1358 readonly isResourceRemoval: boolean;1359 readonly asResourceRemoval: {1360 readonly nftId: u32;1361 readonly resourceId: u32;1362 } & Struct;1363 readonly isResourceAccepted: boolean;1364 readonly asResourceAccepted: {1365 readonly nftId: u32;1366 readonly resourceId: u32;1367 } & Struct;1368 readonly isResourceRemovalAccepted: boolean;1369 readonly asResourceRemovalAccepted: {1370 readonly nftId: u32;1371 readonly resourceId: u32;1372 } & Struct;1373 readonly isPrioritySet: boolean;1374 readonly asPrioritySet: {1375 readonly collectionId: u32;1376 readonly nftId: u32;1377 } & Struct;1378 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1379 }13801381 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (104) */1382 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1383 readonly isAccountId: boolean;1384 readonly asAccountId: AccountId32;1385 readonly isCollectionAndNftTuple: boolean;1386 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1387 readonly type: 'AccountId' | 'CollectionAndNftTuple';1388 }13891390 /** @name PalletRmrkEquipEvent (107) */1391 interface PalletRmrkEquipEvent extends Enum {1392 readonly isBaseCreated: boolean;1393 readonly asBaseCreated: {1394 readonly issuer: AccountId32;1395 readonly baseId: u32;1396 } & Struct;1397 readonly isEquippablesUpdated: boolean;1398 readonly asEquippablesUpdated: {1399 readonly baseId: u32;1400 readonly slotId: u32;1401 } & Struct;1402 readonly type: 'BaseCreated' | 'EquippablesUpdated';1403 }14041405 /** @name PalletAppPromotionEvent (108) */1406 interface PalletAppPromotionEvent extends Enum {1407 readonly isStakingRecalculation: boolean;1408 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1409 readonly isStake: boolean;1410 readonly asStake: ITuple<[AccountId32, u128]>;1411 readonly isUnstake: boolean;1412 readonly asUnstake: ITuple<[AccountId32, u128]>;1413 readonly isSetAdmin: boolean;1414 readonly asSetAdmin: AccountId32;1415 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1416 }14171418 /** @name PalletForeignAssetsModuleEvent (109) */1419 interface PalletForeignAssetsModuleEvent extends Enum {1420 readonly isForeignAssetRegistered: boolean;1421 readonly asForeignAssetRegistered: {1422 readonly assetId: u32;1423 readonly assetAddress: XcmV1MultiLocation;1424 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1425 } & Struct;1426 readonly isForeignAssetUpdated: boolean;1427 readonly asForeignAssetUpdated: {1428 readonly assetId: u32;1429 readonly assetAddress: XcmV1MultiLocation;1430 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1431 } & Struct;1432 readonly isAssetRegistered: boolean;1433 readonly asAssetRegistered: {1434 readonly assetId: PalletForeignAssetsAssetIds;1435 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1436 } & Struct;1437 readonly isAssetUpdated: boolean;1438 readonly asAssetUpdated: {1439 readonly assetId: PalletForeignAssetsAssetIds;1440 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1441 } & Struct;1442 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1443 }14441445 /** @name PalletForeignAssetsModuleAssetMetadata (110) */1446 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1447 readonly name: Bytes;1448 readonly symbol: Bytes;1449 readonly decimals: u8;1450 readonly minimalBalance: u128;1451 }14521453 /** @name PalletEvmEvent (111) */1454 interface PalletEvmEvent extends Enum {1455 readonly isLog: boolean;1456 readonly asLog: {1457 readonly log: EthereumLog;1458 } & Struct;1459 readonly isCreated: boolean;1460 readonly asCreated: {1461 readonly address: H160;1462 } & Struct;1463 readonly isCreatedFailed: boolean;1464 readonly asCreatedFailed: {1465 readonly address: H160;1466 } & Struct;1467 readonly isExecuted: boolean;1468 readonly asExecuted: {1469 readonly address: H160;1470 } & Struct;1471 readonly isExecutedFailed: boolean;1472 readonly asExecutedFailed: {1473 readonly address: H160;1474 } & Struct;1475 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1476 }14771478 /** @name EthereumLog (112) */1479 interface EthereumLog extends Struct {1480 readonly address: H160;1481 readonly topics: Vec<H256>;1482 readonly data: Bytes;1483 }14841485 /** @name PalletEthereumEvent (114) */1486 interface PalletEthereumEvent extends Enum {1487 readonly isExecuted: boolean;1488 readonly asExecuted: {1489 readonly from: H160;1490 readonly to: H160;1491 readonly transactionHash: H256;1492 readonly exitReason: EvmCoreErrorExitReason;1493 } & Struct;1494 readonly type: 'Executed';1495 }14961497 /** @name EvmCoreErrorExitReason (115) */1498 interface EvmCoreErrorExitReason extends Enum {1499 readonly isSucceed: boolean;1500 readonly asSucceed: EvmCoreErrorExitSucceed;1501 readonly isError: boolean;1502 readonly asError: EvmCoreErrorExitError;1503 readonly isRevert: boolean;1504 readonly asRevert: EvmCoreErrorExitRevert;1505 readonly isFatal: boolean;1506 readonly asFatal: EvmCoreErrorExitFatal;1507 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1508 }15091510 /** @name EvmCoreErrorExitSucceed (116) */1511 interface EvmCoreErrorExitSucceed extends Enum {1512 readonly isStopped: boolean;1513 readonly isReturned: boolean;1514 readonly isSuicided: boolean;1515 readonly type: 'Stopped' | 'Returned' | 'Suicided';1516 }15171518 /** @name EvmCoreErrorExitError (117) */1519 interface EvmCoreErrorExitError extends Enum {1520 readonly isStackUnderflow: boolean;1521 readonly isStackOverflow: boolean;1522 readonly isInvalidJump: boolean;1523 readonly isInvalidRange: boolean;1524 readonly isDesignatedInvalid: boolean;1525 readonly isCallTooDeep: boolean;1526 readonly isCreateCollision: boolean;1527 readonly isCreateContractLimit: boolean;1528 readonly isOutOfOffset: boolean;1529 readonly isOutOfGas: boolean;1530 readonly isOutOfFund: boolean;1531 readonly isPcUnderflow: boolean;1532 readonly isCreateEmpty: boolean;1533 readonly isOther: boolean;1534 readonly asOther: Text;1535 readonly isInvalidCode: boolean;1536 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1537 }15381539 /** @name EvmCoreErrorExitRevert (120) */1540 interface EvmCoreErrorExitRevert extends Enum {1541 readonly isReverted: boolean;1542 readonly type: 'Reverted';1543 }15441545 /** @name EvmCoreErrorExitFatal (121) */1546 interface EvmCoreErrorExitFatal extends Enum {1547 readonly isNotSupported: boolean;1548 readonly isUnhandledInterrupt: boolean;1549 readonly isCallErrorAsFatal: boolean;1550 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1551 readonly isOther: boolean;1552 readonly asOther: Text;1553 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1554 }15551556 /** @name PalletEvmContractHelpersEvent (122) */1557 interface PalletEvmContractHelpersEvent extends Enum {1558 readonly isContractSponsorSet: boolean;1559 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1560 readonly isContractSponsorshipConfirmed: boolean;1561 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1562 readonly isContractSponsorRemoved: boolean;1563 readonly asContractSponsorRemoved: H160;1564 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1565 }15661567 /** @name PalletDataManagementEvent (123) */1568 interface PalletDataManagementEvent extends Enum {1569 readonly isTestEvent: boolean;1570 readonly type: 'TestEvent';1571 }15721573 /** @name PalletMaintenanceEvent (124) */1574 interface PalletMaintenanceEvent extends Enum {1575 readonly isMaintenanceEnabled: boolean;1576 readonly isMaintenanceDisabled: boolean;1577 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1578 }15791580 /** @name PalletTestUtilsEvent (125) */1581 interface PalletTestUtilsEvent extends Enum {1582 readonly isValueIsSet: boolean;1583 readonly isShouldRollback: boolean;1584 readonly isBatchCompleted: boolean;1585 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1586 }15871588 /** @name FrameSystemPhase (126) */1589 interface FrameSystemPhase extends Enum {1590 readonly isApplyExtrinsic: boolean;1591 readonly asApplyExtrinsic: u32;1592 readonly isFinalization: boolean;1593 readonly isInitialization: boolean;1594 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1595 }15961597 /** @name FrameSystemLastRuntimeUpgradeInfo (129) */1598 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1599 readonly specVersion: Compact<u32>;1600 readonly specName: Text;1601 }16021603 /** @name FrameSystemCall (130) */1604 interface FrameSystemCall extends Enum {1605 readonly isRemark: boolean;1606 readonly asRemark: {1607 readonly remark: Bytes;1608 } & Struct;1609 readonly isSetHeapPages: boolean;1610 readonly asSetHeapPages: {1611 readonly pages: u64;1612 } & Struct;1613 readonly isSetCode: boolean;1614 readonly asSetCode: {1615 readonly code: Bytes;1616 } & Struct;1617 readonly isSetCodeWithoutChecks: boolean;1618 readonly asSetCodeWithoutChecks: {1619 readonly code: Bytes;1620 } & Struct;1621 readonly isSetStorage: boolean;1622 readonly asSetStorage: {1623 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1624 } & Struct;1625 readonly isKillStorage: boolean;1626 readonly asKillStorage: {1627 readonly keys_: Vec<Bytes>;1628 } & Struct;1629 readonly isKillPrefix: boolean;1630 readonly asKillPrefix: {1631 readonly prefix: Bytes;1632 readonly subkeys: u32;1633 } & Struct;1634 readonly isRemarkWithEvent: boolean;1635 readonly asRemarkWithEvent: {1636 readonly remark: Bytes;1637 } & Struct;1638 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1639 }16401641 /** @name FrameSystemLimitsBlockWeights (134) */1642 interface FrameSystemLimitsBlockWeights extends Struct {1643 readonly baseBlock: SpWeightsWeightV2Weight;1644 readonly maxBlock: SpWeightsWeightV2Weight;1645 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1646 }16471648 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (135) */1649 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1650 readonly normal: FrameSystemLimitsWeightsPerClass;1651 readonly operational: FrameSystemLimitsWeightsPerClass;1652 readonly mandatory: FrameSystemLimitsWeightsPerClass;1653 }16541655 /** @name FrameSystemLimitsWeightsPerClass (136) */1656 interface FrameSystemLimitsWeightsPerClass extends Struct {1657 readonly baseExtrinsic: SpWeightsWeightV2Weight;1658 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1659 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1660 readonly reserved: Option<SpWeightsWeightV2Weight>;1661 }16621663 /** @name FrameSystemLimitsBlockLength (138) */1664 interface FrameSystemLimitsBlockLength extends Struct {1665 readonly max: FrameSupportDispatchPerDispatchClassU32;1666 }16671668 /** @name FrameSupportDispatchPerDispatchClassU32 (139) */1669 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1670 readonly normal: u32;1671 readonly operational: u32;1672 readonly mandatory: u32;1673 }16741675 /** @name SpWeightsRuntimeDbWeight (140) */1676 interface SpWeightsRuntimeDbWeight extends Struct {1677 readonly read: u64;1678 readonly write: u64;1679 }16801681 /** @name SpVersionRuntimeVersion (141) */1682 interface SpVersionRuntimeVersion extends Struct {1683 readonly specName: Text;1684 readonly implName: Text;1685 readonly authoringVersion: u32;1686 readonly specVersion: u32;1687 readonly implVersion: u32;1688 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1689 readonly transactionVersion: u32;1690 readonly stateVersion: u8;1691 }16921693 /** @name FrameSystemError (146) */1694 interface FrameSystemError extends Enum {1695 readonly isInvalidSpecName: boolean;1696 readonly isSpecVersionNeedsToIncrease: boolean;1697 readonly isFailedToExtractRuntimeVersion: boolean;1698 readonly isNonDefaultComposite: boolean;1699 readonly isNonZeroRefCount: boolean;1700 readonly isCallFiltered: boolean;1701 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1702 }17031704 /** @name PolkadotPrimitivesV2PersistedValidationData (147) */1705 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1706 readonly parentHead: Bytes;1707 readonly relayParentNumber: u32;1708 readonly relayParentStorageRoot: H256;1709 readonly maxPovSize: u32;1710 }17111712 /** @name PolkadotPrimitivesV2UpgradeRestriction (150) */1713 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1714 readonly isPresent: boolean;1715 readonly type: 'Present';1716 }17171718 /** @name SpTrieStorageProof (151) */1719 interface SpTrieStorageProof extends Struct {1720 readonly trieNodes: BTreeSet<Bytes>;1721 }17221723 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (153) */1724 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1725 readonly dmqMqcHead: H256;1726 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1727 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1728 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1729 }17301731 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (156) */1732 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1733 readonly maxCapacity: u32;1734 readonly maxTotalSize: u32;1735 readonly maxMessageSize: u32;1736 readonly msgCount: u32;1737 readonly totalSize: u32;1738 readonly mqcHead: Option<H256>;1739 }17401741 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (157) */1742 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1743 readonly maxCodeSize: u32;1744 readonly maxHeadDataSize: u32;1745 readonly maxUpwardQueueCount: u32;1746 readonly maxUpwardQueueSize: u32;1747 readonly maxUpwardMessageSize: u32;1748 readonly maxUpwardMessageNumPerCandidate: u32;1749 readonly hrmpMaxMessageNumPerCandidate: u32;1750 readonly validationUpgradeCooldown: u32;1751 readonly validationUpgradeDelay: u32;1752 }17531754 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (163) */1755 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1756 readonly recipient: u32;1757 readonly data: Bytes;1758 }17591760 /** @name CumulusPalletParachainSystemCall (164) */1761 interface CumulusPalletParachainSystemCall extends Enum {1762 readonly isSetValidationData: boolean;1763 readonly asSetValidationData: {1764 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1765 } & Struct;1766 readonly isSudoSendUpwardMessage: boolean;1767 readonly asSudoSendUpwardMessage: {1768 readonly message: Bytes;1769 } & Struct;1770 readonly isAuthorizeUpgrade: boolean;1771 readonly asAuthorizeUpgrade: {1772 readonly codeHash: H256;1773 } & Struct;1774 readonly isEnactAuthorizedUpgrade: boolean;1775 readonly asEnactAuthorizedUpgrade: {1776 readonly code: Bytes;1777 } & Struct;1778 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1779 }17801781 /** @name CumulusPrimitivesParachainInherentParachainInherentData (165) */1782 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1783 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1784 readonly relayChainState: SpTrieStorageProof;1785 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1786 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1787 }17881789 /** @name PolkadotCorePrimitivesInboundDownwardMessage (167) */1790 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1791 readonly sentAt: u32;1792 readonly msg: Bytes;1793 }17941795 /** @name PolkadotCorePrimitivesInboundHrmpMessage (170) */1796 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1797 readonly sentAt: u32;1798 readonly data: Bytes;1799 }18001801 /** @name CumulusPalletParachainSystemError (173) */1802 interface CumulusPalletParachainSystemError extends Enum {1803 readonly isOverlappingUpgrades: boolean;1804 readonly isProhibitedByPolkadot: boolean;1805 readonly isTooBig: boolean;1806 readonly isValidationDataNotAvailable: boolean;1807 readonly isHostConfigurationNotAvailable: boolean;1808 readonly isNotScheduled: boolean;1809 readonly isNothingAuthorized: boolean;1810 readonly isUnauthorized: boolean;1811 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1812 }18131814 /** @name PalletAuthorshipUncleEntryItem (175) */1815 interface PalletAuthorshipUncleEntryItem extends Enum {1816 readonly isInclusionHeight: boolean;1817 readonly asInclusionHeight: u32;1818 readonly isUncle: boolean;1819 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1820 readonly type: 'InclusionHeight' | 'Uncle';1821 }18221823 /** @name PalletAuthorshipCall (177) */1824 interface PalletAuthorshipCall extends Enum {1825 readonly isSetUncles: boolean;1826 readonly asSetUncles: {1827 readonly newUncles: Vec<SpRuntimeHeader>;1828 } & Struct;1829 readonly type: 'SetUncles';1830 }18311832 /** @name SpRuntimeHeader (179) */1833 interface SpRuntimeHeader extends Struct {1834 readonly parentHash: H256;1835 readonly number: Compact<u32>;1836 readonly stateRoot: H256;1837 readonly extrinsicsRoot: H256;1838 readonly digest: SpRuntimeDigest;1839 }18401841 /** @name SpRuntimeBlakeTwo256 (180) */1842 type SpRuntimeBlakeTwo256 = Null;18431844 /** @name PalletAuthorshipError (181) */1845 interface PalletAuthorshipError extends Enum {1846 readonly isInvalidUncleParent: boolean;1847 readonly isUnclesAlreadySet: boolean;1848 readonly isTooManyUncles: boolean;1849 readonly isGenesisUncle: boolean;1850 readonly isTooHighUncle: boolean;1851 readonly isUncleAlreadyIncluded: boolean;1852 readonly isOldUncle: boolean;1853 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1854 }18551856 /** @name PalletCollatorSelectionCall (184) */1857 interface PalletCollatorSelectionCall extends Enum {1858 readonly isAddInvulnerable: boolean;1859 readonly asAddInvulnerable: {1860 readonly new_: AccountId32;1861 } & Struct;1862 readonly isRemoveInvulnerable: boolean;1863 readonly asRemoveInvulnerable: {1864 readonly who: AccountId32;1865 } & Struct;1866 readonly isGetLicense: boolean;1867 readonly isOnboard: boolean;1868 readonly isOffboard: boolean;1869 readonly isReleaseLicense: boolean;1870 readonly isForceReleaseLicense: boolean;1871 readonly asForceReleaseLicense: {1872 readonly who: AccountId32;1873 } & Struct;1874 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';1875 }18761877 /** @name PalletCollatorSelectionError (185) */1878 interface PalletCollatorSelectionError extends Enum {1879 readonly isTooManyCandidates: boolean;1880 readonly isUnknown: boolean;1881 readonly isPermission: boolean;1882 readonly isAlreadyHoldingLicense: boolean;1883 readonly isNoLicense: boolean;1884 readonly isAlreadyCandidate: boolean;1885 readonly isNotCandidate: boolean;1886 readonly isTooManyInvulnerables: boolean;1887 readonly isTooFewInvulnerables: boolean;1888 readonly isAlreadyInvulnerable: boolean;1889 readonly isNotInvulnerable: boolean;1890 readonly isNoAssociatedValidatorId: boolean;1891 readonly isValidatorNotRegistered: boolean;1892 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1893 }18941895 /** @name OpalRuntimeRuntimeCommonSessionKeys (188) */1896 interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {1897 readonly aura: SpConsensusAuraSr25519AppSr25519Public;1898 }18991900 /** @name SpConsensusAuraSr25519AppSr25519Public (189) */1901 interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}19021903 /** @name SpCoreSr25519Public (190) */1904 interface SpCoreSr25519Public extends U8aFixed {}19051906 /** @name SpCoreCryptoKeyTypeId (193) */1907 interface SpCoreCryptoKeyTypeId extends U8aFixed {}19081909 /** @name PalletSessionCall (194) */1910 interface PalletSessionCall extends Enum {1911 readonly isSetKeys: boolean;1912 readonly asSetKeys: {1913 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;1914 readonly proof: Bytes;1915 } & Struct;1916 readonly isPurgeKeys: boolean;1917 readonly type: 'SetKeys' | 'PurgeKeys';1918 }19191920 /** @name PalletSessionError (195) */1921 interface PalletSessionError extends Enum {1922 readonly isInvalidProof: boolean;1923 readonly isNoAssociatedValidatorId: boolean;1924 readonly isDuplicatedKey: boolean;1925 readonly isNoKeys: boolean;1926 readonly isNoAccount: boolean;1927 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';1928 }19291930 /** @name PalletIdentityRegistration (196) */1931 interface PalletIdentityRegistration extends Struct {1932 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1933 readonly deposit: u128;1934 readonly info: PalletIdentityIdentityInfo;1935 }19361937 /** @name PalletIdentityJudgement (199) */1938 interface PalletIdentityJudgement extends Enum {1939 readonly isUnknown: boolean;1940 readonly isFeePaid: boolean;1941 readonly asFeePaid: u128;1942 readonly isReasonable: boolean;1943 readonly isKnownGood: boolean;1944 readonly isOutOfDate: boolean;1945 readonly isLowQuality: boolean;1946 readonly isErroneous: boolean;1947 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1948 }19491950 /** @name PalletIdentityIdentityInfo (201) */1951 interface PalletIdentityIdentityInfo extends Struct {1952 readonly additional: Vec<ITuple<[Data, Data]>>;1953 readonly display: Data;1954 readonly legal: Data;1955 readonly web: Data;1956 readonly riot: Data;1957 readonly email: Data;1958 readonly pgpFingerprint: Option<U8aFixed>;1959 readonly image: Data;1960 readonly twitter: Data;1961 }19621963 /** @name PalletIdentityRegistrarInfo (240) */1964 interface PalletIdentityRegistrarInfo extends Struct {1965 readonly account: AccountId32;1966 readonly fee: u128;1967 readonly fields: PalletIdentityBitFlags;1968 }19691970 /** @name PalletIdentityBitFlags (241) */1971 interface PalletIdentityBitFlags extends Set {1972 readonly isDisplay: boolean;1973 readonly isLegal: boolean;1974 readonly isWeb: boolean;1975 readonly isRiot: boolean;1976 readonly isEmail: boolean;1977 readonly isPgpFingerprint: boolean;1978 readonly isImage: boolean;1979 readonly isTwitter: boolean;1980 }19811982 /** @name PalletIdentityIdentityField (242) */1983 interface PalletIdentityIdentityField extends Enum {1984 readonly isDisplay: boolean;1985 readonly isLegal: boolean;1986 readonly isWeb: boolean;1987 readonly isRiot: boolean;1988 readonly isEmail: boolean;1989 readonly isPgpFingerprint: boolean;1990 readonly isImage: boolean;1991 readonly isTwitter: boolean;1992 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1993 }19941995 /** @name PalletIdentityCall (244) */1996 interface PalletIdentityCall extends Enum {1997 readonly isAddRegistrar: boolean;1998 readonly asAddRegistrar: {1999 readonly account: MultiAddress;2000 } & Struct;2001 readonly isSetIdentity: boolean;2002 readonly asSetIdentity: {2003 readonly info: PalletIdentityIdentityInfo;2004 } & Struct;2005 readonly isSetSubs: boolean;2006 readonly asSetSubs: {2007 readonly subs: Vec<ITuple<[AccountId32, Data]>>;2008 } & Struct;2009 readonly isClearIdentity: boolean;2010 readonly isRequestJudgement: boolean;2011 readonly asRequestJudgement: {2012 readonly regIndex: Compact<u32>;2013 readonly maxFee: Compact<u128>;2014 } & Struct;2015 readonly isCancelRequest: boolean;2016 readonly asCancelRequest: {2017 readonly regIndex: u32;2018 } & Struct;2019 readonly isSetFee: boolean;2020 readonly asSetFee: {2021 readonly index: Compact<u32>;2022 readonly fee: Compact<u128>;2023 } & Struct;2024 readonly isSetAccountId: boolean;2025 readonly asSetAccountId: {2026 readonly index: Compact<u32>;2027 readonly new_: MultiAddress;2028 } & Struct;2029 readonly isSetFields: boolean;2030 readonly asSetFields: {2031 readonly index: Compact<u32>;2032 readonly fields: PalletIdentityBitFlags;2033 } & Struct;2034 readonly isProvideJudgement: boolean;2035 readonly asProvideJudgement: {2036 readonly regIndex: Compact<u32>;2037 readonly target: MultiAddress;2038 readonly judgement: PalletIdentityJudgement;2039 readonly identity: H256;2040 } & Struct;2041 readonly isKillIdentity: boolean;2042 readonly asKillIdentity: {2043 readonly target: MultiAddress;2044 } & Struct;2045 readonly isAddSub: boolean;2046 readonly asAddSub: {2047 readonly sub: MultiAddress;2048 readonly data: Data;2049 } & Struct;2050 readonly isRenameSub: boolean;2051 readonly asRenameSub: {2052 readonly sub: MultiAddress;2053 readonly data: Data;2054 } & Struct;2055 readonly isRemoveSub: boolean;2056 readonly asRemoveSub: {2057 readonly sub: MultiAddress;2058 } & Struct;2059 readonly isQuitSub: boolean;2060 readonly isSetIdentities: boolean;2061 readonly asSetIdentities: {2062 readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;2063 } & Struct;2064 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';2065 }20662067 /** @name PalletIdentityError (251) */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 }20892090 /** @name PalletBalancesBalanceLock (253) */2091 interface PalletBalancesBalanceLock extends Struct {2092 readonly id: U8aFixed;2093 readonly amount: u128;2094 readonly reasons: PalletBalancesReasons;2095 }20962097 /** @name PalletBalancesReasons (254) */2098 interface PalletBalancesReasons extends Enum {2099 readonly isFee: boolean;2100 readonly isMisc: boolean;2101 readonly isAll: boolean;2102 readonly type: 'Fee' | 'Misc' | 'All';2103 }21042105 /** @name PalletBalancesReserveData (257) */2106 interface PalletBalancesReserveData extends Struct {2107 readonly id: U8aFixed;2108 readonly amount: u128;2109 }21102111 /** @name PalletBalancesCall (259) */2112 interface PalletBalancesCall extends Enum {2113 readonly isTransfer: boolean;2114 readonly asTransfer: {2115 readonly dest: MultiAddress;2116 readonly value: Compact<u128>;2117 } & Struct;2118 readonly isSetBalance: boolean;2119 readonly asSetBalance: {2120 readonly who: MultiAddress;2121 readonly newFree: Compact<u128>;2122 readonly newReserved: Compact<u128>;2123 } & Struct;2124 readonly isForceTransfer: boolean;2125 readonly asForceTransfer: {2126 readonly source: MultiAddress;2127 readonly dest: MultiAddress;2128 readonly value: Compact<u128>;2129 } & Struct;2130 readonly isTransferKeepAlive: boolean;2131 readonly asTransferKeepAlive: {2132 readonly dest: MultiAddress;2133 readonly value: Compact<u128>;2134 } & Struct;2135 readonly isTransferAll: boolean;2136 readonly asTransferAll: {2137 readonly dest: MultiAddress;2138 readonly keepAlive: bool;2139 } & Struct;2140 readonly isForceUnreserve: boolean;2141 readonly asForceUnreserve: {2142 readonly who: MultiAddress;2143 readonly amount: u128;2144 } & Struct;2145 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2146 }21472148 /** @name PalletBalancesError (260) */2149 interface PalletBalancesError extends Enum {2150 readonly isVestingBalance: boolean;2151 readonly isLiquidityRestrictions: boolean;2152 readonly isInsufficientBalance: boolean;2153 readonly isExistentialDeposit: boolean;2154 readonly isKeepAlive: boolean;2155 readonly isExistingVestingSchedule: boolean;2156 readonly isDeadAccount: boolean;2157 readonly isTooManyReserves: boolean;2158 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';2159 }21602161 /** @name PalletTimestampCall (262) */2162 interface PalletTimestampCall extends Enum {2163 readonly isSet: boolean;2164 readonly asSet: {2165 readonly now: Compact<u64>;2166 } & Struct;2167 readonly type: 'Set';2168 }21692170 /** @name PalletTransactionPaymentReleases (264) */2171 interface PalletTransactionPaymentReleases extends Enum {2172 readonly isV1Ancient: boolean;2173 readonly isV2: boolean;2174 readonly type: 'V1Ancient' | 'V2';2175 }21762177 /** @name PalletTreasuryProposal (265) */2178 interface PalletTreasuryProposal extends Struct {2179 readonly proposer: AccountId32;2180 readonly value: u128;2181 readonly beneficiary: AccountId32;2182 readonly bond: u128;2183 }21842185 /** @name PalletTreasuryCall (267) */2186 interface PalletTreasuryCall extends Enum {2187 readonly isProposeSpend: boolean;2188 readonly asProposeSpend: {2189 readonly value: Compact<u128>;2190 readonly beneficiary: MultiAddress;2191 } & Struct;2192 readonly isRejectProposal: boolean;2193 readonly asRejectProposal: {2194 readonly proposalId: Compact<u32>;2195 } & Struct;2196 readonly isApproveProposal: boolean;2197 readonly asApproveProposal: {2198 readonly proposalId: Compact<u32>;2199 } & Struct;2200 readonly isSpend: boolean;2201 readonly asSpend: {2202 readonly amount: Compact<u128>;2203 readonly beneficiary: MultiAddress;2204 } & Struct;2205 readonly isRemoveApproval: boolean;2206 readonly asRemoveApproval: {2207 readonly proposalId: Compact<u32>;2208 } & Struct;2209 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2210 }22112212 /** @name FrameSupportPalletId (269) */2213 interface FrameSupportPalletId extends U8aFixed {}22142215 /** @name PalletTreasuryError (270) */2216 interface PalletTreasuryError extends Enum {2217 readonly isInsufficientProposersBalance: boolean;2218 readonly isInvalidIndex: boolean;2219 readonly isTooManyApprovals: boolean;2220 readonly isInsufficientPermission: boolean;2221 readonly isProposalNotApproved: boolean;2222 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2223 }22242225 /** @name PalletSudoCall (271) */2226 interface PalletSudoCall extends Enum {2227 readonly isSudo: boolean;2228 readonly asSudo: {2229 readonly call: Call;2230 } & Struct;2231 readonly isSudoUncheckedWeight: boolean;2232 readonly asSudoUncheckedWeight: {2233 readonly call: Call;2234 readonly weight: SpWeightsWeightV2Weight;2235 } & Struct;2236 readonly isSetKey: boolean;2237 readonly asSetKey: {2238 readonly new_: MultiAddress;2239 } & Struct;2240 readonly isSudoAs: boolean;2241 readonly asSudoAs: {2242 readonly who: MultiAddress;2243 readonly call: Call;2244 } & Struct;2245 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2246 }22472248 /** @name OrmlVestingModuleCall (273) */2249 interface OrmlVestingModuleCall extends Enum {2250 readonly isClaim: boolean;2251 readonly isVestedTransfer: boolean;2252 readonly asVestedTransfer: {2253 readonly dest: MultiAddress;2254 readonly schedule: OrmlVestingVestingSchedule;2255 } & Struct;2256 readonly isUpdateVestingSchedules: boolean;2257 readonly asUpdateVestingSchedules: {2258 readonly who: MultiAddress;2259 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;2260 } & Struct;2261 readonly isClaimFor: boolean;2262 readonly asClaimFor: {2263 readonly dest: MultiAddress;2264 } & Struct;2265 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2266 }22672268 /** @name OrmlXtokensModuleCall (275) */2269 interface OrmlXtokensModuleCall extends Enum {2270 readonly isTransfer: boolean;2271 readonly asTransfer: {2272 readonly currencyId: PalletForeignAssetsAssetIds;2273 readonly amount: u128;2274 readonly dest: XcmVersionedMultiLocation;2275 readonly destWeightLimit: XcmV2WeightLimit;2276 } & Struct;2277 readonly isTransferMultiasset: boolean;2278 readonly asTransferMultiasset: {2279 readonly asset: XcmVersionedMultiAsset;2280 readonly dest: XcmVersionedMultiLocation;2281 readonly destWeightLimit: XcmV2WeightLimit;2282 } & Struct;2283 readonly isTransferWithFee: boolean;2284 readonly asTransferWithFee: {2285 readonly currencyId: PalletForeignAssetsAssetIds;2286 readonly amount: u128;2287 readonly fee: u128;2288 readonly dest: XcmVersionedMultiLocation;2289 readonly destWeightLimit: XcmV2WeightLimit;2290 } & Struct;2291 readonly isTransferMultiassetWithFee: boolean;2292 readonly asTransferMultiassetWithFee: {2293 readonly asset: XcmVersionedMultiAsset;2294 readonly fee: XcmVersionedMultiAsset;2295 readonly dest: XcmVersionedMultiLocation;2296 readonly destWeightLimit: XcmV2WeightLimit;2297 } & Struct;2298 readonly isTransferMulticurrencies: boolean;2299 readonly asTransferMulticurrencies: {2300 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;2301 readonly feeItem: u32;2302 readonly dest: XcmVersionedMultiLocation;2303 readonly destWeightLimit: XcmV2WeightLimit;2304 } & Struct;2305 readonly isTransferMultiassets: boolean;2306 readonly asTransferMultiassets: {2307 readonly assets: XcmVersionedMultiAssets;2308 readonly feeItem: u32;2309 readonly dest: XcmVersionedMultiLocation;2310 readonly destWeightLimit: XcmV2WeightLimit;2311 } & Struct;2312 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2313 }23142315 /** @name XcmVersionedMultiAsset (276) */2316 interface XcmVersionedMultiAsset extends Enum {2317 readonly isV0: boolean;2318 readonly asV0: XcmV0MultiAsset;2319 readonly isV1: boolean;2320 readonly asV1: XcmV1MultiAsset;2321 readonly type: 'V0' | 'V1';2322 }23232324 /** @name OrmlTokensModuleCall (279) */2325 interface OrmlTokensModuleCall extends Enum {2326 readonly isTransfer: boolean;2327 readonly asTransfer: {2328 readonly dest: MultiAddress;2329 readonly currencyId: PalletForeignAssetsAssetIds;2330 readonly amount: Compact<u128>;2331 } & Struct;2332 readonly isTransferAll: boolean;2333 readonly asTransferAll: {2334 readonly dest: MultiAddress;2335 readonly currencyId: PalletForeignAssetsAssetIds;2336 readonly keepAlive: bool;2337 } & Struct;2338 readonly isTransferKeepAlive: boolean;2339 readonly asTransferKeepAlive: {2340 readonly dest: MultiAddress;2341 readonly currencyId: PalletForeignAssetsAssetIds;2342 readonly amount: Compact<u128>;2343 } & Struct;2344 readonly isForceTransfer: boolean;2345 readonly asForceTransfer: {2346 readonly source: MultiAddress;2347 readonly dest: MultiAddress;2348 readonly currencyId: PalletForeignAssetsAssetIds;2349 readonly amount: Compact<u128>;2350 } & Struct;2351 readonly isSetBalance: boolean;2352 readonly asSetBalance: {2353 readonly who: MultiAddress;2354 readonly currencyId: PalletForeignAssetsAssetIds;2355 readonly newFree: Compact<u128>;2356 readonly newReserved: Compact<u128>;2357 } & Struct;2358 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2359 }23602361 /** @name CumulusPalletXcmpQueueCall (280) */2362 interface CumulusPalletXcmpQueueCall extends Enum {2363 readonly isServiceOverweight: boolean;2364 readonly asServiceOverweight: {2365 readonly index: u64;2366 readonly weightLimit: u64;2367 } & Struct;2368 readonly isSuspendXcmExecution: boolean;2369 readonly isResumeXcmExecution: boolean;2370 readonly isUpdateSuspendThreshold: boolean;2371 readonly asUpdateSuspendThreshold: {2372 readonly new_: u32;2373 } & Struct;2374 readonly isUpdateDropThreshold: boolean;2375 readonly asUpdateDropThreshold: {2376 readonly new_: u32;2377 } & Struct;2378 readonly isUpdateResumeThreshold: boolean;2379 readonly asUpdateResumeThreshold: {2380 readonly new_: u32;2381 } & Struct;2382 readonly isUpdateThresholdWeight: boolean;2383 readonly asUpdateThresholdWeight: {2384 readonly new_: u64;2385 } & Struct;2386 readonly isUpdateWeightRestrictDecay: boolean;2387 readonly asUpdateWeightRestrictDecay: {2388 readonly new_: u64;2389 } & Struct;2390 readonly isUpdateXcmpMaxIndividualWeight: boolean;2391 readonly asUpdateXcmpMaxIndividualWeight: {2392 readonly new_: u64;2393 } & Struct;2394 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2395 }23962397 /** @name PalletXcmCall (281) */2398 interface PalletXcmCall extends Enum {2399 readonly isSend: boolean;2400 readonly asSend: {2401 readonly dest: XcmVersionedMultiLocation;2402 readonly message: XcmVersionedXcm;2403 } & Struct;2404 readonly isTeleportAssets: boolean;2405 readonly asTeleportAssets: {2406 readonly dest: XcmVersionedMultiLocation;2407 readonly beneficiary: XcmVersionedMultiLocation;2408 readonly assets: XcmVersionedMultiAssets;2409 readonly feeAssetItem: u32;2410 } & Struct;2411 readonly isReserveTransferAssets: boolean;2412 readonly asReserveTransferAssets: {2413 readonly dest: XcmVersionedMultiLocation;2414 readonly beneficiary: XcmVersionedMultiLocation;2415 readonly assets: XcmVersionedMultiAssets;2416 readonly feeAssetItem: u32;2417 } & Struct;2418 readonly isExecute: boolean;2419 readonly asExecute: {2420 readonly message: XcmVersionedXcm;2421 readonly maxWeight: u64;2422 } & Struct;2423 readonly isForceXcmVersion: boolean;2424 readonly asForceXcmVersion: {2425 readonly location: XcmV1MultiLocation;2426 readonly xcmVersion: u32;2427 } & Struct;2428 readonly isForceDefaultXcmVersion: boolean;2429 readonly asForceDefaultXcmVersion: {2430 readonly maybeXcmVersion: Option<u32>;2431 } & Struct;2432 readonly isForceSubscribeVersionNotify: boolean;2433 readonly asForceSubscribeVersionNotify: {2434 readonly location: XcmVersionedMultiLocation;2435 } & Struct;2436 readonly isForceUnsubscribeVersionNotify: boolean;2437 readonly asForceUnsubscribeVersionNotify: {2438 readonly location: XcmVersionedMultiLocation;2439 } & Struct;2440 readonly isLimitedReserveTransferAssets: boolean;2441 readonly asLimitedReserveTransferAssets: {2442 readonly dest: XcmVersionedMultiLocation;2443 readonly beneficiary: XcmVersionedMultiLocation;2444 readonly assets: XcmVersionedMultiAssets;2445 readonly feeAssetItem: u32;2446 readonly weightLimit: XcmV2WeightLimit;2447 } & Struct;2448 readonly isLimitedTeleportAssets: boolean;2449 readonly asLimitedTeleportAssets: {2450 readonly dest: XcmVersionedMultiLocation;2451 readonly beneficiary: XcmVersionedMultiLocation;2452 readonly assets: XcmVersionedMultiAssets;2453 readonly feeAssetItem: u32;2454 readonly weightLimit: XcmV2WeightLimit;2455 } & Struct;2456 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2457 }24582459 /** @name XcmVersionedXcm (282) */2460 interface XcmVersionedXcm extends Enum {2461 readonly isV0: boolean;2462 readonly asV0: XcmV0Xcm;2463 readonly isV1: boolean;2464 readonly asV1: XcmV1Xcm;2465 readonly isV2: boolean;2466 readonly asV2: XcmV2Xcm;2467 readonly type: 'V0' | 'V1' | 'V2';2468 }24692470 /** @name XcmV0Xcm (283) */2471 interface XcmV0Xcm extends Enum {2472 readonly isWithdrawAsset: boolean;2473 readonly asWithdrawAsset: {2474 readonly assets: Vec<XcmV0MultiAsset>;2475 readonly effects: Vec<XcmV0Order>;2476 } & Struct;2477 readonly isReserveAssetDeposit: boolean;2478 readonly asReserveAssetDeposit: {2479 readonly assets: Vec<XcmV0MultiAsset>;2480 readonly effects: Vec<XcmV0Order>;2481 } & Struct;2482 readonly isTeleportAsset: boolean;2483 readonly asTeleportAsset: {2484 readonly assets: Vec<XcmV0MultiAsset>;2485 readonly effects: Vec<XcmV0Order>;2486 } & Struct;2487 readonly isQueryResponse: boolean;2488 readonly asQueryResponse: {2489 readonly queryId: Compact<u64>;2490 readonly response: XcmV0Response;2491 } & Struct;2492 readonly isTransferAsset: boolean;2493 readonly asTransferAsset: {2494 readonly assets: Vec<XcmV0MultiAsset>;2495 readonly dest: XcmV0MultiLocation;2496 } & Struct;2497 readonly isTransferReserveAsset: boolean;2498 readonly asTransferReserveAsset: {2499 readonly assets: Vec<XcmV0MultiAsset>;2500 readonly dest: XcmV0MultiLocation;2501 readonly effects: Vec<XcmV0Order>;2502 } & Struct;2503 readonly isTransact: boolean;2504 readonly asTransact: {2505 readonly originType: XcmV0OriginKind;2506 readonly requireWeightAtMost: u64;2507 readonly call: XcmDoubleEncoded;2508 } & Struct;2509 readonly isHrmpNewChannelOpenRequest: boolean;2510 readonly asHrmpNewChannelOpenRequest: {2511 readonly sender: Compact<u32>;2512 readonly maxMessageSize: Compact<u32>;2513 readonly maxCapacity: Compact<u32>;2514 } & Struct;2515 readonly isHrmpChannelAccepted: boolean;2516 readonly asHrmpChannelAccepted: {2517 readonly recipient: Compact<u32>;2518 } & Struct;2519 readonly isHrmpChannelClosing: boolean;2520 readonly asHrmpChannelClosing: {2521 readonly initiator: Compact<u32>;2522 readonly sender: Compact<u32>;2523 readonly recipient: Compact<u32>;2524 } & Struct;2525 readonly isRelayedFrom: boolean;2526 readonly asRelayedFrom: {2527 readonly who: XcmV0MultiLocation;2528 readonly message: XcmV0Xcm;2529 } & Struct;2530 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2531 }25322533 /** @name XcmV0Order (285) */2534 interface XcmV0Order extends Enum {2535 readonly isNull: boolean;2536 readonly isDepositAsset: boolean;2537 readonly asDepositAsset: {2538 readonly assets: Vec<XcmV0MultiAsset>;2539 readonly dest: XcmV0MultiLocation;2540 } & Struct;2541 readonly isDepositReserveAsset: boolean;2542 readonly asDepositReserveAsset: {2543 readonly assets: Vec<XcmV0MultiAsset>;2544 readonly dest: XcmV0MultiLocation;2545 readonly effects: Vec<XcmV0Order>;2546 } & Struct;2547 readonly isExchangeAsset: boolean;2548 readonly asExchangeAsset: {2549 readonly give: Vec<XcmV0MultiAsset>;2550 readonly receive: Vec<XcmV0MultiAsset>;2551 } & Struct;2552 readonly isInitiateReserveWithdraw: boolean;2553 readonly asInitiateReserveWithdraw: {2554 readonly assets: Vec<XcmV0MultiAsset>;2555 readonly reserve: XcmV0MultiLocation;2556 readonly effects: Vec<XcmV0Order>;2557 } & Struct;2558 readonly isInitiateTeleport: boolean;2559 readonly asInitiateTeleport: {2560 readonly assets: Vec<XcmV0MultiAsset>;2561 readonly dest: XcmV0MultiLocation;2562 readonly effects: Vec<XcmV0Order>;2563 } & Struct;2564 readonly isQueryHolding: boolean;2565 readonly asQueryHolding: {2566 readonly queryId: Compact<u64>;2567 readonly dest: XcmV0MultiLocation;2568 readonly assets: Vec<XcmV0MultiAsset>;2569 } & Struct;2570 readonly isBuyExecution: boolean;2571 readonly asBuyExecution: {2572 readonly fees: XcmV0MultiAsset;2573 readonly weight: u64;2574 readonly debt: u64;2575 readonly haltOnError: bool;2576 readonly xcm: Vec<XcmV0Xcm>;2577 } & Struct;2578 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2579 }25802581 /** @name XcmV0Response (287) */2582 interface XcmV0Response extends Enum {2583 readonly isAssets: boolean;2584 readonly asAssets: Vec<XcmV0MultiAsset>;2585 readonly type: 'Assets';2586 }25872588 /** @name XcmV1Xcm (288) */2589 interface XcmV1Xcm extends Enum {2590 readonly isWithdrawAsset: boolean;2591 readonly asWithdrawAsset: {2592 readonly assets: XcmV1MultiassetMultiAssets;2593 readonly effects: Vec<XcmV1Order>;2594 } & Struct;2595 readonly isReserveAssetDeposited: boolean;2596 readonly asReserveAssetDeposited: {2597 readonly assets: XcmV1MultiassetMultiAssets;2598 readonly effects: Vec<XcmV1Order>;2599 } & Struct;2600 readonly isReceiveTeleportedAsset: boolean;2601 readonly asReceiveTeleportedAsset: {2602 readonly assets: XcmV1MultiassetMultiAssets;2603 readonly effects: Vec<XcmV1Order>;2604 } & Struct;2605 readonly isQueryResponse: boolean;2606 readonly asQueryResponse: {2607 readonly queryId: Compact<u64>;2608 readonly response: XcmV1Response;2609 } & Struct;2610 readonly isTransferAsset: boolean;2611 readonly asTransferAsset: {2612 readonly assets: XcmV1MultiassetMultiAssets;2613 readonly beneficiary: XcmV1MultiLocation;2614 } & Struct;2615 readonly isTransferReserveAsset: boolean;2616 readonly asTransferReserveAsset: {2617 readonly assets: XcmV1MultiassetMultiAssets;2618 readonly dest: XcmV1MultiLocation;2619 readonly effects: Vec<XcmV1Order>;2620 } & Struct;2621 readonly isTransact: boolean;2622 readonly asTransact: {2623 readonly originType: XcmV0OriginKind;2624 readonly requireWeightAtMost: u64;2625 readonly call: XcmDoubleEncoded;2626 } & Struct;2627 readonly isHrmpNewChannelOpenRequest: boolean;2628 readonly asHrmpNewChannelOpenRequest: {2629 readonly sender: Compact<u32>;2630 readonly maxMessageSize: Compact<u32>;2631 readonly maxCapacity: Compact<u32>;2632 } & Struct;2633 readonly isHrmpChannelAccepted: boolean;2634 readonly asHrmpChannelAccepted: {2635 readonly recipient: Compact<u32>;2636 } & Struct;2637 readonly isHrmpChannelClosing: boolean;2638 readonly asHrmpChannelClosing: {2639 readonly initiator: Compact<u32>;2640 readonly sender: Compact<u32>;2641 readonly recipient: Compact<u32>;2642 } & Struct;2643 readonly isRelayedFrom: boolean;2644 readonly asRelayedFrom: {2645 readonly who: XcmV1MultilocationJunctions;2646 readonly message: XcmV1Xcm;2647 } & Struct;2648 readonly isSubscribeVersion: boolean;2649 readonly asSubscribeVersion: {2650 readonly queryId: Compact<u64>;2651 readonly maxResponseWeight: Compact<u64>;2652 } & Struct;2653 readonly isUnsubscribeVersion: boolean;2654 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2655 }26562657 /** @name XcmV1Order (290) */2658 interface XcmV1Order extends Enum {2659 readonly isNoop: boolean;2660 readonly isDepositAsset: boolean;2661 readonly asDepositAsset: {2662 readonly assets: XcmV1MultiassetMultiAssetFilter;2663 readonly maxAssets: u32;2664 readonly beneficiary: XcmV1MultiLocation;2665 } & Struct;2666 readonly isDepositReserveAsset: boolean;2667 readonly asDepositReserveAsset: {2668 readonly assets: XcmV1MultiassetMultiAssetFilter;2669 readonly maxAssets: u32;2670 readonly dest: XcmV1MultiLocation;2671 readonly effects: Vec<XcmV1Order>;2672 } & Struct;2673 readonly isExchangeAsset: boolean;2674 readonly asExchangeAsset: {2675 readonly give: XcmV1MultiassetMultiAssetFilter;2676 readonly receive: XcmV1MultiassetMultiAssets;2677 } & Struct;2678 readonly isInitiateReserveWithdraw: boolean;2679 readonly asInitiateReserveWithdraw: {2680 readonly assets: XcmV1MultiassetMultiAssetFilter;2681 readonly reserve: XcmV1MultiLocation;2682 readonly effects: Vec<XcmV1Order>;2683 } & Struct;2684 readonly isInitiateTeleport: boolean;2685 readonly asInitiateTeleport: {2686 readonly assets: XcmV1MultiassetMultiAssetFilter;2687 readonly dest: XcmV1MultiLocation;2688 readonly effects: Vec<XcmV1Order>;2689 } & Struct;2690 readonly isQueryHolding: boolean;2691 readonly asQueryHolding: {2692 readonly queryId: Compact<u64>;2693 readonly dest: XcmV1MultiLocation;2694 readonly assets: XcmV1MultiassetMultiAssetFilter;2695 } & Struct;2696 readonly isBuyExecution: boolean;2697 readonly asBuyExecution: {2698 readonly fees: XcmV1MultiAsset;2699 readonly weight: u64;2700 readonly debt: u64;2701 readonly haltOnError: bool;2702 readonly instructions: Vec<XcmV1Xcm>;2703 } & Struct;2704 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2705 }27062707 /** @name XcmV1Response (292) */2708 interface XcmV1Response extends Enum {2709 readonly isAssets: boolean;2710 readonly asAssets: XcmV1MultiassetMultiAssets;2711 readonly isVersion: boolean;2712 readonly asVersion: u32;2713 readonly type: 'Assets' | 'Version';2714 }27152716 /** @name CumulusPalletXcmCall (306) */2717 type CumulusPalletXcmCall = Null;27182719 /** @name CumulusPalletDmpQueueCall (307) */2720 interface CumulusPalletDmpQueueCall extends Enum {2721 readonly isServiceOverweight: boolean;2722 readonly asServiceOverweight: {2723 readonly index: u64;2724 readonly weightLimit: u64;2725 } & Struct;2726 readonly type: 'ServiceOverweight';2727 }27282729 /** @name PalletInflationCall (308) */2730 interface PalletInflationCall extends Enum {2731 readonly isStartInflation: boolean;2732 readonly asStartInflation: {2733 readonly inflationStartRelayBlock: u32;2734 } & Struct;2735 readonly type: 'StartInflation';2736 }27372738 /** @name PalletUniqueCall (309) */2739 interface PalletUniqueCall extends Enum {2740 readonly isCreateCollection: boolean;2741 readonly asCreateCollection: {2742 readonly collectionName: Vec<u16>;2743 readonly collectionDescription: Vec<u16>;2744 readonly tokenPrefix: Bytes;2745 readonly mode: UpDataStructsCollectionMode;2746 } & Struct;2747 readonly isCreateCollectionEx: boolean;2748 readonly asCreateCollectionEx: {2749 readonly data: UpDataStructsCreateCollectionData;2750 } & Struct;2751 readonly isDestroyCollection: boolean;2752 readonly asDestroyCollection: {2753 readonly collectionId: u32;2754 } & Struct;2755 readonly isAddToAllowList: boolean;2756 readonly asAddToAllowList: {2757 readonly collectionId: u32;2758 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2759 } & Struct;2760 readonly isRemoveFromAllowList: boolean;2761 readonly asRemoveFromAllowList: {2762 readonly collectionId: u32;2763 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2764 } & Struct;2765 readonly isChangeCollectionOwner: boolean;2766 readonly asChangeCollectionOwner: {2767 readonly collectionId: u32;2768 readonly newOwner: AccountId32;2769 } & Struct;2770 readonly isAddCollectionAdmin: boolean;2771 readonly asAddCollectionAdmin: {2772 readonly collectionId: u32;2773 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2774 } & Struct;2775 readonly isRemoveCollectionAdmin: boolean;2776 readonly asRemoveCollectionAdmin: {2777 readonly collectionId: u32;2778 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2779 } & Struct;2780 readonly isSetCollectionSponsor: boolean;2781 readonly asSetCollectionSponsor: {2782 readonly collectionId: u32;2783 readonly newSponsor: AccountId32;2784 } & Struct;2785 readonly isConfirmSponsorship: boolean;2786 readonly asConfirmSponsorship: {2787 readonly collectionId: u32;2788 } & Struct;2789 readonly isRemoveCollectionSponsor: boolean;2790 readonly asRemoveCollectionSponsor: {2791 readonly collectionId: u32;2792 } & Struct;2793 readonly isCreateItem: boolean;2794 readonly asCreateItem: {2795 readonly collectionId: u32;2796 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2797 readonly data: UpDataStructsCreateItemData;2798 } & Struct;2799 readonly isCreateMultipleItems: boolean;2800 readonly asCreateMultipleItems: {2801 readonly collectionId: u32;2802 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2803 readonly itemsData: Vec<UpDataStructsCreateItemData>;2804 } & Struct;2805 readonly isSetCollectionProperties: boolean;2806 readonly asSetCollectionProperties: {2807 readonly collectionId: u32;2808 readonly properties: Vec<UpDataStructsProperty>;2809 } & Struct;2810 readonly isDeleteCollectionProperties: boolean;2811 readonly asDeleteCollectionProperties: {2812 readonly collectionId: u32;2813 readonly propertyKeys: Vec<Bytes>;2814 } & Struct;2815 readonly isSetTokenProperties: boolean;2816 readonly asSetTokenProperties: {2817 readonly collectionId: u32;2818 readonly tokenId: u32;2819 readonly properties: Vec<UpDataStructsProperty>;2820 } & Struct;2821 readonly isDeleteTokenProperties: boolean;2822 readonly asDeleteTokenProperties: {2823 readonly collectionId: u32;2824 readonly tokenId: u32;2825 readonly propertyKeys: Vec<Bytes>;2826 } & Struct;2827 readonly isSetTokenPropertyPermissions: boolean;2828 readonly asSetTokenPropertyPermissions: {2829 readonly collectionId: u32;2830 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2831 } & Struct;2832 readonly isCreateMultipleItemsEx: boolean;2833 readonly asCreateMultipleItemsEx: {2834 readonly collectionId: u32;2835 readonly data: UpDataStructsCreateItemExData;2836 } & Struct;2837 readonly isSetTransfersEnabledFlag: boolean;2838 readonly asSetTransfersEnabledFlag: {2839 readonly collectionId: u32;2840 readonly value: bool;2841 } & Struct;2842 readonly isBurnItem: boolean;2843 readonly asBurnItem: {2844 readonly collectionId: u32;2845 readonly itemId: u32;2846 readonly value: u128;2847 } & Struct;2848 readonly isBurnFrom: boolean;2849 readonly asBurnFrom: {2850 readonly collectionId: u32;2851 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2852 readonly itemId: u32;2853 readonly value: u128;2854 } & Struct;2855 readonly isTransfer: boolean;2856 readonly asTransfer: {2857 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2858 readonly collectionId: u32;2859 readonly itemId: u32;2860 readonly value: u128;2861 } & Struct;2862 readonly isApprove: boolean;2863 readonly asApprove: {2864 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2865 readonly collectionId: u32;2866 readonly itemId: u32;2867 readonly amount: u128;2868 } & Struct;2869 readonly isTransferFrom: boolean;2870 readonly asTransferFrom: {2871 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2872 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2873 readonly collectionId: u32;2874 readonly itemId: u32;2875 readonly value: u128;2876 } & Struct;2877 readonly isSetCollectionLimits: boolean;2878 readonly asSetCollectionLimits: {2879 readonly collectionId: u32;2880 readonly newLimit: UpDataStructsCollectionLimits;2881 } & Struct;2882 readonly isSetCollectionPermissions: boolean;2883 readonly asSetCollectionPermissions: {2884 readonly collectionId: u32;2885 readonly newPermission: UpDataStructsCollectionPermissions;2886 } & Struct;2887 readonly isRepartition: boolean;2888 readonly asRepartition: {2889 readonly collectionId: u32;2890 readonly tokenId: u32;2891 readonly amount: u128;2892 } & Struct;2893 readonly isSetAllowanceForAll: boolean;2894 readonly asSetAllowanceForAll: {2895 readonly collectionId: u32;2896 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2897 readonly approve: bool;2898 } & Struct;2899 readonly isForceRepairCollection: boolean;2900 readonly asForceRepairCollection: {2901 readonly collectionId: u32;2902 } & Struct;2903 readonly isForceRepairItem: boolean;2904 readonly asForceRepairItem: {2905 readonly collectionId: u32;2906 readonly itemId: u32;2907 } & Struct;2908 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';2909 }29102911 /** @name UpDataStructsCollectionMode (314) */2912 interface UpDataStructsCollectionMode extends Enum {2913 readonly isNft: boolean;2914 readonly isFungible: boolean;2915 readonly asFungible: u8;2916 readonly isReFungible: boolean;2917 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2918 }29192920 /** @name UpDataStructsCreateCollectionData (315) */2921 interface UpDataStructsCreateCollectionData extends Struct {2922 readonly mode: UpDataStructsCollectionMode;2923 readonly access: Option<UpDataStructsAccessMode>;2924 readonly name: Vec<u16>;2925 readonly description: Vec<u16>;2926 readonly tokenPrefix: Bytes;2927 readonly pendingSponsor: Option<AccountId32>;2928 readonly limits: Option<UpDataStructsCollectionLimits>;2929 readonly permissions: Option<UpDataStructsCollectionPermissions>;2930 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2931 readonly properties: Vec<UpDataStructsProperty>;2932 }29332934 /** @name UpDataStructsAccessMode (317) */2935 interface UpDataStructsAccessMode extends Enum {2936 readonly isNormal: boolean;2937 readonly isAllowList: boolean;2938 readonly type: 'Normal' | 'AllowList';2939 }29402941 /** @name UpDataStructsCollectionLimits (319) */2942 interface UpDataStructsCollectionLimits extends Struct {2943 readonly accountTokenOwnershipLimit: Option<u32>;2944 readonly sponsoredDataSize: Option<u32>;2945 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2946 readonly tokenLimit: Option<u32>;2947 readonly sponsorTransferTimeout: Option<u32>;2948 readonly sponsorApproveTimeout: Option<u32>;2949 readonly ownerCanTransfer: Option<bool>;2950 readonly ownerCanDestroy: Option<bool>;2951 readonly transfersEnabled: Option<bool>;2952 }29532954 /** @name UpDataStructsSponsoringRateLimit (321) */2955 interface UpDataStructsSponsoringRateLimit extends Enum {2956 readonly isSponsoringDisabled: boolean;2957 readonly isBlocks: boolean;2958 readonly asBlocks: u32;2959 readonly type: 'SponsoringDisabled' | 'Blocks';2960 }29612962 /** @name UpDataStructsCollectionPermissions (324) */2963 interface UpDataStructsCollectionPermissions extends Struct {2964 readonly access: Option<UpDataStructsAccessMode>;2965 readonly mintMode: Option<bool>;2966 readonly nesting: Option<UpDataStructsNestingPermissions>;2967 }29682969 /** @name UpDataStructsNestingPermissions (326) */2970 interface UpDataStructsNestingPermissions extends Struct {2971 readonly tokenOwner: bool;2972 readonly collectionAdmin: bool;2973 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2974 }29752976 /** @name UpDataStructsOwnerRestrictedSet (328) */2977 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29782979 /** @name UpDataStructsPropertyKeyPermission (333) */2980 interface UpDataStructsPropertyKeyPermission extends Struct {2981 readonly key: Bytes;2982 readonly permission: UpDataStructsPropertyPermission;2983 }29842985 /** @name UpDataStructsPropertyPermission (334) */2986 interface UpDataStructsPropertyPermission extends Struct {2987 readonly mutable: bool;2988 readonly collectionAdmin: bool;2989 readonly tokenOwner: bool;2990 }29912992 /** @name UpDataStructsProperty (337) */2993 interface UpDataStructsProperty extends Struct {2994 readonly key: Bytes;2995 readonly value: Bytes;2996 }29972998 /** @name UpDataStructsCreateItemData (340) */2999 interface UpDataStructsCreateItemData extends Enum {3000 readonly isNft: boolean;3001 readonly asNft: UpDataStructsCreateNftData;3002 readonly isFungible: boolean;3003 readonly asFungible: UpDataStructsCreateFungibleData;3004 readonly isReFungible: boolean;3005 readonly asReFungible: UpDataStructsCreateReFungibleData;3006 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3007 }30083009 /** @name UpDataStructsCreateNftData (341) */3010 interface UpDataStructsCreateNftData extends Struct {3011 readonly properties: Vec<UpDataStructsProperty>;3012 }30133014 /** @name UpDataStructsCreateFungibleData (342) */3015 interface UpDataStructsCreateFungibleData extends Struct {3016 readonly value: u128;3017 }30183019 /** @name UpDataStructsCreateReFungibleData (343) */3020 interface UpDataStructsCreateReFungibleData extends Struct {3021 readonly pieces: u128;3022 readonly properties: Vec<UpDataStructsProperty>;3023 }30243025 /** @name UpDataStructsCreateItemExData (346) */3026 interface UpDataStructsCreateItemExData extends Enum {3027 readonly isNft: boolean;3028 readonly asNft: Vec<UpDataStructsCreateNftExData>;3029 readonly isFungible: boolean;3030 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3031 readonly isRefungibleMultipleItems: boolean;3032 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3033 readonly isRefungibleMultipleOwners: boolean;3034 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3035 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3036 }30373038 /** @name UpDataStructsCreateNftExData (348) */3039 interface UpDataStructsCreateNftExData extends Struct {3040 readonly properties: Vec<UpDataStructsProperty>;3041 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3042 }30433044 /** @name UpDataStructsCreateRefungibleExSingleOwner (355) */3045 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3046 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3047 readonly pieces: u128;3048 readonly properties: Vec<UpDataStructsProperty>;3049 }30503051 /** @name UpDataStructsCreateRefungibleExMultipleOwners (357) */3052 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3053 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3054 readonly properties: Vec<UpDataStructsProperty>;3055 }30563057 /** @name PalletConfigurationCall (358) */3058 interface PalletConfigurationCall extends Enum {3059 readonly isSetWeightToFeeCoefficientOverride: boolean;3060 readonly asSetWeightToFeeCoefficientOverride: {3061 readonly coeff: Option<u64>;3062 } & Struct;3063 readonly isSetMinGasPriceOverride: boolean;3064 readonly asSetMinGasPriceOverride: {3065 readonly coeff: Option<u64>;3066 } & Struct;3067 readonly isSetXcmAllowedLocations: boolean;3068 readonly asSetXcmAllowedLocations: {3069 readonly locations: Option<Vec<XcmV1MultiLocation>>;3070 } & Struct;3071 readonly isSetAppPromotionConfigurationOverride: boolean;3072 readonly asSetAppPromotionConfigurationOverride: {3073 readonly configuration: PalletConfigurationAppPromotionConfiguration;3074 } & Struct;3075 readonly isSetCollatorSelectionDesiredCollators: boolean;3076 readonly asSetCollatorSelectionDesiredCollators: {3077 readonly max: Option<u32>;3078 } & Struct;3079 readonly isSetCollatorSelectionLicenseBond: boolean;3080 readonly asSetCollatorSelectionLicenseBond: {3081 readonly amount: Option<u128>;3082 } & Struct;3083 readonly isSetCollatorSelectionKickThreshold: boolean;3084 readonly asSetCollatorSelectionKickThreshold: {3085 readonly threshold: Option<u32>;3086 } & Struct;3087 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';3088 }30893090 /** @name PalletConfigurationAppPromotionConfiguration (363) */3091 interface PalletConfigurationAppPromotionConfiguration extends Struct {3092 readonly recalculationInterval: Option<u32>;3093 readonly pendingInterval: Option<u32>;3094 readonly intervalIncome: Option<Perbill>;3095 readonly maxStakersPerCalculation: Option<u8>;3096 }30973098 /** @name PalletTemplateTransactionPaymentCall (367) */3099 type PalletTemplateTransactionPaymentCall = Null;31003101 /** @name PalletStructureCall (368) */3102 type PalletStructureCall = Null;31033104 /** @name PalletRmrkCoreCall (369) */3105 interface PalletRmrkCoreCall extends Enum {3106 readonly isCreateCollection: boolean;3107 readonly asCreateCollection: {3108 readonly metadata: Bytes;3109 readonly max: Option<u32>;3110 readonly symbol: Bytes;3111 } & Struct;3112 readonly isDestroyCollection: boolean;3113 readonly asDestroyCollection: {3114 readonly collectionId: u32;3115 } & Struct;3116 readonly isChangeCollectionIssuer: boolean;3117 readonly asChangeCollectionIssuer: {3118 readonly collectionId: u32;3119 readonly newIssuer: MultiAddress;3120 } & Struct;3121 readonly isLockCollection: boolean;3122 readonly asLockCollection: {3123 readonly collectionId: u32;3124 } & Struct;3125 readonly isMintNft: boolean;3126 readonly asMintNft: {3127 readonly owner: Option<AccountId32>;3128 readonly collectionId: u32;3129 readonly recipient: Option<AccountId32>;3130 readonly royaltyAmount: Option<Permill>;3131 readonly metadata: Bytes;3132 readonly transferable: bool;3133 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;3134 } & Struct;3135 readonly isBurnNft: boolean;3136 readonly asBurnNft: {3137 readonly collectionId: u32;3138 readonly nftId: u32;3139 readonly maxBurns: u32;3140 } & Struct;3141 readonly isSend: boolean;3142 readonly asSend: {3143 readonly rmrkCollectionId: u32;3144 readonly rmrkNftId: u32;3145 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3146 } & Struct;3147 readonly isAcceptNft: boolean;3148 readonly asAcceptNft: {3149 readonly rmrkCollectionId: u32;3150 readonly rmrkNftId: u32;3151 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3152 } & Struct;3153 readonly isRejectNft: boolean;3154 readonly asRejectNft: {3155 readonly rmrkCollectionId: u32;3156 readonly rmrkNftId: u32;3157 } & Struct;3158 readonly isAcceptResource: boolean;3159 readonly asAcceptResource: {3160 readonly rmrkCollectionId: u32;3161 readonly rmrkNftId: u32;3162 readonly resourceId: u32;3163 } & Struct;3164 readonly isAcceptResourceRemoval: boolean;3165 readonly asAcceptResourceRemoval: {3166 readonly rmrkCollectionId: u32;3167 readonly rmrkNftId: u32;3168 readonly resourceId: u32;3169 } & Struct;3170 readonly isSetProperty: boolean;3171 readonly asSetProperty: {3172 readonly rmrkCollectionId: Compact<u32>;3173 readonly maybeNftId: Option<u32>;3174 readonly key: Bytes;3175 readonly value: Bytes;3176 } & Struct;3177 readonly isSetPriority: boolean;3178 readonly asSetPriority: {3179 readonly rmrkCollectionId: u32;3180 readonly rmrkNftId: u32;3181 readonly priorities: Vec<u32>;3182 } & Struct;3183 readonly isAddBasicResource: boolean;3184 readonly asAddBasicResource: {3185 readonly rmrkCollectionId: u32;3186 readonly nftId: u32;3187 readonly resource: RmrkTraitsResourceBasicResource;3188 } & Struct;3189 readonly isAddComposableResource: boolean;3190 readonly asAddComposableResource: {3191 readonly rmrkCollectionId: u32;3192 readonly nftId: u32;3193 readonly resource: RmrkTraitsResourceComposableResource;3194 } & Struct;3195 readonly isAddSlotResource: boolean;3196 readonly asAddSlotResource: {3197 readonly rmrkCollectionId: u32;3198 readonly nftId: u32;3199 readonly resource: RmrkTraitsResourceSlotResource;3200 } & Struct;3201 readonly isRemoveResource: boolean;3202 readonly asRemoveResource: {3203 readonly rmrkCollectionId: u32;3204 readonly nftId: u32;3205 readonly resourceId: u32;3206 } & Struct;3207 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';3208 }32093210 /** @name RmrkTraitsResourceResourceTypes (375) */3211 interface RmrkTraitsResourceResourceTypes extends Enum {3212 readonly isBasic: boolean;3213 readonly asBasic: RmrkTraitsResourceBasicResource;3214 readonly isComposable: boolean;3215 readonly asComposable: RmrkTraitsResourceComposableResource;3216 readonly isSlot: boolean;3217 readonly asSlot: RmrkTraitsResourceSlotResource;3218 readonly type: 'Basic' | 'Composable' | 'Slot';3219 }32203221 /** @name RmrkTraitsResourceBasicResource (377) */3222 interface RmrkTraitsResourceBasicResource extends Struct {3223 readonly src: Option<Bytes>;3224 readonly metadata: Option<Bytes>;3225 readonly license: Option<Bytes>;3226 readonly thumb: Option<Bytes>;3227 }32283229 /** @name RmrkTraitsResourceComposableResource (379) */3230 interface RmrkTraitsResourceComposableResource extends Struct {3231 readonly parts: Vec<u32>;3232 readonly base: u32;3233 readonly src: Option<Bytes>;3234 readonly metadata: Option<Bytes>;3235 readonly license: Option<Bytes>;3236 readonly thumb: Option<Bytes>;3237 }32383239 /** @name RmrkTraitsResourceSlotResource (380) */3240 interface RmrkTraitsResourceSlotResource extends Struct {3241 readonly base: u32;3242 readonly src: Option<Bytes>;3243 readonly metadata: Option<Bytes>;3244 readonly slot: u32;3245 readonly license: Option<Bytes>;3246 readonly thumb: Option<Bytes>;3247 }32483249 /** @name PalletRmrkEquipCall (383) */3250 interface PalletRmrkEquipCall extends Enum {3251 readonly isCreateBase: boolean;3252 readonly asCreateBase: {3253 readonly baseType: Bytes;3254 readonly symbol: Bytes;3255 readonly parts: Vec<RmrkTraitsPartPartType>;3256 } & Struct;3257 readonly isThemeAdd: boolean;3258 readonly asThemeAdd: {3259 readonly baseId: u32;3260 readonly theme: RmrkTraitsTheme;3261 } & Struct;3262 readonly isEquippable: boolean;3263 readonly asEquippable: {3264 readonly baseId: u32;3265 readonly slotId: u32;3266 readonly equippables: RmrkTraitsPartEquippableList;3267 } & Struct;3268 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3269 }32703271 /** @name RmrkTraitsPartPartType (386) */3272 interface RmrkTraitsPartPartType extends Enum {3273 readonly isFixedPart: boolean;3274 readonly asFixedPart: RmrkTraitsPartFixedPart;3275 readonly isSlotPart: boolean;3276 readonly asSlotPart: RmrkTraitsPartSlotPart;3277 readonly type: 'FixedPart' | 'SlotPart';3278 }32793280 /** @name RmrkTraitsPartFixedPart (388) */3281 interface RmrkTraitsPartFixedPart extends Struct {3282 readonly id: u32;3283 readonly z: u32;3284 readonly src: Bytes;3285 }32863287 /** @name RmrkTraitsPartSlotPart (389) */3288 interface RmrkTraitsPartSlotPart extends Struct {3289 readonly id: u32;3290 readonly equippable: RmrkTraitsPartEquippableList;3291 readonly src: Bytes;3292 readonly z: u32;3293 }32943295 /** @name RmrkTraitsPartEquippableList (390) */3296 interface RmrkTraitsPartEquippableList extends Enum {3297 readonly isAll: boolean;3298 readonly isEmpty: boolean;3299 readonly isCustom: boolean;3300 readonly asCustom: Vec<u32>;3301 readonly type: 'All' | 'Empty' | 'Custom';3302 }33033304 /** @name RmrkTraitsTheme (392) */3305 interface RmrkTraitsTheme extends Struct {3306 readonly name: Bytes;3307 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3308 readonly inherit: bool;3309 }33103311 /** @name RmrkTraitsThemeThemeProperty (394) */3312 interface RmrkTraitsThemeThemeProperty extends Struct {3313 readonly key: Bytes;3314 readonly value: Bytes;3315 }33163317 /** @name PalletAppPromotionCall (396) */3318 interface PalletAppPromotionCall extends Enum {3319 readonly isSetAdminAddress: boolean;3320 readonly asSetAdminAddress: {3321 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;3322 } & Struct;3323 readonly isStake: boolean;3324 readonly asStake: {3325 readonly amount: u128;3326 } & Struct;3327 readonly isUnstake: boolean;3328 readonly isSponsorCollection: boolean;3329 readonly asSponsorCollection: {3330 readonly collectionId: u32;3331 } & Struct;3332 readonly isStopSponsoringCollection: boolean;3333 readonly asStopSponsoringCollection: {3334 readonly collectionId: u32;3335 } & Struct;3336 readonly isSponsorContract: boolean;3337 readonly asSponsorContract: {3338 readonly contractId: H160;3339 } & Struct;3340 readonly isStopSponsoringContract: boolean;3341 readonly asStopSponsoringContract: {3342 readonly contractId: H160;3343 } & Struct;3344 readonly isPayoutStakers: boolean;3345 readonly asPayoutStakers: {3346 readonly stakersNumber: Option<u8>;3347 } & Struct;3348 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3349 }33503351 /** @name PalletForeignAssetsModuleCall (397) */3352 interface PalletForeignAssetsModuleCall extends Enum {3353 readonly isRegisterForeignAsset: boolean;3354 readonly asRegisterForeignAsset: {3355 readonly owner: AccountId32;3356 readonly location: XcmVersionedMultiLocation;3357 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3358 } & Struct;3359 readonly isUpdateForeignAsset: boolean;3360 readonly asUpdateForeignAsset: {3361 readonly foreignAssetId: u32;3362 readonly location: XcmVersionedMultiLocation;3363 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3364 } & Struct;3365 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3366 }33673368 /** @name PalletEvmCall (398) */3369 interface PalletEvmCall extends Enum {3370 readonly isWithdraw: boolean;3371 readonly asWithdraw: {3372 readonly address: H160;3373 readonly value: u128;3374 } & Struct;3375 readonly isCall: boolean;3376 readonly asCall: {3377 readonly source: H160;3378 readonly target: H160;3379 readonly input: Bytes;3380 readonly value: U256;3381 readonly gasLimit: u64;3382 readonly maxFeePerGas: U256;3383 readonly maxPriorityFeePerGas: Option<U256>;3384 readonly nonce: Option<U256>;3385 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3386 } & Struct;3387 readonly isCreate: boolean;3388 readonly asCreate: {3389 readonly source: H160;3390 readonly init: Bytes;3391 readonly value: U256;3392 readonly gasLimit: u64;3393 readonly maxFeePerGas: U256;3394 readonly maxPriorityFeePerGas: Option<U256>;3395 readonly nonce: Option<U256>;3396 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3397 } & Struct;3398 readonly isCreate2: boolean;3399 readonly asCreate2: {3400 readonly source: H160;3401 readonly init: Bytes;3402 readonly salt: H256;3403 readonly value: U256;3404 readonly gasLimit: u64;3405 readonly maxFeePerGas: U256;3406 readonly maxPriorityFeePerGas: Option<U256>;3407 readonly nonce: Option<U256>;3408 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3409 } & Struct;3410 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3411 }34123413 /** @name PalletEthereumCall (404) */3414 interface PalletEthereumCall extends Enum {3415 readonly isTransact: boolean;3416 readonly asTransact: {3417 readonly transaction: EthereumTransactionTransactionV2;3418 } & Struct;3419 readonly type: 'Transact';3420 }34213422 /** @name EthereumTransactionTransactionV2 (405) */3423 interface EthereumTransactionTransactionV2 extends Enum {3424 readonly isLegacy: boolean;3425 readonly asLegacy: EthereumTransactionLegacyTransaction;3426 readonly isEip2930: boolean;3427 readonly asEip2930: EthereumTransactionEip2930Transaction;3428 readonly isEip1559: boolean;3429 readonly asEip1559: EthereumTransactionEip1559Transaction;3430 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3431 }34323433 /** @name EthereumTransactionLegacyTransaction (406) */3434 interface EthereumTransactionLegacyTransaction extends Struct {3435 readonly nonce: U256;3436 readonly gasPrice: U256;3437 readonly gasLimit: U256;3438 readonly action: EthereumTransactionTransactionAction;3439 readonly value: U256;3440 readonly input: Bytes;3441 readonly signature: EthereumTransactionTransactionSignature;3442 }34433444 /** @name EthereumTransactionTransactionAction (407) */3445 interface EthereumTransactionTransactionAction extends Enum {3446 readonly isCall: boolean;3447 readonly asCall: H160;3448 readonly isCreate: boolean;3449 readonly type: 'Call' | 'Create';3450 }34513452 /** @name EthereumTransactionTransactionSignature (408) */3453 interface EthereumTransactionTransactionSignature extends Struct {3454 readonly v: u64;3455 readonly r: H256;3456 readonly s: H256;3457 }34583459 /** @name EthereumTransactionEip2930Transaction (410) */3460 interface EthereumTransactionEip2930Transaction extends Struct {3461 readonly chainId: u64;3462 readonly nonce: U256;3463 readonly gasPrice: U256;3464 readonly gasLimit: U256;3465 readonly action: EthereumTransactionTransactionAction;3466 readonly value: U256;3467 readonly input: Bytes;3468 readonly accessList: Vec<EthereumTransactionAccessListItem>;3469 readonly oddYParity: bool;3470 readonly r: H256;3471 readonly s: H256;3472 }34733474 /** @name EthereumTransactionAccessListItem (412) */3475 interface EthereumTransactionAccessListItem extends Struct {3476 readonly address: H160;3477 readonly storageKeys: Vec<H256>;3478 }34793480 /** @name EthereumTransactionEip1559Transaction (413) */3481 interface EthereumTransactionEip1559Transaction extends Struct {3482 readonly chainId: u64;3483 readonly nonce: U256;3484 readonly maxPriorityFeePerGas: U256;3485 readonly maxFeePerGas: U256;3486 readonly gasLimit: U256;3487 readonly action: EthereumTransactionTransactionAction;3488 readonly value: U256;3489 readonly input: Bytes;3490 readonly accessList: Vec<EthereumTransactionAccessListItem>;3491 readonly oddYParity: bool;3492 readonly r: H256;3493 readonly s: H256;3494 }34953496 /** @name PalletDataManagementCall (414) */3497 interface PalletDataManagementCall extends Enum {3498 readonly isBegin: boolean;3499 readonly asBegin: {3500 readonly address: H160;3501 } & Struct;3502 readonly isSetData: boolean;3503 readonly asSetData: {3504 readonly address: H160;3505 readonly data: Vec<ITuple<[H256, H256]>>;3506 } & Struct;3507 readonly isFinish: boolean;3508 readonly asFinish: {3509 readonly address: H160;3510 readonly code: Bytes;3511 } & Struct;3512 readonly isInsertEthLogs: boolean;3513 readonly asInsertEthLogs: {3514 readonly logs: Vec<EthereumLog>;3515 } & Struct;3516 readonly isInsertEvents: boolean;3517 readonly asInsertEvents: {3518 readonly events: Vec<Bytes>;3519 } & Struct;3520 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3521 }35223523 /** @name PalletMaintenanceCall (418) */3524 interface PalletMaintenanceCall extends Enum {3525 readonly isEnable: boolean;3526 readonly isDisable: boolean;3527 readonly type: 'Enable' | 'Disable';3528 }35293530 /** @name PalletTestUtilsCall (419) */3531 interface PalletTestUtilsCall extends Enum {3532 readonly isEnable: boolean;3533 readonly isSetTestValue: boolean;3534 readonly asSetTestValue: {3535 readonly value: u32;3536 } & Struct;3537 readonly isSetTestValueAndRollback: boolean;3538 readonly asSetTestValueAndRollback: {3539 readonly value: u32;3540 } & Struct;3541 readonly isIncTestValue: boolean;3542 readonly isJustTakeFee: boolean;3543 readonly isBatchAll: boolean;3544 readonly asBatchAll: {3545 readonly calls: Vec<Call>;3546 } & Struct;3547 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3548 }35493550 /** @name PalletSudoError (421) */3551 interface PalletSudoError extends Enum {3552 readonly isRequireSudo: boolean;3553 readonly type: 'RequireSudo';3554 }35553556 /** @name OrmlVestingModuleError (423) */3557 interface OrmlVestingModuleError extends Enum {3558 readonly isZeroVestingPeriod: boolean;3559 readonly isZeroVestingPeriodCount: boolean;3560 readonly isInsufficientBalanceToLock: boolean;3561 readonly isTooManyVestingSchedules: boolean;3562 readonly isAmountLow: boolean;3563 readonly isMaxVestingSchedulesExceeded: boolean;3564 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3565 }35663567 /** @name OrmlXtokensModuleError (424) */3568 interface OrmlXtokensModuleError extends Enum {3569 readonly isAssetHasNoReserve: boolean;3570 readonly isNotCrossChainTransfer: boolean;3571 readonly isInvalidDest: boolean;3572 readonly isNotCrossChainTransferableCurrency: boolean;3573 readonly isUnweighableMessage: boolean;3574 readonly isXcmExecutionFailed: boolean;3575 readonly isCannotReanchor: boolean;3576 readonly isInvalidAncestry: boolean;3577 readonly isInvalidAsset: boolean;3578 readonly isDestinationNotInvertible: boolean;3579 readonly isBadVersion: boolean;3580 readonly isDistinctReserveForAssetAndFee: boolean;3581 readonly isZeroFee: boolean;3582 readonly isZeroAmount: boolean;3583 readonly isTooManyAssetsBeingSent: boolean;3584 readonly isAssetIndexNonExistent: boolean;3585 readonly isFeeNotEnough: boolean;3586 readonly isNotSupportedMultiLocation: boolean;3587 readonly isMinXcmFeeNotDefined: boolean;3588 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3589 }35903591 /** @name OrmlTokensBalanceLock (427) */3592 interface OrmlTokensBalanceLock extends Struct {3593 readonly id: U8aFixed;3594 readonly amount: u128;3595 }35963597 /** @name OrmlTokensAccountData (429) */3598 interface OrmlTokensAccountData extends Struct {3599 readonly free: u128;3600 readonly reserved: u128;3601 readonly frozen: u128;3602 }36033604 /** @name OrmlTokensReserveData (431) */3605 interface OrmlTokensReserveData extends Struct {3606 readonly id: Null;3607 readonly amount: u128;3608 }36093610 /** @name OrmlTokensModuleError (433) */3611 interface OrmlTokensModuleError extends Enum {3612 readonly isBalanceTooLow: boolean;3613 readonly isAmountIntoBalanceFailed: boolean;3614 readonly isLiquidityRestrictions: boolean;3615 readonly isMaxLocksExceeded: boolean;3616 readonly isKeepAlive: boolean;3617 readonly isExistentialDeposit: boolean;3618 readonly isDeadAccount: boolean;3619 readonly isTooManyReserves: boolean;3620 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3621 }36223623 /** @name CumulusPalletXcmpQueueInboundChannelDetails (435) */3624 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3625 readonly sender: u32;3626 readonly state: CumulusPalletXcmpQueueInboundState;3627 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3628 }36293630 /** @name CumulusPalletXcmpQueueInboundState (436) */3631 interface CumulusPalletXcmpQueueInboundState extends Enum {3632 readonly isOk: boolean;3633 readonly isSuspended: boolean;3634 readonly type: 'Ok' | 'Suspended';3635 }36363637 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (439) */3638 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3639 readonly isConcatenatedVersionedXcm: boolean;3640 readonly isConcatenatedEncodedBlob: boolean;3641 readonly isSignals: boolean;3642 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3643 }36443645 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (442) */3646 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3647 readonly recipient: u32;3648 readonly state: CumulusPalletXcmpQueueOutboundState;3649 readonly signalsExist: bool;3650 readonly firstIndex: u16;3651 readonly lastIndex: u16;3652 }36533654 /** @name CumulusPalletXcmpQueueOutboundState (443) */3655 interface CumulusPalletXcmpQueueOutboundState extends Enum {3656 readonly isOk: boolean;3657 readonly isSuspended: boolean;3658 readonly type: 'Ok' | 'Suspended';3659 }36603661 /** @name CumulusPalletXcmpQueueQueueConfigData (445) */3662 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3663 readonly suspendThreshold: u32;3664 readonly dropThreshold: u32;3665 readonly resumeThreshold: u32;3666 readonly thresholdWeight: SpWeightsWeightV2Weight;3667 readonly weightRestrictDecay: SpWeightsWeightV2Weight;3668 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3669 }36703671 /** @name CumulusPalletXcmpQueueError (447) */3672 interface CumulusPalletXcmpQueueError extends Enum {3673 readonly isFailedToSend: boolean;3674 readonly isBadXcmOrigin: boolean;3675 readonly isBadXcm: boolean;3676 readonly isBadOverweightIndex: boolean;3677 readonly isWeightOverLimit: boolean;3678 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3679 }36803681 /** @name PalletXcmError (448) */3682 interface PalletXcmError extends Enum {3683 readonly isUnreachable: boolean;3684 readonly isSendFailure: boolean;3685 readonly isFiltered: boolean;3686 readonly isUnweighableMessage: boolean;3687 readonly isDestinationNotInvertible: boolean;3688 readonly isEmpty: boolean;3689 readonly isCannotReanchor: boolean;3690 readonly isTooManyAssets: boolean;3691 readonly isInvalidOrigin: boolean;3692 readonly isBadVersion: boolean;3693 readonly isBadLocation: boolean;3694 readonly isNoSubscription: boolean;3695 readonly isAlreadySubscribed: boolean;3696 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3697 }36983699 /** @name CumulusPalletXcmError (449) */3700 type CumulusPalletXcmError = Null;37013702 /** @name CumulusPalletDmpQueueConfigData (450) */3703 interface CumulusPalletDmpQueueConfigData extends Struct {3704 readonly maxIndividual: SpWeightsWeightV2Weight;3705 }37063707 /** @name CumulusPalletDmpQueuePageIndexData (451) */3708 interface CumulusPalletDmpQueuePageIndexData extends Struct {3709 readonly beginUsed: u32;3710 readonly endUsed: u32;3711 readonly overweightCount: u64;3712 }37133714 /** @name CumulusPalletDmpQueueError (454) */3715 interface CumulusPalletDmpQueueError extends Enum {3716 readonly isUnknown: boolean;3717 readonly isOverLimit: boolean;3718 readonly type: 'Unknown' | 'OverLimit';3719 }37203721 /** @name PalletUniqueError (458) */3722 interface PalletUniqueError extends Enum {3723 readonly isCollectionDecimalPointLimitExceeded: boolean;3724 readonly isEmptyArgument: boolean;3725 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3726 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3727 }37283729 /** @name PalletConfigurationError (459) */3730 interface PalletConfigurationError extends Enum {3731 readonly isInconsistentConfiguration: boolean;3732 readonly type: 'InconsistentConfiguration';3733 }37343735 /** @name UpDataStructsCollection (460) */3736 interface UpDataStructsCollection extends Struct {3737 readonly owner: AccountId32;3738 readonly mode: UpDataStructsCollectionMode;3739 readonly name: Vec<u16>;3740 readonly description: Vec<u16>;3741 readonly tokenPrefix: Bytes;3742 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3743 readonly limits: UpDataStructsCollectionLimits;3744 readonly permissions: UpDataStructsCollectionPermissions;3745 readonly flags: U8aFixed;3746 }37473748 /** @name UpDataStructsSponsorshipStateAccountId32 (461) */3749 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3750 readonly isDisabled: boolean;3751 readonly isUnconfirmed: boolean;3752 readonly asUnconfirmed: AccountId32;3753 readonly isConfirmed: boolean;3754 readonly asConfirmed: AccountId32;3755 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3756 }37573758 /** @name UpDataStructsProperties (462) */3759 interface UpDataStructsProperties extends Struct {3760 readonly map: UpDataStructsPropertiesMapBoundedVec;3761 readonly consumedSpace: u32;3762 readonly spaceLimit: u32;3763 }37643765 /** @name UpDataStructsPropertiesMapBoundedVec (463) */3766 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}37673768 /** @name UpDataStructsPropertiesMapPropertyPermission (468) */3769 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}37703771 /** @name UpDataStructsCollectionStats (475) */3772 interface UpDataStructsCollectionStats extends Struct {3773 readonly created: u32;3774 readonly destroyed: u32;3775 readonly alive: u32;3776 }37773778 /** @name UpDataStructsTokenChild (476) */3779 interface UpDataStructsTokenChild extends Struct {3780 readonly token: u32;3781 readonly collection: u32;3782 }37833784 /** @name PhantomTypeUpDataStructs (477) */3785 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}37863787 /** @name UpDataStructsTokenData (479) */3788 interface UpDataStructsTokenData extends Struct {3789 readonly properties: Vec<UpDataStructsProperty>;3790 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3791 readonly pieces: u128;3792 }37933794 /** @name UpDataStructsRpcCollection (481) */3795 interface UpDataStructsRpcCollection extends Struct {3796 readonly owner: AccountId32;3797 readonly mode: UpDataStructsCollectionMode;3798 readonly name: Vec<u16>;3799 readonly description: Vec<u16>;3800 readonly tokenPrefix: Bytes;3801 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3802 readonly limits: UpDataStructsCollectionLimits;3803 readonly permissions: UpDataStructsCollectionPermissions;3804 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3805 readonly properties: Vec<UpDataStructsProperty>;3806 readonly readOnly: bool;3807 readonly flags: UpDataStructsRpcCollectionFlags;3808 }38093810 /** @name UpDataStructsRpcCollectionFlags (482) */3811 interface UpDataStructsRpcCollectionFlags extends Struct {3812 readonly foreign: bool;3813 readonly erc721metadata: bool;3814 }38153816 /** @name RmrkTraitsCollectionCollectionInfo (483) */3817 interface RmrkTraitsCollectionCollectionInfo extends Struct {3818 readonly issuer: AccountId32;3819 readonly metadata: Bytes;3820 readonly max: Option<u32>;3821 readonly symbol: Bytes;3822 readonly nftsCount: u32;3823 }38243825 /** @name RmrkTraitsNftNftInfo (484) */3826 interface RmrkTraitsNftNftInfo extends Struct {3827 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3828 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3829 readonly metadata: Bytes;3830 readonly equipped: bool;3831 readonly pending: bool;3832 }38333834 /** @name RmrkTraitsNftRoyaltyInfo (486) */3835 interface RmrkTraitsNftRoyaltyInfo extends Struct {3836 readonly recipient: AccountId32;3837 readonly amount: Permill;3838 }38393840 /** @name RmrkTraitsResourceResourceInfo (487) */3841 interface RmrkTraitsResourceResourceInfo extends Struct {3842 readonly id: u32;3843 readonly resource: RmrkTraitsResourceResourceTypes;3844 readonly pending: bool;3845 readonly pendingRemoval: bool;3846 }38473848 /** @name RmrkTraitsPropertyPropertyInfo (488) */3849 interface RmrkTraitsPropertyPropertyInfo extends Struct {3850 readonly key: Bytes;3851 readonly value: Bytes;3852 }38533854 /** @name RmrkTraitsBaseBaseInfo (489) */3855 interface RmrkTraitsBaseBaseInfo extends Struct {3856 readonly issuer: AccountId32;3857 readonly baseType: Bytes;3858 readonly symbol: Bytes;3859 }38603861 /** @name RmrkTraitsNftNftChild (490) */3862 interface RmrkTraitsNftNftChild extends Struct {3863 readonly collectionId: u32;3864 readonly nftId: u32;3865 }38663867 /** @name UpPovEstimateRpcPovInfo (491) */3868 interface UpPovEstimateRpcPovInfo extends Struct {3869 readonly proofSize: u64;3870 readonly compactProofSize: u64;3871 readonly compressedProofSize: u64;3872 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3873 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3874 }38753876 /** @name SpRuntimeTransactionValidityTransactionValidityError (494) */3877 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3878 readonly isInvalid: boolean;3879 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3880 readonly isUnknown: boolean;3881 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;3882 readonly type: 'Invalid' | 'Unknown';3883 }38843885 /** @name SpRuntimeTransactionValidityInvalidTransaction (495) */3886 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3887 readonly isCall: boolean;3888 readonly isPayment: boolean;3889 readonly isFuture: boolean;3890 readonly isStale: boolean;3891 readonly isBadProof: boolean;3892 readonly isAncientBirthBlock: boolean;3893 readonly isExhaustsResources: boolean;3894 readonly isCustom: boolean;3895 readonly asCustom: u8;3896 readonly isBadMandatory: boolean;3897 readonly isMandatoryValidation: boolean;3898 readonly isBadSigner: boolean;3899 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3900 }39013902 /** @name SpRuntimeTransactionValidityUnknownTransaction (496) */3903 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3904 readonly isCannotLookup: boolean;3905 readonly isNoUnsignedValidator: boolean;3906 readonly isCustom: boolean;3907 readonly asCustom: u8;3908 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3909 }39103911 /** @name UpPovEstimateRpcTrieKeyValue (498) */3912 interface UpPovEstimateRpcTrieKeyValue extends Struct {3913 readonly key: Bytes;3914 readonly value: Bytes;3915 }39163917 /** @name PalletCommonError (500) */3918 interface PalletCommonError extends Enum {3919 readonly isCollectionNotFound: boolean;3920 readonly isMustBeTokenOwner: boolean;3921 readonly isNoPermission: boolean;3922 readonly isCantDestroyNotEmptyCollection: boolean;3923 readonly isPublicMintingNotAllowed: boolean;3924 readonly isAddressNotInAllowlist: boolean;3925 readonly isCollectionNameLimitExceeded: boolean;3926 readonly isCollectionDescriptionLimitExceeded: boolean;3927 readonly isCollectionTokenPrefixLimitExceeded: boolean;3928 readonly isTotalCollectionsLimitExceeded: boolean;3929 readonly isCollectionAdminCountExceeded: boolean;3930 readonly isCollectionLimitBoundsExceeded: boolean;3931 readonly isOwnerPermissionsCantBeReverted: boolean;3932 readonly isTransferNotAllowed: boolean;3933 readonly isAccountTokenLimitExceeded: boolean;3934 readonly isCollectionTokenLimitExceeded: boolean;3935 readonly isMetadataFlagFrozen: boolean;3936 readonly isTokenNotFound: boolean;3937 readonly isTokenValueTooLow: boolean;3938 readonly isApprovedValueTooLow: boolean;3939 readonly isCantApproveMoreThanOwned: boolean;3940 readonly isAddressIsZero: boolean;3941 readonly isUnsupportedOperation: boolean;3942 readonly isNotSufficientFounds: boolean;3943 readonly isUserIsNotAllowedToNest: boolean;3944 readonly isSourceCollectionIsNotAllowedToNest: boolean;3945 readonly isCollectionFieldSizeExceeded: boolean;3946 readonly isNoSpaceForProperty: boolean;3947 readonly isPropertyLimitReached: boolean;3948 readonly isPropertyKeyIsTooLong: boolean;3949 readonly isInvalidCharacterInPropertyKey: boolean;3950 readonly isEmptyPropertyKey: boolean;3951 readonly isCollectionIsExternal: boolean;3952 readonly isCollectionIsInternal: boolean;3953 readonly isConfirmSponsorshipFail: boolean;3954 readonly isUserIsNotCollectionAdmin: boolean;3955 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';3956 }39573958 /** @name PalletFungibleError (502) */3959 interface PalletFungibleError extends Enum {3960 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3961 readonly isFungibleItemsHaveNoId: boolean;3962 readonly isFungibleItemsDontHaveData: boolean;3963 readonly isFungibleDisallowsNesting: boolean;3964 readonly isSettingPropertiesNotAllowed: boolean;3965 readonly isSettingAllowanceForAllNotAllowed: boolean;3966 readonly isFungibleTokensAreAlwaysValid: boolean;3967 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3968 }39693970 /** @name PalletRefungibleError (506) */3971 interface PalletRefungibleError extends Enum {3972 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3973 readonly isWrongRefungiblePieces: boolean;3974 readonly isRepartitionWhileNotOwningAllPieces: boolean;3975 readonly isRefungibleDisallowsNesting: boolean;3976 readonly isSettingPropertiesNotAllowed: boolean;3977 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3978 }39793980 /** @name PalletNonfungibleItemData (507) */3981 interface PalletNonfungibleItemData extends Struct {3982 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3983 }39843985 /** @name UpDataStructsPropertyScope (509) */3986 interface UpDataStructsPropertyScope extends Enum {3987 readonly isNone: boolean;3988 readonly isRmrk: boolean;3989 readonly type: 'None' | 'Rmrk';3990 }39913992 /** @name PalletNonfungibleError (512) */3993 interface PalletNonfungibleError extends Enum {3994 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3995 readonly isNonfungibleItemsHaveNoAmount: boolean;3996 readonly isCantBurnNftWithChildren: boolean;3997 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3998 }39994000 /** @name PalletStructureError (513) */4001 interface PalletStructureError extends Enum {4002 readonly isOuroborosDetected: boolean;4003 readonly isDepthLimit: boolean;4004 readonly isBreadthLimit: boolean;4005 readonly isTokenNotFound: boolean;4006 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';4007 }40084009 /** @name PalletRmrkCoreError (514) */4010 interface PalletRmrkCoreError extends Enum {4011 readonly isCorruptedCollectionType: boolean;4012 readonly isRmrkPropertyKeyIsTooLong: boolean;4013 readonly isRmrkPropertyValueIsTooLong: boolean;4014 readonly isRmrkPropertyIsNotFound: boolean;4015 readonly isUnableToDecodeRmrkData: boolean;4016 readonly isCollectionNotEmpty: boolean;4017 readonly isNoAvailableCollectionId: boolean;4018 readonly isNoAvailableNftId: boolean;4019 readonly isCollectionUnknown: boolean;4020 readonly isNoPermission: boolean;4021 readonly isNonTransferable: boolean;4022 readonly isCollectionFullOrLocked: boolean;4023 readonly isResourceDoesntExist: boolean;4024 readonly isCannotSendToDescendentOrSelf: boolean;4025 readonly isCannotAcceptNonOwnedNft: boolean;4026 readonly isCannotRejectNonOwnedNft: boolean;4027 readonly isCannotRejectNonPendingNft: boolean;4028 readonly isResourceNotPending: boolean;4029 readonly isNoAvailableResourceId: boolean;4030 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';4031 }40324033 /** @name PalletRmrkEquipError (516) */4034 interface PalletRmrkEquipError extends Enum {4035 readonly isPermissionError: boolean;4036 readonly isNoAvailableBaseId: boolean;4037 readonly isNoAvailablePartId: boolean;4038 readonly isBaseDoesntExist: boolean;4039 readonly isNeedsDefaultThemeFirst: boolean;4040 readonly isPartDoesntExist: boolean;4041 readonly isNoEquippableOnFixedPart: boolean;4042 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';4043 }40444045 /** @name PalletAppPromotionError (522) */4046 interface PalletAppPromotionError extends Enum {4047 readonly isAdminNotSet: boolean;4048 readonly isNoPermission: boolean;4049 readonly isNotSufficientFunds: boolean;4050 readonly isPendingForBlockOverflow: boolean;4051 readonly isSponsorNotSet: boolean;4052 readonly isIncorrectLockedBalanceOperation: boolean;4053 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';4054 }40554056 /** @name PalletForeignAssetsModuleError (523) */4057 interface PalletForeignAssetsModuleError extends Enum {4058 readonly isBadLocation: boolean;4059 readonly isMultiLocationExisted: boolean;4060 readonly isAssetIdNotExists: boolean;4061 readonly isAssetIdExisted: boolean;4062 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';4063 }40644065 /** @name PalletEvmError (525) */4066 interface PalletEvmError extends Enum {4067 readonly isBalanceLow: boolean;4068 readonly isFeeOverflow: boolean;4069 readonly isPaymentOverflow: boolean;4070 readonly isWithdrawFailed: boolean;4071 readonly isGasPriceTooLow: boolean;4072 readonly isInvalidNonce: boolean;4073 readonly isGasLimitTooLow: boolean;4074 readonly isGasLimitTooHigh: boolean;4075 readonly isUndefined: boolean;4076 readonly isReentrancy: boolean;4077 readonly isTransactionMustComeFromEOA: boolean;4078 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';4079 }40804081 /** @name FpRpcTransactionStatus (528) */4082 interface FpRpcTransactionStatus extends Struct {4083 readonly transactionHash: H256;4084 readonly transactionIndex: u32;4085 readonly from: H160;4086 readonly to: Option<H160>;4087 readonly contractAddress: Option<H160>;4088 readonly logs: Vec<EthereumLog>;4089 readonly logsBloom: EthbloomBloom;4090 }40914092 /** @name EthbloomBloom (530) */4093 interface EthbloomBloom extends U8aFixed {}40944095 /** @name EthereumReceiptReceiptV3 (532) */4096 interface EthereumReceiptReceiptV3 extends Enum {4097 readonly isLegacy: boolean;4098 readonly asLegacy: EthereumReceiptEip658ReceiptData;4099 readonly isEip2930: boolean;4100 readonly asEip2930: EthereumReceiptEip658ReceiptData;4101 readonly isEip1559: boolean;4102 readonly asEip1559: EthereumReceiptEip658ReceiptData;4103 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';4104 }41054106 /** @name EthereumReceiptEip658ReceiptData (533) */4107 interface EthereumReceiptEip658ReceiptData extends Struct {4108 readonly statusCode: u8;4109 readonly usedGas: U256;4110 readonly logsBloom: EthbloomBloom;4111 readonly logs: Vec<EthereumLog>;4112 }41134114 /** @name EthereumBlock (534) */4115 interface EthereumBlock extends Struct {4116 readonly header: EthereumHeader;4117 readonly transactions: Vec<EthereumTransactionTransactionV2>;4118 readonly ommers: Vec<EthereumHeader>;4119 }41204121 /** @name EthereumHeader (535) */4122 interface EthereumHeader extends Struct {4123 readonly parentHash: H256;4124 readonly ommersHash: H256;4125 readonly beneficiary: H160;4126 readonly stateRoot: H256;4127 readonly transactionsRoot: H256;4128 readonly receiptsRoot: H256;4129 readonly logsBloom: EthbloomBloom;4130 readonly difficulty: U256;4131 readonly number: U256;4132 readonly gasLimit: U256;4133 readonly gasUsed: U256;4134 readonly timestamp: u64;4135 readonly extraData: Bytes;4136 readonly mixHash: H256;4137 readonly nonce: EthereumTypesHashH64;4138 }41394140 /** @name EthereumTypesHashH64 (536) */4141 interface EthereumTypesHashH64 extends U8aFixed {}41424143 /** @name PalletEthereumError (541) */4144 interface PalletEthereumError extends Enum {4145 readonly isInvalidSignature: boolean;4146 readonly isPreLogExists: boolean;4147 readonly type: 'InvalidSignature' | 'PreLogExists';4148 }41494150 /** @name PalletEvmCoderSubstrateError (542) */4151 interface PalletEvmCoderSubstrateError extends Enum {4152 readonly isOutOfGas: boolean;4153 readonly isOutOfFund: boolean;4154 readonly type: 'OutOfGas' | 'OutOfFund';4155 }41564157 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (543) */4158 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {4159 readonly isDisabled: boolean;4160 readonly isUnconfirmed: boolean;4161 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;4162 readonly isConfirmed: boolean;4163 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;4164 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';4165 }41664167 /** @name PalletEvmContractHelpersSponsoringModeT (544) */4168 interface PalletEvmContractHelpersSponsoringModeT extends Enum {4169 readonly isDisabled: boolean;4170 readonly isAllowlisted: boolean;4171 readonly isGenerous: boolean;4172 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';4173 }41744175 /** @name PalletEvmContractHelpersError (550) */4176 interface PalletEvmContractHelpersError extends Enum {4177 readonly isNoPermission: boolean;4178 readonly isNoPendingSponsor: boolean;4179 readonly isTooManyMethodsHaveSponsoredLimit: boolean;4180 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';4181 }41824183 /** @name PalletDataManagementError (551) */4184 interface PalletDataManagementError extends Enum {4185 readonly isAccountNotEmpty: boolean;4186 readonly isAccountIsNotMigrating: boolean;4187 readonly isBadEvent: boolean;4188 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';4189 }41904191 /** @name PalletMaintenanceError (552) */4192 type PalletMaintenanceError = Null;41934194 /** @name PalletTestUtilsError (553) */4195 interface PalletTestUtilsError extends Enum {4196 readonly isTestPalletDisabled: boolean;4197 readonly isTriggerRollback: boolean;4198 readonly type: 'TestPalletDisabled' | 'TriggerRollback';4199 }42004201 /** @name SpRuntimeMultiSignature (555) */4202 interface SpRuntimeMultiSignature extends Enum {4203 readonly isEd25519: boolean;4204 readonly asEd25519: SpCoreEd25519Signature;4205 readonly isSr25519: boolean;4206 readonly asSr25519: SpCoreSr25519Signature;4207 readonly isEcdsa: boolean;4208 readonly asEcdsa: SpCoreEcdsaSignature;4209 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';4210 }42114212 /** @name SpCoreEd25519Signature (556) */4213 interface SpCoreEd25519Signature extends U8aFixed {}42144215 /** @name SpCoreSr25519Signature (558) */4216 interface SpCoreSr25519Signature extends U8aFixed {}42174218 /** @name SpCoreEcdsaSignature (559) */4219 interface SpCoreEcdsaSignature extends U8aFixed {}42204221 /** @name FrameSystemExtensionsCheckSpecVersion (562) */4222 type FrameSystemExtensionsCheckSpecVersion = Null;42234224 /** @name FrameSystemExtensionsCheckTxVersion (563) */4225 type FrameSystemExtensionsCheckTxVersion = Null;42264227 /** @name FrameSystemExtensionsCheckGenesis (564) */4228 type FrameSystemExtensionsCheckGenesis = Null;42294230 /** @name FrameSystemExtensionsCheckNonce (567) */4231 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}42324233 /** @name FrameSystemExtensionsCheckWeight (568) */4234 type FrameSystemExtensionsCheckWeight = Null;42354236 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (569) */4237 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;42384239 /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (570) */4240 type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;42414242 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (571) */4243 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}42444245 /** @name OpalRuntimeRuntime (572) */4246 type OpalRuntimeRuntime = Null;42474248 /** @name PalletEthereumFakeTransactionFinalizer (573) */4249 type PalletEthereumFakeTransactionFinalizer = Null;42504251} // 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',
- 'datamanagement',
+ 'evmmigration',
'evmtransactionpayment',
'ethereum',
'fungible',