difftreelog
feat(identity) add pallet + rename evm-migration to data-management
in: master
43 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5336,15 +5336,16 @@
"pallet-collator-selection",
"pallet-common",
"pallet-configuration",
+ "pallet-data-management",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-evm-contract-helpers",
- "pallet-evm-migration",
"pallet-evm-precompile-simple",
"pallet-evm-transaction-payment",
"pallet-foreign-assets",
"pallet-fungible",
+ "pallet-identity",
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
@@ -5577,9 +5578,9 @@
"pallet-balances",
"pallet-common",
"pallet-configuration",
+ "pallet-data-management",
"pallet-evm",
"pallet-evm-contract-helpers",
- "pallet-evm-migration",
"pallet-randomness-collective-flip",
"pallet-timestamp",
"pallet-unique",
@@ -5801,6 +5802,7 @@
"pallet-aura",
"pallet-authorship",
"pallet-balances",
+ "pallet-configuration",
"pallet-session",
"pallet-timestamp",
"parity-scale-codec 3.2.1",
@@ -5889,6 +5891,24 @@
]
[[package]]
+name = "pallet-data-management"
+version = "0.1.1"
+dependencies = [
+ "ethereum 0.14.0",
+ "fp-evm",
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "pallet-evm",
+ "parity-scale-codec 3.2.1",
+ "scale-info",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.33#2dff067e9f7f6f3cc4dbfdaaa97753eccc407689"
@@ -6058,24 +6078,6 @@
]
[[package]]
-name = "pallet-evm-migration"
-version = "0.1.1"
-dependencies = [
- "ethereum 0.14.0",
- "fp-evm",
- "frame-benchmarking",
- "frame-support",
- "frame-system",
- "pallet-evm",
- "parity-scale-codec 3.2.1",
- "scale-info",
- "sp-core",
- "sp-io",
- "sp-runtime",
- "sp-std",
-]
-
-[[package]]
name = "pallet-evm-precompile-simple"
version = "2.0.0-dev"
source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.33#c37ced433a29baad45899d6ab364fe437f97570e"
@@ -8976,15 +8978,16 @@
"pallet-collator-selection",
"pallet-common",
"pallet-configuration",
+ "pallet-data-management",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-evm-contract-helpers",
- "pallet-evm-migration",
"pallet-evm-precompile-simple",
"pallet-evm-transaction-payment",
"pallet-foreign-assets",
"pallet-fungible",
+ "pallet-identity",
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
@@ -13180,15 +13183,16 @@
"pallet-collator-selection",
"pallet-common",
"pallet-configuration",
+ "pallet-data-management",
"pallet-ethereum",
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-evm-contract-helpers",
- "pallet-evm-migration",
"pallet-evm-precompile-simple",
"pallet-evm-transaction-payment",
"pallet-foreign-assets",
"pallet-fungible",
+ "pallet-identity",
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
@echo "regenerate_solidity - generate stubs/interfaces for contracts defined in native (via evm-coder)"
@echo "evm_stubs - recompile contract stubs and ABI"
@echo "bench - run frame-benchmarking"
- @echo " bench-evm-migration"
+ @echo " bench-data-management"
@echo " bench-unique"
FUNGIBLE_EVM_STUBS=./pallets/fungible/src/stubs
@@ -85,9 +85,9 @@
--template .maintain/frame-weight-template.hbs --steps=50 --repeat=80 --heap-pages=4096 \
--output=./pallets/$(if $(PALLET_DIR),$(PALLET_DIR),$(PALLET))/src/weights.rs
-.PHONY: bench-evm-migration
-bench-evm-migration:
- make _bench PALLET=evm-migration
+.PHONY: bench-data-management
+bench-data-management:
+ make _bench PALLET=data-management
.PHONY: bench-common
bench-common:
@@ -134,4 +134,4 @@
make _bench PALLET=app-promotion PALLET_DIR=app-promotion
.PHONY: bench
-bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets
+bench: bench-data-management bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets
pallets/app-promotion/Cargo.tomldiffbeforeafterboth--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -71,7 +71,7 @@
pallet-configuration = { default-features = false, path = "../configuration" }
pallet-unique = { default-features = false, path = "../unique" }
pallet-evm-contract-helpers = { default-features = false, path = "../evm-contract-helpers" }
-pallet-evm-migration = { default-features = false, path = "../evm-migration" }
+pallet-data-management = { default-features = false, path = "../data-management" }
# [dev-dependencies]
pallets/app-promotion/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/benchmarking.rs
+++ b/pallets/app-promotion/src/benchmarking.rs
@@ -25,13 +25,13 @@
use frame_support::traits::OnInitialize;
use frame_system::RawOrigin;
use pallet_unique::benchmarking::create_nft_collection;
-use pallet_evm_migration::Pallet as EvmMigrationPallet;
+use pallet_data_management::Pallet as DataManagementPallet;
const SEED: u32 = 0;
fn set_admin<T>() -> Result<T::AccountId, sp_runtime::DispatchError>
where
- T: Config + pallet_unique::Config + pallet_evm_migration::Config,
+ T: Config + pallet_unique::Config + pallet_data_management::Config,
T::BlockNumber: From<u32> + Into<u32>,
<<T as Config>::Currency as Currency<T::AccountId>>::Balance: Sum + From<u128>,
{
@@ -52,7 +52,7 @@
benchmarks! {
where_clause{
- where T: Config + pallet_unique::Config + pallet_evm_migration::Config ,
+ where T: Config + pallet_unique::Config + pallet_data_management::Config ,
T::BlockNumber: From<u32> + Into<u32>,
<<T as Config>::Currency as Currency<T::AccountId>>::Balance: Sum + From<u128>
}
@@ -144,8 +144,8 @@
let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
let address = H160::from_low_u64_be(SEED as u64);
let data: Vec<u8> = (0..20 as u8).collect();
- <EvmMigrationPallet<T>>::begin(RawOrigin::Root.into(), address)?;
- <EvmMigrationPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
+ <DataManagementPallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ <DataManagementPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
} : _(RawOrigin::Signed(pallet_admin.clone()), address)
stop_sponsoring_contract {
@@ -155,8 +155,8 @@
let _ = <T as Config>::Currency::make_free_balance_be(&pallet_admin, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
let address = H160::from_low_u64_be(SEED as u64);
let data: Vec<u8> = (0..20 as u8).collect();
- <EvmMigrationPallet<T>>::begin(RawOrigin::Root.into(), address)?;
- <EvmMigrationPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
+ <DataManagementPallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ <DataManagementPallet<T>>::finish(RawOrigin::Root.into(), address, data)?;
PromototionPallet::<T>::sponsor_contract(RawOrigin::Signed(pallet_admin.clone()).into(), address)?;
} : _(RawOrigin::Signed(pallet_admin.clone()), address)
}
pallets/data-management/CHANGELOG.mddiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/CHANGELOG.md
@@ -0,0 +1,17 @@
+<!-- bureaucrate goes here -->
+## [v0.1.1] 2022-08-16
+
+### Other changes
+
+- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a
+
+- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf8
+
+- refactor: Remove `#[transactional]` from extrinsics 7fd36cea2f6e00c02c67ccc1de9649ae404efd31
+
+Every extrinsic now runs in transaction implicitly, and
+`#[transactional]` on pallet dispatchable is now meaningless
+
+Upstream-Change: https://github.com/paritytech/substrate/issues/10806
+
+- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b
\ No newline at end of file
pallets/data-management/Cargo.tomldiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/Cargo.toml
@@ -0,0 +1,42 @@
+[package]
+name = "pallet-data-management"
+version = "0.1.1"
+license = "GPLv3"
+edition = "2021"
+
+[dependencies]
+scale-info = { version = "2.0.1", default-features = false, features = [
+ "derive",
+] }
+ethereum = { version = "0.14.0", default-features = false }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }
+
+[dependencies.codec]
+default-features = false
+features = ['derive']
+package = 'parity-scale-codec'
+version = '3.1.2'
+
+[features]
+default = ["std", "runtime-benchmarks"]
+std = [
+ "frame-support/std",
+ "frame-system/std",
+ "frame-benchmarking/std",
+ "sp-runtime/std",
+ "sp-std/std",
+ "sp-io/std",
+ "sp-core/std",
+ "pallet-evm/std",
+ "fp-evm/std",
+]
+runtime-benchmarks = ["frame-benchmarking"]
+try-runtime = ["frame-support/try-runtime"]
pallets/data-management/README.mddiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/README.md
@@ -0,0 +1,18 @@
+# EVM contract migration pallet
+
+This pallet is only callable by root, it has functionality to migrate contract
+from other ethereum chain to pallet-evm
+
+Contract data includes contract code, and contract storage,
+where contract storage is a mapping from evm word to evm word (evm word = 32 byte)
+
+To import contract data into pallet-evm admin should call this pallet multiple times:
+1. Start migration via `begin`
+2. Insert all contract data using single or
+ multiple (If data can't be fit into single extrinsic) calls
+ to `set_data`
+3. Finish migration using `finish`, providing contract code
+
+During migration no one can insert code at address of this contract,
+as [`pallet::OnMethodCall`] prevents this, and no one can call this contract,
+as code is only supplied at final stage of contract deployment
\ No newline at end of file
pallets/data-management/src/benchmarking.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/src/benchmarking.rs
@@ -0,0 +1,66 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+#![allow(missing_docs)]
+
+use super::{Call, Config, Pallet};
+use frame_benchmarking::benchmarks;
+use frame_system::RawOrigin;
+use sp_core::{H160, H256};
+use sp_std::{vec::Vec, vec};
+
+// todo:collator
+benchmarks! {
+ where_clause { where <T as Config>::RuntimeEvent: codec::Encode }
+
+ begin {
+ }: _(RawOrigin::Root, H160::default())
+
+ set_data {
+ let b in 0..80;
+ let address = H160::from_low_u64_be(b as u64);
+ let mut data = Vec::new();
+ for i in 0..b {
+ data.push((
+ H256::from_low_u64_be(i as u64),
+ H256::from_low_u64_be(i as u64),
+ ));
+ }
+ <Pallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ }: _(RawOrigin::Root, address, data)
+
+ finish {
+ let b in 0..80;
+ let address = H160::from_low_u64_be(b as u64);
+ let data: Vec<u8> = (0..b as u8).collect();
+ <Pallet<T>>::begin(RawOrigin::Root.into(), address)?;
+ }: _(RawOrigin::Root, address, data)
+
+ insert_eth_logs {
+ let b in 0..200;
+ let logs = (0..b).map(|_| ethereum::Log {
+ address: H160([b as u8; 20]),
+ data: vec![b as u8; 128],
+ topics: vec![H256([b as u8; 32]); 6],
+ }).collect::<Vec<_>>();
+ }: _(RawOrigin::Root, logs)
+
+ insert_events {
+ let b in 0..200;
+ use codec::Encode;
+ let logs = (0..b).map(|_| <T as Config>::RuntimeEvent::from(crate::Event::<T>::TestEvent).encode()).collect::<Vec<_>>();
+ }: _(RawOrigin::Root, logs)
+}
pallets/data-management/src/lib.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/src/lib.rs
@@ -0,0 +1,168 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+#![doc = include_str!("../README.md")]
+#![cfg_attr(not(feature = "std"), no_std)]
+#![deny(missing_docs)]
+
+pub use pallet::*;
+#[cfg(feature = "runtime-benchmarks")]
+pub mod benchmarking;
+pub mod weights;
+
+#[frame_support::pallet]
+pub mod pallet {
+ use frame_support::{
+ pallet_prelude::{*, DispatchResult},
+ traits::IsType,
+ };
+ use frame_system::pallet_prelude::{*, OriginFor};
+ use sp_core::{H160, H256};
+ use sp_std::vec::Vec;
+ use super::weights::WeightInfo;
+ use pallet_evm::{PrecompileHandle, Pallet as PalletEvm};
+
+ #[pallet::config]
+ pub trait Config: frame_system::Config + pallet_evm::Config {
+ /// Weights
+ type WeightInfo: WeightInfo;
+ /// The overarching event type.
+ type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
+ }
+
+ type SelfWeightOf<T> = <T as Config>::WeightInfo;
+
+ #[pallet::pallet]
+ #[pallet::generate_store(pub(super) trait Store)]
+ pub struct Pallet<T>(_);
+
+ #[pallet::event]
+ pub enum Event<T: Config> {
+ /// This event is used in benchmarking and can be used for tests
+ TestEvent,
+ }
+
+ #[pallet::error]
+ pub enum Error<T> {
+ /// Can only migrate to empty address.
+ AccountNotEmpty,
+ /// Migration of this account is not yet started, or already finished.
+ AccountIsNotMigrating,
+ /// Failed to decode event bytes
+ BadEvent,
+ }
+
+ #[pallet::storage]
+ pub(super) type MigrationPending<T: Config> =
+ StorageMap<Hasher = Twox64Concat, Key = H160, Value = bool, QueryKind = ValueQuery>;
+
+ #[pallet::call]
+ impl<T: Config> Pallet<T> {
+ /// Start contract migration, inserts contract stub at target address,
+ /// and marks account as pending, allowing to insert storage
+ #[pallet::weight(<SelfWeightOf<T>>::begin())]
+ pub fn begin(origin: OriginFor<T>, address: H160) -> DispatchResult {
+ ensure_root(origin)?;
+ ensure!(
+ <PalletEvm<T>>::is_account_empty(&address) && !<MigrationPending<T>>::get(&address),
+ <Error<T>>::AccountNotEmpty,
+ );
+
+ <MigrationPending<T>>::insert(address, true);
+ Ok(())
+ }
+
+ /// Insert items into contract storage, this method can be called
+ /// multiple times
+ #[pallet::weight(<SelfWeightOf<T>>::set_data(data.len() as u32))]
+ pub fn set_data(
+ origin: OriginFor<T>,
+ address: H160,
+ data: Vec<(H256, H256)>,
+ ) -> DispatchResult {
+ ensure_root(origin)?;
+ ensure!(
+ <MigrationPending<T>>::get(&address),
+ <Error<T>>::AccountIsNotMigrating,
+ );
+
+ for (k, v) in data {
+ <pallet_evm::AccountStorages<T>>::insert(&address, k, v);
+ }
+ Ok(())
+ }
+
+ /// Finish contract migration, allows it to be called.
+ /// It is not possible to alter contract storage via [`Self::set_data`]
+ /// after this call.
+ #[pallet::weight(<SelfWeightOf<T>>::finish(code.len() as u32))]
+ pub fn finish(origin: OriginFor<T>, address: H160, code: Vec<u8>) -> DispatchResult {
+ ensure_root(origin)?;
+ ensure!(
+ <MigrationPending<T>>::get(&address),
+ <Error<T>>::AccountIsNotMigrating,
+ );
+
+ <pallet_evm::AccountCodes<T>>::insert(&address, code);
+ <MigrationPending<T>>::remove(address);
+ Ok(())
+ }
+
+ /// Create ethereum events attached to the fake transaction
+ #[pallet::weight(<SelfWeightOf<T>>::insert_eth_logs(logs.len() as u32))]
+ pub fn insert_eth_logs(origin: OriginFor<T>, logs: Vec<ethereum::Log>) -> DispatchResult {
+ ensure_root(origin)?;
+ for log in logs {
+ <pallet_evm::Pallet<T>>::deposit_log(log);
+ }
+ // Transactions is created by FakeTransactionFinalizer
+ Ok(())
+ }
+
+ /// Create substrate events
+ #[pallet::weight(<SelfWeightOf<T>>::insert_events(events.len() as u32))]
+ pub fn insert_events(origin: OriginFor<T>, events: Vec<Vec<u8>>) -> DispatchResult {
+ ensure_root(origin)?;
+ for event in events {
+ <frame_system::Pallet<T>>::deposit_event(
+ <T as frame_system::Config>::RuntimeEvent::decode(&mut event.as_slice())
+ .map_err(|_| <Error<T>>::BadEvent)?,
+ );
+ }
+ Ok(())
+ }
+ }
+
+ /// Implements [`pallet_evm::OnMethodCall`], which reserves accounts with pending migration
+ pub struct OnMethodCall<T>(PhantomData<T>);
+ impl<T: Config> pallet_evm::OnMethodCall<T> for OnMethodCall<T> {
+ fn is_reserved(contract: &H160) -> bool {
+ <MigrationPending<T>>::get(&contract)
+ }
+
+ fn is_used(_contract: &H160) -> bool {
+ false
+ }
+
+ fn call(_handle: &mut impl PrecompileHandle) -> Option<pallet_evm::PrecompileResult> {
+ None
+ }
+
+ fn get_code(_contract: &H160) -> Option<Vec<u8>> {
+ None
+ }
+ }
+}
pallets/data-management/src/weights.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/data-management/src/weights.rs
@@ -0,0 +1,123 @@
+// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs
+
+//! Autogenerated weights for pallet_data_management
+//!
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2022-11-23, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+
+// Executed Command:
+// target/release/unique-collator
+// benchmark
+// pallet
+// --pallet
+// pallet-data-management
+// --wasm-execution
+// compiled
+// --extrinsic
+// *
+// --template
+// .maintain/frame-weight-template.hbs
+// --steps=50
+// --repeat=80
+// --heap-pages=4096
+// --output=./pallets/data-management/src/weights.rs
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
+#![allow(unused_parens)]
+#![allow(unused_imports)]
+#![allow(missing_docs)]
+#![allow(clippy::unnecessary_cast)]
+
+use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
+use sp_std::marker::PhantomData;
+
+/// Weight functions needed for pallet_data_management.
+pub trait WeightInfo {
+ fn begin() -> Weight;
+ fn set_data(b: u32, ) -> Weight;
+ fn finish(b: u32, ) -> Weight;
+ fn insert_eth_logs(b: u32, ) -> Weight;
+ fn insert_events(b: u32, ) -> Weight;
+}
+
+/// Weights for pallet_data_management using the Substrate node and recommended hardware.
+pub struct SubstrateWeight<T>(PhantomData<T>);
+impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
+ // Storage: DataManagement MigrationPending (r:1 w:1)
+ // Storage: System Account (r:1 w:0)
+ // Storage: EVM AccountCodes (r:1 w:0)
+ fn begin() -> Weight {
+ Weight::from_ref_time(16_080_000 as u64)
+ .saturating_add(T::DbWeight::get().reads(3 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
+ }
+ // Storage: DataManagement MigrationPending (r:1 w:0)
+ // Storage: EVM AccountStorages (r:0 w:1)
+ fn set_data(b: u32, ) -> Weight {
+ Weight::from_ref_time(7_945_000 as u64)
+ // Standard Error: 1_272
+ .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
+ }
+ // Storage: DataManagement MigrationPending (r:1 w:1)
+ // Storage: EVM AccountCodes (r:0 w:1)
+ fn finish(b: u32, ) -> Weight {
+ Weight::from_ref_time(8_336_000 as u64)
+ // Standard Error: 89
+ .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(2 as u64))
+ }
+ fn insert_eth_logs(b: u32, ) -> Weight {
+ Weight::from_ref_time(3_447_000 as u64)
+ // Standard Error: 843
+ .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
+ }
+ fn insert_events(b: u32, ) -> Weight {
+ Weight::from_ref_time(3_457_000 as u64)
+ // Standard Error: 1_460
+ .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
+ }
+}
+
+// For backwards compatibility and tests
+impl WeightInfo for () {
+ // Storage: DataManagement MigrationPending (r:1 w:1)
+ // Storage: System Account (r:1 w:0)
+ // Storage: EVM AccountCodes (r:1 w:0)
+ fn begin() -> Weight {
+ Weight::from_ref_time(16_080_000 as u64)
+ .saturating_add(RocksDbWeight::get().reads(3 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ }
+ // Storage: DataManagement MigrationPending (r:1 w:0)
+ // Storage: EVM AccountStorages (r:0 w:1)
+ fn set_data(b: u32, ) -> Weight {
+ Weight::from_ref_time(7_945_000 as u64)
+ // Standard Error: 1_272
+ .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
+ }
+ // Storage: DataManagement MigrationPending (r:1 w:1)
+ // Storage: EVM AccountCodes (r:0 w:1)
+ fn finish(b: u32, ) -> Weight {
+ Weight::from_ref_time(8_336_000 as u64)
+ // Standard Error: 89
+ .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ }
+ fn insert_eth_logs(b: u32, ) -> Weight {
+ Weight::from_ref_time(3_447_000 as u64)
+ // Standard Error: 843
+ .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
+ }
+ fn insert_events(b: u32, ) -> Weight {
+ Weight::from_ref_time(3_457_000 as u64)
+ // Standard Error: 1_460
+ .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
+ }
+}
pallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth--- a/pallets/evm-contract-helpers/src/eth.rs
+++ b/pallets/evm-contract-helpers/src/eth.rs
@@ -91,7 +91,7 @@
{
/// Get user, which deployed specified contract
/// @dev May return zero address in case if contract is deployed
- /// using uniquenetwork evm-migration pallet, or using other terms not
+ /// using uniquenetwork data-management pallet, or using other terms not
/// intended by pallet-evm
/// @dev Returns zero address if contract does not exists
/// @param contractAddress Contract to get owner of
pallets/evm-contract-helpers/src/stubs/ContractHelpers.soldiffbeforeafterboth--- a/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
+++ b/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
@@ -29,7 +29,7 @@
contract ContractHelpers is Dummy, ERC165, ContractHelpersEvents {
/// Get user, which deployed specified contract
/// @dev May return zero address in case if contract is deployed
- /// using uniquenetwork evm-migration pallet, or using other terms not
+ /// using uniquenetwork data-management pallet, or using other terms not
/// intended by pallet-evm
/// @dev Returns zero address if contract does not exists
/// @param contractAddress Contract to get owner of
pallets/evm-migration/CHANGELOG.mddiffbeforeafterboth--- a/pallets/evm-migration/CHANGELOG.md
+++ /dev/null
@@ -1,17 +0,0 @@
-<!-- bureaucrate goes here -->
-## [v0.1.1] 2022-08-16
-
-### Other changes
-
-- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a
-
-- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf8
-
-- refactor: Remove `#[transactional]` from extrinsics 7fd36cea2f6e00c02c67ccc1de9649ae404efd31
-
-Every extrinsic now runs in transaction implicitly, and
-`#[transactional]` on pallet dispatchable is now meaningless
-
-Upstream-Change: https://github.com/paritytech/substrate/issues/10806
-
-- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b
\ No newline at end of file
pallets/evm-migration/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-migration/Cargo.toml
+++ /dev/null
@@ -1,42 +0,0 @@
-[package]
-name = "pallet-evm-migration"
-version = "0.1.1"
-license = "GPLv3"
-edition = "2021"
-
-[dependencies]
-scale-info = { version = "2.0.1", default-features = false, features = [
- "derive",
-] }
-ethereum = { version = "0.14.0", default-features = false }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.33" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.33" }
-
-[dependencies.codec]
-default-features = false
-features = ['derive']
-package = 'parity-scale-codec'
-version = '3.1.2'
-
-[features]
-default = ["std", "runtime-benchmarks"]
-std = [
- "frame-support/std",
- "frame-system/std",
- "frame-benchmarking/std",
- "sp-runtime/std",
- "sp-std/std",
- "sp-io/std",
- "sp-core/std",
- "pallet-evm/std",
- "fp-evm/std",
-]
-runtime-benchmarks = ["frame-benchmarking"]
-try-runtime = ["frame-support/try-runtime"]
pallets/evm-migration/README.mddiffbeforeafterboth--- a/pallets/evm-migration/README.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# EVM contract migration pallet
-
-This pallet is only callable by root, it has functionality to migrate contract
-from other ethereum chain to pallet-evm
-
-Contract data includes contract code, and contract storage,
-where contract storage is a mapping from evm word to evm word (evm word = 32 byte)
-
-To import contract data into pallet-evm admin should call this pallet multiple times:
-1. Start migration via `begin`
-2. Insert all contract data using single or
- multiple (If data can't be fit into single extrinsic) calls
- to `set_data`
-3. Finish migration using `finish`, providing contract code
-
-During migration no one can insert code at address of this contract,
-as [`pallet::OnMethodCall`] prevents this, and no one can call this contract,
-as code is only supplied at final stage of contract deployment
\ No newline at end of file
pallets/evm-migration/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/benchmarking.rs
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
-// This file is part of Unique Network.
-
-// Unique Network is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// Unique Network is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
-
-#![allow(missing_docs)]
-
-use super::{Call, Config, Pallet};
-use frame_benchmarking::benchmarks;
-use frame_system::RawOrigin;
-use sp_core::{H160, H256};
-use sp_std::{vec::Vec, vec};
-
-benchmarks! {
- where_clause { where <T as Config>::RuntimeEvent: codec::Encode }
-
- begin {
- }: _(RawOrigin::Root, H160::default())
-
- set_data {
- let b in 0..80;
- let address = H160::from_low_u64_be(b as u64);
- let mut data = Vec::new();
- for i in 0..b {
- data.push((
- H256::from_low_u64_be(i as u64),
- H256::from_low_u64_be(i as u64),
- ));
- }
- <Pallet<T>>::begin(RawOrigin::Root.into(), address)?;
- }: _(RawOrigin::Root, address, data)
-
- finish {
- let b in 0..80;
- let address = H160::from_low_u64_be(b as u64);
- let data: Vec<u8> = (0..b as u8).collect();
- <Pallet<T>>::begin(RawOrigin::Root.into(), address)?;
- }: _(RawOrigin::Root, address, data)
-
- insert_eth_logs {
- let b in 0..200;
- let logs = (0..b).map(|_| ethereum::Log {
- address: H160([b as u8; 20]),
- data: vec![b as u8; 128],
- topics: vec![H256([b as u8; 32]); 6],
- }).collect::<Vec<_>>();
- }: _(RawOrigin::Root, logs)
-
- insert_events {
- let b in 0..200;
- use codec::Encode;
- let logs = (0..b).map(|_| <T as Config>::RuntimeEvent::from(crate::Event::<T>::TestEvent).encode()).collect::<Vec<_>>();
- }: _(RawOrigin::Root, logs)
-}
pallets/evm-migration/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/lib.rs
+++ /dev/null
@@ -1,168 +0,0 @@
-// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
-// This file is part of Unique Network.
-
-// Unique Network is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// Unique Network is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
-
-#![doc = include_str!("../README.md")]
-#![cfg_attr(not(feature = "std"), no_std)]
-#![deny(missing_docs)]
-
-pub use pallet::*;
-#[cfg(feature = "runtime-benchmarks")]
-pub mod benchmarking;
-pub mod weights;
-
-#[frame_support::pallet]
-pub mod pallet {
- use frame_support::{
- pallet_prelude::{*, DispatchResult},
- traits::IsType,
- };
- use frame_system::pallet_prelude::{*, OriginFor};
- use sp_core::{H160, H256};
- use sp_std::vec::Vec;
- use super::weights::WeightInfo;
- use pallet_evm::{PrecompileHandle, Pallet as PalletEvm};
-
- #[pallet::config]
- pub trait Config: frame_system::Config + pallet_evm::Config {
- /// Weights
- type WeightInfo: WeightInfo;
- /// The overarching event type.
- type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
- }
-
- type SelfWeightOf<T> = <T as Config>::WeightInfo;
-
- #[pallet::pallet]
- #[pallet::generate_store(pub(super) trait Store)]
- pub struct Pallet<T>(_);
-
- #[pallet::event]
- pub enum Event<T: Config> {
- /// This event is used in benchmarking and can be used for tests
- TestEvent,
- }
-
- #[pallet::error]
- pub enum Error<T> {
- /// Can only migrate to empty address.
- AccountNotEmpty,
- /// Migration of this account is not yet started, or already finished.
- AccountIsNotMigrating,
- /// Failed to decode event bytes
- BadEvent,
- }
-
- #[pallet::storage]
- pub(super) type MigrationPending<T: Config> =
- StorageMap<Hasher = Twox64Concat, Key = H160, Value = bool, QueryKind = ValueQuery>;
-
- #[pallet::call]
- impl<T: Config> Pallet<T> {
- /// Start contract migration, inserts contract stub at target address,
- /// and marks account as pending, allowing to insert storage
- #[pallet::weight(<SelfWeightOf<T>>::begin())]
- pub fn begin(origin: OriginFor<T>, address: H160) -> DispatchResult {
- ensure_root(origin)?;
- ensure!(
- <PalletEvm<T>>::is_account_empty(&address) && !<MigrationPending<T>>::get(&address),
- <Error<T>>::AccountNotEmpty,
- );
-
- <MigrationPending<T>>::insert(address, true);
- Ok(())
- }
-
- /// Insert items into contract storage, this method can be called
- /// multiple times
- #[pallet::weight(<SelfWeightOf<T>>::set_data(data.len() as u32))]
- pub fn set_data(
- origin: OriginFor<T>,
- address: H160,
- data: Vec<(H256, H256)>,
- ) -> DispatchResult {
- ensure_root(origin)?;
- ensure!(
- <MigrationPending<T>>::get(&address),
- <Error<T>>::AccountIsNotMigrating,
- );
-
- for (k, v) in data {
- <pallet_evm::AccountStorages<T>>::insert(&address, k, v);
- }
- Ok(())
- }
-
- /// Finish contract migration, allows it to be called.
- /// It is not possible to alter contract storage via [`Self::set_data`]
- /// after this call.
- #[pallet::weight(<SelfWeightOf<T>>::finish(code.len() as u32))]
- pub fn finish(origin: OriginFor<T>, address: H160, code: Vec<u8>) -> DispatchResult {
- ensure_root(origin)?;
- ensure!(
- <MigrationPending<T>>::get(&address),
- <Error<T>>::AccountIsNotMigrating,
- );
-
- <pallet_evm::AccountCodes<T>>::insert(&address, code);
- <MigrationPending<T>>::remove(address);
- Ok(())
- }
-
- /// Create ethereum events attached to the fake transaction
- #[pallet::weight(<SelfWeightOf<T>>::insert_eth_logs(logs.len() as u32))]
- pub fn insert_eth_logs(origin: OriginFor<T>, logs: Vec<ethereum::Log>) -> DispatchResult {
- ensure_root(origin)?;
- for log in logs {
- <pallet_evm::Pallet<T>>::deposit_log(log);
- }
- // Transactions is created by FakeTransactionFinalizer
- Ok(())
- }
-
- /// Create substrate events
- #[pallet::weight(<SelfWeightOf<T>>::insert_events(events.len() as u32))]
- pub fn insert_events(origin: OriginFor<T>, events: Vec<Vec<u8>>) -> DispatchResult {
- ensure_root(origin)?;
- for event in events {
- <frame_system::Pallet<T>>::deposit_event(
- <T as frame_system::Config>::RuntimeEvent::decode(&mut event.as_slice())
- .map_err(|_| <Error<T>>::BadEvent)?,
- );
- }
- Ok(())
- }
- }
-
- /// Implements [`pallet_evm::OnMethodCall`], which reserves accounts with pending migration
- pub struct OnMethodCall<T>(PhantomData<T>);
- impl<T: Config> pallet_evm::OnMethodCall<T> for OnMethodCall<T> {
- fn is_reserved(contract: &H160) -> bool {
- <MigrationPending<T>>::get(&contract)
- }
-
- fn is_used(_contract: &H160) -> bool {
- false
- }
-
- fn call(_handle: &mut impl PrecompileHandle) -> Option<pallet_evm::PrecompileResult> {
- None
- }
-
- fn get_code(_contract: &H160) -> Option<Vec<u8>> {
- None
- }
- }
-}
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ /dev/null
@@ -1,123 +0,0 @@
-// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs
-
-//! Autogenerated weights for pallet_evm_migration
-//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-11-23, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
-
-// Executed Command:
-// target/release/unique-collator
-// benchmark
-// pallet
-// --pallet
-// pallet-evm-migration
-// --wasm-execution
-// compiled
-// --extrinsic
-// *
-// --template
-// .maintain/frame-weight-template.hbs
-// --steps=50
-// --repeat=80
-// --heap-pages=4096
-// --output=./pallets/evm-migration/src/weights.rs
-
-#![cfg_attr(rustfmt, rustfmt_skip)]
-#![allow(unused_parens)]
-#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
-
-use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
-use sp_std::marker::PhantomData;
-
-/// Weight functions needed for pallet_evm_migration.
-pub trait WeightInfo {
- fn begin() -> Weight;
- fn set_data(b: u32, ) -> Weight;
- fn finish(b: u32, ) -> Weight;
- fn insert_eth_logs(b: u32, ) -> Weight;
- fn insert_events(b: u32, ) -> Weight;
-}
-
-/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.
-pub struct SubstrateWeight<T>(PhantomData<T>);
-impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: EVM AccountCodes (r:1 w:0)
- fn begin() -> Weight {
- Weight::from_ref_time(16_080_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
- }
- // Storage: EvmMigration MigrationPending (r:1 w:0)
- // Storage: EVM AccountStorages (r:0 w:1)
- fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(7_945_000 as u64)
- // Standard Error: 1_272
- .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
- }
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: EVM AccountCodes (r:0 w:1)
- fn finish(b: u32, ) -> Weight {
- Weight::from_ref_time(8_336_000 as u64)
- // Standard Error: 89
- .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
- }
- fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(3_447_000 as u64)
- // Standard Error: 843
- .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
- }
- fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(3_457_000 as u64)
- // Standard Error: 1_460
- .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
- }
-}
-
-// For backwards compatibility and tests
-impl WeightInfo for () {
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: EVM AccountCodes (r:1 w:0)
- fn begin() -> Weight {
- Weight::from_ref_time(16_080_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
- }
- // Storage: EvmMigration MigrationPending (r:1 w:0)
- // Storage: EVM AccountStorages (r:0 w:1)
- fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(7_945_000 as u64)
- // Standard Error: 1_272
- .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
- }
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: EVM AccountCodes (r:0 w:1)
- fn finish(b: u32, ) -> Weight {
- Weight::from_ref_time(8_336_000 as u64)
- // Standard Error: 89
- .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
- }
- fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(3_447_000 as u64)
- // Standard Error: 843
- .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
- }
- fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(3_457_000 as u64)
- // Standard Error: 1_460
- .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
- }
-}
runtime/common/config/ethereum.rsdiffbeforeafterboth--- a/runtime/common/config/ethereum.rs
+++ b/runtime/common/config/ethereum.rs
@@ -70,7 +70,7 @@
type Currency = Balances;
type RuntimeEvent = RuntimeEvent;
type OnMethodCall = (
- pallet_evm_migration::OnMethodCall<Self>,
+ pallet_data_management::OnMethodCall<Self>,
pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
CollectionDispatchT<Self>,
pallet_unique::eth::CollectionHelpersOnMethodCall<Self>,
@@ -83,9 +83,9 @@
type FindAuthor = EthereumFindAuthor<Aura>;
}
-impl pallet_evm_migration::Config for Runtime {
+impl pallet_data_management::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
- type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;
+ type WeightInfo = pallet_data_management::weights::SubstrateWeight<Self>;
}
impl pallet_ethereum::Config for Runtime {
runtime/common/config/pallets/collator_selection.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/collator_selection.rs
+++ b/runtime/common/config/pallets/collator_selection.rs
@@ -54,6 +54,30 @@
}
parameter_types! {
+ pub const BasicDeposit: Balance = 10 * UNIQUE; // todo:collator
+ pub const FieldDeposit: Balance = 25 * MILLIUNIQUE;
+ pub const SubAccountDeposit: Balance = 2 * UNIQUE; // end todo
+ pub const MaxSubAccounts: u32 = 100;
+ pub const MaxAdditionalFields: u32 = 100;
+ pub const MaxRegistrars: u32 = 20;
+}
+
+impl pallet_identity::Config for Runtime {
+ type RuntimeEvent = RuntimeEvent;
+ type Currency = Balances;
+ type BasicDeposit = BasicDeposit;
+ type FieldDeposit = FieldDeposit;
+ type MaxAdditionalFields = MaxAdditionalFields;
+ type MaxRegistrars = MaxRegistrars;
+ type MaxSubAccounts = MaxSubAccounts;
+ type SubAccountDeposit = SubAccountDeposit;
+ type RegistrarOrigin = EnsureRoot<<Self as frame_system::Config>::AccountId>;
+ type ForceOrigin = EnsureRoot<<Self as frame_system::Config>::AccountId>;
+ type Slashed = Treasury;
+ type WeightInfo = pallet_identity::weights::SubstrateWeight<Runtime>;
+}
+
+parameter_types! {
pub const PotId: PalletId = PalletId(*b"PotStake");
pub const SlashRatio: Perbill = Perbill::from_percent(100);
}
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -44,6 +44,9 @@
Aura: pallet_aura::{Pallet, Config<T>} = 25,
AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 26,
+ #[runtimes(opal)]
+ Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 27,
+
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,
@@ -101,7 +104,7 @@
EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,
EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage, Event<T>} = 151,
EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,
- EvmMigration: pallet_evm_migration::{Pallet, Call, Storage, Event<T>} = 153,
+ DataManagement: pallet_data_management::{Pallet, Call, Storage, Event<T>} = 153,
Maintenance: pallet_maintenance::{Pallet, Call, Storage, Event<T>} = 154,
runtime/common/data_management.rsdiffbeforeafterboth--- /dev/null
+++ b/runtime/common/data_management.rs
@@ -0,0 +1,67 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+use scale_info::TypeInfo;
+use codec::{Encode, Decode};
+use up_common::types::AccountId;
+use crate::RuntimeCall;
+
+use sp_runtime::{
+ traits::{DispatchInfoOf, SignedExtension},
+ transaction_validity::{
+ TransactionValidity, ValidTransaction, InvalidTransaction, TransactionValidityError,
+ },
+};
+
+#[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, TypeInfo)]
+pub struct FilterIdentity;
+
+impl SignedExtension for FilterIdentity {
+ type AccountId = AccountId;
+ type Call = RuntimeCall;
+ type AdditionalSigned = ();
+ type Pre = ();
+
+ const IDENTIFIER: &'static str = "FilterIdentity";
+
+ fn additional_signed(&self) -> Result<Self::AdditionalSigned, TransactionValidityError> {
+ Ok(())
+ }
+
+ fn pre_dispatch(
+ self,
+ who: &Self::AccountId,
+ call: &Self::Call,
+ info: &DispatchInfoOf<Self::Call>,
+ len: usize,
+ ) -> Result<Self::Pre, TransactionValidityError> {
+ self.validate(who, call, info, len).map(|_| ())
+ }
+
+ fn validate(
+ &self,
+ _who: &Self::AccountId,
+ call: &Self::Call,
+ _info: &DispatchInfoOf<Self::Call>,
+ _len: usize,
+ ) -> TransactionValidity {
+ match call {
+ #[cfg(feature = "collator-selection")]
+ RuntimeCall::Identity(_) => Err(TransactionValidityError::Invalid(InvalidTransaction::Call)),
+ _ => Ok(ValidTransaction::default()),
+ }
+ }
+}
runtime/common/maintenance.rsdiffbeforeafterboth--- a/runtime/common/maintenance.rs
+++ b/runtime/common/maintenance.rs
@@ -60,7 +60,7 @@
) -> TransactionValidity {
if Maintenance::is_enabled() {
match call {
- RuntimeCall::EvmMigration(_)
+ RuntimeCall::DataManagement(_)
| RuntimeCall::EVM(_)
| RuntimeCall::Ethereum(_)
| RuntimeCall::Inflation(_)
runtime/common/mod.rsdiffbeforeafterboth--- a/runtime/common/mod.rs
+++ b/runtime/common/mod.rs
@@ -20,6 +20,7 @@
pub mod ethereum;
pub mod instance;
pub mod maintenance;
+pub mod data_management;
pub mod runtime_apis;
pub mod xcm;
@@ -96,6 +97,7 @@
frame_system::CheckNonce<Runtime>,
frame_system::CheckWeight<Runtime>,
maintenance::CheckMaintenance,
+ data_management::FilterIdentity,
ChargeTransactionPayment,
//pallet_contract_helpers::ContractHelpersExtension<Runtime>,
pallet_ethereum::FakeTransactionFinalizer<Runtime>,
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -679,7 +679,7 @@
let mut list = Vec::<BenchmarkList>::new();
- list_benchmark!(list, extra, pallet_evm_migration, EvmMigration);
+ list_benchmark!(list, extra, pallet_data_management, DataManagement);
list_benchmark!(list, extra, pallet_common, Common);
list_benchmark!(list, extra, pallet_unique, Unique);
list_benchmark!(list, extra, pallet_structure, Structure);
@@ -746,7 +746,7 @@
let mut batches = Vec::<BenchmarkBatch>::new();
let params = (&config, &allowlist);
- add_benchmark!(params, batches, pallet_evm_migration, EvmMigration);
+ add_benchmark!(params, batches, pallet_data_management, DataManagement);
add_benchmark!(params, batches, pallet_common, Common);
add_benchmark!(params, batches, pallet_unique, Unique);
add_benchmark!(params, batches, pallet_structure, Structure);
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -26,7 +26,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-evm-migration/runtime-benchmarks',
+ 'pallet-data-management/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -73,6 +73,7 @@
"pallet-authorship/try-runtime",
"pallet-collator-selection/try-runtime",
"pallet-session/try-runtime",
+ "pallet-identity/try-runtime",
'pallet-inflation/try-runtime',
'pallet-unique/try-runtime',
'pallet-configuration/try-runtime',
@@ -91,7 +92,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-evm-migration/try-runtime',
+ 'pallet-data-management/try-runtime',
'pallet-base-fee/try-runtime',
'pallet-unique-scheduler-v2/try-runtime',
'pallet-maintenance/try-runtime',
@@ -119,6 +120,7 @@
"pallet-authorship/std",
'pallet-collator-selection/std',
"pallet-session/std",
+ 'pallet-identity/std',
'pallet-randomness-collective-flip/std',
'pallet-sudo/std',
'pallet-timestamp/std',
@@ -126,7 +128,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-evm-migration/std',
+ 'pallet-data-management/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -272,6 +274,11 @@
git = 'https://github.com/paritytech/substrate'
branch = 'polkadot-v0.9.33'
+[dependencies.pallet-identity]
+default-features = false
+git = 'https://github.com/paritytech/substrate'
+branch = 'polkadot-v0.9.33'
+
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
@@ -505,7 +512,7 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.33", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-unique-scheduler-v2 = { path = '../../pallets/scheduler-v2', default-features = false }
-pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
+pallet-data-management = { path = '../../pallets/data-management', default-features = false }
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -26,7 +26,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-evm-migration/runtime-benchmarks',
+ 'pallet-data-management/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -71,6 +71,7 @@
"pallet-authorship/try-runtime",
"pallet-collator-selection/try-runtime",
"pallet-session/try-runtime",
+ "pallet-identity/try-runtime",
'pallet-inflation/try-runtime',
'pallet-unique/try-runtime',
'pallet-configuration/try-runtime',
@@ -89,7 +90,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-evm-migration/try-runtime',
+ 'pallet-data-management/try-runtime',
'pallet-maintenance/try-runtime',
]
std = [
@@ -114,6 +115,7 @@
"pallet-authorship/std",
'pallet-collator-selection/std',
"pallet-session/std",
+ "pallet-identity/std",
'pallet-randomness-collective-flip/std',
'pallet-sudo/std',
'pallet-timestamp/std',
@@ -121,7 +123,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-evm-migration/std',
+ 'pallet-data-management/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -256,6 +258,11 @@
git = 'https://github.com/paritytech/substrate'
branch = 'polkadot-v0.9.33'
+[dependencies.pallet-identity]
+default-features = false
+git = 'https://github.com/paritytech/substrate'
+branch = 'polkadot-v0.9.33'
+
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
@@ -496,7 +503,7 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.33", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
-pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
+pallet-data-management = { path = '../../pallets/data-management', default-features = false }
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -26,7 +26,7 @@
'frame-system-benchmarking',
'frame-system/runtime-benchmarks',
'pallet-ethereum/runtime-benchmarks',
- 'pallet-evm-migration/runtime-benchmarks',
+ 'pallet-data-management/runtime-benchmarks',
'pallet-evm-coder-substrate/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -72,6 +72,7 @@
"pallet-authorship/try-runtime",
"pallet-collator-selection/try-runtime",
"pallet-session/try-runtime",
+ "pallet-identity/try-runtime",
'pallet-inflation/try-runtime',
'pallet-unique/try-runtime',
'pallet-configuration/try-runtime',
@@ -90,7 +91,7 @@
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
- 'pallet-evm-migration/try-runtime',
+ 'pallet-data-management/try-runtime',
'pallet-maintenance/try-runtime',
]
std = [
@@ -115,6 +116,7 @@
"pallet-authorship/std",
'pallet-collator-selection/std',
"pallet-session/std",
+ "pallet-identity/std",
'pallet-randomness-collective-flip/std',
'pallet-sudo/std',
'pallet-timestamp/std',
@@ -122,7 +124,7 @@
'pallet-transaction-payment-rpc-runtime-api/std',
'pallet-treasury/std',
'pallet-evm/std',
- 'pallet-evm-migration/std',
+ 'pallet-data-management/std',
'pallet-evm-contract-helpers/std',
'pallet-evm-transaction-payment/std',
'pallet-evm-coder-substrate/std',
@@ -257,6 +259,11 @@
git = 'https://github.com/paritytech/substrate'
branch = 'polkadot-v0.9.33'
+[dependencies.pallet-identity]
+default-features = false
+git = 'https://github.com/paritytech/substrate'
+branch = 'polkadot-v0.9.33'
+
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
@@ -488,7 +495,7 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.33", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
-pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
+pallet-data-management = { path = '../../pallets/data-management', default-features = false }
pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
tests/src/.outdated/substrate/substrate-api.tsdiffbeforeafterboth--- a/tests/src/.outdated/substrate/substrate-api.ts
+++ b/tests/src/.outdated/substrate/substrate-api.ts
@@ -41,6 +41,10 @@
extrinsic: {},
payload: {},
},
+ FilterIdentity: {
+ extrinsic: {},
+ payload: {},
+ },
FakeTransactionFinalizer: {
extrinsic: {},
payload: {},
tests/src/eth/api/ContractHelpers.soldiffbeforeafterboth--- a/tests/src/eth/api/ContractHelpers.sol
+++ b/tests/src/eth/api/ContractHelpers.sol
@@ -24,7 +24,7 @@
interface ContractHelpers is Dummy, ERC165, ContractHelpersEvents {
/// Get user, which deployed specified contract
/// @dev May return zero address in case if contract is deployed
- /// using uniquenetwork evm-migration pallet, or using other terms not
+ /// using uniquenetwork data-management pallet, or using other terms not
/// intended by pallet-evm
/// @dev Returns zero address if contract does not exists
/// @param contractAddress Contract to get owner of
tests/src/eth/migration.seqtest.tsdiffbeforeafterboth--- a/tests/src/eth/migration.seqtest.ts
+++ b/tests/src/eth/migration.seqtest.ts
@@ -83,9 +83,9 @@
const caller = await helper.eth.createAccountWithBalance(superuser);
- const txBegin = helper.constructApiCall('api.tx.evmMigration.begin', [ADDRESS]);
- const txSetData = helper.constructApiCall('api.tx.evmMigration.setData', [ADDRESS, DATA]);
- const txFinish = helper.constructApiCall('api.tx.evmMigration.finish', [ADDRESS, CODE]);
+ const txBegin = helper.constructApiCall('api.tx.dataManagement.begin', [ADDRESS]);
+ const txSetData = helper.constructApiCall('api.tx.dataManagement.setData', [ADDRESS, DATA]);
+ const txFinish = helper.constructApiCall('api.tx.dataManagement.finish', [ADDRESS, CODE]);
await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txBegin])).to.be.fulfilled;
await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txSetData])).to.be.fulfilled;
await expect(helper.executeExtrinsic(superuser, 'api.tx.sudo.sudo', [txFinish])).to.be.fulfilled;
@@ -126,7 +126,7 @@
}
});
itEth('Fake collection creation on substrate side', async ({helper}) => {
- const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[
+ const txInsertEvents = helper.constructApiCall('api.tx.dataManagement.insertEvents', [[
encodeEvent(helper.getApi(), 'Common', 'common', 'CollectionCreated', [
// Collection Id
9999,
@@ -143,7 +143,7 @@
expect(eventStrings).to.contain('common.CollectionCreated');
});
itEth('Fake token creation on substrate side', async ({helper}) => {
- const txInsertEvents = helper.constructApiCall('api.tx.evmMigration.insertEvents', [[
+ const txInsertEvents = helper.constructApiCall('api.tx.dataManagement.insertEvents', [[
encodeEvent(helper.getApi(), 'Common', 'common', 'ItemCreated', [
// Collection Id
9999,
@@ -173,7 +173,7 @@
});
{
- const txInsertEthLogs = helper.constructApiCall('api.tx.evmMigration.insertEthLogs', [[
+ const txInsertEthLogs = helper.constructApiCall('api.tx.dataManagement.insertEthLogs', [[
{
// Contract, which has emitted this log
address: collectionAddress,
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -93,6 +93,9 @@
configuration: {
appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;
dayRelayBlocks: u32 & AugmentedConst<ApiType>;
+ defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;
+ defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;
+ defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;
defaultMinGasPrice: u64 & AugmentedConst<ApiType>;
defaultWeightToFeeCoefficient: u32 & AugmentedConst<ApiType>;
maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;
@@ -111,6 +114,40 @@
**/
[key: string]: Codec;
};
+ identity: {
+ /**
+ * The amount held on deposit for a registered identity
+ **/
+ basicDeposit: u128 & AugmentedConst<ApiType>;
+ /**
+ * The amount held on deposit per additional field for a registered identity.
+ **/
+ fieldDeposit: u128 & AugmentedConst<ApiType>;
+ /**
+ * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
+ * required to access an identity, but can be pretty high.
+ **/
+ maxAdditionalFields: u32 & AugmentedConst<ApiType>;
+ /**
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
+ * of, e.g., updating judgements.
+ **/
+ maxRegistrars: u32 & AugmentedConst<ApiType>;
+ /**
+ * The maximum number of sub-accounts allowed per identified account.
+ **/
+ maxSubAccounts: u32 & AugmentedConst<ApiType>;
+ /**
+ * The amount held on deposit for a registered subaccount. This should account for the fact
+ * that one storage item's value will increase by the size of an account ID, and there will
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
+ **/
+ subAccountDeposit: u128 & AugmentedConst<ApiType>;
+ /**
+ * Generic const
+ **/
+ [key: string]: Codec;
+ };
inflation: {
/**
* Number of blocks that pass between treasury balance updates due to inflation
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -334,6 +334,24 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ dataManagement: {
+ /**
+ * Migration of this account is not yet started, or already finished.
+ **/
+ AccountIsNotMigrating: AugmentedError<ApiType>;
+ /**
+ * Can only migrate to empty address.
+ **/
+ AccountNotEmpty: AugmentedError<ApiType>;
+ /**
+ * Failed to decode event bytes
+ **/
+ BadEvent: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
dmpQueue: {
/**
* The amount of weight given is possibly not enough for executing the message.
@@ -434,24 +452,6 @@
**/
[key: string]: AugmentedError<ApiType>;
};
- evmMigration: {
- /**
- * Migration of this account is not yet started, or already finished.
- **/
- AccountIsNotMigrating: AugmentedError<ApiType>;
- /**
- * Can only migrate to empty address.
- **/
- AccountNotEmpty: AugmentedError<ApiType>;
- /**
- * Failed to decode event bytes
- **/
- BadEvent: AugmentedError<ApiType>;
- /**
- * Generic error
- **/
- [key: string]: AugmentedError<ApiType>;
- };
foreignAssets: {
/**
* AssetId exists
@@ -509,6 +509,84 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ identity: {
+ /**
+ * Account ID is already named.
+ **/
+ AlreadyClaimed: AugmentedError<ApiType>;
+ /**
+ * Empty index.
+ **/
+ EmptyIndex: AugmentedError<ApiType>;
+ /**
+ * Fee is changed.
+ **/
+ FeeChanged: AugmentedError<ApiType>;
+ /**
+ * The index is invalid.
+ **/
+ InvalidIndex: AugmentedError<ApiType>;
+ /**
+ * Invalid judgement.
+ **/
+ InvalidJudgement: AugmentedError<ApiType>;
+ /**
+ * The target is invalid.
+ **/
+ InvalidTarget: AugmentedError<ApiType>;
+ /**
+ * The provided judgement was for a different identity.
+ **/
+ JudgementForDifferentIdentity: AugmentedError<ApiType>;
+ /**
+ * Judgement given.
+ **/
+ JudgementGiven: AugmentedError<ApiType>;
+ /**
+ * Error that occurs when there is an issue paying for judgement.
+ **/
+ JudgementPaymentFailed: AugmentedError<ApiType>;
+ /**
+ * No identity found.
+ **/
+ NoIdentity: AugmentedError<ApiType>;
+ /**
+ * Account isn't found.
+ **/
+ NotFound: AugmentedError<ApiType>;
+ /**
+ * Account isn't named.
+ **/
+ NotNamed: AugmentedError<ApiType>;
+ /**
+ * Sub-account isn't owned by sender.
+ **/
+ NotOwned: AugmentedError<ApiType>;
+ /**
+ * Sender is not a sub-account.
+ **/
+ NotSub: AugmentedError<ApiType>;
+ /**
+ * Sticky judgement.
+ **/
+ StickyJudgement: AugmentedError<ApiType>;
+ /**
+ * Too many additional fields.
+ **/
+ TooManyFields: AugmentedError<ApiType>;
+ /**
+ * Maximum amount of registrars reached. Cannot add any more.
+ **/
+ TooManyRegistrars: AugmentedError<ApiType>;
+ /**
+ * Too many subs-accounts.
+ **/
+ TooManySubAccounts: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
maintenance: {
/**
* Generic error
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -107,9 +107,6 @@
InvulnerableRemoved: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
LicenseForfeited: AugmentedEvent<ApiType, [accountId: AccountId32, depositReturned: u128], { accountId: AccountId32, depositReturned: u128 }>;
LicenseObtained: AugmentedEvent<ApiType, [accountId: AccountId32, deposit: u128], { accountId: AccountId32, deposit: u128 }>;
- NewDesiredCollators: AugmentedEvent<ApiType, [desiredCollators: u32], { desiredCollators: u32 }>;
- NewKickThreshold: AugmentedEvent<ApiType, [lengthInBlocks: u32], { lengthInBlocks: u32 }>;
- NewLicenseBond: AugmentedEvent<ApiType, [bondAmount: u128], { bondAmount: u128 }>;
/**
* Generic event
**/
@@ -209,6 +206,15 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ configuration: {
+ NewCollatorKickThreshold: AugmentedEvent<ApiType, [lengthInBlocks: Option<u32>], { lengthInBlocks: Option<u32> }>;
+ NewCollatorLicenseBond: AugmentedEvent<ApiType, [bondCost: Option<u128>], { bondCost: Option<u128> }>;
+ NewDesiredCollators: AugmentedEvent<ApiType, [desiredCollators: Option<u32>], { desiredCollators: Option<u32> }>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
cumulusXcm: {
/**
* Downward message executed with the given outcome.
@@ -230,6 +236,16 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ dataManagement: {
+ /**
+ * This event is used in benchmarking and can be used for tests
+ **/
+ TestEvent: AugmentedEvent<ApiType, []>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
dmpQueue: {
/**
* Downward message executed with the given outcome.
@@ -309,16 +325,6 @@
* New sponsor was confirm.
**/
ContractSponsorshipConfirmed: AugmentedEvent<ApiType, [H160, AccountId32]>;
- /**
- * Generic event
- **/
- [key: string]: AugmentedEvent<ApiType>;
- };
- evmMigration: {
- /**
- * This event is used in benchmarking and can be used for tests
- **/
- TestEvent: AugmentedEvent<ApiType, []>;
/**
* Generic event
**/
@@ -346,6 +352,53 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ identity: {
+ /**
+ * A name was cleared, and the given balance returned.
+ **/
+ IdentityCleared: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32, deposit: u128 }>;
+ /**
+ * A name was removed and the given balance slashed.
+ **/
+ IdentityKilled: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32, deposit: u128 }>;
+ /**
+ * A name was set or reset (which will remove all judgements).
+ **/
+ IdentitySet: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
+ /**
+ * A judgement was given by a registrar.
+ **/
+ JudgementGiven: AugmentedEvent<ApiType, [target: AccountId32, registrarIndex: u32], { target: AccountId32, registrarIndex: u32 }>;
+ /**
+ * A judgement was asked from a registrar.
+ **/
+ JudgementRequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
+ /**
+ * A judgement request was retracted.
+ **/
+ JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
+ /**
+ * A registrar was added.
+ **/
+ RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], { registrarIndex: u32 }>;
+ /**
+ * A sub-identity was added to an identity and the deposit paid.
+ **/
+ SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
+ /**
+ * A sub-identity was removed from an identity and the deposit freed.
+ **/
+ SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
+ /**
+ * A sub-identity was cleared, and the given deposit repatriated from the
+ * main identity account to the sub-identity account.
+ **/
+ SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
maintenance: {
MaintenanceDisabled: AugmentedEvent<ApiType, []>;
MaintenanceEnabled: AugmentedEvent<ApiType, []>;
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -6,10 +6,11 @@
import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
+import type { Data } from '@polkadot/types';
import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -140,36 +141,18 @@
* The (community, limited) collation candidates.
**/
candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Desired number of candidates.
- *
- * This should ideally always be less than [`Config::MaxCollators`] for weights to be correct.
- **/
- desiredCollators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The invulnerable, fixed collators.
**/
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
- * Collator will be kicked if it does not produce a block within the threshold (does not apply to invulnerables).
- *
- * Should be a multiple of session or things will get inconsistent. todo:collator reword?
- **/
- kickThreshold: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
- /**
* Last block authored by collator.
**/
lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
- /**
- * Fixed amount to deposit to become a collator.
- *
- * When a collator calls `leave_intent` they immediately receive the deposit back.
- **/
- licenseBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The (community) collation license holders.
**/
- licenses: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ licenseDepositOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -219,6 +202,9 @@
};
configuration: {
appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
+ collatorSelectionDesiredCollatorsOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ collatorSelectionKickThresholdOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ collatorSelectionLicenseBondOverride: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -227,6 +213,13 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ dataManagement: {
+ migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
dmpQueue: {
/**
* The configuration.
@@ -358,13 +351,6 @@
* * **Value** - amount of sponsored blocks.
**/
sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
- evmMigration: {
- migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Generic query
**/
@@ -423,6 +409,38 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ identity: {
+ /**
+ * Information that is pertinent to identify the entity behind an account.
+ *
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
+ **/
+ identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * The set of registrars. Not expected to get very big as can only be added through a
+ * special origin (likely a council motion).
+ *
+ * The index into this can be cast to `RegistrarIndex` to get a valid value.
+ **/
+ registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Alternative "sub" identities of this account.
+ *
+ * The first item is the deposit, the second is a vector of the accounts.
+ *
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
+ **/
+ subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * The super-identity of an alternative "sub" identity together with its name, within that
+ * context. If the account is not some other account's sub-identity, then just `None`.
+ **/
+ superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
inflation: {
/**
* Current inflation for `InflationBlockInterval` number of blocks
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/submittable';78import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';9import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';1314export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;15export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;16export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;1718declare module '@polkadot/api-base/types/submittable' {19 interface AugmentedSubmittables<ApiType extends ApiTypes> {20 appPromotion: {21 /**22 * Recalculates interest for the specified number of stakers.23 * If all stakers are not recalculated, the next call of the extrinsic24 * will continue the recalculation, from those stakers for whom this25 * was not perform in last call.26 * 27 * # Permissions28 * 29 * * Pallet admin30 * 31 * # Arguments32 * 33 * * `stakers_number`: the number of stakers for which recalculation will be performed34 **/35 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;36 /**37 * Sets an address as the the admin.38 * 39 * # Permissions40 * 41 * * Sudo42 * 43 * # Arguments44 * 45 * * `admin`: account of the new admin.46 **/47 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;48 /**49 * Sets the pallet to be the sponsor for the collection.50 * 51 * # Permissions52 * 53 * * Pallet admin54 * 55 * # Arguments56 * 57 * * `collection_id`: ID of the collection that will be sponsored by `pallet_id`58 **/59 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;60 /**61 * Sets the pallet to be the sponsor for the contract.62 * 63 * # Permissions64 * 65 * * Pallet admin66 * 67 * # Arguments68 * 69 * * `contract_id`: the contract address that will be sponsored by `pallet_id`70 **/71 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;72 /**73 * Stakes the amount of native tokens.74 * Sets `amount` to the locked state.75 * The maximum number of stakes for a staker is 10.76 * 77 * # Arguments78 * 79 * * `amount`: in native tokens.80 **/81 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;82 /**83 * Removes the pallet as the sponsor for the collection.84 * Returns [`NoPermission`][`Error::NoPermission`]85 * if the pallet wasn't the sponsor.86 * 87 * # Permissions88 * 89 * * Pallet admin90 * 91 * # Arguments92 * 93 * * `collection_id`: ID of the collection that is sponsored by `pallet_id`94 **/95 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;96 /**97 * Removes the pallet as the sponsor for the contract.98 * Returns [`NoPermission`][`Error::NoPermission`]99 * if the pallet wasn't the sponsor.100 * 101 * # Permissions102 * 103 * * Pallet admin104 * 105 * # Arguments106 * 107 * * `contract_id`: the contract address that is sponsored by `pallet_id`108 **/109 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;110 /**111 * Unstakes all stakes.112 * Moves the sum of all stakes to the `reserved` state.113 * After the end of `PendingInterval` this sum becomes completely114 * free for further use.115 **/116 unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;117 /**118 * Generic tx119 **/120 [key: string]: SubmittableExtrinsicFunction<ApiType>;121 };122 authorship: {123 /**124 * Provide a set of uncles.125 **/126 setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;127 /**128 * Generic tx129 **/130 [key: string]: SubmittableExtrinsicFunction<ApiType>;131 };132 balances: {133 /**134 * Exactly as `transfer`, except the origin must be root and the source account may be135 * specified.136 * # <weight>137 * - Same as transfer, but additional read and write because the source account is not138 * assumed to be in the overlay.139 * # </weight>140 **/141 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;142 /**143 * Unreserve some balance from a user by force.144 * 145 * Can only be called by ROOT.146 **/147 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;148 /**149 * Set the balances of a given account.150 * 151 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will152 * also alter the total issuance of the system (`TotalIssuance`) appropriately.153 * If the new free or reserved balance is below the existential deposit,154 * it will reset the account nonce (`frame_system::AccountNonce`).155 * 156 * The dispatch origin for this call is `root`.157 **/158 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;159 /**160 * Transfer some liquid free balance to another account.161 * 162 * `transfer` will set the `FreeBalance` of the sender and receiver.163 * If the sender's account is below the existential deposit as a result164 * of the transfer, the account will be reaped.165 * 166 * The dispatch origin for this call must be `Signed` by the transactor.167 * 168 * # <weight>169 * - Dependent on arguments but not critical, given proper implementations for input config170 * types. See related functions below.171 * - It contains a limited number of reads and writes internally and no complex172 * computation.173 * 174 * Related functions:175 * 176 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.177 * - Transferring balances to accounts that did not exist before will cause178 * `T::OnNewAccount::on_new_account` to be called.179 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.180 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check181 * that the transfer will not kill the origin account.182 * ---------------------------------183 * - Origin account is already in memory, so no DB operations for them.184 * # </weight>185 **/186 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;187 /**188 * Transfer the entire transferable balance from the caller account.189 * 190 * NOTE: This function only attempts to transfer _transferable_ balances. This means that191 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be192 * transferred by this function. To ensure that this function results in a killed account,193 * you might need to prepare the account by removing any reference counters, storage194 * deposits, etc...195 * 196 * The dispatch origin of this call must be Signed.197 * 198 * - `dest`: The recipient of the transfer.199 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all200 * of the funds the account has, causing the sender account to be killed (false), or201 * transfer everything except at least the existential deposit, which will guarantee to202 * keep the sender account alive (true). # <weight>203 * - O(1). Just like transfer, but reading the user's transferable balance first.204 * #</weight>205 **/206 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;207 /**208 * Same as the [`transfer`] call, but with a check that the transfer will not kill the209 * origin account.210 * 211 * 99% of the time you want [`transfer`] instead.212 * 213 * [`transfer`]: struct.Pallet.html#method.transfer214 **/215 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;216 /**217 * Generic tx218 **/219 [key: string]: SubmittableExtrinsicFunction<ApiType>;220 };221 charging: {222 /**223 * Generic tx224 **/225 [key: string]: SubmittableExtrinsicFunction<ApiType>;226 };227 collatorSelection: {228 /**229 * Add a collator to the list of invulnerable (fixed) collators.230 **/231 addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;232 /**233 * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.234 * Note that the collator can only leave on session change.235 * The `LicenseBond` will be unreserved and returned immediately.236 * 237 * This call is not available to `Invulnerable` collators.238 **/239 forceRevokeLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;240 /**241 * Purchase a license on block collation for this account.242 * It does not make it a collator candidate, use `onboard` afterward. The account must243 * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.244 * 245 * This call is not available to `Invulnerable` collators.246 **/247 getLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;248 /**249 * Deregister `origin` as a collator candidate. Note that the collator can only leave on250 * session change. The license to `onboard` later at any other time will remain.251 * 252 * This call will fail if the total number of candidates would drop below `MinCandidates`. todo:collator maybe not253 **/254 offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;255 /**256 * Register this account as a candidate for collators for next sessions.257 * The account must already hold a license, and cannot offboard immediately during a session.258 * 259 * This call is not available to `Invulnerable` collators.260 **/261 onboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;262 /**263 * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.264 * 265 * This call is not available to `Invulnerable` collators.266 **/267 releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;268 /**269 * Remove a collator from the list of invulnerable (fixed) collators.270 **/271 removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;272 /**273 * Set the ideal number of collators. If lowering this number,274 * then the number of running collators could be higher than this figure.275 * Aside from that edge case, there should be no other way to have more collators than the desired number.276 **/277 setDesiredCollators: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;278 /**279 * Set the length of the kick threshold.280 * Note that if the length is not a multiple of the session period, it might get inconsistent.281 **/282 setKickThreshold: AugmentedSubmittable<(kickThreshold: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;283 /**284 * Set the candidacy bond amount.285 **/286 setLicenseBond: AugmentedSubmittable<(bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;287 /**288 * Generic tx289 **/290 [key: string]: SubmittableExtrinsicFunction<ApiType>;291 };292 configuration: {293 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;294 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;295 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;296 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;297 /**298 * Generic tx299 **/300 [key: string]: SubmittableExtrinsicFunction<ApiType>;301 };302 cumulusXcm: {303 /**304 * Generic tx305 **/306 [key: string]: SubmittableExtrinsicFunction<ApiType>;307 };308 dmpQueue: {309 /**310 * Service a single overweight message.311 * 312 * - `origin`: Must pass `ExecuteOverweightOrigin`.313 * - `index`: The index of the overweight message to service.314 * - `weight_limit`: The amount of weight that message execution may take.315 * 316 * Errors:317 * - `Unknown`: Message of `index` is unknown.318 * - `OverLimit`: Message execution may use greater than `weight_limit`.319 * 320 * Events:321 * - `OverweightServiced`: On success.322 **/323 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;324 /**325 * Generic tx326 **/327 [key: string]: SubmittableExtrinsicFunction<ApiType>;328 };329 ethereum: {330 /**331 * Transact an Ethereum transaction.332 **/333 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;334 /**335 * Generic tx336 **/337 [key: string]: SubmittableExtrinsicFunction<ApiType>;338 };339 evm: {340 /**341 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.342 **/343 call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;344 /**345 * Issue an EVM create operation. This is similar to a contract creation transaction in346 * Ethereum.347 **/348 create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;349 /**350 * Issue an EVM create2 operation.351 **/352 create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;353 /**354 * Withdraw balance from EVM into currency/balances pallet.355 **/356 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;357 /**358 * Generic tx359 **/360 [key: string]: SubmittableExtrinsicFunction<ApiType>;361 };362 evmMigration: {363 /**364 * Start contract migration, inserts contract stub at target address,365 * and marks account as pending, allowing to insert storage366 **/367 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;368 /**369 * Finish contract migration, allows it to be called.370 * It is not possible to alter contract storage via [`Self::set_data`]371 * after this call.372 **/373 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;374 /**375 * Create ethereum events attached to the fake transaction376 **/377 insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;378 /**379 * Create substrate events380 **/381 insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;382 /**383 * Insert items into contract storage, this method can be called384 * multiple times385 **/386 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;387 /**388 * Generic tx389 **/390 [key: string]: SubmittableExtrinsicFunction<ApiType>;391 };392 foreignAssets: {393 registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;394 updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;395 /**396 * Generic tx397 **/398 [key: string]: SubmittableExtrinsicFunction<ApiType>;399 };400 inflation: {401 /**402 * This method sets the inflation start date. Can be only called once.403 * Inflation start block can be backdated and will catch up. The method will create Treasury404 * account if it does not exist and perform the first inflation deposit.405 * 406 * # Permissions407 * 408 * * Root409 * 410 * # Arguments411 * 412 * * inflation_start_relay_block: The relay chain block at which inflation should start413 **/414 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;415 /**416 * Generic tx417 **/418 [key: string]: SubmittableExtrinsicFunction<ApiType>;419 };420 maintenance: {421 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;422 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;423 /**424 * Generic tx425 **/426 [key: string]: SubmittableExtrinsicFunction<ApiType>;427 };428 parachainSystem: {429 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;430 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;431 /**432 * Set the current validation data.433 * 434 * This should be invoked exactly once per block. It will panic at the finalization435 * phase if the call was not invoked.436 * 437 * The dispatch origin for this call must be `Inherent`438 * 439 * As a side effect, this function upgrades the current validation function440 * if the appropriate time has come.441 **/442 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;443 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;444 /**445 * Generic tx446 **/447 [key: string]: SubmittableExtrinsicFunction<ApiType>;448 };449 polkadotXcm: {450 /**451 * Execute an XCM message from a local, signed, origin.452 * 453 * An event is deposited indicating whether `msg` could be executed completely or only454 * partially.455 * 456 * No more than `max_weight` will be used in its attempted execution. If this is less than the457 * maximum amount of weight that the message could take to be executed, then no execution458 * attempt will be made.459 * 460 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully461 * to completion; only that *some* of it was executed.462 **/463 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;464 /**465 * Set a safe XCM version (the version that XCM should be encoded with if the most recent466 * version a destination can accept is unknown).467 * 468 * - `origin`: Must be Root.469 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.470 **/471 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;472 /**473 * Ask a location to notify us regarding their XCM version and any changes to it.474 * 475 * - `origin`: Must be Root.476 * - `location`: The location to which we should subscribe for XCM version notifications.477 **/478 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;479 /**480 * Require that a particular destination should no longer notify us regarding any XCM481 * version changes.482 * 483 * - `origin`: Must be Root.484 * - `location`: The location to which we are currently subscribed for XCM version485 * notifications which we no longer desire.486 **/487 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;488 /**489 * Extoll that a particular destination can be communicated with through a particular490 * version of XCM.491 * 492 * - `origin`: Must be Root.493 * - `location`: The destination that is being described.494 * - `xcm_version`: The latest version of XCM that `location` supports.495 **/496 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;497 /**498 * Transfer some assets from the local chain to the sovereign account of a destination499 * chain and forward a notification XCM.500 * 501 * Fee payment on the destination side is made from the asset in the `assets` vector of502 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight503 * is needed than `weight_limit`, then the operation will fail and the assets send may be504 * at risk.505 * 506 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.507 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send508 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.509 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be510 * an `AccountId32` value.511 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the512 * `dest` side.513 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay514 * fees.515 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.516 **/517 limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;518 /**519 * Teleport some assets from the local chain to some destination chain.520 * 521 * Fee payment on the destination side is made from the asset in the `assets` vector of522 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight523 * is needed than `weight_limit`, then the operation will fail and the assets send may be524 * at risk.525 * 526 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.527 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send528 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.529 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be530 * an `AccountId32` value.531 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the532 * `dest` side. May not be empty.533 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay534 * fees.535 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.536 **/537 limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;538 /**539 * Transfer some assets from the local chain to the sovereign account of a destination540 * chain and forward a notification XCM.541 * 542 * Fee payment on the destination side is made from the asset in the `assets` vector of543 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,544 * with all fees taken as needed from the asset.545 * 546 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.547 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send548 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.549 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be550 * an `AccountId32` value.551 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the552 * `dest` side.553 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay554 * fees.555 **/556 reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;557 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;558 /**559 * Teleport some assets from the local chain to some destination chain.560 * 561 * Fee payment on the destination side is made from the asset in the `assets` vector of562 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,563 * with all fees taken as needed from the asset.564 * 565 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.566 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send567 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.568 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be569 * an `AccountId32` value.570 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the571 * `dest` side. May not be empty.572 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay573 * fees.574 **/575 teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;576 /**577 * Generic tx578 **/579 [key: string]: SubmittableExtrinsicFunction<ApiType>;580 };581 rmrkCore: {582 /**583 * Accept an NFT sent from another account to self or an owned NFT.584 * 585 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.586 * 587 * # Permissions:588 * - Token-owner-to-be589 * 590 * # Arguments:591 * - `origin`: sender of the transaction592 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.593 * - `rmrk_nft_id`: ID of the NFT to be accepted.594 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,595 * whichever the accepted NFT was sent to.596 **/597 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;598 /**599 * Accept the addition of a newly created pending resource to an existing NFT.600 * 601 * This transaction is needed when a resource is created and assigned to an NFT602 * by a non-owner, i.e. the collection issuer, with one of the603 * [`add_...` transactions](Pallet::add_basic_resource).604 * 605 * # Permissions:606 * - Token owner607 * 608 * # Arguments:609 * - `origin`: sender of the transaction610 * - `rmrk_collection_id`: RMRK collection ID of the NFT.611 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.612 * - `resource_id`: ID of the newly created pending resource.613 * accept the addition of a new resource to an existing NFT614 **/615 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;616 /**617 * Accept the removal of a removal-pending resource from an NFT.618 * 619 * This transaction is needed when a non-owner, i.e. the collection issuer,620 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.621 * 622 * # Permissions:623 * - Token owner624 * 625 * # Arguments:626 * - `origin`: sender of the transaction627 * - `rmrk_collection_id`: RMRK collection ID of the NFT.628 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.629 * - `resource_id`: ID of the removal-pending resource.630 **/631 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;632 /**633 * Create and set/propose a basic resource for an NFT.634 * 635 * A basic resource is the simplest, lacking a Base and anything that comes with it.636 * See RMRK docs for more information and examples.637 * 638 * # Permissions:639 * - Collection issuer - if not the token owner, adding the resource will warrant640 * the owner's [acceptance](Pallet::accept_resource).641 * 642 * # Arguments:643 * - `origin`: sender of the transaction644 * - `rmrk_collection_id`: RMRK collection ID of the NFT.645 * - `nft_id`: ID of the NFT to assign a resource to.646 * - `resource`: Data of the resource to be created.647 **/648 addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceBasicResource]>;649 /**650 * Create and set/propose a composable resource for an NFT.651 * 652 * A composable resource links to a Base and has a subset of its Parts it is composed of.653 * See RMRK docs for more information and examples.654 * 655 * # Permissions:656 * - Collection issuer - if not the token owner, adding the resource will warrant657 * the owner's [acceptance](Pallet::accept_resource).658 * 659 * # Arguments:660 * - `origin`: sender of the transaction661 * - `rmrk_collection_id`: RMRK collection ID of the NFT.662 * - `nft_id`: ID of the NFT to assign a resource to.663 * - `resource`: Data of the resource to be created.664 **/665 addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceComposableResource]>;666 /**667 * Create and set/propose a slot resource for an NFT.668 * 669 * A slot resource links to a Base and a slot ID in it which it can fit into.670 * See RMRK docs for more information and examples.671 * 672 * # Permissions:673 * - Collection issuer - if not the token owner, adding the resource will warrant674 * the owner's [acceptance](Pallet::accept_resource).675 * 676 * # Arguments:677 * - `origin`: sender of the transaction678 * - `rmrk_collection_id`: RMRK collection ID of the NFT.679 * - `nft_id`: ID of the NFT to assign a resource to.680 * - `resource`: Data of the resource to be created.681 **/682 addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;683 /**684 * Burn an NFT, destroying it and its nested tokens up to the specified limit.685 * If the burning budget is exceeded, the transaction is reverted.686 * 687 * This is the way to burn a nested token as well.688 * 689 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).690 * 691 * # Permissions:692 * * Token owner693 * 694 * # Arguments:695 * - `origin`: sender of the transaction696 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.697 * - `nft_id`: ID of the NFT to be destroyed.698 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction699 * is reverted if there are more tokens to burn in the nesting tree than this number.700 * This is primarily a mechanism of transaction weight control.701 **/702 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;703 /**704 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).705 * 706 * # Permissions:707 * * Collection issuer708 * 709 * # Arguments:710 * - `origin`: sender of the transaction711 * - `collection_id`: RMRK collection ID to change the issuer of.712 * - `new_issuer`: Collection's new issuer.713 **/714 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;715 /**716 * Create a new collection of NFTs.717 * 718 * # Permissions:719 * * Anyone - will be assigned as the issuer of the collection.720 * 721 * # Arguments:722 * - `origin`: sender of the transaction723 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.724 * - `max`: Optional maximum number of tokens.725 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.726 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.727 **/728 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;729 /**730 * Destroy a collection.731 * 732 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.733 * 734 * # Permissions:735 * * Collection issuer736 * 737 * # Arguments:738 * - `origin`: sender of the transaction739 * - `collection_id`: RMRK ID of the collection to destroy.740 **/741 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;742 /**743 * "Lock" the collection and prevent new token creation. Cannot be undone.744 * 745 * # Permissions:746 * * Collection issuer747 * 748 * # Arguments:749 * - `origin`: sender of the transaction750 * - `collection_id`: RMRK ID of the collection to lock.751 **/752 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;753 /**754 * Mint an NFT in a specified collection.755 * 756 * # Permissions:757 * * Collection issuer758 * 759 * # Arguments:760 * - `origin`: sender of the transaction761 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).762 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.763 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.764 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.765 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.766 * - `transferable`: Can this NFT be transferred? Cannot be changed.767 * - `resources`: Resource data to be added to the NFT immediately after minting.768 **/769 mintNft: AugmentedSubmittable<(owner: Option<AccountId32> | null | Uint8Array | AccountId32 | string, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | Uint8Array | AccountId32 | string, royaltyAmount: Option<Permill> | null | Uint8Array | Permill | AnyNumber, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | Uint8Array | Vec<RmrkTraitsResourceResourceTypes> | (RmrkTraitsResourceResourceTypes | { Basic: any } | { Composable: any } | { Slot: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;770 /**771 * Reject an NFT sent from another account to self or owned NFT.772 * The NFT in question will not be sent back and burnt instead.773 * 774 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.775 * 776 * # Permissions:777 * - Token-owner-to-be-not778 * 779 * # Arguments:780 * - `origin`: sender of the transaction781 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.782 * - `rmrk_nft_id`: ID of the NFT to be rejected.783 **/784 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;785 /**786 * Remove and erase a resource from an NFT.787 * 788 * If the sender does not own the NFT, then it will be pending confirmation,789 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.790 * 791 * # Permissions792 * - Collection issuer793 * 794 * # Arguments795 * - `origin`: sender of the transaction796 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.797 * - `nft_id`: ID of the NFT with a resource to be removed.798 * - `resource_id`: ID of the resource to be removed.799 **/800 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;801 /**802 * Transfer an NFT from an account/NFT A to another account/NFT B.803 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].804 * 805 * If the target owner is an NFT owned by another account, then the NFT will enter806 * the pending state and will have to be accepted by the other account.807 * 808 * # Permissions:809 * - Token owner810 * 811 * # Arguments:812 * - `origin`: sender of the transaction813 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.814 * - `rmrk_nft_id`: ID of the NFT to be transferred.815 * - `new_owner`: New owner of the nft which can be either an account or a NFT.816 **/817 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;818 /**819 * Set a different order of resource priorities for an NFT. Priorities can be used,820 * for example, for order of rendering.821 * 822 * Note that the priorities are not updated automatically, and are an empty vector823 * by default. There is no pre-set definition for the order to be particular,824 * it can be interpreted arbitrarily use-case by use-case.825 * 826 * # Permissions:827 * - Token owner828 * 829 * # Arguments:830 * - `origin`: sender of the transaction831 * - `rmrk_collection_id`: RMRK collection ID of the NFT.832 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.833 * - `priorities`: Ordered vector of resource IDs.834 **/835 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;836 /**837 * Add or edit a custom user property, a key-value pair, describing the metadata838 * of a token or a collection, on either one of these.839 * 840 * Note that in this proxy implementation many details regarding RMRK are stored841 * as scoped properties prefixed with "rmrk:", normally inaccessible842 * to external transactions and RPCs.843 * 844 * # Permissions:845 * - Collection issuer - in case of collection property846 * - Token owner - in case of NFT property847 * 848 * # Arguments:849 * - `origin`: sender of the transaction850 * - `rmrk_collection_id`: RMRK collection ID.851 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.852 * - `key`: Key of the custom property to be referenced by.853 * - `value`: Value of the custom property to be stored.854 **/855 setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;856 /**857 * Generic tx858 **/859 [key: string]: SubmittableExtrinsicFunction<ApiType>;860 };861 rmrkEquip: {862 /**863 * Create a new Base.864 * 865 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)866 * 867 * # Permissions868 * - Anyone - will be assigned as the issuer of the Base.869 * 870 * # Arguments:871 * - `origin`: Caller, will be assigned as the issuer of the Base872 * - `base_type`: Arbitrary media type, e.g. "svg".873 * - `symbol`: Arbitrary client-chosen symbol.874 * - `parts`: Array of Fixed and Slot Parts composing the Base,875 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).876 **/877 createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;878 /**879 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.880 * 881 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).882 * 883 * # Permissions:884 * - Base issuer885 * 886 * # Arguments:887 * - `origin`: sender of the transaction888 * - `base_id`: Base containing the Slot Part to be updated.889 * - `slot_id`: Slot Part whose Equippable List is being updated .890 * - `equippables`: List of equippables that will override the current Equippables list.891 **/892 equippable: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, slotId: u32 | AnyNumber | Uint8Array, equippables: RmrkTraitsPartEquippableList | { All: any } | { Empty: any } | { Custom: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsPartEquippableList]>;893 /**894 * Add a Theme to a Base.895 * A Theme named "default" is required prior to adding other Themes.896 * 897 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).898 * 899 * # Permissions:900 * - Base issuer901 * 902 * # Arguments:903 * - `origin`: sender of the transaction904 * - `base_id`: Base ID containing the Theme to be updated.905 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an906 * array of [key, value, inherit].907 * - `key`: Arbitrary BoundedString, defined by client.908 * - `value`: Arbitrary BoundedString, defined by client.909 * - `inherit`: Optional bool.910 **/911 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;912 /**913 * Generic tx914 **/915 [key: string]: SubmittableExtrinsicFunction<ApiType>;916 };917 session: {918 /**919 * Removes any session key(s) of the function caller.920 * 921 * This doesn't take effect until the next session.922 * 923 * The dispatch origin of this function must be Signed and the account must be either be924 * convertible to a validator ID using the chain's typical addressing system (this usually925 * means being a controller account) or directly convertible into a validator ID (which926 * usually means being a stash account).927 * 928 * # <weight>929 * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length930 * of `T::Keys::key_ids()` which is fixed.931 * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`932 * - DbWrites: `NextKeys`, `origin account`933 * - DbWrites per key id: `KeyOwner`934 * # </weight>935 **/936 purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;937 /**938 * Sets the session key(s) of the function caller to `keys`.939 * Allows an account to set its session key prior to becoming a validator.940 * This doesn't take effect until the next session.941 * 942 * The dispatch origin of this function must be signed.943 * 944 * # <weight>945 * - Complexity: `O(1)`. Actual cost depends on the number of length of946 * `T::Keys::key_ids()` which is fixed.947 * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`948 * - DbWrites: `origin account`, `NextKeys`949 * - DbReads per key id: `KeyOwner`950 * - DbWrites per key id: `KeyOwner`951 * # </weight>952 **/953 setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;954 /**955 * Generic tx956 **/957 [key: string]: SubmittableExtrinsicFunction<ApiType>;958 };959 structure: {960 /**961 * Generic tx962 **/963 [key: string]: SubmittableExtrinsicFunction<ApiType>;964 };965 sudo: {966 /**967 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo968 * key.969 * 970 * The dispatch origin for this call must be _Signed_.971 * 972 * # <weight>973 * - O(1).974 * - Limited storage reads.975 * - One DB change.976 * # </weight>977 **/978 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;979 /**980 * Authenticates the sudo key and dispatches a function call with `Root` origin.981 * 982 * The dispatch origin for this call must be _Signed_.983 * 984 * # <weight>985 * - O(1).986 * - Limited storage reads.987 * - One DB write (event).988 * - Weight of derivative `call` execution + 10,000.989 * # </weight>990 **/991 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;992 /**993 * Authenticates the sudo key and dispatches a function call with `Signed` origin from994 * a given account.995 * 996 * The dispatch origin for this call must be _Signed_.997 * 998 * # <weight>999 * - O(1).1000 * - Limited storage reads.1001 * - One DB write (event).1002 * - Weight of derivative `call` execution + 10,000.1003 * # </weight>1004 **/1005 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;1006 /**1007 * Authenticates the sudo key and dispatches a function call with `Root` origin.1008 * This function does not check the weight of the call, and instead allows the1009 * Sudo user to specify the weight of the call.1010 * 1011 * The dispatch origin for this call must be _Signed_.1012 * 1013 * # <weight>1014 * - O(1).1015 * - The weight of this call is defined by the caller.1016 * # </weight>1017 **/1018 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;1019 /**1020 * Generic tx1021 **/1022 [key: string]: SubmittableExtrinsicFunction<ApiType>;1023 };1024 system: {1025 /**1026 * A dispatch that will fill the block weight up to the given ratio.1027 **/1028 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;1029 /**1030 * Kill all storage items with a key that starts with the given prefix.1031 * 1032 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under1033 * the prefix we are removing to accurately calculate the weight of this function.1034 **/1035 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;1036 /**1037 * Kill some items from storage.1038 **/1039 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;1040 /**1041 * Make some on-chain remark.1042 * 1043 * # <weight>1044 * - `O(1)`1045 * # </weight>1046 **/1047 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1048 /**1049 * Make some on-chain remark and emit event.1050 **/1051 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1052 /**1053 * Set the new runtime code.1054 * 1055 * # <weight>1056 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`1057 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is1058 * expensive).1059 * - 1 storage write (codec `O(C)`).1060 * - 1 digest item.1061 * - 1 event.1062 * The weight of this function is dependent on the runtime, but generally this is very1063 * expensive. We will treat this as a full block.1064 * # </weight>1065 **/1066 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1067 /**1068 * Set the new runtime code without doing any checks of the given `code`.1069 * 1070 * # <weight>1071 * - `O(C)` where `C` length of `code`1072 * - 1 storage write (codec `O(C)`).1073 * - 1 digest item.1074 * - 1 event.1075 * The weight of this function is dependent on the runtime. We will treat this as a full1076 * block. # </weight>1077 **/1078 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1079 /**1080 * Set the number of pages in the WebAssembly environment's heap.1081 **/1082 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1083 /**1084 * Set some items of storage.1085 **/1086 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;1087 /**1088 * Generic tx1089 **/1090 [key: string]: SubmittableExtrinsicFunction<ApiType>;1091 };1092 testUtils: {1093 batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;1094 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1095 incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1096 justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1097 setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1098 setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1099 /**1100 * Generic tx1101 **/1102 [key: string]: SubmittableExtrinsicFunction<ApiType>;1103 };1104 timestamp: {1105 /**1106 * Set the current time.1107 * 1108 * This call should be invoked exactly once per block. It will panic at the finalization1109 * phase, if this call hasn't been invoked by that time.1110 * 1111 * The timestamp should be greater than the previous one by the amount specified by1112 * `MinimumPeriod`.1113 * 1114 * The dispatch origin for this call must be `Inherent`.1115 * 1116 * # <weight>1117 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1118 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1119 * `on_finalize`)1120 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1121 * # </weight>1122 **/1123 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1124 /**1125 * Generic tx1126 **/1127 [key: string]: SubmittableExtrinsicFunction<ApiType>;1128 };1129 tokens: {1130 /**1131 * Exactly as `transfer`, except the origin must be root and the source1132 * account may be specified.1133 * 1134 * The dispatch origin for this call must be _Root_.1135 * 1136 * - `source`: The sender of the transfer.1137 * - `dest`: The recipient of the transfer.1138 * - `currency_id`: currency type.1139 * - `amount`: free balance amount to tranfer.1140 **/1141 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1142 /**1143 * Set the balances of a given account.1144 * 1145 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1146 * will also decrease the total issuance of the system1147 * (`TotalIssuance`). If the new free or reserved balance is below the1148 * existential deposit, it will reap the `AccountInfo`.1149 * 1150 * The dispatch origin for this call is `root`.1151 **/1152 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>, Compact<u128>]>;1153 /**1154 * Transfer some liquid free balance to another account.1155 * 1156 * `transfer` will set the `FreeBalance` of the sender and receiver.1157 * It will decrease the total issuance of the system by the1158 * `TransferFee`. If the sender's account is below the existential1159 * deposit as a result of the transfer, the account will be reaped.1160 * 1161 * The dispatch origin for this call must be `Signed` by the1162 * transactor.1163 * 1164 * - `dest`: The recipient of the transfer.1165 * - `currency_id`: currency type.1166 * - `amount`: free balance amount to tranfer.1167 **/1168 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1169 /**1170 * Transfer all remaining balance to the given account.1171 * 1172 * NOTE: This function only attempts to transfer _transferable_1173 * balances. This means that any locked, reserved, or existential1174 * deposits (when `keep_alive` is `true`), will not be transferred by1175 * this function. To ensure that this function results in a killed1176 * account, you might need to prepare the account by removing any1177 * reference counters, storage deposits, etc...1178 * 1179 * The dispatch origin for this call must be `Signed` by the1180 * transactor.1181 * 1182 * - `dest`: The recipient of the transfer.1183 * - `currency_id`: currency type.1184 * - `keep_alive`: A boolean to determine if the `transfer_all`1185 * operation should send all of the funds the account has, causing1186 * the sender account to be killed (false), or transfer everything1187 * except at least the existential deposit, which will guarantee to1188 * keep the sender account alive (true).1189 **/1190 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, bool]>;1191 /**1192 * Same as the [`transfer`] call, but with a check that the transfer1193 * will not kill the origin account.1194 * 1195 * 99% of the time you want [`transfer`] instead.1196 * 1197 * The dispatch origin for this call must be `Signed` by the1198 * transactor.1199 * 1200 * - `dest`: The recipient of the transfer.1201 * - `currency_id`: currency type.1202 * - `amount`: free balance amount to tranfer.1203 **/1204 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1205 /**1206 * Generic tx1207 **/1208 [key: string]: SubmittableExtrinsicFunction<ApiType>;1209 };1210 treasury: {1211 /**1212 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1213 * and the original deposit will be returned.1214 * 1215 * May only be called from `T::ApproveOrigin`.1216 * 1217 * # <weight>1218 * - Complexity: O(1).1219 * - DbReads: `Proposals`, `Approvals`1220 * - DbWrite: `Approvals`1221 * # </weight>1222 **/1223 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1224 /**1225 * Put forward a suggestion for spending. A deposit proportional to the value1226 * is reserved and slashed if the proposal is rejected. It is returned once the1227 * proposal is awarded.1228 * 1229 * # <weight>1230 * - Complexity: O(1)1231 * - DbReads: `ProposalCount`, `origin account`1232 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1233 * # </weight>1234 **/1235 proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1236 /**1237 * Reject a proposed spend. The original deposit will be slashed.1238 * 1239 * May only be called from `T::RejectOrigin`.1240 * 1241 * # <weight>1242 * - Complexity: O(1)1243 * - DbReads: `Proposals`, `rejected proposer account`1244 * - DbWrites: `Proposals`, `rejected proposer account`1245 * # </weight>1246 **/1247 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1248 /**1249 * Force a previously approved proposal to be removed from the approval queue.1250 * The original deposit will no longer be returned.1251 * 1252 * May only be called from `T::RejectOrigin`.1253 * - `proposal_id`: The index of a proposal1254 * 1255 * # <weight>1256 * - Complexity: O(A) where `A` is the number of approvals1257 * - Db reads and writes: `Approvals`1258 * # </weight>1259 * 1260 * Errors:1261 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1262 * i.e., the proposal has not been approved. This could also mean the proposal does not1263 * exist altogether, thus there is no way it would have been approved in the first place.1264 **/1265 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1266 /**1267 * Propose and approve a spend of treasury funds.1268 * 1269 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1270 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1271 * - `beneficiary`: The destination account for the transfer.1272 * 1273 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1274 * beneficiary.1275 **/1276 spend: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1277 /**1278 * Generic tx1279 **/1280 [key: string]: SubmittableExtrinsicFunction<ApiType>;1281 };1282 unique: {1283 /**1284 * Add an admin to a collection.1285 * 1286 * NFT Collection can be controlled by multiple admin addresses1287 * (some which can also be servers, for example). Admins can issue1288 * and burn NFTs, as well as add and remove other admins,1289 * but cannot change NFT or Collection ownership.1290 * 1291 * # Permissions1292 * 1293 * * Collection owner1294 * * Collection admin1295 * 1296 * # Arguments1297 * 1298 * * `collection_id`: ID of the Collection to add an admin for.1299 * * `new_admin`: Address of new admin to add.1300 **/1301 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1302 /**1303 * Add an address to allow list.1304 * 1305 * # Permissions1306 * 1307 * * Collection owner1308 * * Collection admin1309 * 1310 * # Arguments1311 * 1312 * * `collection_id`: ID of the modified collection.1313 * * `address`: ID of the address to be added to the allowlist.1314 **/1315 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1316 /**1317 * Allow a non-permissioned address to transfer or burn an item.1318 * 1319 * # Permissions1320 * 1321 * * Collection owner1322 * * Collection admin1323 * * Current item owner1324 * 1325 * # Arguments1326 * 1327 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1328 * * `collection_id`: ID of the collection the item belongs to.1329 * * `item_id`: ID of the item transactions on which are now approved.1330 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1331 * Set to 0 to revoke the approval.1332 **/1333 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1334 /**1335 * Destroy a token on behalf of the owner as a non-owner account.1336 * 1337 * See also: [`approve`][`Pallet::approve`].1338 * 1339 * After this method executes, one approval is removed from the total so that1340 * the approved address will not be able to transfer this item again from this owner.1341 * 1342 * # Permissions1343 * 1344 * * Collection owner1345 * * Collection admin1346 * * Current token owner1347 * * Address approved by current item owner1348 * 1349 * # Arguments1350 * 1351 * * `from`: The owner of the burning item.1352 * * `collection_id`: ID of the collection to which the item belongs.1353 * * `item_id`: ID of item to burn.1354 * * `value`: Number of pieces to burn.1355 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1356 * * Fungible Mode: The desired number of pieces to burn.1357 * * Re-Fungible Mode: The desired number of pieces to burn.1358 **/1359 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;1360 /**1361 * Destroy an item.1362 * 1363 * # Permissions1364 * 1365 * * Collection owner1366 * * Collection admin1367 * * Current item owner1368 * 1369 * # Arguments1370 * 1371 * * `collection_id`: ID of the collection to which the item belongs.1372 * * `item_id`: ID of item to burn.1373 * * `value`: Number of pieces of the item to destroy.1374 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1375 * * Fungible Mode: The desired number of pieces to burn.1376 * * Re-Fungible Mode: The desired number of pieces to burn.1377 **/1378 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1379 /**1380 * Change the owner of the collection.1381 * 1382 * # Permissions1383 * 1384 * * Collection owner1385 * 1386 * # Arguments1387 * 1388 * * `collection_id`: ID of the modified collection.1389 * * `new_owner`: ID of the account that will become the owner.1390 **/1391 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1392 /**1393 * Confirm own sponsorship of a collection, becoming the sponsor.1394 * 1395 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1396 * Sponsor can pay the fees of a transaction instead of the sender,1397 * but only within specified limits.1398 * 1399 * # Permissions1400 * 1401 * * Sponsor-to-be1402 * 1403 * # Arguments1404 * 1405 * * `collection_id`: ID of the collection with the pending sponsor.1406 **/1407 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1408 /**1409 * Create a collection of tokens.1410 * 1411 * Each Token may have multiple properties encoded as an array of bytes1412 * of certain length. The initial owner of the collection is set1413 * to the address that signed the transaction and can be changed later.1414 * 1415 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1416 * 1417 * # Permissions1418 * 1419 * * Anyone - becomes the owner of the new collection.1420 * 1421 * # Arguments1422 * 1423 * * `collection_name`: Wide-character string with collection name1424 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1425 * * `collection_description`: Wide-character string with collection description1426 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1427 * * `token_prefix`: Byte string containing the token prefix to mark a collection1428 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1429 * * `mode`: Type of items stored in the collection and type dependent data.1430 **/1431 createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, UpDataStructsCollectionMode]>;1432 /**1433 * Create a collection with explicit parameters.1434 * 1435 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1436 * 1437 * # Permissions1438 * 1439 * * Anyone - becomes the owner of the new collection.1440 * 1441 * # Arguments1442 * 1443 * * `data`: Explicit data of a collection used for its creation.1444 **/1445 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; pendingSponsor?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;1446 /**1447 * Mint an item within a collection.1448 * 1449 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1450 * 1451 * # Permissions1452 * 1453 * * Collection owner1454 * * Collection admin1455 * * Anyone if1456 * * Allow List is enabled, and1457 * * Address is added to allow list, and1458 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1459 * 1460 * # Arguments1461 * 1462 * * `collection_id`: ID of the collection to which an item would belong.1463 * * `owner`: Address of the initial owner of the item.1464 * * `data`: Token data describing the item to store on chain.1465 **/1466 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;1467 /**1468 * Create multiple items within a collection.1469 * 1470 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1471 * 1472 * # Permissions1473 * 1474 * * Collection owner1475 * * Collection admin1476 * * Anyone if1477 * * Allow List is enabled, and1478 * * Address is added to the allow list, and1479 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1480 * 1481 * # Arguments1482 * 1483 * * `collection_id`: ID of the collection to which the tokens would belong.1484 * * `owner`: Address of the initial owner of the tokens.1485 * * `items_data`: Vector of data describing each item to be created.1486 **/1487 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;1488 /**1489 * Create multiple items within a collection with explicitly specified initial parameters.1490 * 1491 * # Permissions1492 * 1493 * * Collection owner1494 * * Collection admin1495 * * Anyone if1496 * * Allow List is enabled, and1497 * * Address is added to allow list, and1498 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1499 * 1500 * # Arguments1501 * 1502 * * `collection_id`: ID of the collection to which the tokens would belong.1503 * * `data`: Explicit item creation data.1504 **/1505 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1506 /**1507 * Delete specified collection properties.1508 * 1509 * # Permissions1510 * 1511 * * Collection Owner1512 * * Collection Admin1513 * 1514 * # Arguments1515 * 1516 * * `collection_id`: ID of the modified collection.1517 * * `property_keys`: Vector of keys of the properties to be deleted.1518 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1519 **/1520 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1521 /**1522 * Delete specified token properties. Currently properties only work with NFTs.1523 * 1524 * # Permissions1525 * 1526 * * Depends on collection's token property permissions and specified property mutability:1527 * * Collection owner1528 * * Collection admin1529 * * Token owner1530 * 1531 * # Arguments1532 * 1533 * * `collection_id`: ID of the collection to which the token belongs.1534 * * `token_id`: ID of the modified token.1535 * * `property_keys`: Vector of keys of the properties to be deleted.1536 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1537 **/1538 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1539 /**1540 * Destroy a collection if no tokens exist within.1541 * 1542 * # Permissions1543 * 1544 * * Collection owner1545 * 1546 * # Arguments1547 * 1548 * * `collection_id`: Collection to destroy.1549 **/1550 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1551 /**1552 * Repairs a collection if the data was somehow corrupted.1553 * 1554 * # Arguments1555 * 1556 * * `collection_id`: ID of the collection to repair.1557 **/1558 forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1559 /**1560 * Repairs a token if the data was somehow corrupted.1561 * 1562 * # Arguments1563 * 1564 * * `collection_id`: ID of the collection the item belongs to.1565 * * `item_id`: ID of the item.1566 **/1567 forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1568 /**1569 * Remove admin of a collection.1570 * 1571 * An admin address can remove itself. List of admins may become empty,1572 * in which case only Collection Owner will be able to add an Admin.1573 * 1574 * # Permissions1575 * 1576 * * Collection owner1577 * * Collection admin1578 * 1579 * # Arguments1580 * 1581 * * `collection_id`: ID of the collection to remove the admin for.1582 * * `account_id`: Address of the admin to remove.1583 **/1584 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1585 /**1586 * Remove a collection's a sponsor, making everyone pay for their own transactions.1587 * 1588 * # Permissions1589 * 1590 * * Collection owner1591 * 1592 * # Arguments1593 * 1594 * * `collection_id`: ID of the collection with the sponsor to remove.1595 **/1596 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1597 /**1598 * Remove an address from allow list.1599 * 1600 * # Permissions1601 * 1602 * * Collection owner1603 * * Collection admin1604 * 1605 * # Arguments1606 * 1607 * * `collection_id`: ID of the modified collection.1608 * * `address`: ID of the address to be removed from the allowlist.1609 **/1610 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1611 /**1612 * Re-partition a refungible token, while owning all of its parts/pieces.1613 * 1614 * # Permissions1615 * 1616 * * Token owner (must own every part)1617 * 1618 * # Arguments1619 * 1620 * * `collection_id`: ID of the collection the RFT belongs to.1621 * * `token_id`: ID of the RFT.1622 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1623 **/1624 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1625 /**1626 * Sets or unsets the approval of a given operator.1627 * 1628 * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.1629 * 1630 * # Arguments1631 * 1632 * * `owner`: Token owner1633 * * `operator`: Operator1634 * * `approve`: Should operator status be granted or revoked?1635 **/1636 setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1637 /**1638 * Set specific limits of a collection. Empty, or None fields mean chain default.1639 * 1640 * # Permissions1641 * 1642 * * Collection owner1643 * * Collection admin1644 * 1645 * # Arguments1646 * 1647 * * `collection_id`: ID of the modified collection.1648 * * `new_limit`: New limits of the collection. Fields that are not set (None)1649 * will not overwrite the old ones.1650 **/1651 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;1652 /**1653 * Set specific permissions of a collection. Empty, or None fields mean chain default.1654 * 1655 * # Permissions1656 * 1657 * * Collection owner1658 * * Collection admin1659 * 1660 * # Arguments1661 * 1662 * * `collection_id`: ID of the modified collection.1663 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1664 * will not overwrite the old ones.1665 **/1666 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1667 /**1668 * Add or change collection properties.1669 * 1670 * # Permissions1671 * 1672 * * Collection owner1673 * * Collection admin1674 * 1675 * # Arguments1676 * 1677 * * `collection_id`: ID of the modified collection.1678 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1679 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1680 **/1681 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1682 /**1683 * Set (invite) a new collection sponsor.1684 * 1685 * If successful, confirmation from the sponsor-to-be will be pending.1686 * 1687 * # Permissions1688 * 1689 * * Collection owner1690 * * Collection admin1691 * 1692 * # Arguments1693 * 1694 * * `collection_id`: ID of the modified collection.1695 * * `new_sponsor`: ID of the account of the sponsor-to-be.1696 **/1697 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1698 /**1699 * Add or change token properties according to collection's permissions.1700 * Currently properties only work with NFTs.1701 * 1702 * # Permissions1703 * 1704 * * Depends on collection's token property permissions and specified property mutability:1705 * * Collection owner1706 * * Collection admin1707 * * Token owner1708 * 1709 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1710 * 1711 * # Arguments1712 * 1713 * * `collection_id: ID of the collection to which the token belongs.1714 * * `token_id`: ID of the modified token.1715 * * `properties`: Vector of key-value pairs stored as the token's metadata.1716 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1717 **/1718 setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<UpDataStructsProperty>]>;1719 /**1720 * Add or change token property permissions of a collection.1721 * 1722 * Without a permission for a particular key, a property with that key1723 * cannot be created in a token.1724 * 1725 * # Permissions1726 * 1727 * * Collection owner1728 * * Collection admin1729 * 1730 * # Arguments1731 * 1732 * * `collection_id`: ID of the modified collection.1733 * * `property_permissions`: Vector of permissions for property keys.1734 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1735 **/1736 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1737 /**1738 * Completely allow or disallow transfers for a particular collection.1739 * 1740 * # Permissions1741 * 1742 * * Collection owner1743 * 1744 * # Arguments1745 * 1746 * * `collection_id`: ID of the collection.1747 * * `value`: New value of the flag, are transfers allowed?1748 **/1749 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1750 /**1751 * Change ownership of the token.1752 * 1753 * # Permissions1754 * 1755 * * Collection owner1756 * * Collection admin1757 * * Current token owner1758 * 1759 * # Arguments1760 * 1761 * * `recipient`: Address of token recipient.1762 * * `collection_id`: ID of the collection the item belongs to.1763 * * `item_id`: ID of the item.1764 * * Non-Fungible Mode: Required.1765 * * Fungible Mode: Ignored.1766 * * Re-Fungible Mode: Required.1767 * 1768 * * `value`: Amount to transfer.1769 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1770 * * Fungible Mode: The desired number of pieces to transfer.1771 * * Re-Fungible Mode: The desired number of pieces to transfer.1772 **/1773 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1774 /**1775 * Change ownership of an item on behalf of the owner as a non-owner account.1776 * 1777 * See the [`approve`][`Pallet::approve`] method for additional information.1778 * 1779 * After this method executes, one approval is removed from the total so that1780 * the approved address will not be able to transfer this item again from this owner.1781 * 1782 * # Permissions1783 * 1784 * * Collection owner1785 * * Collection admin1786 * * Current item owner1787 * * Address approved by current item owner1788 * 1789 * # Arguments1790 * 1791 * * `from`: Address that currently owns the token.1792 * * `recipient`: Address of the new token-owner-to-be.1793 * * `collection_id`: ID of the collection the item.1794 * * `item_id`: ID of the item to be transferred.1795 * * `value`: Amount to transfer.1796 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1797 * * Fungible Mode: The desired number of pieces to transfer.1798 * * Re-Fungible Mode: The desired number of pieces to transfer.1799 **/1800 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1801 /**1802 * Generic tx1803 **/1804 [key: string]: SubmittableExtrinsicFunction<ApiType>;1805 };1806 vesting: {1807 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1808 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1809 updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, vestingSchedules: Vec<OrmlVestingVestingSchedule> | (OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [MultiAddress, Vec<OrmlVestingVestingSchedule>]>;1810 vestedTransfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, OrmlVestingVestingSchedule]>;1811 /**1812 * Generic tx1813 **/1814 [key: string]: SubmittableExtrinsicFunction<ApiType>;1815 };1816 xcmpQueue: {1817 /**1818 * Resumes all XCM executions for the XCMP queue.1819 * 1820 * Note that this function doesn't change the status of the in/out bound channels.1821 * 1822 * - `origin`: Must pass `ControllerOrigin`.1823 **/1824 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1825 /**1826 * Services a single overweight XCM.1827 * 1828 * - `origin`: Must pass `ExecuteOverweightOrigin`.1829 * - `index`: The index of the overweight XCM to service1830 * - `weight_limit`: The amount of weight that XCM execution may take.1831 * 1832 * Errors:1833 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1834 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1835 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1836 * 1837 * Events:1838 * - `OverweightServiced`: On success.1839 **/1840 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1841 /**1842 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1843 * 1844 * - `origin`: Must pass `ControllerOrigin`.1845 **/1846 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1847 /**1848 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1849 * messages from the channel.1850 * 1851 * - `origin`: Must pass `Root`.1852 * - `new`: Desired value for `QueueConfigData.drop_threshold`1853 **/1854 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1855 /**1856 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1857 * message sending may recommence after it has been suspended.1858 * 1859 * - `origin`: Must pass `Root`.1860 * - `new`: Desired value for `QueueConfigData.resume_threshold`1861 **/1862 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1863 /**1864 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1865 * suspend their sending.1866 * 1867 * - `origin`: Must pass `Root`.1868 * - `new`: Desired value for `QueueConfigData.suspend_value`1869 **/1870 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1871 /**1872 * Overwrites the amount of remaining weight under which we stop processing messages.1873 * 1874 * - `origin`: Must pass `Root`.1875 * - `new`: Desired value for `QueueConfigData.threshold_weight`1876 **/1877 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1878 /**1879 * Overwrites the speed to which the available weight approaches the maximum weight.1880 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1881 * 1882 * - `origin`: Must pass `Root`.1883 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1884 **/1885 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1886 /**1887 * Overwrite the maximum amount of weight any individual message may consume.1888 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1889 * 1890 * - `origin`: Must pass `Root`.1891 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1892 **/1893 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1894 /**1895 * Generic tx1896 **/1897 [key: string]: SubmittableExtrinsicFunction<ApiType>;1898 };1899 xTokens: {1900 /**1901 * Transfer native currencies.1902 * 1903 * `dest_weight_limit` is the weight for XCM execution on the dest1904 * chain, and it would be charged from the transferred assets. If set1905 * below requirements, the execution may fail and assets wouldn't be1906 * received.1907 * 1908 * It's a no-op if any error on local XCM execution or message sending.1909 * Note sending assets out per se doesn't guarantee they would be1910 * received. Receiving depends on if the XCM message could be delivered1911 * by the network, and if the receiving chain would handle1912 * messages correctly.1913 **/1914 transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1915 /**1916 * Transfer `MultiAsset`.1917 * 1918 * `dest_weight_limit` is the weight for XCM execution on the dest1919 * chain, and it would be charged from the transferred assets. If set1920 * below requirements, the execution may fail and assets wouldn't be1921 * received.1922 * 1923 * It's a no-op if any error on local XCM execution or message sending.1924 * Note sending assets out per se doesn't guarantee they would be1925 * received. Receiving depends on if the XCM message could be delivered1926 * by the network, and if the receiving chain would handle1927 * messages correctly.1928 **/1929 transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1930 /**1931 * Transfer several `MultiAsset` specifying the item to be used as fee1932 * 1933 * `dest_weight_limit` is the weight for XCM execution on the dest1934 * chain, and it would be charged from the transferred assets. If set1935 * below requirements, the execution may fail and assets wouldn't be1936 * received.1937 * 1938 * `fee_item` is index of the MultiAssets that we want to use for1939 * payment1940 * 1941 * It's a no-op if any error on local XCM execution or message sending.1942 * Note sending assets out per se doesn't guarantee they would be1943 * received. Receiving depends on if the XCM message could be delivered1944 * by the network, and if the receiving chain would handle1945 * messages correctly.1946 **/1947 transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1948 /**1949 * Transfer `MultiAsset` specifying the fee and amount as separate.1950 * 1951 * `dest_weight_limit` is the weight for XCM execution on the dest1952 * chain, and it would be charged from the transferred assets. If set1953 * below requirements, the execution may fail and assets wouldn't be1954 * received.1955 * 1956 * `fee` is the multiasset to be spent to pay for execution in1957 * destination chain. Both fee and amount will be subtracted form the1958 * callers balance For now we only accept fee and asset having the same1959 * `MultiLocation` id.1960 * 1961 * If `fee` is not high enough to cover for the execution costs in the1962 * destination chain, then the assets will be trapped in the1963 * destination chain1964 * 1965 * It's a no-op if any error on local XCM execution or message sending.1966 * Note sending assets out per se doesn't guarantee they would be1967 * received. Receiving depends on if the XCM message could be delivered1968 * by the network, and if the receiving chain would handle1969 * messages correctly.1970 **/1971 transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, fee: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1972 /**1973 * Transfer several currencies specifying the item to be used as fee1974 * 1975 * `dest_weight_limit` is the weight for XCM execution on the dest1976 * chain, and it would be charged from the transferred assets. If set1977 * below requirements, the execution may fail and assets wouldn't be1978 * received.1979 * 1980 * `fee_item` is index of the currencies tuple that we want to use for1981 * payment1982 * 1983 * It's a no-op if any error on local XCM execution or message sending.1984 * Note sending assets out per se doesn't guarantee they would be1985 * received. Receiving depends on if the XCM message could be delivered1986 * by the network, and if the receiving chain would handle1987 * messages correctly.1988 **/1989 transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1990 /**1991 * Transfer native currencies specifying the fee and amount as1992 * separate.1993 * 1994 * `dest_weight_limit` is the weight for XCM execution on the dest1995 * chain, and it would be charged from the transferred assets. If set1996 * below requirements, the execution may fail and assets wouldn't be1997 * received.1998 * 1999 * `fee` is the amount to be spent to pay for execution in destination2000 * chain. Both fee and amount will be subtracted form the callers2001 * balance.2002 * 2003 * If `fee` is not high enough to cover for the execution costs in the2004 * destination chain, then the assets will be trapped in the2005 * destination chain2006 * 2007 * It's a no-op if any error on local XCM execution or message sending.2008 * Note sending assets out per se doesn't guarantee they would be2009 * received. Receiving depends on if the XCM message could be delivered2010 * by the network, and if the receiving chain would handle2011 * messages correctly.2012 **/2013 transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2014 /**2015 * Generic tx2016 **/2017 [key: string]: SubmittableExtrinsicFunction<ApiType>;2018 };2019 } // AugmentedSubmittables2020} // declare module1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/submittable';78import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';9import type { Data } from '@polkadot/types';10import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';11import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';12import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';13import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';1415export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;16export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;17export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;1819declare module '@polkadot/api-base/types/submittable' {20 interface AugmentedSubmittables<ApiType extends ApiTypes> {21 appPromotion: {22 /**23 * Recalculates interest for the specified number of stakers.24 * If all stakers are not recalculated, the next call of the extrinsic25 * will continue the recalculation, from those stakers for whom this26 * was not perform in last call.27 * 28 * # Permissions29 * 30 * * Pallet admin31 * 32 * # Arguments33 * 34 * * `stakers_number`: the number of stakers for which recalculation will be performed35 **/36 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;37 /**38 * Sets an address as the the admin.39 * 40 * # Permissions41 * 42 * * Sudo43 * 44 * # Arguments45 * 46 * * `admin`: account of the new admin.47 **/48 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;49 /**50 * Sets the pallet to be the sponsor for the collection.51 * 52 * # Permissions53 * 54 * * Pallet admin55 * 56 * # Arguments57 * 58 * * `collection_id`: ID of the collection that will be sponsored by `pallet_id`59 **/60 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;61 /**62 * Sets the pallet to be the sponsor for the contract.63 * 64 * # Permissions65 * 66 * * Pallet admin67 * 68 * # Arguments69 * 70 * * `contract_id`: the contract address that will be sponsored by `pallet_id`71 **/72 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;73 /**74 * Stakes the amount of native tokens.75 * Sets `amount` to the locked state.76 * The maximum number of stakes for a staker is 10.77 * 78 * # Arguments79 * 80 * * `amount`: in native tokens.81 **/82 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;83 /**84 * Removes the pallet as the sponsor for the collection.85 * Returns [`NoPermission`][`Error::NoPermission`]86 * if the pallet wasn't the sponsor.87 * 88 * # Permissions89 * 90 * * Pallet admin91 * 92 * # Arguments93 * 94 * * `collection_id`: ID of the collection that is sponsored by `pallet_id`95 **/96 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;97 /**98 * Removes the pallet as the sponsor for the contract.99 * Returns [`NoPermission`][`Error::NoPermission`]100 * if the pallet wasn't the sponsor.101 * 102 * # Permissions103 * 104 * * Pallet admin105 * 106 * # Arguments107 * 108 * * `contract_id`: the contract address that is sponsored by `pallet_id`109 **/110 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;111 /**112 * Unstakes all stakes.113 * Moves the sum of all stakes to the `reserved` state.114 * After the end of `PendingInterval` this sum becomes completely115 * free for further use.116 **/117 unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;118 /**119 * Generic tx120 **/121 [key: string]: SubmittableExtrinsicFunction<ApiType>;122 };123 authorship: {124 /**125 * Provide a set of uncles.126 **/127 setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;128 /**129 * Generic tx130 **/131 [key: string]: SubmittableExtrinsicFunction<ApiType>;132 };133 balances: {134 /**135 * Exactly as `transfer`, except the origin must be root and the source account may be136 * specified.137 * # <weight>138 * - Same as transfer, but additional read and write because the source account is not139 * assumed to be in the overlay.140 * # </weight>141 **/142 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;143 /**144 * Unreserve some balance from a user by force.145 * 146 * Can only be called by ROOT.147 **/148 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;149 /**150 * Set the balances of a given account.151 * 152 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will153 * also alter the total issuance of the system (`TotalIssuance`) appropriately.154 * If the new free or reserved balance is below the existential deposit,155 * it will reset the account nonce (`frame_system::AccountNonce`).156 * 157 * The dispatch origin for this call is `root`.158 **/159 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;160 /**161 * Transfer some liquid free balance to another account.162 * 163 * `transfer` will set the `FreeBalance` of the sender and receiver.164 * If the sender's account is below the existential deposit as a result165 * of the transfer, the account will be reaped.166 * 167 * The dispatch origin for this call must be `Signed` by the transactor.168 * 169 * # <weight>170 * - Dependent on arguments but not critical, given proper implementations for input config171 * types. See related functions below.172 * - It contains a limited number of reads and writes internally and no complex173 * computation.174 * 175 * Related functions:176 * 177 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.178 * - Transferring balances to accounts that did not exist before will cause179 * `T::OnNewAccount::on_new_account` to be called.180 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.181 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check182 * that the transfer will not kill the origin account.183 * ---------------------------------184 * - Origin account is already in memory, so no DB operations for them.185 * # </weight>186 **/187 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;188 /**189 * Transfer the entire transferable balance from the caller account.190 * 191 * NOTE: This function only attempts to transfer _transferable_ balances. This means that192 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be193 * transferred by this function. To ensure that this function results in a killed account,194 * you might need to prepare the account by removing any reference counters, storage195 * deposits, etc...196 * 197 * The dispatch origin of this call must be Signed.198 * 199 * - `dest`: The recipient of the transfer.200 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all201 * of the funds the account has, causing the sender account to be killed (false), or202 * transfer everything except at least the existential deposit, which will guarantee to203 * keep the sender account alive (true). # <weight>204 * - O(1). Just like transfer, but reading the user's transferable balance first.205 * #</weight>206 **/207 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;208 /**209 * Same as the [`transfer`] call, but with a check that the transfer will not kill the210 * origin account.211 * 212 * 99% of the time you want [`transfer`] instead.213 * 214 * [`transfer`]: struct.Pallet.html#method.transfer215 **/216 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;217 /**218 * Generic tx219 **/220 [key: string]: SubmittableExtrinsicFunction<ApiType>;221 };222 charging: {223 /**224 * Generic tx225 **/226 [key: string]: SubmittableExtrinsicFunction<ApiType>;227 };228 collatorSelection: {229 /**230 * Add a collator to the list of invulnerable (fixed) collators.231 **/232 addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;233 /**234 * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.235 * Note that the collator can only leave on session change.236 * The `LicenseBond` will be unreserved and returned immediately.237 * 238 * This call is, of course, not applicable to `Invulnerable` collators.239 **/240 forceRevokeLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;241 /**242 * Purchase a license on block collation for this account.243 * It does not make it a collator candidate, use `onboard` afterward. The account must244 * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.245 * 246 * This call is not available to `Invulnerable` collators.247 **/248 getLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;249 /**250 * Deregister `origin` as a collator candidate. Note that the collator can only leave on251 * session change. The license to `onboard` later at any other time will remain.252 **/253 offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;254 /**255 * Register this account as a candidate for collators for next sessions.256 * The account must already hold a license, and cannot offboard immediately during a session.257 * 258 * This call is not available to `Invulnerable` collators.259 **/260 onboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;261 /**262 * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.263 * 264 * This call is not available to `Invulnerable` collators.265 **/266 releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;267 /**268 * Remove a collator from the list of invulnerable (fixed) collators.269 **/270 removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;271 /**272 * Generic tx273 **/274 [key: string]: SubmittableExtrinsicFunction<ApiType>;275 };276 configuration: {277 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;278 setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;279 setCollatorSelectionKickThreshold: AugmentedSubmittable<(threshold: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;280 setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>]>;281 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;282 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;283 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;284 /**285 * Generic tx286 **/287 [key: string]: SubmittableExtrinsicFunction<ApiType>;288 };289 cumulusXcm: {290 /**291 * Generic tx292 **/293 [key: string]: SubmittableExtrinsicFunction<ApiType>;294 };295 dataManagement: {296 /**297 * Start contract migration, inserts contract stub at target address,298 * and marks account as pending, allowing to insert storage299 **/300 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;301 /**302 * Finish contract migration, allows it to be called.303 * It is not possible to alter contract storage via [`Self::set_data`]304 * after this call.305 **/306 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;307 /**308 * Create ethereum events attached to the fake transaction309 **/310 insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;311 /**312 * Create substrate events313 **/314 insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;315 /**316 * Insert items into contract storage, this method can be called317 * multiple times318 **/319 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;320 /**321 * Generic tx322 **/323 [key: string]: SubmittableExtrinsicFunction<ApiType>;324 };325 dmpQueue: {326 /**327 * Service a single overweight message.328 * 329 * - `origin`: Must pass `ExecuteOverweightOrigin`.330 * - `index`: The index of the overweight message to service.331 * - `weight_limit`: The amount of weight that message execution may take.332 * 333 * Errors:334 * - `Unknown`: Message of `index` is unknown.335 * - `OverLimit`: Message execution may use greater than `weight_limit`.336 * 337 * Events:338 * - `OverweightServiced`: On success.339 **/340 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;341 /**342 * Generic tx343 **/344 [key: string]: SubmittableExtrinsicFunction<ApiType>;345 };346 ethereum: {347 /**348 * Transact an Ethereum transaction.349 **/350 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;351 /**352 * Generic tx353 **/354 [key: string]: SubmittableExtrinsicFunction<ApiType>;355 };356 evm: {357 /**358 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.359 **/360 call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;361 /**362 * Issue an EVM create operation. This is similar to a contract creation transaction in363 * Ethereum.364 **/365 create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;366 /**367 * Issue an EVM create2 operation.368 **/369 create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;370 /**371 * Withdraw balance from EVM into currency/balances pallet.372 **/373 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;374 /**375 * Generic tx376 **/377 [key: string]: SubmittableExtrinsicFunction<ApiType>;378 };379 foreignAssets: {380 registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;381 updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;382 /**383 * Generic tx384 **/385 [key: string]: SubmittableExtrinsicFunction<ApiType>;386 };387 identity: {388 /**389 * Add a registrar to the system.390 * 391 * The dispatch origin for this call must be `T::RegistrarOrigin`.392 * 393 * - `account`: the account of the registrar.394 * 395 * Emits `RegistrarAdded` if successful.396 * 397 * # <weight>398 * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded).399 * - One storage mutation (codec `O(R)`).400 * - One event.401 * # </weight>402 **/403 addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;404 /**405 * Add the given account to the sender's subs.406 * 407 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated408 * to the sender.409 * 410 * The dispatch origin for this call must be _Signed_ and the sender must have a registered411 * sub identity of `sub`.412 **/413 addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;414 /**415 * Cancel a previous request.416 * 417 * Payment: A previously reserved deposit is returned on success.418 * 419 * The dispatch origin for this call must be _Signed_ and the sender must have a420 * registered identity.421 * 422 * - `reg_index`: The index of the registrar whose judgement is no longer requested.423 * 424 * Emits `JudgementUnrequested` if successful.425 * 426 * # <weight>427 * - `O(R + X)`.428 * - One balance-reserve operation.429 * - One storage mutation `O(R + X)`.430 * - One event431 * # </weight>432 **/433 cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;434 /**435 * Clear an account's identity info and all sub-accounts and return all deposits.436 * 437 * Payment: All reserved balances on the account are returned.438 * 439 * The dispatch origin for this call must be _Signed_ and the sender must have a registered440 * identity.441 * 442 * Emits `IdentityCleared` if successful.443 * 444 * # <weight>445 * - `O(R + S + X)`446 * - where `R` registrar-count (governance-bounded).447 * - where `S` subs-count (hard- and deposit-bounded).448 * - where `X` additional-field-count (deposit-bounded and code-bounded).449 * - One balance-unreserve operation.450 * - `2` storage reads and `S + 2` storage deletions.451 * - One event.452 * # </weight>453 **/454 clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;455 /**456 * Remove an account's identity and sub-account information and slash the deposits.457 * 458 * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by459 * `Slash`. Verification request deposits are not returned; they should be cancelled460 * manually using `cancel_request`.461 * 462 * The dispatch origin for this call must match `T::ForceOrigin`.463 * 464 * - `target`: the account whose identity the judgement is upon. This must be an account465 * with a registered identity.466 * 467 * Emits `IdentityKilled` if successful.468 * 469 * # <weight>470 * - `O(R + S + X)`.471 * - One balance-reserve operation.472 * - `S + 2` storage mutations.473 * - One event.474 * # </weight>475 **/476 killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;477 /**478 * Provide a judgement for an account's identity.479 * 480 * The dispatch origin for this call must be _Signed_ and the sender must be the account481 * of the registrar whose index is `reg_index`.482 * 483 * - `reg_index`: the index of the registrar whose judgement is being made.484 * - `target`: the account whose identity the judgement is upon. This must be an account485 * with a registered identity.486 * - `judgement`: the judgement of the registrar of index `reg_index` about `target`.487 * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.488 * 489 * Emits `JudgementGiven` if successful.490 * 491 * # <weight>492 * - `O(R + X)`.493 * - One balance-transfer operation.494 * - Up to one account-lookup operation.495 * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`.496 * - One event.497 * # </weight>498 **/499 provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;500 /**501 * Remove the sender as a sub-account.502 * 503 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated504 * to the sender (*not* the original depositor).505 * 506 * The dispatch origin for this call must be _Signed_ and the sender must have a registered507 * super-identity.508 * 509 * NOTE: This should not normally be used, but is provided in the case that the non-510 * controller of an account is maliciously registered as a sub-account.511 **/512 quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;513 /**514 * Remove the given account from the sender's subs.515 * 516 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated517 * to the sender.518 * 519 * The dispatch origin for this call must be _Signed_ and the sender must have a registered520 * sub identity of `sub`.521 **/522 removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;523 /**524 * Alter the associated name of the given sub-account.525 * 526 * The dispatch origin for this call must be _Signed_ and the sender must have a registered527 * sub identity of `sub`.528 **/529 renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;530 /**531 * Request a judgement from a registrar.532 * 533 * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement534 * given.535 * 536 * The dispatch origin for this call must be _Signed_ and the sender must have a537 * registered identity.538 * 539 * - `reg_index`: The index of the registrar whose judgement is requested.540 * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:541 * 542 * ```nocompile543 * Self::registrars().get(reg_index).unwrap().fee544 * ```545 * 546 * Emits `JudgementRequested` if successful.547 * 548 * # <weight>549 * - `O(R + X)`.550 * - One balance-reserve operation.551 * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`.552 * - One event.553 * # </weight>554 **/555 requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;556 /**557 * Change the account associated with a registrar.558 * 559 * The dispatch origin for this call must be _Signed_ and the sender must be the account560 * of the registrar whose index is `index`.561 * 562 * - `index`: the index of the registrar whose fee is to be set.563 * - `new`: the new account ID.564 * 565 * # <weight>566 * - `O(R)`.567 * - One storage mutation `O(R)`.568 * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)569 * # </weight>570 **/571 setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;572 /**573 * Set the fee required for a judgement to be requested from a registrar.574 * 575 * The dispatch origin for this call must be _Signed_ and the sender must be the account576 * of the registrar whose index is `index`.577 * 578 * - `index`: the index of the registrar whose fee is to be set.579 * - `fee`: the new fee.580 * 581 * # <weight>582 * - `O(R)`.583 * - One storage mutation `O(R)`.584 * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis)585 * # </weight>586 **/587 setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;588 /**589 * Set the field information for a registrar.590 * 591 * The dispatch origin for this call must be _Signed_ and the sender must be the account592 * of the registrar whose index is `index`.593 * 594 * - `index`: the index of the registrar whose fee is to be set.595 * - `fields`: the fields that the registrar concerns themselves with.596 * 597 * # <weight>598 * - `O(R)`.599 * - One storage mutation `O(R)`.600 * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis)601 * # </weight>602 **/603 setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;604 /**605 * Set an account's identity information and reserve the appropriate deposit.606 * 607 * If the account already has identity information, the deposit is taken as part payment608 * for the new deposit.609 * 610 * The dispatch origin for this call must be _Signed_.611 * 612 * - `info`: The identity information.613 * 614 * Emits `IdentitySet` if successful.615 * 616 * # <weight>617 * - `O(X + X' + R)`618 * - where `X` additional-field-count (deposit-bounded and code-bounded)619 * - where `R` judgements-count (registrar-count-bounded)620 * - One balance reserve operation.621 * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`).622 * - One event.623 * # </weight>624 **/625 setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityIdentityInfo]>;626 /**627 * Set the sub-accounts of the sender.628 * 629 * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned630 * and an amount `SubAccountDeposit` will be reserved for each item in `subs`.631 * 632 * The dispatch origin for this call must be _Signed_ and the sender must have a registered633 * identity.634 * 635 * - `subs`: The identity's (new) sub-accounts.636 * 637 * # <weight>638 * - `O(P + S)`639 * - where `P` old-subs-count (hard- and deposit-bounded).640 * - where `S` subs-count (hard- and deposit-bounded).641 * - At most one balance operations.642 * - DB:643 * - `P + S` storage mutations (codec complexity `O(1)`)644 * - One storage read (codec complexity `O(P)`).645 * - One storage write (codec complexity `O(S)`).646 * - One storage-exists (`IdentityOf::contains_key`).647 * # </weight>648 **/649 setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;650 /**651 * Generic tx652 **/653 [key: string]: SubmittableExtrinsicFunction<ApiType>;654 };655 inflation: {656 /**657 * This method sets the inflation start date. Can be only called once.658 * Inflation start block can be backdated and will catch up. The method will create Treasury659 * account if it does not exist and perform the first inflation deposit.660 * 661 * # Permissions662 * 663 * * Root664 * 665 * # Arguments666 * 667 * * inflation_start_relay_block: The relay chain block at which inflation should start668 **/669 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;670 /**671 * Generic tx672 **/673 [key: string]: SubmittableExtrinsicFunction<ApiType>;674 };675 maintenance: {676 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;677 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;678 /**679 * Generic tx680 **/681 [key: string]: SubmittableExtrinsicFunction<ApiType>;682 };683 parachainSystem: {684 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;685 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;686 /**687 * Set the current validation data.688 * 689 * This should be invoked exactly once per block. It will panic at the finalization690 * phase if the call was not invoked.691 * 692 * The dispatch origin for this call must be `Inherent`693 * 694 * As a side effect, this function upgrades the current validation function695 * if the appropriate time has come.696 **/697 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;698 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;699 /**700 * Generic tx701 **/702 [key: string]: SubmittableExtrinsicFunction<ApiType>;703 };704 polkadotXcm: {705 /**706 * Execute an XCM message from a local, signed, origin.707 * 708 * An event is deposited indicating whether `msg` could be executed completely or only709 * partially.710 * 711 * No more than `max_weight` will be used in its attempted execution. If this is less than the712 * maximum amount of weight that the message could take to be executed, then no execution713 * attempt will be made.714 * 715 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully716 * to completion; only that *some* of it was executed.717 **/718 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;719 /**720 * Set a safe XCM version (the version that XCM should be encoded with if the most recent721 * version a destination can accept is unknown).722 * 723 * - `origin`: Must be Root.724 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.725 **/726 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;727 /**728 * Ask a location to notify us regarding their XCM version and any changes to it.729 * 730 * - `origin`: Must be Root.731 * - `location`: The location to which we should subscribe for XCM version notifications.732 **/733 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;734 /**735 * Require that a particular destination should no longer notify us regarding any XCM736 * version changes.737 * 738 * - `origin`: Must be Root.739 * - `location`: The location to which we are currently subscribed for XCM version740 * notifications which we no longer desire.741 **/742 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;743 /**744 * Extoll that a particular destination can be communicated with through a particular745 * version of XCM.746 * 747 * - `origin`: Must be Root.748 * - `location`: The destination that is being described.749 * - `xcm_version`: The latest version of XCM that `location` supports.750 **/751 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;752 /**753 * Transfer some assets from the local chain to the sovereign account of a destination754 * chain and forward a notification XCM.755 * 756 * Fee payment on the destination side is made from the asset in the `assets` vector of757 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight758 * is needed than `weight_limit`, then the operation will fail and the assets send may be759 * at risk.760 * 761 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.762 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send763 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.764 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be765 * an `AccountId32` value.766 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the767 * `dest` side.768 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay769 * fees.770 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.771 **/772 limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;773 /**774 * Teleport some assets from the local chain to some destination chain.775 * 776 * Fee payment on the destination side is made from the asset in the `assets` vector of777 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight778 * is needed than `weight_limit`, then the operation will fail and the assets send may be779 * at risk.780 * 781 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.782 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send783 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.784 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be785 * an `AccountId32` value.786 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the787 * `dest` side. May not be empty.788 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay789 * fees.790 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.791 **/792 limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;793 /**794 * Transfer some assets from the local chain to the sovereign account of a destination795 * chain and forward a notification XCM.796 * 797 * Fee payment on the destination side is made from the asset in the `assets` vector of798 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,799 * with all fees taken as needed from the asset.800 * 801 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.802 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send803 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.804 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be805 * an `AccountId32` value.806 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the807 * `dest` side.808 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay809 * fees.810 **/811 reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;812 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;813 /**814 * Teleport some assets from the local chain to some destination chain.815 * 816 * Fee payment on the destination side is made from the asset in the `assets` vector of817 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,818 * with all fees taken as needed from the asset.819 * 820 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.821 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send822 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.823 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be824 * an `AccountId32` value.825 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the826 * `dest` side. May not be empty.827 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay828 * fees.829 **/830 teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;831 /**832 * Generic tx833 **/834 [key: string]: SubmittableExtrinsicFunction<ApiType>;835 };836 rmrkCore: {837 /**838 * Accept an NFT sent from another account to self or an owned NFT.839 * 840 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.841 * 842 * # Permissions:843 * - Token-owner-to-be844 * 845 * # Arguments:846 * - `origin`: sender of the transaction847 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.848 * - `rmrk_nft_id`: ID of the NFT to be accepted.849 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,850 * whichever the accepted NFT was sent to.851 **/852 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;853 /**854 * Accept the addition of a newly created pending resource to an existing NFT.855 * 856 * This transaction is needed when a resource is created and assigned to an NFT857 * by a non-owner, i.e. the collection issuer, with one of the858 * [`add_...` transactions](Pallet::add_basic_resource).859 * 860 * # Permissions:861 * - Token owner862 * 863 * # Arguments:864 * - `origin`: sender of the transaction865 * - `rmrk_collection_id`: RMRK collection ID of the NFT.866 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.867 * - `resource_id`: ID of the newly created pending resource.868 * accept the addition of a new resource to an existing NFT869 **/870 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;871 /**872 * Accept the removal of a removal-pending resource from an NFT.873 * 874 * This transaction is needed when a non-owner, i.e. the collection issuer,875 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.876 * 877 * # Permissions:878 * - Token owner879 * 880 * # Arguments:881 * - `origin`: sender of the transaction882 * - `rmrk_collection_id`: RMRK collection ID of the NFT.883 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.884 * - `resource_id`: ID of the removal-pending resource.885 **/886 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;887 /**888 * Create and set/propose a basic resource for an NFT.889 * 890 * A basic resource is the simplest, lacking a Base and anything that comes with it.891 * See RMRK docs for more information and examples.892 * 893 * # Permissions:894 * - Collection issuer - if not the token owner, adding the resource will warrant895 * the owner's [acceptance](Pallet::accept_resource).896 * 897 * # Arguments:898 * - `origin`: sender of the transaction899 * - `rmrk_collection_id`: RMRK collection ID of the NFT.900 * - `nft_id`: ID of the NFT to assign a resource to.901 * - `resource`: Data of the resource to be created.902 **/903 addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceBasicResource]>;904 /**905 * Create and set/propose a composable resource for an NFT.906 * 907 * A composable resource links to a Base and has a subset of its Parts it is composed of.908 * See RMRK docs for more information and examples.909 * 910 * # Permissions:911 * - Collection issuer - if not the token owner, adding the resource will warrant912 * the owner's [acceptance](Pallet::accept_resource).913 * 914 * # Arguments:915 * - `origin`: sender of the transaction916 * - `rmrk_collection_id`: RMRK collection ID of the NFT.917 * - `nft_id`: ID of the NFT to assign a resource to.918 * - `resource`: Data of the resource to be created.919 **/920 addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceComposableResource]>;921 /**922 * Create and set/propose a slot resource for an NFT.923 * 924 * A slot resource links to a Base and a slot ID in it which it can fit into.925 * See RMRK docs for more information and examples.926 * 927 * # Permissions:928 * - Collection issuer - if not the token owner, adding the resource will warrant929 * the owner's [acceptance](Pallet::accept_resource).930 * 931 * # Arguments:932 * - `origin`: sender of the transaction933 * - `rmrk_collection_id`: RMRK collection ID of the NFT.934 * - `nft_id`: ID of the NFT to assign a resource to.935 * - `resource`: Data of the resource to be created.936 **/937 addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;938 /**939 * Burn an NFT, destroying it and its nested tokens up to the specified limit.940 * If the burning budget is exceeded, the transaction is reverted.941 * 942 * This is the way to burn a nested token as well.943 * 944 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).945 * 946 * # Permissions:947 * * Token owner948 * 949 * # Arguments:950 * - `origin`: sender of the transaction951 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.952 * - `nft_id`: ID of the NFT to be destroyed.953 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction954 * is reverted if there are more tokens to burn in the nesting tree than this number.955 * This is primarily a mechanism of transaction weight control.956 **/957 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;958 /**959 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).960 * 961 * # Permissions:962 * * Collection issuer963 * 964 * # Arguments:965 * - `origin`: sender of the transaction966 * - `collection_id`: RMRK collection ID to change the issuer of.967 * - `new_issuer`: Collection's new issuer.968 **/969 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;970 /**971 * Create a new collection of NFTs.972 * 973 * # Permissions:974 * * Anyone - will be assigned as the issuer of the collection.975 * 976 * # Arguments:977 * - `origin`: sender of the transaction978 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.979 * - `max`: Optional maximum number of tokens.980 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.981 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.982 **/983 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;984 /**985 * Destroy a collection.986 * 987 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.988 * 989 * # Permissions:990 * * Collection issuer991 * 992 * # Arguments:993 * - `origin`: sender of the transaction994 * - `collection_id`: RMRK ID of the collection to destroy.995 **/996 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;997 /**998 * "Lock" the collection and prevent new token creation. Cannot be undone.999 * 1000 * # Permissions:1001 * * Collection issuer1002 * 1003 * # Arguments:1004 * - `origin`: sender of the transaction1005 * - `collection_id`: RMRK ID of the collection to lock.1006 **/1007 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1008 /**1009 * Mint an NFT in a specified collection.1010 * 1011 * # Permissions:1012 * * Collection issuer1013 * 1014 * # Arguments:1015 * - `origin`: sender of the transaction1016 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).1017 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.1018 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.1019 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.1020 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.1021 * - `transferable`: Can this NFT be transferred? Cannot be changed.1022 * - `resources`: Resource data to be added to the NFT immediately after minting.1023 **/1024 mintNft: AugmentedSubmittable<(owner: Option<AccountId32> | null | Uint8Array | AccountId32 | string, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | Uint8Array | AccountId32 | string, royaltyAmount: Option<Permill> | null | Uint8Array | Permill | AnyNumber, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | Uint8Array | Vec<RmrkTraitsResourceResourceTypes> | (RmrkTraitsResourceResourceTypes | { Basic: any } | { Composable: any } | { Slot: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;1025 /**1026 * Reject an NFT sent from another account to self or owned NFT.1027 * The NFT in question will not be sent back and burnt instead.1028 * 1029 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.1030 * 1031 * # Permissions:1032 * - Token-owner-to-be-not1033 * 1034 * # Arguments:1035 * - `origin`: sender of the transaction1036 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.1037 * - `rmrk_nft_id`: ID of the NFT to be rejected.1038 **/1039 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1040 /**1041 * Remove and erase a resource from an NFT.1042 * 1043 * If the sender does not own the NFT, then it will be pending confirmation,1044 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.1045 * 1046 * # Permissions1047 * - Collection issuer1048 * 1049 * # Arguments1050 * - `origin`: sender of the transaction1051 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.1052 * - `nft_id`: ID of the NFT with a resource to be removed.1053 * - `resource_id`: ID of the resource to be removed.1054 **/1055 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;1056 /**1057 * Transfer an NFT from an account/NFT A to another account/NFT B.1058 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].1059 * 1060 * If the target owner is an NFT owned by another account, then the NFT will enter1061 * the pending state and will have to be accepted by the other account.1062 * 1063 * # Permissions:1064 * - Token owner1065 * 1066 * # Arguments:1067 * - `origin`: sender of the transaction1068 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.1069 * - `rmrk_nft_id`: ID of the NFT to be transferred.1070 * - `new_owner`: New owner of the nft which can be either an account or a NFT.1071 **/1072 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;1073 /**1074 * Set a different order of resource priorities for an NFT. Priorities can be used,1075 * for example, for order of rendering.1076 * 1077 * Note that the priorities are not updated automatically, and are an empty vector1078 * by default. There is no pre-set definition for the order to be particular,1079 * it can be interpreted arbitrarily use-case by use-case.1080 * 1081 * # Permissions:1082 * - Token owner1083 * 1084 * # Arguments:1085 * - `origin`: sender of the transaction1086 * - `rmrk_collection_id`: RMRK collection ID of the NFT.1087 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.1088 * - `priorities`: Ordered vector of resource IDs.1089 **/1090 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;1091 /**1092 * Add or edit a custom user property, a key-value pair, describing the metadata1093 * of a token or a collection, on either one of these.1094 * 1095 * Note that in this proxy implementation many details regarding RMRK are stored1096 * as scoped properties prefixed with "rmrk:", normally inaccessible1097 * to external transactions and RPCs.1098 * 1099 * # Permissions:1100 * - Collection issuer - in case of collection property1101 * - Token owner - in case of NFT property1102 * 1103 * # Arguments:1104 * - `origin`: sender of the transaction1105 * - `rmrk_collection_id`: RMRK collection ID.1106 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.1107 * - `key`: Key of the custom property to be referenced by.1108 * - `value`: Value of the custom property to be stored.1109 **/1110 setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;1111 /**1112 * Generic tx1113 **/1114 [key: string]: SubmittableExtrinsicFunction<ApiType>;1115 };1116 rmrkEquip: {1117 /**1118 * Create a new Base.1119 * 1120 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)1121 * 1122 * # Permissions1123 * - Anyone - will be assigned as the issuer of the Base.1124 * 1125 * # Arguments:1126 * - `origin`: Caller, will be assigned as the issuer of the Base1127 * - `base_type`: Arbitrary media type, e.g. "svg".1128 * - `symbol`: Arbitrary client-chosen symbol.1129 * - `parts`: Array of Fixed and Slot Parts composing the Base,1130 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).1131 **/1132 createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;1133 /**1134 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.1135 * 1136 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).1137 * 1138 * # Permissions:1139 * - Base issuer1140 * 1141 * # Arguments:1142 * - `origin`: sender of the transaction1143 * - `base_id`: Base containing the Slot Part to be updated.1144 * - `slot_id`: Slot Part whose Equippable List is being updated .1145 * - `equippables`: List of equippables that will override the current Equippables list.1146 **/1147 equippable: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, slotId: u32 | AnyNumber | Uint8Array, equippables: RmrkTraitsPartEquippableList | { All: any } | { Empty: any } | { Custom: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsPartEquippableList]>;1148 /**1149 * Add a Theme to a Base.1150 * A Theme named "default" is required prior to adding other Themes.1151 * 1152 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).1153 * 1154 * # Permissions:1155 * - Base issuer1156 * 1157 * # Arguments:1158 * - `origin`: sender of the transaction1159 * - `base_id`: Base ID containing the Theme to be updated.1160 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an1161 * array of [key, value, inherit].1162 * - `key`: Arbitrary BoundedString, defined by client.1163 * - `value`: Arbitrary BoundedString, defined by client.1164 * - `inherit`: Optional bool.1165 **/1166 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;1167 /**1168 * Generic tx1169 **/1170 [key: string]: SubmittableExtrinsicFunction<ApiType>;1171 };1172 session: {1173 /**1174 * Removes any session key(s) of the function caller.1175 * 1176 * This doesn't take effect until the next session.1177 * 1178 * The dispatch origin of this function must be Signed and the account must be either be1179 * convertible to a validator ID using the chain's typical addressing system (this usually1180 * means being a controller account) or directly convertible into a validator ID (which1181 * usually means being a stash account).1182 * 1183 * # <weight>1184 * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length1185 * of `T::Keys::key_ids()` which is fixed.1186 * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`1187 * - DbWrites: `NextKeys`, `origin account`1188 * - DbWrites per key id: `KeyOwner`1189 * # </weight>1190 **/1191 purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1192 /**1193 * Sets the session key(s) of the function caller to `keys`.1194 * Allows an account to set its session key prior to becoming a validator.1195 * This doesn't take effect until the next session.1196 * 1197 * The dispatch origin of this function must be signed.1198 * 1199 * # <weight>1200 * - Complexity: `O(1)`. Actual cost depends on the number of length of1201 * `T::Keys::key_ids()` which is fixed.1202 * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`1203 * - DbWrites: `origin account`, `NextKeys`1204 * - DbReads per key id: `KeyOwner`1205 * - DbWrites per key id: `KeyOwner`1206 * # </weight>1207 **/1208 setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;1209 /**1210 * Generic tx1211 **/1212 [key: string]: SubmittableExtrinsicFunction<ApiType>;1213 };1214 structure: {1215 /**1216 * Generic tx1217 **/1218 [key: string]: SubmittableExtrinsicFunction<ApiType>;1219 };1220 sudo: {1221 /**1222 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo1223 * key.1224 * 1225 * The dispatch origin for this call must be _Signed_.1226 * 1227 * # <weight>1228 * - O(1).1229 * - Limited storage reads.1230 * - One DB change.1231 * # </weight>1232 **/1233 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1234 /**1235 * Authenticates the sudo key and dispatches a function call with `Root` origin.1236 * 1237 * The dispatch origin for this call must be _Signed_.1238 * 1239 * # <weight>1240 * - O(1).1241 * - Limited storage reads.1242 * - One DB write (event).1243 * - Weight of derivative `call` execution + 10,000.1244 * # </weight>1245 **/1246 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;1247 /**1248 * Authenticates the sudo key and dispatches a function call with `Signed` origin from1249 * a given account.1250 * 1251 * The dispatch origin for this call must be _Signed_.1252 * 1253 * # <weight>1254 * - O(1).1255 * - Limited storage reads.1256 * - One DB write (event).1257 * - Weight of derivative `call` execution + 10,000.1258 * # </weight>1259 **/1260 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;1261 /**1262 * Authenticates the sudo key and dispatches a function call with `Root` origin.1263 * This function does not check the weight of the call, and instead allows the1264 * Sudo user to specify the weight of the call.1265 * 1266 * The dispatch origin for this call must be _Signed_.1267 * 1268 * # <weight>1269 * - O(1).1270 * - The weight of this call is defined by the caller.1271 * # </weight>1272 **/1273 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;1274 /**1275 * Generic tx1276 **/1277 [key: string]: SubmittableExtrinsicFunction<ApiType>;1278 };1279 system: {1280 /**1281 * A dispatch that will fill the block weight up to the given ratio.1282 **/1283 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;1284 /**1285 * Kill all storage items with a key that starts with the given prefix.1286 * 1287 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under1288 * the prefix we are removing to accurately calculate the weight of this function.1289 **/1290 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;1291 /**1292 * Kill some items from storage.1293 **/1294 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;1295 /**1296 * Make some on-chain remark.1297 * 1298 * # <weight>1299 * - `O(1)`1300 * # </weight>1301 **/1302 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1303 /**1304 * Make some on-chain remark and emit event.1305 **/1306 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1307 /**1308 * Set the new runtime code.1309 * 1310 * # <weight>1311 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`1312 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is1313 * expensive).1314 * - 1 storage write (codec `O(C)`).1315 * - 1 digest item.1316 * - 1 event.1317 * The weight of this function is dependent on the runtime, but generally this is very1318 * expensive. We will treat this as a full block.1319 * # </weight>1320 **/1321 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1322 /**1323 * Set the new runtime code without doing any checks of the given `code`.1324 * 1325 * # <weight>1326 * - `O(C)` where `C` length of `code`1327 * - 1 storage write (codec `O(C)`).1328 * - 1 digest item.1329 * - 1 event.1330 * The weight of this function is dependent on the runtime. We will treat this as a full1331 * block. # </weight>1332 **/1333 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1334 /**1335 * Set the number of pages in the WebAssembly environment's heap.1336 **/1337 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1338 /**1339 * Set some items of storage.1340 **/1341 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;1342 /**1343 * Generic tx1344 **/1345 [key: string]: SubmittableExtrinsicFunction<ApiType>;1346 };1347 testUtils: {1348 batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;1349 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1350 incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1351 justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1352 setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1353 setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1354 /**1355 * Generic tx1356 **/1357 [key: string]: SubmittableExtrinsicFunction<ApiType>;1358 };1359 timestamp: {1360 /**1361 * Set the current time.1362 * 1363 * This call should be invoked exactly once per block. It will panic at the finalization1364 * phase, if this call hasn't been invoked by that time.1365 * 1366 * The timestamp should be greater than the previous one by the amount specified by1367 * `MinimumPeriod`.1368 * 1369 * The dispatch origin for this call must be `Inherent`.1370 * 1371 * # <weight>1372 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1373 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1374 * `on_finalize`)1375 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1376 * # </weight>1377 **/1378 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1379 /**1380 * Generic tx1381 **/1382 [key: string]: SubmittableExtrinsicFunction<ApiType>;1383 };1384 tokens: {1385 /**1386 * Exactly as `transfer`, except the origin must be root and the source1387 * account may be specified.1388 * 1389 * The dispatch origin for this call must be _Root_.1390 * 1391 * - `source`: The sender of the transfer.1392 * - `dest`: The recipient of the transfer.1393 * - `currency_id`: currency type.1394 * - `amount`: free balance amount to tranfer.1395 **/1396 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1397 /**1398 * Set the balances of a given account.1399 * 1400 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1401 * will also decrease the total issuance of the system1402 * (`TotalIssuance`). If the new free or reserved balance is below the1403 * existential deposit, it will reap the `AccountInfo`.1404 * 1405 * The dispatch origin for this call is `root`.1406 **/1407 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>, Compact<u128>]>;1408 /**1409 * Transfer some liquid free balance to another account.1410 * 1411 * `transfer` will set the `FreeBalance` of the sender and receiver.1412 * It will decrease the total issuance of the system by the1413 * `TransferFee`. If the sender's account is below the existential1414 * deposit as a result of the transfer, the account will be reaped.1415 * 1416 * The dispatch origin for this call must be `Signed` by the1417 * transactor.1418 * 1419 * - `dest`: The recipient of the transfer.1420 * - `currency_id`: currency type.1421 * - `amount`: free balance amount to tranfer.1422 **/1423 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1424 /**1425 * Transfer all remaining balance to the given account.1426 * 1427 * NOTE: This function only attempts to transfer _transferable_1428 * balances. This means that any locked, reserved, or existential1429 * deposits (when `keep_alive` is `true`), will not be transferred by1430 * this function. To ensure that this function results in a killed1431 * account, you might need to prepare the account by removing any1432 * reference counters, storage deposits, etc...1433 * 1434 * The dispatch origin for this call must be `Signed` by the1435 * transactor.1436 * 1437 * - `dest`: The recipient of the transfer.1438 * - `currency_id`: currency type.1439 * - `keep_alive`: A boolean to determine if the `transfer_all`1440 * operation should send all of the funds the account has, causing1441 * the sender account to be killed (false), or transfer everything1442 * except at least the existential deposit, which will guarantee to1443 * keep the sender account alive (true).1444 **/1445 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, bool]>;1446 /**1447 * Same as the [`transfer`] call, but with a check that the transfer1448 * will not kill the origin account.1449 * 1450 * 99% of the time you want [`transfer`] instead.1451 * 1452 * The dispatch origin for this call must be `Signed` by the1453 * transactor.1454 * 1455 * - `dest`: The recipient of the transfer.1456 * - `currency_id`: currency type.1457 * - `amount`: free balance amount to tranfer.1458 **/1459 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1460 /**1461 * Generic tx1462 **/1463 [key: string]: SubmittableExtrinsicFunction<ApiType>;1464 };1465 treasury: {1466 /**1467 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1468 * and the original deposit will be returned.1469 * 1470 * May only be called from `T::ApproveOrigin`.1471 * 1472 * # <weight>1473 * - Complexity: O(1).1474 * - DbReads: `Proposals`, `Approvals`1475 * - DbWrite: `Approvals`1476 * # </weight>1477 **/1478 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1479 /**1480 * Put forward a suggestion for spending. A deposit proportional to the value1481 * is reserved and slashed if the proposal is rejected. It is returned once the1482 * proposal is awarded.1483 * 1484 * # <weight>1485 * - Complexity: O(1)1486 * - DbReads: `ProposalCount`, `origin account`1487 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1488 * # </weight>1489 **/1490 proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1491 /**1492 * Reject a proposed spend. The original deposit will be slashed.1493 * 1494 * May only be called from `T::RejectOrigin`.1495 * 1496 * # <weight>1497 * - Complexity: O(1)1498 * - DbReads: `Proposals`, `rejected proposer account`1499 * - DbWrites: `Proposals`, `rejected proposer account`1500 * # </weight>1501 **/1502 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1503 /**1504 * Force a previously approved proposal to be removed from the approval queue.1505 * The original deposit will no longer be returned.1506 * 1507 * May only be called from `T::RejectOrigin`.1508 * - `proposal_id`: The index of a proposal1509 * 1510 * # <weight>1511 * - Complexity: O(A) where `A` is the number of approvals1512 * - Db reads and writes: `Approvals`1513 * # </weight>1514 * 1515 * Errors:1516 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1517 * i.e., the proposal has not been approved. This could also mean the proposal does not1518 * exist altogether, thus there is no way it would have been approved in the first place.1519 **/1520 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1521 /**1522 * Propose and approve a spend of treasury funds.1523 * 1524 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1525 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1526 * - `beneficiary`: The destination account for the transfer.1527 * 1528 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1529 * beneficiary.1530 **/1531 spend: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1532 /**1533 * Generic tx1534 **/1535 [key: string]: SubmittableExtrinsicFunction<ApiType>;1536 };1537 unique: {1538 /**1539 * Add an admin to a collection.1540 * 1541 * NFT Collection can be controlled by multiple admin addresses1542 * (some which can also be servers, for example). Admins can issue1543 * and burn NFTs, as well as add and remove other admins,1544 * but cannot change NFT or Collection ownership.1545 * 1546 * # Permissions1547 * 1548 * * Collection owner1549 * * Collection admin1550 * 1551 * # Arguments1552 * 1553 * * `collection_id`: ID of the Collection to add an admin for.1554 * * `new_admin`: Address of new admin to add.1555 **/1556 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1557 /**1558 * Add an address to allow list.1559 * 1560 * # Permissions1561 * 1562 * * Collection owner1563 * * Collection admin1564 * 1565 * # Arguments1566 * 1567 * * `collection_id`: ID of the modified collection.1568 * * `address`: ID of the address to be added to the allowlist.1569 **/1570 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1571 /**1572 * Allow a non-permissioned address to transfer or burn an item.1573 * 1574 * # Permissions1575 * 1576 * * Collection owner1577 * * Collection admin1578 * * Current item owner1579 * 1580 * # Arguments1581 * 1582 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1583 * * `collection_id`: ID of the collection the item belongs to.1584 * * `item_id`: ID of the item transactions on which are now approved.1585 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1586 * Set to 0 to revoke the approval.1587 **/1588 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1589 /**1590 * Destroy a token on behalf of the owner as a non-owner account.1591 * 1592 * See also: [`approve`][`Pallet::approve`].1593 * 1594 * After this method executes, one approval is removed from the total so that1595 * the approved address will not be able to transfer this item again from this owner.1596 * 1597 * # Permissions1598 * 1599 * * Collection owner1600 * * Collection admin1601 * * Current token owner1602 * * Address approved by current item owner1603 * 1604 * # Arguments1605 * 1606 * * `from`: The owner of the burning item.1607 * * `collection_id`: ID of the collection to which the item belongs.1608 * * `item_id`: ID of item to burn.1609 * * `value`: Number of pieces to burn.1610 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1611 * * Fungible Mode: The desired number of pieces to burn.1612 * * Re-Fungible Mode: The desired number of pieces to burn.1613 **/1614 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;1615 /**1616 * Destroy an item.1617 * 1618 * # Permissions1619 * 1620 * * Collection owner1621 * * Collection admin1622 * * Current item owner1623 * 1624 * # Arguments1625 * 1626 * * `collection_id`: ID of the collection to which the item belongs.1627 * * `item_id`: ID of item to burn.1628 * * `value`: Number of pieces of the item to destroy.1629 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1630 * * Fungible Mode: The desired number of pieces to burn.1631 * * Re-Fungible Mode: The desired number of pieces to burn.1632 **/1633 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1634 /**1635 * Change the owner of the collection.1636 * 1637 * # Permissions1638 * 1639 * * Collection owner1640 * 1641 * # Arguments1642 * 1643 * * `collection_id`: ID of the modified collection.1644 * * `new_owner`: ID of the account that will become the owner.1645 **/1646 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1647 /**1648 * Confirm own sponsorship of a collection, becoming the sponsor.1649 * 1650 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1651 * Sponsor can pay the fees of a transaction instead of the sender,1652 * but only within specified limits.1653 * 1654 * # Permissions1655 * 1656 * * Sponsor-to-be1657 * 1658 * # Arguments1659 * 1660 * * `collection_id`: ID of the collection with the pending sponsor.1661 **/1662 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1663 /**1664 * Create a collection of tokens.1665 * 1666 * Each Token may have multiple properties encoded as an array of bytes1667 * of certain length. The initial owner of the collection is set1668 * to the address that signed the transaction and can be changed later.1669 * 1670 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1671 * 1672 * # Permissions1673 * 1674 * * Anyone - becomes the owner of the new collection.1675 * 1676 * # Arguments1677 * 1678 * * `collection_name`: Wide-character string with collection name1679 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1680 * * `collection_description`: Wide-character string with collection description1681 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1682 * * `token_prefix`: Byte string containing the token prefix to mark a collection1683 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1684 * * `mode`: Type of items stored in the collection and type dependent data.1685 **/1686 createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, UpDataStructsCollectionMode]>;1687 /**1688 * Create a collection with explicit parameters.1689 * 1690 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1691 * 1692 * # Permissions1693 * 1694 * * Anyone - becomes the owner of the new collection.1695 * 1696 * # Arguments1697 * 1698 * * `data`: Explicit data of a collection used for its creation.1699 **/1700 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; pendingSponsor?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;1701 /**1702 * Mint an item within a collection.1703 * 1704 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1705 * 1706 * # Permissions1707 * 1708 * * Collection owner1709 * * Collection admin1710 * * Anyone if1711 * * Allow List is enabled, and1712 * * Address is added to allow list, and1713 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1714 * 1715 * # Arguments1716 * 1717 * * `collection_id`: ID of the collection to which an item would belong.1718 * * `owner`: Address of the initial owner of the item.1719 * * `data`: Token data describing the item to store on chain.1720 **/1721 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;1722 /**1723 * Create multiple items within a collection.1724 * 1725 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1726 * 1727 * # Permissions1728 * 1729 * * Collection owner1730 * * Collection admin1731 * * Anyone if1732 * * Allow List is enabled, and1733 * * Address is added to the allow list, and1734 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1735 * 1736 * # Arguments1737 * 1738 * * `collection_id`: ID of the collection to which the tokens would belong.1739 * * `owner`: Address of the initial owner of the tokens.1740 * * `items_data`: Vector of data describing each item to be created.1741 **/1742 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;1743 /**1744 * Create multiple items within a collection with explicitly specified initial parameters.1745 * 1746 * # Permissions1747 * 1748 * * Collection owner1749 * * Collection admin1750 * * Anyone if1751 * * Allow List is enabled, and1752 * * Address is added to allow list, and1753 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1754 * 1755 * # Arguments1756 * 1757 * * `collection_id`: ID of the collection to which the tokens would belong.1758 * * `data`: Explicit item creation data.1759 **/1760 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1761 /**1762 * Delete specified collection properties.1763 * 1764 * # Permissions1765 * 1766 * * Collection Owner1767 * * Collection Admin1768 * 1769 * # Arguments1770 * 1771 * * `collection_id`: ID of the modified collection.1772 * * `property_keys`: Vector of keys of the properties to be deleted.1773 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1774 **/1775 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1776 /**1777 * Delete specified token properties. Currently properties only work with NFTs.1778 * 1779 * # Permissions1780 * 1781 * * Depends on collection's token property permissions and specified property mutability:1782 * * Collection owner1783 * * Collection admin1784 * * Token owner1785 * 1786 * # Arguments1787 * 1788 * * `collection_id`: ID of the collection to which the token belongs.1789 * * `token_id`: ID of the modified token.1790 * * `property_keys`: Vector of keys of the properties to be deleted.1791 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1792 **/1793 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1794 /**1795 * Destroy a collection if no tokens exist within.1796 * 1797 * # Permissions1798 * 1799 * * Collection owner1800 * 1801 * # Arguments1802 * 1803 * * `collection_id`: Collection to destroy.1804 **/1805 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1806 /**1807 * Repairs a collection if the data was somehow corrupted.1808 * 1809 * # Arguments1810 * 1811 * * `collection_id`: ID of the collection to repair.1812 **/1813 forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1814 /**1815 * Repairs a token if the data was somehow corrupted.1816 * 1817 * # Arguments1818 * 1819 * * `collection_id`: ID of the collection the item belongs to.1820 * * `item_id`: ID of the item.1821 **/1822 forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1823 /**1824 * Remove admin of a collection.1825 * 1826 * An admin address can remove itself. List of admins may become empty,1827 * in which case only Collection Owner will be able to add an Admin.1828 * 1829 * # Permissions1830 * 1831 * * Collection owner1832 * * Collection admin1833 * 1834 * # Arguments1835 * 1836 * * `collection_id`: ID of the collection to remove the admin for.1837 * * `account_id`: Address of the admin to remove.1838 **/1839 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1840 /**1841 * Remove a collection's a sponsor, making everyone pay for their own transactions.1842 * 1843 * # Permissions1844 * 1845 * * Collection owner1846 * 1847 * # Arguments1848 * 1849 * * `collection_id`: ID of the collection with the sponsor to remove.1850 **/1851 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1852 /**1853 * Remove an address from allow list.1854 * 1855 * # Permissions1856 * 1857 * * Collection owner1858 * * Collection admin1859 * 1860 * # Arguments1861 * 1862 * * `collection_id`: ID of the modified collection.1863 * * `address`: ID of the address to be removed from the allowlist.1864 **/1865 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1866 /**1867 * Re-partition a refungible token, while owning all of its parts/pieces.1868 * 1869 * # Permissions1870 * 1871 * * Token owner (must own every part)1872 * 1873 * # Arguments1874 * 1875 * * `collection_id`: ID of the collection the RFT belongs to.1876 * * `token_id`: ID of the RFT.1877 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1878 **/1879 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1880 /**1881 * Sets or unsets the approval of a given operator.1882 * 1883 * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.1884 * 1885 * # Arguments1886 * 1887 * * `owner`: Token owner1888 * * `operator`: Operator1889 * * `approve`: Should operator status be granted or revoked?1890 **/1891 setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1892 /**1893 * Set specific limits of a collection. Empty, or None fields mean chain default.1894 * 1895 * # Permissions1896 * 1897 * * Collection owner1898 * * Collection admin1899 * 1900 * # Arguments1901 * 1902 * * `collection_id`: ID of the modified collection.1903 * * `new_limit`: New limits of the collection. Fields that are not set (None)1904 * will not overwrite the old ones.1905 **/1906 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;1907 /**1908 * Set specific permissions of a collection. Empty, or None fields mean chain default.1909 * 1910 * # Permissions1911 * 1912 * * Collection owner1913 * * Collection admin1914 * 1915 * # Arguments1916 * 1917 * * `collection_id`: ID of the modified collection.1918 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1919 * will not overwrite the old ones.1920 **/1921 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1922 /**1923 * Add or change collection properties.1924 * 1925 * # Permissions1926 * 1927 * * Collection owner1928 * * Collection admin1929 * 1930 * # Arguments1931 * 1932 * * `collection_id`: ID of the modified collection.1933 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1934 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1935 **/1936 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1937 /**1938 * Set (invite) a new collection sponsor.1939 * 1940 * If successful, confirmation from the sponsor-to-be will be pending.1941 * 1942 * # Permissions1943 * 1944 * * Collection owner1945 * * Collection admin1946 * 1947 * # Arguments1948 * 1949 * * `collection_id`: ID of the modified collection.1950 * * `new_sponsor`: ID of the account of the sponsor-to-be.1951 **/1952 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1953 /**1954 * Add or change token properties according to collection's permissions.1955 * Currently properties only work with NFTs.1956 * 1957 * # Permissions1958 * 1959 * * Depends on collection's token property permissions and specified property mutability:1960 * * Collection owner1961 * * Collection admin1962 * * Token owner1963 * 1964 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1965 * 1966 * # Arguments1967 * 1968 * * `collection_id: ID of the collection to which the token belongs.1969 * * `token_id`: ID of the modified token.1970 * * `properties`: Vector of key-value pairs stored as the token's metadata.1971 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1972 **/1973 setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<UpDataStructsProperty>]>;1974 /**1975 * Add or change token property permissions of a collection.1976 * 1977 * Without a permission for a particular key, a property with that key1978 * cannot be created in a token.1979 * 1980 * # Permissions1981 * 1982 * * Collection owner1983 * * Collection admin1984 * 1985 * # Arguments1986 * 1987 * * `collection_id`: ID of the modified collection.1988 * * `property_permissions`: Vector of permissions for property keys.1989 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1990 **/1991 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1992 /**1993 * Completely allow or disallow transfers for a particular collection.1994 * 1995 * # Permissions1996 * 1997 * * Collection owner1998 * 1999 * # Arguments2000 * 2001 * * `collection_id`: ID of the collection.2002 * * `value`: New value of the flag, are transfers allowed?2003 **/2004 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;2005 /**2006 * Change ownership of the token.2007 * 2008 * # Permissions2009 * 2010 * * Collection owner2011 * * Collection admin2012 * * Current token owner2013 * 2014 * # Arguments2015 * 2016 * * `recipient`: Address of token recipient.2017 * * `collection_id`: ID of the collection the item belongs to.2018 * * `item_id`: ID of the item.2019 * * Non-Fungible Mode: Required.2020 * * Fungible Mode: Ignored.2021 * * Re-Fungible Mode: Required.2022 * 2023 * * `value`: Amount to transfer.2024 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.2025 * * Fungible Mode: The desired number of pieces to transfer.2026 * * Re-Fungible Mode: The desired number of pieces to transfer.2027 **/2028 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;2029 /**2030 * Change ownership of an item on behalf of the owner as a non-owner account.2031 * 2032 * See the [`approve`][`Pallet::approve`] method for additional information.2033 * 2034 * After this method executes, one approval is removed from the total so that2035 * the approved address will not be able to transfer this item again from this owner.2036 * 2037 * # Permissions2038 * 2039 * * Collection owner2040 * * Collection admin2041 * * Current item owner2042 * * Address approved by current item owner2043 * 2044 * # Arguments2045 * 2046 * * `from`: Address that currently owns the token.2047 * * `recipient`: Address of the new token-owner-to-be.2048 * * `collection_id`: ID of the collection the item.2049 * * `item_id`: ID of the item to be transferred.2050 * * `value`: Amount to transfer.2051 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.2052 * * Fungible Mode: The desired number of pieces to transfer.2053 * * Re-Fungible Mode: The desired number of pieces to transfer.2054 **/2055 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;2056 /**2057 * Generic tx2058 **/2059 [key: string]: SubmittableExtrinsicFunction<ApiType>;2060 };2061 vesting: {2062 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2063 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;2064 updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, vestingSchedules: Vec<OrmlVestingVestingSchedule> | (OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [MultiAddress, Vec<OrmlVestingVestingSchedule>]>;2065 vestedTransfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, OrmlVestingVestingSchedule]>;2066 /**2067 * Generic tx2068 **/2069 [key: string]: SubmittableExtrinsicFunction<ApiType>;2070 };2071 xcmpQueue: {2072 /**2073 * Resumes all XCM executions for the XCMP queue.2074 * 2075 * Note that this function doesn't change the status of the in/out bound channels.2076 * 2077 * - `origin`: Must pass `ControllerOrigin`.2078 **/2079 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2080 /**2081 * Services a single overweight XCM.2082 * 2083 * - `origin`: Must pass `ExecuteOverweightOrigin`.2084 * - `index`: The index of the overweight XCM to service2085 * - `weight_limit`: The amount of weight that XCM execution may take.2086 * 2087 * Errors:2088 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.2089 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.2090 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.2091 * 2092 * Events:2093 * - `OverweightServiced`: On success.2094 **/2095 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;2096 /**2097 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.2098 * 2099 * - `origin`: Must pass `ControllerOrigin`.2100 **/2101 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2102 /**2103 * Overwrites the number of pages of messages which must be in the queue after which we drop any further2104 * messages from the channel.2105 * 2106 * - `origin`: Must pass `Root`.2107 * - `new`: Desired value for `QueueConfigData.drop_threshold`2108 **/2109 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2110 /**2111 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that2112 * message sending may recommence after it has been suspended.2113 * 2114 * - `origin`: Must pass `Root`.2115 * - `new`: Desired value for `QueueConfigData.resume_threshold`2116 **/2117 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2118 /**2119 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to2120 * suspend their sending.2121 * 2122 * - `origin`: Must pass `Root`.2123 * - `new`: Desired value for `QueueConfigData.suspend_value`2124 **/2125 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2126 /**2127 * Overwrites the amount of remaining weight under which we stop processing messages.2128 * 2129 * - `origin`: Must pass `Root`.2130 * - `new`: Desired value for `QueueConfigData.threshold_weight`2131 **/2132 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2133 /**2134 * Overwrites the speed to which the available weight approaches the maximum weight.2135 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.2136 * 2137 * - `origin`: Must pass `Root`.2138 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.2139 **/2140 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2141 /**2142 * Overwrite the maximum amount of weight any individual message may consume.2143 * Messages above this weight go into the overweight queue and may only be serviced explicitly.2144 * 2145 * - `origin`: Must pass `Root`.2146 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.2147 **/2148 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2149 /**2150 * Generic tx2151 **/2152 [key: string]: SubmittableExtrinsicFunction<ApiType>;2153 };2154 xTokens: {2155 /**2156 * Transfer native currencies.2157 * 2158 * `dest_weight_limit` is the weight for XCM execution on the dest2159 * chain, and it would be charged from the transferred assets. If set2160 * below requirements, the execution may fail and assets wouldn't be2161 * received.2162 * 2163 * It's a no-op if any error on local XCM execution or message sending.2164 * Note sending assets out per se doesn't guarantee they would be2165 * received. Receiving depends on if the XCM message could be delivered2166 * by the network, and if the receiving chain would handle2167 * messages correctly.2168 **/2169 transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2170 /**2171 * Transfer `MultiAsset`.2172 * 2173 * `dest_weight_limit` is the weight for XCM execution on the dest2174 * chain, and it would be charged from the transferred assets. If set2175 * below requirements, the execution may fail and assets wouldn't be2176 * received.2177 * 2178 * It's a no-op if any error on local XCM execution or message sending.2179 * Note sending assets out per se doesn't guarantee they would be2180 * received. Receiving depends on if the XCM message could be delivered2181 * by the network, and if the receiving chain would handle2182 * messages correctly.2183 **/2184 transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2185 /**2186 * Transfer several `MultiAsset` specifying the item to be used as fee2187 * 2188 * `dest_weight_limit` is the weight for XCM execution on the dest2189 * chain, and it would be charged from the transferred assets. If set2190 * below requirements, the execution may fail and assets wouldn't be2191 * received.2192 * 2193 * `fee_item` is index of the MultiAssets that we want to use for2194 * payment2195 * 2196 * It's a no-op if any error on local XCM execution or message sending.2197 * Note sending assets out per se doesn't guarantee they would be2198 * received. Receiving depends on if the XCM message could be delivered2199 * by the network, and if the receiving chain would handle2200 * messages correctly.2201 **/2202 transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2203 /**2204 * Transfer `MultiAsset` specifying the fee and amount as separate.2205 * 2206 * `dest_weight_limit` is the weight for XCM execution on the dest2207 * chain, and it would be charged from the transferred assets. If set2208 * below requirements, the execution may fail and assets wouldn't be2209 * received.2210 * 2211 * `fee` is the multiasset to be spent to pay for execution in2212 * destination chain. Both fee and amount will be subtracted form the2213 * callers balance For now we only accept fee and asset having the same2214 * `MultiLocation` id.2215 * 2216 * If `fee` is not high enough to cover for the execution costs in the2217 * destination chain, then the assets will be trapped in the2218 * destination chain2219 * 2220 * It's a no-op if any error on local XCM execution or message sending.2221 * Note sending assets out per se doesn't guarantee they would be2222 * received. Receiving depends on if the XCM message could be delivered2223 * by the network, and if the receiving chain would handle2224 * messages correctly.2225 **/2226 transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, fee: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2227 /**2228 * Transfer several currencies specifying the item to be used as fee2229 * 2230 * `dest_weight_limit` is the weight for XCM execution on the dest2231 * chain, and it would be charged from the transferred assets. If set2232 * below requirements, the execution may fail and assets wouldn't be2233 * received.2234 * 2235 * `fee_item` is index of the currencies tuple that we want to use for2236 * payment2237 * 2238 * It's a no-op if any error on local XCM execution or message sending.2239 * Note sending assets out per se doesn't guarantee they would be2240 * received. Receiving depends on if the XCM message could be delivered2241 * by the network, and if the receiving chain would handle2242 * messages correctly.2243 **/2244 transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2245 /**2246 * Transfer native currencies specifying the fee and amount as2247 * separate.2248 * 2249 * `dest_weight_limit` is the weight for XCM execution on the dest2250 * chain, and it would be charged from the transferred assets. If set2251 * below requirements, the execution may fail and assets wouldn't be2252 * received.2253 * 2254 * `fee` is the amount to be spent to pay for execution in destination2255 * chain. Both fee and amount will be subtracted form the callers2256 * balance.2257 * 2258 * If `fee` is not high enough to cover for the execution costs in the2259 * destination chain, then the assets will be trapped in the2260 * destination chain2261 * 2262 * It's a no-op if any error on local XCM execution or message sending.2263 * Note sending assets out per se doesn't guarantee they would be2264 * received. Receiving depends on if the XCM message could be delivered2265 * by the network, and if the receiving chain would handle2266 * messages correctly.2267 **/2268 transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2269 /**2270 * Generic tx2271 **/2272 [key: string]: SubmittableExtrinsicFunction<ApiType>;2273 };2274 } // AugmentedSubmittables2275} // declare moduletests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonDataManagementFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDataManagementCall, PalletDataManagementError, PalletDataManagementEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -772,6 +772,7 @@
Offender: Offender;
OldV1SessionInfo: OldV1SessionInfo;
OpalRuntimeRuntime: OpalRuntimeRuntime;
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OpaqueCall: OpaqueCall;
@@ -839,8 +840,12 @@
PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
PalletConfigurationCall: PalletConfigurationCall;
PalletConfigurationError: PalletConfigurationError;
+ PalletConfigurationEvent: PalletConfigurationEvent;
PalletConstantMetadataLatest: PalletConstantMetadataLatest;
PalletConstantMetadataV14: PalletConstantMetadataV14;
+ PalletDataManagementCall: PalletDataManagementCall;
+ PalletDataManagementError: PalletDataManagementError;
+ PalletDataManagementEvent: PalletDataManagementEvent;
PalletErrorMetadataLatest: PalletErrorMetadataLatest;
PalletErrorMetadataV14: PalletErrorMetadataV14;
PalletEthereumCall: PalletEthereumCall;
@@ -857,9 +862,6 @@
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
PalletEvmError: PalletEvmError;
PalletEvmEvent: PalletEvmEvent;
- PalletEvmMigrationCall: PalletEvmMigrationCall;
- PalletEvmMigrationError: PalletEvmMigrationError;
- PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds;
PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata;
PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall;
@@ -868,6 +870,15 @@
PalletForeignAssetsNativeCurrency: PalletForeignAssetsNativeCurrency;
PalletFungibleError: PalletFungibleError;
PalletId: PalletId;
+ PalletIdentityBitFlags: PalletIdentityBitFlags;
+ PalletIdentityCall: PalletIdentityCall;
+ PalletIdentityError: PalletIdentityError;
+ PalletIdentityEvent: PalletIdentityEvent;
+ PalletIdentityIdentityField: PalletIdentityIdentityField;
+ PalletIdentityIdentityInfo: PalletIdentityIdentityInfo;
+ PalletIdentityJudgement: PalletIdentityJudgement;
+ PalletIdentityRegistrarInfo: PalletIdentityRegistrarInfo;
+ PalletIdentityRegistration: PalletIdentityRegistration;
PalletInflationCall: PalletInflationCall;
PalletMaintenanceCall: PalletMaintenanceCall;
PalletMaintenanceError: PalletMaintenanceError;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1,6 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
+import type { Data } from '@polkadot/types';
import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
@@ -696,6 +697,9 @@
/** @name OpalRuntimeRuntime */
export interface OpalRuntimeRuntime extends Null {}
+/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */
+export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}
+
/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
@@ -1245,19 +1249,7 @@
readonly isRemoveInvulnerable: boolean;
readonly asRemoveInvulnerable: {
readonly who: AccountId32;
- } & Struct;
- readonly isSetDesiredCollators: boolean;
- readonly asSetDesiredCollators: {
- readonly max: u32;
- } & Struct;
- readonly isSetLicenseBond: boolean;
- readonly asSetLicenseBond: {
- readonly bond: u128;
} & Struct;
- readonly isSetKickThreshold: boolean;
- readonly asSetKickThreshold: {
- readonly kickThreshold: u32;
- } & Struct;
readonly isGetLicense: boolean;
readonly isOnboard: boolean;
readonly isOffboard: boolean;
@@ -1266,7 +1258,7 @@
readonly asForceRevokeLicense: {
readonly who: AccountId32;
} & Struct;
- readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'SetDesiredCollators' | 'SetLicenseBond' | 'SetKickThreshold' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
+ readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
}
/** @name PalletCollatorSelectionError */
@@ -1289,18 +1281,6 @@
/** @name PalletCollatorSelectionEvent */
export interface PalletCollatorSelectionEvent extends Enum {
- readonly isNewDesiredCollators: boolean;
- readonly asNewDesiredCollators: {
- readonly desiredCollators: u32;
- } & Struct;
- readonly isNewLicenseBond: boolean;
- readonly asNewLicenseBond: {
- readonly bondAmount: u128;
- } & Struct;
- readonly isNewKickThreshold: boolean;
- readonly asNewKickThreshold: {
- readonly lengthInBlocks: u32;
- } & Struct;
readonly isInvulnerableAdded: boolean;
readonly asInvulnerableAdded: {
readonly invulnerable: AccountId32;
@@ -1327,7 +1307,7 @@
readonly asCandidateRemoved: {
readonly accountId: AccountId32;
} & Struct;
- readonly type: 'NewDesiredCollators' | 'NewLicenseBond' | 'NewKickThreshold' | 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
+ readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
}
/** @name PalletCommonError */
@@ -1446,7 +1426,19 @@
readonly asSetAppPromotionConfigurationOverride: {
readonly configuration: PalletConfigurationAppPromotionConfiguration;
} & Struct;
- readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';
+ readonly isSetCollatorSelectionDesiredCollators: boolean;
+ readonly asSetCollatorSelectionDesiredCollators: {
+ readonly max: Option<u32>;
+ } & Struct;
+ readonly isSetCollatorSelectionLicenseBond: boolean;
+ readonly asSetCollatorSelectionLicenseBond: {
+ readonly amount: Option<u128>;
+ } & Struct;
+ readonly isSetCollatorSelectionKickThreshold: boolean;
+ readonly asSetCollatorSelectionKickThreshold: {
+ readonly threshold: Option<u32>;
+ } & Struct;
+ readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
}
/** @name PalletConfigurationError */
@@ -1455,6 +1447,64 @@
readonly type: 'InconsistentConfiguration';
}
+/** @name PalletConfigurationEvent */
+export interface PalletConfigurationEvent extends Enum {
+ readonly isNewDesiredCollators: boolean;
+ readonly asNewDesiredCollators: {
+ readonly desiredCollators: Option<u32>;
+ } & Struct;
+ readonly isNewCollatorLicenseBond: boolean;
+ readonly asNewCollatorLicenseBond: {
+ readonly bondCost: Option<u128>;
+ } & Struct;
+ readonly isNewCollatorKickThreshold: boolean;
+ readonly asNewCollatorKickThreshold: {
+ readonly lengthInBlocks: Option<u32>;
+ } & Struct;
+ readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
+}
+
+/** @name PalletDataManagementCall */
+export interface PalletDataManagementCall extends Enum {
+ readonly isBegin: boolean;
+ readonly asBegin: {
+ readonly address: H160;
+ } & Struct;
+ readonly isSetData: boolean;
+ readonly asSetData: {
+ readonly address: H160;
+ readonly data: Vec<ITuple<[H256, H256]>>;
+ } & Struct;
+ readonly isFinish: boolean;
+ readonly asFinish: {
+ readonly address: H160;
+ readonly code: Bytes;
+ } & Struct;
+ readonly isInsertEthLogs: boolean;
+ readonly asInsertEthLogs: {
+ readonly logs: Vec<EthereumLog>;
+ } & Struct;
+ readonly isInsertEvents: boolean;
+ readonly asInsertEvents: {
+ readonly events: Vec<Bytes>;
+ } & Struct;
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
+}
+
+/** @name PalletDataManagementError */
+export interface PalletDataManagementError extends Enum {
+ readonly isAccountNotEmpty: boolean;
+ readonly isAccountIsNotMigrating: boolean;
+ readonly isBadEvent: boolean;
+ readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
+}
+
+/** @name PalletDataManagementEvent */
+export interface PalletDataManagementEvent extends Enum {
+ readonly isTestEvent: boolean;
+ readonly type: 'TestEvent';
+}
+
/** @name PalletEthereumCall */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
@@ -1614,47 +1664,6 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
}
-/** @name PalletEvmMigrationCall */
-export interface PalletEvmMigrationCall extends Enum {
- readonly isBegin: boolean;
- readonly asBegin: {
- readonly address: H160;
- } & Struct;
- readonly isSetData: boolean;
- readonly asSetData: {
- readonly address: H160;
- readonly data: Vec<ITuple<[H256, H256]>>;
- } & Struct;
- readonly isFinish: boolean;
- readonly asFinish: {
- readonly address: H160;
- readonly code: Bytes;
- } & Struct;
- readonly isInsertEthLogs: boolean;
- readonly asInsertEthLogs: {
- readonly logs: Vec<EthereumLog>;
- } & Struct;
- readonly isInsertEvents: boolean;
- readonly asInsertEvents: {
- readonly events: Vec<Bytes>;
- } & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
-}
-
-/** @name PalletEvmMigrationError */
-export interface PalletEvmMigrationError extends Enum {
- readonly isAccountNotEmpty: boolean;
- readonly isAccountIsNotMigrating: boolean;
- readonly isBadEvent: boolean;
- readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
-}
-
-/** @name PalletEvmMigrationEvent */
-export interface PalletEvmMigrationEvent extends Enum {
- readonly isTestEvent: boolean;
- readonly type: 'TestEvent';
-}
-
/** @name PalletForeignAssetsAssetIds */
export interface PalletForeignAssetsAssetIds extends Enum {
readonly isForeignAssetId: boolean;
@@ -1744,6 +1753,219 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
+/** @name PalletIdentityBitFlags */
+export interface PalletIdentityBitFlags extends Struct {
+ readonly _bitLength: 64;
+ readonly Display: 1;
+ readonly Legal: 2;
+ readonly Web: 4;
+ readonly Riot: 8;
+ readonly Email: 16;
+ readonly PgpFingerprint: 32;
+ readonly Image: 64;
+ readonly Twitter: 128;
+}
+
+/** @name PalletIdentityCall */
+export interface PalletIdentityCall extends Enum {
+ readonly isAddRegistrar: boolean;
+ readonly asAddRegistrar: {
+ readonly account: MultiAddress;
+ } & Struct;
+ readonly isSetIdentity: boolean;
+ readonly asSetIdentity: {
+ readonly info: PalletIdentityIdentityInfo;
+ } & Struct;
+ readonly isSetSubs: boolean;
+ readonly asSetSubs: {
+ readonly subs: Vec<ITuple<[AccountId32, Data]>>;
+ } & Struct;
+ readonly isClearIdentity: boolean;
+ readonly isRequestJudgement: boolean;
+ readonly asRequestJudgement: {
+ readonly regIndex: Compact<u32>;
+ readonly maxFee: Compact<u128>;
+ } & Struct;
+ readonly isCancelRequest: boolean;
+ readonly asCancelRequest: {
+ readonly regIndex: u32;
+ } & Struct;
+ readonly isSetFee: boolean;
+ readonly asSetFee: {
+ readonly index: Compact<u32>;
+ readonly fee: Compact<u128>;
+ } & Struct;
+ readonly isSetAccountId: boolean;
+ readonly asSetAccountId: {
+ readonly index: Compact<u32>;
+ readonly new_: MultiAddress;
+ } & Struct;
+ readonly isSetFields: boolean;
+ readonly asSetFields: {
+ readonly index: Compact<u32>;
+ readonly fields: PalletIdentityBitFlags;
+ } & Struct;
+ readonly isProvideJudgement: boolean;
+ readonly asProvideJudgement: {
+ readonly regIndex: Compact<u32>;
+ readonly target: MultiAddress;
+ readonly judgement: PalletIdentityJudgement;
+ readonly identity: H256;
+ } & Struct;
+ readonly isKillIdentity: boolean;
+ readonly asKillIdentity: {
+ readonly target: MultiAddress;
+ } & Struct;
+ readonly isAddSub: boolean;
+ readonly asAddSub: {
+ readonly sub: MultiAddress;
+ readonly data: Data;
+ } & Struct;
+ readonly isRenameSub: boolean;
+ readonly asRenameSub: {
+ readonly sub: MultiAddress;
+ readonly data: Data;
+ } & Struct;
+ readonly isRemoveSub: boolean;
+ readonly asRemoveSub: {
+ readonly sub: MultiAddress;
+ } & Struct;
+ readonly isQuitSub: boolean;
+ readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
+}
+
+/** @name PalletIdentityError */
+export interface PalletIdentityError extends Enum {
+ readonly isTooManySubAccounts: boolean;
+ readonly isNotFound: boolean;
+ readonly isNotNamed: boolean;
+ readonly isEmptyIndex: boolean;
+ readonly isFeeChanged: boolean;
+ readonly isNoIdentity: boolean;
+ readonly isStickyJudgement: boolean;
+ readonly isJudgementGiven: boolean;
+ readonly isInvalidJudgement: boolean;
+ readonly isInvalidIndex: boolean;
+ readonly isInvalidTarget: boolean;
+ readonly isTooManyFields: boolean;
+ readonly isTooManyRegistrars: boolean;
+ readonly isAlreadyClaimed: boolean;
+ readonly isNotSub: boolean;
+ readonly isNotOwned: boolean;
+ readonly isJudgementForDifferentIdentity: boolean;
+ readonly isJudgementPaymentFailed: boolean;
+ readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
+}
+
+/** @name PalletIdentityEvent */
+export interface PalletIdentityEvent extends Enum {
+ readonly isIdentitySet: boolean;
+ readonly asIdentitySet: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly isIdentityCleared: boolean;
+ readonly asIdentityCleared: {
+ readonly who: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isIdentityKilled: boolean;
+ readonly asIdentityKilled: {
+ readonly who: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isJudgementRequested: boolean;
+ readonly asJudgementRequested: {
+ readonly who: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isJudgementUnrequested: boolean;
+ readonly asJudgementUnrequested: {
+ readonly who: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isJudgementGiven: boolean;
+ readonly asJudgementGiven: {
+ readonly target: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isRegistrarAdded: boolean;
+ readonly asRegistrarAdded: {
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isSubIdentityAdded: boolean;
+ readonly asSubIdentityAdded: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isSubIdentityRemoved: boolean;
+ readonly asSubIdentityRemoved: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isSubIdentityRevoked: boolean;
+ readonly asSubIdentityRevoked: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';
+}
+
+/** @name PalletIdentityIdentityField */
+export interface PalletIdentityIdentityField extends Enum {
+ readonly isDisplay: boolean;
+ readonly isLegal: boolean;
+ readonly isWeb: boolean;
+ readonly isRiot: boolean;
+ readonly isEmail: boolean;
+ readonly isPgpFingerprint: boolean;
+ readonly isImage: boolean;
+ readonly isTwitter: boolean;
+ readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';
+}
+
+/** @name PalletIdentityIdentityInfo */
+export interface PalletIdentityIdentityInfo extends Struct {
+ readonly additional: Vec<ITuple<[Data, Data]>>;
+ readonly display: Data;
+ readonly legal: Data;
+ readonly web: Data;
+ readonly riot: Data;
+ readonly email: Data;
+ readonly pgpFingerprint: Option<U8aFixed>;
+ readonly image: Data;
+ readonly twitter: Data;
+}
+
+/** @name PalletIdentityJudgement */
+export interface PalletIdentityJudgement extends Enum {
+ readonly isUnknown: boolean;
+ readonly isFeePaid: boolean;
+ readonly asFeePaid: u128;
+ readonly isReasonable: boolean;
+ readonly isKnownGood: boolean;
+ readonly isOutOfDate: boolean;
+ readonly isLowQuality: boolean;
+ readonly isErroneous: boolean;
+ readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';
+}
+
+/** @name PalletIdentityRegistrarInfo */
+export interface PalletIdentityRegistrarInfo extends Struct {
+ readonly account: AccountId32;
+ readonly fee: u128;
+ readonly fields: PalletIdentityBitFlags;
+}
+
+/** @name PalletIdentityRegistration */
+export interface PalletIdentityRegistration extends Struct {
+ readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
+ readonly deposit: u128;
+ readonly info: PalletIdentityIdentityInfo;
+}
+
/** @name PalletInflationCall */
export interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -188,15 +188,6 @@
**/
PalletCollatorSelectionEvent: {
_enum: {
- NewDesiredCollators: {
- desiredCollators: 'u32',
- },
- NewLicenseBond: {
- bondAmount: 'u128',
- },
- NewKickThreshold: {
- lengthInBlocks: 'u32',
- },
InvulnerableAdded: {
invulnerable: 'AccountId32',
},
@@ -230,7 +221,55 @@
}
},
/**
- * Lookup32: pallet_balances::pallet::Event<T, I>
+ * Lookup32: pallet_identity::pallet::Event<T>
+ **/
+ PalletIdentityEvent: {
+ _enum: {
+ IdentitySet: {
+ who: 'AccountId32',
+ },
+ IdentityCleared: {
+ who: 'AccountId32',
+ deposit: 'u128',
+ },
+ IdentityKilled: {
+ who: 'AccountId32',
+ deposit: 'u128',
+ },
+ JudgementRequested: {
+ who: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ JudgementUnrequested: {
+ who: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ JudgementGiven: {
+ target: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ RegistrarAdded: {
+ registrarIndex: 'u32',
+ },
+ SubIdentityAdded: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128',
+ },
+ SubIdentityRemoved: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128',
+ },
+ SubIdentityRevoked: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128'
+ }
+ }
+ },
+ /**
+ * Lookup33: pallet_balances::pallet::Event<T, I>
**/
PalletBalancesEvent: {
_enum: {
@@ -281,13 +320,13 @@
}
},
/**
- * Lookup33: frame_support::traits::tokens::misc::BalanceStatus
+ * Lookup34: frame_support::traits::tokens::misc::BalanceStatus
**/
FrameSupportTokensMiscBalanceStatus: {
_enum: ['Free', 'Reserved']
},
/**
- * Lookup34: pallet_transaction_payment::pallet::Event<T>
+ * Lookup35: pallet_transaction_payment::pallet::Event<T>
**/
PalletTransactionPaymentEvent: {
_enum: {
@@ -299,7 +338,7 @@
}
},
/**
- * Lookup35: pallet_treasury::pallet::Event<T, I>
+ * Lookup36: pallet_treasury::pallet::Event<T, I>
**/
PalletTreasuryEvent: {
_enum: {
@@ -335,7 +374,7 @@
}
},
/**
- * Lookup36: pallet_sudo::pallet::Event<T>
+ * Lookup37: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -351,7 +390,7 @@
}
},
/**
- * Lookup40: orml_vesting::module::Event<T>
+ * Lookup41: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -370,7 +409,7 @@
}
},
/**
- * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>
+ * Lookup42: orml_vesting::VestingSchedule<BlockNumber, Balance>
**/
OrmlVestingVestingSchedule: {
start: 'u32',
@@ -379,7 +418,7 @@
perPeriod: 'Compact<u128>'
},
/**
- * Lookup43: orml_xtokens::module::Event<T>
+ * Lookup44: orml_xtokens::module::Event<T>
**/
OrmlXtokensModuleEvent: {
_enum: {
@@ -392,18 +431,18 @@
}
},
/**
- * Lookup44: xcm::v1::multiasset::MultiAssets
+ * Lookup45: xcm::v1::multiasset::MultiAssets
**/
XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
/**
- * Lookup46: xcm::v1::multiasset::MultiAsset
+ * Lookup47: xcm::v1::multiasset::MultiAsset
**/
XcmV1MultiAsset: {
id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetFungibility'
},
/**
- * Lookup47: xcm::v1::multiasset::AssetId
+ * Lookup48: xcm::v1::multiasset::AssetId
**/
XcmV1MultiassetAssetId: {
_enum: {
@@ -412,14 +451,14 @@
}
},
/**
- * Lookup48: xcm::v1::multilocation::MultiLocation
+ * Lookup49: xcm::v1::multilocation::MultiLocation
**/
XcmV1MultiLocation: {
parents: 'u8',
interior: 'XcmV1MultilocationJunctions'
},
/**
- * Lookup49: xcm::v1::multilocation::Junctions
+ * Lookup50: xcm::v1::multilocation::Junctions
**/
XcmV1MultilocationJunctions: {
_enum: {
@@ -435,7 +474,7 @@
}
},
/**
- * Lookup50: xcm::v1::junction::Junction
+ * Lookup51: xcm::v1::junction::Junction
**/
XcmV1Junction: {
_enum: {
@@ -463,7 +502,7 @@
}
},
/**
- * Lookup52: xcm::v0::junction::NetworkId
+ * Lookup53: xcm::v0::junction::NetworkId
**/
XcmV0JunctionNetworkId: {
_enum: {
@@ -474,7 +513,7 @@
}
},
/**
- * Lookup55: xcm::v0::junction::BodyId
+ * Lookup56: xcm::v0::junction::BodyId
**/
XcmV0JunctionBodyId: {
_enum: {
@@ -488,7 +527,7 @@
}
},
/**
- * Lookup56: xcm::v0::junction::BodyPart
+ * Lookup57: xcm::v0::junction::BodyPart
**/
XcmV0JunctionBodyPart: {
_enum: {
@@ -511,7 +550,7 @@
}
},
/**
- * Lookup57: xcm::v1::multiasset::Fungibility
+ * Lookup58: xcm::v1::multiasset::Fungibility
**/
XcmV1MultiassetFungibility: {
_enum: {
@@ -520,7 +559,7 @@
}
},
/**
- * Lookup58: xcm::v1::multiasset::AssetInstance
+ * Lookup59: xcm::v1::multiasset::AssetInstance
**/
XcmV1MultiassetAssetInstance: {
_enum: {
@@ -534,7 +573,7 @@
}
},
/**
- * Lookup61: orml_tokens::module::Event<T>
+ * Lookup62: orml_tokens::module::Event<T>
**/
OrmlTokensModuleEvent: {
_enum: {
@@ -611,7 +650,7 @@
}
},
/**
- * Lookup62: pallet_foreign_assets::AssetIds
+ * Lookup63: pallet_foreign_assets::AssetIds
**/
PalletForeignAssetsAssetIds: {
_enum: {
@@ -620,13 +659,13 @@
}
},
/**
- * Lookup63: pallet_foreign_assets::NativeCurrency
+ * Lookup64: pallet_foreign_assets::NativeCurrency
**/
PalletForeignAssetsNativeCurrency: {
_enum: ['Here', 'Parent']
},
/**
- * Lookup64: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup65: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -664,7 +703,7 @@
}
},
/**
- * Lookup66: xcm::v2::traits::Error
+ * Lookup67: xcm::v2::traits::Error
**/
XcmV2TraitsError: {
_enum: {
@@ -697,7 +736,7 @@
}
},
/**
- * Lookup68: pallet_xcm::pallet::Event<T>
+ * Lookup69: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -721,7 +760,7 @@
}
},
/**
- * Lookup69: xcm::v2::traits::Outcome
+ * Lookup70: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -731,11 +770,11 @@
}
},
/**
- * Lookup70: xcm::v2::Xcm<RuntimeCall>
+ * Lookup71: xcm::v2::Xcm<RuntimeCall>
**/
XcmV2Xcm: 'Vec<XcmV2Instruction>',
/**
- * Lookup72: xcm::v2::Instruction<RuntimeCall>
+ * Lookup73: xcm::v2::Instruction<RuntimeCall>
**/
XcmV2Instruction: {
_enum: {
@@ -833,7 +872,7 @@
}
},
/**
- * Lookup73: xcm::v2::Response
+ * Lookup74: xcm::v2::Response
**/
XcmV2Response: {
_enum: {
@@ -844,19 +883,19 @@
}
},
/**
- * Lookup76: xcm::v0::OriginKind
+ * Lookup77: xcm::v0::OriginKind
**/
XcmV0OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
- * Lookup77: xcm::double_encoded::DoubleEncoded<T>
+ * Lookup78: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
- * Lookup78: xcm::v1::multiasset::MultiAssetFilter
+ * Lookup79: xcm::v1::multiasset::MultiAssetFilter
**/
XcmV1MultiassetMultiAssetFilter: {
_enum: {
@@ -865,7 +904,7 @@
}
},
/**
- * Lookup79: xcm::v1::multiasset::WildMultiAsset
+ * Lookup80: xcm::v1::multiasset::WildMultiAsset
**/
XcmV1MultiassetWildMultiAsset: {
_enum: {
@@ -877,13 +916,13 @@
}
},
/**
- * Lookup80: xcm::v1::multiasset::WildFungibility
+ * Lookup81: xcm::v1::multiasset::WildFungibility
**/
XcmV1MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
- * Lookup81: xcm::v2::WeightLimit
+ * Lookup82: xcm::v2::WeightLimit
**/
XcmV2WeightLimit: {
_enum: {
@@ -892,7 +931,7 @@
}
},
/**
- * Lookup83: xcm::VersionedMultiAssets
+ * Lookup84: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
@@ -901,7 +940,7 @@
}
},
/**
- * Lookup85: xcm::v0::multi_asset::MultiAsset
+ * Lookup86: xcm::v0::multi_asset::MultiAsset
**/
XcmV0MultiAsset: {
_enum: {
@@ -940,7 +979,7 @@
}
},
/**
- * Lookup86: xcm::v0::multi_location::MultiLocation
+ * Lookup87: xcm::v0::multi_location::MultiLocation
**/
XcmV0MultiLocation: {
_enum: {
@@ -956,7 +995,7 @@
}
},
/**
- * Lookup87: xcm::v0::junction::Junction
+ * Lookup88: xcm::v0::junction::Junction
**/
XcmV0Junction: {
_enum: {
@@ -985,7 +1024,7 @@
}
},
/**
- * Lookup88: xcm::VersionedMultiLocation
+ * Lookup89: xcm::VersionedMultiLocation
**/
XcmVersionedMultiLocation: {
_enum: {
@@ -994,7 +1033,7 @@
}
},
/**
- * Lookup89: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup90: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -1004,7 +1043,7 @@
}
},
/**
- * Lookup90: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup91: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -1035,7 +1074,23 @@
}
},
/**
- * Lookup91: pallet_common::pallet::Event<T>
+ * Lookup92: pallet_configuration::pallet::Event<T>
+ **/
+ PalletConfigurationEvent: {
+ _enum: {
+ NewDesiredCollators: {
+ desiredCollators: 'Option<u32>',
+ },
+ NewCollatorLicenseBond: {
+ bondCost: 'Option<u128>',
+ },
+ NewCollatorKickThreshold: {
+ lengthInBlocks: 'Option<u32>'
+ }
+ }
+ },
+ /**
+ * Lookup95: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1064,7 +1119,7 @@
}
},
/**
- * Lookup94: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ * Lookup98: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
**/
PalletEvmAccountBasicCrossAccountIdRepr: {
_enum: {
@@ -1073,7 +1128,7 @@
}
},
/**
- * Lookup98: pallet_structure::pallet::Event<T>
+ * Lookup102: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -1081,7 +1136,7 @@
}
},
/**
- * Lookup99: pallet_rmrk_core::pallet::Event<T>
+ * Lookup103: pallet_rmrk_core::pallet::Event<T>
**/
PalletRmrkCoreEvent: {
_enum: {
@@ -1158,7 +1213,7 @@
}
},
/**
- * Lookup100: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
+ * Lookup104: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
**/
RmrkTraitsNftAccountIdOrCollectionNftTuple: {
_enum: {
@@ -1167,7 +1222,7 @@
}
},
/**
- * Lookup104: pallet_rmrk_equip::pallet::Event<T>
+ * Lookup107: pallet_rmrk_equip::pallet::Event<T>
**/
PalletRmrkEquipEvent: {
_enum: {
@@ -1182,7 +1237,7 @@
}
},
/**
- * Lookup105: pallet_app_promotion::pallet::Event<T>
+ * Lookup108: pallet_app_promotion::pallet::Event<T>
**/
PalletAppPromotionEvent: {
_enum: {
@@ -1193,7 +1248,7 @@
}
},
/**
- * Lookup106: pallet_foreign_assets::module::Event<T>
+ * Lookup109: pallet_foreign_assets::module::Event<T>
**/
PalletForeignAssetsModuleEvent: {
_enum: {
@@ -1218,7 +1273,7 @@
}
},
/**
- * Lookup107: pallet_foreign_assets::module::AssetMetadata<Balance>
+ * Lookup110: pallet_foreign_assets::module::AssetMetadata<Balance>
**/
PalletForeignAssetsModuleAssetMetadata: {
name: 'Bytes',
@@ -1227,7 +1282,7 @@
minimalBalance: 'u128'
},
/**
- * Lookup108: pallet_evm::pallet::Event<T>
+ * Lookup111: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1249,7 +1304,7 @@
}
},
/**
- * Lookup109: ethereum::log::Log
+ * Lookup112: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1257,7 +1312,7 @@
data: 'Bytes'
},
/**
- * Lookup111: pallet_ethereum::pallet::Event
+ * Lookup114: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1270,7 +1325,7 @@
}
},
/**
- * Lookup112: evm_core::error::ExitReason
+ * Lookup115: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1281,13 +1336,13 @@
}
},
/**
- * Lookup113: evm_core::error::ExitSucceed
+ * Lookup116: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup114: evm_core::error::ExitError
+ * Lookup117: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1309,13 +1364,13 @@
}
},
/**
- * Lookup117: evm_core::error::ExitRevert
+ * Lookup120: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup118: evm_core::error::ExitFatal
+ * Lookup121: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1326,7 +1381,7 @@
}
},
/**
- * Lookup119: pallet_evm_contract_helpers::pallet::Event<T>
+ * Lookup122: pallet_evm_contract_helpers::pallet::Event<T>
**/
PalletEvmContractHelpersEvent: {
_enum: {
@@ -1336,25 +1391,25 @@
}
},
/**
- * Lookup120: pallet_evm_migration::pallet::Event<T>
+ * Lookup123: pallet_data_management::pallet::Event<T>
**/
- PalletEvmMigrationEvent: {
+ PalletDataManagementEvent: {
_enum: ['TestEvent']
},
/**
- * Lookup121: pallet_maintenance::pallet::Event<T>
+ * Lookup124: pallet_maintenance::pallet::Event<T>
**/
PalletMaintenanceEvent: {
_enum: ['MaintenanceEnabled', 'MaintenanceDisabled']
},
/**
- * Lookup122: pallet_test_utils::pallet::Event<T>
+ * Lookup125: pallet_test_utils::pallet::Event<T>
**/
PalletTestUtilsEvent: {
_enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']
},
/**
- * Lookup123: frame_system::Phase
+ * Lookup126: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1364,14 +1419,14 @@
}
},
/**
- * Lookup126: frame_system::LastRuntimeUpgradeInfo
+ * Lookup129: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup127: frame_system::pallet::Call<T>
+ * Lookup130: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -1409,7 +1464,7 @@
}
},
/**
- * Lookup132: frame_system::limits::BlockWeights
+ * Lookup135: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'SpWeightsWeightV2Weight',
@@ -1417,7 +1472,7 @@
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
},
/**
- * Lookup133: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup136: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1425,7 +1480,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup134: frame_system::limits::WeightsPerClass
+ * Lookup137: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'SpWeightsWeightV2Weight',
@@ -1434,13 +1489,13 @@
reserved: 'Option<SpWeightsWeightV2Weight>'
},
/**
- * Lookup136: frame_system::limits::BlockLength
+ * Lookup139: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportDispatchPerDispatchClassU32'
},
/**
- * Lookup137: frame_support::dispatch::PerDispatchClass<T>
+ * Lookup140: frame_support::dispatch::PerDispatchClass<T>
**/
FrameSupportDispatchPerDispatchClassU32: {
normal: 'u32',
@@ -1448,14 +1503,14 @@
mandatory: 'u32'
},
/**
- * Lookup138: sp_weights::RuntimeDbWeight
+ * Lookup141: sp_weights::RuntimeDbWeight
**/
SpWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup139: sp_version::RuntimeVersion
+ * Lookup142: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1468,13 +1523,13 @@
stateVersion: 'u8'
},
/**
- * Lookup144: frame_system::pallet::Error<T>
+ * Lookup147: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup145: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ * Lookup148: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
@@ -1483,19 +1538,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup148: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup151: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup149: sp_trie::storage_proof::StorageProof
+ * Lookup152: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup151: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup154: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1504,7 +1559,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup154: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup157: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1515,7 +1570,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup155: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup158: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1529,14 +1584,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup161: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup164: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup162: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup165: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1555,7 +1610,7 @@
}
},
/**
- * Lookup163: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup166: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1564,27 +1619,27 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup165: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup168: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup168: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup171: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup171: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup174: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup173: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
+ * Lookup176: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
**/
PalletAuthorshipUncleEntryItem: {
_enum: {
@@ -1593,7 +1648,7 @@
}
},
/**
- * Lookup175: pallet_authorship::pallet::Call<T>
+ * Lookup178: pallet_authorship::pallet::Call<T>
**/
PalletAuthorshipCall: {
_enum: {
@@ -1603,7 +1658,7 @@
}
},
/**
- * Lookup177: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
+ * Lookup180: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
**/
SpRuntimeHeader: {
parentHash: 'H256',
@@ -1613,17 +1668,17 @@
digest: 'SpRuntimeDigest'
},
/**
- * Lookup178: sp_runtime::traits::BlakeTwo256
+ * Lookup181: sp_runtime::traits::BlakeTwo256
**/
SpRuntimeBlakeTwo256: 'Null',
/**
- * Lookup179: pallet_authorship::pallet::Error<T>
+ * Lookup182: pallet_authorship::pallet::Error<T>
**/
PalletAuthorshipError: {
_enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
},
/**
- * Lookup182: pallet_collator_selection::pallet::Call<T>
+ * Lookup185: pallet_collator_selection::pallet::Call<T>
**/
PalletCollatorSelectionCall: {
_enum: {
@@ -1636,15 +1691,6 @@
remove_invulnerable: {
who: 'AccountId32',
},
- set_desired_collators: {
- max: 'u32',
- },
- set_license_bond: {
- bond: 'u128',
- },
- set_kick_threshold: {
- kickThreshold: 'u32',
- },
get_license: 'Null',
onboard: 'Null',
offboard: 'Null',
@@ -1655,31 +1701,31 @@
}
},
/**
- * Lookup183: pallet_collator_selection::pallet::Error<T>
+ * Lookup186: pallet_collator_selection::pallet::Error<T>
**/
PalletCollatorSelectionError: {
_enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']
},
/**
- * Lookup186: opal_runtime::runtime_common::SessionKeys
+ * Lookup189: opal_runtime::runtime_common::SessionKeys
**/
OpalRuntimeRuntimeCommonSessionKeys: {
aura: 'SpConsensusAuraSr25519AppSr25519Public'
},
/**
- * Lookup187: sp_consensus_aura::sr25519::app_sr25519::Public
+ * Lookup190: sp_consensus_aura::sr25519::app_sr25519::Public
**/
SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',
/**
- * Lookup188: sp_core::sr25519::Public
+ * Lookup191: sp_core::sr25519::Public
**/
SpCoreSr25519Public: '[u8;32]',
/**
- * Lookup191: sp_core::crypto::KeyTypeId
+ * Lookup194: sp_core::crypto::KeyTypeId
**/
SpCoreCryptoKeyTypeId: '[u8;4]',
/**
- * Lookup192: pallet_session::pallet::Call<T>
+ * Lookup195: pallet_session::pallet::Call<T>
**/
PalletSessionCall: {
_enum: {
@@ -1694,40 +1740,170 @@
}
},
/**
- * Lookup193: pallet_session::pallet::Error<T>
+ * Lookup196: pallet_session::pallet::Error<T>
**/
PalletSessionError: {
_enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
},
/**
- * Lookup195: pallet_balances::BalanceLock<Balance>
+ * Lookup197: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
+ **/
+ PalletIdentityRegistration: {
+ judgements: 'Vec<(u32,PalletIdentityJudgement)>',
+ deposit: 'u128',
+ info: 'PalletIdentityIdentityInfo'
+ },
+ /**
+ * Lookup200: pallet_identity::types::Judgement<Balance>
+ **/
+ PalletIdentityJudgement: {
+ _enum: {
+ Unknown: 'Null',
+ FeePaid: 'u128',
+ Reasonable: 'Null',
+ KnownGood: 'Null',
+ OutOfDate: 'Null',
+ LowQuality: 'Null',
+ Erroneous: 'Null'
+ }
+ },
+ /**
+ * Lookup202: pallet_identity::types::IdentityInfo<FieldLimit>
**/
+ PalletIdentityIdentityInfo: {
+ additional: 'Vec<(Data,Data)>',
+ display: 'Data',
+ legal: 'Data',
+ web: 'Data',
+ riot: 'Data',
+ email: 'Data',
+ pgpFingerprint: 'Option<[u8;20]>',
+ image: 'Data',
+ twitter: 'Data'
+ },
+ /**
+ * Lookup241: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
+ **/
+ PalletIdentityRegistrarInfo: {
+ account: 'AccountId32',
+ fee: 'u128',
+ fields: 'PalletIdentityBitFlags'
+ },
+ /**
+ * Lookup242: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
+ **/
+ PalletIdentityBitFlags: {
+ _bitLength: 64,
+ Display: 1,
+ Legal: 2,
+ Web: 4,
+ Riot: 8,
+ Email: 16,
+ PgpFingerprint: 32,
+ Image: 64,
+ Twitter: 128
+ },
+ /**
+ * Lookup243: pallet_identity::types::IdentityField
+ **/
+ PalletIdentityIdentityField: {
+ _enum: ['__Unused0', 'Display', 'Legal', '__Unused3', 'Web', '__Unused5', '__Unused6', '__Unused7', 'Riot', '__Unused9', '__Unused10', '__Unused11', '__Unused12', '__Unused13', '__Unused14', '__Unused15', 'Email', '__Unused17', '__Unused18', '__Unused19', '__Unused20', '__Unused21', '__Unused22', '__Unused23', '__Unused24', '__Unused25', '__Unused26', '__Unused27', '__Unused28', '__Unused29', '__Unused30', '__Unused31', 'PgpFingerprint', '__Unused33', '__Unused34', '__Unused35', '__Unused36', '__Unused37', '__Unused38', '__Unused39', '__Unused40', '__Unused41', '__Unused42', '__Unused43', '__Unused44', '__Unused45', '__Unused46', '__Unused47', '__Unused48', '__Unused49', '__Unused50', '__Unused51', '__Unused52', '__Unused53', '__Unused54', '__Unused55', '__Unused56', '__Unused57', '__Unused58', '__Unused59', '__Unused60', '__Unused61', '__Unused62', '__Unused63', 'Image', '__Unused65', '__Unused66', '__Unused67', '__Unused68', '__Unused69', '__Unused70', '__Unused71', '__Unused72', '__Unused73', '__Unused74', '__Unused75', '__Unused76', '__Unused77', '__Unused78', '__Unused79', '__Unused80', '__Unused81', '__Unused82', '__Unused83', '__Unused84', '__Unused85', '__Unused86', '__Unused87', '__Unused88', '__Unused89', '__Unused90', '__Unused91', '__Unused92', '__Unused93', '__Unused94', '__Unused95', '__Unused96', '__Unused97', '__Unused98', '__Unused99', '__Unused100', '__Unused101', '__Unused102', '__Unused103', '__Unused104', '__Unused105', '__Unused106', '__Unused107', '__Unused108', '__Unused109', '__Unused110', '__Unused111', '__Unused112', '__Unused113', '__Unused114', '__Unused115', '__Unused116', '__Unused117', '__Unused118', '__Unused119', '__Unused120', '__Unused121', '__Unused122', '__Unused123', '__Unused124', '__Unused125', '__Unused126', '__Unused127', 'Twitter']
+ },
+ /**
+ * Lookup245: pallet_identity::pallet::Call<T>
+ **/
+ PalletIdentityCall: {
+ _enum: {
+ add_registrar: {
+ account: 'MultiAddress',
+ },
+ set_identity: {
+ info: 'PalletIdentityIdentityInfo',
+ },
+ set_subs: {
+ subs: 'Vec<(AccountId32,Data)>',
+ },
+ clear_identity: 'Null',
+ request_judgement: {
+ regIndex: 'Compact<u32>',
+ maxFee: 'Compact<u128>',
+ },
+ cancel_request: {
+ regIndex: 'u32',
+ },
+ set_fee: {
+ index: 'Compact<u32>',
+ fee: 'Compact<u128>',
+ },
+ set_account_id: {
+ _alias: {
+ new_: 'new',
+ },
+ index: 'Compact<u32>',
+ new_: 'MultiAddress',
+ },
+ set_fields: {
+ index: 'Compact<u32>',
+ fields: 'PalletIdentityBitFlags',
+ },
+ provide_judgement: {
+ regIndex: 'Compact<u32>',
+ target: 'MultiAddress',
+ judgement: 'PalletIdentityJudgement',
+ identity: 'H256',
+ },
+ kill_identity: {
+ target: 'MultiAddress',
+ },
+ add_sub: {
+ sub: 'MultiAddress',
+ data: 'Data',
+ },
+ rename_sub: {
+ sub: 'MultiAddress',
+ data: 'Data',
+ },
+ remove_sub: {
+ sub: 'MultiAddress',
+ },
+ quit_sub: 'Null'
+ }
+ },
+ /**
+ * Lookup249: pallet_identity::pallet::Error<T>
+ **/
+ PalletIdentityError: {
+ _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']
+ },
+ /**
+ * Lookup251: pallet_balances::BalanceLock<Balance>
+ **/
PalletBalancesBalanceLock: {
id: '[u8;8]',
amount: 'u128',
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup196: pallet_balances::Reasons
+ * Lookup252: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup199: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup255: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup201: pallet_balances::Releases
+ * Lookup257: pallet_balances::Releases
**/
PalletBalancesReleases: {
_enum: ['V1_0_0', 'V2_0_0']
},
/**
- * Lookup202: pallet_balances::pallet::Call<T, I>
+ * Lookup258: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1760,13 +1936,13 @@
}
},
/**
- * Lookup205: pallet_balances::pallet::Error<T, I>
+ * Lookup259: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup207: pallet_timestamp::pallet::Call<T>
+ * Lookup261: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1776,13 +1952,13 @@
}
},
/**
- * Lookup209: pallet_transaction_payment::Releases
+ * Lookup263: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup210: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup264: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1791,7 +1967,7 @@
bond: 'u128'
},
/**
- * Lookup212: pallet_treasury::pallet::Call<T, I>
+ * Lookup266: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1815,17 +1991,17 @@
}
},
/**
- * Lookup215: frame_support::PalletId
+ * Lookup268: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup216: pallet_treasury::pallet::Error<T, I>
+ * Lookup269: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup217: pallet_sudo::pallet::Call<T>
+ * Lookup270: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1849,7 +2025,7 @@
}
},
/**
- * Lookup219: orml_vesting::module::Call<T>
+ * Lookup272: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1868,7 +2044,7 @@
}
},
/**
- * Lookup221: orml_xtokens::module::Call<T>
+ * Lookup274: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -1911,7 +2087,7 @@
}
},
/**
- * Lookup222: xcm::VersionedMultiAsset
+ * Lookup275: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
@@ -1920,7 +2096,7 @@
}
},
/**
- * Lookup225: orml_tokens::module::Call<T>
+ * Lookup278: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -1954,7 +2130,7 @@
}
},
/**
- * Lookup226: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup279: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -2003,7 +2179,7 @@
}
},
/**
- * Lookup227: pallet_xcm::pallet::Call<T>
+ * Lookup280: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -2057,7 +2233,7 @@
}
},
/**
- * Lookup228: xcm::VersionedXcm<RuntimeCall>
+ * Lookup281: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
@@ -2067,7 +2243,7 @@
}
},
/**
- * Lookup229: xcm::v0::Xcm<RuntimeCall>
+ * Lookup282: xcm::v0::Xcm<RuntimeCall>
**/
XcmV0Xcm: {
_enum: {
@@ -2121,7 +2297,7 @@
}
},
/**
- * Lookup231: xcm::v0::order::Order<RuntimeCall>
+ * Lookup284: xcm::v0::order::Order<RuntimeCall>
**/
XcmV0Order: {
_enum: {
@@ -2164,7 +2340,7 @@
}
},
/**
- * Lookup233: xcm::v0::Response
+ * Lookup286: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -2172,7 +2348,7 @@
}
},
/**
- * Lookup234: xcm::v1::Xcm<RuntimeCall>
+ * Lookup287: xcm::v1::Xcm<RuntimeCall>
**/
XcmV1Xcm: {
_enum: {
@@ -2231,7 +2407,7 @@
}
},
/**
- * Lookup236: xcm::v1::order::Order<RuntimeCall>
+ * Lookup289: xcm::v1::order::Order<RuntimeCall>
**/
XcmV1Order: {
_enum: {
@@ -2276,7 +2452,7 @@
}
},
/**
- * Lookup238: xcm::v1::Response
+ * Lookup291: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -2285,11 +2461,11 @@
}
},
/**
- * Lookup252: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup305: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup253: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup306: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -2300,7 +2476,7 @@
}
},
/**
- * Lookup254: pallet_inflation::pallet::Call<T>
+ * Lookup307: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2310,7 +2486,7 @@
}
},
/**
- * Lookup255: pallet_unique::Call<T>
+ * Lookup308: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2454,7 +2630,7 @@
}
},
/**
- * Lookup260: up_data_structs::CollectionMode
+ * Lookup313: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2464,7 +2640,7 @@
}
},
/**
- * Lookup261: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup314: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2479,13 +2655,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup263: up_data_structs::AccessMode
+ * Lookup316: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup265: up_data_structs::CollectionLimits
+ * Lookup318: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2499,7 +2675,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup267: up_data_structs::SponsoringRateLimit
+ * Lookup320: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2508,7 +2684,7 @@
}
},
/**
- * Lookup270: up_data_structs::CollectionPermissions
+ * Lookup323: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2516,7 +2692,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup272: up_data_structs::NestingPermissions
+ * Lookup325: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2524,18 +2700,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup274: up_data_structs::OwnerRestrictedSet
+ * Lookup327: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup279: up_data_structs::PropertyKeyPermission
+ * Lookup332: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup280: up_data_structs::PropertyPermission
+ * Lookup333: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2543,14 +2719,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup283: up_data_structs::Property
+ * Lookup336: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup286: up_data_structs::CreateItemData
+ * Lookup339: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2560,26 +2736,26 @@
}
},
/**
- * Lookup287: up_data_structs::CreateNftData
+ * Lookup340: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup288: up_data_structs::CreateFungibleData
+ * Lookup341: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup289: up_data_structs::CreateReFungibleData
+ * Lookup342: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup292: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup345: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2590,14 +2766,14 @@
}
},
/**
- * Lookup294: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup347: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup301: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup354: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2605,14 +2781,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup303: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup356: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup304: pallet_configuration::pallet::Call<T>
+ * Lookup357: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2626,12 +2802,21 @@
locations: 'Option<Vec<XcmV1MultiLocation>>',
},
set_app_promotion_configuration_override: {
- configuration: 'PalletConfigurationAppPromotionConfiguration'
+ configuration: 'PalletConfigurationAppPromotionConfiguration',
+ },
+ set_collator_selection_desired_collators: {
+ max: 'Option<u32>',
+ },
+ set_collator_selection_license_bond: {
+ amount: 'Option<u128>',
+ },
+ set_collator_selection_kick_threshold: {
+ threshold: 'Option<u32>'
}
}
},
/**
- * Lookup309: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+ * Lookup362: pallet_configuration::AppPromotionConfiguration<BlockNumber>
**/
PalletConfigurationAppPromotionConfiguration: {
recalculationInterval: 'Option<u32>',
@@ -2640,15 +2825,15 @@
maxStakersPerCalculation: 'Option<u8>'
},
/**
- * Lookup312: pallet_template_transaction_payment::Call<T>
+ * Lookup365: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup313: pallet_structure::pallet::Call<T>
+ * Lookup366: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup314: pallet_rmrk_core::pallet::Call<T>
+ * Lookup367: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -2739,7 +2924,7 @@
}
},
/**
- * Lookup320: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup373: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -2749,7 +2934,7 @@
}
},
/**
- * Lookup322: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup375: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -2758,7 +2943,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup324: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup377: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -2769,7 +2954,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup325: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup378: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -2780,7 +2965,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup328: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup381: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -2801,7 +2986,7 @@
}
},
/**
- * Lookup331: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup384: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -2810,7 +2995,7 @@
}
},
/**
- * Lookup333: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup386: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -2818,7 +3003,7 @@
src: 'Bytes'
},
/**
- * Lookup334: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup387: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -2827,7 +3012,7 @@
z: 'u32'
},
/**
- * Lookup335: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup388: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -2837,7 +3022,7 @@
}
},
/**
- * Lookup337: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
+ * Lookup390: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
**/
RmrkTraitsTheme: {
name: 'Bytes',
@@ -2845,14 +3030,14 @@
inherit: 'bool'
},
/**
- * Lookup339: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup392: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup341: pallet_app_promotion::pallet::Call<T>
+ * Lookup394: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
@@ -2881,7 +3066,7 @@
}
},
/**
- * Lookup342: pallet_foreign_assets::module::Call<T>
+ * Lookup395: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -2898,7 +3083,7 @@
}
},
/**
- * Lookup343: pallet_evm::pallet::Call<T>
+ * Lookup396: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2941,7 +3126,7 @@
}
},
/**
- * Lookup349: pallet_ethereum::pallet::Call<T>
+ * Lookup402: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2951,7 +3136,7 @@
}
},
/**
- * Lookup350: ethereum::transaction::TransactionV2
+ * Lookup403: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2961,7 +3146,7 @@
}
},
/**
- * Lookup351: ethereum::transaction::LegacyTransaction
+ * Lookup404: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2973,7 +3158,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup352: ethereum::transaction::TransactionAction
+ * Lookup405: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2982,7 +3167,7 @@
}
},
/**
- * Lookup353: ethereum::transaction::TransactionSignature
+ * Lookup406: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2990,7 +3175,7 @@
s: 'H256'
},
/**
- * Lookup355: ethereum::transaction::EIP2930Transaction
+ * Lookup408: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -3006,14 +3191,14 @@
s: 'H256'
},
/**
- * Lookup357: ethereum::transaction::AccessListItem
+ * Lookup410: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup358: ethereum::transaction::EIP1559Transaction
+ * Lookup411: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -3030,9 +3215,9 @@
s: 'H256'
},
/**
- * Lookup359: pallet_evm_migration::pallet::Call<T>
+ * Lookup412: pallet_data_management::pallet::Call<T>
**/
- PalletEvmMigrationCall: {
+ PalletDataManagementCall: {
_enum: {
begin: {
address: 'H160',
@@ -3054,13 +3239,13 @@
}
},
/**
- * Lookup363: pallet_maintenance::pallet::Call<T>
+ * Lookup416: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
_enum: ['enable', 'disable']
},
/**
- * Lookup364: pallet_test_utils::pallet::Call<T>
+ * Lookup417: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -3079,32 +3264,32 @@
}
},
/**
- * Lookup366: pallet_sudo::pallet::Error<T>
+ * Lookup419: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup368: orml_vesting::module::Error<T>
+ * Lookup421: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup369: orml_xtokens::module::Error<T>
+ * Lookup422: orml_xtokens::module::Error<T>
**/
OrmlXtokensModuleError: {
_enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
},
/**
- * Lookup372: orml_tokens::BalanceLock<Balance>
+ * Lookup425: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup374: orml_tokens::AccountData<Balance>
+ * Lookup427: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -3112,20 +3297,20 @@
frozen: 'u128'
},
/**
- * Lookup376: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup429: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup378: orml_tokens::module::Error<T>
+ * Lookup431: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup380: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup433: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -3133,19 +3318,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup381: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup434: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup384: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup437: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup387: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup440: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -3155,13 +3340,13 @@
lastIndex: 'u16'
},
/**
- * Lookup388: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup441: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup390: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup443: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3172,29 +3357,29 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup392: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup445: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup393: pallet_xcm::pallet::Error<T>
+ * Lookup446: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup394: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup447: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup395: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup448: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup396: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup449: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3202,25 +3387,25 @@
overweightCount: 'u64'
},
/**
- * Lookup399: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup452: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup403: pallet_unique::Error<T>
+ * Lookup456: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup404: pallet_configuration::pallet::Error<T>
+ * Lookup457: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup405: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup458: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3234,7 +3419,7 @@
flags: '[u8;1]'
},
/**
- * Lookup406: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup459: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3244,7 +3429,7 @@
}
},
/**
- * Lookup408: up_data_structs::Properties
+ * Lookup460: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -3252,15 +3437,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup409: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup461: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup414: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup466: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup421: up_data_structs::CollectionStats
+ * Lookup473: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3268,18 +3453,18 @@
alive: 'u32'
},
/**
- * Lookup422: up_data_structs::TokenChild
+ * Lookup474: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup423: PhantomType::up_data_structs<T>
+ * Lookup475: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup425: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup477: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3287,7 +3472,7 @@
pieces: 'u128'
},
/**
- * Lookup427: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup479: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3304,14 +3489,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup428: up_data_structs::RpcCollectionFlags
+ * Lookup480: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * Lookup429: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup481: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -3321,7 +3506,7 @@
nftsCount: 'u32'
},
/**
- * Lookup430: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup482: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -3331,14 +3516,14 @@
pending: 'bool'
},
/**
- * Lookup432: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup484: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup433: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup485: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -3347,14 +3532,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup434: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup486: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup435: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup487: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3362,92 +3547,92 @@
symbol: 'Bytes'
},
/**
- * Lookup436: rmrk_traits::nft::NftChild
+ * Lookup488: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup438: pallet_common::pallet::Error<T>
+ * Lookup490: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
},
/**
- * Lookup440: pallet_fungible::pallet::Error<T>
+ * Lookup492: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup441: pallet_refungible::ItemData
+ * Lookup493: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup446: pallet_refungible::pallet::Error<T>
+ * Lookup498: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup447: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup499: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup449: up_data_structs::PropertyScope
+ * Lookup501: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup451: pallet_nonfungible::pallet::Error<T>
+ * Lookup503: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup452: pallet_structure::pallet::Error<T>
+ * Lookup504: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup453: pallet_rmrk_core::pallet::Error<T>
+ * Lookup505: pallet_rmrk_core::pallet::Error<T>
**/
PalletRmrkCoreError: {
_enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
},
/**
- * Lookup455: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup507: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup461: pallet_app_promotion::pallet::Error<T>
+ * Lookup513: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
},
/**
- * Lookup462: pallet_foreign_assets::module::Error<T>
+ * Lookup514: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup464: pallet_evm::pallet::Error<T>
+ * Lookup516: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']
},
/**
- * Lookup467: fp_rpc::TransactionStatus
+ * Lookup519: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3459,11 +3644,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup469: ethbloom::Bloom
+ * Lookup521: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup471: ethereum::receipt::ReceiptV3
+ * Lookup523: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3473,7 +3658,7 @@
}
},
/**
- * Lookup472: ethereum::receipt::EIP658ReceiptData
+ * Lookup524: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3482,7 +3667,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup473: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup525: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3490,7 +3675,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup474: ethereum::header::Header
+ * Lookup526: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3510,23 +3695,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup475: ethereum_types::hash::H64
+ * Lookup527: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup480: pallet_ethereum::pallet::Error<T>
+ * Lookup532: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup481: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup533: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup482: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup534: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3536,35 +3721,35 @@
}
},
/**
- * Lookup483: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup535: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup489: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup541: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup490: pallet_evm_migration::pallet::Error<T>
+ * Lookup542: pallet_data_management::pallet::Error<T>
**/
- PalletEvmMigrationError: {
+ PalletDataManagementError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup491: pallet_maintenance::pallet::Error<T>
+ * Lookup543: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup492: pallet_test_utils::pallet::Error<T>
+ * Lookup544: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup494: sp_runtime::MultiSignature
+ * Lookup546: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3574,51 +3759,55 @@
}
},
/**
- * Lookup495: sp_core::ed25519::Signature
+ * Lookup547: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup497: sp_core::sr25519::Signature
+ * Lookup549: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup498: sp_core::ecdsa::Signature
+ * Lookup550: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup501: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup553: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup502: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup554: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup503: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup555: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup506: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup558: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup507: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup559: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup508: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup560: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup509: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup561: opal_runtime::runtime_common::data_management::FilterIdentity
**/
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: 'Null',
+ /**
+ * Lookup562: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ **/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup510: opal_runtime::Runtime
+ * Lookup563: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup511: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup564: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonDataManagementFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDataManagementCall, PalletDataManagementError, PalletDataManagementEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -74,6 +74,7 @@
FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;
FrameSystemPhase: FrameSystemPhase;
OpalRuntimeRuntime: OpalRuntimeRuntime;
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OrmlTokensAccountData: OrmlTokensAccountData;
@@ -111,6 +112,10 @@
PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
PalletConfigurationCall: PalletConfigurationCall;
PalletConfigurationError: PalletConfigurationError;
+ PalletConfigurationEvent: PalletConfigurationEvent;
+ PalletDataManagementCall: PalletDataManagementCall;
+ PalletDataManagementError: PalletDataManagementError;
+ PalletDataManagementEvent: PalletDataManagementEvent;
PalletEthereumCall: PalletEthereumCall;
PalletEthereumError: PalletEthereumError;
PalletEthereumEvent: PalletEthereumEvent;
@@ -123,9 +128,6 @@
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
PalletEvmError: PalletEvmError;
PalletEvmEvent: PalletEvmEvent;
- PalletEvmMigrationCall: PalletEvmMigrationCall;
- PalletEvmMigrationError: PalletEvmMigrationError;
- PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds;
PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata;
PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall;
@@ -133,6 +135,15 @@
PalletForeignAssetsModuleEvent: PalletForeignAssetsModuleEvent;
PalletForeignAssetsNativeCurrency: PalletForeignAssetsNativeCurrency;
PalletFungibleError: PalletFungibleError;
+ PalletIdentityBitFlags: PalletIdentityBitFlags;
+ PalletIdentityCall: PalletIdentityCall;
+ PalletIdentityError: PalletIdentityError;
+ PalletIdentityEvent: PalletIdentityEvent;
+ PalletIdentityIdentityField: PalletIdentityIdentityField;
+ PalletIdentityIdentityInfo: PalletIdentityIdentityInfo;
+ PalletIdentityJudgement: PalletIdentityJudgement;
+ PalletIdentityRegistrarInfo: PalletIdentityRegistrarInfo;
+ PalletIdentityRegistration: PalletIdentityRegistration;
PalletInflationCall: PalletInflationCall;
PalletMaintenanceCall: PalletMaintenanceCall;
PalletMaintenanceError: PalletMaintenanceError;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -5,7 +5,8 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/lookup';
-import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
+import type { Data } from '@polkadot/types';
+import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
@@ -198,18 +199,6 @@
/** @name PalletCollatorSelectionEvent (30) */
interface PalletCollatorSelectionEvent extends Enum {
- readonly isNewDesiredCollators: boolean;
- readonly asNewDesiredCollators: {
- readonly desiredCollators: u32;
- } & Struct;
- readonly isNewLicenseBond: boolean;
- readonly asNewLicenseBond: {
- readonly bondAmount: u128;
- } & Struct;
- readonly isNewKickThreshold: boolean;
- readonly asNewKickThreshold: {
- readonly lengthInBlocks: u32;
- } & Struct;
readonly isInvulnerableAdded: boolean;
readonly asInvulnerableAdded: {
readonly invulnerable: AccountId32;
@@ -236,7 +225,7 @@
readonly asCandidateRemoved: {
readonly accountId: AccountId32;
} & Struct;
- readonly type: 'NewDesiredCollators' | 'NewLicenseBond' | 'NewKickThreshold' | 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
+ readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
}
/** @name PalletSessionEvent (31) */
@@ -248,7 +237,63 @@
readonly type: 'NewSession';
}
- /** @name PalletBalancesEvent (32) */
+ /** @name PalletIdentityEvent (32) */
+ interface PalletIdentityEvent extends Enum {
+ readonly isIdentitySet: boolean;
+ readonly asIdentitySet: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly isIdentityCleared: boolean;
+ readonly asIdentityCleared: {
+ readonly who: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isIdentityKilled: boolean;
+ readonly asIdentityKilled: {
+ readonly who: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isJudgementRequested: boolean;
+ readonly asJudgementRequested: {
+ readonly who: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isJudgementUnrequested: boolean;
+ readonly asJudgementUnrequested: {
+ readonly who: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isJudgementGiven: boolean;
+ readonly asJudgementGiven: {
+ readonly target: AccountId32;
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isRegistrarAdded: boolean;
+ readonly asRegistrarAdded: {
+ readonly registrarIndex: u32;
+ } & Struct;
+ readonly isSubIdentityAdded: boolean;
+ readonly asSubIdentityAdded: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isSubIdentityRemoved: boolean;
+ readonly asSubIdentityRemoved: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isSubIdentityRevoked: boolean;
+ readonly asSubIdentityRevoked: {
+ readonly sub: AccountId32;
+ readonly main: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';
+ }
+
+ /** @name PalletBalancesEvent (33) */
interface PalletBalancesEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
@@ -307,14 +352,14 @@
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
}
- /** @name FrameSupportTokensMiscBalanceStatus (33) */
+ /** @name FrameSupportTokensMiscBalanceStatus (34) */
interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
- /** @name PalletTransactionPaymentEvent (34) */
+ /** @name PalletTransactionPaymentEvent (35) */
interface PalletTransactionPaymentEvent extends Enum {
readonly isTransactionFeePaid: boolean;
readonly asTransactionFeePaid: {
@@ -325,7 +370,7 @@
readonly type: 'TransactionFeePaid';
}
- /** @name PalletTreasuryEvent (35) */
+ /** @name PalletTreasuryEvent (36) */
interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
@@ -367,7 +412,7 @@
readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';
}
- /** @name PalletSudoEvent (36) */
+ /** @name PalletSudoEvent (37) */
interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -384,7 +429,7 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name OrmlVestingModuleEvent (40) */
+ /** @name OrmlVestingModuleEvent (41) */
interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -404,7 +449,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name OrmlVestingVestingSchedule (41) */
+ /** @name OrmlVestingVestingSchedule (42) */
interface OrmlVestingVestingSchedule extends Struct {
readonly start: u32;
readonly period: u32;
@@ -412,7 +457,7 @@
readonly perPeriod: Compact<u128>;
}
- /** @name OrmlXtokensModuleEvent (43) */
+ /** @name OrmlXtokensModuleEvent (44) */
interface OrmlXtokensModuleEvent extends Enum {
readonly isTransferredMultiAssets: boolean;
readonly asTransferredMultiAssets: {
@@ -424,16 +469,16 @@
readonly type: 'TransferredMultiAssets';
}
- /** @name XcmV1MultiassetMultiAssets (44) */
+ /** @name XcmV1MultiassetMultiAssets (45) */
interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
- /** @name XcmV1MultiAsset (46) */
+ /** @name XcmV1MultiAsset (47) */
interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
- /** @name XcmV1MultiassetAssetId (47) */
+ /** @name XcmV1MultiassetAssetId (48) */
interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
@@ -442,13 +487,13 @@
readonly type: 'Concrete' | 'Abstract';
}
- /** @name XcmV1MultiLocation (48) */
+ /** @name XcmV1MultiLocation (49) */
interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
}
- /** @name XcmV1MultilocationJunctions (49) */
+ /** @name XcmV1MultilocationJunctions (50) */
interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
@@ -470,7 +515,7 @@
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV1Junction (50) */
+ /** @name XcmV1Junction (51) */
interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
@@ -504,7 +549,7 @@
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmV0JunctionNetworkId (52) */
+ /** @name XcmV0JunctionNetworkId (53) */
interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
@@ -514,7 +559,7 @@
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
- /** @name XcmV0JunctionBodyId (55) */
+ /** @name XcmV0JunctionBodyId (56) */
interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
@@ -528,7 +573,7 @@
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
}
- /** @name XcmV0JunctionBodyPart (56) */
+ /** @name XcmV0JunctionBodyPart (57) */
interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
@@ -553,7 +598,7 @@
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
- /** @name XcmV1MultiassetFungibility (57) */
+ /** @name XcmV1MultiassetFungibility (58) */
interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
@@ -562,7 +607,7 @@
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV1MultiassetAssetInstance (58) */
+ /** @name XcmV1MultiassetAssetInstance (59) */
interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
@@ -580,7 +625,7 @@
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
}
- /** @name OrmlTokensModuleEvent (61) */
+ /** @name OrmlTokensModuleEvent (62) */
interface OrmlTokensModuleEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
@@ -668,7 +713,7 @@
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';
}
- /** @name PalletForeignAssetsAssetIds (62) */
+ /** @name PalletForeignAssetsAssetIds (63) */
interface PalletForeignAssetsAssetIds extends Enum {
readonly isForeignAssetId: boolean;
readonly asForeignAssetId: u32;
@@ -677,14 +722,14 @@
readonly type: 'ForeignAssetId' | 'NativeAssetId';
}
- /** @name PalletForeignAssetsNativeCurrency (63) */
+ /** @name PalletForeignAssetsNativeCurrency (64) */
interface PalletForeignAssetsNativeCurrency extends Enum {
readonly isHere: boolean;
readonly isParent: boolean;
readonly type: 'Here' | 'Parent';
}
- /** @name CumulusPalletXcmpQueueEvent (64) */
+ /** @name CumulusPalletXcmpQueueEvent (65) */
interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: {
@@ -728,7 +773,7 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name XcmV2TraitsError (66) */
+ /** @name XcmV2TraitsError (67) */
interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
@@ -761,7 +806,7 @@
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
}
- /** @name PalletXcmEvent (68) */
+ /** @name PalletXcmEvent (69) */
interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -800,7 +845,7 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';
}
- /** @name XcmV2TraitsOutcome (69) */
+ /** @name XcmV2TraitsOutcome (70) */
interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -811,10 +856,10 @@
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
- /** @name XcmV2Xcm (70) */
+ /** @name XcmV2Xcm (71) */
interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
- /** @name XcmV2Instruction (72) */
+ /** @name XcmV2Instruction (73) */
interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
@@ -934,7 +979,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV2Response (73) */
+ /** @name XcmV2Response (74) */
interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
@@ -946,7 +991,7 @@
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
- /** @name XcmV0OriginKind (76) */
+ /** @name XcmV0OriginKind (77) */
interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
@@ -955,12 +1000,12 @@
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
- /** @name XcmDoubleEncoded (77) */
+ /** @name XcmDoubleEncoded (78) */
interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
- /** @name XcmV1MultiassetMultiAssetFilter (78) */
+ /** @name XcmV1MultiassetMultiAssetFilter (79) */
interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
@@ -969,7 +1014,7 @@
readonly type: 'Definite' | 'Wild';
}
- /** @name XcmV1MultiassetWildMultiAsset (79) */
+ /** @name XcmV1MultiassetWildMultiAsset (80) */
interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
@@ -980,14 +1025,14 @@
readonly type: 'All' | 'AllOf';
}
- /** @name XcmV1MultiassetWildFungibility (80) */
+ /** @name XcmV1MultiassetWildFungibility (81) */
interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV2WeightLimit (81) */
+ /** @name XcmV2WeightLimit (82) */
interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
@@ -995,7 +1040,7 @@
readonly type: 'Unlimited' | 'Limited';
}
- /** @name XcmVersionedMultiAssets (83) */
+ /** @name XcmVersionedMultiAssets (84) */
interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
@@ -1004,7 +1049,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name XcmV0MultiAsset (85) */
+ /** @name XcmV0MultiAsset (86) */
interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
@@ -1049,7 +1094,7 @@
readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
}
- /** @name XcmV0MultiLocation (86) */
+ /** @name XcmV0MultiLocation (87) */
interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
@@ -1071,7 +1116,7 @@
readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV0Junction (87) */
+ /** @name XcmV0Junction (88) */
interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
@@ -1106,7 +1151,7 @@
readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmVersionedMultiLocation (88) */
+ /** @name XcmVersionedMultiLocation (89) */
interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
@@ -1115,7 +1160,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name CumulusPalletXcmEvent (89) */
+ /** @name CumulusPalletXcmEvent (90) */
interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -1126,7 +1171,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (90) */
+ /** @name CumulusPalletDmpQueueEvent (91) */
interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: {
@@ -1161,7 +1206,24 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletCommonEvent (91) */
+ /** @name PalletConfigurationEvent (92) */
+ interface PalletConfigurationEvent extends Enum {
+ readonly isNewDesiredCollators: boolean;
+ readonly asNewDesiredCollators: {
+ readonly desiredCollators: Option<u32>;
+ } & Struct;
+ readonly isNewCollatorLicenseBond: boolean;
+ readonly asNewCollatorLicenseBond: {
+ readonly bondCost: Option<u128>;
+ } & Struct;
+ readonly isNewCollatorKickThreshold: boolean;
+ readonly asNewCollatorKickThreshold: {
+ readonly lengthInBlocks: Option<u32>;
+ } & Struct;
+ readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
+ }
+
+ /** @name PalletCommonEvent (95) */
interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -1210,7 +1272,7 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';
}
- /** @name PalletEvmAccountBasicCrossAccountIdRepr (94) */
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (98) */
interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
@@ -1219,14 +1281,14 @@
readonly type: 'Substrate' | 'Ethereum';
}
- /** @name PalletStructureEvent (98) */
+ /** @name PalletStructureEvent (102) */
interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
- /** @name PalletRmrkCoreEvent (99) */
+ /** @name PalletRmrkCoreEvent (103) */
interface PalletRmrkCoreEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: {
@@ -1316,7 +1378,7 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
}
- /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (100) */
+ /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (104) */
interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
readonly isAccountId: boolean;
readonly asAccountId: AccountId32;
@@ -1325,7 +1387,7 @@
readonly type: 'AccountId' | 'CollectionAndNftTuple';
}
- /** @name PalletRmrkEquipEvent (104) */
+ /** @name PalletRmrkEquipEvent (107) */
interface PalletRmrkEquipEvent extends Enum {
readonly isBaseCreated: boolean;
readonly asBaseCreated: {
@@ -1340,7 +1402,7 @@
readonly type: 'BaseCreated' | 'EquippablesUpdated';
}
- /** @name PalletAppPromotionEvent (105) */
+ /** @name PalletAppPromotionEvent (108) */
interface PalletAppPromotionEvent extends Enum {
readonly isStakingRecalculation: boolean;
readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;
@@ -1353,7 +1415,7 @@
readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
}
- /** @name PalletForeignAssetsModuleEvent (106) */
+ /** @name PalletForeignAssetsModuleEvent (109) */
interface PalletForeignAssetsModuleEvent extends Enum {
readonly isForeignAssetRegistered: boolean;
readonly asForeignAssetRegistered: {
@@ -1380,7 +1442,7 @@
readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';
}
- /** @name PalletForeignAssetsModuleAssetMetadata (107) */
+ /** @name PalletForeignAssetsModuleAssetMetadata (110) */
interface PalletForeignAssetsModuleAssetMetadata extends Struct {
readonly name: Bytes;
readonly symbol: Bytes;
@@ -1388,7 +1450,7 @@
readonly minimalBalance: u128;
}
- /** @name PalletEvmEvent (108) */
+ /** @name PalletEvmEvent (111) */
interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: {
@@ -1413,14 +1475,14 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
}
- /** @name EthereumLog (109) */
+ /** @name EthereumLog (112) */
interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (111) */
+ /** @name PalletEthereumEvent (114) */
interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: {
@@ -1432,7 +1494,7 @@
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (112) */
+ /** @name EvmCoreErrorExitReason (115) */
interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -1445,7 +1507,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (113) */
+ /** @name EvmCoreErrorExitSucceed (116) */
interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -1453,7 +1515,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (114) */
+ /** @name EvmCoreErrorExitError (117) */
interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -1474,13 +1536,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (117) */
+ /** @name EvmCoreErrorExitRevert (120) */
interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (118) */
+ /** @name EvmCoreErrorExitFatal (121) */
interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -1491,7 +1553,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name PalletEvmContractHelpersEvent (119) */
+ /** @name PalletEvmContractHelpersEvent (122) */
interface PalletEvmContractHelpersEvent extends Enum {
readonly isContractSponsorSet: boolean;
readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;
@@ -1502,20 +1564,20 @@
readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';
}
- /** @name PalletEvmMigrationEvent (120) */
- interface PalletEvmMigrationEvent extends Enum {
+ /** @name PalletDataManagementEvent (123) */
+ interface PalletDataManagementEvent extends Enum {
readonly isTestEvent: boolean;
readonly type: 'TestEvent';
}
- /** @name PalletMaintenanceEvent (121) */
+ /** @name PalletMaintenanceEvent (124) */
interface PalletMaintenanceEvent extends Enum {
readonly isMaintenanceEnabled: boolean;
readonly isMaintenanceDisabled: boolean;
readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';
}
- /** @name PalletTestUtilsEvent (122) */
+ /** @name PalletTestUtilsEvent (125) */
interface PalletTestUtilsEvent extends Enum {
readonly isValueIsSet: boolean;
readonly isShouldRollback: boolean;
@@ -1523,7 +1585,7 @@
readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';
}
- /** @name FrameSystemPhase (123) */
+ /** @name FrameSystemPhase (126) */
interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -1532,13 +1594,13 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (126) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (129) */
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemCall (127) */
+ /** @name FrameSystemCall (130) */
interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
@@ -1580,21 +1642,21 @@
readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
- /** @name FrameSystemLimitsBlockWeights (132) */
+ /** @name FrameSystemLimitsBlockWeights (135) */
interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: SpWeightsWeightV2Weight;
readonly maxBlock: SpWeightsWeightV2Weight;
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (133) */
+ /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (136) */
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (134) */
+ /** @name FrameSystemLimitsWeightsPerClass (137) */
interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: SpWeightsWeightV2Weight;
readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
@@ -1602,25 +1664,25 @@
readonly reserved: Option<SpWeightsWeightV2Weight>;
}
- /** @name FrameSystemLimitsBlockLength (136) */
+ /** @name FrameSystemLimitsBlockLength (139) */
interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportDispatchPerDispatchClassU32;
}
- /** @name FrameSupportDispatchPerDispatchClassU32 (137) */
+ /** @name FrameSupportDispatchPerDispatchClassU32 (140) */
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name SpWeightsRuntimeDbWeight (138) */
+ /** @name SpWeightsRuntimeDbWeight (141) */
interface SpWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (139) */
+ /** @name SpVersionRuntimeVersion (142) */
interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -1632,7 +1694,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (144) */
+ /** @name FrameSystemError (147) */
interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -1643,7 +1705,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name PolkadotPrimitivesV2PersistedValidationData (145) */
+ /** @name PolkadotPrimitivesV2PersistedValidationData (148) */
interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
@@ -1651,18 +1713,18 @@
readonly maxPovSize: u32;
}
- /** @name PolkadotPrimitivesV2UpgradeRestriction (148) */
+ /** @name PolkadotPrimitivesV2UpgradeRestriction (151) */
interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
- /** @name SpTrieStorageProof (149) */
+ /** @name SpTrieStorageProof (152) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
- /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (151) */
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (154) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
@@ -1670,7 +1732,7 @@
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
}
- /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (154) */
+ /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (157) */
interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -1680,7 +1742,7 @@
readonly mqcHead: Option<H256>;
}
- /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (155) */
+ /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (158) */
interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1693,13 +1755,13 @@
readonly validationUpgradeDelay: u32;
}
- /** @name PolkadotCorePrimitivesOutboundHrmpMessage (161) */
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (164) */
interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemCall (162) */
+ /** @name CumulusPalletParachainSystemCall (165) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
@@ -1720,7 +1782,7 @@
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
}
- /** @name CumulusPrimitivesParachainInherentParachainInherentData (163) */
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (166) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
@@ -1728,19 +1790,19 @@
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
- /** @name PolkadotCorePrimitivesInboundDownwardMessage (165) */
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (168) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
- /** @name PolkadotCorePrimitivesInboundHrmpMessage (168) */
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (171) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemError (171) */
+ /** @name CumulusPalletParachainSystemError (174) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
@@ -1753,7 +1815,7 @@
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
}
- /** @name PalletAuthorshipUncleEntryItem (173) */
+ /** @name PalletAuthorshipUncleEntryItem (176) */
interface PalletAuthorshipUncleEntryItem extends Enum {
readonly isInclusionHeight: boolean;
readonly asInclusionHeight: u32;
@@ -1762,7 +1824,7 @@
readonly type: 'InclusionHeight' | 'Uncle';
}
- /** @name PalletAuthorshipCall (175) */
+ /** @name PalletAuthorshipCall (178) */
interface PalletAuthorshipCall extends Enum {
readonly isSetUncles: boolean;
readonly asSetUncles: {
@@ -1771,7 +1833,7 @@
readonly type: 'SetUncles';
}
- /** @name SpRuntimeHeader (177) */
+ /** @name SpRuntimeHeader (180) */
interface SpRuntimeHeader extends Struct {
readonly parentHash: H256;
readonly number: Compact<u32>;
@@ -1780,10 +1842,10 @@
readonly digest: SpRuntimeDigest;
}
- /** @name SpRuntimeBlakeTwo256 (178) */
+ /** @name SpRuntimeBlakeTwo256 (181) */
type SpRuntimeBlakeTwo256 = Null;
- /** @name PalletAuthorshipError (179) */
+ /** @name PalletAuthorshipError (182) */
interface PalletAuthorshipError extends Enum {
readonly isInvalidUncleParent: boolean;
readonly isUnclesAlreadySet: boolean;
@@ -1795,7 +1857,7 @@
readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
}
- /** @name PalletCollatorSelectionCall (182) */
+ /** @name PalletCollatorSelectionCall (185) */
interface PalletCollatorSelectionCall extends Enum {
readonly isAddInvulnerable: boolean;
readonly asAddInvulnerable: {
@@ -1804,18 +1866,6 @@
readonly isRemoveInvulnerable: boolean;
readonly asRemoveInvulnerable: {
readonly who: AccountId32;
- } & Struct;
- readonly isSetDesiredCollators: boolean;
- readonly asSetDesiredCollators: {
- readonly max: u32;
- } & Struct;
- readonly isSetLicenseBond: boolean;
- readonly asSetLicenseBond: {
- readonly bond: u128;
- } & Struct;
- readonly isSetKickThreshold: boolean;
- readonly asSetKickThreshold: {
- readonly kickThreshold: u32;
} & Struct;
readonly isGetLicense: boolean;
readonly isOnboard: boolean;
@@ -1825,10 +1875,10 @@
readonly asForceRevokeLicense: {
readonly who: AccountId32;
} & Struct;
- readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'SetDesiredCollators' | 'SetLicenseBond' | 'SetKickThreshold' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
+ readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
}
- /** @name PalletCollatorSelectionError (183) */
+ /** @name PalletCollatorSelectionError (186) */
interface PalletCollatorSelectionError extends Enum {
readonly isTooManyCandidates: boolean;
readonly isUnknown: boolean;
@@ -1846,21 +1896,21 @@
readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
}
- /** @name OpalRuntimeRuntimeCommonSessionKeys (186) */
+ /** @name OpalRuntimeRuntimeCommonSessionKeys (189) */
interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
}
- /** @name SpConsensusAuraSr25519AppSr25519Public (187) */
+ /** @name SpConsensusAuraSr25519AppSr25519Public (190) */
interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
- /** @name SpCoreSr25519Public (188) */
+ /** @name SpCoreSr25519Public (191) */
interface SpCoreSr25519Public extends U8aFixed {}
- /** @name SpCoreCryptoKeyTypeId (191) */
+ /** @name SpCoreCryptoKeyTypeId (194) */
interface SpCoreCryptoKeyTypeId extends U8aFixed {}
- /** @name PalletSessionCall (192) */
+ /** @name PalletSessionCall (195) */
interface PalletSessionCall extends Enum {
readonly isSetKeys: boolean;
readonly asSetKeys: {
@@ -1871,7 +1921,7 @@
readonly type: 'SetKeys' | 'PurgeKeys';
}
- /** @name PalletSessionError (193) */
+ /** @name PalletSessionError (196) */
interface PalletSessionError extends Enum {
readonly isInvalidProof: boolean;
readonly isNoAssociatedValidatorId: boolean;
@@ -1881,14 +1931,170 @@
readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
}
- /** @name PalletBalancesBalanceLock (195) */
+ /** @name PalletIdentityRegistration (197) */
+ interface PalletIdentityRegistration extends Struct {
+ readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
+ readonly deposit: u128;
+ readonly info: PalletIdentityIdentityInfo;
+ }
+
+ /** @name PalletIdentityJudgement (200) */
+ interface PalletIdentityJudgement extends Enum {
+ readonly isUnknown: boolean;
+ readonly isFeePaid: boolean;
+ readonly asFeePaid: u128;
+ readonly isReasonable: boolean;
+ readonly isKnownGood: boolean;
+ readonly isOutOfDate: boolean;
+ readonly isLowQuality: boolean;
+ readonly isErroneous: boolean;
+ readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';
+ }
+
+ /** @name PalletIdentityIdentityInfo (202) */
+ interface PalletIdentityIdentityInfo extends Struct {
+ readonly additional: Vec<ITuple<[Data, Data]>>;
+ readonly display: Data;
+ readonly legal: Data;
+ readonly web: Data;
+ readonly riot: Data;
+ readonly email: Data;
+ readonly pgpFingerprint: Option<U8aFixed>;
+ readonly image: Data;
+ readonly twitter: Data;
+ }
+
+ /** @name PalletIdentityRegistrarInfo (241) */
+ interface PalletIdentityRegistrarInfo extends Struct {
+ readonly account: AccountId32;
+ readonly fee: u128;
+ readonly fields: PalletIdentityBitFlags;
+ }
+
+ /** @name PalletIdentityBitFlags (242) */
+ interface PalletIdentityBitFlags extends Set {
+ readonly isDisplay: boolean;
+ readonly isLegal: boolean;
+ readonly isWeb: boolean;
+ readonly isRiot: boolean;
+ readonly isEmail: boolean;
+ readonly isPgpFingerprint: boolean;
+ readonly isImage: boolean;
+ readonly isTwitter: boolean;
+ }
+
+ /** @name PalletIdentityIdentityField (243) */
+ interface PalletIdentityIdentityField extends Enum {
+ readonly isDisplay: boolean;
+ readonly isLegal: boolean;
+ readonly isWeb: boolean;
+ readonly isRiot: boolean;
+ readonly isEmail: boolean;
+ readonly isPgpFingerprint: boolean;
+ readonly isImage: boolean;
+ readonly isTwitter: boolean;
+ readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';
+ }
+
+ /** @name PalletIdentityCall (245) */
+ interface PalletIdentityCall extends Enum {
+ readonly isAddRegistrar: boolean;
+ readonly asAddRegistrar: {
+ readonly account: MultiAddress;
+ } & Struct;
+ readonly isSetIdentity: boolean;
+ readonly asSetIdentity: {
+ readonly info: PalletIdentityIdentityInfo;
+ } & Struct;
+ readonly isSetSubs: boolean;
+ readonly asSetSubs: {
+ readonly subs: Vec<ITuple<[AccountId32, Data]>>;
+ } & Struct;
+ readonly isClearIdentity: boolean;
+ readonly isRequestJudgement: boolean;
+ readonly asRequestJudgement: {
+ readonly regIndex: Compact<u32>;
+ readonly maxFee: Compact<u128>;
+ } & Struct;
+ readonly isCancelRequest: boolean;
+ readonly asCancelRequest: {
+ readonly regIndex: u32;
+ } & Struct;
+ readonly isSetFee: boolean;
+ readonly asSetFee: {
+ readonly index: Compact<u32>;
+ readonly fee: Compact<u128>;
+ } & Struct;
+ readonly isSetAccountId: boolean;
+ readonly asSetAccountId: {
+ readonly index: Compact<u32>;
+ readonly new_: MultiAddress;
+ } & Struct;
+ readonly isSetFields: boolean;
+ readonly asSetFields: {
+ readonly index: Compact<u32>;
+ readonly fields: PalletIdentityBitFlags;
+ } & Struct;
+ readonly isProvideJudgement: boolean;
+ readonly asProvideJudgement: {
+ readonly regIndex: Compact<u32>;
+ readonly target: MultiAddress;
+ readonly judgement: PalletIdentityJudgement;
+ readonly identity: H256;
+ } & Struct;
+ readonly isKillIdentity: boolean;
+ readonly asKillIdentity: {
+ readonly target: MultiAddress;
+ } & Struct;
+ readonly isAddSub: boolean;
+ readonly asAddSub: {
+ readonly sub: MultiAddress;
+ readonly data: Data;
+ } & Struct;
+ readonly isRenameSub: boolean;
+ readonly asRenameSub: {
+ readonly sub: MultiAddress;
+ readonly data: Data;
+ } & Struct;
+ readonly isRemoveSub: boolean;
+ readonly asRemoveSub: {
+ readonly sub: MultiAddress;
+ } & Struct;
+ readonly isQuitSub: boolean;
+ readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
+ }
+
+ /** @name PalletIdentityError (249) */
+ interface PalletIdentityError extends Enum {
+ readonly isTooManySubAccounts: boolean;
+ readonly isNotFound: boolean;
+ readonly isNotNamed: boolean;
+ readonly isEmptyIndex: boolean;
+ readonly isFeeChanged: boolean;
+ readonly isNoIdentity: boolean;
+ readonly isStickyJudgement: boolean;
+ readonly isJudgementGiven: boolean;
+ readonly isInvalidJudgement: boolean;
+ readonly isInvalidIndex: boolean;
+ readonly isInvalidTarget: boolean;
+ readonly isTooManyFields: boolean;
+ readonly isTooManyRegistrars: boolean;
+ readonly isAlreadyClaimed: boolean;
+ readonly isNotSub: boolean;
+ readonly isNotOwned: boolean;
+ readonly isJudgementForDifferentIdentity: boolean;
+ readonly isJudgementPaymentFailed: boolean;
+ readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
+ }
+
+ /** @name PalletBalancesBalanceLock (251) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (196) */
+ /** @name PalletBalancesReasons (252) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -1896,20 +2102,20 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (199) */
+ /** @name PalletBalancesReserveData (255) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name PalletBalancesReleases (201) */
+ /** @name PalletBalancesReleases (257) */
interface PalletBalancesReleases extends Enum {
readonly isV100: boolean;
readonly isV200: boolean;
readonly type: 'V100' | 'V200';
}
- /** @name PalletBalancesCall (202) */
+ /** @name PalletBalancesCall (258) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1946,7 +2152,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (205) */
+ /** @name PalletBalancesError (259) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -1959,7 +2165,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (207) */
+ /** @name PalletTimestampCall (261) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -1968,14 +2174,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (209) */
+ /** @name PalletTransactionPaymentReleases (263) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (210) */
+ /** @name PalletTreasuryProposal (264) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -1983,7 +2189,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (212) */
+ /** @name PalletTreasuryCall (266) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -2010,10 +2216,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (215) */
+ /** @name FrameSupportPalletId (268) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (216) */
+ /** @name PalletTreasuryError (269) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -2023,7 +2229,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (217) */
+ /** @name PalletSudoCall (270) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -2046,7 +2252,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (219) */
+ /** @name OrmlVestingModuleCall (272) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -2066,7 +2272,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlXtokensModuleCall (221) */
+ /** @name OrmlXtokensModuleCall (274) */
interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2113,7 +2319,7 @@
readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
}
- /** @name XcmVersionedMultiAsset (222) */
+ /** @name XcmVersionedMultiAsset (275) */
interface XcmVersionedMultiAsset extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiAsset;
@@ -2122,7 +2328,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name OrmlTokensModuleCall (225) */
+ /** @name OrmlTokensModuleCall (278) */
interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2159,7 +2365,7 @@
readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
}
- /** @name CumulusPalletXcmpQueueCall (226) */
+ /** @name CumulusPalletXcmpQueueCall (279) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2195,7 +2401,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (227) */
+ /** @name PalletXcmCall (280) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -2257,7 +2463,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedXcm (228) */
+ /** @name XcmVersionedXcm (281) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -2268,7 +2474,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (229) */
+ /** @name XcmV0Xcm (282) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2331,7 +2537,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0Order (231) */
+ /** @name XcmV0Order (284) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -2379,14 +2585,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (233) */
+ /** @name XcmV0Response (286) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV1Xcm (234) */
+ /** @name XcmV1Xcm (287) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2455,7 +2661,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1Order (236) */
+ /** @name XcmV1Order (289) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -2505,7 +2711,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1Response (238) */
+ /** @name XcmV1Response (291) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2514,10 +2720,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name CumulusPalletXcmCall (252) */
+ /** @name CumulusPalletXcmCall (305) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (253) */
+ /** @name CumulusPalletDmpQueueCall (306) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2527,7 +2733,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (254) */
+ /** @name PalletInflationCall (307) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2536,7 +2742,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (255) */
+ /** @name PalletUniqueCall (308) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2709,7 +2915,7 @@
readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
}
- /** @name UpDataStructsCollectionMode (260) */
+ /** @name UpDataStructsCollectionMode (313) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2718,7 +2924,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (261) */
+ /** @name UpDataStructsCreateCollectionData (314) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2732,14 +2938,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (263) */
+ /** @name UpDataStructsAccessMode (316) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (265) */
+ /** @name UpDataStructsCollectionLimits (318) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2752,7 +2958,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (267) */
+ /** @name UpDataStructsSponsoringRateLimit (320) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2760,43 +2966,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (270) */
+ /** @name UpDataStructsCollectionPermissions (323) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (272) */
+ /** @name UpDataStructsNestingPermissions (325) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (274) */
+ /** @name UpDataStructsOwnerRestrictedSet (327) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (279) */
+ /** @name UpDataStructsPropertyKeyPermission (332) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (280) */
+ /** @name UpDataStructsPropertyPermission (333) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (283) */
+ /** @name UpDataStructsProperty (336) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (286) */
+ /** @name UpDataStructsCreateItemData (339) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -2807,23 +3013,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (287) */
+ /** @name UpDataStructsCreateNftData (340) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (288) */
+ /** @name UpDataStructsCreateFungibleData (341) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (289) */
+ /** @name UpDataStructsCreateReFungibleData (342) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (292) */
+ /** @name UpDataStructsCreateItemExData (345) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -2836,26 +3042,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (294) */
+ /** @name UpDataStructsCreateNftExData (347) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (301) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (354) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (303) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (356) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletConfigurationCall (304) */
+ /** @name PalletConfigurationCall (357) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -2873,10 +3079,22 @@
readonly asSetAppPromotionConfigurationOverride: {
readonly configuration: PalletConfigurationAppPromotionConfiguration;
} & Struct;
- readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';
+ readonly isSetCollatorSelectionDesiredCollators: boolean;
+ readonly asSetCollatorSelectionDesiredCollators: {
+ readonly max: Option<u32>;
+ } & Struct;
+ readonly isSetCollatorSelectionLicenseBond: boolean;
+ readonly asSetCollatorSelectionLicenseBond: {
+ readonly amount: Option<u128>;
+ } & Struct;
+ readonly isSetCollatorSelectionKickThreshold: boolean;
+ readonly asSetCollatorSelectionKickThreshold: {
+ readonly threshold: Option<u32>;
+ } & Struct;
+ readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
}
- /** @name PalletConfigurationAppPromotionConfiguration (309) */
+ /** @name PalletConfigurationAppPromotionConfiguration (362) */
interface PalletConfigurationAppPromotionConfiguration extends Struct {
readonly recalculationInterval: Option<u32>;
readonly pendingInterval: Option<u32>;
@@ -2884,13 +3102,13 @@
readonly maxStakersPerCalculation: Option<u8>;
}
- /** @name PalletTemplateTransactionPaymentCall (312) */
+ /** @name PalletTemplateTransactionPaymentCall (365) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (313) */
+ /** @name PalletStructureCall (366) */
type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (314) */
+ /** @name PalletRmrkCoreCall (367) */
interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2996,7 +3214,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (320) */
+ /** @name RmrkTraitsResourceResourceTypes (373) */
interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -3007,7 +3225,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (322) */
+ /** @name RmrkTraitsResourceBasicResource (375) */
interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -3015,7 +3233,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (324) */
+ /** @name RmrkTraitsResourceComposableResource (377) */
interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -3025,7 +3243,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (325) */
+ /** @name RmrkTraitsResourceSlotResource (378) */
interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -3035,7 +3253,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (328) */
+ /** @name PalletRmrkEquipCall (381) */
interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -3057,7 +3275,7 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (331) */
+ /** @name RmrkTraitsPartPartType (384) */
interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -3066,14 +3284,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (333) */
+ /** @name RmrkTraitsPartFixedPart (386) */
interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (334) */
+ /** @name RmrkTraitsPartSlotPart (387) */
interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -3081,7 +3299,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (335) */
+ /** @name RmrkTraitsPartEquippableList (388) */
interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -3090,20 +3308,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (337) */
+ /** @name RmrkTraitsTheme (390) */
interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (339) */
+ /** @name RmrkTraitsThemeThemeProperty (392) */
interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletAppPromotionCall (341) */
+ /** @name PalletAppPromotionCall (394) */
interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
@@ -3137,7 +3355,7 @@
readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
}
- /** @name PalletForeignAssetsModuleCall (342) */
+ /** @name PalletForeignAssetsModuleCall (395) */
interface PalletForeignAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
@@ -3154,7 +3372,7 @@
readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
}
- /** @name PalletEvmCall (343) */
+ /** @name PalletEvmCall (396) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -3199,7 +3417,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (349) */
+ /** @name PalletEthereumCall (402) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -3208,7 +3426,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (350) */
+ /** @name EthereumTransactionTransactionV2 (403) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -3219,7 +3437,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (351) */
+ /** @name EthereumTransactionLegacyTransaction (404) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -3230,7 +3448,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (352) */
+ /** @name EthereumTransactionTransactionAction (405) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -3238,14 +3456,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (353) */
+ /** @name EthereumTransactionTransactionSignature (406) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (355) */
+ /** @name EthereumTransactionEip2930Transaction (408) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3260,13 +3478,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (357) */
+ /** @name EthereumTransactionAccessListItem (410) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (358) */
+ /** @name EthereumTransactionEip1559Transaction (411) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3282,8 +3500,8 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (359) */
- interface PalletEvmMigrationCall extends Enum {
+ /** @name PalletDataManagementCall (412) */
+ interface PalletDataManagementCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
readonly address: H160;
@@ -3309,14 +3527,14 @@
readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
}
- /** @name PalletMaintenanceCall (363) */
+ /** @name PalletMaintenanceCall (416) */
interface PalletMaintenanceCall extends Enum {
readonly isEnable: boolean;
readonly isDisable: boolean;
readonly type: 'Enable' | 'Disable';
}
- /** @name PalletTestUtilsCall (364) */
+ /** @name PalletTestUtilsCall (417) */
interface PalletTestUtilsCall extends Enum {
readonly isEnable: boolean;
readonly isSetTestValue: boolean;
@@ -3336,13 +3554,13 @@
readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
}
- /** @name PalletSudoError (366) */
+ /** @name PalletSudoError (419) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (368) */
+ /** @name OrmlVestingModuleError (421) */
interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -3353,7 +3571,7 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name OrmlXtokensModuleError (369) */
+ /** @name OrmlXtokensModuleError (422) */
interface OrmlXtokensModuleError extends Enum {
readonly isAssetHasNoReserve: boolean;
readonly isNotCrossChainTransfer: boolean;
@@ -3377,26 +3595,26 @@
readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
}
- /** @name OrmlTokensBalanceLock (372) */
+ /** @name OrmlTokensBalanceLock (425) */
interface OrmlTokensBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name OrmlTokensAccountData (374) */
+ /** @name OrmlTokensAccountData (427) */
interface OrmlTokensAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly frozen: u128;
}
- /** @name OrmlTokensReserveData (376) */
+ /** @name OrmlTokensReserveData (429) */
interface OrmlTokensReserveData extends Struct {
readonly id: Null;
readonly amount: u128;
}
- /** @name OrmlTokensModuleError (378) */
+ /** @name OrmlTokensModuleError (431) */
interface OrmlTokensModuleError extends Enum {
readonly isBalanceTooLow: boolean;
readonly isAmountIntoBalanceFailed: boolean;
@@ -3409,21 +3627,21 @@
readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (380) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (433) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (381) */
+ /** @name CumulusPalletXcmpQueueInboundState (434) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (384) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (437) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -3431,7 +3649,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (387) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (440) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -3440,14 +3658,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (388) */
+ /** @name CumulusPalletXcmpQueueOutboundState (441) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (390) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (443) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -3457,7 +3675,7 @@
readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletXcmpQueueError (392) */
+ /** @name CumulusPalletXcmpQueueError (445) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -3467,7 +3685,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (393) */
+ /** @name PalletXcmError (446) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -3485,29 +3703,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (394) */
+ /** @name CumulusPalletXcmError (447) */
type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (395) */
+ /** @name CumulusPalletDmpQueueConfigData (448) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletDmpQueuePageIndexData (396) */
+ /** @name CumulusPalletDmpQueuePageIndexData (449) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (399) */
+ /** @name CumulusPalletDmpQueueError (452) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (403) */
+ /** @name PalletUniqueError (456) */
interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isEmptyArgument: boolean;
@@ -3515,13 +3733,13 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletConfigurationError (404) */
+ /** @name PalletConfigurationError (457) */
interface PalletConfigurationError extends Enum {
readonly isInconsistentConfiguration: boolean;
readonly type: 'InconsistentConfiguration';
}
- /** @name UpDataStructsCollection (405) */
+ /** @name UpDataStructsCollection (458) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3534,7 +3752,7 @@
readonly flags: U8aFixed;
}
- /** @name UpDataStructsSponsorshipStateAccountId32 (406) */
+ /** @name UpDataStructsSponsorshipStateAccountId32 (459) */
interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3544,43 +3762,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (408) */
+ /** @name UpDataStructsProperties (460) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (409) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (461) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (414) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (466) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (421) */
+ /** @name UpDataStructsCollectionStats (473) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (422) */
+ /** @name UpDataStructsTokenChild (474) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (423) */
+ /** @name PhantomTypeUpDataStructs (475) */
interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (425) */
+ /** @name UpDataStructsTokenData (477) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (427) */
+ /** @name UpDataStructsRpcCollection (479) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3596,13 +3814,13 @@
readonly flags: UpDataStructsRpcCollectionFlags;
}
- /** @name UpDataStructsRpcCollectionFlags (428) */
+ /** @name UpDataStructsRpcCollectionFlags (480) */
interface UpDataStructsRpcCollectionFlags extends Struct {
readonly foreign: bool;
readonly erc721metadata: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (429) */
+ /** @name RmrkTraitsCollectionCollectionInfo (481) */
interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -3611,7 +3829,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (430) */
+ /** @name RmrkTraitsNftNftInfo (482) */
interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -3620,13 +3838,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (432) */
+ /** @name RmrkTraitsNftRoyaltyInfo (484) */
interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (433) */
+ /** @name RmrkTraitsResourceResourceInfo (485) */
interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -3634,26 +3852,26 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (434) */
+ /** @name RmrkTraitsPropertyPropertyInfo (486) */
interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (435) */
+ /** @name RmrkTraitsBaseBaseInfo (487) */
interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (436) */
+ /** @name RmrkTraitsNftNftChild (488) */
interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (438) */
+ /** @name PalletCommonError (490) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3694,7 +3912,7 @@
readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
}
- /** @name PalletFungibleError (440) */
+ /** @name PalletFungibleError (492) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3706,12 +3924,12 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
- /** @name PalletRefungibleItemData (441) */
+ /** @name PalletRefungibleItemData (493) */
interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (446) */
+ /** @name PalletRefungibleError (498) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3721,19 +3939,19 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (447) */
+ /** @name PalletNonfungibleItemData (499) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (449) */
+ /** @name UpDataStructsPropertyScope (501) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly type: 'None' | 'Rmrk';
}
- /** @name PalletNonfungibleError (451) */
+ /** @name PalletNonfungibleError (503) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3741,7 +3959,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (452) */
+ /** @name PalletStructureError (504) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3750,7 +3968,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (453) */
+ /** @name PalletRmrkCoreError (505) */
interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
@@ -3774,7 +3992,7 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (455) */
+ /** @name PalletRmrkEquipError (507) */
interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -3786,7 +4004,7 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletAppPromotionError (461) */
+ /** @name PalletAppPromotionError (513) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -3797,7 +4015,7 @@
readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
}
- /** @name PalletForeignAssetsModuleError (462) */
+ /** @name PalletForeignAssetsModuleError (514) */
interface PalletForeignAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
@@ -3806,7 +4024,7 @@
readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
}
- /** @name PalletEvmError (464) */
+ /** @name PalletEvmError (516) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3821,7 +4039,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';
}
- /** @name FpRpcTransactionStatus (467) */
+ /** @name FpRpcTransactionStatus (519) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3832,10 +4050,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (469) */
+ /** @name EthbloomBloom (521) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (471) */
+ /** @name EthereumReceiptReceiptV3 (523) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3846,7 +4064,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (472) */
+ /** @name EthereumReceiptEip658ReceiptData (524) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3854,14 +4072,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (473) */
+ /** @name EthereumBlock (525) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (474) */
+ /** @name EthereumHeader (526) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3880,24 +4098,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (475) */
+ /** @name EthereumTypesHashH64 (527) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (480) */
+ /** @name PalletEthereumError (532) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (481) */
+ /** @name PalletEvmCoderSubstrateError (533) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (482) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (534) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3907,7 +4125,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (483) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (535) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3915,7 +4133,7 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (489) */
+ /** @name PalletEvmContractHelpersError (541) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
@@ -3923,25 +4141,25 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletEvmMigrationError (490) */
- interface PalletEvmMigrationError extends Enum {
+ /** @name PalletDataManagementError (542) */
+ interface PalletDataManagementError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly isBadEvent: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
- /** @name PalletMaintenanceError (491) */
+ /** @name PalletMaintenanceError (543) */
type PalletMaintenanceError = Null;
- /** @name PalletTestUtilsError (492) */
+ /** @name PalletTestUtilsError (544) */
interface PalletTestUtilsError extends Enum {
readonly isTestPalletDisabled: boolean;
readonly isTriggerRollback: boolean;
readonly type: 'TestPalletDisabled' | 'TriggerRollback';
}
- /** @name SpRuntimeMultiSignature (494) */
+ /** @name SpRuntimeMultiSignature (546) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3952,40 +4170,43 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (495) */
+ /** @name SpCoreEd25519Signature (547) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (497) */
+ /** @name SpCoreSr25519Signature (549) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (498) */
+ /** @name SpCoreEcdsaSignature (550) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (501) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (553) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckTxVersion (502) */
+ /** @name FrameSystemExtensionsCheckTxVersion (554) */
type FrameSystemExtensionsCheckTxVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (503) */
+ /** @name FrameSystemExtensionsCheckGenesis (555) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (506) */
+ /** @name FrameSystemExtensionsCheckNonce (558) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (507) */
+ /** @name FrameSystemExtensionsCheckWeight (559) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (508) */
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (560) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (509) */
+ /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (561) */
+ type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;
+
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (562) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (510) */
+ /** @name OpalRuntimeRuntime (563) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (511) */
+ /** @name PalletEthereumFakeTransactionFinalizer (564) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -32,7 +32,7 @@
'evm',
'evmcodersubstrate',
'evmcontracthelpers',
- 'evmmigration',
+ 'datamanagement',
'evmtransactionpayment',
'ethereum',
'fungible',
@@ -66,7 +66,7 @@
const foreignAssets = 'foreignassets';
const rmrkPallets = ['rmrkcore', 'rmrkequip'];
const appPromotion = 'apppromotion';
- const collatorSelection = ['authorship', 'session', 'collatorselection'];
+ const collatorSelection = ['authorship', 'session', 'collatorselection', 'identity'];
const testUtils = 'testutils';
if (chain.eq('OPAL by UNIQUE')) {
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -92,6 +92,10 @@
extrinsic: {},
payload: {},
},
+ FilterIdentity: {
+ extrinsic: {},
+ payload: {},
+ },
FakeTransactionFinalizer: {
extrinsic: {},
payload: {},