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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { Data } from '@polkadot/types';5import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8import type { Event } from '@polkadot/types/interfaces/system';910/** @name CumulusPalletDmpQueueCall */11export interface CumulusPalletDmpQueueCall extends Enum {12 readonly isServiceOverweight: boolean;13 readonly asServiceOverweight: {14 readonly index: u64;15 readonly weightLimit: u64;16 } & Struct;17 readonly type: 'ServiceOverweight';18}1920/** @name CumulusPalletDmpQueueConfigData */21export interface CumulusPalletDmpQueueConfigData extends Struct {22 readonly maxIndividual: SpWeightsWeightV2Weight;23}2425/** @name CumulusPalletDmpQueueError */26export interface CumulusPalletDmpQueueError extends Enum {27 readonly isUnknown: boolean;28 readonly isOverLimit: boolean;29 readonly type: 'Unknown' | 'OverLimit';30}3132/** @name CumulusPalletDmpQueueEvent */33export interface CumulusPalletDmpQueueEvent extends Enum {34 readonly isInvalidFormat: boolean;35 readonly asInvalidFormat: {36 readonly messageId: U8aFixed;37 } & Struct;38 readonly isUnsupportedVersion: boolean;39 readonly asUnsupportedVersion: {40 readonly messageId: U8aFixed;41 } & Struct;42 readonly isExecutedDownward: boolean;43 readonly asExecutedDownward: {44 readonly messageId: U8aFixed;45 readonly outcome: XcmV2TraitsOutcome;46 } & Struct;47 readonly isWeightExhausted: boolean;48 readonly asWeightExhausted: {49 readonly messageId: U8aFixed;50 readonly remainingWeight: SpWeightsWeightV2Weight;51 readonly requiredWeight: SpWeightsWeightV2Weight;52 } & Struct;53 readonly isOverweightEnqueued: boolean;54 readonly asOverweightEnqueued: {55 readonly messageId: U8aFixed;56 readonly overweightIndex: u64;57 readonly requiredWeight: SpWeightsWeightV2Weight;58 } & Struct;59 readonly isOverweightServiced: boolean;60 readonly asOverweightServiced: {61 readonly overweightIndex: u64;62 readonly weightUsed: SpWeightsWeightV2Weight;63 } & Struct;64 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';65}6667/** @name CumulusPalletDmpQueuePageIndexData */68export interface CumulusPalletDmpQueuePageIndexData extends Struct {69 readonly beginUsed: u32;70 readonly endUsed: u32;71 readonly overweightCount: u64;72}7374/** @name CumulusPalletParachainSystemCall */75export interface CumulusPalletParachainSystemCall extends Enum {76 readonly isSetValidationData: boolean;77 readonly asSetValidationData: {78 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;79 } & Struct;80 readonly isSudoSendUpwardMessage: boolean;81 readonly asSudoSendUpwardMessage: {82 readonly message: Bytes;83 } & Struct;84 readonly isAuthorizeUpgrade: boolean;85 readonly asAuthorizeUpgrade: {86 readonly codeHash: H256;87 } & Struct;88 readonly isEnactAuthorizedUpgrade: boolean;89 readonly asEnactAuthorizedUpgrade: {90 readonly code: Bytes;91 } & Struct;92 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';93}9495/** @name CumulusPalletParachainSystemError */96export interface CumulusPalletParachainSystemError extends Enum {97 readonly isOverlappingUpgrades: boolean;98 readonly isProhibitedByPolkadot: boolean;99 readonly isTooBig: boolean;100 readonly isValidationDataNotAvailable: boolean;101 readonly isHostConfigurationNotAvailable: boolean;102 readonly isNotScheduled: boolean;103 readonly isNothingAuthorized: boolean;104 readonly isUnauthorized: boolean;105 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';106}107108/** @name CumulusPalletParachainSystemEvent */109export interface CumulusPalletParachainSystemEvent extends Enum {110 readonly isValidationFunctionStored: boolean;111 readonly isValidationFunctionApplied: boolean;112 readonly asValidationFunctionApplied: {113 readonly relayChainBlockNum: u32;114 } & Struct;115 readonly isValidationFunctionDiscarded: boolean;116 readonly isUpgradeAuthorized: boolean;117 readonly asUpgradeAuthorized: {118 readonly codeHash: H256;119 } & Struct;120 readonly isDownwardMessagesReceived: boolean;121 readonly asDownwardMessagesReceived: {122 readonly count: u32;123 } & Struct;124 readonly isDownwardMessagesProcessed: boolean;125 readonly asDownwardMessagesProcessed: {126 readonly weightUsed: SpWeightsWeightV2Weight;127 readonly dmqHead: H256;128 } & Struct;129 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';130}131132/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */133export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {134 readonly dmqMqcHead: H256;135 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;136 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;138}139140/** @name CumulusPalletXcmCall */141export interface CumulusPalletXcmCall extends Null {}142143/** @name CumulusPalletXcmError */144export interface CumulusPalletXcmError extends Null {}145146/** @name CumulusPalletXcmEvent */147export interface CumulusPalletXcmEvent extends Enum {148 readonly isInvalidFormat: boolean;149 readonly asInvalidFormat: U8aFixed;150 readonly isUnsupportedVersion: boolean;151 readonly asUnsupportedVersion: U8aFixed;152 readonly isExecutedDownward: boolean;153 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;154 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';155}156157/** @name CumulusPalletXcmpQueueCall */158export interface CumulusPalletXcmpQueueCall extends Enum {159 readonly isServiceOverweight: boolean;160 readonly asServiceOverweight: {161 readonly index: u64;162 readonly weightLimit: u64;163 } & Struct;164 readonly isSuspendXcmExecution: boolean;165 readonly isResumeXcmExecution: boolean;166 readonly isUpdateSuspendThreshold: boolean;167 readonly asUpdateSuspendThreshold: {168 readonly new_: u32;169 } & Struct;170 readonly isUpdateDropThreshold: boolean;171 readonly asUpdateDropThreshold: {172 readonly new_: u32;173 } & Struct;174 readonly isUpdateResumeThreshold: boolean;175 readonly asUpdateResumeThreshold: {176 readonly new_: u32;177 } & Struct;178 readonly isUpdateThresholdWeight: boolean;179 readonly asUpdateThresholdWeight: {180 readonly new_: u64;181 } & Struct;182 readonly isUpdateWeightRestrictDecay: boolean;183 readonly asUpdateWeightRestrictDecay: {184 readonly new_: u64;185 } & Struct;186 readonly isUpdateXcmpMaxIndividualWeight: boolean;187 readonly asUpdateXcmpMaxIndividualWeight: {188 readonly new_: u64;189 } & Struct;190 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';191}192193/** @name CumulusPalletXcmpQueueError */194export interface CumulusPalletXcmpQueueError extends Enum {195 readonly isFailedToSend: boolean;196 readonly isBadXcmOrigin: boolean;197 readonly isBadXcm: boolean;198 readonly isBadOverweightIndex: boolean;199 readonly isWeightOverLimit: boolean;200 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';201}202203/** @name CumulusPalletXcmpQueueEvent */204export interface CumulusPalletXcmpQueueEvent extends Enum {205 readonly isSuccess: boolean;206 readonly asSuccess: {207 readonly messageHash: Option<H256>;208 readonly weight: SpWeightsWeightV2Weight;209 } & Struct;210 readonly isFail: boolean;211 readonly asFail: {212 readonly messageHash: Option<H256>;213 readonly error: XcmV2TraitsError;214 readonly weight: SpWeightsWeightV2Weight;215 } & Struct;216 readonly isBadVersion: boolean;217 readonly asBadVersion: {218 readonly messageHash: Option<H256>;219 } & Struct;220 readonly isBadFormat: boolean;221 readonly asBadFormat: {222 readonly messageHash: Option<H256>;223 } & Struct;224 readonly isUpwardMessageSent: boolean;225 readonly asUpwardMessageSent: {226 readonly messageHash: Option<H256>;227 } & Struct;228 readonly isXcmpMessageSent: boolean;229 readonly asXcmpMessageSent: {230 readonly messageHash: Option<H256>;231 } & Struct;232 readonly isOverweightEnqueued: boolean;233 readonly asOverweightEnqueued: {234 readonly sender: u32;235 readonly sentAt: u32;236 readonly index: u64;237 readonly required: SpWeightsWeightV2Weight;238 } & Struct;239 readonly isOverweightServiced: boolean;240 readonly asOverweightServiced: {241 readonly index: u64;242 readonly used: SpWeightsWeightV2Weight;243 } & Struct;244 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';245}246247/** @name CumulusPalletXcmpQueueInboundChannelDetails */248export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {249 readonly sender: u32;250 readonly state: CumulusPalletXcmpQueueInboundState;251 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;252}253254/** @name CumulusPalletXcmpQueueInboundState */255export interface CumulusPalletXcmpQueueInboundState extends Enum {256 readonly isOk: boolean;257 readonly isSuspended: boolean;258 readonly type: 'Ok' | 'Suspended';259}260261/** @name CumulusPalletXcmpQueueOutboundChannelDetails */262export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {263 readonly recipient: u32;264 readonly state: CumulusPalletXcmpQueueOutboundState;265 readonly signalsExist: bool;266 readonly firstIndex: u16;267 readonly lastIndex: u16;268}269270/** @name CumulusPalletXcmpQueueOutboundState */271export interface CumulusPalletXcmpQueueOutboundState extends Enum {272 readonly isOk: boolean;273 readonly isSuspended: boolean;274 readonly type: 'Ok' | 'Suspended';275}276277/** @name CumulusPalletXcmpQueueQueueConfigData */278export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {279 readonly suspendThreshold: u32;280 readonly dropThreshold: u32;281 readonly resumeThreshold: u32;282 readonly thresholdWeight: SpWeightsWeightV2Weight;283 readonly weightRestrictDecay: SpWeightsWeightV2Weight;284 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;285}286287/** @name CumulusPrimitivesParachainInherentParachainInherentData */288export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {289 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;290 readonly relayChainState: SpTrieStorageProof;291 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;292 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;293}294295/** @name EthbloomBloom */296export interface EthbloomBloom extends U8aFixed {}297298/** @name EthereumBlock */299export interface EthereumBlock extends Struct {300 readonly header: EthereumHeader;301 readonly transactions: Vec<EthereumTransactionTransactionV2>;302 readonly ommers: Vec<EthereumHeader>;303}304305/** @name EthereumHeader */306export interface EthereumHeader extends Struct {307 readonly parentHash: H256;308 readonly ommersHash: H256;309 readonly beneficiary: H160;310 readonly stateRoot: H256;311 readonly transactionsRoot: H256;312 readonly receiptsRoot: H256;313 readonly logsBloom: EthbloomBloom;314 readonly difficulty: U256;315 readonly number: U256;316 readonly gasLimit: U256;317 readonly gasUsed: U256;318 readonly timestamp: u64;319 readonly extraData: Bytes;320 readonly mixHash: H256;321 readonly nonce: EthereumTypesHashH64;322}323324/** @name EthereumLog */325export interface EthereumLog extends Struct {326 readonly address: H160;327 readonly topics: Vec<H256>;328 readonly data: Bytes;329}330331/** @name EthereumReceiptEip658ReceiptData */332export interface EthereumReceiptEip658ReceiptData extends Struct {333 readonly statusCode: u8;334 readonly usedGas: U256;335 readonly logsBloom: EthbloomBloom;336 readonly logs: Vec<EthereumLog>;337}338339/** @name EthereumReceiptReceiptV3 */340export interface EthereumReceiptReceiptV3 extends Enum {341 readonly isLegacy: boolean;342 readonly asLegacy: EthereumReceiptEip658ReceiptData;343 readonly isEip2930: boolean;344 readonly asEip2930: EthereumReceiptEip658ReceiptData;345 readonly isEip1559: boolean;346 readonly asEip1559: EthereumReceiptEip658ReceiptData;347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';348}349350/** @name EthereumTransactionAccessListItem */351export interface EthereumTransactionAccessListItem extends Struct {352 readonly address: H160;353 readonly storageKeys: Vec<H256>;354}355356/** @name EthereumTransactionEip1559Transaction */357export interface EthereumTransactionEip1559Transaction extends Struct {358 readonly chainId: u64;359 readonly nonce: U256;360 readonly maxPriorityFeePerGas: U256;361 readonly maxFeePerGas: U256;362 readonly gasLimit: U256;363 readonly action: EthereumTransactionTransactionAction;364 readonly value: U256;365 readonly input: Bytes;366 readonly accessList: Vec<EthereumTransactionAccessListItem>;367 readonly oddYParity: bool;368 readonly r: H256;369 readonly s: H256;370}371372/** @name EthereumTransactionEip2930Transaction */373export interface EthereumTransactionEip2930Transaction extends Struct {374 readonly chainId: u64;375 readonly nonce: U256;376 readonly gasPrice: U256;377 readonly gasLimit: U256;378 readonly action: EthereumTransactionTransactionAction;379 readonly value: U256;380 readonly input: Bytes;381 readonly accessList: Vec<EthereumTransactionAccessListItem>;382 readonly oddYParity: bool;383 readonly r: H256;384 readonly s: H256;385}386387/** @name EthereumTransactionLegacyTransaction */388export interface EthereumTransactionLegacyTransaction extends Struct {389 readonly nonce: U256;390 readonly gasPrice: U256;391 readonly gasLimit: U256;392 readonly action: EthereumTransactionTransactionAction;393 readonly value: U256;394 readonly input: Bytes;395 readonly signature: EthereumTransactionTransactionSignature;396}397398/** @name EthereumTransactionTransactionAction */399export interface EthereumTransactionTransactionAction extends Enum {400 readonly isCall: boolean;401 readonly asCall: H160;402 readonly isCreate: boolean;403 readonly type: 'Call' | 'Create';404}405406/** @name EthereumTransactionTransactionSignature */407export interface EthereumTransactionTransactionSignature extends Struct {408 readonly v: u64;409 readonly r: H256;410 readonly s: H256;411}412413/** @name EthereumTransactionTransactionV2 */414export interface EthereumTransactionTransactionV2 extends Enum {415 readonly isLegacy: boolean;416 readonly asLegacy: EthereumTransactionLegacyTransaction;417 readonly isEip2930: boolean;418 readonly asEip2930: EthereumTransactionEip2930Transaction;419 readonly isEip1559: boolean;420 readonly asEip1559: EthereumTransactionEip1559Transaction;421 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';422}423424/** @name EthereumTypesHashH64 */425export interface EthereumTypesHashH64 extends U8aFixed {}426427/** @name EvmCoreErrorExitError */428export interface EvmCoreErrorExitError extends Enum {429 readonly isStackUnderflow: boolean;430 readonly isStackOverflow: boolean;431 readonly isInvalidJump: boolean;432 readonly isInvalidRange: boolean;433 readonly isDesignatedInvalid: boolean;434 readonly isCallTooDeep: boolean;435 readonly isCreateCollision: boolean;436 readonly isCreateContractLimit: boolean;437 readonly isOutOfOffset: boolean;438 readonly isOutOfGas: boolean;439 readonly isOutOfFund: boolean;440 readonly isPcUnderflow: boolean;441 readonly isCreateEmpty: boolean;442 readonly isOther: boolean;443 readonly asOther: Text;444 readonly isInvalidCode: boolean;445 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';446}447448/** @name EvmCoreErrorExitFatal */449export interface EvmCoreErrorExitFatal extends Enum {450 readonly isNotSupported: boolean;451 readonly isUnhandledInterrupt: boolean;452 readonly isCallErrorAsFatal: boolean;453 readonly asCallErrorAsFatal: EvmCoreErrorExitError;454 readonly isOther: boolean;455 readonly asOther: Text;456 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';457}458459/** @name EvmCoreErrorExitReason */460export interface EvmCoreErrorExitReason extends Enum {461 readonly isSucceed: boolean;462 readonly asSucceed: EvmCoreErrorExitSucceed;463 readonly isError: boolean;464 readonly asError: EvmCoreErrorExitError;465 readonly isRevert: boolean;466 readonly asRevert: EvmCoreErrorExitRevert;467 readonly isFatal: boolean;468 readonly asFatal: EvmCoreErrorExitFatal;469 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';470}471472/** @name EvmCoreErrorExitRevert */473export interface EvmCoreErrorExitRevert extends Enum {474 readonly isReverted: boolean;475 readonly type: 'Reverted';476}477478/** @name EvmCoreErrorExitSucceed */479export interface EvmCoreErrorExitSucceed extends Enum {480 readonly isStopped: boolean;481 readonly isReturned: boolean;482 readonly isSuicided: boolean;483 readonly type: 'Stopped' | 'Returned' | 'Suicided';484}485486/** @name FpRpcTransactionStatus */487export interface FpRpcTransactionStatus extends Struct {488 readonly transactionHash: H256;489 readonly transactionIndex: u32;490 readonly from: H160;491 readonly to: Option<H160>;492 readonly contractAddress: Option<H160>;493 readonly logs: Vec<EthereumLog>;494 readonly logsBloom: EthbloomBloom;495}496497/** @name FrameSupportDispatchDispatchClass */498export interface FrameSupportDispatchDispatchClass extends Enum {499 readonly isNormal: boolean;500 readonly isOperational: boolean;501 readonly isMandatory: boolean;502 readonly type: 'Normal' | 'Operational' | 'Mandatory';503}504505/** @name FrameSupportDispatchDispatchInfo */506export interface FrameSupportDispatchDispatchInfo extends Struct {507 readonly weight: SpWeightsWeightV2Weight;508 readonly class: FrameSupportDispatchDispatchClass;509 readonly paysFee: FrameSupportDispatchPays;510}511512/** @name FrameSupportDispatchPays */513export interface FrameSupportDispatchPays extends Enum {514 readonly isYes: boolean;515 readonly isNo: boolean;516 readonly type: 'Yes' | 'No';517}518519/** @name FrameSupportDispatchPerDispatchClassU32 */520export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {521 readonly normal: u32;522 readonly operational: u32;523 readonly mandatory: u32;524}525526/** @name FrameSupportDispatchPerDispatchClassWeight */527export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {528 readonly normal: SpWeightsWeightV2Weight;529 readonly operational: SpWeightsWeightV2Weight;530 readonly mandatory: SpWeightsWeightV2Weight;531}532533/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */534export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {535 readonly normal: FrameSystemLimitsWeightsPerClass;536 readonly operational: FrameSystemLimitsWeightsPerClass;537 readonly mandatory: FrameSystemLimitsWeightsPerClass;538}539540/** @name FrameSupportPalletId */541export interface FrameSupportPalletId extends U8aFixed {}542543/** @name FrameSupportTokensMiscBalanceStatus */544export interface FrameSupportTokensMiscBalanceStatus extends Enum {545 readonly isFree: boolean;546 readonly isReserved: boolean;547 readonly type: 'Free' | 'Reserved';548}549550/** @name FrameSystemAccountInfo */551export interface FrameSystemAccountInfo extends Struct {552 readonly nonce: u32;553 readonly consumers: u32;554 readonly providers: u32;555 readonly sufficients: u32;556 readonly data: PalletBalancesAccountData;557}558559/** @name FrameSystemCall */560export interface FrameSystemCall extends Enum {561 readonly isRemark: boolean;562 readonly asRemark: {563 readonly remark: Bytes;564 } & Struct;565 readonly isSetHeapPages: boolean;566 readonly asSetHeapPages: {567 readonly pages: u64;568 } & Struct;569 readonly isSetCode: boolean;570 readonly asSetCode: {571 readonly code: Bytes;572 } & Struct;573 readonly isSetCodeWithoutChecks: boolean;574 readonly asSetCodeWithoutChecks: {575 readonly code: Bytes;576 } & Struct;577 readonly isSetStorage: boolean;578 readonly asSetStorage: {579 readonly items: Vec<ITuple<[Bytes, Bytes]>>;580 } & Struct;581 readonly isKillStorage: boolean;582 readonly asKillStorage: {583 readonly keys_: Vec<Bytes>;584 } & Struct;585 readonly isKillPrefix: boolean;586 readonly asKillPrefix: {587 readonly prefix: Bytes;588 readonly subkeys: u32;589 } & Struct;590 readonly isRemarkWithEvent: boolean;591 readonly asRemarkWithEvent: {592 readonly remark: Bytes;593 } & Struct;594 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';595}596597/** @name FrameSystemError */598export interface FrameSystemError extends Enum {599 readonly isInvalidSpecName: boolean;600 readonly isSpecVersionNeedsToIncrease: boolean;601 readonly isFailedToExtractRuntimeVersion: boolean;602 readonly isNonDefaultComposite: boolean;603 readonly isNonZeroRefCount: boolean;604 readonly isCallFiltered: boolean;605 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';606}607608/** @name FrameSystemEvent */609export interface FrameSystemEvent extends Enum {610 readonly isExtrinsicSuccess: boolean;611 readonly asExtrinsicSuccess: {612 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;613 } & Struct;614 readonly isExtrinsicFailed: boolean;615 readonly asExtrinsicFailed: {616 readonly dispatchError: SpRuntimeDispatchError;617 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;618 } & Struct;619 readonly isCodeUpdated: boolean;620 readonly isNewAccount: boolean;621 readonly asNewAccount: {622 readonly account: AccountId32;623 } & Struct;624 readonly isKilledAccount: boolean;625 readonly asKilledAccount: {626 readonly account: AccountId32;627 } & Struct;628 readonly isRemarked: boolean;629 readonly asRemarked: {630 readonly sender: AccountId32;631 readonly hash_: H256;632 } & Struct;633 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';634}635636/** @name FrameSystemEventRecord */637export interface FrameSystemEventRecord extends Struct {638 readonly phase: FrameSystemPhase;639 readonly event: Event;640 readonly topics: Vec<H256>;641}642643/** @name FrameSystemExtensionsCheckGenesis */644export interface FrameSystemExtensionsCheckGenesis extends Null {}645646/** @name FrameSystemExtensionsCheckNonce */647export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}648649/** @name FrameSystemExtensionsCheckSpecVersion */650export interface FrameSystemExtensionsCheckSpecVersion extends Null {}651652/** @name FrameSystemExtensionsCheckTxVersion */653export interface FrameSystemExtensionsCheckTxVersion extends Null {}654655/** @name FrameSystemExtensionsCheckWeight */656export interface FrameSystemExtensionsCheckWeight extends Null {}657658/** @name FrameSystemLastRuntimeUpgradeInfo */659export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {660 readonly specVersion: Compact<u32>;661 readonly specName: Text;662}663664/** @name FrameSystemLimitsBlockLength */665export interface FrameSystemLimitsBlockLength extends Struct {666 readonly max: FrameSupportDispatchPerDispatchClassU32;667}668669/** @name FrameSystemLimitsBlockWeights */670export interface FrameSystemLimitsBlockWeights extends Struct {671 readonly baseBlock: SpWeightsWeightV2Weight;672 readonly maxBlock: SpWeightsWeightV2Weight;673 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;674}675676/** @name FrameSystemLimitsWeightsPerClass */677export interface FrameSystemLimitsWeightsPerClass extends Struct {678 readonly baseExtrinsic: SpWeightsWeightV2Weight;679 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;680 readonly maxTotal: Option<SpWeightsWeightV2Weight>;681 readonly reserved: Option<SpWeightsWeightV2Weight>;682}683684/** @name FrameSystemPhase */685export interface FrameSystemPhase extends Enum {686 readonly isApplyExtrinsic: boolean;687 readonly asApplyExtrinsic: u32;688 readonly isFinalization: boolean;689 readonly isInitialization: boolean;690 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';691}692693/** @name OpalRuntimeRuntime */694export interface OpalRuntimeRuntime extends Null {}695696/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */697export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}698699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}701702/** @name OpalRuntimeRuntimeCommonSessionKeys */703export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {704 readonly aura: SpConsensusAuraSr25519AppSr25519Public;705}706707/** @name OrmlTokensAccountData */708export interface OrmlTokensAccountData extends Struct {709 readonly free: u128;710 readonly reserved: u128;711 readonly frozen: u128;712}713714/** @name OrmlTokensBalanceLock */715export interface OrmlTokensBalanceLock extends Struct {716 readonly id: U8aFixed;717 readonly amount: u128;718}719720/** @name OrmlTokensModuleCall */721export interface OrmlTokensModuleCall extends Enum {722 readonly isTransfer: boolean;723 readonly asTransfer: {724 readonly dest: MultiAddress;725 readonly currencyId: PalletForeignAssetsAssetIds;726 readonly amount: Compact<u128>;727 } & Struct;728 readonly isTransferAll: boolean;729 readonly asTransferAll: {730 readonly dest: MultiAddress;731 readonly currencyId: PalletForeignAssetsAssetIds;732 readonly keepAlive: bool;733 } & Struct;734 readonly isTransferKeepAlive: boolean;735 readonly asTransferKeepAlive: {736 readonly dest: MultiAddress;737 readonly currencyId: PalletForeignAssetsAssetIds;738 readonly amount: Compact<u128>;739 } & Struct;740 readonly isForceTransfer: boolean;741 readonly asForceTransfer: {742 readonly source: MultiAddress;743 readonly dest: MultiAddress;744 readonly currencyId: PalletForeignAssetsAssetIds;745 readonly amount: Compact<u128>;746 } & Struct;747 readonly isSetBalance: boolean;748 readonly asSetBalance: {749 readonly who: MultiAddress;750 readonly currencyId: PalletForeignAssetsAssetIds;751 readonly newFree: Compact<u128>;752 readonly newReserved: Compact<u128>;753 } & Struct;754 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';755}756757/** @name OrmlTokensModuleError */758export interface OrmlTokensModuleError extends Enum {759 readonly isBalanceTooLow: boolean;760 readonly isAmountIntoBalanceFailed: boolean;761 readonly isLiquidityRestrictions: boolean;762 readonly isMaxLocksExceeded: boolean;763 readonly isKeepAlive: boolean;764 readonly isExistentialDeposit: boolean;765 readonly isDeadAccount: boolean;766 readonly isTooManyReserves: boolean;767 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';768}769770/** @name OrmlTokensModuleEvent */771export interface OrmlTokensModuleEvent extends Enum {772 readonly isEndowed: boolean;773 readonly asEndowed: {774 readonly currencyId: PalletForeignAssetsAssetIds;775 readonly who: AccountId32;776 readonly amount: u128;777 } & Struct;778 readonly isDustLost: boolean;779 readonly asDustLost: {780 readonly currencyId: PalletForeignAssetsAssetIds;781 readonly who: AccountId32;782 readonly amount: u128;783 } & Struct;784 readonly isTransfer: boolean;785 readonly asTransfer: {786 readonly currencyId: PalletForeignAssetsAssetIds;787 readonly from: AccountId32;788 readonly to: AccountId32;789 readonly amount: u128;790 } & Struct;791 readonly isReserved: boolean;792 readonly asReserved: {793 readonly currencyId: PalletForeignAssetsAssetIds;794 readonly who: AccountId32;795 readonly amount: u128;796 } & Struct;797 readonly isUnreserved: boolean;798 readonly asUnreserved: {799 readonly currencyId: PalletForeignAssetsAssetIds;800 readonly who: AccountId32;801 readonly amount: u128;802 } & Struct;803 readonly isReserveRepatriated: boolean;804 readonly asReserveRepatriated: {805 readonly currencyId: PalletForeignAssetsAssetIds;806 readonly from: AccountId32;807 readonly to: AccountId32;808 readonly amount: u128;809 readonly status: FrameSupportTokensMiscBalanceStatus;810 } & Struct;811 readonly isBalanceSet: boolean;812 readonly asBalanceSet: {813 readonly currencyId: PalletForeignAssetsAssetIds;814 readonly who: AccountId32;815 readonly free: u128;816 readonly reserved: u128;817 } & Struct;818 readonly isTotalIssuanceSet: boolean;819 readonly asTotalIssuanceSet: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly amount: u128;822 } & Struct;823 readonly isWithdrawn: boolean;824 readonly asWithdrawn: {825 readonly currencyId: PalletForeignAssetsAssetIds;826 readonly who: AccountId32;827 readonly amount: u128;828 } & Struct;829 readonly isSlashed: boolean;830 readonly asSlashed: {831 readonly currencyId: PalletForeignAssetsAssetIds;832 readonly who: AccountId32;833 readonly freeAmount: u128;834 readonly reservedAmount: u128;835 } & Struct;836 readonly isDeposited: boolean;837 readonly asDeposited: {838 readonly currencyId: PalletForeignAssetsAssetIds;839 readonly who: AccountId32;840 readonly amount: u128;841 } & Struct;842 readonly isLockSet: boolean;843 readonly asLockSet: {844 readonly lockId: U8aFixed;845 readonly currencyId: PalletForeignAssetsAssetIds;846 readonly who: AccountId32;847 readonly amount: u128;848 } & Struct;849 readonly isLockRemoved: boolean;850 readonly asLockRemoved: {851 readonly lockId: U8aFixed;852 readonly currencyId: PalletForeignAssetsAssetIds;853 readonly who: AccountId32;854 } & Struct;855 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';856}857858/** @name OrmlTokensReserveData */859export interface OrmlTokensReserveData extends Struct {860 readonly id: Null;861 readonly amount: u128;862}863864/** @name OrmlVestingModuleCall */865export interface OrmlVestingModuleCall extends Enum {866 readonly isClaim: boolean;867 readonly isVestedTransfer: boolean;868 readonly asVestedTransfer: {869 readonly dest: MultiAddress;870 readonly schedule: OrmlVestingVestingSchedule;871 } & Struct;872 readonly isUpdateVestingSchedules: boolean;873 readonly asUpdateVestingSchedules: {874 readonly who: MultiAddress;875 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;876 } & Struct;877 readonly isClaimFor: boolean;878 readonly asClaimFor: {879 readonly dest: MultiAddress;880 } & Struct;881 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';882}883884/** @name OrmlVestingModuleError */885export interface OrmlVestingModuleError extends Enum {886 readonly isZeroVestingPeriod: boolean;887 readonly isZeroVestingPeriodCount: boolean;888 readonly isInsufficientBalanceToLock: boolean;889 readonly isTooManyVestingSchedules: boolean;890 readonly isAmountLow: boolean;891 readonly isMaxVestingSchedulesExceeded: boolean;892 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';893}894895/** @name OrmlVestingModuleEvent */896export interface OrmlVestingModuleEvent extends Enum {897 readonly isVestingScheduleAdded: boolean;898 readonly asVestingScheduleAdded: {899 readonly from: AccountId32;900 readonly to: AccountId32;901 readonly vestingSchedule: OrmlVestingVestingSchedule;902 } & Struct;903 readonly isClaimed: boolean;904 readonly asClaimed: {905 readonly who: AccountId32;906 readonly amount: u128;907 } & Struct;908 readonly isVestingSchedulesUpdated: boolean;909 readonly asVestingSchedulesUpdated: {910 readonly who: AccountId32;911 } & Struct;912 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';913}914915/** @name OrmlVestingVestingSchedule */916export interface OrmlVestingVestingSchedule extends Struct {917 readonly start: u32;918 readonly period: u32;919 readonly periodCount: u32;920 readonly perPeriod: Compact<u128>;921}922923/** @name OrmlXtokensModuleCall */924export interface OrmlXtokensModuleCall extends Enum {925 readonly isTransfer: boolean;926 readonly asTransfer: {927 readonly currencyId: PalletForeignAssetsAssetIds;928 readonly amount: u128;929 readonly dest: XcmVersionedMultiLocation;930 readonly destWeightLimit: XcmV2WeightLimit;931 } & Struct;932 readonly isTransferMultiasset: boolean;933 readonly asTransferMultiasset: {934 readonly asset: XcmVersionedMultiAsset;935 readonly dest: XcmVersionedMultiLocation;936 readonly destWeightLimit: XcmV2WeightLimit;937 } & Struct;938 readonly isTransferWithFee: boolean;939 readonly asTransferWithFee: {940 readonly currencyId: PalletForeignAssetsAssetIds;941 readonly amount: u128;942 readonly fee: u128;943 readonly dest: XcmVersionedMultiLocation;944 readonly destWeightLimit: XcmV2WeightLimit;945 } & Struct;946 readonly isTransferMultiassetWithFee: boolean;947 readonly asTransferMultiassetWithFee: {948 readonly asset: XcmVersionedMultiAsset;949 readonly fee: XcmVersionedMultiAsset;950 readonly dest: XcmVersionedMultiLocation;951 readonly destWeightLimit: XcmV2WeightLimit;952 } & Struct;953 readonly isTransferMulticurrencies: boolean;954 readonly asTransferMulticurrencies: {955 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;956 readonly feeItem: u32;957 readonly dest: XcmVersionedMultiLocation;958 readonly destWeightLimit: XcmV2WeightLimit;959 } & Struct;960 readonly isTransferMultiassets: boolean;961 readonly asTransferMultiassets: {962 readonly assets: XcmVersionedMultiAssets;963 readonly feeItem: u32;964 readonly dest: XcmVersionedMultiLocation;965 readonly destWeightLimit: XcmV2WeightLimit;966 } & Struct;967 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';968}969970/** @name OrmlXtokensModuleError */971export interface OrmlXtokensModuleError extends Enum {972 readonly isAssetHasNoReserve: boolean;973 readonly isNotCrossChainTransfer: boolean;974 readonly isInvalidDest: boolean;975 readonly isNotCrossChainTransferableCurrency: boolean;976 readonly isUnweighableMessage: boolean;977 readonly isXcmExecutionFailed: boolean;978 readonly isCannotReanchor: boolean;979 readonly isInvalidAncestry: boolean;980 readonly isInvalidAsset: boolean;981 readonly isDestinationNotInvertible: boolean;982 readonly isBadVersion: boolean;983 readonly isDistinctReserveForAssetAndFee: boolean;984 readonly isZeroFee: boolean;985 readonly isZeroAmount: boolean;986 readonly isTooManyAssetsBeingSent: boolean;987 readonly isAssetIndexNonExistent: boolean;988 readonly isFeeNotEnough: boolean;989 readonly isNotSupportedMultiLocation: boolean;990 readonly isMinXcmFeeNotDefined: boolean;991 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';992}993994/** @name OrmlXtokensModuleEvent */995export interface OrmlXtokensModuleEvent extends Enum {996 readonly isTransferredMultiAssets: boolean;997 readonly asTransferredMultiAssets: {998 readonly sender: AccountId32;999 readonly assets: XcmV1MultiassetMultiAssets;1000 readonly fee: XcmV1MultiAsset;1001 readonly dest: XcmV1MultiLocation;1002 } & Struct;1003 readonly type: 'TransferredMultiAssets';1004}10051006/** @name PalletAppPromotionCall */1007export interface PalletAppPromotionCall extends Enum {1008 readonly isSetAdminAddress: boolean;1009 readonly asSetAdminAddress: {1010 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1011 } & Struct;1012 readonly isStake: boolean;1013 readonly asStake: {1014 readonly amount: u128;1015 } & Struct;1016 readonly isUnstake: boolean;1017 readonly isSponsorCollection: boolean;1018 readonly asSponsorCollection: {1019 readonly collectionId: u32;1020 } & Struct;1021 readonly isStopSponsoringCollection: boolean;1022 readonly asStopSponsoringCollection: {1023 readonly collectionId: u32;1024 } & Struct;1025 readonly isSponsorContract: boolean;1026 readonly asSponsorContract: {1027 readonly contractId: H160;1028 } & Struct;1029 readonly isStopSponsoringContract: boolean;1030 readonly asStopSponsoringContract: {1031 readonly contractId: H160;1032 } & Struct;1033 readonly isPayoutStakers: boolean;1034 readonly asPayoutStakers: {1035 readonly stakersNumber: Option<u8>;1036 } & Struct;1037 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1038}10391040/** @name PalletAppPromotionError */1041export interface PalletAppPromotionError extends Enum {1042 readonly isAdminNotSet: boolean;1043 readonly isNoPermission: boolean;1044 readonly isNotSufficientFunds: boolean;1045 readonly isPendingForBlockOverflow: boolean;1046 readonly isSponsorNotSet: boolean;1047 readonly isIncorrectLockedBalanceOperation: boolean;1048 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1049}10501051/** @name PalletAppPromotionEvent */1052export interface PalletAppPromotionEvent extends Enum {1053 readonly isStakingRecalculation: boolean;1054 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1055 readonly isStake: boolean;1056 readonly asStake: ITuple<[AccountId32, u128]>;1057 readonly isUnstake: boolean;1058 readonly asUnstake: ITuple<[AccountId32, u128]>;1059 readonly isSetAdmin: boolean;1060 readonly asSetAdmin: AccountId32;1061 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1062}10631064/** @name PalletAuthorshipCall */1065export interface PalletAuthorshipCall extends Enum {1066 readonly isSetUncles: boolean;1067 readonly asSetUncles: {1068 readonly newUncles: Vec<SpRuntimeHeader>;1069 } & Struct;1070 readonly type: 'SetUncles';1071}10721073/** @name PalletAuthorshipError */1074export interface PalletAuthorshipError extends Enum {1075 readonly isInvalidUncleParent: boolean;1076 readonly isUnclesAlreadySet: boolean;1077 readonly isTooManyUncles: boolean;1078 readonly isGenesisUncle: boolean;1079 readonly isTooHighUncle: boolean;1080 readonly isUncleAlreadyIncluded: boolean;1081 readonly isOldUncle: boolean;1082 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1083}10841085/** @name PalletAuthorshipUncleEntryItem */1086export interface PalletAuthorshipUncleEntryItem extends Enum {1087 readonly isInclusionHeight: boolean;1088 readonly asInclusionHeight: u32;1089 readonly isUncle: boolean;1090 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1091 readonly type: 'InclusionHeight' | 'Uncle';1092}10931094/** @name PalletBalancesAccountData */1095export interface PalletBalancesAccountData extends Struct {1096 readonly free: u128;1097 readonly reserved: u128;1098 readonly miscFrozen: u128;1099 readonly feeFrozen: u128;1100}11011102/** @name PalletBalancesBalanceLock */1103export interface PalletBalancesBalanceLock extends Struct {1104 readonly id: U8aFixed;1105 readonly amount: u128;1106 readonly reasons: PalletBalancesReasons;1107}11081109/** @name PalletBalancesCall */1110export interface PalletBalancesCall extends Enum {1111 readonly isTransfer: boolean;1112 readonly asTransfer: {1113 readonly dest: MultiAddress;1114 readonly value: Compact<u128>;1115 } & Struct;1116 readonly isSetBalance: boolean;1117 readonly asSetBalance: {1118 readonly who: MultiAddress;1119 readonly newFree: Compact<u128>;1120 readonly newReserved: Compact<u128>;1121 } & Struct;1122 readonly isForceTransfer: boolean;1123 readonly asForceTransfer: {1124 readonly source: MultiAddress;1125 readonly dest: MultiAddress;1126 readonly value: Compact<u128>;1127 } & Struct;1128 readonly isTransferKeepAlive: boolean;1129 readonly asTransferKeepAlive: {1130 readonly dest: MultiAddress;1131 readonly value: Compact<u128>;1132 } & Struct;1133 readonly isTransferAll: boolean;1134 readonly asTransferAll: {1135 readonly dest: MultiAddress;1136 readonly keepAlive: bool;1137 } & Struct;1138 readonly isForceUnreserve: boolean;1139 readonly asForceUnreserve: {1140 readonly who: MultiAddress;1141 readonly amount: u128;1142 } & Struct;1143 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1144}11451146/** @name PalletBalancesError */1147export interface PalletBalancesError extends Enum {1148 readonly isVestingBalance: boolean;1149 readonly isLiquidityRestrictions: boolean;1150 readonly isInsufficientBalance: boolean;1151 readonly isExistentialDeposit: boolean;1152 readonly isKeepAlive: boolean;1153 readonly isExistingVestingSchedule: boolean;1154 readonly isDeadAccount: boolean;1155 readonly isTooManyReserves: boolean;1156 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1157}11581159/** @name PalletBalancesEvent */1160export interface PalletBalancesEvent extends Enum {1161 readonly isEndowed: boolean;1162 readonly asEndowed: {1163 readonly account: AccountId32;1164 readonly freeBalance: u128;1165 } & Struct;1166 readonly isDustLost: boolean;1167 readonly asDustLost: {1168 readonly account: AccountId32;1169 readonly amount: u128;1170 } & Struct;1171 readonly isTransfer: boolean;1172 readonly asTransfer: {1173 readonly from: AccountId32;1174 readonly to: AccountId32;1175 readonly amount: u128;1176 } & Struct;1177 readonly isBalanceSet: boolean;1178 readonly asBalanceSet: {1179 readonly who: AccountId32;1180 readonly free: u128;1181 readonly reserved: u128;1182 } & Struct;1183 readonly isReserved: boolean;1184 readonly asReserved: {1185 readonly who: AccountId32;1186 readonly amount: u128;1187 } & Struct;1188 readonly isUnreserved: boolean;1189 readonly asUnreserved: {1190 readonly who: AccountId32;1191 readonly amount: u128;1192 } & Struct;1193 readonly isReserveRepatriated: boolean;1194 readonly asReserveRepatriated: {1195 readonly from: AccountId32;1196 readonly to: AccountId32;1197 readonly amount: u128;1198 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1199 } & Struct;1200 readonly isDeposit: boolean;1201 readonly asDeposit: {1202 readonly who: AccountId32;1203 readonly amount: u128;1204 } & Struct;1205 readonly isWithdraw: boolean;1206 readonly asWithdraw: {1207 readonly who: AccountId32;1208 readonly amount: u128;1209 } & Struct;1210 readonly isSlashed: boolean;1211 readonly asSlashed: {1212 readonly who: AccountId32;1213 readonly amount: u128;1214 } & Struct;1215 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1216}12171218/** @name PalletBalancesReasons */1219export interface PalletBalancesReasons extends Enum {1220 readonly isFee: boolean;1221 readonly isMisc: boolean;1222 readonly isAll: boolean;1223 readonly type: 'Fee' | 'Misc' | 'All';1224}12251226/** @name PalletBalancesReserveData */1227export interface PalletBalancesReserveData extends Struct {1228 readonly id: U8aFixed;1229 readonly amount: u128;1230}12311232/** @name PalletCollatorSelectionCall */1233export interface PalletCollatorSelectionCall extends Enum {1234 readonly isAddInvulnerable: boolean;1235 readonly asAddInvulnerable: {1236 readonly new_: AccountId32;1237 } & Struct;1238 readonly isRemoveInvulnerable: boolean;1239 readonly asRemoveInvulnerable: {1240 readonly who: AccountId32;1241 } & Struct;1242 readonly isGetLicense: boolean;1243 readonly isOnboard: boolean;1244 readonly isOffboard: boolean;1245 readonly isReleaseLicense: boolean;1246 readonly isForceReleaseLicense: boolean;1247 readonly asForceReleaseLicense: {1248 readonly who: AccountId32;1249 } & Struct;1250 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';1251}12521253/** @name PalletCollatorSelectionError */1254export interface PalletCollatorSelectionError extends Enum {1255 readonly isTooManyCandidates: boolean;1256 readonly isUnknown: boolean;1257 readonly isPermission: boolean;1258 readonly isAlreadyHoldingLicense: boolean;1259 readonly isNoLicense: boolean;1260 readonly isAlreadyCandidate: boolean;1261 readonly isNotCandidate: boolean;1262 readonly isTooManyInvulnerables: boolean;1263 readonly isTooFewInvulnerables: boolean;1264 readonly isAlreadyInvulnerable: boolean;1265 readonly isNotInvulnerable: boolean;1266 readonly isNoAssociatedValidatorId: boolean;1267 readonly isValidatorNotRegistered: boolean;1268 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1269}12701271/** @name PalletCollatorSelectionEvent */1272export interface PalletCollatorSelectionEvent extends Enum {1273 readonly isInvulnerableAdded: boolean;1274 readonly asInvulnerableAdded: {1275 readonly invulnerable: AccountId32;1276 } & Struct;1277 readonly isInvulnerableRemoved: boolean;1278 readonly asInvulnerableRemoved: {1279 readonly invulnerable: AccountId32;1280 } & Struct;1281 readonly isLicenseObtained: boolean;1282 readonly asLicenseObtained: {1283 readonly accountId: AccountId32;1284 readonly deposit: u128;1285 } & Struct;1286 readonly isLicenseReleased: boolean;1287 readonly asLicenseReleased: {1288 readonly accountId: AccountId32;1289 readonly depositReturned: u128;1290 } & Struct;1291 readonly isCandidateAdded: boolean;1292 readonly asCandidateAdded: {1293 readonly accountId: AccountId32;1294 } & Struct;1295 readonly isCandidateRemoved: boolean;1296 readonly asCandidateRemoved: {1297 readonly accountId: AccountId32;1298 } & Struct;1299 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';1300}13011302/** @name PalletCommonError */1303export interface PalletCommonError extends Enum {1304 readonly isCollectionNotFound: boolean;1305 readonly isMustBeTokenOwner: boolean;1306 readonly isNoPermission: boolean;1307 readonly isCantDestroyNotEmptyCollection: boolean;1308 readonly isPublicMintingNotAllowed: boolean;1309 readonly isAddressNotInAllowlist: boolean;1310 readonly isCollectionNameLimitExceeded: boolean;1311 readonly isCollectionDescriptionLimitExceeded: boolean;1312 readonly isCollectionTokenPrefixLimitExceeded: boolean;1313 readonly isTotalCollectionsLimitExceeded: boolean;1314 readonly isCollectionAdminCountExceeded: boolean;1315 readonly isCollectionLimitBoundsExceeded: boolean;1316 readonly isOwnerPermissionsCantBeReverted: boolean;1317 readonly isTransferNotAllowed: boolean;1318 readonly isAccountTokenLimitExceeded: boolean;1319 readonly isCollectionTokenLimitExceeded: boolean;1320 readonly isMetadataFlagFrozen: boolean;1321 readonly isTokenNotFound: boolean;1322 readonly isTokenValueTooLow: boolean;1323 readonly isApprovedValueTooLow: boolean;1324 readonly isCantApproveMoreThanOwned: boolean;1325 readonly isAddressIsZero: boolean;1326 readonly isUnsupportedOperation: boolean;1327 readonly isNotSufficientFounds: boolean;1328 readonly isUserIsNotAllowedToNest: boolean;1329 readonly isSourceCollectionIsNotAllowedToNest: boolean;1330 readonly isCollectionFieldSizeExceeded: boolean;1331 readonly isNoSpaceForProperty: boolean;1332 readonly isPropertyLimitReached: boolean;1333 readonly isPropertyKeyIsTooLong: boolean;1334 readonly isInvalidCharacterInPropertyKey: boolean;1335 readonly isEmptyPropertyKey: boolean;1336 readonly isCollectionIsExternal: boolean;1337 readonly isCollectionIsInternal: boolean;1338 readonly isConfirmSponsorshipFail: boolean;1339 readonly isUserIsNotCollectionAdmin: boolean;1340 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';1341}13421343/** @name PalletCommonEvent */1344export interface PalletCommonEvent extends Enum {1345 readonly isCollectionCreated: boolean;1346 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1347 readonly isCollectionDestroyed: boolean;1348 readonly asCollectionDestroyed: u32;1349 readonly isItemCreated: boolean;1350 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1351 readonly isItemDestroyed: boolean;1352 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1353 readonly isTransfer: boolean;1354 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1355 readonly isApproved: boolean;1356 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1357 readonly isApprovedForAll: boolean;1358 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1359 readonly isCollectionPropertySet: boolean;1360 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1361 readonly isCollectionPropertyDeleted: boolean;1362 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1363 readonly isTokenPropertySet: boolean;1364 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1365 readonly isTokenPropertyDeleted: boolean;1366 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1367 readonly isPropertyPermissionSet: boolean;1368 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1369 readonly isAllowListAddressAdded: boolean;1370 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1371 readonly isAllowListAddressRemoved: boolean;1372 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1373 readonly isCollectionAdminAdded: boolean;1374 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1375 readonly isCollectionAdminRemoved: boolean;1376 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1377 readonly isCollectionLimitSet: boolean;1378 readonly asCollectionLimitSet: u32;1379 readonly isCollectionOwnerChanged: boolean;1380 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1381 readonly isCollectionPermissionSet: boolean;1382 readonly asCollectionPermissionSet: u32;1383 readonly isCollectionSponsorSet: boolean;1384 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1385 readonly isSponsorshipConfirmed: boolean;1386 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1387 readonly isCollectionSponsorRemoved: boolean;1388 readonly asCollectionSponsorRemoved: u32;1389 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1390}13911392/** @name PalletConfigurationAppPromotionConfiguration */1393export interface PalletConfigurationAppPromotionConfiguration extends Struct {1394 readonly recalculationInterval: Option<u32>;1395 readonly pendingInterval: Option<u32>;1396 readonly intervalIncome: Option<Perbill>;1397 readonly maxStakersPerCalculation: Option<u8>;1398}13991400/** @name PalletConfigurationCall */1401export interface PalletConfigurationCall extends Enum {1402 readonly isSetWeightToFeeCoefficientOverride: boolean;1403 readonly asSetWeightToFeeCoefficientOverride: {1404 readonly coeff: Option<u64>;1405 } & Struct;1406 readonly isSetMinGasPriceOverride: boolean;1407 readonly asSetMinGasPriceOverride: {1408 readonly coeff: Option<u64>;1409 } & Struct;1410 readonly isSetXcmAllowedLocations: boolean;1411 readonly asSetXcmAllowedLocations: {1412 readonly locations: Option<Vec<XcmV1MultiLocation>>;1413 } & Struct;1414 readonly isSetAppPromotionConfigurationOverride: boolean;1415 readonly asSetAppPromotionConfigurationOverride: {1416 readonly configuration: PalletConfigurationAppPromotionConfiguration;1417 } & Struct;1418 readonly isSetCollatorSelectionDesiredCollators: boolean;1419 readonly asSetCollatorSelectionDesiredCollators: {1420 readonly max: Option<u32>;1421 } & Struct;1422 readonly isSetCollatorSelectionLicenseBond: boolean;1423 readonly asSetCollatorSelectionLicenseBond: {1424 readonly amount: Option<u128>;1425 } & Struct;1426 readonly isSetCollatorSelectionKickThreshold: boolean;1427 readonly asSetCollatorSelectionKickThreshold: {1428 readonly threshold: Option<u32>;1429 } & Struct;1430 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';1431}14321433/** @name PalletConfigurationError */1434export interface PalletConfigurationError extends Enum {1435 readonly isInconsistentConfiguration: boolean;1436 readonly type: 'InconsistentConfiguration';1437}14381439/** @name PalletConfigurationEvent */1440export interface PalletConfigurationEvent extends Enum {1441 readonly isNewDesiredCollators: boolean;1442 readonly asNewDesiredCollators: {1443 readonly desiredCollators: Option<u32>;1444 } & Struct;1445 readonly isNewCollatorLicenseBond: boolean;1446 readonly asNewCollatorLicenseBond: {1447 readonly bondCost: Option<u128>;1448 } & Struct;1449 readonly isNewCollatorKickThreshold: boolean;1450 readonly asNewCollatorKickThreshold: {1451 readonly lengthInBlocks: Option<u32>;1452 } & Struct;1453 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1454}14551456/** @name PalletDataManagementCall */1457export interface PalletDataManagementCall extends Enum {1458 readonly isBegin: boolean;1459 readonly asBegin: {1460 readonly address: H160;1461 } & Struct;1462 readonly isSetData: boolean;1463 readonly asSetData: {1464 readonly address: H160;1465 readonly data: Vec<ITuple<[H256, H256]>>;1466 } & Struct;1467 readonly isFinish: boolean;1468 readonly asFinish: {1469 readonly address: H160;1470 readonly code: Bytes;1471 } & Struct;1472 readonly isInsertEthLogs: boolean;1473 readonly asInsertEthLogs: {1474 readonly logs: Vec<EthereumLog>;1475 } & Struct;1476 readonly isInsertEvents: boolean;1477 readonly asInsertEvents: {1478 readonly events: Vec<Bytes>;1479 } & Struct;1480 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1481}14821483/** @name PalletDataManagementError */1484export interface PalletDataManagementError extends Enum {1485 readonly isAccountNotEmpty: boolean;1486 readonly isAccountIsNotMigrating: boolean;1487 readonly isBadEvent: boolean;1488 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1489}14901491/** @name PalletDataManagementEvent */1492export interface PalletDataManagementEvent extends Enum {1493 readonly isTestEvent: boolean;1494 readonly type: 'TestEvent';1495}14961497/** @name PalletEthereumCall */1498export interface PalletEthereumCall extends Enum {1499 readonly isTransact: boolean;1500 readonly asTransact: {1501 readonly transaction: EthereumTransactionTransactionV2;1502 } & Struct;1503 readonly type: 'Transact';1504}15051506/** @name PalletEthereumError */1507export interface PalletEthereumError extends Enum {1508 readonly isInvalidSignature: boolean;1509 readonly isPreLogExists: boolean;1510 readonly type: 'InvalidSignature' | 'PreLogExists';1511}15121513/** @name PalletEthereumEvent */1514export interface PalletEthereumEvent extends Enum {1515 readonly isExecuted: boolean;1516 readonly asExecuted: {1517 readonly from: H160;1518 readonly to: H160;1519 readonly transactionHash: H256;1520 readonly exitReason: EvmCoreErrorExitReason;1521 } & Struct;1522 readonly type: 'Executed';1523}15241525/** @name PalletEthereumFakeTransactionFinalizer */1526export interface PalletEthereumFakeTransactionFinalizer extends Null {}15271528/** @name PalletEvmAccountBasicCrossAccountIdRepr */1529export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1530 readonly isSubstrate: boolean;1531 readonly asSubstrate: AccountId32;1532 readonly isEthereum: boolean;1533 readonly asEthereum: H160;1534 readonly type: 'Substrate' | 'Ethereum';1535}15361537/** @name PalletEvmCall */1538export interface PalletEvmCall extends Enum {1539 readonly isWithdraw: boolean;1540 readonly asWithdraw: {1541 readonly address: H160;1542 readonly value: u128;1543 } & Struct;1544 readonly isCall: boolean;1545 readonly asCall: {1546 readonly source: H160;1547 readonly target: H160;1548 readonly input: Bytes;1549 readonly value: U256;1550 readonly gasLimit: u64;1551 readonly maxFeePerGas: U256;1552 readonly maxPriorityFeePerGas: Option<U256>;1553 readonly nonce: Option<U256>;1554 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1555 } & Struct;1556 readonly isCreate: boolean;1557 readonly asCreate: {1558 readonly source: H160;1559 readonly init: Bytes;1560 readonly value: U256;1561 readonly gasLimit: u64;1562 readonly maxFeePerGas: U256;1563 readonly maxPriorityFeePerGas: Option<U256>;1564 readonly nonce: Option<U256>;1565 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1566 } & Struct;1567 readonly isCreate2: boolean;1568 readonly asCreate2: {1569 readonly source: H160;1570 readonly init: Bytes;1571 readonly salt: H256;1572 readonly value: U256;1573 readonly gasLimit: u64;1574 readonly maxFeePerGas: U256;1575 readonly maxPriorityFeePerGas: Option<U256>;1576 readonly nonce: Option<U256>;1577 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1578 } & Struct;1579 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1580}15811582/** @name PalletEvmCoderSubstrateError */1583export interface PalletEvmCoderSubstrateError extends Enum {1584 readonly isOutOfGas: boolean;1585 readonly isOutOfFund: boolean;1586 readonly type: 'OutOfGas' | 'OutOfFund';1587}15881589/** @name PalletEvmContractHelpersError */1590export interface PalletEvmContractHelpersError extends Enum {1591 readonly isNoPermission: boolean;1592 readonly isNoPendingSponsor: boolean;1593 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1594 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1595}15961597/** @name PalletEvmContractHelpersEvent */1598export interface PalletEvmContractHelpersEvent extends Enum {1599 readonly isContractSponsorSet: boolean;1600 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1601 readonly isContractSponsorshipConfirmed: boolean;1602 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1603 readonly isContractSponsorRemoved: boolean;1604 readonly asContractSponsorRemoved: H160;1605 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1606}16071608/** @name PalletEvmContractHelpersSponsoringModeT */1609export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1610 readonly isDisabled: boolean;1611 readonly isAllowlisted: boolean;1612 readonly isGenerous: boolean;1613 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1614}16151616/** @name PalletEvmError */1617export interface PalletEvmError extends Enum {1618 readonly isBalanceLow: boolean;1619 readonly isFeeOverflow: boolean;1620 readonly isPaymentOverflow: boolean;1621 readonly isWithdrawFailed: boolean;1622 readonly isGasPriceTooLow: boolean;1623 readonly isInvalidNonce: boolean;1624 readonly isGasLimitTooLow: boolean;1625 readonly isGasLimitTooHigh: boolean;1626 readonly isUndefined: boolean;1627 readonly isReentrancy: boolean;1628 readonly isTransactionMustComeFromEOA: boolean;1629 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1630}16311632/** @name PalletEvmEvent */1633export interface PalletEvmEvent extends Enum {1634 readonly isLog: boolean;1635 readonly asLog: {1636 readonly log: EthereumLog;1637 } & Struct;1638 readonly isCreated: boolean;1639 readonly asCreated: {1640 readonly address: H160;1641 } & Struct;1642 readonly isCreatedFailed: boolean;1643 readonly asCreatedFailed: {1644 readonly address: H160;1645 } & Struct;1646 readonly isExecuted: boolean;1647 readonly asExecuted: {1648 readonly address: H160;1649 } & Struct;1650 readonly isExecutedFailed: boolean;1651 readonly asExecutedFailed: {1652 readonly address: H160;1653 } & Struct;1654 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1655}16561657/** @name PalletForeignAssetsAssetIds */1658export interface PalletForeignAssetsAssetIds extends Enum {1659 readonly isForeignAssetId: boolean;1660 readonly asForeignAssetId: u32;1661 readonly isNativeAssetId: boolean;1662 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1663 readonly type: 'ForeignAssetId' | 'NativeAssetId';1664}16651666/** @name PalletForeignAssetsModuleAssetMetadata */1667export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1668 readonly name: Bytes;1669 readonly symbol: Bytes;1670 readonly decimals: u8;1671 readonly minimalBalance: u128;1672}16731674/** @name PalletForeignAssetsModuleCall */1675export interface PalletForeignAssetsModuleCall extends Enum {1676 readonly isRegisterForeignAsset: boolean;1677 readonly asRegisterForeignAsset: {1678 readonly owner: AccountId32;1679 readonly location: XcmVersionedMultiLocation;1680 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1681 } & Struct;1682 readonly isUpdateForeignAsset: boolean;1683 readonly asUpdateForeignAsset: {1684 readonly foreignAssetId: u32;1685 readonly location: XcmVersionedMultiLocation;1686 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1687 } & Struct;1688 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1689}16901691/** @name PalletForeignAssetsModuleError */1692export interface PalletForeignAssetsModuleError extends Enum {1693 readonly isBadLocation: boolean;1694 readonly isMultiLocationExisted: boolean;1695 readonly isAssetIdNotExists: boolean;1696 readonly isAssetIdExisted: boolean;1697 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1698}16991700/** @name PalletForeignAssetsModuleEvent */1701export interface PalletForeignAssetsModuleEvent extends Enum {1702 readonly isForeignAssetRegistered: boolean;1703 readonly asForeignAssetRegistered: {1704 readonly assetId: u32;1705 readonly assetAddress: XcmV1MultiLocation;1706 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1707 } & Struct;1708 readonly isForeignAssetUpdated: boolean;1709 readonly asForeignAssetUpdated: {1710 readonly assetId: u32;1711 readonly assetAddress: XcmV1MultiLocation;1712 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1713 } & Struct;1714 readonly isAssetRegistered: boolean;1715 readonly asAssetRegistered: {1716 readonly assetId: PalletForeignAssetsAssetIds;1717 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1718 } & Struct;1719 readonly isAssetUpdated: boolean;1720 readonly asAssetUpdated: {1721 readonly assetId: PalletForeignAssetsAssetIds;1722 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1723 } & Struct;1724 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1725}17261727/** @name PalletForeignAssetsNativeCurrency */1728export interface PalletForeignAssetsNativeCurrency extends Enum {1729 readonly isHere: boolean;1730 readonly isParent: boolean;1731 readonly type: 'Here' | 'Parent';1732}17331734/** @name PalletFungibleError */1735export interface PalletFungibleError extends Enum {1736 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1737 readonly isFungibleItemsHaveNoId: boolean;1738 readonly isFungibleItemsDontHaveData: boolean;1739 readonly isFungibleDisallowsNesting: boolean;1740 readonly isSettingPropertiesNotAllowed: boolean;1741 readonly isSettingAllowanceForAllNotAllowed: boolean;1742 readonly isFungibleTokensAreAlwaysValid: boolean;1743 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1744}17451746/** @name PalletIdentityBitFlags */1747export interface PalletIdentityBitFlags extends Struct {1748 readonly _bitLength: 64;1749 readonly Display: 1;1750 readonly Legal: 2;1751 readonly Web: 4;1752 readonly Riot: 8;1753 readonly Email: 16;1754 readonly PgpFingerprint: 32;1755 readonly Image: 64;1756 readonly Twitter: 128;1757}17581759/** @name PalletIdentityCall */1760export interface PalletIdentityCall extends Enum {1761 readonly isAddRegistrar: boolean;1762 readonly asAddRegistrar: {1763 readonly account: MultiAddress;1764 } & Struct;1765 readonly isSetIdentity: boolean;1766 readonly asSetIdentity: {1767 readonly info: PalletIdentityIdentityInfo;1768 } & Struct;1769 readonly isSetSubs: boolean;1770 readonly asSetSubs: {1771 readonly subs: Vec<ITuple<[AccountId32, Data]>>;1772 } & Struct;1773 readonly isClearIdentity: boolean;1774 readonly isRequestJudgement: boolean;1775 readonly asRequestJudgement: {1776 readonly regIndex: Compact<u32>;1777 readonly maxFee: Compact<u128>;1778 } & Struct;1779 readonly isCancelRequest: boolean;1780 readonly asCancelRequest: {1781 readonly regIndex: u32;1782 } & Struct;1783 readonly isSetFee: boolean;1784 readonly asSetFee: {1785 readonly index: Compact<u32>;1786 readonly fee: Compact<u128>;1787 } & Struct;1788 readonly isSetAccountId: boolean;1789 readonly asSetAccountId: {1790 readonly index: Compact<u32>;1791 readonly new_: MultiAddress;1792 } & Struct;1793 readonly isSetFields: boolean;1794 readonly asSetFields: {1795 readonly index: Compact<u32>;1796 readonly fields: PalletIdentityBitFlags;1797 } & Struct;1798 readonly isProvideJudgement: boolean;1799 readonly asProvideJudgement: {1800 readonly regIndex: Compact<u32>;1801 readonly target: MultiAddress;1802 readonly judgement: PalletIdentityJudgement;1803 readonly identity: H256;1804 } & Struct;1805 readonly isKillIdentity: boolean;1806 readonly asKillIdentity: {1807 readonly target: MultiAddress;1808 } & Struct;1809 readonly isAddSub: boolean;1810 readonly asAddSub: {1811 readonly sub: MultiAddress;1812 readonly data: Data;1813 } & Struct;1814 readonly isRenameSub: boolean;1815 readonly asRenameSub: {1816 readonly sub: MultiAddress;1817 readonly data: Data;1818 } & Struct;1819 readonly isRemoveSub: boolean;1820 readonly asRemoveSub: {1821 readonly sub: MultiAddress;1822 } & Struct;1823 readonly isQuitSub: boolean;1824 readonly isSetIdentities: boolean;1825 readonly asSetIdentities: {1826 readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;1827 } & Struct;1828 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';1829}18301831/** @name PalletIdentityError */1832export interface PalletIdentityError extends Enum {1833 readonly isTooManySubAccounts: boolean;1834 readonly isNotFound: boolean;1835 readonly isNotNamed: boolean;1836 readonly isEmptyIndex: boolean;1837 readonly isFeeChanged: boolean;1838 readonly isNoIdentity: boolean;1839 readonly isStickyJudgement: boolean;1840 readonly isJudgementGiven: boolean;1841 readonly isInvalidJudgement: boolean;1842 readonly isInvalidIndex: boolean;1843 readonly isInvalidTarget: boolean;1844 readonly isTooManyFields: boolean;1845 readonly isTooManyRegistrars: boolean;1846 readonly isAlreadyClaimed: boolean;1847 readonly isNotSub: boolean;1848 readonly isNotOwned: boolean;1849 readonly isJudgementForDifferentIdentity: boolean;1850 readonly isJudgementPaymentFailed: boolean;1851 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';1852}18531854/** @name PalletIdentityEvent */1855export interface PalletIdentityEvent extends Enum {1856 readonly isIdentitySet: boolean;1857 readonly asIdentitySet: {1858 readonly who: AccountId32;1859 } & Struct;1860 readonly isIdentityCleared: boolean;1861 readonly asIdentityCleared: {1862 readonly who: AccountId32;1863 readonly deposit: u128;1864 } & Struct;1865 readonly isIdentityKilled: boolean;1866 readonly asIdentityKilled: {1867 readonly who: AccountId32;1868 readonly deposit: u128;1869 } & Struct;1870 readonly isJudgementRequested: boolean;1871 readonly asJudgementRequested: {1872 readonly who: AccountId32;1873 readonly registrarIndex: u32;1874 } & Struct;1875 readonly isJudgementUnrequested: boolean;1876 readonly asJudgementUnrequested: {1877 readonly who: AccountId32;1878 readonly registrarIndex: u32;1879 } & Struct;1880 readonly isJudgementGiven: boolean;1881 readonly asJudgementGiven: {1882 readonly target: AccountId32;1883 readonly registrarIndex: u32;1884 } & Struct;1885 readonly isRegistrarAdded: boolean;1886 readonly asRegistrarAdded: {1887 readonly registrarIndex: u32;1888 } & Struct;1889 readonly isSubIdentityAdded: boolean;1890 readonly asSubIdentityAdded: {1891 readonly sub: AccountId32;1892 readonly main: AccountId32;1893 readonly deposit: u128;1894 } & Struct;1895 readonly isSubIdentityRemoved: boolean;1896 readonly asSubIdentityRemoved: {1897 readonly sub: AccountId32;1898 readonly main: AccountId32;1899 readonly deposit: u128;1900 } & Struct;1901 readonly isSubIdentityRevoked: boolean;1902 readonly asSubIdentityRevoked: {1903 readonly sub: AccountId32;1904 readonly main: AccountId32;1905 readonly deposit: u128;1906 } & Struct;1907 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';1908}19091910/** @name PalletIdentityIdentityField */1911export interface PalletIdentityIdentityField extends Enum {1912 readonly isDisplay: boolean;1913 readonly isLegal: boolean;1914 readonly isWeb: boolean;1915 readonly isRiot: boolean;1916 readonly isEmail: boolean;1917 readonly isPgpFingerprint: boolean;1918 readonly isImage: boolean;1919 readonly isTwitter: boolean;1920 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1921}19221923/** @name PalletIdentityIdentityInfo */1924export interface PalletIdentityIdentityInfo extends Struct {1925 readonly additional: Vec<ITuple<[Data, Data]>>;1926 readonly display: Data;1927 readonly legal: Data;1928 readonly web: Data;1929 readonly riot: Data;1930 readonly email: Data;1931 readonly pgpFingerprint: Option<U8aFixed>;1932 readonly image: Data;1933 readonly twitter: Data;1934}19351936/** @name PalletIdentityJudgement */1937export interface PalletIdentityJudgement extends Enum {1938 readonly isUnknown: boolean;1939 readonly isFeePaid: boolean;1940 readonly asFeePaid: u128;1941 readonly isReasonable: boolean;1942 readonly isKnownGood: boolean;1943 readonly isOutOfDate: boolean;1944 readonly isLowQuality: boolean;1945 readonly isErroneous: boolean;1946 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1947}19481949/** @name PalletIdentityRegistrarInfo */1950export interface PalletIdentityRegistrarInfo extends Struct {1951 readonly account: AccountId32;1952 readonly fee: u128;1953 readonly fields: PalletIdentityBitFlags;1954}19551956/** @name PalletIdentityRegistration */1957export interface PalletIdentityRegistration extends Struct {1958 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1959 readonly deposit: u128;1960 readonly info: PalletIdentityIdentityInfo;1961}19621963/** @name PalletInflationCall */1964export interface PalletInflationCall extends Enum {1965 readonly isStartInflation: boolean;1966 readonly asStartInflation: {1967 readonly inflationStartRelayBlock: u32;1968 } & Struct;1969 readonly type: 'StartInflation';1970}19711972/** @name PalletMaintenanceCall */1973export interface PalletMaintenanceCall extends Enum {1974 readonly isEnable: boolean;1975 readonly isDisable: boolean;1976 readonly type: 'Enable' | 'Disable';1977}19781979/** @name PalletMaintenanceError */1980export interface PalletMaintenanceError extends Null {}19811982/** @name PalletMaintenanceEvent */1983export interface PalletMaintenanceEvent extends Enum {1984 readonly isMaintenanceEnabled: boolean;1985 readonly isMaintenanceDisabled: boolean;1986 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1987}19881989/** @name PalletNonfungibleError */1990export interface PalletNonfungibleError extends Enum {1991 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1992 readonly isNonfungibleItemsHaveNoAmount: boolean;1993 readonly isCantBurnNftWithChildren: boolean;1994 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1995}19961997/** @name PalletNonfungibleItemData */1998export interface PalletNonfungibleItemData extends Struct {1999 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2000}20012002/** @name PalletRefungibleError */2003export interface PalletRefungibleError extends Enum {2004 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2005 readonly isWrongRefungiblePieces: boolean;2006 readonly isRepartitionWhileNotOwningAllPieces: boolean;2007 readonly isRefungibleDisallowsNesting: boolean;2008 readonly isSettingPropertiesNotAllowed: boolean;2009 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2010}20112012/** @name PalletRmrkCoreCall */2013export interface PalletRmrkCoreCall extends Enum {2014 readonly isCreateCollection: boolean;2015 readonly asCreateCollection: {2016 readonly metadata: Bytes;2017 readonly max: Option<u32>;2018 readonly symbol: Bytes;2019 } & Struct;2020 readonly isDestroyCollection: boolean;2021 readonly asDestroyCollection: {2022 readonly collectionId: u32;2023 } & Struct;2024 readonly isChangeCollectionIssuer: boolean;2025 readonly asChangeCollectionIssuer: {2026 readonly collectionId: u32;2027 readonly newIssuer: MultiAddress;2028 } & Struct;2029 readonly isLockCollection: boolean;2030 readonly asLockCollection: {2031 readonly collectionId: u32;2032 } & Struct;2033 readonly isMintNft: boolean;2034 readonly asMintNft: {2035 readonly owner: Option<AccountId32>;2036 readonly collectionId: u32;2037 readonly recipient: Option<AccountId32>;2038 readonly royaltyAmount: Option<Permill>;2039 readonly metadata: Bytes;2040 readonly transferable: bool;2041 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2042 } & Struct;2043 readonly isBurnNft: boolean;2044 readonly asBurnNft: {2045 readonly collectionId: u32;2046 readonly nftId: u32;2047 readonly maxBurns: u32;2048 } & Struct;2049 readonly isSend: boolean;2050 readonly asSend: {2051 readonly rmrkCollectionId: u32;2052 readonly rmrkNftId: u32;2053 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2054 } & Struct;2055 readonly isAcceptNft: boolean;2056 readonly asAcceptNft: {2057 readonly rmrkCollectionId: u32;2058 readonly rmrkNftId: u32;2059 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2060 } & Struct;2061 readonly isRejectNft: boolean;2062 readonly asRejectNft: {2063 readonly rmrkCollectionId: u32;2064 readonly rmrkNftId: u32;2065 } & Struct;2066 readonly isAcceptResource: boolean;2067 readonly asAcceptResource: {2068 readonly rmrkCollectionId: u32;2069 readonly rmrkNftId: u32;2070 readonly resourceId: u32;2071 } & Struct;2072 readonly isAcceptResourceRemoval: boolean;2073 readonly asAcceptResourceRemoval: {2074 readonly rmrkCollectionId: u32;2075 readonly rmrkNftId: u32;2076 readonly resourceId: u32;2077 } & Struct;2078 readonly isSetProperty: boolean;2079 readonly asSetProperty: {2080 readonly rmrkCollectionId: Compact<u32>;2081 readonly maybeNftId: Option<u32>;2082 readonly key: Bytes;2083 readonly value: Bytes;2084 } & Struct;2085 readonly isSetPriority: boolean;2086 readonly asSetPriority: {2087 readonly rmrkCollectionId: u32;2088 readonly rmrkNftId: u32;2089 readonly priorities: Vec<u32>;2090 } & Struct;2091 readonly isAddBasicResource: boolean;2092 readonly asAddBasicResource: {2093 readonly rmrkCollectionId: u32;2094 readonly nftId: u32;2095 readonly resource: RmrkTraitsResourceBasicResource;2096 } & Struct;2097 readonly isAddComposableResource: boolean;2098 readonly asAddComposableResource: {2099 readonly rmrkCollectionId: u32;2100 readonly nftId: u32;2101 readonly resource: RmrkTraitsResourceComposableResource;2102 } & Struct;2103 readonly isAddSlotResource: boolean;2104 readonly asAddSlotResource: {2105 readonly rmrkCollectionId: u32;2106 readonly nftId: u32;2107 readonly resource: RmrkTraitsResourceSlotResource;2108 } & Struct;2109 readonly isRemoveResource: boolean;2110 readonly asRemoveResource: {2111 readonly rmrkCollectionId: u32;2112 readonly nftId: u32;2113 readonly resourceId: u32;2114 } & Struct;2115 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2116}21172118/** @name PalletRmrkCoreError */2119export interface PalletRmrkCoreError extends Enum {2120 readonly isCorruptedCollectionType: boolean;2121 readonly isRmrkPropertyKeyIsTooLong: boolean;2122 readonly isRmrkPropertyValueIsTooLong: boolean;2123 readonly isRmrkPropertyIsNotFound: boolean;2124 readonly isUnableToDecodeRmrkData: boolean;2125 readonly isCollectionNotEmpty: boolean;2126 readonly isNoAvailableCollectionId: boolean;2127 readonly isNoAvailableNftId: boolean;2128 readonly isCollectionUnknown: boolean;2129 readonly isNoPermission: boolean;2130 readonly isNonTransferable: boolean;2131 readonly isCollectionFullOrLocked: boolean;2132 readonly isResourceDoesntExist: boolean;2133 readonly isCannotSendToDescendentOrSelf: boolean;2134 readonly isCannotAcceptNonOwnedNft: boolean;2135 readonly isCannotRejectNonOwnedNft: boolean;2136 readonly isCannotRejectNonPendingNft: boolean;2137 readonly isResourceNotPending: boolean;2138 readonly isNoAvailableResourceId: boolean;2139 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';2140}21412142/** @name PalletRmrkCoreEvent */2143export interface PalletRmrkCoreEvent extends Enum {2144 readonly isCollectionCreated: boolean;2145 readonly asCollectionCreated: {2146 readonly issuer: AccountId32;2147 readonly collectionId: u32;2148 } & Struct;2149 readonly isCollectionDestroyed: boolean;2150 readonly asCollectionDestroyed: {2151 readonly issuer: AccountId32;2152 readonly collectionId: u32;2153 } & Struct;2154 readonly isIssuerChanged: boolean;2155 readonly asIssuerChanged: {2156 readonly oldIssuer: AccountId32;2157 readonly newIssuer: AccountId32;2158 readonly collectionId: u32;2159 } & Struct;2160 readonly isCollectionLocked: boolean;2161 readonly asCollectionLocked: {2162 readonly issuer: AccountId32;2163 readonly collectionId: u32;2164 } & Struct;2165 readonly isNftMinted: boolean;2166 readonly asNftMinted: {2167 readonly owner: AccountId32;2168 readonly collectionId: u32;2169 readonly nftId: u32;2170 } & Struct;2171 readonly isNftBurned: boolean;2172 readonly asNftBurned: {2173 readonly owner: AccountId32;2174 readonly nftId: u32;2175 } & Struct;2176 readonly isNftSent: boolean;2177 readonly asNftSent: {2178 readonly sender: AccountId32;2179 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2180 readonly collectionId: u32;2181 readonly nftId: u32;2182 readonly approvalRequired: bool;2183 } & Struct;2184 readonly isNftAccepted: boolean;2185 readonly asNftAccepted: {2186 readonly sender: AccountId32;2187 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2188 readonly collectionId: u32;2189 readonly nftId: u32;2190 } & Struct;2191 readonly isNftRejected: boolean;2192 readonly asNftRejected: {2193 readonly sender: AccountId32;2194 readonly collectionId: u32;2195 readonly nftId: u32;2196 } & Struct;2197 readonly isPropertySet: boolean;2198 readonly asPropertySet: {2199 readonly collectionId: u32;2200 readonly maybeNftId: Option<u32>;2201 readonly key: Bytes;2202 readonly value: Bytes;2203 } & Struct;2204 readonly isResourceAdded: boolean;2205 readonly asResourceAdded: {2206 readonly nftId: u32;2207 readonly resourceId: u32;2208 } & Struct;2209 readonly isResourceRemoval: boolean;2210 readonly asResourceRemoval: {2211 readonly nftId: u32;2212 readonly resourceId: u32;2213 } & Struct;2214 readonly isResourceAccepted: boolean;2215 readonly asResourceAccepted: {2216 readonly nftId: u32;2217 readonly resourceId: u32;2218 } & Struct;2219 readonly isResourceRemovalAccepted: boolean;2220 readonly asResourceRemovalAccepted: {2221 readonly nftId: u32;2222 readonly resourceId: u32;2223 } & Struct;2224 readonly isPrioritySet: boolean;2225 readonly asPrioritySet: {2226 readonly collectionId: u32;2227 readonly nftId: u32;2228 } & Struct;2229 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2230}22312232/** @name PalletRmrkEquipCall */2233export interface PalletRmrkEquipCall extends Enum {2234 readonly isCreateBase: boolean;2235 readonly asCreateBase: {2236 readonly baseType: Bytes;2237 readonly symbol: Bytes;2238 readonly parts: Vec<RmrkTraitsPartPartType>;2239 } & Struct;2240 readonly isThemeAdd: boolean;2241 readonly asThemeAdd: {2242 readonly baseId: u32;2243 readonly theme: RmrkTraitsTheme;2244 } & Struct;2245 readonly isEquippable: boolean;2246 readonly asEquippable: {2247 readonly baseId: u32;2248 readonly slotId: u32;2249 readonly equippables: RmrkTraitsPartEquippableList;2250 } & Struct;2251 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2252}22532254/** @name PalletRmrkEquipError */2255export interface PalletRmrkEquipError extends Enum {2256 readonly isPermissionError: boolean;2257 readonly isNoAvailableBaseId: boolean;2258 readonly isNoAvailablePartId: boolean;2259 readonly isBaseDoesntExist: boolean;2260 readonly isNeedsDefaultThemeFirst: boolean;2261 readonly isPartDoesntExist: boolean;2262 readonly isNoEquippableOnFixedPart: boolean;2263 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';2264}22652266/** @name PalletRmrkEquipEvent */2267export interface PalletRmrkEquipEvent extends Enum {2268 readonly isBaseCreated: boolean;2269 readonly asBaseCreated: {2270 readonly issuer: AccountId32;2271 readonly baseId: u32;2272 } & Struct;2273 readonly isEquippablesUpdated: boolean;2274 readonly asEquippablesUpdated: {2275 readonly baseId: u32;2276 readonly slotId: u32;2277 } & Struct;2278 readonly type: 'BaseCreated' | 'EquippablesUpdated';2279}22802281/** @name PalletSessionCall */2282export interface PalletSessionCall extends Enum {2283 readonly isSetKeys: boolean;2284 readonly asSetKeys: {2285 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2286 readonly proof: Bytes;2287 } & Struct;2288 readonly isPurgeKeys: boolean;2289 readonly type: 'SetKeys' | 'PurgeKeys';2290}22912292/** @name PalletSessionError */2293export interface PalletSessionError extends Enum {2294 readonly isInvalidProof: boolean;2295 readonly isNoAssociatedValidatorId: boolean;2296 readonly isDuplicatedKey: boolean;2297 readonly isNoKeys: boolean;2298 readonly isNoAccount: boolean;2299 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2300}23012302/** @name PalletSessionEvent */2303export interface PalletSessionEvent extends Enum {2304 readonly isNewSession: boolean;2305 readonly asNewSession: {2306 readonly sessionIndex: u32;2307 } & Struct;2308 readonly type: 'NewSession';2309}23102311/** @name PalletStructureCall */2312export interface PalletStructureCall extends Null {}23132314/** @name PalletStructureError */2315export interface PalletStructureError extends Enum {2316 readonly isOuroborosDetected: boolean;2317 readonly isDepthLimit: boolean;2318 readonly isBreadthLimit: boolean;2319 readonly isTokenNotFound: boolean;2320 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';2321}23222323/** @name PalletStructureEvent */2324export interface PalletStructureEvent extends Enum {2325 readonly isExecuted: boolean;2326 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2327 readonly type: 'Executed';2328}23292330/** @name PalletSudoCall */2331export interface PalletSudoCall extends Enum {2332 readonly isSudo: boolean;2333 readonly asSudo: {2334 readonly call: Call;2335 } & Struct;2336 readonly isSudoUncheckedWeight: boolean;2337 readonly asSudoUncheckedWeight: {2338 readonly call: Call;2339 readonly weight: SpWeightsWeightV2Weight;2340 } & Struct;2341 readonly isSetKey: boolean;2342 readonly asSetKey: {2343 readonly new_: MultiAddress;2344 } & Struct;2345 readonly isSudoAs: boolean;2346 readonly asSudoAs: {2347 readonly who: MultiAddress;2348 readonly call: Call;2349 } & Struct;2350 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2351}23522353/** @name PalletSudoError */2354export interface PalletSudoError extends Enum {2355 readonly isRequireSudo: boolean;2356 readonly type: 'RequireSudo';2357}23582359/** @name PalletSudoEvent */2360export interface PalletSudoEvent extends Enum {2361 readonly isSudid: boolean;2362 readonly asSudid: {2363 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2364 } & Struct;2365 readonly isKeyChanged: boolean;2366 readonly asKeyChanged: {2367 readonly oldSudoer: Option<AccountId32>;2368 } & Struct;2369 readonly isSudoAsDone: boolean;2370 readonly asSudoAsDone: {2371 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2372 } & Struct;2373 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2374}23752376/** @name PalletTemplateTransactionPaymentCall */2377export interface PalletTemplateTransactionPaymentCall extends Null {}23782379/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2380export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}23812382/** @name PalletTestUtilsCall */2383export interface PalletTestUtilsCall extends Enum {2384 readonly isEnable: boolean;2385 readonly isSetTestValue: boolean;2386 readonly asSetTestValue: {2387 readonly value: u32;2388 } & Struct;2389 readonly isSetTestValueAndRollback: boolean;2390 readonly asSetTestValueAndRollback: {2391 readonly value: u32;2392 } & Struct;2393 readonly isIncTestValue: boolean;2394 readonly isJustTakeFee: boolean;2395 readonly isBatchAll: boolean;2396 readonly asBatchAll: {2397 readonly calls: Vec<Call>;2398 } & Struct;2399 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2400}24012402/** @name PalletTestUtilsError */2403export interface PalletTestUtilsError extends Enum {2404 readonly isTestPalletDisabled: boolean;2405 readonly isTriggerRollback: boolean;2406 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2407}24082409/** @name PalletTestUtilsEvent */2410export interface PalletTestUtilsEvent extends Enum {2411 readonly isValueIsSet: boolean;2412 readonly isShouldRollback: boolean;2413 readonly isBatchCompleted: boolean;2414 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2415}24162417/** @name PalletTimestampCall */2418export interface PalletTimestampCall extends Enum {2419 readonly isSet: boolean;2420 readonly asSet: {2421 readonly now: Compact<u64>;2422 } & Struct;2423 readonly type: 'Set';2424}24252426/** @name PalletTransactionPaymentEvent */2427export interface PalletTransactionPaymentEvent extends Enum {2428 readonly isTransactionFeePaid: boolean;2429 readonly asTransactionFeePaid: {2430 readonly who: AccountId32;2431 readonly actualFee: u128;2432 readonly tip: u128;2433 } & Struct;2434 readonly type: 'TransactionFeePaid';2435}24362437/** @name PalletTransactionPaymentReleases */2438export interface PalletTransactionPaymentReleases extends Enum {2439 readonly isV1Ancient: boolean;2440 readonly isV2: boolean;2441 readonly type: 'V1Ancient' | 'V2';2442}24432444/** @name PalletTreasuryCall */2445export interface PalletTreasuryCall extends Enum {2446 readonly isProposeSpend: boolean;2447 readonly asProposeSpend: {2448 readonly value: Compact<u128>;2449 readonly beneficiary: MultiAddress;2450 } & Struct;2451 readonly isRejectProposal: boolean;2452 readonly asRejectProposal: {2453 readonly proposalId: Compact<u32>;2454 } & Struct;2455 readonly isApproveProposal: boolean;2456 readonly asApproveProposal: {2457 readonly proposalId: Compact<u32>;2458 } & Struct;2459 readonly isSpend: boolean;2460 readonly asSpend: {2461 readonly amount: Compact<u128>;2462 readonly beneficiary: MultiAddress;2463 } & Struct;2464 readonly isRemoveApproval: boolean;2465 readonly asRemoveApproval: {2466 readonly proposalId: Compact<u32>;2467 } & Struct;2468 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2469}24702471/** @name PalletTreasuryError */2472export interface PalletTreasuryError extends Enum {2473 readonly isInsufficientProposersBalance: boolean;2474 readonly isInvalidIndex: boolean;2475 readonly isTooManyApprovals: boolean;2476 readonly isInsufficientPermission: boolean;2477 readonly isProposalNotApproved: boolean;2478 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2479}24802481/** @name PalletTreasuryEvent */2482export interface PalletTreasuryEvent extends Enum {2483 readonly isProposed: boolean;2484 readonly asProposed: {2485 readonly proposalIndex: u32;2486 } & Struct;2487 readonly isSpending: boolean;2488 readonly asSpending: {2489 readonly budgetRemaining: u128;2490 } & Struct;2491 readonly isAwarded: boolean;2492 readonly asAwarded: {2493 readonly proposalIndex: u32;2494 readonly award: u128;2495 readonly account: AccountId32;2496 } & Struct;2497 readonly isRejected: boolean;2498 readonly asRejected: {2499 readonly proposalIndex: u32;2500 readonly slashed: u128;2501 } & Struct;2502 readonly isBurnt: boolean;2503 readonly asBurnt: {2504 readonly burntFunds: u128;2505 } & Struct;2506 readonly isRollover: boolean;2507 readonly asRollover: {2508 readonly rolloverBalance: u128;2509 } & Struct;2510 readonly isDeposit: boolean;2511 readonly asDeposit: {2512 readonly value: u128;2513 } & Struct;2514 readonly isSpendApproved: boolean;2515 readonly asSpendApproved: {2516 readonly proposalIndex: u32;2517 readonly amount: u128;2518 readonly beneficiary: AccountId32;2519 } & Struct;2520 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2521}25222523/** @name PalletTreasuryProposal */2524export interface PalletTreasuryProposal extends Struct {2525 readonly proposer: AccountId32;2526 readonly value: u128;2527 readonly beneficiary: AccountId32;2528 readonly bond: u128;2529}25302531/** @name PalletUniqueCall */2532export interface PalletUniqueCall extends Enum {2533 readonly isCreateCollection: boolean;2534 readonly asCreateCollection: {2535 readonly collectionName: Vec<u16>;2536 readonly collectionDescription: Vec<u16>;2537 readonly tokenPrefix: Bytes;2538 readonly mode: UpDataStructsCollectionMode;2539 } & Struct;2540 readonly isCreateCollectionEx: boolean;2541 readonly asCreateCollectionEx: {2542 readonly data: UpDataStructsCreateCollectionData;2543 } & Struct;2544 readonly isDestroyCollection: boolean;2545 readonly asDestroyCollection: {2546 readonly collectionId: u32;2547 } & Struct;2548 readonly isAddToAllowList: boolean;2549 readonly asAddToAllowList: {2550 readonly collectionId: u32;2551 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2552 } & Struct;2553 readonly isRemoveFromAllowList: boolean;2554 readonly asRemoveFromAllowList: {2555 readonly collectionId: u32;2556 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2557 } & Struct;2558 readonly isChangeCollectionOwner: boolean;2559 readonly asChangeCollectionOwner: {2560 readonly collectionId: u32;2561 readonly newOwner: AccountId32;2562 } & Struct;2563 readonly isAddCollectionAdmin: boolean;2564 readonly asAddCollectionAdmin: {2565 readonly collectionId: u32;2566 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2567 } & Struct;2568 readonly isRemoveCollectionAdmin: boolean;2569 readonly asRemoveCollectionAdmin: {2570 readonly collectionId: u32;2571 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2572 } & Struct;2573 readonly isSetCollectionSponsor: boolean;2574 readonly asSetCollectionSponsor: {2575 readonly collectionId: u32;2576 readonly newSponsor: AccountId32;2577 } & Struct;2578 readonly isConfirmSponsorship: boolean;2579 readonly asConfirmSponsorship: {2580 readonly collectionId: u32;2581 } & Struct;2582 readonly isRemoveCollectionSponsor: boolean;2583 readonly asRemoveCollectionSponsor: {2584 readonly collectionId: u32;2585 } & Struct;2586 readonly isCreateItem: boolean;2587 readonly asCreateItem: {2588 readonly collectionId: u32;2589 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2590 readonly data: UpDataStructsCreateItemData;2591 } & Struct;2592 readonly isCreateMultipleItems: boolean;2593 readonly asCreateMultipleItems: {2594 readonly collectionId: u32;2595 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2596 readonly itemsData: Vec<UpDataStructsCreateItemData>;2597 } & Struct;2598 readonly isSetCollectionProperties: boolean;2599 readonly asSetCollectionProperties: {2600 readonly collectionId: u32;2601 readonly properties: Vec<UpDataStructsProperty>;2602 } & Struct;2603 readonly isDeleteCollectionProperties: boolean;2604 readonly asDeleteCollectionProperties: {2605 readonly collectionId: u32;2606 readonly propertyKeys: Vec<Bytes>;2607 } & Struct;2608 readonly isSetTokenProperties: boolean;2609 readonly asSetTokenProperties: {2610 readonly collectionId: u32;2611 readonly tokenId: u32;2612 readonly properties: Vec<UpDataStructsProperty>;2613 } & Struct;2614 readonly isDeleteTokenProperties: boolean;2615 readonly asDeleteTokenProperties: {2616 readonly collectionId: u32;2617 readonly tokenId: u32;2618 readonly propertyKeys: Vec<Bytes>;2619 } & Struct;2620 readonly isSetTokenPropertyPermissions: boolean;2621 readonly asSetTokenPropertyPermissions: {2622 readonly collectionId: u32;2623 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2624 } & Struct;2625 readonly isCreateMultipleItemsEx: boolean;2626 readonly asCreateMultipleItemsEx: {2627 readonly collectionId: u32;2628 readonly data: UpDataStructsCreateItemExData;2629 } & Struct;2630 readonly isSetTransfersEnabledFlag: boolean;2631 readonly asSetTransfersEnabledFlag: {2632 readonly collectionId: u32;2633 readonly value: bool;2634 } & Struct;2635 readonly isBurnItem: boolean;2636 readonly asBurnItem: {2637 readonly collectionId: u32;2638 readonly itemId: u32;2639 readonly value: u128;2640 } & Struct;2641 readonly isBurnFrom: boolean;2642 readonly asBurnFrom: {2643 readonly collectionId: u32;2644 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2645 readonly itemId: u32;2646 readonly value: u128;2647 } & Struct;2648 readonly isTransfer: boolean;2649 readonly asTransfer: {2650 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2651 readonly collectionId: u32;2652 readonly itemId: u32;2653 readonly value: u128;2654 } & Struct;2655 readonly isApprove: boolean;2656 readonly asApprove: {2657 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2658 readonly collectionId: u32;2659 readonly itemId: u32;2660 readonly amount: u128;2661 } & Struct;2662 readonly isTransferFrom: boolean;2663 readonly asTransferFrom: {2664 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2665 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2666 readonly collectionId: u32;2667 readonly itemId: u32;2668 readonly value: u128;2669 } & Struct;2670 readonly isSetCollectionLimits: boolean;2671 readonly asSetCollectionLimits: {2672 readonly collectionId: u32;2673 readonly newLimit: UpDataStructsCollectionLimits;2674 } & Struct;2675 readonly isSetCollectionPermissions: boolean;2676 readonly asSetCollectionPermissions: {2677 readonly collectionId: u32;2678 readonly newPermission: UpDataStructsCollectionPermissions;2679 } & Struct;2680 readonly isRepartition: boolean;2681 readonly asRepartition: {2682 readonly collectionId: u32;2683 readonly tokenId: u32;2684 readonly amount: u128;2685 } & Struct;2686 readonly isSetAllowanceForAll: boolean;2687 readonly asSetAllowanceForAll: {2688 readonly collectionId: u32;2689 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2690 readonly approve: bool;2691 } & Struct;2692 readonly isForceRepairCollection: boolean;2693 readonly asForceRepairCollection: {2694 readonly collectionId: u32;2695 } & Struct;2696 readonly isForceRepairItem: boolean;2697 readonly asForceRepairItem: {2698 readonly collectionId: u32;2699 readonly itemId: u32;2700 } & Struct;2701 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';2702}27032704/** @name PalletUniqueError */2705export interface PalletUniqueError extends Enum {2706 readonly isCollectionDecimalPointLimitExceeded: boolean;2707 readonly isEmptyArgument: boolean;2708 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2709 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2710}27112712/** @name PalletXcmCall */2713export interface PalletXcmCall extends Enum {2714 readonly isSend: boolean;2715 readonly asSend: {2716 readonly dest: XcmVersionedMultiLocation;2717 readonly message: XcmVersionedXcm;2718 } & Struct;2719 readonly isTeleportAssets: boolean;2720 readonly asTeleportAssets: {2721 readonly dest: XcmVersionedMultiLocation;2722 readonly beneficiary: XcmVersionedMultiLocation;2723 readonly assets: XcmVersionedMultiAssets;2724 readonly feeAssetItem: u32;2725 } & Struct;2726 readonly isReserveTransferAssets: boolean;2727 readonly asReserveTransferAssets: {2728 readonly dest: XcmVersionedMultiLocation;2729 readonly beneficiary: XcmVersionedMultiLocation;2730 readonly assets: XcmVersionedMultiAssets;2731 readonly feeAssetItem: u32;2732 } & Struct;2733 readonly isExecute: boolean;2734 readonly asExecute: {2735 readonly message: XcmVersionedXcm;2736 readonly maxWeight: u64;2737 } & Struct;2738 readonly isForceXcmVersion: boolean;2739 readonly asForceXcmVersion: {2740 readonly location: XcmV1MultiLocation;2741 readonly xcmVersion: u32;2742 } & Struct;2743 readonly isForceDefaultXcmVersion: boolean;2744 readonly asForceDefaultXcmVersion: {2745 readonly maybeXcmVersion: Option<u32>;2746 } & Struct;2747 readonly isForceSubscribeVersionNotify: boolean;2748 readonly asForceSubscribeVersionNotify: {2749 readonly location: XcmVersionedMultiLocation;2750 } & Struct;2751 readonly isForceUnsubscribeVersionNotify: boolean;2752 readonly asForceUnsubscribeVersionNotify: {2753 readonly location: XcmVersionedMultiLocation;2754 } & Struct;2755 readonly isLimitedReserveTransferAssets: boolean;2756 readonly asLimitedReserveTransferAssets: {2757 readonly dest: XcmVersionedMultiLocation;2758 readonly beneficiary: XcmVersionedMultiLocation;2759 readonly assets: XcmVersionedMultiAssets;2760 readonly feeAssetItem: u32;2761 readonly weightLimit: XcmV2WeightLimit;2762 } & Struct;2763 readonly isLimitedTeleportAssets: boolean;2764 readonly asLimitedTeleportAssets: {2765 readonly dest: XcmVersionedMultiLocation;2766 readonly beneficiary: XcmVersionedMultiLocation;2767 readonly assets: XcmVersionedMultiAssets;2768 readonly feeAssetItem: u32;2769 readonly weightLimit: XcmV2WeightLimit;2770 } & Struct;2771 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2772}27732774/** @name PalletXcmError */2775export interface PalletXcmError extends Enum {2776 readonly isUnreachable: boolean;2777 readonly isSendFailure: boolean;2778 readonly isFiltered: boolean;2779 readonly isUnweighableMessage: boolean;2780 readonly isDestinationNotInvertible: boolean;2781 readonly isEmpty: boolean;2782 readonly isCannotReanchor: boolean;2783 readonly isTooManyAssets: boolean;2784 readonly isInvalidOrigin: boolean;2785 readonly isBadVersion: boolean;2786 readonly isBadLocation: boolean;2787 readonly isNoSubscription: boolean;2788 readonly isAlreadySubscribed: boolean;2789 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2790}27912792/** @name PalletXcmEvent */2793export interface PalletXcmEvent extends Enum {2794 readonly isAttempted: boolean;2795 readonly asAttempted: XcmV2TraitsOutcome;2796 readonly isSent: boolean;2797 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2798 readonly isUnexpectedResponse: boolean;2799 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2800 readonly isResponseReady: boolean;2801 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2802 readonly isNotified: boolean;2803 readonly asNotified: ITuple<[u64, u8, u8]>;2804 readonly isNotifyOverweight: boolean;2805 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2806 readonly isNotifyDispatchError: boolean;2807 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2808 readonly isNotifyDecodeFailed: boolean;2809 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2810 readonly isInvalidResponder: boolean;2811 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2812 readonly isInvalidResponderVersion: boolean;2813 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2814 readonly isResponseTaken: boolean;2815 readonly asResponseTaken: u64;2816 readonly isAssetsTrapped: boolean;2817 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2818 readonly isVersionChangeNotified: boolean;2819 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2820 readonly isSupportedVersionChanged: boolean;2821 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2822 readonly isNotifyTargetSendFail: boolean;2823 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2824 readonly isNotifyTargetMigrationFail: boolean;2825 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2826 readonly isAssetsClaimed: boolean;2827 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2828 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2829}28302831/** @name PhantomTypeUpDataStructs */2832export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}28332834/** @name PolkadotCorePrimitivesInboundDownwardMessage */2835export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2836 readonly sentAt: u32;2837 readonly msg: Bytes;2838}28392840/** @name PolkadotCorePrimitivesInboundHrmpMessage */2841export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2842 readonly sentAt: u32;2843 readonly data: Bytes;2844}28452846/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2847export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2848 readonly recipient: u32;2849 readonly data: Bytes;2850}28512852/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2853export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2854 readonly isConcatenatedVersionedXcm: boolean;2855 readonly isConcatenatedEncodedBlob: boolean;2856 readonly isSignals: boolean;2857 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2858}28592860/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2861export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2862 readonly maxCodeSize: u32;2863 readonly maxHeadDataSize: u32;2864 readonly maxUpwardQueueCount: u32;2865 readonly maxUpwardQueueSize: u32;2866 readonly maxUpwardMessageSize: u32;2867 readonly maxUpwardMessageNumPerCandidate: u32;2868 readonly hrmpMaxMessageNumPerCandidate: u32;2869 readonly validationUpgradeCooldown: u32;2870 readonly validationUpgradeDelay: u32;2871}28722873/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2874export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2875 readonly maxCapacity: u32;2876 readonly maxTotalSize: u32;2877 readonly maxMessageSize: u32;2878 readonly msgCount: u32;2879 readonly totalSize: u32;2880 readonly mqcHead: Option<H256>;2881}28822883/** @name PolkadotPrimitivesV2PersistedValidationData */2884export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2885 readonly parentHead: Bytes;2886 readonly relayParentNumber: u32;2887 readonly relayParentStorageRoot: H256;2888 readonly maxPovSize: u32;2889}28902891/** @name PolkadotPrimitivesV2UpgradeRestriction */2892export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2893 readonly isPresent: boolean;2894 readonly type: 'Present';2895}28962897/** @name RmrkTraitsBaseBaseInfo */2898export interface RmrkTraitsBaseBaseInfo extends Struct {2899 readonly issuer: AccountId32;2900 readonly baseType: Bytes;2901 readonly symbol: Bytes;2902}29032904/** @name RmrkTraitsCollectionCollectionInfo */2905export interface RmrkTraitsCollectionCollectionInfo extends Struct {2906 readonly issuer: AccountId32;2907 readonly metadata: Bytes;2908 readonly max: Option<u32>;2909 readonly symbol: Bytes;2910 readonly nftsCount: u32;2911}29122913/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2914export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2915 readonly isAccountId: boolean;2916 readonly asAccountId: AccountId32;2917 readonly isCollectionAndNftTuple: boolean;2918 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2919 readonly type: 'AccountId' | 'CollectionAndNftTuple';2920}29212922/** @name RmrkTraitsNftNftChild */2923export interface RmrkTraitsNftNftChild extends Struct {2924 readonly collectionId: u32;2925 readonly nftId: u32;2926}29272928/** @name RmrkTraitsNftNftInfo */2929export interface RmrkTraitsNftNftInfo extends Struct {2930 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2931 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2932 readonly metadata: Bytes;2933 readonly equipped: bool;2934 readonly pending: bool;2935}29362937/** @name RmrkTraitsNftRoyaltyInfo */2938export interface RmrkTraitsNftRoyaltyInfo extends Struct {2939 readonly recipient: AccountId32;2940 readonly amount: Permill;2941}29422943/** @name RmrkTraitsPartEquippableList */2944export interface RmrkTraitsPartEquippableList extends Enum {2945 readonly isAll: boolean;2946 readonly isEmpty: boolean;2947 readonly isCustom: boolean;2948 readonly asCustom: Vec<u32>;2949 readonly type: 'All' | 'Empty' | 'Custom';2950}29512952/** @name RmrkTraitsPartFixedPart */2953export interface RmrkTraitsPartFixedPart extends Struct {2954 readonly id: u32;2955 readonly z: u32;2956 readonly src: Bytes;2957}29582959/** @name RmrkTraitsPartPartType */2960export interface RmrkTraitsPartPartType extends Enum {2961 readonly isFixedPart: boolean;2962 readonly asFixedPart: RmrkTraitsPartFixedPart;2963 readonly isSlotPart: boolean;2964 readonly asSlotPart: RmrkTraitsPartSlotPart;2965 readonly type: 'FixedPart' | 'SlotPart';2966}29672968/** @name RmrkTraitsPartSlotPart */2969export interface RmrkTraitsPartSlotPart extends Struct {2970 readonly id: u32;2971 readonly equippable: RmrkTraitsPartEquippableList;2972 readonly src: Bytes;2973 readonly z: u32;2974}29752976/** @name RmrkTraitsPropertyPropertyInfo */2977export interface RmrkTraitsPropertyPropertyInfo extends Struct {2978 readonly key: Bytes;2979 readonly value: Bytes;2980}29812982/** @name RmrkTraitsResourceBasicResource */2983export interface RmrkTraitsResourceBasicResource extends Struct {2984 readonly src: Option<Bytes>;2985 readonly metadata: Option<Bytes>;2986 readonly license: Option<Bytes>;2987 readonly thumb: Option<Bytes>;2988}29892990/** @name RmrkTraitsResourceComposableResource */2991export interface RmrkTraitsResourceComposableResource extends Struct {2992 readonly parts: Vec<u32>;2993 readonly base: u32;2994 readonly src: Option<Bytes>;2995 readonly metadata: Option<Bytes>;2996 readonly license: Option<Bytes>;2997 readonly thumb: Option<Bytes>;2998}29993000/** @name RmrkTraitsResourceResourceInfo */3001export interface RmrkTraitsResourceResourceInfo extends Struct {3002 readonly id: u32;3003 readonly resource: RmrkTraitsResourceResourceTypes;3004 readonly pending: bool;3005 readonly pendingRemoval: bool;3006}30073008/** @name RmrkTraitsResourceResourceTypes */3009export interface RmrkTraitsResourceResourceTypes extends Enum {3010 readonly isBasic: boolean;3011 readonly asBasic: RmrkTraitsResourceBasicResource;3012 readonly isComposable: boolean;3013 readonly asComposable: RmrkTraitsResourceComposableResource;3014 readonly isSlot: boolean;3015 readonly asSlot: RmrkTraitsResourceSlotResource;3016 readonly type: 'Basic' | 'Composable' | 'Slot';3017}30183019/** @name RmrkTraitsResourceSlotResource */3020export interface RmrkTraitsResourceSlotResource extends Struct {3021 readonly base: u32;3022 readonly src: Option<Bytes>;3023 readonly metadata: Option<Bytes>;3024 readonly slot: u32;3025 readonly license: Option<Bytes>;3026 readonly thumb: Option<Bytes>;3027}30283029/** @name RmrkTraitsTheme */3030export interface RmrkTraitsTheme extends Struct {3031 readonly name: Bytes;3032 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3033 readonly inherit: bool;3034}30353036/** @name RmrkTraitsThemeThemeProperty */3037export interface RmrkTraitsThemeThemeProperty extends Struct {3038 readonly key: Bytes;3039 readonly value: Bytes;3040}30413042/** @name SpConsensusAuraSr25519AppSr25519Public */3043export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}30443045/** @name SpCoreCryptoKeyTypeId */3046export interface SpCoreCryptoKeyTypeId extends U8aFixed {}30473048/** @name SpCoreEcdsaSignature */3049export interface SpCoreEcdsaSignature extends U8aFixed {}30503051/** @name SpCoreEd25519Signature */3052export interface SpCoreEd25519Signature extends U8aFixed {}30533054/** @name SpCoreSr25519Public */3055export interface SpCoreSr25519Public extends U8aFixed {}30563057/** @name SpCoreSr25519Signature */3058export interface SpCoreSr25519Signature extends U8aFixed {}30593060/** @name SpRuntimeArithmeticError */3061export interface SpRuntimeArithmeticError extends Enum {3062 readonly isUnderflow: boolean;3063 readonly isOverflow: boolean;3064 readonly isDivisionByZero: boolean;3065 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';3066}30673068/** @name SpRuntimeBlakeTwo256 */3069export interface SpRuntimeBlakeTwo256 extends Null {}30703071/** @name SpRuntimeDigest */3072export interface SpRuntimeDigest extends Struct {3073 readonly logs: Vec<SpRuntimeDigestDigestItem>;3074}30753076/** @name SpRuntimeDigestDigestItem */3077export interface SpRuntimeDigestDigestItem extends Enum {3078 readonly isOther: boolean;3079 readonly asOther: Bytes;3080 readonly isConsensus: boolean;3081 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;3082 readonly isSeal: boolean;3083 readonly asSeal: ITuple<[U8aFixed, Bytes]>;3084 readonly isPreRuntime: boolean;3085 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;3086 readonly isRuntimeEnvironmentUpdated: boolean;3087 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';3088}30893090/** @name SpRuntimeDispatchError */3091export interface SpRuntimeDispatchError extends Enum {3092 readonly isOther: boolean;3093 readonly isCannotLookup: boolean;3094 readonly isBadOrigin: boolean;3095 readonly isModule: boolean;3096 readonly asModule: SpRuntimeModuleError;3097 readonly isConsumerRemaining: boolean;3098 readonly isNoProviders: boolean;3099 readonly isTooManyConsumers: boolean;3100 readonly isToken: boolean;3101 readonly asToken: SpRuntimeTokenError;3102 readonly isArithmetic: boolean;3103 readonly asArithmetic: SpRuntimeArithmeticError;3104 readonly isTransactional: boolean;3105 readonly asTransactional: SpRuntimeTransactionalError;3106 readonly isExhausted: boolean;3107 readonly isCorruption: boolean;3108 readonly isUnavailable: boolean;3109 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';3110}31113112/** @name SpRuntimeHeader */3113export interface SpRuntimeHeader extends Struct {3114 readonly parentHash: H256;3115 readonly number: Compact<u32>;3116 readonly stateRoot: H256;3117 readonly extrinsicsRoot: H256;3118 readonly digest: SpRuntimeDigest;3119}31203121/** @name SpRuntimeModuleError */3122export interface SpRuntimeModuleError extends Struct {3123 readonly index: u8;3124 readonly error: U8aFixed;3125}31263127/** @name SpRuntimeMultiSignature */3128export interface SpRuntimeMultiSignature extends Enum {3129 readonly isEd25519: boolean;3130 readonly asEd25519: SpCoreEd25519Signature;3131 readonly isSr25519: boolean;3132 readonly asSr25519: SpCoreSr25519Signature;3133 readonly isEcdsa: boolean;3134 readonly asEcdsa: SpCoreEcdsaSignature;3135 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3136}31373138/** @name SpRuntimeTokenError */3139export interface SpRuntimeTokenError extends Enum {3140 readonly isNoFunds: boolean;3141 readonly isWouldDie: boolean;3142 readonly isBelowMinimum: boolean;3143 readonly isCannotCreate: boolean;3144 readonly isUnknownAsset: boolean;3145 readonly isFrozen: boolean;3146 readonly isUnsupported: boolean;3147 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';3148}31493150/** @name SpRuntimeTransactionalError */3151export interface SpRuntimeTransactionalError extends Enum {3152 readonly isLimitReached: boolean;3153 readonly isNoLayer: boolean;3154 readonly type: 'LimitReached' | 'NoLayer';3155}31563157/** @name SpRuntimeTransactionValidityInvalidTransaction */3158export interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3159 readonly isCall: boolean;3160 readonly isPayment: boolean;3161 readonly isFuture: boolean;3162 readonly isStale: boolean;3163 readonly isBadProof: boolean;3164 readonly isAncientBirthBlock: boolean;3165 readonly isExhaustsResources: boolean;3166 readonly isCustom: boolean;3167 readonly asCustom: u8;3168 readonly isBadMandatory: boolean;3169 readonly isMandatoryValidation: boolean;3170 readonly isBadSigner: boolean;3171 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3172}31733174/** @name SpRuntimeTransactionValidityTransactionValidityError */3175export interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3176 readonly isInvalid: boolean;3177 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3178 readonly isUnknown: boolean;3179 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;3180 readonly type: 'Invalid' | 'Unknown';3181}31823183/** @name SpRuntimeTransactionValidityUnknownTransaction */3184export interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3185 readonly isCannotLookup: boolean;3186 readonly isNoUnsignedValidator: boolean;3187 readonly isCustom: boolean;3188 readonly asCustom: u8;3189 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3190}31913192/** @name SpTrieStorageProof */3193export interface SpTrieStorageProof extends Struct {3194 readonly trieNodes: BTreeSet<Bytes>;3195}31963197/** @name SpVersionRuntimeVersion */3198export interface SpVersionRuntimeVersion extends Struct {3199 readonly specName: Text;3200 readonly implName: Text;3201 readonly authoringVersion: u32;3202 readonly specVersion: u32;3203 readonly implVersion: u32;3204 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;3205 readonly transactionVersion: u32;3206 readonly stateVersion: u8;3207}32083209/** @name SpWeightsRuntimeDbWeight */3210export interface SpWeightsRuntimeDbWeight extends Struct {3211 readonly read: u64;3212 readonly write: u64;3213}32143215/** @name SpWeightsWeightV2Weight */3216export interface SpWeightsWeightV2Weight extends Struct {3217 readonly refTime: Compact<u64>;3218 readonly proofSize: Compact<u64>;3219}32203221/** @name UpDataStructsAccessMode */3222export interface UpDataStructsAccessMode extends Enum {3223 readonly isNormal: boolean;3224 readonly isAllowList: boolean;3225 readonly type: 'Normal' | 'AllowList';3226}32273228/** @name UpDataStructsCollection */3229export interface UpDataStructsCollection extends Struct {3230 readonly owner: AccountId32;3231 readonly mode: UpDataStructsCollectionMode;3232 readonly name: Vec<u16>;3233 readonly description: Vec<u16>;3234 readonly tokenPrefix: Bytes;3235 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3236 readonly limits: UpDataStructsCollectionLimits;3237 readonly permissions: UpDataStructsCollectionPermissions;3238 readonly flags: U8aFixed;3239}32403241/** @name UpDataStructsCollectionLimits */3242export interface UpDataStructsCollectionLimits extends Struct {3243 readonly accountTokenOwnershipLimit: Option<u32>;3244 readonly sponsoredDataSize: Option<u32>;3245 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;3246 readonly tokenLimit: Option<u32>;3247 readonly sponsorTransferTimeout: Option<u32>;3248 readonly sponsorApproveTimeout: Option<u32>;3249 readonly ownerCanTransfer: Option<bool>;3250 readonly ownerCanDestroy: Option<bool>;3251 readonly transfersEnabled: Option<bool>;3252}32533254/** @name UpDataStructsCollectionMode */3255export interface UpDataStructsCollectionMode extends Enum {3256 readonly isNft: boolean;3257 readonly isFungible: boolean;3258 readonly asFungible: u8;3259 readonly isReFungible: boolean;3260 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3261}32623263/** @name UpDataStructsCollectionPermissions */3264export interface UpDataStructsCollectionPermissions extends Struct {3265 readonly access: Option<UpDataStructsAccessMode>;3266 readonly mintMode: Option<bool>;3267 readonly nesting: Option<UpDataStructsNestingPermissions>;3268}32693270/** @name UpDataStructsCollectionStats */3271export interface UpDataStructsCollectionStats extends Struct {3272 readonly created: u32;3273 readonly destroyed: u32;3274 readonly alive: u32;3275}32763277/** @name UpDataStructsCreateCollectionData */3278export interface UpDataStructsCreateCollectionData extends Struct {3279 readonly mode: UpDataStructsCollectionMode;3280 readonly access: Option<UpDataStructsAccessMode>;3281 readonly name: Vec<u16>;3282 readonly description: Vec<u16>;3283 readonly tokenPrefix: Bytes;3284 readonly pendingSponsor: Option<AccountId32>;3285 readonly limits: Option<UpDataStructsCollectionLimits>;3286 readonly permissions: Option<UpDataStructsCollectionPermissions>;3287 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3288 readonly properties: Vec<UpDataStructsProperty>;3289}32903291/** @name UpDataStructsCreateFungibleData */3292export interface UpDataStructsCreateFungibleData extends Struct {3293 readonly value: u128;3294}32953296/** @name UpDataStructsCreateItemData */3297export interface UpDataStructsCreateItemData extends Enum {3298 readonly isNft: boolean;3299 readonly asNft: UpDataStructsCreateNftData;3300 readonly isFungible: boolean;3301 readonly asFungible: UpDataStructsCreateFungibleData;3302 readonly isReFungible: boolean;3303 readonly asReFungible: UpDataStructsCreateReFungibleData;3304 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3305}33063307/** @name UpDataStructsCreateItemExData */3308export interface UpDataStructsCreateItemExData extends Enum {3309 readonly isNft: boolean;3310 readonly asNft: Vec<UpDataStructsCreateNftExData>;3311 readonly isFungible: boolean;3312 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;3313 readonly isRefungibleMultipleItems: boolean;3314 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3315 readonly isRefungibleMultipleOwners: boolean;3316 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3317 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3318}33193320/** @name UpDataStructsCreateNftData */3321export interface UpDataStructsCreateNftData extends Struct {3322 readonly properties: Vec<UpDataStructsProperty>;3323}33243325/** @name UpDataStructsCreateNftExData */3326export interface UpDataStructsCreateNftExData extends Struct {3327 readonly properties: Vec<UpDataStructsProperty>;3328 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3329}33303331/** @name UpDataStructsCreateReFungibleData */3332export interface UpDataStructsCreateReFungibleData extends Struct {3333 readonly pieces: u128;3334 readonly properties: Vec<UpDataStructsProperty>;3335}33363337/** @name UpDataStructsCreateRefungibleExMultipleOwners */3338export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3339 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3340 readonly properties: Vec<UpDataStructsProperty>;3341}33423343/** @name UpDataStructsCreateRefungibleExSingleOwner */3344export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3345 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3346 readonly pieces: u128;3347 readonly properties: Vec<UpDataStructsProperty>;3348}33493350/** @name UpDataStructsNestingPermissions */3351export interface UpDataStructsNestingPermissions extends Struct {3352 readonly tokenOwner: bool;3353 readonly collectionAdmin: bool;3354 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3355}33563357/** @name UpDataStructsOwnerRestrictedSet */3358export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}33593360/** @name UpDataStructsProperties */3361export interface UpDataStructsProperties extends Struct {3362 readonly map: UpDataStructsPropertiesMapBoundedVec;3363 readonly consumedSpace: u32;3364 readonly spaceLimit: u32;3365}33663367/** @name UpDataStructsPropertiesMapBoundedVec */3368export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33693370/** @name UpDataStructsPropertiesMapPropertyPermission */3371export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33723373/** @name UpDataStructsProperty */3374export interface UpDataStructsProperty extends Struct {3375 readonly key: Bytes;3376 readonly value: Bytes;3377}33783379/** @name UpDataStructsPropertyKeyPermission */3380export interface UpDataStructsPropertyKeyPermission extends Struct {3381 readonly key: Bytes;3382 readonly permission: UpDataStructsPropertyPermission;3383}33843385/** @name UpDataStructsPropertyPermission */3386export interface UpDataStructsPropertyPermission extends Struct {3387 readonly mutable: bool;3388 readonly collectionAdmin: bool;3389 readonly tokenOwner: bool;3390}33913392/** @name UpDataStructsPropertyScope */3393export interface UpDataStructsPropertyScope extends Enum {3394 readonly isNone: boolean;3395 readonly isRmrk: boolean;3396 readonly type: 'None' | 'Rmrk';3397}33983399/** @name UpDataStructsRpcCollection */3400export interface UpDataStructsRpcCollection extends Struct {3401 readonly owner: AccountId32;3402 readonly mode: UpDataStructsCollectionMode;3403 readonly name: Vec<u16>;3404 readonly description: Vec<u16>;3405 readonly tokenPrefix: Bytes;3406 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3407 readonly limits: UpDataStructsCollectionLimits;3408 readonly permissions: UpDataStructsCollectionPermissions;3409 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3410 readonly properties: Vec<UpDataStructsProperty>;3411 readonly readOnly: bool;3412 readonly flags: UpDataStructsRpcCollectionFlags;3413}34143415/** @name UpDataStructsRpcCollectionFlags */3416export interface UpDataStructsRpcCollectionFlags extends Struct {3417 readonly foreign: bool;3418 readonly erc721metadata: bool;3419}34203421/** @name UpDataStructsSponsoringRateLimit */3422export interface UpDataStructsSponsoringRateLimit extends Enum {3423 readonly isSponsoringDisabled: boolean;3424 readonly isBlocks: boolean;3425 readonly asBlocks: u32;3426 readonly type: 'SponsoringDisabled' | 'Blocks';3427}34283429/** @name UpDataStructsSponsorshipStateAccountId32 */3430export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3431 readonly isDisabled: boolean;3432 readonly isUnconfirmed: boolean;3433 readonly asUnconfirmed: AccountId32;3434 readonly isConfirmed: boolean;3435 readonly asConfirmed: AccountId32;3436 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3437}34383439/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3440export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3441 readonly isDisabled: boolean;3442 readonly isUnconfirmed: boolean;3443 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3444 readonly isConfirmed: boolean;3445 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3446 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3447}34483449/** @name UpDataStructsTokenChild */3450export interface UpDataStructsTokenChild extends Struct {3451 readonly token: u32;3452 readonly collection: u32;3453}34543455/** @name UpDataStructsTokenData */3456export interface UpDataStructsTokenData extends Struct {3457 readonly properties: Vec<UpDataStructsProperty>;3458 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3459 readonly pieces: u128;3460}34613462/** @name UpPovEstimateRpcPovInfo */3463export interface UpPovEstimateRpcPovInfo extends Struct {3464 readonly proofSize: u64;3465 readonly compactProofSize: u64;3466 readonly compressedProofSize: u64;3467 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3468 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3469}34703471/** @name UpPovEstimateRpcTrieKeyValue */3472export interface UpPovEstimateRpcTrieKeyValue extends Struct {3473 readonly key: Bytes;3474 readonly value: Bytes;3475}34763477/** @name XcmDoubleEncoded */3478export interface XcmDoubleEncoded extends Struct {3479 readonly encoded: Bytes;3480}34813482/** @name XcmV0Junction */3483export interface XcmV0Junction extends Enum {3484 readonly isParent: boolean;3485 readonly isParachain: boolean;3486 readonly asParachain: Compact<u32>;3487 readonly isAccountId32: boolean;3488 readonly asAccountId32: {3489 readonly network: XcmV0JunctionNetworkId;3490 readonly id: U8aFixed;3491 } & Struct;3492 readonly isAccountIndex64: boolean;3493 readonly asAccountIndex64: {3494 readonly network: XcmV0JunctionNetworkId;3495 readonly index: Compact<u64>;3496 } & Struct;3497 readonly isAccountKey20: boolean;3498 readonly asAccountKey20: {3499 readonly network: XcmV0JunctionNetworkId;3500 readonly key: U8aFixed;3501 } & Struct;3502 readonly isPalletInstance: boolean;3503 readonly asPalletInstance: u8;3504 readonly isGeneralIndex: boolean;3505 readonly asGeneralIndex: Compact<u128>;3506 readonly isGeneralKey: boolean;3507 readonly asGeneralKey: Bytes;3508 readonly isOnlyChild: boolean;3509 readonly isPlurality: boolean;3510 readonly asPlurality: {3511 readonly id: XcmV0JunctionBodyId;3512 readonly part: XcmV0JunctionBodyPart;3513 } & Struct;3514 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3515}35163517/** @name XcmV0JunctionBodyId */3518export interface XcmV0JunctionBodyId extends Enum {3519 readonly isUnit: boolean;3520 readonly isNamed: boolean;3521 readonly asNamed: Bytes;3522 readonly isIndex: boolean;3523 readonly asIndex: Compact<u32>;3524 readonly isExecutive: boolean;3525 readonly isTechnical: boolean;3526 readonly isLegislative: boolean;3527 readonly isJudicial: boolean;3528 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3529}35303531/** @name XcmV0JunctionBodyPart */3532export interface XcmV0JunctionBodyPart extends Enum {3533 readonly isVoice: boolean;3534 readonly isMembers: boolean;3535 readonly asMembers: {3536 readonly count: Compact<u32>;3537 } & Struct;3538 readonly isFraction: boolean;3539 readonly asFraction: {3540 readonly nom: Compact<u32>;3541 readonly denom: Compact<u32>;3542 } & Struct;3543 readonly isAtLeastProportion: boolean;3544 readonly asAtLeastProportion: {3545 readonly nom: Compact<u32>;3546 readonly denom: Compact<u32>;3547 } & Struct;3548 readonly isMoreThanProportion: boolean;3549 readonly asMoreThanProportion: {3550 readonly nom: Compact<u32>;3551 readonly denom: Compact<u32>;3552 } & Struct;3553 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3554}35553556/** @name XcmV0JunctionNetworkId */3557export interface XcmV0JunctionNetworkId extends Enum {3558 readonly isAny: boolean;3559 readonly isNamed: boolean;3560 readonly asNamed: Bytes;3561 readonly isPolkadot: boolean;3562 readonly isKusama: boolean;3563 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3564}35653566/** @name XcmV0MultiAsset */3567export interface XcmV0MultiAsset extends Enum {3568 readonly isNone: boolean;3569 readonly isAll: boolean;3570 readonly isAllFungible: boolean;3571 readonly isAllNonFungible: boolean;3572 readonly isAllAbstractFungible: boolean;3573 readonly asAllAbstractFungible: {3574 readonly id: Bytes;3575 } & Struct;3576 readonly isAllAbstractNonFungible: boolean;3577 readonly asAllAbstractNonFungible: {3578 readonly class: Bytes;3579 } & Struct;3580 readonly isAllConcreteFungible: boolean;3581 readonly asAllConcreteFungible: {3582 readonly id: XcmV0MultiLocation;3583 } & Struct;3584 readonly isAllConcreteNonFungible: boolean;3585 readonly asAllConcreteNonFungible: {3586 readonly class: XcmV0MultiLocation;3587 } & Struct;3588 readonly isAbstractFungible: boolean;3589 readonly asAbstractFungible: {3590 readonly id: Bytes;3591 readonly amount: Compact<u128>;3592 } & Struct;3593 readonly isAbstractNonFungible: boolean;3594 readonly asAbstractNonFungible: {3595 readonly class: Bytes;3596 readonly instance: XcmV1MultiassetAssetInstance;3597 } & Struct;3598 readonly isConcreteFungible: boolean;3599 readonly asConcreteFungible: {3600 readonly id: XcmV0MultiLocation;3601 readonly amount: Compact<u128>;3602 } & Struct;3603 readonly isConcreteNonFungible: boolean;3604 readonly asConcreteNonFungible: {3605 readonly class: XcmV0MultiLocation;3606 readonly instance: XcmV1MultiassetAssetInstance;3607 } & Struct;3608 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3609}36103611/** @name XcmV0MultiLocation */3612export interface XcmV0MultiLocation extends Enum {3613 readonly isNull: boolean;3614 readonly isX1: boolean;3615 readonly asX1: XcmV0Junction;3616 readonly isX2: boolean;3617 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3618 readonly isX3: boolean;3619 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3620 readonly isX4: boolean;3621 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3622 readonly isX5: boolean;3623 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3624 readonly isX6: boolean;3625 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3626 readonly isX7: boolean;3627 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3628 readonly isX8: boolean;3629 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3630 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3631}36323633/** @name XcmV0Order */3634export interface XcmV0Order extends Enum {3635 readonly isNull: boolean;3636 readonly isDepositAsset: boolean;3637 readonly asDepositAsset: {3638 readonly assets: Vec<XcmV0MultiAsset>;3639 readonly dest: XcmV0MultiLocation;3640 } & Struct;3641 readonly isDepositReserveAsset: boolean;3642 readonly asDepositReserveAsset: {3643 readonly assets: Vec<XcmV0MultiAsset>;3644 readonly dest: XcmV0MultiLocation;3645 readonly effects: Vec<XcmV0Order>;3646 } & Struct;3647 readonly isExchangeAsset: boolean;3648 readonly asExchangeAsset: {3649 readonly give: Vec<XcmV0MultiAsset>;3650 readonly receive: Vec<XcmV0MultiAsset>;3651 } & Struct;3652 readonly isInitiateReserveWithdraw: boolean;3653 readonly asInitiateReserveWithdraw: {3654 readonly assets: Vec<XcmV0MultiAsset>;3655 readonly reserve: XcmV0MultiLocation;3656 readonly effects: Vec<XcmV0Order>;3657 } & Struct;3658 readonly isInitiateTeleport: boolean;3659 readonly asInitiateTeleport: {3660 readonly assets: Vec<XcmV0MultiAsset>;3661 readonly dest: XcmV0MultiLocation;3662 readonly effects: Vec<XcmV0Order>;3663 } & Struct;3664 readonly isQueryHolding: boolean;3665 readonly asQueryHolding: {3666 readonly queryId: Compact<u64>;3667 readonly dest: XcmV0MultiLocation;3668 readonly assets: Vec<XcmV0MultiAsset>;3669 } & Struct;3670 readonly isBuyExecution: boolean;3671 readonly asBuyExecution: {3672 readonly fees: XcmV0MultiAsset;3673 readonly weight: u64;3674 readonly debt: u64;3675 readonly haltOnError: bool;3676 readonly xcm: Vec<XcmV0Xcm>;3677 } & Struct;3678 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3679}36803681/** @name XcmV0OriginKind */3682export interface XcmV0OriginKind extends Enum {3683 readonly isNative: boolean;3684 readonly isSovereignAccount: boolean;3685 readonly isSuperuser: boolean;3686 readonly isXcm: boolean;3687 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3688}36893690/** @name XcmV0Response */3691export interface XcmV0Response extends Enum {3692 readonly isAssets: boolean;3693 readonly asAssets: Vec<XcmV0MultiAsset>;3694 readonly type: 'Assets';3695}36963697/** @name XcmV0Xcm */3698export interface XcmV0Xcm extends Enum {3699 readonly isWithdrawAsset: boolean;3700 readonly asWithdrawAsset: {3701 readonly assets: Vec<XcmV0MultiAsset>;3702 readonly effects: Vec<XcmV0Order>;3703 } & Struct;3704 readonly isReserveAssetDeposit: boolean;3705 readonly asReserveAssetDeposit: {3706 readonly assets: Vec<XcmV0MultiAsset>;3707 readonly effects: Vec<XcmV0Order>;3708 } & Struct;3709 readonly isTeleportAsset: boolean;3710 readonly asTeleportAsset: {3711 readonly assets: Vec<XcmV0MultiAsset>;3712 readonly effects: Vec<XcmV0Order>;3713 } & Struct;3714 readonly isQueryResponse: boolean;3715 readonly asQueryResponse: {3716 readonly queryId: Compact<u64>;3717 readonly response: XcmV0Response;3718 } & Struct;3719 readonly isTransferAsset: boolean;3720 readonly asTransferAsset: {3721 readonly assets: Vec<XcmV0MultiAsset>;3722 readonly dest: XcmV0MultiLocation;3723 } & Struct;3724 readonly isTransferReserveAsset: boolean;3725 readonly asTransferReserveAsset: {3726 readonly assets: Vec<XcmV0MultiAsset>;3727 readonly dest: XcmV0MultiLocation;3728 readonly effects: Vec<XcmV0Order>;3729 } & Struct;3730 readonly isTransact: boolean;3731 readonly asTransact: {3732 readonly originType: XcmV0OriginKind;3733 readonly requireWeightAtMost: u64;3734 readonly call: XcmDoubleEncoded;3735 } & Struct;3736 readonly isHrmpNewChannelOpenRequest: boolean;3737 readonly asHrmpNewChannelOpenRequest: {3738 readonly sender: Compact<u32>;3739 readonly maxMessageSize: Compact<u32>;3740 readonly maxCapacity: Compact<u32>;3741 } & Struct;3742 readonly isHrmpChannelAccepted: boolean;3743 readonly asHrmpChannelAccepted: {3744 readonly recipient: Compact<u32>;3745 } & Struct;3746 readonly isHrmpChannelClosing: boolean;3747 readonly asHrmpChannelClosing: {3748 readonly initiator: Compact<u32>;3749 readonly sender: Compact<u32>;3750 readonly recipient: Compact<u32>;3751 } & Struct;3752 readonly isRelayedFrom: boolean;3753 readonly asRelayedFrom: {3754 readonly who: XcmV0MultiLocation;3755 readonly message: XcmV0Xcm;3756 } & Struct;3757 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3758}37593760/** @name XcmV1Junction */3761export interface XcmV1Junction extends Enum {3762 readonly isParachain: boolean;3763 readonly asParachain: Compact<u32>;3764 readonly isAccountId32: boolean;3765 readonly asAccountId32: {3766 readonly network: XcmV0JunctionNetworkId;3767 readonly id: U8aFixed;3768 } & Struct;3769 readonly isAccountIndex64: boolean;3770 readonly asAccountIndex64: {3771 readonly network: XcmV0JunctionNetworkId;3772 readonly index: Compact<u64>;3773 } & Struct;3774 readonly isAccountKey20: boolean;3775 readonly asAccountKey20: {3776 readonly network: XcmV0JunctionNetworkId;3777 readonly key: U8aFixed;3778 } & Struct;3779 readonly isPalletInstance: boolean;3780 readonly asPalletInstance: u8;3781 readonly isGeneralIndex: boolean;3782 readonly asGeneralIndex: Compact<u128>;3783 readonly isGeneralKey: boolean;3784 readonly asGeneralKey: Bytes;3785 readonly isOnlyChild: boolean;3786 readonly isPlurality: boolean;3787 readonly asPlurality: {3788 readonly id: XcmV0JunctionBodyId;3789 readonly part: XcmV0JunctionBodyPart;3790 } & Struct;3791 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3792}37933794/** @name XcmV1MultiAsset */3795export interface XcmV1MultiAsset extends Struct {3796 readonly id: XcmV1MultiassetAssetId;3797 readonly fun: XcmV1MultiassetFungibility;3798}37993800/** @name XcmV1MultiassetAssetId */3801export interface XcmV1MultiassetAssetId extends Enum {3802 readonly isConcrete: boolean;3803 readonly asConcrete: XcmV1MultiLocation;3804 readonly isAbstract: boolean;3805 readonly asAbstract: Bytes;3806 readonly type: 'Concrete' | 'Abstract';3807}38083809/** @name XcmV1MultiassetAssetInstance */3810export interface XcmV1MultiassetAssetInstance extends Enum {3811 readonly isUndefined: boolean;3812 readonly isIndex: boolean;3813 readonly asIndex: Compact<u128>;3814 readonly isArray4: boolean;3815 readonly asArray4: U8aFixed;3816 readonly isArray8: boolean;3817 readonly asArray8: U8aFixed;3818 readonly isArray16: boolean;3819 readonly asArray16: U8aFixed;3820 readonly isArray32: boolean;3821 readonly asArray32: U8aFixed;3822 readonly isBlob: boolean;3823 readonly asBlob: Bytes;3824 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3825}38263827/** @name XcmV1MultiassetFungibility */3828export interface XcmV1MultiassetFungibility extends Enum {3829 readonly isFungible: boolean;3830 readonly asFungible: Compact<u128>;3831 readonly isNonFungible: boolean;3832 readonly asNonFungible: XcmV1MultiassetAssetInstance;3833 readonly type: 'Fungible' | 'NonFungible';3834}38353836/** @name XcmV1MultiassetMultiAssetFilter */3837export interface XcmV1MultiassetMultiAssetFilter extends Enum {3838 readonly isDefinite: boolean;3839 readonly asDefinite: XcmV1MultiassetMultiAssets;3840 readonly isWild: boolean;3841 readonly asWild: XcmV1MultiassetWildMultiAsset;3842 readonly type: 'Definite' | 'Wild';3843}38443845/** @name XcmV1MultiassetMultiAssets */3846export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}38473848/** @name XcmV1MultiassetWildFungibility */3849export interface XcmV1MultiassetWildFungibility extends Enum {3850 readonly isFungible: boolean;3851 readonly isNonFungible: boolean;3852 readonly type: 'Fungible' | 'NonFungible';3853}38543855/** @name XcmV1MultiassetWildMultiAsset */3856export interface XcmV1MultiassetWildMultiAsset extends Enum {3857 readonly isAll: boolean;3858 readonly isAllOf: boolean;3859 readonly asAllOf: {3860 readonly id: XcmV1MultiassetAssetId;3861 readonly fun: XcmV1MultiassetWildFungibility;3862 } & Struct;3863 readonly type: 'All' | 'AllOf';3864}38653866/** @name XcmV1MultiLocation */3867export interface XcmV1MultiLocation extends Struct {3868 readonly parents: u8;3869 readonly interior: XcmV1MultilocationJunctions;3870}38713872/** @name XcmV1MultilocationJunctions */3873export interface XcmV1MultilocationJunctions extends Enum {3874 readonly isHere: boolean;3875 readonly isX1: boolean;3876 readonly asX1: XcmV1Junction;3877 readonly isX2: boolean;3878 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3879 readonly isX3: boolean;3880 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3881 readonly isX4: boolean;3882 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3883 readonly isX5: boolean;3884 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3885 readonly isX6: boolean;3886 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3887 readonly isX7: boolean;3888 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3889 readonly isX8: boolean;3890 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3891 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3892}38933894/** @name XcmV1Order */3895export interface XcmV1Order extends Enum {3896 readonly isNoop: boolean;3897 readonly isDepositAsset: boolean;3898 readonly asDepositAsset: {3899 readonly assets: XcmV1MultiassetMultiAssetFilter;3900 readonly maxAssets: u32;3901 readonly beneficiary: XcmV1MultiLocation;3902 } & Struct;3903 readonly isDepositReserveAsset: boolean;3904 readonly asDepositReserveAsset: {3905 readonly assets: XcmV1MultiassetMultiAssetFilter;3906 readonly maxAssets: u32;3907 readonly dest: XcmV1MultiLocation;3908 readonly effects: Vec<XcmV1Order>;3909 } & Struct;3910 readonly isExchangeAsset: boolean;3911 readonly asExchangeAsset: {3912 readonly give: XcmV1MultiassetMultiAssetFilter;3913 readonly receive: XcmV1MultiassetMultiAssets;3914 } & Struct;3915 readonly isInitiateReserveWithdraw: boolean;3916 readonly asInitiateReserveWithdraw: {3917 readonly assets: XcmV1MultiassetMultiAssetFilter;3918 readonly reserve: XcmV1MultiLocation;3919 readonly effects: Vec<XcmV1Order>;3920 } & Struct;3921 readonly isInitiateTeleport: boolean;3922 readonly asInitiateTeleport: {3923 readonly assets: XcmV1MultiassetMultiAssetFilter;3924 readonly dest: XcmV1MultiLocation;3925 readonly effects: Vec<XcmV1Order>;3926 } & Struct;3927 readonly isQueryHolding: boolean;3928 readonly asQueryHolding: {3929 readonly queryId: Compact<u64>;3930 readonly dest: XcmV1MultiLocation;3931 readonly assets: XcmV1MultiassetMultiAssetFilter;3932 } & Struct;3933 readonly isBuyExecution: boolean;3934 readonly asBuyExecution: {3935 readonly fees: XcmV1MultiAsset;3936 readonly weight: u64;3937 readonly debt: u64;3938 readonly haltOnError: bool;3939 readonly instructions: Vec<XcmV1Xcm>;3940 } & Struct;3941 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3942}39433944/** @name XcmV1Response */3945export interface XcmV1Response extends Enum {3946 readonly isAssets: boolean;3947 readonly asAssets: XcmV1MultiassetMultiAssets;3948 readonly isVersion: boolean;3949 readonly asVersion: u32;3950 readonly type: 'Assets' | 'Version';3951}39523953/** @name XcmV1Xcm */3954export interface XcmV1Xcm extends Enum {3955 readonly isWithdrawAsset: boolean;3956 readonly asWithdrawAsset: {3957 readonly assets: XcmV1MultiassetMultiAssets;3958 readonly effects: Vec<XcmV1Order>;3959 } & Struct;3960 readonly isReserveAssetDeposited: boolean;3961 readonly asReserveAssetDeposited: {3962 readonly assets: XcmV1MultiassetMultiAssets;3963 readonly effects: Vec<XcmV1Order>;3964 } & Struct;3965 readonly isReceiveTeleportedAsset: boolean;3966 readonly asReceiveTeleportedAsset: {3967 readonly assets: XcmV1MultiassetMultiAssets;3968 readonly effects: Vec<XcmV1Order>;3969 } & Struct;3970 readonly isQueryResponse: boolean;3971 readonly asQueryResponse: {3972 readonly queryId: Compact<u64>;3973 readonly response: XcmV1Response;3974 } & Struct;3975 readonly isTransferAsset: boolean;3976 readonly asTransferAsset: {3977 readonly assets: XcmV1MultiassetMultiAssets;3978 readonly beneficiary: XcmV1MultiLocation;3979 } & Struct;3980 readonly isTransferReserveAsset: boolean;3981 readonly asTransferReserveAsset: {3982 readonly assets: XcmV1MultiassetMultiAssets;3983 readonly dest: XcmV1MultiLocation;3984 readonly effects: Vec<XcmV1Order>;3985 } & Struct;3986 readonly isTransact: boolean;3987 readonly asTransact: {3988 readonly originType: XcmV0OriginKind;3989 readonly requireWeightAtMost: u64;3990 readonly call: XcmDoubleEncoded;3991 } & Struct;3992 readonly isHrmpNewChannelOpenRequest: boolean;3993 readonly asHrmpNewChannelOpenRequest: {3994 readonly sender: Compact<u32>;3995 readonly maxMessageSize: Compact<u32>;3996 readonly maxCapacity: Compact<u32>;3997 } & Struct;3998 readonly isHrmpChannelAccepted: boolean;3999 readonly asHrmpChannelAccepted: {4000 readonly recipient: Compact<u32>;4001 } & Struct;4002 readonly isHrmpChannelClosing: boolean;4003 readonly asHrmpChannelClosing: {4004 readonly initiator: Compact<u32>;4005 readonly sender: Compact<u32>;4006 readonly recipient: Compact<u32>;4007 } & Struct;4008 readonly isRelayedFrom: boolean;4009 readonly asRelayedFrom: {4010 readonly who: XcmV1MultilocationJunctions;4011 readonly message: XcmV1Xcm;4012 } & Struct;4013 readonly isSubscribeVersion: boolean;4014 readonly asSubscribeVersion: {4015 readonly queryId: Compact<u64>;4016 readonly maxResponseWeight: Compact<u64>;4017 } & Struct;4018 readonly isUnsubscribeVersion: boolean;4019 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';4020}40214022/** @name XcmV2Instruction */4023export interface XcmV2Instruction extends Enum {4024 readonly isWithdrawAsset: boolean;4025 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;4026 readonly isReserveAssetDeposited: boolean;4027 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;4028 readonly isReceiveTeleportedAsset: boolean;4029 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;4030 readonly isQueryResponse: boolean;4031 readonly asQueryResponse: {4032 readonly queryId: Compact<u64>;4033 readonly response: XcmV2Response;4034 readonly maxWeight: Compact<u64>;4035 } & Struct;4036 readonly isTransferAsset: boolean;4037 readonly asTransferAsset: {4038 readonly assets: XcmV1MultiassetMultiAssets;4039 readonly beneficiary: XcmV1MultiLocation;4040 } & Struct;4041 readonly isTransferReserveAsset: boolean;4042 readonly asTransferReserveAsset: {4043 readonly assets: XcmV1MultiassetMultiAssets;4044 readonly dest: XcmV1MultiLocation;4045 readonly xcm: XcmV2Xcm;4046 } & Struct;4047 readonly isTransact: boolean;4048 readonly asTransact: {4049 readonly originType: XcmV0OriginKind;4050 readonly requireWeightAtMost: Compact<u64>;4051 readonly call: XcmDoubleEncoded;4052 } & Struct;4053 readonly isHrmpNewChannelOpenRequest: boolean;4054 readonly asHrmpNewChannelOpenRequest: {4055 readonly sender: Compact<u32>;4056 readonly maxMessageSize: Compact<u32>;4057 readonly maxCapacity: Compact<u32>;4058 } & Struct;4059 readonly isHrmpChannelAccepted: boolean;4060 readonly asHrmpChannelAccepted: {4061 readonly recipient: Compact<u32>;4062 } & Struct;4063 readonly isHrmpChannelClosing: boolean;4064 readonly asHrmpChannelClosing: {4065 readonly initiator: Compact<u32>;4066 readonly sender: Compact<u32>;4067 readonly recipient: Compact<u32>;4068 } & Struct;4069 readonly isClearOrigin: boolean;4070 readonly isDescendOrigin: boolean;4071 readonly asDescendOrigin: XcmV1MultilocationJunctions;4072 readonly isReportError: boolean;4073 readonly asReportError: {4074 readonly queryId: Compact<u64>;4075 readonly dest: XcmV1MultiLocation;4076 readonly maxResponseWeight: Compact<u64>;4077 } & Struct;4078 readonly isDepositAsset: boolean;4079 readonly asDepositAsset: {4080 readonly assets: XcmV1MultiassetMultiAssetFilter;4081 readonly maxAssets: Compact<u32>;4082 readonly beneficiary: XcmV1MultiLocation;4083 } & Struct;4084 readonly isDepositReserveAsset: boolean;4085 readonly asDepositReserveAsset: {4086 readonly assets: XcmV1MultiassetMultiAssetFilter;4087 readonly maxAssets: Compact<u32>;4088 readonly dest: XcmV1MultiLocation;4089 readonly xcm: XcmV2Xcm;4090 } & Struct;4091 readonly isExchangeAsset: boolean;4092 readonly asExchangeAsset: {4093 readonly give: XcmV1MultiassetMultiAssetFilter;4094 readonly receive: XcmV1MultiassetMultiAssets;4095 } & Struct;4096 readonly isInitiateReserveWithdraw: boolean;4097 readonly asInitiateReserveWithdraw: {4098 readonly assets: XcmV1MultiassetMultiAssetFilter;4099 readonly reserve: XcmV1MultiLocation;4100 readonly xcm: XcmV2Xcm;4101 } & Struct;4102 readonly isInitiateTeleport: boolean;4103 readonly asInitiateTeleport: {4104 readonly assets: XcmV1MultiassetMultiAssetFilter;4105 readonly dest: XcmV1MultiLocation;4106 readonly xcm: XcmV2Xcm;4107 } & Struct;4108 readonly isQueryHolding: boolean;4109 readonly asQueryHolding: {4110 readonly queryId: Compact<u64>;4111 readonly dest: XcmV1MultiLocation;4112 readonly assets: XcmV1MultiassetMultiAssetFilter;4113 readonly maxResponseWeight: Compact<u64>;4114 } & Struct;4115 readonly isBuyExecution: boolean;4116 readonly asBuyExecution: {4117 readonly fees: XcmV1MultiAsset;4118 readonly weightLimit: XcmV2WeightLimit;4119 } & Struct;4120 readonly isRefundSurplus: boolean;4121 readonly isSetErrorHandler: boolean;4122 readonly asSetErrorHandler: XcmV2Xcm;4123 readonly isSetAppendix: boolean;4124 readonly asSetAppendix: XcmV2Xcm;4125 readonly isClearError: boolean;4126 readonly isClaimAsset: boolean;4127 readonly asClaimAsset: {4128 readonly assets: XcmV1MultiassetMultiAssets;4129 readonly ticket: XcmV1MultiLocation;4130 } & Struct;4131 readonly isTrap: boolean;4132 readonly asTrap: Compact<u64>;4133 readonly isSubscribeVersion: boolean;4134 readonly asSubscribeVersion: {4135 readonly queryId: Compact<u64>;4136 readonly maxResponseWeight: Compact<u64>;4137 } & Struct;4138 readonly isUnsubscribeVersion: boolean;4139 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';4140}41414142/** @name XcmV2Response */4143export interface XcmV2Response extends Enum {4144 readonly isNull: boolean;4145 readonly isAssets: boolean;4146 readonly asAssets: XcmV1MultiassetMultiAssets;4147 readonly isExecutionResult: boolean;4148 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;4149 readonly isVersion: boolean;4150 readonly asVersion: u32;4151 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';4152}41534154/** @name XcmV2TraitsError */4155export interface XcmV2TraitsError extends Enum {4156 readonly isOverflow: boolean;4157 readonly isUnimplemented: boolean;4158 readonly isUntrustedReserveLocation: boolean;4159 readonly isUntrustedTeleportLocation: boolean;4160 readonly isMultiLocationFull: boolean;4161 readonly isMultiLocationNotInvertible: boolean;4162 readonly isBadOrigin: boolean;4163 readonly isInvalidLocation: boolean;4164 readonly isAssetNotFound: boolean;4165 readonly isFailedToTransactAsset: boolean;4166 readonly isNotWithdrawable: boolean;4167 readonly isLocationCannotHold: boolean;4168 readonly isExceedsMaxMessageSize: boolean;4169 readonly isDestinationUnsupported: boolean;4170 readonly isTransport: boolean;4171 readonly isUnroutable: boolean;4172 readonly isUnknownClaim: boolean;4173 readonly isFailedToDecode: boolean;4174 readonly isMaxWeightInvalid: boolean;4175 readonly isNotHoldingFees: boolean;4176 readonly isTooExpensive: boolean;4177 readonly isTrap: boolean;4178 readonly asTrap: u64;4179 readonly isUnhandledXcmVersion: boolean;4180 readonly isWeightLimitReached: boolean;4181 readonly asWeightLimitReached: u64;4182 readonly isBarrier: boolean;4183 readonly isWeightNotComputable: boolean;4184 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';4185}41864187/** @name XcmV2TraitsOutcome */4188export interface XcmV2TraitsOutcome extends Enum {4189 readonly isComplete: boolean;4190 readonly asComplete: u64;4191 readonly isIncomplete: boolean;4192 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;4193 readonly isError: boolean;4194 readonly asError: XcmV2TraitsError;4195 readonly type: 'Complete' | 'Incomplete' | 'Error';4196}41974198/** @name XcmV2WeightLimit */4199export interface XcmV2WeightLimit extends Enum {4200 readonly isUnlimited: boolean;4201 readonly isLimited: boolean;4202 readonly asLimited: Compact<u64>;4203 readonly type: 'Unlimited' | 'Limited';4204}42054206/** @name XcmV2Xcm */4207export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}42084209/** @name XcmVersionedMultiAsset */4210export interface XcmVersionedMultiAsset extends Enum {4211 readonly isV0: boolean;4212 readonly asV0: XcmV0MultiAsset;4213 readonly isV1: boolean;4214 readonly asV1: XcmV1MultiAsset;4215 readonly type: 'V0' | 'V1';4216}42174218/** @name XcmVersionedMultiAssets */4219export interface XcmVersionedMultiAssets extends Enum {4220 readonly isV0: boolean;4221 readonly asV0: Vec<XcmV0MultiAsset>;4222 readonly isV1: boolean;4223 readonly asV1: XcmV1MultiassetMultiAssets;4224 readonly type: 'V0' | 'V1';4225}42264227/** @name XcmVersionedMultiLocation */4228export interface XcmVersionedMultiLocation extends Enum {4229 readonly isV0: boolean;4230 readonly asV0: XcmV0MultiLocation;4231 readonly isV1: boolean;4232 readonly asV1: XcmV1MultiLocation;4233 readonly type: 'V0' | 'V1';4234}42354236/** @name XcmVersionedXcm */4237export interface XcmVersionedXcm extends Enum {4238 readonly isV0: boolean;4239 readonly asV0: XcmV0Xcm;4240 readonly isV1: boolean;4241 readonly asV1: XcmV1Xcm;4242 readonly isV2: boolean;4243 readonly asV2: XcmV2Xcm;4244 readonly type: 'V0' | 'V1' | 'V2';4245}42464247export type PHANTOM_DEFAULT = 'default';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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1564,8 +1564,8 @@
readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';
}
- /** @name PalletDataManagementEvent (123) */
- interface PalletDataManagementEvent extends Enum {
+ /** @name PalletEvmMigrationEvent (123) */
+ interface PalletEvmMigrationEvent extends Enum {
readonly isTestEvent: boolean;
readonly type: 'TestEvent';
}
@@ -3493,8 +3493,8 @@
readonly s: H256;
}
- /** @name PalletDataManagementCall (414) */
- interface PalletDataManagementCall extends Enum {
+ /** @name PalletEvmMigrationCall (414) */
+ interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
readonly address: H160;
@@ -4180,8 +4180,8 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletDataManagementError (551) */
- interface PalletDataManagementError extends Enum {
+ /** @name PalletEvmMigrationError (551) */
+ interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly isBadEvent: boolean;
@@ -4236,8 +4236,8 @@
/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (569) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (570) */
- type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;
+ /** @name OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity (570) */
+ type OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity = Null;
/** @name PalletTemplateTransactionPaymentChargeTransactionPayment (571) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -32,7 +32,7 @@
'evm',
'evmcodersubstrate',
'evmcontracthelpers',
- 'datamanagement',
+ 'evmmigration',
'evmtransactionpayment',
'ethereum',
'fungible',