difftreelog
Merge pull request #893 from UniqueNetwork/feature/preimage
in: master
34 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5541,6 +5541,7 @@
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
+ "pallet-preimage",
"pallet-randomness-collective-flip",
"pallet-refungible",
"pallet-session",
@@ -6480,6 +6481,7 @@
"frame-system",
"parity-scale-codec",
"scale-info",
+ "sp-core",
"sp-std",
]
@@ -8968,6 +8970,7 @@
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
+ "pallet-preimage",
"pallet-randomness-collective-flip",
"pallet-refungible",
"pallet-session",
@@ -13198,6 +13201,7 @@
"pallet-inflation",
"pallet-maintenance",
"pallet-nonfungible",
+ "pallet-preimage",
"pallet-randomness-collective-flip",
"pallet-refungible",
"pallet-session",
Cargo.tomldiffbeforeafterboth--- a/Cargo.toml
+++ b/Cargo.toml
@@ -98,6 +98,7 @@
pallet-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-authorship = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
+pallet-preimage = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-randomness-collective-flip = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -137,9 +137,13 @@
bench-app-promotion:
make _bench PALLET=app-promotion PALLET_DIR=app-promotion
+.PHONY: bench-maintenance
+bench-maintenance:
+ make _bench PALLET=maintenance
+
.PHONY: bench
# Disabled: bench-scheduler, bench-collator-selection, bench-identity
-bench: bench-common bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-configuration bench-foreign-assets
+bench: bench-common bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-configuration bench-foreign-assets bench-maintenance
.PHONY: check
check:
pallets/maintenance/Cargo.tomldiffbeforeafterboth--- a/pallets/maintenance/Cargo.toml
+++ b/pallets/maintenance/Cargo.toml
@@ -18,10 +18,11 @@
frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
+sp-core = { workspace = true }
sp-std = { workspace = true }
[features]
default = ["std"]
runtime-benchmarks = ["frame-benchmarking", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks"]
-std = ["codec/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", "scale-info/std", "sp-std/std"]
+std = ["codec/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", "scale-info/std", "sp-core/std", "sp-std/std"]
try-runtime = ["frame-support/try-runtime"]
pallets/maintenance/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/maintenance/src/benchmarking.rs
+++ b/pallets/maintenance/src/benchmarking.rs
@@ -17,9 +17,10 @@
use super::*;
use crate::{Pallet as Maintenance, Config};
+use codec::Encode;
use frame_benchmarking::benchmarks;
use frame_system::RawOrigin;
-use frame_support::ensure;
+use frame_support::{ensure, pallet_prelude::Weight, traits::StorePreimage};
benchmarks! {
enable {
@@ -34,4 +35,11 @@
verify {
ensure!(!<Enabled<T>>::get(), "didn't disable the MM");
}
+
+ execute_preimage {
+ let call = <T as Config>::RuntimeCall::from(frame_system::Call::<T>::remark { remark: 1u32.encode() });
+ let hash = T::Preimages::note(call.encode().into())?;
+ }: _(RawOrigin::Root, hash, Weight::from_parts(100000000000, 100000000000))
+ verify {
+ }
}
pallets/maintenance/src/lib.rsdiffbeforeafterboth--- a/pallets/maintenance/src/lib.rs
+++ b/pallets/maintenance/src/lib.rs
@@ -25,13 +25,36 @@
#[frame_support::pallet]
pub mod pallet {
- use frame_support::pallet_prelude::*;
+ use frame_support::{dispatch::*, pallet_prelude::*};
+ use frame_support::{
+ traits::{QueryPreimage, StorePreimage},
+ };
use frame_system::pallet_prelude::*;
+ use sp_core::H256;
+
use crate::weights::WeightInfo;
#[pallet::config]
pub trait Config: frame_system::Config {
+ /// The overarching event type.
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
+
+ /// The runtime origin type.
+ type RuntimeOrigin: From<RawOrigin<Self::AccountId>>
+ + IsType<<Self as frame_system::Config>::RuntimeOrigin>;
+
+ /// The aggregated call type.
+ type RuntimeCall: Parameter
+ + Dispatchable<
+ RuntimeOrigin = <Self as Config>::RuntimeOrigin,
+ PostInfo = PostDispatchInfo,
+ > + GetDispatchInfo
+ + From<frame_system::Call<Self>>;
+
+ /// The preimage provider with which we look up call hashes to get the call.
+ type Preimages: QueryPreimage + StorePreimage;
+
+ /// Weight information for extrinsics in this pallet.
type WeightInfo: WeightInfo;
}
@@ -78,5 +101,49 @@
Ok(())
}
+
+ /// Execute a runtime call stored as a preimage.
+ ///
+ /// `weight_bound` is the maximum weight that the caller is willing
+ /// to allow the extrinsic to be executed with.
+ #[pallet::call_index(2)]
+ #[pallet::weight(<T as Config>::WeightInfo::execute_preimage() + *weight_bound)]
+ pub fn execute_preimage(
+ origin: OriginFor<T>,
+ hash: H256,
+ weight_bound: Weight,
+ ) -> DispatchResultWithPostInfo {
+ use codec::Decode;
+
+ ensure_root(origin)?;
+
+ let data = T::Preimages::fetch(&hash, None)?;
+ weight_bound.set_proof_size(
+ weight_bound
+ .proof_size()
+ .checked_sub(
+ data.len()
+ .try_into()
+ .map_err(|_| DispatchError::Corruption)?,
+ )
+ .ok_or(DispatchError::Exhausted)?,
+ );
+
+ let call = <T as Config>::RuntimeCall::decode(&mut &data[..])
+ .map_err(|_| DispatchError::Corruption)?;
+
+ ensure!(
+ call.get_dispatch_info().weight.all_lte(weight_bound),
+ DispatchError::Exhausted
+ );
+
+ match call.dispatch(frame_system::RawOrigin::Root.into()) {
+ Ok(_) => Ok(Pays::No.into()),
+ Err(error_and_info) => Err(DispatchErrorWithPostInfo {
+ post_info: Pays::No.into(),
+ error: error_and_info.error,
+ }),
+ }
+ }
}
}
pallets/maintenance/src/weights.rsdiffbeforeafterboth--- a/pallets/maintenance/src/weights.rs
+++ b/pallets/maintenance/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_maintenance
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-11-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-22, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,6 +26,7 @@
#![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}};
@@ -35,6 +36,7 @@
pub trait WeightInfo {
fn enable() -> Weight;
fn disable() -> Weight;
+ fn execute_preimage() -> Weight;
}
/// Weights for pallet_maintenance using the Substrate node and recommended hardware.
@@ -42,13 +44,19 @@
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Maintenance Enabled (r:0 w:1)
fn enable() -> Weight {
- Weight::from_ref_time(7_367_000)
- .saturating_add(T::DbWeight::get().writes(1))
+ Weight::from_ref_time(10_860_000 as u64)
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Maintenance Enabled (r:0 w:1)
fn disable() -> Weight {
- Weight::from_ref_time(7_273_000)
- .saturating_add(T::DbWeight::get().writes(1))
+ Weight::from_ref_time(10_871_000 as u64)
+ .saturating_add(T::DbWeight::get().writes(1 as u64))
+ }
+ // Storage: Preimage StatusFor (r:1 w:0)
+ // Storage: Preimage PreimageFor (r:1 w:0)
+ fn execute_preimage() -> Weight {
+ Weight::from_ref_time(10_068_000 as u64)
+ .saturating_add(T::DbWeight::get().reads(2 as u64))
}
}
@@ -56,12 +64,18 @@
impl WeightInfo for () {
// Storage: Maintenance Enabled (r:0 w:1)
fn enable() -> Weight {
- Weight::from_ref_time(7_367_000)
- .saturating_add(RocksDbWeight::get().writes(1))
+ Weight::from_ref_time(10_860_000 as u64)
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Maintenance Enabled (r:0 w:1)
fn disable() -> Weight {
- Weight::from_ref_time(7_273_000)
- .saturating_add(RocksDbWeight::get().writes(1))
+ Weight::from_ref_time(10_871_000 as u64)
+ .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ }
+ // Storage: Preimage StatusFor (r:1 w:0)
+ // Storage: Preimage PreimageFor (r:1 w:0)
+ fn execute_preimage() -> Weight {
+ Weight::from_ref_time(10_068_000 as u64)
+ .saturating_add(RocksDbWeight::get().reads(2 as u64))
}
}
pallets/scheduler-v2/Cargo.tomldiffbeforeafterboth--- a/pallets/scheduler-v2/Cargo.toml
+++ b/pallets/scheduler-v2/Cargo.toml
@@ -24,7 +24,7 @@
sp-std = { workspace = true }
[dev-dependencies]
-pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
+pallet-preimage = { workspace = true }
substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
[features]
runtime/common/config/pallets/mod.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/mod.rs
+++ b/runtime/common/config/pallets/mod.rs
@@ -23,7 +23,7 @@
weights::CommonWeights,
RelayChainBlockNumberProvider,
},
- Runtime, RuntimeEvent, RuntimeCall, Balances,
+ Runtime, RuntimeEvent, RuntimeCall, RuntimeOrigin, Balances,
};
use frame_support::traits::{ConstU32, ConstU64};
use up_common::{
@@ -47,6 +47,9 @@
#[cfg(feature = "collator-selection")]
pub mod collator_selection;
+#[cfg(feature = "preimage")]
+pub mod preimage;
+
parameter_types! {
pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
pub const CollectionCreationPrice: Balance = 2 * UNIQUE;
@@ -123,5 +126,11 @@
impl pallet_maintenance::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
+ type RuntimeOrigin = RuntimeOrigin;
+ type RuntimeCall = RuntimeCall;
+ #[cfg(feature = "preimage")]
+ type Preimages = crate::Preimage;
+ #[cfg(not(feature = "preimage"))]
+ type Preimages = ();
type WeightInfo = pallet_maintenance::weights::SubstrateWeight<Self>;
}
runtime/common/config/pallets/preimage.rsdiffbeforeafterboth--- /dev/null
+++ b/runtime/common/config/pallets/preimage.rs
@@ -0,0 +1,33 @@
+// 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 frame_support::parameter_types;
+use frame_system::EnsureRoot;
+use crate::{AccountId, Balance, Balances, Runtime, RuntimeEvent};
+use up_common::constants::*;
+
+parameter_types! {
+ pub PreimageBaseDeposit: Balance = 1000 * UNIQUE;
+}
+
+impl pallet_preimage::Config for Runtime {
+ type WeightInfo = pallet_preimage::weights::SubstrateWeight<Runtime>;
+ type RuntimeEvent = RuntimeEvent;
+ type Currency = Balances;
+ type ManagerOrigin = EnsureRoot<AccountId>;
+ type BaseDeposit = PreimageBaseDeposit;
+ type ByteDeposit = TransactionByteFee;
+}
runtime/common/construct_runtime.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime.rs
+++ b/runtime/common/construct_runtime.rs
@@ -56,6 +56,9 @@
#[cfg(feature = "collator-selection")]
Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 40,
+ #[cfg(feature = "preimage")]
+ Preimage: pallet_preimage::{Pallet, Call, Storage, Event<T>} = 41,
+
// XCM helpers.
XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,
PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -568,6 +568,7 @@
#[cfg(feature = "foreign-assets")]
list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets);
+ list_benchmark!(list, extra, pallet_maintenance, Maintenance);
// list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);
@@ -632,6 +633,8 @@
#[cfg(feature = "foreign-assets")]
add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets);
+ add_benchmark!(params, batches, pallet_maintenance, Maintenance);
+
// add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);
if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -18,7 +18,7 @@
[features]
default = ['opal-runtime', 'std']
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'pallet-test-utils', 'refungible']
+opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'pallet-test-utils', 'refungible']
pov-estimate = []
runtime-benchmarks = [
'cumulus-pallet-parachain-system/runtime-benchmarks',
@@ -41,6 +41,7 @@
'pallet-inflation/runtime-benchmarks',
'pallet-maintenance/runtime-benchmarks',
'pallet-nonfungible/runtime-benchmarks',
+ "pallet-preimage/runtime-benchmarks",
'pallet-refungible/runtime-benchmarks',
'pallet-structure/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -69,6 +70,7 @@
# 'pallet-contracts-primitives/std',
# 'pallet-contracts-rpc-runtime-api/std',
# 'pallet-contract-helpers/std',
+ "pallet-preimage/std",
"pallet-authorship/std",
"pallet-session/std",
"sp-consensus-aura/std",
@@ -139,6 +141,7 @@
"pallet-collator-selection/try-runtime",
"pallet-identity/try-runtime",
"pallet-session/try-runtime",
+ "pallet-preimage/try-runtime",
'cumulus-pallet-aura-ext/try-runtime',
'cumulus-pallet-dmp-queue/try-runtime',
'cumulus-pallet-parachain-system/try-runtime',
@@ -188,6 +191,7 @@
app-promotion = []
collator-selection = []
foreign-assets = []
+preimage = []
pallet-test-utils = []
refungible = []
scheduler = []
@@ -218,6 +222,7 @@
pallet-aura = { workspace = true }
pallet-authorship = { workspace = true }
pallet-balances = { workspace = true }
+pallet-preimage = { workspace = true }
pallet-randomness-collective-flip = { workspace = true }
pallet-session = { workspace = true }
pallet-sudo = { workspace = true }
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -20,7 +20,7 @@
default = ['quartz-runtime', 'std']
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
pov-estimate = []
-quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'refungible']
+quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']
runtime-benchmarks = [
'cumulus-pallet-parachain-system/runtime-benchmarks',
'frame-benchmarking',
@@ -42,6 +42,7 @@
'pallet-inflation/runtime-benchmarks',
'pallet-maintenance/runtime-benchmarks',
'pallet-nonfungible/runtime-benchmarks',
+ "pallet-preimage/runtime-benchmarks",
'pallet-refungible/runtime-benchmarks',
'pallet-structure/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -69,6 +70,7 @@
# 'pallet-contracts-primitives/std',
# 'pallet-contracts-rpc-runtime-api/std',
# 'pallet-contract-helpers/std',
+ "pallet-preimage/std",
"pallet-authorship/std",
"pallet-identity/std",
"pallet-session/std",
@@ -136,6 +138,7 @@
"pallet-collator-selection/try-runtime",
"pallet-identity/try-runtime",
"pallet-session/try-runtime",
+ "pallet-preimage/try-runtime",
'cumulus-pallet-aura-ext/try-runtime',
'cumulus-pallet-dmp-queue/try-runtime',
'cumulus-pallet-parachain-system/try-runtime',
@@ -181,6 +184,7 @@
app-promotion = []
collator-selection = []
foreign-assets = []
+preimage = []
refungible = []
scheduler = []
@@ -210,6 +214,7 @@
pallet-aura = { workspace = true }
pallet-authorship = { workspace = true }
pallet-balances = { workspace = true }
+pallet-preimage = { workspace = true }
pallet-randomness-collective-flip = { workspace = true }
pallet-session = { workspace = true }
pallet-sudo = { workspace = true }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -39,6 +39,7 @@
'pallet-inflation/runtime-benchmarks',
'pallet-maintenance/runtime-benchmarks',
'pallet-nonfungible/runtime-benchmarks',
+ "pallet-preimage/runtime-benchmarks",
'pallet-refungible/runtime-benchmarks',
'pallet-structure/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
@@ -67,6 +68,7 @@
# 'pallet-contracts-primitives/std',
# 'pallet-contracts-rpc-runtime-api/std',
# 'pallet-contract-helpers/std',
+ "pallet-preimage/std",
"pallet-authorship/std",
"pallet-identity/std",
"pallet-session/std",
@@ -134,6 +136,7 @@
"pallet-collator-selection/try-runtime",
"pallet-identity/try-runtime",
"pallet-session/try-runtime",
+ "pallet-preimage/try-runtime",
'cumulus-pallet-aura-ext/try-runtime',
'cumulus-pallet-dmp-queue/try-runtime',
'cumulus-pallet-parachain-system/try-runtime',
@@ -180,6 +183,7 @@
app-promotion = []
collator-selection = []
foreign-assets = []
+preimage = []
refungible = []
scheduler = []
@@ -209,6 +213,7 @@
pallet-aura = { workspace = true }
pallet-authorship = { workspace = true }
pallet-balances = { workspace = true }
+pallet-preimage = { workspace = true }
pallet-randomness-collective-flip = { workspace = true }
pallet-session = { workspace = true }
pallet-sudo = { workspace = true }
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -82,7 +82,7 @@
"testSetOffchainSchema": "mocha --timeout 9999999 -r ts-node/register ./**/setOffchainSchema.test.ts",
"testNextSponsoring": "mocha --timeout 9999999 -r ts-node/register ./**/nextSponsoring.test.ts",
"testOverflow": "mocha --timeout 9999999 -r ts-node/register ./**/overflow.test.ts",
- "testMaintenance": "mocha --timeout 9999999 -r ts-node/register ./**/maintenanceMode.seqtest.ts",
+ "testMaintenance": "mocha --timeout 9999999 -r ts-node/register ./**/maintenance.seqtest.ts",
"testInflation": "mocha --timeout 9999999 -r ts-node/register ./**/inflation.seqtest.ts",
"testScheduler": "mocha --timeout 9999999 -r ts-node/register ./**/scheduler.seqtest.ts",
"testSchedulingEVM": "mocha --timeout 9999999 -r ts-node/register ./**/eth/scheduling.test.ts",
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -41,6 +41,18 @@
**/
[key: string]: Codec;
};
+ authorship: {
+ /**
+ * The number of blocks back we should accept uncles.
+ * This means that we will deal with uncle-parents that are
+ * `UncleGenerations + 1` before `now`.
+ **/
+ uncleGenerations: u32 & AugmentedConst<ApiType>;
+ /**
+ * Generic const
+ **/
+ [key: string]: Codec;
+ };
balances: {
/**
* The minimum amount required to keep an account open.
@@ -102,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
@@ -21,6 +21,10 @@
**/
IncorrectLockedBalanceOperation: AugmentedError<ApiType>;
/**
+ * Errors caused by insufficient staked balance.
+ **/
+ InsufficientStakedBalance: AugmentedError<ApiType>;
+ /**
* No permission to perform an action.
**/
NoPermission: AugmentedError<ApiType>;
@@ -41,6 +45,40 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ authorship: {
+ /**
+ * The uncle is genesis.
+ **/
+ GenesisUncle: AugmentedError<ApiType>;
+ /**
+ * The uncle parent not in the chain.
+ **/
+ InvalidUncleParent: AugmentedError<ApiType>;
+ /**
+ * The uncle isn't recent enough to be included.
+ **/
+ OldUncle: AugmentedError<ApiType>;
+ /**
+ * The uncle is too high in chain.
+ **/
+ TooHighUncle: AugmentedError<ApiType>;
+ /**
+ * Too many uncles.
+ **/
+ TooManyUncles: AugmentedError<ApiType>;
+ /**
+ * The uncle is already included.
+ **/
+ UncleAlreadyIncluded: AugmentedError<ApiType>;
+ /**
+ * Uncles already set in the block.
+ **/
+ UnclesAlreadySet: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
balances: {
/**
* Beneficiary account must pre-exist
@@ -79,6 +117,64 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ collatorSelection: {
+ /**
+ * User is already a candidate
+ **/
+ AlreadyCandidate: AugmentedError<ApiType>;
+ /**
+ * User already holds license to collate
+ **/
+ AlreadyHoldingLicense: AugmentedError<ApiType>;
+ /**
+ * User is already an Invulnerable
+ **/
+ AlreadyInvulnerable: AugmentedError<ApiType>;
+ /**
+ * Account has no associated validator ID
+ **/
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
+ /**
+ * User does not hold a license to collate
+ **/
+ NoLicense: AugmentedError<ApiType>;
+ /**
+ * User is not a candidate
+ **/
+ NotCandidate: AugmentedError<ApiType>;
+ /**
+ * User is not an Invulnerable
+ **/
+ NotInvulnerable: AugmentedError<ApiType>;
+ /**
+ * Permission issue
+ **/
+ Permission: AugmentedError<ApiType>;
+ /**
+ * Too few invulnerables
+ **/
+ TooFewInvulnerables: AugmentedError<ApiType>;
+ /**
+ * Too many candidates
+ **/
+ TooManyCandidates: AugmentedError<ApiType>;
+ /**
+ * Too many invulnerables
+ **/
+ TooManyInvulnerables: AugmentedError<ApiType>;
+ /**
+ * Unknown error
+ **/
+ Unknown: AugmentedError<ApiType>;
+ /**
+ * Validator ID is not yet registered
+ **/
+ ValidatorNotRegistered: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
common: {
/**
* Account token limit exceeded per collection
@@ -425,6 +521,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
@@ -549,145 +723,83 @@
**/
[key: string]: AugmentedError<ApiType>;
};
- refungible: {
+ preimage: {
/**
- * Not Refungible item data used to mint in Refungible collection.
+ * Preimage has already been noted on-chain.
**/
- NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
+ AlreadyNoted: AugmentedError<ApiType>;
/**
- * Refungible token can't nest other tokens.
+ * The user is not authorized to perform this action.
**/
- RefungibleDisallowsNesting: AugmentedError<ApiType>;
+ NotAuthorized: AugmentedError<ApiType>;
/**
- * Refungible token can't be repartitioned by user who isn't owns all pieces.
+ * The preimage cannot be removed since it has not yet been noted.
**/
- RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;
+ NotNoted: AugmentedError<ApiType>;
/**
- * Setting item properties is not allowed.
+ * The preimage request cannot be removed since no outstanding requests exist.
**/
- SettingPropertiesNotAllowed: AugmentedError<ApiType>;
+ NotRequested: AugmentedError<ApiType>;
/**
- * Maximum refungibility exceeded.
+ * A preimage may not be removed when there are outstanding requests.
**/
- WrongRefungiblePieces: AugmentedError<ApiType>;
+ Requested: AugmentedError<ApiType>;
/**
+ * Preimage is too large to store on-chain.
+ **/
+ TooBig: AugmentedError<ApiType>;
+ /**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
- rmrkCore: {
- /**
- * Not the target owner of the sent NFT.
- **/
- CannotAcceptNonOwnedNft: AugmentedError<ApiType>;
- /**
- * Not the target owner of the sent NFT.
- **/
- CannotRejectNonOwnedNft: AugmentedError<ApiType>;
- /**
- * NFT was not sent and is not pending.
- **/
- CannotRejectNonPendingNft: AugmentedError<ApiType>;
- /**
- * If an NFT is sent to a descendant, that would form a nesting loop, an ouroboros.
- * Sending to self is redundant.
- **/
- CannotSendToDescendentOrSelf: AugmentedError<ApiType>;
- /**
- * Too many tokens created in the collection, no new ones are allowed.
- **/
- CollectionFullOrLocked: AugmentedError<ApiType>;
- /**
- * Only destroying collections without tokens is allowed.
- **/
- CollectionNotEmpty: AugmentedError<ApiType>;
- /**
- * Collection does not exist, has a wrong type, or does not map to a Unique ID.
- **/
- CollectionUnknown: AugmentedError<ApiType>;
- /**
- * Property of the type of RMRK collection could not be read successfully.
- **/
- CorruptedCollectionType: AugmentedError<ApiType>;
- /**
- * Could not find an ID for a collection. It is likely there were too many collections created on the chain, causing an overflow.
- **/
- NoAvailableCollectionId: AugmentedError<ApiType>;
- /**
- * Token does not exist, or there is no suitable ID for it, likely too many tokens were created in a collection, causing an overflow.
- **/
- NoAvailableNftId: AugmentedError<ApiType>;
- /**
- * Could not find an ID for the resource. It is likely there were too many resources created on an NFT, causing an overflow.
- **/
- NoAvailableResourceId: AugmentedError<ApiType>;
- /**
- * Token is marked as non-transferable, and thus cannot be transferred.
- **/
- NonTransferable: AugmentedError<ApiType>;
+ refungible: {
/**
- * No permission to perform action.
- **/
- NoPermission: AugmentedError<ApiType>;
- /**
- * No such resource found.
+ * Not Refungible item data used to mint in Refungible collection.
**/
- ResourceDoesntExist: AugmentedError<ApiType>;
+ NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
/**
- * Resource is not pending for the operation.
+ * Refungible token can't nest other tokens.
**/
- ResourceNotPending: AugmentedError<ApiType>;
+ RefungibleDisallowsNesting: AugmentedError<ApiType>;
/**
- * Could not find a property by the supplied key.
+ * Refungible token can't be repartitioned by user who isn't owns all pieces.
**/
- RmrkPropertyIsNotFound: AugmentedError<ApiType>;
+ RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;
/**
- * Too many symbols supplied as the property key. The maximum is [256](up_data_structs::MAX_PROPERTY_KEY_LENGTH).
+ * Setting item properties is not allowed.
**/
- RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;
+ SettingPropertiesNotAllowed: AugmentedError<ApiType>;
/**
- * Too many bytes supplied as the property value. The maximum is [32768](up_data_structs::MAX_PROPERTY_VALUE_LENGTH).
+ * Maximum refungibility exceeded.
**/
- RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;
+ WrongRefungiblePieces: AugmentedError<ApiType>;
/**
- * Something went wrong when decoding encoded data from the storage.
- * Perhaps, there was a wrong key supplied for the type, or the data was improperly stored.
- **/
- UnableToDecodeRmrkData: AugmentedError<ApiType>;
- /**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
- rmrkEquip: {
+ session: {
/**
- * Base collection linked to this ID does not exist.
+ * Registered duplicate key.
**/
- BaseDoesntExist: AugmentedError<ApiType>;
- /**
- * No Theme named "default" is associated with the Base.
- **/
- NeedsDefaultThemeFirst: AugmentedError<ApiType>;
+ DuplicatedKey: AugmentedError<ApiType>;
/**
- * Could not find an ID for a Base collection. It is likely there were too many collections created on the chain, causing an overflow.
- **/
- NoAvailableBaseId: AugmentedError<ApiType>;
- /**
- * Could not find a suitable ID for a Part, likely too many Part tokens were created in the Base, causing an overflow
+ * Invalid ownership proof.
**/
- NoAvailablePartId: AugmentedError<ApiType>;
+ InvalidProof: AugmentedError<ApiType>;
/**
- * Cannot assign equippables to a fixed Part.
+ * Key setting account is not live, so it's impossible to associate keys.
**/
- NoEquippableOnFixedPart: AugmentedError<ApiType>;
+ NoAccount: AugmentedError<ApiType>;
/**
- * Part linked to this ID does not exist.
+ * No associated validator ID for account.
**/
- PartDoesntExist: AugmentedError<ApiType>;
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
/**
- * No permission to perform action.
+ * No keys are associated with this account.
**/
- PermissionError: AugmentedError<ApiType>;
+ NoKeys: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -699,6 +811,10 @@
**/
BreadthLimit: AugmentedError<ApiType>;
/**
+ * Tried to nest token under collection contract address, instead of token address
+ **/
+ CantNestTokenUnderCollection: AugmentedError<ApiType>;
+ /**
* While nesting, reached the depth limit of nesting, exceeding the provided budget.
**/
DepthLimit: AugmentedError<ApiType>;
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -8,7 +8,7 @@
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, SpRuntimeDispatchError, SpWeightsWeightV2Weight, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
+import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, SpRuntimeDispatchError, SpWeightsWeightV2Weight, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -100,6 +100,18 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ collatorSelection: {
+ CandidateAdded: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
+ CandidateRemoved: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
+ InvulnerableAdded: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
+ InvulnerableRemoved: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
+ LicenseObtained: AugmentedEvent<ApiType, [accountId: AccountId32, deposit: u128], { accountId: AccountId32, deposit: u128 }>;
+ LicenseReleased: AugmentedEvent<ApiType, [accountId: AccountId32, depositReturned: u128], { accountId: AccountId32, depositReturned: u128 }>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
common: {
/**
* Address was added to the allow list.
@@ -340,6 +352,65 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ identity: {
+ /**
+ * A number of identities and associated info were forcibly inserted.
+ **/
+ IdentitiesInserted: AugmentedEvent<ApiType, [amount: u32], { amount: u32 }>;
+ /**
+ * A number of identities and all associated info were forcibly removed.
+ **/
+ IdentitiesRemoved: AugmentedEvent<ApiType, [amount: u32], { amount: u32 }>;
+ /**
+ * 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 number of identities were forcibly updated with new sub-identities.
+ **/
+ SubIdentitiesInserted: AugmentedEvent<ApiType, [amount: u32], { amount: 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, []>;
@@ -506,30 +577,30 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
- rmrkCore: {
- CollectionCreated: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
- CollectionDestroyed: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
- CollectionLocked: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
- IssuerChanged: AugmentedEvent<ApiType, [oldIssuer: AccountId32, newIssuer: AccountId32, collectionId: u32], { oldIssuer: AccountId32, newIssuer: AccountId32, collectionId: u32 }>;
- NFTAccepted: AugmentedEvent<ApiType, [sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32], { sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32 }>;
- NFTBurned: AugmentedEvent<ApiType, [owner: AccountId32, nftId: u32], { owner: AccountId32, nftId: u32 }>;
- NftMinted: AugmentedEvent<ApiType, [owner: AccountId32, collectionId: u32, nftId: u32], { owner: AccountId32, collectionId: u32, nftId: u32 }>;
- NFTRejected: AugmentedEvent<ApiType, [sender: AccountId32, collectionId: u32, nftId: u32], { sender: AccountId32, collectionId: u32, nftId: u32 }>;
- NFTSent: AugmentedEvent<ApiType, [sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32, approvalRequired: bool], { sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32, approvalRequired: bool }>;
- PrioritySet: AugmentedEvent<ApiType, [collectionId: u32, nftId: u32], { collectionId: u32, nftId: u32 }>;
- PropertySet: AugmentedEvent<ApiType, [collectionId: u32, maybeNftId: Option<u32>, key: Bytes, value: Bytes], { collectionId: u32, maybeNftId: Option<u32>, key: Bytes, value: Bytes }>;
- ResourceAccepted: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
- ResourceAdded: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
- ResourceRemoval: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
- ResourceRemovalAccepted: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
+ preimage: {
+ /**
+ * A preimage has ben cleared.
+ **/
+ Cleared: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
+ /**
+ * A preimage has been noted.
+ **/
+ Noted: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
+ /**
+ * A preimage has been requested.
+ **/
+ Requested: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
- rmrkEquip: {
- BaseCreated: AugmentedEvent<ApiType, [issuer: AccountId32, baseId: u32], { issuer: AccountId32, baseId: u32 }>;
- EquippablesUpdated: AugmentedEvent<ApiType, [baseId: u32, slotId: u32], { baseId: u32, slotId: u32 }>;
+ session: {
+ /**
+ * New session has happened. Note that the argument is the session index, not the
+ * block number as the type might suggest.
+ **/
+ NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
/**
* Generic event
**/
@@ -707,6 +778,10 @@
**/
Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], { budgetRemaining: u128 }>;
/**
+ * The inactive funds of the pallet have been updated.
+ **/
+ UpdatedInactive: AugmentedEvent<ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128, deactivated: u128 }>;
+ /**
* Generic event
**/
[key: string]: 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, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, 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, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, 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>;
@@ -23,7 +24,7 @@
**/
admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
- * Stores amount of stakes for an `Account`.
+ * Pending unstake records for an `Account`.
*
* * **Key** - Staker account.
* * **Value** - Amount of stakes.
@@ -44,7 +45,7 @@
**/
staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
/**
- * Stores amount of stakes for an `Account`.
+ * Stores number of stake records for an `Account`.
*
* * **Key** - Staker account.
* * **Value** - Amount of stakes.
@@ -54,11 +55,30 @@
* Stores the total staked amount.
**/
totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
+ upgradedToReserves: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ authorship: {
+ /**
+ * Author of current block.
+ **/
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Whether uncles were already set in this block.
+ **/
+ didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Uncles
+ **/
+ uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
balances: {
/**
* The Balances pallet example of storing the balance of an account.
@@ -115,6 +135,28 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ collatorSelection: {
+ /**
+ * The (community, limited) collation candidates.
+ **/
+ candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * The invulnerable, fixed collators.
+ **/
+ invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Last block authored by collator.
+ **/
+ lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * The (community) collation license holders.
+ **/
+ licenseDepositOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
common: {
/**
* Storage of the amount of collection admins.
@@ -267,6 +309,9 @@
* * **Value** - owner for contract.
**/
owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Deprecated: this storage is deprecated
+ **/
selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;
/**
@@ -366,6 +411,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
@@ -425,7 +502,7 @@
* usual [`TokenProperties`] due to an unlimited number
* and separately stored and written-to key-value pairs.
*
- * Currently used to store RMRK data.
+ * Currently unused.
**/
tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
/**
@@ -602,6 +679,17 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ preimage: {
+ preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
+ /**
+ * The request status of a given hash.
+ **/
+ statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
randomnessCollectiveFlip: {
/**
* Series of block headers from the last 81 blocks that acts as random seed material. This
@@ -628,7 +716,7 @@
**/
balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
/**
- * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.
+ * Spender set by a wallet owner that could perform certain transactions on all tokens in the wallet.
**/
collectionAllowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
/**
@@ -656,29 +744,41 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
- rmrkCore: {
+ session: {
/**
- * Latest yet-unused collection ID.
+ * Current index of the session.
**/
- collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
- * Mapping from RMRK collection ID to Unique's.
+ * Indices of disabled validators.
+ *
+ * The vec is always kept sorted so that we can find whether a given validator is
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
+ * a new set of identities.
**/
- uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
- * Generic query
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
+ **/
+ keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
+ /**
+ * The next session keys for a validator.
+ **/
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<OpalRuntimeRuntimeCommonSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * True if the underlying economic identities or weighting behind the validators
+ * has changed in the queued validator set.
**/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
- rmrkEquip: {
+ queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
/**
- * Checkmark that a Base has a Theme NFT named "default".
+ * The queued keys for the next session. When the next session begins, these keys
+ * will be used to determine the validator's session keys.
**/
- baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, OpalRuntimeRuntimeCommonSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
- * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part.
+ * The current set of validators.
**/
- inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
+ validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -852,7 +952,7 @@
/**
* The amount which has been reported as inactive to Currency.
**/
- inactive: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
+ deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of proposals that have been made.
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/rpc-core/types/jsonrpc';
-import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo } from './default';
+import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo } from './default';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';
@@ -26,7 +26,7 @@
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
-import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
+import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
@@ -441,60 +441,6 @@
* Estimate PoV size of encoded signed extrinsics
**/
estimateExtrinsicPoV: AugmentedRpc<(encodedXt: Vec<Bytes> | (Bytes | string | Uint8Array)[], at?: Hash | string | Uint8Array) => Observable<UpPovEstimateRpcPovInfo>>;
- };
- rmrk: {
- /**
- * Get tokens owned by an account in a collection
- **/
- accountTokens: AugmentedRpc<(accountId: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;
- /**
- * Get base info
- **/
- base: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsBaseBaseInfo>>>;
- /**
- * Get all Base's parts
- **/
- baseParts: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsPartPartType>>>;
- /**
- * Get collection by id
- **/
- collectionById: AugmentedRpc<(id: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsCollectionCollectionInfo>>>;
- /**
- * Get collection properties
- **/
- collectionProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsPropertyPropertyInfo>>>;
- /**
- * Get the latest created collection id
- **/
- lastCollectionIdx: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<u32>>;
- /**
- * Get NFT by collection id and NFT id
- **/
- nftById: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsNftNftInfo>>>;
- /**
- * Get NFT children
- **/
- nftChildren: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsNftNftChild>>>;
- /**
- * Get NFT properties
- **/
- nftProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, filterKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsPropertyPropertyInfo>>>;
- /**
- * Get NFT resource priorities
- **/
- nftResourcePriority: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u32>>>;
- /**
- * Get NFT resources
- **/
- nftResources: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<RmrkTraitsResourceResourceInfo>>>;
- /**
- * Get Base's theme names
- **/
- themeNames: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<Bytes>>>;
- /**
- * Get Theme's keys values
- **/
- themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | Uint8Array | Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsTheme>>>;
};
rpc: {
/**
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -6,10 +6,11 @@
import '@polkadot/api-base/types/submittable';
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
+import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
-import type { AccountId32, Call, H160, H256, MultiAddress, Permill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { AccountId32, Call, H160, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -109,11 +110,31 @@
stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
/**
* Unstakes all stakes.
- * Moves the sum of all stakes to the `reserved` state.
* After the end of `PendingInterval` this sum becomes completely
* free for further use.
**/
- unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ unstakeAll: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Unstakes the amount of balance for the staker.
+ * After the end of `PendingInterval` this sum becomes completely
+ * free for further use.
+ *
+ * # Arguments
+ *
+ * * `staker`: staker account.
+ * * `amount`: amount of unstaked funds.
+ **/
+ unstakePartial: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
+ authorship: {
+ /**
+ * Provide a set of uncles.
+ **/
+ setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;
/**
* Generic tx
**/
@@ -214,6 +235,54 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ collatorSelection: {
+ /**
+ * Add a collator to the list of invulnerable (fixed) collators.
+ **/
+ addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ /**
+ * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.
+ * Note that the collator can only leave on session change.
+ * The `LicenseBond` will be unreserved and returned immediately.
+ *
+ * This call is, of course, not applicable to `Invulnerable` collators.
+ **/
+ forceReleaseLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ /**
+ * Purchase a license on block collation for this account.
+ * It does not make it a collator candidate, use `onboard` afterward. The account must
+ * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.
+ *
+ * This call is not available to `Invulnerable` collators.
+ **/
+ getLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Deregister `origin` as a collator candidate. Note that the collator can only leave on
+ * session change. The license to `onboard` later at any other time will remain.
+ **/
+ offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Register this account as a candidate for collators for next sessions.
+ * The account must already hold a license, and cannot offboard immediately during a session.
+ *
+ * This call is not available to `Invulnerable` collators.
+ **/
+ onboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.
+ *
+ * This call is not available to `Invulnerable` collators.
+ **/
+ releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Remove a collator from the list of invulnerable (fixed) collators.
+ **/
+ removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
configuration: {
setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;
setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
@@ -308,6 +377,10 @@
**/
insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
/**
+ * Remove remark compatibility data leftovers
+ **/
+ removeRmrkData: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
* Insert items into contract storage, this method can be called
* multiple times
**/
@@ -325,6 +398,298 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ identity: {
+ /**
+ * Add a registrar to the system.
+ *
+ * The dispatch origin for this call must be `T::RegistrarOrigin`.
+ *
+ * - `account`: the account of the registrar.
+ *
+ * Emits `RegistrarAdded` if successful.
+ *
+ * # <weight>
+ * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded).
+ * - One storage mutation (codec `O(R)`).
+ * - One event.
+ * # </weight>
+ **/
+ addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
+ /**
+ * Add the given account to the sender's subs.
+ *
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
+ * to the sender.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * sub identity of `sub`.
+ **/
+ 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]>;
+ /**
+ * Cancel a previous request.
+ *
+ * Payment: A previously reserved deposit is returned on success.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a
+ * registered identity.
+ *
+ * - `reg_index`: The index of the registrar whose judgement is no longer requested.
+ *
+ * Emits `JudgementUnrequested` if successful.
+ *
+ * # <weight>
+ * - `O(R + X)`.
+ * - One balance-reserve operation.
+ * - One storage mutation `O(R + X)`.
+ * - One event
+ * # </weight>
+ **/
+ cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Clear an account's identity info and all sub-accounts and return all deposits.
+ *
+ * Payment: All reserved balances on the account are returned.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * identity.
+ *
+ * Emits `IdentityCleared` if successful.
+ *
+ * # <weight>
+ * - `O(R + S + X)`
+ * - where `R` registrar-count (governance-bounded).
+ * - where `S` subs-count (hard- and deposit-bounded).
+ * - where `X` additional-field-count (deposit-bounded and code-bounded).
+ * - One balance-unreserve operation.
+ * - `2` storage reads and `S + 2` storage deletions.
+ * - One event.
+ * # </weight>
+ **/
+ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Set identities to be associated with the provided accounts as force origin.
+ *
+ * This is not meant to operate in tandem with the identity pallet as is,
+ * and be instead used to keep identities made and verified externally,
+ * forbidden from interacting with an ordinary user, since it ignores any safety mechanism.
+ **/
+ forceInsertIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>> | ([AccountId32 | string | Uint8Array, PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>]>;
+ /**
+ * Remove identities associated with the provided accounts as force origin.
+ *
+ * This is not meant to operate in tandem with the identity pallet as is,
+ * and be instead used to keep identities made and verified externally,
+ * forbidden from interacting with an ordinary user, since it ignores any safety mechanism.
+ **/
+ forceRemoveIdentities: AugmentedSubmittable<(identities: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
+ /**
+ * Set sub-identities to be associated with the provided accounts as force origin.
+ *
+ * This is not meant to operate in tandem with the identity pallet as is,
+ * and be instead used to keep identities made and verified externally,
+ * forbidden from interacting with an ordinary user, since it ignores any safety mechanism.
+ **/
+ forceSetSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>> | ([AccountId32 | string | Uint8Array, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]> | [u128 | AnyNumber | Uint8Array, 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, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>>]>;
+ /**
+ * Remove an account's identity and sub-account information and slash the deposits.
+ *
+ * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
+ * `Slash`. Verification request deposits are not returned; they should be cancelled
+ * manually using `cancel_request`.
+ *
+ * The dispatch origin for this call must match `T::ForceOrigin`.
+ *
+ * - `target`: the account whose identity the judgement is upon. This must be an account
+ * with a registered identity.
+ *
+ * Emits `IdentityKilled` if successful.
+ *
+ * # <weight>
+ * - `O(R + S + X)`.
+ * - One balance-reserve operation.
+ * - `S + 2` storage mutations.
+ * - One event.
+ * # </weight>
+ **/
+ killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
+ /**
+ * Provide a judgement for an account's identity.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must be the account
+ * of the registrar whose index is `reg_index`.
+ *
+ * - `reg_index`: the index of the registrar whose judgement is being made.
+ * - `target`: the account whose identity the judgement is upon. This must be an account
+ * with a registered identity.
+ * - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
+ * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.
+ *
+ * Emits `JudgementGiven` if successful.
+ *
+ * # <weight>
+ * - `O(R + X)`.
+ * - One balance-transfer operation.
+ * - Up to one account-lookup operation.
+ * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`.
+ * - One event.
+ * # </weight>
+ **/
+ provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
+ /**
+ * Remove the sender as a sub-account.
+ *
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
+ * to the sender (*not* the original depositor).
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * super-identity.
+ *
+ * NOTE: This should not normally be used, but is provided in the case that the non-
+ * controller of an account is maliciously registered as a sub-account.
+ **/
+ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Remove the given account from the sender's subs.
+ *
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
+ * to the sender.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * sub identity of `sub`.
+ **/
+ removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
+ /**
+ * Alter the associated name of the given sub-account.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * sub identity of `sub`.
+ **/
+ renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
+ /**
+ * Request a judgement from a registrar.
+ *
+ * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement
+ * given.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a
+ * registered identity.
+ *
+ * - `reg_index`: The index of the registrar whose judgement is requested.
+ * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
+ *
+ * ```nocompile
+ * Self::registrars().get(reg_index).unwrap().fee
+ * ```
+ *
+ * Emits `JudgementRequested` if successful.
+ *
+ * # <weight>
+ * - `O(R + X)`.
+ * - One balance-reserve operation.
+ * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`.
+ * - One event.
+ * # </weight>
+ **/
+ requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
+ /**
+ * Change the account associated with a registrar.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must be the account
+ * of the registrar whose index is `index`.
+ *
+ * - `index`: the index of the registrar whose fee is to be set.
+ * - `new`: the new account ID.
+ *
+ * # <weight>
+ * - `O(R)`.
+ * - One storage mutation `O(R)`.
+ * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
+ * # </weight>
+ **/
+ setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
+ /**
+ * Set the fee required for a judgement to be requested from a registrar.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must be the account
+ * of the registrar whose index is `index`.
+ *
+ * - `index`: the index of the registrar whose fee is to be set.
+ * - `fee`: the new fee.
+ *
+ * # <weight>
+ * - `O(R)`.
+ * - One storage mutation `O(R)`.
+ * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis)
+ * # </weight>
+ **/
+ setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
+ /**
+ * Set the field information for a registrar.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must be the account
+ * of the registrar whose index is `index`.
+ *
+ * - `index`: the index of the registrar whose fee is to be set.
+ * - `fields`: the fields that the registrar concerns themselves with.
+ *
+ * # <weight>
+ * - `O(R)`.
+ * - One storage mutation `O(R)`.
+ * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis)
+ * # </weight>
+ **/
+ setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;
+ /**
+ * Set an account's identity information and reserve the appropriate deposit.
+ *
+ * If the account already has identity information, the deposit is taken as part payment
+ * for the new deposit.
+ *
+ * The dispatch origin for this call must be _Signed_.
+ *
+ * - `info`: The identity information.
+ *
+ * Emits `IdentitySet` if successful.
+ *
+ * # <weight>
+ * - `O(X + X' + R)`
+ * - where `X` additional-field-count (deposit-bounded and code-bounded)
+ * - where `R` judgements-count (registrar-count-bounded)
+ * - One balance reserve operation.
+ * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`).
+ * - One event.
+ * # </weight>
+ **/
+ setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityIdentityInfo]>;
+ /**
+ * Set the sub-accounts of the sender.
+ *
+ * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned
+ * and an amount `SubAccountDeposit` will be reserved for each item in `subs`.
+ *
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
+ * identity.
+ *
+ * - `subs`: The identity's (new) sub-accounts.
+ *
+ * # <weight>
+ * - `O(P + S)`
+ * - where `P` old-subs-count (hard- and deposit-bounded).
+ * - where `S` subs-count (hard- and deposit-bounded).
+ * - At most one balance operations.
+ * - DB:
+ * - `P + S` storage mutations (codec complexity `O(1)`)
+ * - One storage read (codec complexity `O(P)`).
+ * - One storage write (codec complexity `O(S)`).
+ * - One storage-exists (`IdentityOf::contains_key`).
+ * # </weight>
+ **/
+ setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
inflation: {
/**
* This method sets the inflation start date. Can be only called once.
@@ -349,6 +714,13 @@
disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
+ * Execute a runtime call stored as a preimage.
+ *
+ * `weight_bound` is the maximum weight that the caller is willing
+ * to allow the extrinsic to be executed with.
+ **/
+ executePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array, weightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SpWeightsWeightV2Weight]>;
+ /**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
@@ -506,337 +878,78 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
- rmrkCore: {
- /**
- * Accept an NFT sent from another account to self or an owned NFT.
- *
- * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.
- *
- * # Permissions:
- * - Token-owner-to-be
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.
- * - `rmrk_nft_id`: ID of the NFT to be accepted.
- * - `new_owner`: Either the sender's account ID or a sender-owned NFT,
- * whichever the accepted NFT was sent to.
- **/
- acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
- /**
- * Accept the addition of a newly created pending resource to an existing NFT.
- *
- * This transaction is needed when a resource is created and assigned to an NFT
- * by a non-owner, i.e. the collection issuer, with one of the
- * [`add_...` transactions](Pallet::add_basic_resource).
- *
- * # Permissions:
- * - Token owner
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK collection ID of the NFT.
- * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.
- * - `resource_id`: ID of the newly created pending resource.
- * accept the addition of a new resource to an existing NFT
- **/
- acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
- /**
- * Accept the removal of a removal-pending resource from an NFT.
- *
- * This transaction is needed when a non-owner, i.e. the collection issuer,
- * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.
- *
- * # Permissions:
- * - Token owner
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK collection ID of the NFT.
- * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.
- * - `resource_id`: ID of the removal-pending resource.
- **/
- acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
- /**
- * Create and set/propose a basic resource for an NFT.
- *
- * A basic resource is the simplest, lacking a Base and anything that comes with it.
- * See RMRK docs for more information and examples.
- *
- * # Permissions:
- * - Collection issuer - if not the token owner, adding the resource will warrant
- * the owner's [acceptance](Pallet::accept_resource).
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK collection ID of the NFT.
- * - `nft_id`: ID of the NFT to assign a resource to.
- * - `resource`: Data of the resource to be created.
- **/
- 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]>;
- /**
- * Create and set/propose a composable resource for an NFT.
- *
- * A composable resource links to a Base and has a subset of its Parts it is composed of.
- * See RMRK docs for more information and examples.
- *
- * # Permissions:
- * - Collection issuer - if not the token owner, adding the resource will warrant
- * the owner's [acceptance](Pallet::accept_resource).
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK collection ID of the NFT.
- * - `nft_id`: ID of the NFT to assign a resource to.
- * - `resource`: Data of the resource to be created.
- **/
- 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]>;
+ preimage: {
/**
- * Create and set/propose a slot resource for an NFT.
- *
- * A slot resource links to a Base and a slot ID in it which it can fit into.
- * See RMRK docs for more information and examples.
- *
- * # Permissions:
- * - Collection issuer - if not the token owner, adding the resource will warrant
- * the owner's [acceptance](Pallet::accept_resource).
+ * Register a preimage on-chain.
*
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK collection ID of the NFT.
- * - `nft_id`: ID of the NFT to assign a resource to.
- * - `resource`: Data of the resource to be created.
+ * If the preimage was previously requested, no fees or deposits are taken for providing
+ * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.
**/
- 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]>;
- /**
- * Burn an NFT, destroying it and its nested tokens up to the specified limit.
- * If the burning budget is exceeded, the transaction is reverted.
- *
- * This is the way to burn a nested token as well.
- *
- * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).
- *
- * # Permissions:
- * * Token owner
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.
- * - `nft_id`: ID of the NFT to be destroyed.
- * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction
- * is reverted if there are more tokens to burn in the nesting tree than this number.
- * This is primarily a mechanism of transaction weight control.
- **/
- burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
- * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).
+ * Request a preimage be uploaded to the chain without paying any fees or deposits.
*
- * # Permissions:
- * * Collection issuer
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `collection_id`: RMRK collection ID to change the issuer of.
- * - `new_issuer`: Collection's new issuer.
+ * If the preimage requests has already been provided on-chain, we unreserve any deposit
+ * a user may have paid, and take the control of the preimage out of their hands.
**/
- changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
+ requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/**
- * Create a new collection of NFTs.
+ * Clear an unrequested preimage from the runtime storage.
*
- * # Permissions:
- * * Anyone - will be assigned as the issuer of the collection.
+ * If `len` is provided, then it will be a much cheaper operation.
*
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.
- * - `max`: Optional maximum number of tokens.
- * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.
- * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.
+ * - `hash`: The hash of the preimage to be removed from the store.
+ * - `len`: The length of the preimage of `hash`.
**/
- createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;
+ unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/**
- * Destroy a collection.
- *
- * Only empty collections can be destroyed. If it has any tokens, they must be burned first.
+ * Clear a previously made request for a preimage.
*
- * # Permissions:
- * * Collection issuer
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `collection_id`: RMRK ID of the collection to destroy.
+ * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
**/
- destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- /**
- * "Lock" the collection and prevent new token creation. Cannot be undone.
- *
- * # Permissions:
- * * Collection issuer
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `collection_id`: RMRK ID of the collection to lock.
- **/
- lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- /**
- * Mint an NFT in a specified collection.
- *
- * # Permissions:
- * * Collection issuer
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).
- * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.
- * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.
- * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.
- * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.
- * - `transferable`: Can this NFT be transferred? Cannot be changed.
- * - `resources`: Resource data to be added to the NFT immediately after minting.
- **/
- 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>>]>;
- /**
- * Reject an NFT sent from another account to self or owned NFT.
- * The NFT in question will not be sent back and burnt instead.
- *
- * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.
- *
- * # Permissions:
- * - Token-owner-to-be-not
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.
- * - `rmrk_nft_id`: ID of the NFT to be rejected.
- **/
- rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
- /**
- * Remove and erase a resource from an NFT.
- *
- * If the sender does not own the NFT, then it will be pending confirmation,
- * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.
- *
- * # Permissions
- * - Collection issuer
- *
- * # Arguments
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.
- * - `nft_id`: ID of the NFT with a resource to be removed.
- * - `resource_id`: ID of the resource to be removed.
- **/
- removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
- /**
- * Transfer an NFT from an account/NFT A to another account/NFT B.
- * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].
- *
- * If the target owner is an NFT owned by another account, then the NFT will enter
- * the pending state and will have to be accepted by the other account.
- *
- * # Permissions:
- * - Token owner
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.
- * - `rmrk_nft_id`: ID of the NFT to be transferred.
- * - `new_owner`: New owner of the nft which can be either an account or a NFT.
- **/
- send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
+ unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/**
- * Set a different order of resource priorities for an NFT. Priorities can be used,
- * for example, for order of rendering.
- *
- * Note that the priorities are not updated automatically, and are an empty vector
- * by default. There is no pre-set definition for the order to be particular,
- * it can be interpreted arbitrarily use-case by use-case.
- *
- * # Permissions:
- * - Token owner
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK collection ID of the NFT.
- * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.
- * - `priorities`: Ordered vector of resource IDs.
- **/
- setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;
- /**
- * Add or edit a custom user property, a key-value pair, describing the metadata
- * of a token or a collection, on either one of these.
- *
- * Note that in this proxy implementation many details regarding RMRK are stored
- * as scoped properties prefixed with "rmrk:", normally inaccessible
- * to external transactions and RPCs.
- *
- * # Permissions:
- * - Collection issuer - in case of collection property
- * - Token owner - in case of NFT property
- *
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `rmrk_collection_id`: RMRK collection ID.
- * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.
- * - `key`: Key of the custom property to be referenced by.
- * - `value`: Value of the custom property to be stored.
- **/
- 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]>;
- /**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
- rmrkEquip: {
+ session: {
/**
- * Create a new Base.
+ * Removes any session key(s) of the function caller.
*
- * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)
+ * This doesn't take effect until the next session.
*
- * # Permissions
- * - Anyone - will be assigned as the issuer of the Base.
- *
- * # Arguments:
- * - `origin`: Caller, will be assigned as the issuer of the Base
- * - `base_type`: Arbitrary media type, e.g. "svg".
- * - `symbol`: Arbitrary client-chosen symbol.
- * - `parts`: Array of Fixed and Slot Parts composing the Base,
- * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).
- **/
- 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>]>;
- /**
- * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.
- *
- * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).
- *
- * # Permissions:
- * - Base issuer
+ * The dispatch origin of this function must be Signed and the account must be either be
+ * convertible to a validator ID using the chain's typical addressing system (this usually
+ * means being a controller account) or directly convertible into a validator ID (which
+ * usually means being a stash account).
*
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `base_id`: Base containing the Slot Part to be updated.
- * - `slot_id`: Slot Part whose Equippable List is being updated .
- * - `equippables`: List of equippables that will override the current Equippables list.
+ * # <weight>
+ * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length
+ * of `T::Keys::key_ids()` which is fixed.
+ * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`
+ * - DbWrites: `NextKeys`, `origin account`
+ * - DbWrites per key id: `KeyOwner`
+ * # </weight>
**/
- 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]>;
+ purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
- * Add a Theme to a Base.
- * A Theme named "default" is required prior to adding other Themes.
- *
- * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).
+ * Sets the session key(s) of the function caller to `keys`.
+ * Allows an account to set its session key prior to becoming a validator.
+ * This doesn't take effect until the next session.
*
- * # Permissions:
- * - Base issuer
+ * The dispatch origin of this function must be signed.
*
- * # Arguments:
- * - `origin`: sender of the transaction
- * - `base_id`: Base ID containing the Theme to be updated.
- * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an
- * array of [key, value, inherit].
- * - `key`: Arbitrary BoundedString, defined by client.
- * - `value`: Arbitrary BoundedString, defined by client.
- * - `inherit`: Optional bool.
+ * # <weight>
+ * - Complexity: `O(1)`. Actual cost depends on the number of length of
+ * `T::Keys::key_ids()` which is fixed.
+ * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`
+ * - DbWrites: `origin account`, `NextKeys`
+ * - DbReads per key id: `KeyOwner`
+ * - DbWrites per key id: `KeyOwner`
+ * # </weight>
**/
- themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;
+ setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;
/**
* Generic tx
**/
@@ -1328,6 +1441,10 @@
* * `token_prefix`: Byte string containing the token prefix to mark a collection
* to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).
* * `mode`: Type of items stored in the collection and type dependent data.
+ *
+ * returns collection ID
+ *
+ * Deprecated: `create_collection_ex` is more up-to-date and advanced, prefer it instead.
**/
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]>;
/**
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, 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, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, 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, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRefungibleError, 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, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -774,6 +774,7 @@
OpalRuntimeRuntime: OpalRuntimeRuntime;
OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
+ OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OpaqueCall: OpaqueCall;
OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof;
OpaqueMetadata: OpaqueMetadata;
@@ -818,6 +819,9 @@
PalletAppPromotionCall: PalletAppPromotionCall;
PalletAppPromotionError: PalletAppPromotionError;
PalletAppPromotionEvent: PalletAppPromotionEvent;
+ PalletAuthorshipCall: PalletAuthorshipCall;
+ PalletAuthorshipError: PalletAuthorshipError;
+ PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
@@ -827,6 +831,9 @@
PalletBalancesReserveData: PalletBalancesReserveData;
PalletCallMetadataLatest: PalletCallMetadataLatest;
PalletCallMetadataV14: PalletCallMetadataV14;
+ PalletCollatorSelectionCall: PalletCollatorSelectionCall;
+ PalletCollatorSelectionError: PalletCollatorSelectionError;
+ PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
@@ -862,6 +869,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;
@@ -870,13 +886,14 @@
PalletMetadataV14: PalletMetadataV14;
PalletNonfungibleError: PalletNonfungibleError;
PalletNonfungibleItemData: PalletNonfungibleItemData;
+ PalletPreimageCall: PalletPreimageCall;
+ PalletPreimageError: PalletPreimageError;
+ PalletPreimageEvent: PalletPreimageEvent;
+ PalletPreimageRequestStatus: PalletPreimageRequestStatus;
PalletRefungibleError: PalletRefungibleError;
- PalletRmrkCoreCall: PalletRmrkCoreCall;
- PalletRmrkCoreError: PalletRmrkCoreError;
- PalletRmrkCoreEvent: PalletRmrkCoreEvent;
- PalletRmrkEquipCall: PalletRmrkEquipCall;
- PalletRmrkEquipError: PalletRmrkEquipError;
- PalletRmrkEquipEvent: PalletRmrkEquipEvent;
+ PalletSessionCall: PalletSessionCall;
+ PalletSessionError: PalletSessionError;
+ PalletSessionEvent: PalletSessionEvent;
PalletsOrigin: PalletsOrigin;
PalletStorageMetadataLatest: PalletStorageMetadataLatest;
PalletStorageMetadataV14: PalletStorageMetadataV14;
@@ -1036,24 +1053,6 @@
Retriable: Retriable;
RewardDestination: RewardDestination;
RewardPoint: RewardPoint;
- RmrkTraitsBaseBaseInfo: RmrkTraitsBaseBaseInfo;
- RmrkTraitsCollectionCollectionInfo: RmrkTraitsCollectionCollectionInfo;
- RmrkTraitsNftAccountIdOrCollectionNftTuple: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- RmrkTraitsNftNftChild: RmrkTraitsNftNftChild;
- RmrkTraitsNftNftInfo: RmrkTraitsNftNftInfo;
- RmrkTraitsNftRoyaltyInfo: RmrkTraitsNftRoyaltyInfo;
- RmrkTraitsPartEquippableList: RmrkTraitsPartEquippableList;
- RmrkTraitsPartFixedPart: RmrkTraitsPartFixedPart;
- RmrkTraitsPartPartType: RmrkTraitsPartPartType;
- RmrkTraitsPartSlotPart: RmrkTraitsPartSlotPart;
- RmrkTraitsPropertyPropertyInfo: RmrkTraitsPropertyPropertyInfo;
- RmrkTraitsResourceBasicResource: RmrkTraitsResourceBasicResource;
- RmrkTraitsResourceComposableResource: RmrkTraitsResourceComposableResource;
- RmrkTraitsResourceResourceInfo: RmrkTraitsResourceResourceInfo;
- RmrkTraitsResourceResourceTypes: RmrkTraitsResourceResourceTypes;
- RmrkTraitsResourceSlotResource: RmrkTraitsResourceSlotResource;
- RmrkTraitsTheme: RmrkTraitsTheme;
- RmrkTraitsThemeThemeProperty: RmrkTraitsThemeThemeProperty;
RoundSnapshot: RoundSnapshot;
RoundState: RoundState;
RpcMethods: RpcMethods;
@@ -1176,14 +1175,19 @@
SolutionSupports: SolutionSupports;
SpanIndex: SpanIndex;
SpanRecord: SpanRecord;
+ SpArithmeticArithmeticError: SpArithmeticArithmeticError;
+ SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
+ SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId;
SpCoreEcdsaSignature: SpCoreEcdsaSignature;
SpCoreEd25519Signature: SpCoreEd25519Signature;
+ SpCoreSr25519Public: SpCoreSr25519Public;
SpCoreSr25519Signature: SpCoreSr25519Signature;
SpecVersion: SpecVersion;
- SpRuntimeArithmeticError: SpRuntimeArithmeticError;
+ SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
SpRuntimeDigest: SpRuntimeDigest;
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
SpRuntimeDispatchError: SpRuntimeDispatchError;
+ SpRuntimeHeader: SpRuntimeHeader;
SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1,9 +1,10 @@
// 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';
+import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
/** @name CumulusPalletDmpQueueCall */
@@ -441,6 +442,7 @@
readonly isOther: boolean;
readonly asOther: Text;
readonly isInvalidCode: boolean;
+ readonly asInvalidCode: u8;
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
@@ -698,6 +700,11 @@
/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
+/** @name OpalRuntimeRuntimeCommonSessionKeys */
+export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
+ readonly aura: SpConsensusAuraSr25519AppSr25519Public;
+}
+
/** @name OrmlTokensAccountData */
export interface OrmlTokensAccountData extends Struct {
readonly free: u128;
@@ -1007,7 +1014,7 @@
readonly asStake: {
readonly amount: u128;
} & Struct;
- readonly isUnstake: boolean;
+ readonly isUnstakeAll: boolean;
readonly isSponsorCollection: boolean;
readonly asSponsorCollection: {
readonly collectionId: u32;
@@ -1028,7 +1035,11 @@
readonly asPayoutStakers: {
readonly stakersNumber: Option<u8>;
} & Struct;
- readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
+ readonly isUnstakePartial: boolean;
+ readonly asUnstakePartial: {
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial';
}
/** @name PalletAppPromotionError */
@@ -1039,7 +1050,8 @@
readonly isPendingForBlockOverflow: boolean;
readonly isSponsorNotSet: boolean;
readonly isIncorrectLockedBalanceOperation: boolean;
- readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
+ readonly isInsufficientStakedBalance: boolean;
+ readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation' | 'InsufficientStakedBalance';
}
/** @name PalletAppPromotionEvent */
@@ -1055,6 +1067,36 @@
readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
}
+/** @name PalletAuthorshipCall */
+export interface PalletAuthorshipCall extends Enum {
+ readonly isSetUncles: boolean;
+ readonly asSetUncles: {
+ readonly newUncles: Vec<SpRuntimeHeader>;
+ } & Struct;
+ readonly type: 'SetUncles';
+}
+
+/** @name PalletAuthorshipError */
+export interface PalletAuthorshipError extends Enum {
+ readonly isInvalidUncleParent: boolean;
+ readonly isUnclesAlreadySet: boolean;
+ readonly isTooManyUncles: boolean;
+ readonly isGenesisUncle: boolean;
+ readonly isTooHighUncle: boolean;
+ readonly isUncleAlreadyIncluded: boolean;
+ readonly isOldUncle: boolean;
+ readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
+}
+
+/** @name PalletAuthorshipUncleEntryItem */
+export interface PalletAuthorshipUncleEntryItem extends Enum {
+ readonly isInclusionHeight: boolean;
+ readonly asInclusionHeight: u32;
+ readonly isUncle: boolean;
+ readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
+ readonly type: 'InclusionHeight' | 'Uncle';
+}
+
/** @name PalletBalancesAccountData */
export interface PalletBalancesAccountData extends Struct {
readonly free: u128;
@@ -1193,6 +1235,76 @@
readonly amount: u128;
}
+/** @name PalletCollatorSelectionCall */
+export interface PalletCollatorSelectionCall extends Enum {
+ readonly isAddInvulnerable: boolean;
+ readonly asAddInvulnerable: {
+ readonly new_: AccountId32;
+ } & Struct;
+ readonly isRemoveInvulnerable: boolean;
+ readonly asRemoveInvulnerable: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly isGetLicense: boolean;
+ readonly isOnboard: boolean;
+ readonly isOffboard: boolean;
+ readonly isReleaseLicense: boolean;
+ readonly isForceReleaseLicense: boolean;
+ readonly asForceReleaseLicense: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';
+}
+
+/** @name PalletCollatorSelectionError */
+export interface PalletCollatorSelectionError extends Enum {
+ readonly isTooManyCandidates: boolean;
+ readonly isUnknown: boolean;
+ readonly isPermission: boolean;
+ readonly isAlreadyHoldingLicense: boolean;
+ readonly isNoLicense: boolean;
+ readonly isAlreadyCandidate: boolean;
+ readonly isNotCandidate: boolean;
+ readonly isTooManyInvulnerables: boolean;
+ readonly isTooFewInvulnerables: boolean;
+ readonly isAlreadyInvulnerable: boolean;
+ readonly isNotInvulnerable: boolean;
+ readonly isNoAssociatedValidatorId: boolean;
+ readonly isValidatorNotRegistered: boolean;
+ readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
+}
+
+/** @name PalletCollatorSelectionEvent */
+export interface PalletCollatorSelectionEvent extends Enum {
+ readonly isInvulnerableAdded: boolean;
+ readonly asInvulnerableAdded: {
+ readonly invulnerable: AccountId32;
+ } & Struct;
+ readonly isInvulnerableRemoved: boolean;
+ readonly asInvulnerableRemoved: {
+ readonly invulnerable: AccountId32;
+ } & Struct;
+ readonly isLicenseObtained: boolean;
+ readonly asLicenseObtained: {
+ readonly accountId: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isLicenseReleased: boolean;
+ readonly asLicenseReleased: {
+ readonly accountId: AccountId32;
+ readonly depositReturned: u128;
+ } & Struct;
+ readonly isCandidateAdded: boolean;
+ readonly asCandidateAdded: {
+ readonly accountId: AccountId32;
+ } & Struct;
+ readonly isCandidateRemoved: boolean;
+ readonly asCandidateRemoved: {
+ readonly accountId: AccountId32;
+ } & Struct;
+ readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';
+}
+
/** @name PalletCommonError */
export interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
@@ -1532,7 +1644,8 @@
readonly asInsertEvents: {
readonly events: Vec<Bytes>;
} & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
+ readonly isRemoveRmrkData: boolean;
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData';
}
/** @name PalletEvmMigrationError */
@@ -1638,6 +1751,243 @@
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 isForceInsertIdentities: boolean;
+ readonly asForceInsertIdentities: {
+ readonly identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>;
+ } & Struct;
+ readonly isForceRemoveIdentities: boolean;
+ readonly asForceRemoveIdentities: {
+ readonly identities: Vec<AccountId32>;
+ } & Struct;
+ readonly isForceSetSubs: boolean;
+ readonly asForceSetSubs: {
+ readonly subs: Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>>;
+ } & Struct;
+ readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities' | 'ForceSetSubs';
+}
+
+/** @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 isIdentitiesInserted: boolean;
+ readonly asIdentitiesInserted: {
+ readonly amount: u32;
+ } & Struct;
+ readonly isIdentitiesRemoved: boolean;
+ readonly asIdentitiesRemoved: {
+ readonly amount: u32;
+ } & 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 isSubIdentitiesInserted: boolean;
+ readonly asSubIdentitiesInserted: {
+ readonly amount: u32;
+ } & Struct;
+ readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked' | 'SubIdentitiesInserted';
+}
+
+/** @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;
@@ -1651,7 +2001,12 @@
export interface PalletMaintenanceCall extends Enum {
readonly isEnable: boolean;
readonly isDisable: boolean;
- readonly type: 'Enable' | 'Disable';
+ readonly isExecutePreimage: boolean;
+ readonly asExecutePreimage: {
+ readonly hash_: H256;
+ readonly weightBound: SpWeightsWeightV2Weight;
+ } & Struct;
+ readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';
}
/** @name PalletMaintenanceError */
@@ -1677,283 +2032,109 @@
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
-/** @name PalletRefungibleError */
-export interface PalletRefungibleError extends Enum {
- readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
- readonly isWrongRefungiblePieces: boolean;
- readonly isRepartitionWhileNotOwningAllPieces: boolean;
- readonly isRefungibleDisallowsNesting: boolean;
- readonly isSettingPropertiesNotAllowed: boolean;
- readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
-}
-
-/** @name PalletRmrkCoreCall */
-export interface PalletRmrkCoreCall extends Enum {
- readonly isCreateCollection: boolean;
- readonly asCreateCollection: {
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
+/** @name PalletPreimageCall */
+export interface PalletPreimageCall extends Enum {
+ readonly isNotePreimage: boolean;
+ readonly asNotePreimage: {
+ readonly bytes: Bytes;
} & Struct;
- readonly isDestroyCollection: boolean;
- readonly asDestroyCollection: {
- readonly collectionId: u32;
+ readonly isUnnotePreimage: boolean;
+ readonly asUnnotePreimage: {
+ readonly hash_: H256;
} & Struct;
- readonly isChangeCollectionIssuer: boolean;
- readonly asChangeCollectionIssuer: {
- readonly collectionId: u32;
- readonly newIssuer: MultiAddress;
+ readonly isRequestPreimage: boolean;
+ readonly asRequestPreimage: {
+ readonly hash_: H256;
} & Struct;
- readonly isLockCollection: boolean;
- readonly asLockCollection: {
- readonly collectionId: u32;
+ readonly isUnrequestPreimage: boolean;
+ readonly asUnrequestPreimage: {
+ readonly hash_: H256;
} & Struct;
- readonly isMintNft: boolean;
- readonly asMintNft: {
- readonly owner: Option<AccountId32>;
- readonly collectionId: u32;
- readonly recipient: Option<AccountId32>;
- readonly royaltyAmount: Option<Permill>;
- readonly metadata: Bytes;
- readonly transferable: bool;
- readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;
- } & Struct;
- readonly isBurnNft: boolean;
- readonly asBurnNft: {
- readonly collectionId: u32;
- readonly nftId: u32;
- readonly maxBurns: u32;
- } & Struct;
- readonly isSend: boolean;
- readonly asSend: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- } & Struct;
- readonly isAcceptNft: boolean;
- readonly asAcceptNft: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- } & Struct;
- readonly isRejectNft: boolean;
- readonly asRejectNft: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- } & Struct;
- readonly isAcceptResource: boolean;
- readonly asAcceptResource: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isAcceptResourceRemoval: boolean;
- readonly asAcceptResourceRemoval: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isSetProperty: boolean;
- readonly asSetProperty: {
- readonly rmrkCollectionId: Compact<u32>;
- readonly maybeNftId: Option<u32>;
- readonly key: Bytes;
- readonly value: Bytes;
- } & Struct;
- readonly isSetPriority: boolean;
- readonly asSetPriority: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly priorities: Vec<u32>;
- } & Struct;
- readonly isAddBasicResource: boolean;
- readonly asAddBasicResource: {
- readonly rmrkCollectionId: u32;
- readonly nftId: u32;
- readonly resource: RmrkTraitsResourceBasicResource;
- } & Struct;
- readonly isAddComposableResource: boolean;
- readonly asAddComposableResource: {
- readonly rmrkCollectionId: u32;
- readonly nftId: u32;
- readonly resource: RmrkTraitsResourceComposableResource;
- } & Struct;
- readonly isAddSlotResource: boolean;
- readonly asAddSlotResource: {
- readonly rmrkCollectionId: u32;
- readonly nftId: u32;
- readonly resource: RmrkTraitsResourceSlotResource;
- } & Struct;
- readonly isRemoveResource: boolean;
- readonly asRemoveResource: {
- readonly rmrkCollectionId: u32;
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
+ readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';
}
-/** @name PalletRmrkCoreError */
-export interface PalletRmrkCoreError extends Enum {
- readonly isCorruptedCollectionType: boolean;
- readonly isRmrkPropertyKeyIsTooLong: boolean;
- readonly isRmrkPropertyValueIsTooLong: boolean;
- readonly isRmrkPropertyIsNotFound: boolean;
- readonly isUnableToDecodeRmrkData: boolean;
- readonly isCollectionNotEmpty: boolean;
- readonly isNoAvailableCollectionId: boolean;
- readonly isNoAvailableNftId: boolean;
- readonly isCollectionUnknown: boolean;
- readonly isNoPermission: boolean;
- readonly isNonTransferable: boolean;
- readonly isCollectionFullOrLocked: boolean;
- readonly isResourceDoesntExist: boolean;
- readonly isCannotSendToDescendentOrSelf: boolean;
- readonly isCannotAcceptNonOwnedNft: boolean;
- readonly isCannotRejectNonOwnedNft: boolean;
- readonly isCannotRejectNonPendingNft: boolean;
- readonly isResourceNotPending: boolean;
- readonly isNoAvailableResourceId: boolean;
- readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
+/** @name PalletPreimageError */
+export interface PalletPreimageError extends Enum {
+ readonly isTooBig: boolean;
+ readonly isAlreadyNoted: boolean;
+ readonly isNotAuthorized: boolean;
+ readonly isNotNoted: boolean;
+ readonly isRequested: boolean;
+ readonly isNotRequested: boolean;
+ readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';
}
-/** @name PalletRmrkCoreEvent */
-export interface PalletRmrkCoreEvent extends Enum {
- readonly isCollectionCreated: boolean;
- readonly asCollectionCreated: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
+/** @name PalletPreimageEvent */
+export interface PalletPreimageEvent extends Enum {
+ readonly isNoted: boolean;
+ readonly asNoted: {
+ readonly hash_: H256;
} & Struct;
- readonly isCollectionDestroyed: boolean;
- readonly asCollectionDestroyed: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
+ readonly isRequested: boolean;
+ readonly asRequested: {
+ readonly hash_: H256;
} & Struct;
- readonly isIssuerChanged: boolean;
- readonly asIssuerChanged: {
- readonly oldIssuer: AccountId32;
- readonly newIssuer: AccountId32;
- readonly collectionId: u32;
+ readonly isCleared: boolean;
+ readonly asCleared: {
+ readonly hash_: H256;
} & Struct;
- readonly isCollectionLocked: boolean;
- readonly asCollectionLocked: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
+ readonly type: 'Noted' | 'Requested' | 'Cleared';
+}
+
+/** @name PalletPreimageRequestStatus */
+export interface PalletPreimageRequestStatus extends Enum {
+ readonly isUnrequested: boolean;
+ readonly asUnrequested: {
+ readonly deposit: ITuple<[AccountId32, u128]>;
+ readonly len: u32;
} & Struct;
- readonly isNftMinted: boolean;
- readonly asNftMinted: {
- readonly owner: AccountId32;
- readonly collectionId: u32;
- readonly nftId: u32;
+ readonly isRequested: boolean;
+ readonly asRequested: {
+ readonly deposit: Option<ITuple<[AccountId32, u128]>>;
+ readonly count: u32;
+ readonly len: Option<u32>;
} & Struct;
- readonly isNftBurned: boolean;
- readonly asNftBurned: {
- readonly owner: AccountId32;
- readonly nftId: u32;
- } & Struct;
- readonly isNftSent: boolean;
- readonly asNftSent: {
- readonly sender: AccountId32;
- readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- readonly collectionId: u32;
- readonly nftId: u32;
- readonly approvalRequired: bool;
- } & Struct;
- readonly isNftAccepted: boolean;
- readonly asNftAccepted: {
- readonly sender: AccountId32;
- readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isNftRejected: boolean;
- readonly asNftRejected: {
- readonly sender: AccountId32;
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isPropertySet: boolean;
- readonly asPropertySet: {
- readonly collectionId: u32;
- readonly maybeNftId: Option<u32>;
- readonly key: Bytes;
- readonly value: Bytes;
- } & Struct;
- readonly isResourceAdded: boolean;
- readonly asResourceAdded: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isResourceRemoval: boolean;
- readonly asResourceRemoval: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isResourceAccepted: boolean;
- readonly asResourceAccepted: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isResourceRemovalAccepted: boolean;
- readonly asResourceRemovalAccepted: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isPrioritySet: boolean;
- readonly asPrioritySet: {
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
+ readonly type: 'Unrequested' | 'Requested';
+}
+
+/** @name PalletRefungibleError */
+export interface PalletRefungibleError extends Enum {
+ readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
+ readonly isWrongRefungiblePieces: boolean;
+ readonly isRepartitionWhileNotOwningAllPieces: boolean;
+ readonly isRefungibleDisallowsNesting: boolean;
+ readonly isSettingPropertiesNotAllowed: boolean;
+ readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
-/** @name PalletRmrkEquipCall */
-export interface PalletRmrkEquipCall extends Enum {
- readonly isCreateBase: boolean;
- readonly asCreateBase: {
- readonly baseType: Bytes;
- readonly symbol: Bytes;
- readonly parts: Vec<RmrkTraitsPartPartType>;
+/** @name PalletSessionCall */
+export interface PalletSessionCall extends Enum {
+ readonly isSetKeys: boolean;
+ readonly asSetKeys: {
+ readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;
+ readonly proof: Bytes;
} & Struct;
- readonly isThemeAdd: boolean;
- readonly asThemeAdd: {
- readonly baseId: u32;
- readonly theme: RmrkTraitsTheme;
- } & Struct;
- readonly isEquippable: boolean;
- readonly asEquippable: {
- readonly baseId: u32;
- readonly slotId: u32;
- readonly equippables: RmrkTraitsPartEquippableList;
- } & Struct;
- readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
+ readonly isPurgeKeys: boolean;
+ readonly type: 'SetKeys' | 'PurgeKeys';
}
-/** @name PalletRmrkEquipError */
-export interface PalletRmrkEquipError extends Enum {
- readonly isPermissionError: boolean;
- readonly isNoAvailableBaseId: boolean;
- readonly isNoAvailablePartId: boolean;
- readonly isBaseDoesntExist: boolean;
- readonly isNeedsDefaultThemeFirst: boolean;
- readonly isPartDoesntExist: boolean;
- readonly isNoEquippableOnFixedPart: boolean;
- readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
+/** @name PalletSessionError */
+export interface PalletSessionError extends Enum {
+ readonly isInvalidProof: boolean;
+ readonly isNoAssociatedValidatorId: boolean;
+ readonly isDuplicatedKey: boolean;
+ readonly isNoKeys: boolean;
+ readonly isNoAccount: boolean;
+ readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
}
-/** @name PalletRmrkEquipEvent */
-export interface PalletRmrkEquipEvent extends Enum {
- readonly isBaseCreated: boolean;
- readonly asBaseCreated: {
- readonly issuer: AccountId32;
- readonly baseId: u32;
+/** @name PalletSessionEvent */
+export interface PalletSessionEvent extends Enum {
+ readonly isNewSession: boolean;
+ readonly asNewSession: {
+ readonly sessionIndex: u32;
} & Struct;
- readonly isEquippablesUpdated: boolean;
- readonly asEquippablesUpdated: {
- readonly baseId: u32;
- readonly slotId: u32;
- } & Struct;
- readonly type: 'BaseCreated' | 'EquippablesUpdated';
+ readonly type: 'NewSession';
}
/** @name PalletStructureCall */
@@ -1965,7 +2146,8 @@
readonly isDepthLimit: boolean;
readonly isBreadthLimit: boolean;
readonly isTokenNotFound: boolean;
- readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
+ readonly isCantNestTokenUnderCollection: boolean;
+ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection';
}
/** @name PalletStructureEvent */
@@ -2165,7 +2347,12 @@
readonly amount: u128;
readonly beneficiary: AccountId32;
} & Struct;
- readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';
+ readonly isUpdatedInactive: boolean;
+ readonly asUpdatedInactive: {
+ readonly reactivated: u128;
+ readonly deactivated: u128;
+ } & Struct;
+ readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive';
}
/** @name PalletTreasuryProposal */
@@ -2485,7 +2672,7 @@
}
/** @name PhantomTypeUpDataStructs */
-export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}
+export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpPovEstimateRpcPovInfo]>> {}
/** @name PolkadotCorePrimitivesInboundDownwardMessage */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
@@ -2550,150 +2737,19 @@
readonly type: 'Present';
}
-/** @name RmrkTraitsBaseBaseInfo */
-export interface RmrkTraitsBaseBaseInfo extends Struct {
- readonly issuer: AccountId32;
- readonly baseType: Bytes;
- readonly symbol: Bytes;
+/** @name SpArithmeticArithmeticError */
+export interface SpArithmeticArithmeticError extends Enum {
+ readonly isUnderflow: boolean;
+ readonly isOverflow: boolean;
+ readonly isDivisionByZero: boolean;
+ readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
-/** @name RmrkTraitsCollectionCollectionInfo */
-export interface RmrkTraitsCollectionCollectionInfo extends Struct {
- readonly issuer: AccountId32;
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
- readonly nftsCount: u32;
-}
+/** @name SpConsensusAuraSr25519AppSr25519Public */
+export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
-/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */
-export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
- readonly isAccountId: boolean;
- readonly asAccountId: AccountId32;
- readonly isCollectionAndNftTuple: boolean;
- readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
- readonly type: 'AccountId' | 'CollectionAndNftTuple';
-}
-
-/** @name RmrkTraitsNftNftChild */
-export interface RmrkTraitsNftNftChild extends Struct {
- readonly collectionId: u32;
- readonly nftId: u32;
-}
-
-/** @name RmrkTraitsNftNftInfo */
-export interface RmrkTraitsNftNftInfo extends Struct {
- readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
- readonly metadata: Bytes;
- readonly equipped: bool;
- readonly pending: bool;
-}
-
-/** @name RmrkTraitsNftRoyaltyInfo */
-export interface RmrkTraitsNftRoyaltyInfo extends Struct {
- readonly recipient: AccountId32;
- readonly amount: Permill;
-}
-
-/** @name RmrkTraitsPartEquippableList */
-export interface RmrkTraitsPartEquippableList extends Enum {
- readonly isAll: boolean;
- readonly isEmpty: boolean;
- readonly isCustom: boolean;
- readonly asCustom: Vec<u32>;
- readonly type: 'All' | 'Empty' | 'Custom';
-}
-
-/** @name RmrkTraitsPartFixedPart */
-export interface RmrkTraitsPartFixedPart extends Struct {
- readonly id: u32;
- readonly z: u32;
- readonly src: Bytes;
-}
-
-/** @name RmrkTraitsPartPartType */
-export interface RmrkTraitsPartPartType extends Enum {
- readonly isFixedPart: boolean;
- readonly asFixedPart: RmrkTraitsPartFixedPart;
- readonly isSlotPart: boolean;
- readonly asSlotPart: RmrkTraitsPartSlotPart;
- readonly type: 'FixedPart' | 'SlotPart';
-}
-
-/** @name RmrkTraitsPartSlotPart */
-export interface RmrkTraitsPartSlotPart extends Struct {
- readonly id: u32;
- readonly equippable: RmrkTraitsPartEquippableList;
- readonly src: Bytes;
- readonly z: u32;
-}
-
-/** @name RmrkTraitsPropertyPropertyInfo */
-export interface RmrkTraitsPropertyPropertyInfo extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
-}
-
-/** @name RmrkTraitsResourceBasicResource */
-export interface RmrkTraitsResourceBasicResource extends Struct {
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
-}
-
-/** @name RmrkTraitsResourceComposableResource */
-export interface RmrkTraitsResourceComposableResource extends Struct {
- readonly parts: Vec<u32>;
- readonly base: u32;
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
-}
-
-/** @name RmrkTraitsResourceResourceInfo */
-export interface RmrkTraitsResourceResourceInfo extends Struct {
- readonly id: u32;
- readonly resource: RmrkTraitsResourceResourceTypes;
- readonly pending: bool;
- readonly pendingRemoval: bool;
-}
-
-/** @name RmrkTraitsResourceResourceTypes */
-export interface RmrkTraitsResourceResourceTypes extends Enum {
- readonly isBasic: boolean;
- readonly asBasic: RmrkTraitsResourceBasicResource;
- readonly isComposable: boolean;
- readonly asComposable: RmrkTraitsResourceComposableResource;
- readonly isSlot: boolean;
- readonly asSlot: RmrkTraitsResourceSlotResource;
- readonly type: 'Basic' | 'Composable' | 'Slot';
-}
-
-/** @name RmrkTraitsResourceSlotResource */
-export interface RmrkTraitsResourceSlotResource extends Struct {
- readonly base: u32;
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly slot: u32;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
-}
-
-/** @name RmrkTraitsTheme */
-export interface RmrkTraitsTheme extends Struct {
- readonly name: Bytes;
- readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
- readonly inherit: bool;
-}
-
-/** @name RmrkTraitsThemeThemeProperty */
-export interface RmrkTraitsThemeThemeProperty extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
-}
+/** @name SpCoreCryptoKeyTypeId */
+export interface SpCoreCryptoKeyTypeId extends U8aFixed {}
/** @name SpCoreEcdsaSignature */
export interface SpCoreEcdsaSignature extends U8aFixed {}
@@ -2701,16 +2757,14 @@
/** @name SpCoreEd25519Signature */
export interface SpCoreEd25519Signature extends U8aFixed {}
+/** @name SpCoreSr25519Public */
+export interface SpCoreSr25519Public extends U8aFixed {}
+
/** @name SpCoreSr25519Signature */
export interface SpCoreSr25519Signature extends U8aFixed {}
-/** @name SpRuntimeArithmeticError */
-export interface SpRuntimeArithmeticError extends Enum {
- readonly isUnderflow: boolean;
- readonly isOverflow: boolean;
- readonly isDivisionByZero: boolean;
- readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
-}
+/** @name SpRuntimeBlakeTwo256 */
+export interface SpRuntimeBlakeTwo256 extends Null {}
/** @name SpRuntimeDigest */
export interface SpRuntimeDigest extends Struct {
@@ -2744,7 +2798,7 @@
readonly isToken: boolean;
readonly asToken: SpRuntimeTokenError;
readonly isArithmetic: boolean;
- readonly asArithmetic: SpRuntimeArithmeticError;
+ readonly asArithmetic: SpArithmeticArithmeticError;
readonly isTransactional: boolean;
readonly asTransactional: SpRuntimeTransactionalError;
readonly isExhausted: boolean;
@@ -2753,6 +2807,15 @@
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';
}
+/** @name SpRuntimeHeader */
+export interface SpRuntimeHeader extends Struct {
+ readonly parentHash: H256;
+ readonly number: Compact<u32>;
+ readonly stateRoot: H256;
+ readonly extrinsicsRoot: H256;
+ readonly digest: SpRuntimeDigest;
+}
+
/** @name SpRuntimeModuleError */
export interface SpRuntimeModuleError extends Struct {
readonly index: u8;
@@ -3160,7 +3223,10 @@
readonly isTechnical: boolean;
readonly isLegislative: boolean;
readonly isJudicial: boolean;
- readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
+ readonly isDefense: boolean;
+ readonly isAdministration: boolean;
+ readonly isTreasury: boolean;
+ readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
}
/** @name XcmV0JunctionBodyPart */
tests/src/interfaces/lookup.tsdiffbeforeafterboth129 NoProviders: 'Null',129 NoProviders: 'Null',130 TooManyConsumers: 'Null',130 TooManyConsumers: 'Null',131 Token: 'SpRuntimeTokenError',131 Token: 'SpRuntimeTokenError',132 Arithmetic: 'SpRuntimeArithmeticError',132 Arithmetic: 'SpArithmeticArithmeticError',133 Transactional: 'SpRuntimeTransactionalError',133 Transactional: 'SpRuntimeTransactionalError',134 Exhausted: 'Null',134 Exhausted: 'Null',135 Corruption: 'Null',135 Corruption: 'Null',149 SpRuntimeTokenError: {149 SpRuntimeTokenError: {150 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']150 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']151 },151 },152 /**152 /**153 * Lookup27: sp_runtime::ArithmeticError153 * Lookup27: sp_arithmetic::ArithmeticError154 **/154 **/155 SpRuntimeArithmeticError: {155 SpArithmeticArithmeticError: {156 _enum: ['Underflow', 'Overflow', 'DivisionByZero']156 _enum: ['Underflow', 'Overflow', 'DivisionByZero']157 },157 },158 /**158 /**183 }183 }184 }184 }185 },185 },186 /**187 * Lookup30: pallet_collator_selection::pallet::Event<T>188 **/189 PalletCollatorSelectionEvent: {190 _enum: {191 InvulnerableAdded: {192 invulnerable: 'AccountId32',193 },194 InvulnerableRemoved: {195 invulnerable: 'AccountId32',196 },197 LicenseObtained: {198 accountId: 'AccountId32',199 deposit: 'u128',200 },201 LicenseReleased: {202 accountId: 'AccountId32',203 depositReturned: 'u128',204 },205 CandidateAdded: {206 accountId: 'AccountId32',207 },208 CandidateRemoved: {209 accountId: 'AccountId32'210 }211 }212 },213 /**214 * Lookup31: pallet_session::pallet::Event215 **/216 PalletSessionEvent: {217 _enum: {218 NewSession: {219 sessionIndex: 'u32'220 }221 }222 },186 /**223 /**187 * Lookup30: pallet_balances::pallet::Event<T, I>224 * Lookup32: pallet_balances::pallet::Event<T, I>188 **/225 **/189 PalletBalancesEvent: {226 PalletBalancesEvent: {190 _enum: {227 _enum: {191 Endowed: {228 Endowed: {234 }271 }235 }272 }236 },273 },237 /**274 /**238 * Lookup31: frame_support::traits::tokens::misc::BalanceStatus275 * Lookup33: frame_support::traits::tokens::misc::BalanceStatus239 **/276 **/240 FrameSupportTokensMiscBalanceStatus: {277 FrameSupportTokensMiscBalanceStatus: {241 _enum: ['Free', 'Reserved']278 _enum: ['Free', 'Reserved']242 },279 },243 /**280 /**244 * Lookup32: pallet_transaction_payment::pallet::Event<T>281 * Lookup34: pallet_transaction_payment::pallet::Event<T>245 **/282 **/246 PalletTransactionPaymentEvent: {283 PalletTransactionPaymentEvent: {247 _enum: {284 _enum: {248 TransactionFeePaid: {285 TransactionFeePaid: {252 }289 }253 }290 }254 },291 },255 /**292 /**256 * Lookup33: pallet_treasury::pallet::Event<T, I>293 * Lookup35: pallet_treasury::pallet::Event<T, I>257 **/294 **/258 PalletTreasuryEvent: {295 PalletTreasuryEvent: {259 _enum: {296 _enum: {260 Proposed: {297 Proposed: {285 proposalIndex: 'u32',322 proposalIndex: 'u32',286 amount: 'u128',323 amount: 'u128',287 beneficiary: 'AccountId32'324 beneficiary: 'AccountId32',288 }325 },326 UpdatedInactive: {327 reactivated: 'u128',328 deactivated: 'u128'329 }289 }330 }290 },331 },291 /**332 /**292 * Lookup34: pallet_sudo::pallet::Event<T>333 * Lookup36: pallet_sudo::pallet::Event<T>293 **/334 **/294 PalletSudoEvent: {335 PalletSudoEvent: {295 _enum: {336 _enum: {296 Sudid: {337 Sudid: {304 }345 }305 }346 }306 },347 },307 /**348 /**308 * Lookup38: orml_vesting::module::Event<T>349 * Lookup40: orml_vesting::module::Event<T>309 **/350 **/310 OrmlVestingModuleEvent: {351 OrmlVestingModuleEvent: {311 _enum: {352 _enum: {312 VestingScheduleAdded: {353 VestingScheduleAdded: {323 }364 }324 }365 }325 },366 },326 /**367 /**327 * Lookup39: orml_vesting::VestingSchedule<BlockNumber, Balance>368 * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>328 **/369 **/329 OrmlVestingVestingSchedule: {370 OrmlVestingVestingSchedule: {330 start: 'u32',371 start: 'u32',331 period: 'u32',372 period: 'u32',332 periodCount: 'u32',373 periodCount: 'u32',333 perPeriod: 'Compact<u128>'374 perPeriod: 'Compact<u128>'334 },375 },335 /**376 /**336 * Lookup41: orml_xtokens::module::Event<T>377 * Lookup43: orml_xtokens::module::Event<T>337 **/378 **/338 OrmlXtokensModuleEvent: {379 OrmlXtokensModuleEvent: {339 _enum: {380 _enum: {340 TransferredMultiAssets: {381 TransferredMultiAssets: {345 }386 }346 }387 }347 },388 },348 /**389 /**349 * Lookup42: xcm::v1::multiasset::MultiAssets390 * Lookup44: xcm::v1::multiasset::MultiAssets350 **/391 **/351 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',392 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',352 /**393 /**353 * Lookup44: xcm::v1::multiasset::MultiAsset394 * Lookup46: xcm::v1::multiasset::MultiAsset354 **/395 **/355 XcmV1MultiAsset: {396 XcmV1MultiAsset: {356 id: 'XcmV1MultiassetAssetId',397 id: 'XcmV1MultiassetAssetId',357 fun: 'XcmV1MultiassetFungibility'398 fun: 'XcmV1MultiassetFungibility'358 },399 },359 /**400 /**360 * Lookup45: xcm::v1::multiasset::AssetId401 * Lookup47: xcm::v1::multiasset::AssetId361 **/402 **/362 XcmV1MultiassetAssetId: {403 XcmV1MultiassetAssetId: {363 _enum: {404 _enum: {364 Concrete: 'XcmV1MultiLocation',405 Concrete: 'XcmV1MultiLocation',365 Abstract: 'Bytes'406 Abstract: 'Bytes'366 }407 }367 },408 },368 /**409 /**369 * Lookup46: xcm::v1::multilocation::MultiLocation410 * Lookup48: xcm::v1::multilocation::MultiLocation370 **/411 **/371 XcmV1MultiLocation: {412 XcmV1MultiLocation: {372 parents: 'u8',413 parents: 'u8',373 interior: 'XcmV1MultilocationJunctions'414 interior: 'XcmV1MultilocationJunctions'374 },415 },375 /**416 /**376 * Lookup47: xcm::v1::multilocation::Junctions417 * Lookup49: xcm::v1::multilocation::Junctions377 **/418 **/378 XcmV1MultilocationJunctions: {419 XcmV1MultilocationJunctions: {379 _enum: {420 _enum: {380 Here: 'Null',421 Here: 'Null',388 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'429 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'389 }430 }390 },431 },391 /**432 /**392 * Lookup48: xcm::v1::junction::Junction433 * Lookup50: xcm::v1::junction::Junction393 **/434 **/394 XcmV1Junction: {435 XcmV1Junction: {395 _enum: {436 _enum: {396 Parachain: 'Compact<u32>',437 Parachain: 'Compact<u32>',416 }457 }417 }458 }418 },459 },419 /**460 /**420 * Lookup50: xcm::v0::junction::NetworkId461 * Lookup52: xcm::v0::junction::NetworkId421 **/462 **/422 XcmV0JunctionNetworkId: {463 XcmV0JunctionNetworkId: {423 _enum: {464 _enum: {424 Any: 'Null',465 Any: 'Null',427 Kusama: 'Null'468 Kusama: 'Null'428 }469 }429 },470 },430 /**471 /**431 * Lookup53: xcm::v0::junction::BodyId472 * Lookup55: xcm::v0::junction::BodyId432 **/473 **/433 XcmV0JunctionBodyId: {474 XcmV0JunctionBodyId: {434 _enum: {475 _enum: {435 Unit: 'Null',476 Unit: 'Null',438 Executive: 'Null',479 Executive: 'Null',439 Technical: 'Null',480 Technical: 'Null',440 Legislative: 'Null',481 Legislative: 'Null',441 Judicial: 'Null'482 Judicial: 'Null',483 Defense: 'Null',484 Administration: 'Null',485 Treasury: 'Null'442 }486 }443 },487 },444 /**488 /**445 * Lookup54: xcm::v0::junction::BodyPart489 * Lookup56: xcm::v0::junction::BodyPart446 **/490 **/447 XcmV0JunctionBodyPart: {491 XcmV0JunctionBodyPart: {448 _enum: {492 _enum: {449 Voice: 'Null',493 Voice: 'Null',464 }508 }465 }509 }466 },510 },467 /**511 /**468 * Lookup55: xcm::v1::multiasset::Fungibility512 * Lookup57: xcm::v1::multiasset::Fungibility469 **/513 **/470 XcmV1MultiassetFungibility: {514 XcmV1MultiassetFungibility: {471 _enum: {515 _enum: {472 Fungible: 'Compact<u128>',516 Fungible: 'Compact<u128>',473 NonFungible: 'XcmV1MultiassetAssetInstance'517 NonFungible: 'XcmV1MultiassetAssetInstance'474 }518 }475 },519 },476 /**520 /**477 * Lookup56: xcm::v1::multiasset::AssetInstance521 * Lookup58: xcm::v1::multiasset::AssetInstance478 **/522 **/479 XcmV1MultiassetAssetInstance: {523 XcmV1MultiassetAssetInstance: {480 _enum: {524 _enum: {481 Undefined: 'Null',525 Undefined: 'Null',487 Blob: 'Bytes'531 Blob: 'Bytes'488 }532 }489 },533 },490 /**534 /**491 * Lookup59: orml_tokens::module::Event<T>535 * Lookup61: orml_tokens::module::Event<T>492 **/536 **/493 OrmlTokensModuleEvent: {537 OrmlTokensModuleEvent: {494 _enum: {538 _enum: {495 Endowed: {539 Endowed: {564 }608 }565 }609 }566 },610 },567 /**611 /**568 * Lookup60: pallet_foreign_assets::AssetIds612 * Lookup62: pallet_foreign_assets::AssetIds569 **/613 **/570 PalletForeignAssetsAssetIds: {614 PalletForeignAssetsAssetIds: {571 _enum: {615 _enum: {572 ForeignAssetId: 'u32',616 ForeignAssetId: 'u32',573 NativeAssetId: 'PalletForeignAssetsNativeCurrency'617 NativeAssetId: 'PalletForeignAssetsNativeCurrency'574 }618 }575 },619 },576 /**620 /**577 * Lookup61: pallet_foreign_assets::NativeCurrency621 * Lookup63: pallet_foreign_assets::NativeCurrency578 **/622 **/579 PalletForeignAssetsNativeCurrency: {623 PalletForeignAssetsNativeCurrency: {580 _enum: ['Here', 'Parent']624 _enum: ['Here', 'Parent']581 },625 },626 /**627 * Lookup64: pallet_identity::pallet::Event<T>628 **/629 PalletIdentityEvent: {630 _enum: {631 IdentitySet: {632 who: 'AccountId32',633 },634 IdentityCleared: {635 who: 'AccountId32',636 deposit: 'u128',637 },638 IdentityKilled: {639 who: 'AccountId32',640 deposit: 'u128',641 },642 IdentitiesInserted: {643 amount: 'u32',644 },645 IdentitiesRemoved: {646 amount: 'u32',647 },648 JudgementRequested: {649 who: 'AccountId32',650 registrarIndex: 'u32',651 },652 JudgementUnrequested: {653 who: 'AccountId32',654 registrarIndex: 'u32',655 },656 JudgementGiven: {657 target: 'AccountId32',658 registrarIndex: 'u32',659 },660 RegistrarAdded: {661 registrarIndex: 'u32',662 },663 SubIdentityAdded: {664 sub: 'AccountId32',665 main: 'AccountId32',666 deposit: 'u128',667 },668 SubIdentityRemoved: {669 sub: 'AccountId32',670 main: 'AccountId32',671 deposit: 'u128',672 },673 SubIdentityRevoked: {674 sub: 'AccountId32',675 main: 'AccountId32',676 deposit: 'u128',677 },678 SubIdentitiesInserted: {679 amount: 'u32'680 }681 }682 },683 /**684 * Lookup65: pallet_preimage::pallet::Event<T>685 **/686 PalletPreimageEvent: {687 _enum: {688 Noted: {689 _alias: {690 hash_: 'hash',691 },692 hash_: 'H256',693 },694 Requested: {695 _alias: {696 hash_: 'hash',697 },698 hash_: 'H256',699 },700 Cleared: {701 _alias: {702 hash_: 'hash',703 },704 hash_: 'H256'705 }706 }707 },582 /**708 /**583 * Lookup62: cumulus_pallet_xcmp_queue::pallet::Event<T>709 * Lookup66: cumulus_pallet_xcmp_queue::pallet::Event<T>584 **/710 **/585 CumulusPalletXcmpQueueEvent: {711 CumulusPalletXcmpQueueEvent: {586 _enum: {712 _enum: {587 Success: {713 Success: {617 }743 }618 }744 }619 },745 },620 /**746 /**621 * Lookup64: xcm::v2::traits::Error747 * Lookup68: xcm::v2::traits::Error622 **/748 **/623 XcmV2TraitsError: {749 XcmV2TraitsError: {624 _enum: {750 _enum: {625 Overflow: 'Null',751 Overflow: 'Null',650 WeightNotComputable: 'Null'776 WeightNotComputable: 'Null'651 }777 }652 },778 },653 /**779 /**654 * Lookup66: pallet_xcm::pallet::Event<T>780 * Lookup70: pallet_xcm::pallet::Event<T>655 **/781 **/656 PalletXcmEvent: {782 PalletXcmEvent: {657 _enum: {783 _enum: {658 Attempted: 'XcmV2TraitsOutcome',784 Attempted: 'XcmV2TraitsOutcome',674 AssetsClaimed: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)'800 AssetsClaimed: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)'675 }801 }676 },802 },677 /**803 /**678 * Lookup67: xcm::v2::traits::Outcome804 * Lookup71: xcm::v2::traits::Outcome679 **/805 **/680 XcmV2TraitsOutcome: {806 XcmV2TraitsOutcome: {681 _enum: {807 _enum: {682 Complete: 'u64',808 Complete: 'u64',683 Incomplete: '(u64,XcmV2TraitsError)',809 Incomplete: '(u64,XcmV2TraitsError)',684 Error: 'XcmV2TraitsError'810 Error: 'XcmV2TraitsError'685 }811 }686 },812 },687 /**813 /**688 * Lookup68: xcm::v2::Xcm<RuntimeCall>814 * Lookup72: xcm::v2::Xcm<RuntimeCall>689 **/815 **/690 XcmV2Xcm: 'Vec<XcmV2Instruction>',816 XcmV2Xcm: 'Vec<XcmV2Instruction>',691 /**817 /**692 * Lookup70: xcm::v2::Instruction<RuntimeCall>818 * Lookup74: xcm::v2::Instruction<RuntimeCall>693 **/819 **/694 XcmV2Instruction: {820 XcmV2Instruction: {695 _enum: {821 _enum: {696 WithdrawAsset: 'XcmV1MultiassetMultiAssets',822 WithdrawAsset: 'XcmV1MultiassetMultiAssets',786 UnsubscribeVersion: 'Null'912 UnsubscribeVersion: 'Null'787 }913 }788 },914 },789 /**915 /**790 * Lookup71: xcm::v2::Response916 * Lookup75: xcm::v2::Response791 **/917 **/792 XcmV2Response: {918 XcmV2Response: {793 _enum: {919 _enum: {794 Null: 'Null',920 Null: 'Null',797 Version: 'u32'923 Version: 'u32'798 }924 }799 },925 },800 /**926 /**801 * Lookup74: xcm::v0::OriginKind927 * Lookup78: xcm::v0::OriginKind802 **/928 **/803 XcmV0OriginKind: {929 XcmV0OriginKind: {804 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']930 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']805 },931 },806 /**932 /**807 * Lookup75: xcm::double_encoded::DoubleEncoded<T>933 * Lookup79: xcm::double_encoded::DoubleEncoded<T>808 **/934 **/809 XcmDoubleEncoded: {935 XcmDoubleEncoded: {810 encoded: 'Bytes'936 encoded: 'Bytes'811 },937 },812 /**938 /**813 * Lookup76: xcm::v1::multiasset::MultiAssetFilter939 * Lookup80: xcm::v1::multiasset::MultiAssetFilter814 **/940 **/815 XcmV1MultiassetMultiAssetFilter: {941 XcmV1MultiassetMultiAssetFilter: {816 _enum: {942 _enum: {817 Definite: 'XcmV1MultiassetMultiAssets',943 Definite: 'XcmV1MultiassetMultiAssets',818 Wild: 'XcmV1MultiassetWildMultiAsset'944 Wild: 'XcmV1MultiassetWildMultiAsset'819 }945 }820 },946 },821 /**947 /**822 * Lookup77: xcm::v1::multiasset::WildMultiAsset948 * Lookup81: xcm::v1::multiasset::WildMultiAsset823 **/949 **/824 XcmV1MultiassetWildMultiAsset: {950 XcmV1MultiassetWildMultiAsset: {825 _enum: {951 _enum: {826 All: 'Null',952 All: 'Null',830 }956 }831 }957 }832 },958 },833 /**959 /**834 * Lookup78: xcm::v1::multiasset::WildFungibility960 * Lookup82: xcm::v1::multiasset::WildFungibility835 **/961 **/836 XcmV1MultiassetWildFungibility: {962 XcmV1MultiassetWildFungibility: {837 _enum: ['Fungible', 'NonFungible']963 _enum: ['Fungible', 'NonFungible']838 },964 },839 /**965 /**840 * Lookup79: xcm::v2::WeightLimit966 * Lookup83: xcm::v2::WeightLimit841 **/967 **/842 XcmV2WeightLimit: {968 XcmV2WeightLimit: {843 _enum: {969 _enum: {844 Unlimited: 'Null',970 Unlimited: 'Null',845 Limited: 'Compact<u64>'971 Limited: 'Compact<u64>'846 }972 }847 },973 },848 /**974 /**849 * Lookup81: xcm::VersionedMultiAssets975 * Lookup85: xcm::VersionedMultiAssets850 **/976 **/851 XcmVersionedMultiAssets: {977 XcmVersionedMultiAssets: {852 _enum: {978 _enum: {853 V0: 'Vec<XcmV0MultiAsset>',979 V0: 'Vec<XcmV0MultiAsset>',854 V1: 'XcmV1MultiassetMultiAssets'980 V1: 'XcmV1MultiassetMultiAssets'855 }981 }856 },982 },857 /**983 /**858 * Lookup83: xcm::v0::multi_asset::MultiAsset984 * Lookup87: xcm::v0::multi_asset::MultiAsset859 **/985 **/860 XcmV0MultiAsset: {986 XcmV0MultiAsset: {861 _enum: {987 _enum: {862 None: 'Null',988 None: 'Null',893 }1019 }894 }1020 }895 },1021 },896 /**1022 /**897 * Lookup84: xcm::v0::multi_location::MultiLocation1023 * Lookup88: xcm::v0::multi_location::MultiLocation898 **/1024 **/899 XcmV0MultiLocation: {1025 XcmV0MultiLocation: {900 _enum: {1026 _enum: {901 Null: 'Null',1027 Null: 'Null',909 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'1035 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'910 }1036 }911 },1037 },912 /**1038 /**913 * Lookup85: xcm::v0::junction::Junction1039 * Lookup89: xcm::v0::junction::Junction914 **/1040 **/915 XcmV0Junction: {1041 XcmV0Junction: {916 _enum: {1042 _enum: {917 Parent: 'Null',1043 Parent: 'Null',938 }1064 }939 }1065 }940 },1066 },941 /**1067 /**942 * Lookup86: xcm::VersionedMultiLocation1068 * Lookup90: xcm::VersionedMultiLocation943 **/1069 **/944 XcmVersionedMultiLocation: {1070 XcmVersionedMultiLocation: {945 _enum: {1071 _enum: {946 V0: 'XcmV0MultiLocation',1072 V0: 'XcmV0MultiLocation',947 V1: 'XcmV1MultiLocation'1073 V1: 'XcmV1MultiLocation'948 }1074 }949 },1075 },950 /**1076 /**951 * Lookup87: cumulus_pallet_xcm::pallet::Event<T>1077 * Lookup91: cumulus_pallet_xcm::pallet::Event<T>952 **/1078 **/953 CumulusPalletXcmEvent: {1079 CumulusPalletXcmEvent: {954 _enum: {1080 _enum: {955 InvalidFormat: '[u8;8]',1081 InvalidFormat: '[u8;8]',956 UnsupportedVersion: '[u8;8]',1082 UnsupportedVersion: '[u8;8]',957 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'1083 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'958 }1084 }959 },1085 },960 /**1086 /**961 * Lookup88: cumulus_pallet_dmp_queue::pallet::Event<T>1087 * Lookup92: cumulus_pallet_dmp_queue::pallet::Event<T>962 **/1088 **/963 CumulusPalletDmpQueueEvent: {1089 CumulusPalletDmpQueueEvent: {964 _enum: {1090 _enum: {965 InvalidFormat: {1091 InvalidFormat: {988 }1114 }989 }1115 }990 },1116 },991 /**1117 /**992 * Lookup89: pallet_configuration::pallet::Event<T>1118 * Lookup93: pallet_configuration::pallet::Event<T>993 **/1119 **/994 PalletConfigurationEvent: {1120 PalletConfigurationEvent: {995 _enum: {1121 _enum: {996 NewDesiredCollators: {1122 NewDesiredCollators: {1004 }1130 }1005 }1131 }1006 },1132 },1007 /**1133 /**1008 * Lookup92: pallet_common::pallet::Event<T>1134 * Lookup96: pallet_common::pallet::Event<T>1009 **/1135 **/1010 PalletCommonEvent: {1136 PalletCommonEvent: {1011 _enum: {1137 _enum: {1012 CollectionCreated: '(u32,u8,AccountId32)',1138 CollectionCreated: '(u32,u8,AccountId32)',1033 CollectionSponsorRemoved: 'u32'1159 CollectionSponsorRemoved: 'u32'1034 }1160 }1035 },1161 },1036 /**1162 /**1037 * Lookup95: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1163 * Lookup99: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1038 **/1164 **/1039 PalletEvmAccountBasicCrossAccountIdRepr: {1165 PalletEvmAccountBasicCrossAccountIdRepr: {1040 _enum: {1166 _enum: {1041 Substrate: 'AccountId32',1167 Substrate: 'AccountId32',1042 Ethereum: 'H160'1168 Ethereum: 'H160'1043 }1169 }1044 },1170 },1045 /**1171 /**1046 * Lookup99: pallet_structure::pallet::Event<T>1172 * Lookup103: pallet_structure::pallet::Event<T>1047 **/1173 **/1048 PalletStructureEvent: {1174 PalletStructureEvent: {1049 _enum: {1175 _enum: {1050 Executed: 'Result<Null, SpRuntimeDispatchError>'1176 Executed: 'Result<Null, SpRuntimeDispatchError>'1051 }1177 }1052 },1178 },1053 /**1054 * Lookup100: pallet_rmrk_core::pallet::Event<T>1055 **/1056 PalletRmrkCoreEvent: {1057 _enum: {1058 CollectionCreated: {1059 issuer: 'AccountId32',1060 collectionId: 'u32',1061 },1062 CollectionDestroyed: {1063 issuer: 'AccountId32',1064 collectionId: 'u32',1065 },1066 IssuerChanged: {1067 oldIssuer: 'AccountId32',1068 newIssuer: 'AccountId32',1069 collectionId: 'u32',1070 },1071 CollectionLocked: {1072 issuer: 'AccountId32',1073 collectionId: 'u32',1074 },1075 NftMinted: {1076 owner: 'AccountId32',1077 collectionId: 'u32',1078 nftId: 'u32',1079 },1080 NFTBurned: {1081 owner: 'AccountId32',1082 nftId: 'u32',1083 },1084 NFTSent: {1085 sender: 'AccountId32',1086 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1087 collectionId: 'u32',1088 nftId: 'u32',1089 approvalRequired: 'bool',1090 },1091 NFTAccepted: {1092 sender: 'AccountId32',1093 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1094 collectionId: 'u32',1095 nftId: 'u32',1096 },1097 NFTRejected: {1098 sender: 'AccountId32',1099 collectionId: 'u32',1100 nftId: 'u32',1101 },1102 PropertySet: {1103 collectionId: 'u32',1104 maybeNftId: 'Option<u32>',1105 key: 'Bytes',1106 value: 'Bytes',1107 },1108 ResourceAdded: {1109 nftId: 'u32',1110 resourceId: 'u32',1111 },1112 ResourceRemoval: {1113 nftId: 'u32',1114 resourceId: 'u32',1115 },1116 ResourceAccepted: {1117 nftId: 'u32',1118 resourceId: 'u32',1119 },1120 ResourceRemovalAccepted: {1121 nftId: 'u32',1122 resourceId: 'u32',1123 },1124 PrioritySet: {1125 collectionId: 'u32',1126 nftId: 'u32'1127 }1128 }1129 },1130 /**1131 * Lookup101: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1132 **/1133 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1134 _enum: {1135 AccountId: 'AccountId32',1136 CollectionAndNftTuple: '(u32,u32)'1137 }1138 },1139 /**1140 * Lookup104: pallet_rmrk_equip::pallet::Event<T>1141 **/1142 PalletRmrkEquipEvent: {1143 _enum: {1144 BaseCreated: {1145 issuer: 'AccountId32',1146 baseId: 'u32',1147 },1148 EquippablesUpdated: {1149 baseId: 'u32',1150 slotId: 'u32'1151 }1152 }1153 },1154 /**1179 /**1155 * Lookup105: pallet_app_promotion::pallet::Event<T>1180 * Lookup104: pallet_app_promotion::pallet::Event<T>1156 **/1181 **/1157 PalletAppPromotionEvent: {1182 PalletAppPromotionEvent: {1158 _enum: {1183 _enum: {1159 StakingRecalculation: '(AccountId32,u128,u128)',1184 StakingRecalculation: '(AccountId32,u128,u128)',1162 SetAdmin: 'AccountId32'1187 SetAdmin: 'AccountId32'1163 }1188 }1164 },1189 },1165 /**1190 /**1166 * Lookup106: pallet_foreign_assets::module::Event<T>1191 * Lookup105: pallet_foreign_assets::module::Event<T>1167 **/1192 **/1168 PalletForeignAssetsModuleEvent: {1193 PalletForeignAssetsModuleEvent: {1169 _enum: {1194 _enum: {1170 ForeignAssetRegistered: {1195 ForeignAssetRegistered: {1187 }1212 }1188 }1213 }1189 },1214 },1190 /**1215 /**1191 * Lookup107: pallet_foreign_assets::module::AssetMetadata<Balance>1216 * Lookup106: pallet_foreign_assets::module::AssetMetadata<Balance>1192 **/1217 **/1193 PalletForeignAssetsModuleAssetMetadata: {1218 PalletForeignAssetsModuleAssetMetadata: {1194 name: 'Bytes',1219 name: 'Bytes',1195 symbol: 'Bytes',1220 symbol: 'Bytes',1196 decimals: 'u8',1221 decimals: 'u8',1197 minimalBalance: 'u128'1222 minimalBalance: 'u128'1198 },1223 },1199 /**1224 /**1200 * Lookup108: pallet_evm::pallet::Event<T>1225 * Lookup107: pallet_evm::pallet::Event<T>1201 **/1226 **/1202 PalletEvmEvent: {1227 PalletEvmEvent: {1203 _enum: {1228 _enum: {1204 Log: {1229 Log: {1218 }1243 }1219 }1244 }1220 },1245 },1221 /**1246 /**1222 * Lookup109: ethereum::log::Log1247 * Lookup108: ethereum::log::Log1223 **/1248 **/1224 EthereumLog: {1249 EthereumLog: {1225 address: 'H160',1250 address: 'H160',1226 topics: 'Vec<H256>',1251 topics: 'Vec<H256>',1227 data: 'Bytes'1252 data: 'Bytes'1228 },1253 },1229 /**1254 /**1230 * Lookup111: pallet_ethereum::pallet::Event1255 * Lookup110: pallet_ethereum::pallet::Event1231 **/1256 **/1232 PalletEthereumEvent: {1257 PalletEthereumEvent: {1233 _enum: {1258 _enum: {1234 Executed: {1259 Executed: {1239 }1264 }1240 }1265 }1241 },1266 },1242 /**1267 /**1243 * Lookup112: evm_core::error::ExitReason1268 * Lookup111: evm_core::error::ExitReason1244 **/1269 **/1245 EvmCoreErrorExitReason: {1270 EvmCoreErrorExitReason: {1246 _enum: {1271 _enum: {1247 Succeed: 'EvmCoreErrorExitSucceed',1272 Succeed: 'EvmCoreErrorExitSucceed',1250 Fatal: 'EvmCoreErrorExitFatal'1275 Fatal: 'EvmCoreErrorExitFatal'1251 }1276 }1252 },1277 },1253 /**1278 /**1254 * Lookup113: evm_core::error::ExitSucceed1279 * Lookup112: evm_core::error::ExitSucceed1255 **/1280 **/1256 EvmCoreErrorExitSucceed: {1281 EvmCoreErrorExitSucceed: {1257 _enum: ['Stopped', 'Returned', 'Suicided']1282 _enum: ['Stopped', 'Returned', 'Suicided']1258 },1283 },1259 /**1284 /**1260 * Lookup114: evm_core::error::ExitError1285 * Lookup113: evm_core::error::ExitError1261 **/1286 **/1262 EvmCoreErrorExitError: {1287 EvmCoreErrorExitError: {1263 _enum: {1288 _enum: {1264 StackUnderflow: 'Null',1289 StackUnderflow: 'Null',1275 PCUnderflow: 'Null',1300 PCUnderflow: 'Null',1276 CreateEmpty: 'Null',1301 CreateEmpty: 'Null',1277 Other: 'Text',1302 Other: 'Text',1303 __Unused14: 'Null',1278 InvalidCode: 'Null'1304 InvalidCode: 'u8'1279 }1305 }1280 },1306 },1281 /**1307 /**1550 CumulusPalletParachainSystemError: {1576 CumulusPalletParachainSystemError: {1551 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1577 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1552 },1578 },1579 /**1580 * Lookup172: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>1581 **/1582 PalletAuthorshipUncleEntryItem: {1583 _enum: {1584 InclusionHeight: 'u32',1585 Uncle: '(H256,Option<AccountId32>)'1586 }1587 },1588 /**1589 * Lookup174: pallet_authorship::pallet::Call<T>1590 **/1591 PalletAuthorshipCall: {1592 _enum: {1593 set_uncles: {1594 newUncles: 'Vec<SpRuntimeHeader>'1595 }1596 }1597 },1598 /**1599 * Lookup176: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>1600 **/1601 SpRuntimeHeader: {1602 parentHash: 'H256',1603 number: 'Compact<u32>',1604 stateRoot: 'H256',1605 extrinsicsRoot: 'H256',1606 digest: 'SpRuntimeDigest'1607 },1608 /**1609 * Lookup177: sp_runtime::traits::BlakeTwo2561610 **/1611 SpRuntimeBlakeTwo256: 'Null',1612 /**1613 * Lookup178: pallet_authorship::pallet::Error<T>1614 **/1615 PalletAuthorshipError: {1616 _enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']1617 },1618 /**1619 * Lookup181: pallet_collator_selection::pallet::Call<T>1620 **/1621 PalletCollatorSelectionCall: {1622 _enum: {1623 add_invulnerable: {1624 _alias: {1625 new_: 'new',1626 },1627 new_: 'AccountId32',1628 },1629 remove_invulnerable: {1630 who: 'AccountId32',1631 },1632 get_license: 'Null',1633 onboard: 'Null',1634 offboard: 'Null',1635 release_license: 'Null',1636 force_release_license: {1637 who: 'AccountId32'1638 }1639 }1640 },1641 /**1642 * Lookup182: pallet_collator_selection::pallet::Error<T>1643 **/1644 PalletCollatorSelectionError: {1645 _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']1646 },1647 /**1648 * Lookup185: opal_runtime::runtime_common::SessionKeys1649 **/1650 OpalRuntimeRuntimeCommonSessionKeys: {1651 aura: 'SpConsensusAuraSr25519AppSr25519Public'1652 },1653 /**1654 * Lookup186: sp_consensus_aura::sr25519::app_sr25519::Public1655 **/1656 SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',1657 /**1658 * Lookup187: sp_core::sr25519::Public1659 **/1660 SpCoreSr25519Public: '[u8;32]',1661 /**1662 * Lookup190: sp_core::crypto::KeyTypeId1663 **/1664 SpCoreCryptoKeyTypeId: '[u8;4]',1665 /**1666 * Lookup191: pallet_session::pallet::Call<T>1667 **/1668 PalletSessionCall: {1669 _enum: {1670 set_keys: {1671 _alias: {1672 keys_: 'keys',1673 },1674 keys_: 'OpalRuntimeRuntimeCommonSessionKeys',1675 proof: 'Bytes',1676 },1677 purge_keys: 'Null'1678 }1679 },1680 /**1681 * Lookup192: pallet_session::pallet::Error<T>1682 **/1683 PalletSessionError: {1684 _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']1685 },1553 /**1686 /**1554 * Lookup172: pallet_balances::BalanceLock<Balance>1687 * Lookup194: pallet_balances::BalanceLock<Balance>1555 **/1688 **/1556 PalletBalancesBalanceLock: {1689 PalletBalancesBalanceLock: {1557 id: '[u8;8]',1690 id: '[u8;8]',1558 amount: 'u128',1691 amount: 'u128',1559 reasons: 'PalletBalancesReasons'1692 reasons: 'PalletBalancesReasons'1560 },1693 },1561 /**1694 /**1562 * Lookup173: pallet_balances::Reasons1695 * Lookup195: pallet_balances::Reasons1563 **/1696 **/1564 PalletBalancesReasons: {1697 PalletBalancesReasons: {1565 _enum: ['Fee', 'Misc', 'All']1698 _enum: ['Fee', 'Misc', 'All']1566 },1699 },1567 /**1700 /**1568 * Lookup176: pallet_balances::ReserveData<ReserveIdentifier, Balance>1701 * Lookup198: pallet_balances::ReserveData<ReserveIdentifier, Balance>1569 **/1702 **/1570 PalletBalancesReserveData: {1703 PalletBalancesReserveData: {1571 id: '[u8;16]',1704 id: '[u8;16]',1572 amount: 'u128'1705 amount: 'u128'1573 },1706 },1574 /**1707 /**1575 * Lookup178: pallet_balances::pallet::Call<T, I>1708 * Lookup200: pallet_balances::pallet::Call<T, I>1576 **/1709 **/1577 PalletBalancesCall: {1710 PalletBalancesCall: {1578 _enum: {1711 _enum: {1579 transfer: {1712 transfer: {1604 }1737 }1605 }1738 }1606 },1739 },1607 /**1740 /**1608 * Lookup181: pallet_balances::pallet::Error<T, I>1741 * Lookup203: pallet_balances::pallet::Error<T, I>1609 **/1742 **/1610 PalletBalancesError: {1743 PalletBalancesError: {1611 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1744 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1612 },1745 },1613 /**1746 /**1614 * Lookup183: pallet_timestamp::pallet::Call<T>1747 * Lookup205: pallet_timestamp::pallet::Call<T>1615 **/1748 **/1616 PalletTimestampCall: {1749 PalletTimestampCall: {1617 _enum: {1750 _enum: {1618 set: {1751 set: {1619 now: 'Compact<u64>'1752 now: 'Compact<u64>'1620 }1753 }1621 }1754 }1622 },1755 },1623 /**1756 /**1624 * Lookup185: pallet_transaction_payment::Releases1757 * Lookup207: pallet_transaction_payment::Releases1625 **/1758 **/1626 PalletTransactionPaymentReleases: {1759 PalletTransactionPaymentReleases: {1627 _enum: ['V1Ancient', 'V2']1760 _enum: ['V1Ancient', 'V2']1628 },1761 },1629 /**1762 /**1630 * Lookup186: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1763 * Lookup208: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1631 **/1764 **/1632 PalletTreasuryProposal: {1765 PalletTreasuryProposal: {1633 proposer: 'AccountId32',1766 proposer: 'AccountId32',1634 value: 'u128',1767 value: 'u128',1635 beneficiary: 'AccountId32',1768 beneficiary: 'AccountId32',1636 bond: 'u128'1769 bond: 'u128'1637 },1770 },1638 /**1771 /**1639 * Lookup189: pallet_treasury::pallet::Call<T, I>1772 * Lookup210: pallet_treasury::pallet::Call<T, I>1640 **/1773 **/1641 PalletTreasuryCall: {1774 PalletTreasuryCall: {1642 _enum: {1775 _enum: {1643 propose_spend: {1776 propose_spend: {1659 }1792 }1660 }1793 }1661 },1794 },1662 /**1795 /**1663 * Lookup191: frame_support::PalletId1796 * Lookup212: frame_support::PalletId1664 **/1797 **/1665 FrameSupportPalletId: '[u8;8]',1798 FrameSupportPalletId: '[u8;8]',1666 /**1799 /**1667 * Lookup192: pallet_treasury::pallet::Error<T, I>1800 * Lookup213: pallet_treasury::pallet::Error<T, I>1668 **/1801 **/1669 PalletTreasuryError: {1802 PalletTreasuryError: {1670 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1803 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1671 },1804 },1672 /**1805 /**1673 * Lookup193: pallet_sudo::pallet::Call<T>1806 * Lookup214: pallet_sudo::pallet::Call<T>1674 **/1807 **/1675 PalletSudoCall: {1808 PalletSudoCall: {1676 _enum: {1809 _enum: {1677 sudo: {1810 sudo: {1693 }1826 }1694 }1827 }1695 },1828 },1696 /**1829 /**1697 * Lookup195: orml_vesting::module::Call<T>1830 * Lookup216: orml_vesting::module::Call<T>1698 **/1831 **/1699 OrmlVestingModuleCall: {1832 OrmlVestingModuleCall: {1700 _enum: {1833 _enum: {1701 claim: 'Null',1834 claim: 'Null',1712 }1845 }1713 }1846 }1714 },1847 },1715 /**1848 /**1716 * Lookup197: orml_xtokens::module::Call<T>1849 * Lookup218: orml_xtokens::module::Call<T>1717 **/1850 **/1718 OrmlXtokensModuleCall: {1851 OrmlXtokensModuleCall: {1719 _enum: {1852 _enum: {1720 transfer: {1853 transfer: {1755 }1888 }1756 }1889 }1757 },1890 },1758 /**1891 /**1759 * Lookup198: xcm::VersionedMultiAsset1892 * Lookup219: xcm::VersionedMultiAsset1760 **/1893 **/1761 XcmVersionedMultiAsset: {1894 XcmVersionedMultiAsset: {1762 _enum: {1895 _enum: {1763 V0: 'XcmV0MultiAsset',1896 V0: 'XcmV0MultiAsset',1764 V1: 'XcmV1MultiAsset'1897 V1: 'XcmV1MultiAsset'1765 }1898 }1766 },1899 },1767 /**1900 /**1768 * Lookup201: orml_tokens::module::Call<T>1901 * Lookup222: orml_tokens::module::Call<T>1769 **/1902 **/1770 OrmlTokensModuleCall: {1903 OrmlTokensModuleCall: {1771 _enum: {1904 _enum: {1772 transfer: {1905 transfer: {1798 }1931 }1799 }1932 }1800 },1933 },1934 /**1935 * Lookup223: pallet_identity::pallet::Call<T>1936 **/1937 PalletIdentityCall: {1938 _enum: {1939 add_registrar: {1940 account: 'MultiAddress',1941 },1942 set_identity: {1943 info: 'PalletIdentityIdentityInfo',1944 },1945 set_subs: {1946 subs: 'Vec<(AccountId32,Data)>',1947 },1948 clear_identity: 'Null',1949 request_judgement: {1950 regIndex: 'Compact<u32>',1951 maxFee: 'Compact<u128>',1952 },1953 cancel_request: {1954 regIndex: 'u32',1955 },1956 set_fee: {1957 index: 'Compact<u32>',1958 fee: 'Compact<u128>',1959 },1960 set_account_id: {1961 _alias: {1962 new_: 'new',1963 },1964 index: 'Compact<u32>',1965 new_: 'MultiAddress',1966 },1967 set_fields: {1968 index: 'Compact<u32>',1969 fields: 'PalletIdentityBitFlags',1970 },1971 provide_judgement: {1972 regIndex: 'Compact<u32>',1973 target: 'MultiAddress',1974 judgement: 'PalletIdentityJudgement',1975 identity: 'H256',1976 },1977 kill_identity: {1978 target: 'MultiAddress',1979 },1980 add_sub: {1981 sub: 'MultiAddress',1982 data: 'Data',1983 },1984 rename_sub: {1985 sub: 'MultiAddress',1986 data: 'Data',1987 },1988 remove_sub: {1989 sub: 'MultiAddress',1990 },1991 quit_sub: 'Null',1992 force_insert_identities: {1993 identities: 'Vec<(AccountId32,PalletIdentityRegistration)>',1994 },1995 force_remove_identities: {1996 identities: 'Vec<AccountId32>',1997 },1998 force_set_subs: {1999 subs: 'Vec<(AccountId32,(u128,Vec<(AccountId32,Data)>))>'2000 }2001 }2002 },2003 /**2004 * Lookup224: pallet_identity::types::IdentityInfo<FieldLimit>2005 **/2006 PalletIdentityIdentityInfo: {2007 additional: 'Vec<(Data,Data)>',2008 display: 'Data',2009 legal: 'Data',2010 web: 'Data',2011 riot: 'Data',2012 email: 'Data',2013 pgpFingerprint: 'Option<[u8;20]>',2014 image: 'Data',2015 twitter: 'Data'2016 },2017 /**2018 * Lookup260: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>2019 **/2020 PalletIdentityBitFlags: {2021 _bitLength: 64,2022 Display: 1,2023 Legal: 2,2024 Web: 4,2025 Riot: 8,2026 Email: 16,2027 PgpFingerprint: 32,2028 Image: 64,2029 Twitter: 1282030 },2031 /**2032 * Lookup261: pallet_identity::types::IdentityField2033 **/2034 PalletIdentityIdentityField: {2035 _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']2036 },2037 /**2038 * Lookup262: pallet_identity::types::Judgement<Balance>2039 **/2040 PalletIdentityJudgement: {2041 _enum: {2042 Unknown: 'Null',2043 FeePaid: 'u128',2044 Reasonable: 'Null',2045 KnownGood: 'Null',2046 OutOfDate: 'Null',2047 LowQuality: 'Null',2048 Erroneous: 'Null'2049 }2050 },2051 /**2052 * Lookup265: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>2053 **/2054 PalletIdentityRegistration: {2055 judgements: 'Vec<(u32,PalletIdentityJudgement)>',2056 deposit: 'u128',2057 info: 'PalletIdentityIdentityInfo'2058 },2059 /**2060 * Lookup273: pallet_preimage::pallet::Call<T>2061 **/2062 PalletPreimageCall: {2063 _enum: {2064 note_preimage: {2065 bytes: 'Bytes',2066 },2067 unnote_preimage: {2068 _alias: {2069 hash_: 'hash',2070 },2071 hash_: 'H256',2072 },2073 request_preimage: {2074 _alias: {2075 hash_: 'hash',2076 },2077 hash_: 'H256',2078 },2079 unrequest_preimage: {2080 _alias: {2081 hash_: 'hash',2082 },2083 hash_: 'H256'2084 }2085 }2086 },1801 /**2087 /**1802 * Lookup202: cumulus_pallet_xcmp_queue::pallet::Call<T>2088 * Lookup274: cumulus_pallet_xcmp_queue::pallet::Call<T>1803 **/2089 **/1804 CumulusPalletXcmpQueueCall: {2090 CumulusPalletXcmpQueueCall: {1805 _enum: {2091 _enum: {1806 service_overweight: {2092 service_overweight: {1847 }2133 }1848 }2134 }1849 },2135 },1850 /**2136 /**1851 * Lookup203: pallet_xcm::pallet::Call<T>2137 * Lookup275: pallet_xcm::pallet::Call<T>1852 **/2138 **/1853 PalletXcmCall: {2139 PalletXcmCall: {1854 _enum: {2140 _enum: {1855 send: {2141 send: {1901 }2187 }1902 }2188 }1903 },2189 },1904 /**2190 /**1905 * Lookup204: xcm::VersionedXcm<RuntimeCall>2191 * Lookup276: xcm::VersionedXcm<RuntimeCall>1906 **/2192 **/1907 XcmVersionedXcm: {2193 XcmVersionedXcm: {1908 _enum: {2194 _enum: {1909 V0: 'XcmV0Xcm',2195 V0: 'XcmV0Xcm',1910 V1: 'XcmV1Xcm',2196 V1: 'XcmV1Xcm',1911 V2: 'XcmV2Xcm'2197 V2: 'XcmV2Xcm'1912 }2198 }1913 },2199 },1914 /**2200 /**1915 * Lookup205: xcm::v0::Xcm<RuntimeCall>2201 * Lookup277: xcm::v0::Xcm<RuntimeCall>1916 **/2202 **/1917 XcmV0Xcm: {2203 XcmV0Xcm: {1918 _enum: {2204 _enum: {1919 WithdrawAsset: {2205 WithdrawAsset: {1965 }2251 }1966 }2252 }1967 },2253 },1968 /**2254 /**1969 * Lookup207: xcm::v0::order::Order<RuntimeCall>2255 * Lookup279: xcm::v0::order::Order<RuntimeCall>1970 **/2256 **/1971 XcmV0Order: {2257 XcmV0Order: {1972 _enum: {2258 _enum: {1973 Null: 'Null',2259 Null: 'Null',2008 }2294 }2009 }2295 }2010 },2296 },2011 /**2297 /**2012 * Lookup209: xcm::v0::Response2298 * Lookup281: xcm::v0::Response2013 **/2299 **/2014 XcmV0Response: {2300 XcmV0Response: {2015 _enum: {2301 _enum: {2016 Assets: 'Vec<XcmV0MultiAsset>'2302 Assets: 'Vec<XcmV0MultiAsset>'2017 }2303 }2018 },2304 },2019 /**2305 /**2020 * Lookup210: xcm::v1::Xcm<RuntimeCall>2306 * Lookup282: xcm::v1::Xcm<RuntimeCall>2021 **/2307 **/2022 XcmV1Xcm: {2308 XcmV1Xcm: {2023 _enum: {2309 _enum: {2024 WithdrawAsset: {2310 WithdrawAsset: {2075 UnsubscribeVersion: 'Null'2361 UnsubscribeVersion: 'Null'2076 }2362 }2077 },2363 },2078 /**2364 /**2079 * Lookup212: xcm::v1::order::Order<RuntimeCall>2365 * Lookup284: xcm::v1::order::Order<RuntimeCall>2080 **/2366 **/2081 XcmV1Order: {2367 XcmV1Order: {2082 _enum: {2368 _enum: {2083 Noop: 'Null',2369 Noop: 'Null',2120 }2406 }2121 }2407 }2122 },2408 },2123 /**2409 /**2124 * Lookup214: xcm::v1::Response2410 * Lookup286: xcm::v1::Response2125 **/2411 **/2126 XcmV1Response: {2412 XcmV1Response: {2127 _enum: {2413 _enum: {2128 Assets: 'XcmV1MultiassetMultiAssets',2414 Assets: 'XcmV1MultiassetMultiAssets',2129 Version: 'u32'2415 Version: 'u32'2130 }2416 }2131 },2417 },2132 /**2418 /**2133 * Lookup228: cumulus_pallet_xcm::pallet::Call<T>2419 * Lookup300: cumulus_pallet_xcm::pallet::Call<T>2134 **/2420 **/2135 CumulusPalletXcmCall: 'Null',2421 CumulusPalletXcmCall: 'Null',2136 /**2422 /**2137 * Lookup229: cumulus_pallet_dmp_queue::pallet::Call<T>2423 * Lookup301: cumulus_pallet_dmp_queue::pallet::Call<T>2138 **/2424 **/2139 CumulusPalletDmpQueueCall: {2425 CumulusPalletDmpQueueCall: {2140 _enum: {2426 _enum: {2141 service_overweight: {2427 service_overweight: {2144 }2430 }2145 }2431 }2146 },2432 },2147 /**2433 /**2148 * Lookup230: pallet_inflation::pallet::Call<T>2434 * Lookup302: pallet_inflation::pallet::Call<T>2149 **/2435 **/2150 PalletInflationCall: {2436 PalletInflationCall: {2151 _enum: {2437 _enum: {2152 start_inflation: {2438 start_inflation: {2153 inflationStartRelayBlock: 'u32'2439 inflationStartRelayBlock: 'u32'2154 }2440 }2155 }2441 }2156 },2442 },2157 /**2443 /**2158 * Lookup231: pallet_unique::Call<T>2444 * Lookup303: pallet_unique::Call<T>2159 **/2445 **/2160 PalletUniqueCall: {2446 PalletUniqueCall: {2161 _enum: {2447 _enum: {2162 create_collection: {2448 create_collection: {2305 }2591 }2306 }2592 }2307 },2593 },2308 /**2594 /**2309 * Lookup236: up_data_structs::CollectionMode2595 * Lookup308: up_data_structs::CollectionMode2310 **/2596 **/2311 UpDataStructsCollectionMode: {2597 UpDataStructsCollectionMode: {2312 _enum: {2598 _enum: {2313 NFT: 'Null',2599 NFT: 'Null',2314 Fungible: 'u8',2600 Fungible: 'u8',2315 ReFungible: 'Null'2601 ReFungible: 'Null'2316 }2602 }2317 },2603 },2318 /**2604 /**2319 * Lookup237: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2605 * Lookup309: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2320 **/2606 **/2321 UpDataStructsCreateCollectionData: {2607 UpDataStructsCreateCollectionData: {2322 mode: 'UpDataStructsCollectionMode',2608 mode: 'UpDataStructsCollectionMode',2323 access: 'Option<UpDataStructsAccessMode>',2609 access: 'Option<UpDataStructsAccessMode>',2330 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2616 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2331 properties: 'Vec<UpDataStructsProperty>'2617 properties: 'Vec<UpDataStructsProperty>'2332 },2618 },2333 /**2619 /**2334 * Lookup239: up_data_structs::AccessMode2620 * Lookup311: up_data_structs::AccessMode2335 **/2621 **/2336 UpDataStructsAccessMode: {2622 UpDataStructsAccessMode: {2337 _enum: ['Normal', 'AllowList']2623 _enum: ['Normal', 'AllowList']2338 },2624 },2339 /**2625 /**2340 * Lookup241: up_data_structs::CollectionLimits2626 * Lookup313: up_data_structs::CollectionLimits2341 **/2627 **/2342 UpDataStructsCollectionLimits: {2628 UpDataStructsCollectionLimits: {2343 accountTokenOwnershipLimit: 'Option<u32>',2629 accountTokenOwnershipLimit: 'Option<u32>',2344 sponsoredDataSize: 'Option<u32>',2630 sponsoredDataSize: 'Option<u32>',2350 ownerCanDestroy: 'Option<bool>',2636 ownerCanDestroy: 'Option<bool>',2351 transfersEnabled: 'Option<bool>'2637 transfersEnabled: 'Option<bool>'2352 },2638 },2353 /**2639 /**2354 * Lookup243: up_data_structs::SponsoringRateLimit2640 * Lookup315: up_data_structs::SponsoringRateLimit2355 **/2641 **/2356 UpDataStructsSponsoringRateLimit: {2642 UpDataStructsSponsoringRateLimit: {2357 _enum: {2643 _enum: {2358 SponsoringDisabled: 'Null',2644 SponsoringDisabled: 'Null',2359 Blocks: 'u32'2645 Blocks: 'u32'2360 }2646 }2361 },2647 },2362 /**2648 /**2363 * Lookup246: up_data_structs::CollectionPermissions2649 * Lookup318: up_data_structs::CollectionPermissions2364 **/2650 **/2365 UpDataStructsCollectionPermissions: {2651 UpDataStructsCollectionPermissions: {2366 access: 'Option<UpDataStructsAccessMode>',2652 access: 'Option<UpDataStructsAccessMode>',2367 mintMode: 'Option<bool>',2653 mintMode: 'Option<bool>',2368 nesting: 'Option<UpDataStructsNestingPermissions>'2654 nesting: 'Option<UpDataStructsNestingPermissions>'2369 },2655 },2370 /**2656 /**2371 * Lookup248: up_data_structs::NestingPermissions2657 * Lookup320: up_data_structs::NestingPermissions2372 **/2658 **/2373 UpDataStructsNestingPermissions: {2659 UpDataStructsNestingPermissions: {2374 tokenOwner: 'bool',2660 tokenOwner: 'bool',2375 collectionAdmin: 'bool',2661 collectionAdmin: 'bool',2376 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2662 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2377 },2663 },2378 /**2664 /**2379 * Lookup250: up_data_structs::OwnerRestrictedSet2665 * Lookup322: up_data_structs::OwnerRestrictedSet2380 **/2666 **/2381 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2667 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2382 /**2668 /**2383 * Lookup255: up_data_structs::PropertyKeyPermission2669 * Lookup327: up_data_structs::PropertyKeyPermission2384 **/2670 **/2385 UpDataStructsPropertyKeyPermission: {2671 UpDataStructsPropertyKeyPermission: {2386 key: 'Bytes',2672 key: 'Bytes',2387 permission: 'UpDataStructsPropertyPermission'2673 permission: 'UpDataStructsPropertyPermission'2388 },2674 },2389 /**2675 /**2390 * Lookup256: up_data_structs::PropertyPermission2676 * Lookup328: up_data_structs::PropertyPermission2391 **/2677 **/2392 UpDataStructsPropertyPermission: {2678 UpDataStructsPropertyPermission: {2393 mutable: 'bool',2679 mutable: 'bool',2394 collectionAdmin: 'bool',2680 collectionAdmin: 'bool',2395 tokenOwner: 'bool'2681 tokenOwner: 'bool'2396 },2682 },2397 /**2683 /**2398 * Lookup259: up_data_structs::Property2684 * Lookup331: up_data_structs::Property2399 **/2685 **/2400 UpDataStructsProperty: {2686 UpDataStructsProperty: {2401 key: 'Bytes',2687 key: 'Bytes',2402 value: 'Bytes'2688 value: 'Bytes'2403 },2689 },2404 /**2690 /**2405 * Lookup262: up_data_structs::CreateItemData2691 * Lookup334: up_data_structs::CreateItemData2406 **/2692 **/2407 UpDataStructsCreateItemData: {2693 UpDataStructsCreateItemData: {2408 _enum: {2694 _enum: {2409 NFT: 'UpDataStructsCreateNftData',2695 NFT: 'UpDataStructsCreateNftData',2410 Fungible: 'UpDataStructsCreateFungibleData',2696 Fungible: 'UpDataStructsCreateFungibleData',2411 ReFungible: 'UpDataStructsCreateReFungibleData'2697 ReFungible: 'UpDataStructsCreateReFungibleData'2412 }2698 }2413 },2699 },2414 /**2700 /**2415 * Lookup263: up_data_structs::CreateNftData2701 * Lookup335: up_data_structs::CreateNftData2416 **/2702 **/2417 UpDataStructsCreateNftData: {2703 UpDataStructsCreateNftData: {2418 properties: 'Vec<UpDataStructsProperty>'2704 properties: 'Vec<UpDataStructsProperty>'2419 },2705 },2420 /**2706 /**2421 * Lookup264: up_data_structs::CreateFungibleData2707 * Lookup336: up_data_structs::CreateFungibleData2422 **/2708 **/2423 UpDataStructsCreateFungibleData: {2709 UpDataStructsCreateFungibleData: {2424 value: 'u128'2710 value: 'u128'2425 },2711 },2426 /**2712 /**2427 * Lookup265: up_data_structs::CreateReFungibleData2713 * Lookup337: up_data_structs::CreateReFungibleData2428 **/2714 **/2429 UpDataStructsCreateReFungibleData: {2715 UpDataStructsCreateReFungibleData: {2430 pieces: 'u128',2716 pieces: 'u128',2431 properties: 'Vec<UpDataStructsProperty>'2717 properties: 'Vec<UpDataStructsProperty>'2432 },2718 },2433 /**2719 /**2434 * Lookup268: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2720 * Lookup340: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2435 **/2721 **/2436 UpDataStructsCreateItemExData: {2722 UpDataStructsCreateItemExData: {2437 _enum: {2723 _enum: {2438 NFT: 'Vec<UpDataStructsCreateNftExData>',2724 NFT: 'Vec<UpDataStructsCreateNftExData>',2441 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2727 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2442 }2728 }2443 },2729 },2444 /**2730 /**2445 * Lookup270: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2731 * Lookup342: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2446 **/2732 **/2447 UpDataStructsCreateNftExData: {2733 UpDataStructsCreateNftExData: {2448 properties: 'Vec<UpDataStructsProperty>',2734 properties: 'Vec<UpDataStructsProperty>',2449 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2735 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2450 },2736 },2451 /**2737 /**2452 * Lookup277: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2738 * Lookup349: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2453 **/2739 **/2454 UpDataStructsCreateRefungibleExSingleOwner: {2740 UpDataStructsCreateRefungibleExSingleOwner: {2455 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2741 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2456 pieces: 'u128',2742 pieces: 'u128',2457 properties: 'Vec<UpDataStructsProperty>'2743 properties: 'Vec<UpDataStructsProperty>'2458 },2744 },2459 /**2745 /**2460 * Lookup279: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2746 * Lookup351: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2461 **/2747 **/2462 UpDataStructsCreateRefungibleExMultipleOwners: {2748 UpDataStructsCreateRefungibleExMultipleOwners: {2463 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2749 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2464 properties: 'Vec<UpDataStructsProperty>'2750 properties: 'Vec<UpDataStructsProperty>'2465 },2751 },2466 /**2752 /**2467 * Lookup280: pallet_configuration::pallet::Call<T>2753 * Lookup352: pallet_configuration::pallet::Call<T>2468 **/2754 **/2469 PalletConfigurationCall: {2755 PalletConfigurationCall: {2470 _enum: {2756 _enum: {2471 set_weight_to_fee_coefficient_override: {2757 set_weight_to_fee_coefficient_override: {2491 }2777 }2492 }2778 }2493 },2779 },2494 /**2780 /**2495 * Lookup285: pallet_configuration::AppPromotionConfiguration<BlockNumber>2781 * Lookup357: pallet_configuration::AppPromotionConfiguration<BlockNumber>2496 **/2782 **/2497 PalletConfigurationAppPromotionConfiguration: {2783 PalletConfigurationAppPromotionConfiguration: {2498 recalculationInterval: 'Option<u32>',2784 recalculationInterval: 'Option<u32>',2499 pendingInterval: 'Option<u32>',2785 pendingInterval: 'Option<u32>',2500 intervalIncome: 'Option<Perbill>',2786 intervalIncome: 'Option<Perbill>',2501 maxStakersPerCalculation: 'Option<u8>'2787 maxStakersPerCalculation: 'Option<u8>'2502 },2788 },2503 /**2789 /**2504 * Lookup289: pallet_template_transaction_payment::Call<T>2790 * Lookup361: pallet_template_transaction_payment::Call<T>2505 **/2791 **/2506 PalletTemplateTransactionPaymentCall: 'Null',2792 PalletTemplateTransactionPaymentCall: 'Null',2507 /**2793 /**2508 * Lookup290: pallet_structure::pallet::Call<T>2794 * Lookup362: pallet_structure::pallet::Call<T>2509 **/2795 **/2510 PalletStructureCall: 'Null',2796 PalletStructureCall: 'Null',2511 /**2512 * Lookup291: pallet_rmrk_core::pallet::Call<T>2513 **/2514 PalletRmrkCoreCall: {2515 _enum: {2516 create_collection: {2517 metadata: 'Bytes',2518 max: 'Option<u32>',2519 symbol: 'Bytes',2520 },2521 destroy_collection: {2522 collectionId: 'u32',2523 },2524 change_collection_issuer: {2525 collectionId: 'u32',2526 newIssuer: 'MultiAddress',2527 },2528 lock_collection: {2529 collectionId: 'u32',2530 },2531 mint_nft: {2532 owner: 'Option<AccountId32>',2533 collectionId: 'u32',2534 recipient: 'Option<AccountId32>',2535 royaltyAmount: 'Option<Permill>',2536 metadata: 'Bytes',2537 transferable: 'bool',2538 resources: 'Option<Vec<RmrkTraitsResourceResourceTypes>>',2539 },2540 burn_nft: {2541 collectionId: 'u32',2542 nftId: 'u32',2543 maxBurns: 'u32',2544 },2545 send: {2546 rmrkCollectionId: 'u32',2547 rmrkNftId: 'u32',2548 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2549 },2550 accept_nft: {2551 rmrkCollectionId: 'u32',2552 rmrkNftId: 'u32',2553 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2554 },2555 reject_nft: {2556 rmrkCollectionId: 'u32',2557 rmrkNftId: 'u32',2558 },2559 accept_resource: {2560 rmrkCollectionId: 'u32',2561 rmrkNftId: 'u32',2562 resourceId: 'u32',2563 },2564 accept_resource_removal: {2565 rmrkCollectionId: 'u32',2566 rmrkNftId: 'u32',2567 resourceId: 'u32',2568 },2569 set_property: {2570 rmrkCollectionId: 'Compact<u32>',2571 maybeNftId: 'Option<u32>',2572 key: 'Bytes',2573 value: 'Bytes',2574 },2575 set_priority: {2576 rmrkCollectionId: 'u32',2577 rmrkNftId: 'u32',2578 priorities: 'Vec<u32>',2579 },2580 add_basic_resource: {2581 rmrkCollectionId: 'u32',2582 nftId: 'u32',2583 resource: 'RmrkTraitsResourceBasicResource',2584 },2585 add_composable_resource: {2586 rmrkCollectionId: 'u32',2587 nftId: 'u32',2588 resource: 'RmrkTraitsResourceComposableResource',2589 },2590 add_slot_resource: {2591 rmrkCollectionId: 'u32',2592 nftId: 'u32',2593 resource: 'RmrkTraitsResourceSlotResource',2594 },2595 remove_resource: {2596 rmrkCollectionId: 'u32',2597 nftId: 'u32',2598 resourceId: 'u32'2599 }2600 }2601 },2602 /**2603 * Lookup297: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2604 **/2605 RmrkTraitsResourceResourceTypes: {2606 _enum: {2607 Basic: 'RmrkTraitsResourceBasicResource',2608 Composable: 'RmrkTraitsResourceComposableResource',2609 Slot: 'RmrkTraitsResourceSlotResource'2610 }2611 },2612 /**2613 * Lookup299: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2614 **/2615 RmrkTraitsResourceBasicResource: {2616 src: 'Option<Bytes>',2617 metadata: 'Option<Bytes>',2618 license: 'Option<Bytes>',2619 thumb: 'Option<Bytes>'2620 },2621 /**2622 * Lookup301: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2623 **/2624 RmrkTraitsResourceComposableResource: {2625 parts: 'Vec<u32>',2626 base: 'u32',2627 src: 'Option<Bytes>',2628 metadata: 'Option<Bytes>',2629 license: 'Option<Bytes>',2630 thumb: 'Option<Bytes>'2631 },2632 /**2633 * Lookup302: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2634 **/2635 RmrkTraitsResourceSlotResource: {2636 base: 'u32',2637 src: 'Option<Bytes>',2638 metadata: 'Option<Bytes>',2639 slot: 'u32',2640 license: 'Option<Bytes>',2641 thumb: 'Option<Bytes>'2642 },2643 /**2644 * Lookup305: pallet_rmrk_equip::pallet::Call<T>2645 **/2646 PalletRmrkEquipCall: {2647 _enum: {2648 create_base: {2649 baseType: 'Bytes',2650 symbol: 'Bytes',2651 parts: 'Vec<RmrkTraitsPartPartType>',2652 },2653 theme_add: {2654 baseId: 'u32',2655 theme: 'RmrkTraitsTheme',2656 },2657 equippable: {2658 baseId: 'u32',2659 slotId: 'u32',2660 equippables: 'RmrkTraitsPartEquippableList'2661 }2662 }2663 },2664 /**2665 * Lookup308: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2666 **/2667 RmrkTraitsPartPartType: {2668 _enum: {2669 FixedPart: 'RmrkTraitsPartFixedPart',2670 SlotPart: 'RmrkTraitsPartSlotPart'2671 }2672 },2673 /**2674 * Lookup310: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2675 **/2676 RmrkTraitsPartFixedPart: {2677 id: 'u32',2678 z: 'u32',2679 src: 'Bytes'2680 },2681 /**2682 * Lookup311: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2683 **/2684 RmrkTraitsPartSlotPart: {2685 id: 'u32',2686 equippable: 'RmrkTraitsPartEquippableList',2687 src: 'Bytes',2688 z: 'u32'2689 },2690 /**2691 * Lookup312: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2692 **/2693 RmrkTraitsPartEquippableList: {2694 _enum: {2695 All: 'Null',2696 Empty: 'Null',2697 Custom: 'Vec<u32>'2698 }2699 },2700 /**2701 * Lookup314: 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>>2702 **/2703 RmrkTraitsTheme: {2704 name: 'Bytes',2705 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2706 inherit: 'bool'2707 },2708 /**2709 * Lookup316: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2710 **/2711 RmrkTraitsThemeThemeProperty: {2712 key: 'Bytes',2713 value: 'Bytes'2714 },2715 /**2797 /**2716 * Lookup318: pallet_app_promotion::pallet::Call<T>2798 * Lookup363: pallet_app_promotion::pallet::Call<T>2717 **/2799 **/2718 PalletAppPromotionCall: {2800 PalletAppPromotionCall: {2719 _enum: {2801 _enum: {2720 set_admin_address: {2802 set_admin_address: {2723 stake: {2805 stake: {2724 amount: 'u128',2806 amount: 'u128',2725 },2807 },2726 unstake: 'Null',2808 unstake_all: 'Null',2727 sponsor_collection: {2809 sponsor_collection: {2728 collectionId: 'u32',2810 collectionId: 'u32',2729 },2811 },2738 },2820 },2739 payout_stakers: {2821 payout_stakers: {2740 stakersNumber: 'Option<u8>'2822 stakersNumber: 'Option<u8>',2741 }2823 },2824 unstake_partial: {2825 amount: 'u128'2826 }2742 }2827 }2743 },2828 },2744 /**2829 /**2745 * Lookup319: pallet_foreign_assets::module::Call<T>2830 * Lookup364: pallet_foreign_assets::module::Call<T>2746 **/2831 **/2747 PalletForeignAssetsModuleCall: {2832 PalletForeignAssetsModuleCall: {2748 _enum: {2833 _enum: {2749 register_foreign_asset: {2834 register_foreign_asset: {2758 }2843 }2759 }2844 }2760 },2845 },2761 /**2846 /**2762 * Lookup320: pallet_evm::pallet::Call<T>2847 * Lookup365: pallet_evm::pallet::Call<T>2763 **/2848 **/2764 PalletEvmCall: {2849 PalletEvmCall: {2765 _enum: {2850 _enum: {2766 withdraw: {2851 withdraw: {2801 }2886 }2802 }2887 }2803 },2888 },2804 /**2889 /**2805 * Lookup326: pallet_ethereum::pallet::Call<T>2890 * Lookup371: pallet_ethereum::pallet::Call<T>2806 **/2891 **/2807 PalletEthereumCall: {2892 PalletEthereumCall: {2808 _enum: {2893 _enum: {2809 transact: {2894 transact: {2810 transaction: 'EthereumTransactionTransactionV2'2895 transaction: 'EthereumTransactionTransactionV2'2811 }2896 }2812 }2897 }2813 },2898 },2814 /**2899 /**2815 * Lookup327: ethereum::transaction::TransactionV22900 * Lookup372: ethereum::transaction::TransactionV22816 **/2901 **/2817 EthereumTransactionTransactionV2: {2902 EthereumTransactionTransactionV2: {2818 _enum: {2903 _enum: {2819 Legacy: 'EthereumTransactionLegacyTransaction',2904 Legacy: 'EthereumTransactionLegacyTransaction',2820 EIP2930: 'EthereumTransactionEip2930Transaction',2905 EIP2930: 'EthereumTransactionEip2930Transaction',2821 EIP1559: 'EthereumTransactionEip1559Transaction'2906 EIP1559: 'EthereumTransactionEip1559Transaction'2822 }2907 }2823 },2908 },2824 /**2909 /**2825 * Lookup328: ethereum::transaction::LegacyTransaction2910 * Lookup373: ethereum::transaction::LegacyTransaction2826 **/2911 **/2827 EthereumTransactionLegacyTransaction: {2912 EthereumTransactionLegacyTransaction: {2828 nonce: 'U256',2913 nonce: 'U256',2829 gasPrice: 'U256',2914 gasPrice: 'U256',2833 input: 'Bytes',2918 input: 'Bytes',2834 signature: 'EthereumTransactionTransactionSignature'2919 signature: 'EthereumTransactionTransactionSignature'2835 },2920 },2836 /**2921 /**2837 * Lookup329: ethereum::transaction::TransactionAction2922 * Lookup374: ethereum::transaction::TransactionAction2838 **/2923 **/2839 EthereumTransactionTransactionAction: {2924 EthereumTransactionTransactionAction: {2840 _enum: {2925 _enum: {2841 Call: 'H160',2926 Call: 'H160',2842 Create: 'Null'2927 Create: 'Null'2843 }2928 }2844 },2929 },2845 /**2930 /**2846 * Lookup330: ethereum::transaction::TransactionSignature2931 * Lookup375: ethereum::transaction::TransactionSignature2847 **/2932 **/2848 EthereumTransactionTransactionSignature: {2933 EthereumTransactionTransactionSignature: {2849 v: 'u64',2934 v: 'u64',2850 r: 'H256',2935 r: 'H256',2851 s: 'H256'2936 s: 'H256'2852 },2937 },2853 /**2938 /**2854 * Lookup332: ethereum::transaction::EIP2930Transaction2939 * Lookup377: ethereum::transaction::EIP2930Transaction2855 **/2940 **/2856 EthereumTransactionEip2930Transaction: {2941 EthereumTransactionEip2930Transaction: {2857 chainId: 'u64',2942 chainId: 'u64',2858 nonce: 'U256',2943 nonce: 'U256',2866 r: 'H256',2951 r: 'H256',2867 s: 'H256'2952 s: 'H256'2868 },2953 },2869 /**2954 /**2870 * Lookup334: ethereum::transaction::AccessListItem2955 * Lookup379: ethereum::transaction::AccessListItem2871 **/2956 **/2872 EthereumTransactionAccessListItem: {2957 EthereumTransactionAccessListItem: {2873 address: 'H160',2958 address: 'H160',2874 storageKeys: 'Vec<H256>'2959 storageKeys: 'Vec<H256>'2875 },2960 },2876 /**2961 /**2877 * Lookup335: ethereum::transaction::EIP1559Transaction2962 * Lookup380: ethereum::transaction::EIP1559Transaction2878 **/2963 **/2879 EthereumTransactionEip1559Transaction: {2964 EthereumTransactionEip1559Transaction: {2880 chainId: 'u64',2965 chainId: 'u64',2881 nonce: 'U256',2966 nonce: 'U256',2890 r: 'H256',2975 r: 'H256',2891 s: 'H256'2976 s: 'H256'2892 },2977 },2893 /**2978 /**2894 * Lookup336: pallet_evm_migration::pallet::Call<T>2979 * Lookup381: pallet_evm_migration::pallet::Call<T>2895 **/2980 **/2896 PalletEvmMigrationCall: {2981 PalletEvmMigrationCall: {2897 _enum: {2982 _enum: {2898 begin: {2983 begin: {2911 },2996 },2912 insert_events: {2997 insert_events: {2913 events: 'Vec<Bytes>'2998 events: 'Vec<Bytes>',2914 }2999 },3000 remove_rmrk_data: 'Null'2915 }3001 }2916 },3002 },2917 /**3003 /**2918 * Lookup340: pallet_maintenance::pallet::Call<T>3004 * Lookup385: pallet_maintenance::pallet::Call<T>2919 **/3005 **/2920 PalletMaintenanceCall: {3006 PalletMaintenanceCall: {2921 _enum: ['enable', 'disable']3007 _enum: {3008 enable: 'Null',3009 disable: 'Null',3010 execute_preimage: {3011 _alias: {3012 hash_: 'hash',3013 },3014 hash_: 'H256',3015 weightBound: 'SpWeightsWeightV2Weight'3016 }3017 }2922 },3018 },2923 /**3019 /**2924 * Lookup341: pallet_test_utils::pallet::Call<T>3020 * Lookup386: pallet_test_utils::pallet::Call<T>2925 **/3021 **/2926 PalletTestUtilsCall: {3022 PalletTestUtilsCall: {2927 _enum: {3023 _enum: {2928 enable: 'Null',3024 enable: 'Null',2939 }3035 }2940 }3036 }2941 },3037 },2942 /**3038 /**2943 * Lookup343: pallet_sudo::pallet::Error<T>3039 * Lookup388: pallet_sudo::pallet::Error<T>2944 **/3040 **/2945 PalletSudoError: {3041 PalletSudoError: {2946 _enum: ['RequireSudo']3042 _enum: ['RequireSudo']2947 },3043 },2948 /**3044 /**2949 * Lookup345: orml_vesting::module::Error<T>3045 * Lookup390: orml_vesting::module::Error<T>2950 **/3046 **/2951 OrmlVestingModuleError: {3047 OrmlVestingModuleError: {2952 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']3048 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2953 },3049 },2954 /**3050 /**2955 * Lookup346: orml_xtokens::module::Error<T>3051 * Lookup391: orml_xtokens::module::Error<T>2956 **/3052 **/2957 OrmlXtokensModuleError: {3053 OrmlXtokensModuleError: {2958 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']3054 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']2959 },3055 },2960 /**3056 /**2961 * Lookup349: orml_tokens::BalanceLock<Balance>3057 * Lookup394: orml_tokens::BalanceLock<Balance>2962 **/3058 **/2963 OrmlTokensBalanceLock: {3059 OrmlTokensBalanceLock: {2964 id: '[u8;8]',3060 id: '[u8;8]',2965 amount: 'u128'3061 amount: 'u128'2966 },3062 },2967 /**3063 /**2968 * Lookup351: orml_tokens::AccountData<Balance>3064 * Lookup396: orml_tokens::AccountData<Balance>2969 **/3065 **/2970 OrmlTokensAccountData: {3066 OrmlTokensAccountData: {2971 free: 'u128',3067 free: 'u128',2972 reserved: 'u128',3068 reserved: 'u128',2973 frozen: 'u128'3069 frozen: 'u128'2974 },3070 },2975 /**3071 /**2976 * Lookup353: orml_tokens::ReserveData<ReserveIdentifier, Balance>3072 * Lookup398: orml_tokens::ReserveData<ReserveIdentifier, Balance>2977 **/3073 **/2978 OrmlTokensReserveData: {3074 OrmlTokensReserveData: {2979 id: 'Null',3075 id: 'Null',2980 amount: 'u128'3076 amount: 'u128'2981 },3077 },2982 /**3078 /**2983 * Lookup355: orml_tokens::module::Error<T>3079 * Lookup400: orml_tokens::module::Error<T>2984 **/3080 **/2985 OrmlTokensModuleError: {3081 OrmlTokensModuleError: {2986 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']3082 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']2987 },3083 },3084 /**3085 * Lookup405: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>3086 **/3087 PalletIdentityRegistrarInfo: {3088 account: 'AccountId32',3089 fee: 'u128',3090 fields: 'PalletIdentityBitFlags'3091 },3092 /**3093 * Lookup407: pallet_identity::pallet::Error<T>3094 **/3095 PalletIdentityError: {3096 _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']3097 },3098 /**3099 * Lookup408: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>3100 **/3101 PalletPreimageRequestStatus: {3102 _enum: {3103 Unrequested: {3104 deposit: '(AccountId32,u128)',3105 len: 'u32',3106 },3107 Requested: {3108 deposit: 'Option<(AccountId32,u128)>',3109 count: 'u32',3110 len: 'Option<u32>'3111 }3112 }3113 },3114 /**3115 * Lookup413: pallet_preimage::pallet::Error<T>3116 **/3117 PalletPreimageError: {3118 _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']3119 },2988 /**3120 /**2989 * Lookup357: cumulus_pallet_xcmp_queue::InboundChannelDetails3121 * Lookup415: cumulus_pallet_xcmp_queue::InboundChannelDetails2990 **/3122 **/2991 CumulusPalletXcmpQueueInboundChannelDetails: {3123 CumulusPalletXcmpQueueInboundChannelDetails: {2992 sender: 'u32',3124 sender: 'u32',2993 state: 'CumulusPalletXcmpQueueInboundState',3125 state: 'CumulusPalletXcmpQueueInboundState',2994 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'3126 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2995 },3127 },2996 /**3128 /**2997 * Lookup358: cumulus_pallet_xcmp_queue::InboundState3129 * Lookup416: cumulus_pallet_xcmp_queue::InboundState2998 **/3130 **/2999 CumulusPalletXcmpQueueInboundState: {3131 CumulusPalletXcmpQueueInboundState: {3000 _enum: ['Ok', 'Suspended']3132 _enum: ['Ok', 'Suspended']3001 },3133 },3002 /**3134 /**3003 * Lookup361: polkadot_parachain::primitives::XcmpMessageFormat3135 * Lookup419: polkadot_parachain::primitives::XcmpMessageFormat3004 **/3136 **/3005 PolkadotParachainPrimitivesXcmpMessageFormat: {3137 PolkadotParachainPrimitivesXcmpMessageFormat: {3006 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']3138 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']3007 },3139 },3008 /**3140 /**3009 * Lookup364: cumulus_pallet_xcmp_queue::OutboundChannelDetails3141 * Lookup422: cumulus_pallet_xcmp_queue::OutboundChannelDetails3010 **/3142 **/3011 CumulusPalletXcmpQueueOutboundChannelDetails: {3143 CumulusPalletXcmpQueueOutboundChannelDetails: {3012 recipient: 'u32',3144 recipient: 'u32',3013 state: 'CumulusPalletXcmpQueueOutboundState',3145 state: 'CumulusPalletXcmpQueueOutboundState',3014 signalsExist: 'bool',3146 signalsExist: 'bool',3015 firstIndex: 'u16',3147 firstIndex: 'u16',3016 lastIndex: 'u16'3148 lastIndex: 'u16'3017 },3149 },3018 /**3150 /**3019 * Lookup365: cumulus_pallet_xcmp_queue::OutboundState3151 * Lookup423: cumulus_pallet_xcmp_queue::OutboundState3020 **/3152 **/3021 CumulusPalletXcmpQueueOutboundState: {3153 CumulusPalletXcmpQueueOutboundState: {3022 _enum: ['Ok', 'Suspended']3154 _enum: ['Ok', 'Suspended']3023 },3155 },3024 /**3156 /**3025 * Lookup367: cumulus_pallet_xcmp_queue::QueueConfigData3157 * Lookup425: cumulus_pallet_xcmp_queue::QueueConfigData3026 **/3158 **/3027 CumulusPalletXcmpQueueQueueConfigData: {3159 CumulusPalletXcmpQueueQueueConfigData: {3028 suspendThreshold: 'u32',3160 suspendThreshold: 'u32',3029 dropThreshold: 'u32',3161 dropThreshold: 'u32',3032 weightRestrictDecay: 'SpWeightsWeightV2Weight',3164 weightRestrictDecay: 'SpWeightsWeightV2Weight',3033 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'3165 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'3034 },3166 },3035 /**3167 /**3036 * Lookup369: cumulus_pallet_xcmp_queue::pallet::Error<T>3168 * Lookup427: cumulus_pallet_xcmp_queue::pallet::Error<T>3037 **/3169 **/3038 CumulusPalletXcmpQueueError: {3170 CumulusPalletXcmpQueueError: {3039 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']3171 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']3040 },3172 },3041 /**3173 /**3042 * Lookup370: pallet_xcm::pallet::Error<T>3174 * Lookup428: pallet_xcm::pallet::Error<T>3043 **/3175 **/3044 PalletXcmError: {3176 PalletXcmError: {3045 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']3177 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']3046 },3178 },3047 /**3179 /**3048 * Lookup371: cumulus_pallet_xcm::pallet::Error<T>3180 * Lookup429: cumulus_pallet_xcm::pallet::Error<T>3049 **/3181 **/3050 CumulusPalletXcmError: 'Null',3182 CumulusPalletXcmError: 'Null',3051 /**3183 /**3052 * Lookup372: cumulus_pallet_dmp_queue::ConfigData3184 * Lookup430: cumulus_pallet_dmp_queue::ConfigData3053 **/3185 **/3054 CumulusPalletDmpQueueConfigData: {3186 CumulusPalletDmpQueueConfigData: {3055 maxIndividual: 'SpWeightsWeightV2Weight'3187 maxIndividual: 'SpWeightsWeightV2Weight'3056 },3188 },3057 /**3189 /**3058 * Lookup373: cumulus_pallet_dmp_queue::PageIndexData3190 * Lookup431: cumulus_pallet_dmp_queue::PageIndexData3059 **/3191 **/3060 CumulusPalletDmpQueuePageIndexData: {3192 CumulusPalletDmpQueuePageIndexData: {3061 beginUsed: 'u32',3193 beginUsed: 'u32',3062 endUsed: 'u32',3194 endUsed: 'u32',3063 overweightCount: 'u64'3195 overweightCount: 'u64'3064 },3196 },3065 /**3197 /**3066 * Lookup376: cumulus_pallet_dmp_queue::pallet::Error<T>3198 * Lookup434: cumulus_pallet_dmp_queue::pallet::Error<T>3067 **/3199 **/3068 CumulusPalletDmpQueueError: {3200 CumulusPalletDmpQueueError: {3069 _enum: ['Unknown', 'OverLimit']3201 _enum: ['Unknown', 'OverLimit']3070 },3202 },3071 /**3203 /**3072 * Lookup380: pallet_unique::Error<T>3204 * Lookup438: pallet_unique::Error<T>3073 **/3205 **/3074 PalletUniqueError: {3206 PalletUniqueError: {3075 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']3207 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']3076 },3208 },3077 /**3209 /**3078 * Lookup381: pallet_configuration::pallet::Error<T>3210 * Lookup439: pallet_configuration::pallet::Error<T>3079 **/3211 **/3080 PalletConfigurationError: {3212 PalletConfigurationError: {3081 _enum: ['InconsistentConfiguration']3213 _enum: ['InconsistentConfiguration']3082 },3214 },3083 /**3215 /**3084 * Lookup382: up_data_structs::Collection<sp_core::crypto::AccountId32>3216 * Lookup440: up_data_structs::Collection<sp_core::crypto::AccountId32>3085 **/3217 **/3086 UpDataStructsCollection: {3218 UpDataStructsCollection: {3087 owner: 'AccountId32',3219 owner: 'AccountId32',3088 mode: 'UpDataStructsCollectionMode',3220 mode: 'UpDataStructsCollectionMode',3094 permissions: 'UpDataStructsCollectionPermissions',3226 permissions: 'UpDataStructsCollectionPermissions',3095 flags: '[u8;1]'3227 flags: '[u8;1]'3096 },3228 },3097 /**3229 /**3098 * Lookup383: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>3230 * Lookup441: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>3099 **/3231 **/3100 UpDataStructsSponsorshipStateAccountId32: {3232 UpDataStructsSponsorshipStateAccountId32: {3101 _enum: {3233 _enum: {3102 Disabled: 'Null',3234 Disabled: 'Null',3103 Unconfirmed: 'AccountId32',3235 Unconfirmed: 'AccountId32',3104 Confirmed: 'AccountId32'3236 Confirmed: 'AccountId32'3105 }3237 }3106 },3238 },3107 /**3239 /**3108 * Lookup385: up_data_structs::Properties3240 * Lookup442: up_data_structs::Properties3109 **/3241 **/3110 UpDataStructsProperties: {3242 UpDataStructsProperties: {3111 map: 'UpDataStructsPropertiesMapBoundedVec',3243 map: 'UpDataStructsPropertiesMapBoundedVec',3112 consumedSpace: 'u32',3244 consumedSpace: 'u32',3113 spaceLimit: 'u32'3245 spaceLimit: 'u32'3114 },3246 },3115 /**3247 /**3116 * Lookup386: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3248 * Lookup443: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3117 **/3249 **/3118 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',3250 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',3119 /**3251 /**3120 * Lookup391: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>3252 * Lookup448: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>3121 **/3253 **/3122 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',3254 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',3123 /**3255 /**3124 * Lookup398: up_data_structs::CollectionStats3256 * Lookup455: up_data_structs::CollectionStats3125 **/3257 **/3126 UpDataStructsCollectionStats: {3258 UpDataStructsCollectionStats: {3127 created: 'u32',3259 created: 'u32',3128 destroyed: 'u32',3260 destroyed: 'u32',3129 alive: 'u32'3261 alive: 'u32'3130 },3262 },3131 /**3263 /**3132 * Lookup399: up_data_structs::TokenChild3264 * Lookup456: up_data_structs::TokenChild3133 **/3265 **/3134 UpDataStructsTokenChild: {3266 UpDataStructsTokenChild: {3135 token: 'u32',3267 token: 'u32',3136 collection: 'u32'3268 collection: 'u32'3137 },3269 },3138 /**3270 /**3139 * Lookup400: PhantomType::up_data_structs<T>3271 * Lookup457: PhantomType::up_data_structs<T>3140 **/3272 **/3141 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild,UpPovEstimateRpcPovInfo);0]',3273 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]',3142 /**3274 /**3143 * Lookup402: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3275 * Lookup459: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3144 **/3276 **/3145 UpDataStructsTokenData: {3277 UpDataStructsTokenData: {3146 properties: 'Vec<UpDataStructsProperty>',3278 properties: 'Vec<UpDataStructsProperty>',3147 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',3279 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',3148 pieces: 'u128'3280 pieces: 'u128'3149 },3281 },3150 /**3282 /**3151 * Lookup404: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>3283 * Lookup461: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>3152 **/3284 **/3153 UpDataStructsRpcCollection: {3285 UpDataStructsRpcCollection: {3154 owner: 'AccountId32',3286 owner: 'AccountId32',3155 mode: 'UpDataStructsCollectionMode',3287 mode: 'UpDataStructsCollectionMode',3164 readOnly: 'bool',3296 readOnly: 'bool',3165 flags: 'UpDataStructsRpcCollectionFlags'3297 flags: 'UpDataStructsRpcCollectionFlags'3166 },3298 },3167 /**3299 /**3168 * Lookup405: up_data_structs::RpcCollectionFlags3300 * Lookup462: up_data_structs::RpcCollectionFlags3169 **/3301 **/3170 UpDataStructsRpcCollectionFlags: {3302 UpDataStructsRpcCollectionFlags: {3171 foreign: 'bool',3303 foreign: 'bool',3172 erc721metadata: 'bool'3304 erc721metadata: 'bool'3173 },3305 },3174 /**3175 * Lookup406: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>3176 **/3177 RmrkTraitsCollectionCollectionInfo: {3178 issuer: 'AccountId32',3179 metadata: 'Bytes',3180 max: 'Option<u32>',3181 symbol: 'Bytes',3182 nftsCount: 'u32'3183 },3184 /**3185 * Lookup407: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3186 **/3187 RmrkTraitsNftNftInfo: {3188 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',3189 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',3190 metadata: 'Bytes',3191 equipped: 'bool',3192 pending: 'bool'3193 },3194 /**3195 * Lookup409: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>3196 **/3197 RmrkTraitsNftRoyaltyInfo: {3198 recipient: 'AccountId32',3199 amount: 'Permill'3200 },3201 /**3202 * Lookup410: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3203 **/3204 RmrkTraitsResourceResourceInfo: {3205 id: 'u32',3206 resource: 'RmrkTraitsResourceResourceTypes',3207 pending: 'bool',3208 pendingRemoval: 'bool'3209 },3210 /**3211 * Lookup411: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3212 **/3213 RmrkTraitsPropertyPropertyInfo: {3214 key: 'Bytes',3215 value: 'Bytes'3216 },3217 /**3218 * Lookup412: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3219 **/3220 RmrkTraitsBaseBaseInfo: {3221 issuer: 'AccountId32',3222 baseType: 'Bytes',3223 symbol: 'Bytes'3224 },3225 /**3226 * Lookup413: rmrk_traits::nft::NftChild3227 **/3228 RmrkTraitsNftNftChild: {3229 collectionId: 'u32',3230 nftId: 'u32'3231 },3232 /**3306 /**3233 * Lookup414: up_pov_estimate_rpc::PovInfo3307 * Lookup463: up_pov_estimate_rpc::PovInfo3234 **/3308 **/3235 UpPovEstimateRpcPovInfo: {3309 UpPovEstimateRpcPovInfo: {3236 proofSize: 'u64',3310 proofSize: 'u64',3237 compactProofSize: 'u64',3311 compactProofSize: 'u64',3238 compressedProofSize: 'u64',3312 compressedProofSize: 'u64',3239 results: 'Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>',3313 results: 'Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>',3240 keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'3314 keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'3241 },3315 },3242 /**3316 /**3243 * Lookup417: sp_runtime::transaction_validity::TransactionValidityError3317 * Lookup466: sp_runtime::transaction_validity::TransactionValidityError3244 **/3318 **/3245 SpRuntimeTransactionValidityTransactionValidityError: {3319 SpRuntimeTransactionValidityTransactionValidityError: {3246 _enum: {3320 _enum: {3247 Invalid: 'SpRuntimeTransactionValidityInvalidTransaction',3321 Invalid: 'SpRuntimeTransactionValidityInvalidTransaction',3248 Unknown: 'SpRuntimeTransactionValidityUnknownTransaction'3322 Unknown: 'SpRuntimeTransactionValidityUnknownTransaction'3249 }3323 }3250 },3324 },3251 /**3325 /**3252 * Lookup418: sp_runtime::transaction_validity::InvalidTransaction3326 * Lookup467: sp_runtime::transaction_validity::InvalidTransaction3253 **/3327 **/3254 SpRuntimeTransactionValidityInvalidTransaction: {3328 SpRuntimeTransactionValidityInvalidTransaction: {3255 _enum: {3329 _enum: {3256 Call: 'Null',3330 Call: 'Null',3266 BadSigner: 'Null'3340 BadSigner: 'Null'3267 }3341 }3268 },3342 },3269 /**3343 /**3270 * Lookup419: sp_runtime::transaction_validity::UnknownTransaction3344 * Lookup468: sp_runtime::transaction_validity::UnknownTransaction3271 **/3345 **/3272 SpRuntimeTransactionValidityUnknownTransaction: {3346 SpRuntimeTransactionValidityUnknownTransaction: {3273 _enum: {3347 _enum: {3274 CannotLookup: 'Null',3348 CannotLookup: 'Null',3275 NoUnsignedValidator: 'Null',3349 NoUnsignedValidator: 'Null',3276 Custom: 'u8'3350 Custom: 'u8'3277 }3351 }3278 },3352 },3279 /**3353 /**3280 * Lookup421: up_pov_estimate_rpc::TrieKeyValue3354 * Lookup470: up_pov_estimate_rpc::TrieKeyValue3281 **/3355 **/3282 UpPovEstimateRpcTrieKeyValue: {3356 UpPovEstimateRpcTrieKeyValue: {3283 key: 'Bytes',3357 key: 'Bytes',3284 value: 'Bytes'3358 value: 'Bytes'3285 },3359 },3286 /**3360 /**3287 * Lookup423: pallet_common::pallet::Error<T>3361 * Lookup472: pallet_common::pallet::Error<T>3288 **/3362 **/3289 PalletCommonError: {3363 PalletCommonError: {3290 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']3364 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']3291 },3365 },3292 /**3366 /**3293 * Lookup425: pallet_fungible::pallet::Error<T>3367 * Lookup474: pallet_fungible::pallet::Error<T>3294 **/3368 **/3295 PalletFungibleError: {3369 PalletFungibleError: {3296 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']3370 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']3297 },3371 },3298 /**3372 /**3299 * Lookup429: pallet_refungible::pallet::Error<T>3373 * Lookup478: pallet_refungible::pallet::Error<T>3300 **/3374 **/3301 PalletRefungibleError: {3375 PalletRefungibleError: {3302 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3376 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3303 },3377 },3304 /**3378 /**3305 * Lookup430: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3379 * Lookup479: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3306 **/3380 **/3307 PalletNonfungibleItemData: {3381 PalletNonfungibleItemData: {3308 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3382 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3309 },3383 },3310 /**3384 /**3311 * Lookup432: up_data_structs::PropertyScope3385 * Lookup481: up_data_structs::PropertyScope3312 **/3386 **/3313 UpDataStructsPropertyScope: {3387 UpDataStructsPropertyScope: {3314 _enum: ['None', 'Rmrk']3388 _enum: ['None', 'Rmrk']3315 },3389 },3316 /**3390 /**3317 * Lookup435: pallet_nonfungible::pallet::Error<T>3391 * Lookup484: pallet_nonfungible::pallet::Error<T>3318 **/3392 **/3319 PalletNonfungibleError: {3393 PalletNonfungibleError: {3320 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3394 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3321 },3395 },3322 /**3396 /**3323 * Lookup436: pallet_structure::pallet::Error<T>3397 * Lookup485: pallet_structure::pallet::Error<T>3324 **/3398 **/3325 PalletStructureError: {3399 PalletStructureError: {3326 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3400 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection']3327 },3401 },3328 /**3329 * Lookup437: pallet_rmrk_core::pallet::Error<T>3330 **/3331 PalletRmrkCoreError: {3332 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3333 },3334 /**3335 * Lookup439: pallet_rmrk_equip::pallet::Error<T>3336 **/3337 PalletRmrkEquipError: {3338 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3339 },3340 /**3402 /**3341 * Lookup445: pallet_app_promotion::pallet::Error<T>3403 * Lookup490: pallet_app_promotion::pallet::Error<T>3342 **/3404 **/3343 PalletAppPromotionError: {3405 PalletAppPromotionError: {3344 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']3406 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation', 'InsufficientStakedBalance']3345 },3407 },3346 /**3408 /**3347 * Lookup446: pallet_foreign_assets::module::Error<T>3409 * Lookup491: pallet_foreign_assets::module::Error<T>3348 **/3410 **/3349 PalletForeignAssetsModuleError: {3411 PalletForeignAssetsModuleError: {3350 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']3412 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']3351 },3413 },3352 /**3414 /**3353 * Lookup448: pallet_evm::pallet::Error<T>3415 * Lookup493: pallet_evm::pallet::Error<T>3354 **/3416 **/3355 PalletEvmError: {3417 PalletEvmError: {3356 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']3418 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']3357 },3419 },3358 /**3420 /**3359 * Lookup451: fp_rpc::TransactionStatus3421 * Lookup496: fp_rpc::TransactionStatus3360 **/3422 **/3361 FpRpcTransactionStatus: {3423 FpRpcTransactionStatus: {3362 transactionHash: 'H256',3424 transactionHash: 'H256',3363 transactionIndex: 'u32',3425 transactionIndex: 'u32',3367 logs: 'Vec<EthereumLog>',3429 logs: 'Vec<EthereumLog>',3368 logsBloom: 'EthbloomBloom'3430 logsBloom: 'EthbloomBloom'3369 },3431 },3370 /**3432 /**3371 * Lookup453: ethbloom::Bloom3433 * Lookup498: ethbloom::Bloom3372 **/3434 **/3373 EthbloomBloom: '[u8;256]',3435 EthbloomBloom: '[u8;256]',3374 /**3436 /**3375 * Lookup455: ethereum::receipt::ReceiptV33437 * Lookup500: ethereum::receipt::ReceiptV33376 **/3438 **/3377 EthereumReceiptReceiptV3: {3439 EthereumReceiptReceiptV3: {3378 _enum: {3440 _enum: {3379 Legacy: 'EthereumReceiptEip658ReceiptData',3441 Legacy: 'EthereumReceiptEip658ReceiptData',3380 EIP2930: 'EthereumReceiptEip658ReceiptData',3442 EIP2930: 'EthereumReceiptEip658ReceiptData',3381 EIP1559: 'EthereumReceiptEip658ReceiptData'3443 EIP1559: 'EthereumReceiptEip658ReceiptData'3382 }3444 }3383 },3445 },3384 /**3446 /**3385 * Lookup456: ethereum::receipt::EIP658ReceiptData3447 * Lookup501: ethereum::receipt::EIP658ReceiptData3386 **/3448 **/3387 EthereumReceiptEip658ReceiptData: {3449 EthereumReceiptEip658ReceiptData: {3388 statusCode: 'u8',3450 statusCode: 'u8',3389 usedGas: 'U256',3451 usedGas: 'U256',3390 logsBloom: 'EthbloomBloom',3452 logsBloom: 'EthbloomBloom',3391 logs: 'Vec<EthereumLog>'3453 logs: 'Vec<EthereumLog>'3392 },3454 },3393 /**3455 /**3394 * Lookup457: ethereum::block::Block<ethereum::transaction::TransactionV2>3456 * Lookup502: ethereum::block::Block<ethereum::transaction::TransactionV2>3395 **/3457 **/3396 EthereumBlock: {3458 EthereumBlock: {3397 header: 'EthereumHeader',3459 header: 'EthereumHeader',3398 transactions: 'Vec<EthereumTransactionTransactionV2>',3460 transactions: 'Vec<EthereumTransactionTransactionV2>',3399 ommers: 'Vec<EthereumHeader>'3461 ommers: 'Vec<EthereumHeader>'3400 },3462 },3401 /**3463 /**3402 * Lookup458: ethereum::header::Header3464 * Lookup503: ethereum::header::Header3403 **/3465 **/3404 EthereumHeader: {3466 EthereumHeader: {3405 parentHash: 'H256',3467 parentHash: 'H256',3406 ommersHash: 'H256',3468 ommersHash: 'H256',3418 mixHash: 'H256',3480 mixHash: 'H256',3419 nonce: 'EthereumTypesHashH64'3481 nonce: 'EthereumTypesHashH64'3420 },3482 },3421 /**3483 /**3422 * Lookup459: ethereum_types::hash::H643484 * Lookup504: ethereum_types::hash::H643423 **/3485 **/3424 EthereumTypesHashH64: '[u8;8]',3486 EthereumTypesHashH64: '[u8;8]',3425 /**3487 /**3426 * Lookup464: pallet_ethereum::pallet::Error<T>3488 * Lookup509: pallet_ethereum::pallet::Error<T>3427 **/3489 **/3428 PalletEthereumError: {3490 PalletEthereumError: {3429 _enum: ['InvalidSignature', 'PreLogExists']3491 _enum: ['InvalidSignature', 'PreLogExists']3430 },3492 },3431 /**3493 /**3432 * Lookup465: pallet_evm_coder_substrate::pallet::Error<T>3494 * Lookup510: pallet_evm_coder_substrate::pallet::Error<T>3433 **/3495 **/3434 PalletEvmCoderSubstrateError: {3496 PalletEvmCoderSubstrateError: {3435 _enum: ['OutOfGas', 'OutOfFund']3497 _enum: ['OutOfGas', 'OutOfFund']3436 },3498 },3437 /**3499 /**3438 * Lookup466: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3500 * Lookup511: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3439 **/3501 **/3440 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3502 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3441 _enum: {3503 _enum: {3442 Disabled: 'Null',3504 Disabled: 'Null',3443 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3505 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3444 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3506 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3445 }3507 }3446 },3508 },3447 /**3509 /**3448 * Lookup467: pallet_evm_contract_helpers::SponsoringModeT3510 * Lookup512: pallet_evm_contract_helpers::SponsoringModeT3449 **/3511 **/3450 PalletEvmContractHelpersSponsoringModeT: {3512 PalletEvmContractHelpersSponsoringModeT: {3451 _enum: ['Disabled', 'Allowlisted', 'Generous']3513 _enum: ['Disabled', 'Allowlisted', 'Generous']3452 },3514 },3453 /**3515 /**3454 * Lookup473: pallet_evm_contract_helpers::pallet::Error<T>3516 * Lookup518: pallet_evm_contract_helpers::pallet::Error<T>3455 **/3517 **/3456 PalletEvmContractHelpersError: {3518 PalletEvmContractHelpersError: {3457 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']3519 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']3458 },3520 },3459 /**3521 /**3460 * Lookup474: pallet_evm_migration::pallet::Error<T>3522 * Lookup519: pallet_evm_migration::pallet::Error<T>3461 **/3523 **/3462 PalletEvmMigrationError: {3524 PalletEvmMigrationError: {3463 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']3525 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']3464 },3526 },3465 /**3527 /**3466 * Lookup475: pallet_maintenance::pallet::Error<T>3528 * Lookup520: pallet_maintenance::pallet::Error<T>3467 **/3529 **/3468 PalletMaintenanceError: 'Null',3530 PalletMaintenanceError: 'Null',3469 /**3531 /**3470 * Lookup476: pallet_test_utils::pallet::Error<T>3532 * Lookup521: pallet_test_utils::pallet::Error<T>3471 **/3533 **/3472 PalletTestUtilsError: {3534 PalletTestUtilsError: {3473 _enum: ['TestPalletDisabled', 'TriggerRollback']3535 _enum: ['TestPalletDisabled', 'TriggerRollback']3474 },3536 },3475 /**3537 /**3476 * Lookup478: sp_runtime::MultiSignature3538 * Lookup523: sp_runtime::MultiSignature3477 **/3539 **/3478 SpRuntimeMultiSignature: {3540 SpRuntimeMultiSignature: {3479 _enum: {3541 _enum: {3480 Ed25519: 'SpCoreEd25519Signature',3542 Ed25519: 'SpCoreEd25519Signature',3481 Sr25519: 'SpCoreSr25519Signature',3543 Sr25519: 'SpCoreSr25519Signature',3482 Ecdsa: 'SpCoreEcdsaSignature'3544 Ecdsa: 'SpCoreEcdsaSignature'3483 }3545 }3484 },3546 },3485 /**3547 /**3486 * Lookup479: sp_core::ed25519::Signature3548 * Lookup524: sp_core::ed25519::Signature3487 **/3549 **/3488 SpCoreEd25519Signature: '[u8;64]',3550 SpCoreEd25519Signature: '[u8;64]',3489 /**3551 /**3490 * Lookup481: sp_core::sr25519::Signature3552 * Lookup526: sp_core::sr25519::Signature3491 **/3553 **/3492 SpCoreSr25519Signature: '[u8;64]',3554 SpCoreSr25519Signature: '[u8;64]',3493 /**3555 /**3494 * Lookup482: sp_core::ecdsa::Signature3556 * Lookup527: sp_core::ecdsa::Signature3495 **/3557 **/3496 SpCoreEcdsaSignature: '[u8;65]',3558 SpCoreEcdsaSignature: '[u8;65]',3497 /**3559 /**3498 * Lookup485: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3560 * Lookup530: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3499 **/3561 **/3500 FrameSystemExtensionsCheckSpecVersion: 'Null',3562 FrameSystemExtensionsCheckSpecVersion: 'Null',3501 /**3563 /**3502 * Lookup486: frame_system::extensions::check_tx_version::CheckTxVersion<T>3564 * Lookup531: frame_system::extensions::check_tx_version::CheckTxVersion<T>3503 **/3565 **/3504 FrameSystemExtensionsCheckTxVersion: 'Null',3566 FrameSystemExtensionsCheckTxVersion: 'Null',3505 /**3567 /**3506 * Lookup487: frame_system::extensions::check_genesis::CheckGenesis<T>3568 * Lookup532: frame_system::extensions::check_genesis::CheckGenesis<T>3507 **/3569 **/3508 FrameSystemExtensionsCheckGenesis: 'Null',3570 FrameSystemExtensionsCheckGenesis: 'Null',3509 /**3571 /**3510 * Lookup490: frame_system::extensions::check_nonce::CheckNonce<T>3572 * Lookup535: frame_system::extensions::check_nonce::CheckNonce<T>3511 **/3573 **/3512 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3574 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3513 /**3575 /**3514 * Lookup491: frame_system::extensions::check_weight::CheckWeight<T>3576 * Lookup536: frame_system::extensions::check_weight::CheckWeight<T>3515 **/3577 **/3516 FrameSystemExtensionsCheckWeight: 'Null',3578 FrameSystemExtensionsCheckWeight: 'Null',3517 /**3579 /**3518 * Lookup492: opal_runtime::runtime_common::maintenance::CheckMaintenance3580 * Lookup537: opal_runtime::runtime_common::maintenance::CheckMaintenance3519 **/3581 **/3520 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',3582 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',3521 /**3583 /**3522 * Lookup493: opal_runtime::runtime_common::identity::DisableIdentityCalls3584 * Lookup538: opal_runtime::runtime_common::identity::DisableIdentityCalls3523 **/3585 **/3524 OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',3586 OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',3525 /**3587 /**3526 * Lookup494: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3588 * Lookup539: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3527 **/3589 **/3528 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3590 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3529 /**3591 /**3530 * Lookup495: opal_runtime::Runtime3592 * Lookup540: opal_runtime::Runtime3531 **/3593 **/3532 OpalRuntimeRuntime: 'Null',3594 OpalRuntimeRuntime: 'Null',3533 /**3595 /**3534 * Lookup496: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3596 * Lookup541: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3535 **/3597 **/3536 PalletEthereumFakeTransactionFinalizer: 'Null'3598 PalletEthereumFakeTransactionFinalizer: 'Null'3537};3599};35383600tests/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, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, 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, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, 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, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRefungibleError, 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, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -76,6 +76,7 @@
OpalRuntimeRuntime: OpalRuntimeRuntime;
OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
+ OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OrmlTokensAccountData: OrmlTokensAccountData;
OrmlTokensBalanceLock: OrmlTokensBalanceLock;
OrmlTokensModuleCall: OrmlTokensModuleCall;
@@ -92,6 +93,9 @@
PalletAppPromotionCall: PalletAppPromotionCall;
PalletAppPromotionError: PalletAppPromotionError;
PalletAppPromotionEvent: PalletAppPromotionEvent;
+ PalletAuthorshipCall: PalletAuthorshipCall;
+ PalletAuthorshipError: PalletAuthorshipError;
+ PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
@@ -99,6 +103,9 @@
PalletBalancesEvent: PalletBalancesEvent;
PalletBalancesReasons: PalletBalancesReasons;
PalletBalancesReserveData: PalletBalancesReserveData;
+ PalletCollatorSelectionCall: PalletCollatorSelectionCall;
+ PalletCollatorSelectionError: PalletCollatorSelectionError;
+ PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
@@ -127,19 +134,29 @@
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;
PalletMaintenanceEvent: PalletMaintenanceEvent;
PalletNonfungibleError: PalletNonfungibleError;
PalletNonfungibleItemData: PalletNonfungibleItemData;
+ PalletPreimageCall: PalletPreimageCall;
+ PalletPreimageError: PalletPreimageError;
+ PalletPreimageEvent: PalletPreimageEvent;
+ PalletPreimageRequestStatus: PalletPreimageRequestStatus;
PalletRefungibleError: PalletRefungibleError;
- PalletRmrkCoreCall: PalletRmrkCoreCall;
- PalletRmrkCoreError: PalletRmrkCoreError;
- PalletRmrkCoreEvent: PalletRmrkCoreEvent;
- PalletRmrkEquipCall: PalletRmrkEquipCall;
- PalletRmrkEquipError: PalletRmrkEquipError;
- PalletRmrkEquipEvent: PalletRmrkEquipEvent;
+ PalletSessionCall: PalletSessionCall;
+ PalletSessionError: PalletSessionError;
+ PalletSessionEvent: PalletSessionEvent;
PalletStructureCall: PalletStructureCall;
PalletStructureError: PalletStructureError;
PalletStructureEvent: PalletStructureEvent;
@@ -172,31 +189,18 @@
PolkadotPrimitivesV2AbridgedHrmpChannel: PolkadotPrimitivesV2AbridgedHrmpChannel;
PolkadotPrimitivesV2PersistedValidationData: PolkadotPrimitivesV2PersistedValidationData;
PolkadotPrimitivesV2UpgradeRestriction: PolkadotPrimitivesV2UpgradeRestriction;
- RmrkTraitsBaseBaseInfo: RmrkTraitsBaseBaseInfo;
- RmrkTraitsCollectionCollectionInfo: RmrkTraitsCollectionCollectionInfo;
- RmrkTraitsNftAccountIdOrCollectionNftTuple: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- RmrkTraitsNftNftChild: RmrkTraitsNftNftChild;
- RmrkTraitsNftNftInfo: RmrkTraitsNftNftInfo;
- RmrkTraitsNftRoyaltyInfo: RmrkTraitsNftRoyaltyInfo;
- RmrkTraitsPartEquippableList: RmrkTraitsPartEquippableList;
- RmrkTraitsPartFixedPart: RmrkTraitsPartFixedPart;
- RmrkTraitsPartPartType: RmrkTraitsPartPartType;
- RmrkTraitsPartSlotPart: RmrkTraitsPartSlotPart;
- RmrkTraitsPropertyPropertyInfo: RmrkTraitsPropertyPropertyInfo;
- RmrkTraitsResourceBasicResource: RmrkTraitsResourceBasicResource;
- RmrkTraitsResourceComposableResource: RmrkTraitsResourceComposableResource;
- RmrkTraitsResourceResourceInfo: RmrkTraitsResourceResourceInfo;
- RmrkTraitsResourceResourceTypes: RmrkTraitsResourceResourceTypes;
- RmrkTraitsResourceSlotResource: RmrkTraitsResourceSlotResource;
- RmrkTraitsTheme: RmrkTraitsTheme;
- RmrkTraitsThemeThemeProperty: RmrkTraitsThemeThemeProperty;
+ SpArithmeticArithmeticError: SpArithmeticArithmeticError;
+ SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
+ SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId;
SpCoreEcdsaSignature: SpCoreEcdsaSignature;
SpCoreEd25519Signature: SpCoreEd25519Signature;
+ SpCoreSr25519Public: SpCoreSr25519Public;
SpCoreSr25519Signature: SpCoreSr25519Signature;
- SpRuntimeArithmeticError: SpRuntimeArithmeticError;
+ SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
SpRuntimeDigest: SpRuntimeDigest;
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
SpRuntimeDispatchError: SpRuntimeDispatchError;
+ SpRuntimeHeader: SpRuntimeHeader;
SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -5,9 +5,10 @@
// 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 { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
declare module '@polkadot/types/lookup' {
@@ -130,7 +131,7 @@
readonly isToken: boolean;
readonly asToken: SpRuntimeTokenError;
readonly isArithmetic: boolean;
- readonly asArithmetic: SpRuntimeArithmeticError;
+ readonly asArithmetic: SpArithmeticArithmeticError;
readonly isTransactional: boolean;
readonly asTransactional: SpRuntimeTransactionalError;
readonly isExhausted: boolean;
@@ -157,8 +158,8 @@
readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
}
- /** @name SpRuntimeArithmeticError (27) */
- interface SpRuntimeArithmeticError extends Enum {
+ /** @name SpArithmeticArithmeticError (27) */
+ interface SpArithmeticArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
readonly isDivisionByZero: boolean;
@@ -196,7 +197,47 @@
readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
}
- /** @name PalletBalancesEvent (30) */
+ /** @name PalletCollatorSelectionEvent (30) */
+ interface PalletCollatorSelectionEvent extends Enum {
+ readonly isInvulnerableAdded: boolean;
+ readonly asInvulnerableAdded: {
+ readonly invulnerable: AccountId32;
+ } & Struct;
+ readonly isInvulnerableRemoved: boolean;
+ readonly asInvulnerableRemoved: {
+ readonly invulnerable: AccountId32;
+ } & Struct;
+ readonly isLicenseObtained: boolean;
+ readonly asLicenseObtained: {
+ readonly accountId: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isLicenseReleased: boolean;
+ readonly asLicenseReleased: {
+ readonly accountId: AccountId32;
+ readonly depositReturned: u128;
+ } & Struct;
+ readonly isCandidateAdded: boolean;
+ readonly asCandidateAdded: {
+ readonly accountId: AccountId32;
+ } & Struct;
+ readonly isCandidateRemoved: boolean;
+ readonly asCandidateRemoved: {
+ readonly accountId: AccountId32;
+ } & Struct;
+ readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';
+ }
+
+ /** @name PalletSessionEvent (31) */
+ interface PalletSessionEvent extends Enum {
+ readonly isNewSession: boolean;
+ readonly asNewSession: {
+ readonly sessionIndex: u32;
+ } & Struct;
+ readonly type: 'NewSession';
+ }
+
+ /** @name PalletBalancesEvent (32) */
interface PalletBalancesEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
@@ -255,14 +296,14 @@
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
}
- /** @name FrameSupportTokensMiscBalanceStatus (31) */
+ /** @name FrameSupportTokensMiscBalanceStatus (33) */
interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
- /** @name PalletTransactionPaymentEvent (32) */
+ /** @name PalletTransactionPaymentEvent (34) */
interface PalletTransactionPaymentEvent extends Enum {
readonly isTransactionFeePaid: boolean;
readonly asTransactionFeePaid: {
@@ -273,7 +314,7 @@
readonly type: 'TransactionFeePaid';
}
- /** @name PalletTreasuryEvent (33) */
+ /** @name PalletTreasuryEvent (35) */
interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
@@ -312,10 +353,15 @@
readonly amount: u128;
readonly beneficiary: AccountId32;
} & Struct;
- readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';
+ readonly isUpdatedInactive: boolean;
+ readonly asUpdatedInactive: {
+ readonly reactivated: u128;
+ readonly deactivated: u128;
+ } & Struct;
+ readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive';
}
- /** @name PalletSudoEvent (34) */
+ /** @name PalletSudoEvent (36) */
interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -332,7 +378,7 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name OrmlVestingModuleEvent (38) */
+ /** @name OrmlVestingModuleEvent (40) */
interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -352,7 +398,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name OrmlVestingVestingSchedule (39) */
+ /** @name OrmlVestingVestingSchedule (41) */
interface OrmlVestingVestingSchedule extends Struct {
readonly start: u32;
readonly period: u32;
@@ -360,7 +406,7 @@
readonly perPeriod: Compact<u128>;
}
- /** @name OrmlXtokensModuleEvent (41) */
+ /** @name OrmlXtokensModuleEvent (43) */
interface OrmlXtokensModuleEvent extends Enum {
readonly isTransferredMultiAssets: boolean;
readonly asTransferredMultiAssets: {
@@ -372,16 +418,16 @@
readonly type: 'TransferredMultiAssets';
}
- /** @name XcmV1MultiassetMultiAssets (42) */
+ /** @name XcmV1MultiassetMultiAssets (44) */
interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
- /** @name XcmV1MultiAsset (44) */
+ /** @name XcmV1MultiAsset (46) */
interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
- /** @name XcmV1MultiassetAssetId (45) */
+ /** @name XcmV1MultiassetAssetId (47) */
interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
@@ -390,13 +436,13 @@
readonly type: 'Concrete' | 'Abstract';
}
- /** @name XcmV1MultiLocation (46) */
+ /** @name XcmV1MultiLocation (48) */
interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
}
- /** @name XcmV1MultilocationJunctions (47) */
+ /** @name XcmV1MultilocationJunctions (49) */
interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
@@ -418,7 +464,7 @@
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV1Junction (48) */
+ /** @name XcmV1Junction (50) */
interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
@@ -452,7 +498,7 @@
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmV0JunctionNetworkId (50) */
+ /** @name XcmV0JunctionNetworkId (52) */
interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
@@ -462,7 +508,7 @@
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
- /** @name XcmV0JunctionBodyId (53) */
+ /** @name XcmV0JunctionBodyId (55) */
interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
@@ -473,10 +519,13 @@
readonly isTechnical: boolean;
readonly isLegislative: boolean;
readonly isJudicial: boolean;
- readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
+ readonly isDefense: boolean;
+ readonly isAdministration: boolean;
+ readonly isTreasury: boolean;
+ readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
}
- /** @name XcmV0JunctionBodyPart (54) */
+ /** @name XcmV0JunctionBodyPart (56) */
interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
@@ -501,7 +550,7 @@
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
- /** @name XcmV1MultiassetFungibility (55) */
+ /** @name XcmV1MultiassetFungibility (57) */
interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
@@ -510,7 +559,7 @@
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV1MultiassetAssetInstance (56) */
+ /** @name XcmV1MultiassetAssetInstance (58) */
interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
@@ -528,7 +577,7 @@
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
}
- /** @name OrmlTokensModuleEvent (59) */
+ /** @name OrmlTokensModuleEvent (61) */
interface OrmlTokensModuleEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
@@ -616,7 +665,7 @@
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';
}
- /** @name PalletForeignAssetsAssetIds (60) */
+ /** @name PalletForeignAssetsAssetIds (62) */
interface PalletForeignAssetsAssetIds extends Enum {
readonly isForeignAssetId: boolean;
readonly asForeignAssetId: u32;
@@ -625,14 +674,99 @@
readonly type: 'ForeignAssetId' | 'NativeAssetId';
}
- /** @name PalletForeignAssetsNativeCurrency (61) */
+ /** @name PalletForeignAssetsNativeCurrency (63) */
interface PalletForeignAssetsNativeCurrency extends Enum {
readonly isHere: boolean;
readonly isParent: boolean;
readonly type: 'Here' | 'Parent';
}
- /** @name CumulusPalletXcmpQueueEvent (62) */
+ /** @name PalletIdentityEvent (64) */
+ 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 isIdentitiesInserted: boolean;
+ readonly asIdentitiesInserted: {
+ readonly amount: u32;
+ } & Struct;
+ readonly isIdentitiesRemoved: boolean;
+ readonly asIdentitiesRemoved: {
+ readonly amount: u32;
+ } & 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 isSubIdentitiesInserted: boolean;
+ readonly asSubIdentitiesInserted: {
+ readonly amount: u32;
+ } & Struct;
+ readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked' | 'SubIdentitiesInserted';
+ }
+
+ /** @name PalletPreimageEvent (65) */
+ interface PalletPreimageEvent extends Enum {
+ readonly isNoted: boolean;
+ readonly asNoted: {
+ readonly hash_: H256;
+ } & Struct;
+ readonly isRequested: boolean;
+ readonly asRequested: {
+ readonly hash_: H256;
+ } & Struct;
+ readonly isCleared: boolean;
+ readonly asCleared: {
+ readonly hash_: H256;
+ } & Struct;
+ readonly type: 'Noted' | 'Requested' | 'Cleared';
+ }
+
+ /** @name CumulusPalletXcmpQueueEvent (66) */
interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: {
@@ -676,7 +810,7 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name XcmV2TraitsError (64) */
+ /** @name XcmV2TraitsError (68) */
interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
@@ -709,7 +843,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 (66) */
+ /** @name PalletXcmEvent (70) */
interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -748,7 +882,7 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';
}
- /** @name XcmV2TraitsOutcome (67) */
+ /** @name XcmV2TraitsOutcome (71) */
interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -759,10 +893,10 @@
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
- /** @name XcmV2Xcm (68) */
+ /** @name XcmV2Xcm (72) */
interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
- /** @name XcmV2Instruction (70) */
+ /** @name XcmV2Instruction (74) */
interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
@@ -882,7 +1016,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 (71) */
+ /** @name XcmV2Response (75) */
interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
@@ -894,7 +1028,7 @@
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
- /** @name XcmV0OriginKind (74) */
+ /** @name XcmV0OriginKind (78) */
interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
@@ -903,12 +1037,12 @@
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
- /** @name XcmDoubleEncoded (75) */
+ /** @name XcmDoubleEncoded (79) */
interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
- /** @name XcmV1MultiassetMultiAssetFilter (76) */
+ /** @name XcmV1MultiassetMultiAssetFilter (80) */
interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
@@ -917,7 +1051,7 @@
readonly type: 'Definite' | 'Wild';
}
- /** @name XcmV1MultiassetWildMultiAsset (77) */
+ /** @name XcmV1MultiassetWildMultiAsset (81) */
interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
@@ -928,14 +1062,14 @@
readonly type: 'All' | 'AllOf';
}
- /** @name XcmV1MultiassetWildFungibility (78) */
+ /** @name XcmV1MultiassetWildFungibility (82) */
interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV2WeightLimit (79) */
+ /** @name XcmV2WeightLimit (83) */
interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
@@ -943,7 +1077,7 @@
readonly type: 'Unlimited' | 'Limited';
}
- /** @name XcmVersionedMultiAssets (81) */
+ /** @name XcmVersionedMultiAssets (85) */
interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
@@ -952,7 +1086,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name XcmV0MultiAsset (83) */
+ /** @name XcmV0MultiAsset (87) */
interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
@@ -997,7 +1131,7 @@
readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
}
- /** @name XcmV0MultiLocation (84) */
+ /** @name XcmV0MultiLocation (88) */
interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
@@ -1019,7 +1153,7 @@
readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV0Junction (85) */
+ /** @name XcmV0Junction (89) */
interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
@@ -1054,7 +1188,7 @@
readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmVersionedMultiLocation (86) */
+ /** @name XcmVersionedMultiLocation (90) */
interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
@@ -1063,7 +1197,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name CumulusPalletXcmEvent (87) */
+ /** @name CumulusPalletXcmEvent (91) */
interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -1074,7 +1208,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (88) */
+ /** @name CumulusPalletDmpQueueEvent (92) */
interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: {
@@ -1109,7 +1243,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletConfigurationEvent (89) */
+ /** @name PalletConfigurationEvent (93) */
interface PalletConfigurationEvent extends Enum {
readonly isNewDesiredCollators: boolean;
readonly asNewDesiredCollators: {
@@ -1126,7 +1260,7 @@
readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
}
- /** @name PalletCommonEvent (92) */
+ /** @name PalletCommonEvent (96) */
interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -1175,7 +1309,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 (95) */
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (99) */
interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
@@ -1184,128 +1318,14 @@
readonly type: 'Substrate' | 'Ethereum';
}
- /** @name PalletStructureEvent (99) */
+ /** @name PalletStructureEvent (103) */
interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
- /** @name PalletRmrkCoreEvent (100) */
- interface PalletRmrkCoreEvent extends Enum {
- readonly isCollectionCreated: boolean;
- readonly asCollectionCreated: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isCollectionDestroyed: boolean;
- readonly asCollectionDestroyed: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isIssuerChanged: boolean;
- readonly asIssuerChanged: {
- readonly oldIssuer: AccountId32;
- readonly newIssuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isCollectionLocked: boolean;
- readonly asCollectionLocked: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isNftMinted: boolean;
- readonly asNftMinted: {
- readonly owner: AccountId32;
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isNftBurned: boolean;
- readonly asNftBurned: {
- readonly owner: AccountId32;
- readonly nftId: u32;
- } & Struct;
- readonly isNftSent: boolean;
- readonly asNftSent: {
- readonly sender: AccountId32;
- readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- readonly collectionId: u32;
- readonly nftId: u32;
- readonly approvalRequired: bool;
- } & Struct;
- readonly isNftAccepted: boolean;
- readonly asNftAccepted: {
- readonly sender: AccountId32;
- readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isNftRejected: boolean;
- readonly asNftRejected: {
- readonly sender: AccountId32;
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isPropertySet: boolean;
- readonly asPropertySet: {
- readonly collectionId: u32;
- readonly maybeNftId: Option<u32>;
- readonly key: Bytes;
- readonly value: Bytes;
- } & Struct;
- readonly isResourceAdded: boolean;
- readonly asResourceAdded: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isResourceRemoval: boolean;
- readonly asResourceRemoval: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isResourceAccepted: boolean;
- readonly asResourceAccepted: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isResourceRemovalAccepted: boolean;
- readonly asResourceRemovalAccepted: {
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isPrioritySet: boolean;
- readonly asPrioritySet: {
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
- }
-
- /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (101) */
- interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
- readonly isAccountId: boolean;
- readonly asAccountId: AccountId32;
- readonly isCollectionAndNftTuple: boolean;
- readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
- readonly type: 'AccountId' | 'CollectionAndNftTuple';
- }
-
- /** @name PalletRmrkEquipEvent (104) */
- interface PalletRmrkEquipEvent extends Enum {
- readonly isBaseCreated: boolean;
- readonly asBaseCreated: {
- readonly issuer: AccountId32;
- readonly baseId: u32;
- } & Struct;
- readonly isEquippablesUpdated: boolean;
- readonly asEquippablesUpdated: {
- readonly baseId: u32;
- readonly slotId: u32;
- } & Struct;
- readonly type: 'BaseCreated' | 'EquippablesUpdated';
- }
-
- /** @name PalletAppPromotionEvent (105) */
+ /** @name PalletAppPromotionEvent (104) */
interface PalletAppPromotionEvent extends Enum {
readonly isStakingRecalculation: boolean;
readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;
@@ -1318,7 +1338,7 @@
readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
}
- /** @name PalletForeignAssetsModuleEvent (106) */
+ /** @name PalletForeignAssetsModuleEvent (105) */
interface PalletForeignAssetsModuleEvent extends Enum {
readonly isForeignAssetRegistered: boolean;
readonly asForeignAssetRegistered: {
@@ -1345,7 +1365,7 @@
readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';
}
- /** @name PalletForeignAssetsModuleAssetMetadata (107) */
+ /** @name PalletForeignAssetsModuleAssetMetadata (106) */
interface PalletForeignAssetsModuleAssetMetadata extends Struct {
readonly name: Bytes;
readonly symbol: Bytes;
@@ -1353,7 +1373,7 @@
readonly minimalBalance: u128;
}
- /** @name PalletEvmEvent (108) */
+ /** @name PalletEvmEvent (107) */
interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: {
@@ -1378,14 +1398,14 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
}
- /** @name EthereumLog (109) */
+ /** @name EthereumLog (108) */
interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (111) */
+ /** @name PalletEthereumEvent (110) */
interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: {
@@ -1397,7 +1417,7 @@
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (112) */
+ /** @name EvmCoreErrorExitReason (111) */
interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -1410,7 +1430,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (113) */
+ /** @name EvmCoreErrorExitSucceed (112) */
interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -1418,7 +1438,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (114) */
+ /** @name EvmCoreErrorExitError (113) */
interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -1436,6 +1456,7 @@
readonly isOther: boolean;
readonly asOther: Text;
readonly isInvalidCode: boolean;
+ readonly asInvalidCode: u8;
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
@@ -1714,14 +1735,130 @@
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
}
- /** @name PalletBalancesBalanceLock (172) */
+ /** @name PalletAuthorshipUncleEntryItem (172) */
+ interface PalletAuthorshipUncleEntryItem extends Enum {
+ readonly isInclusionHeight: boolean;
+ readonly asInclusionHeight: u32;
+ readonly isUncle: boolean;
+ readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
+ readonly type: 'InclusionHeight' | 'Uncle';
+ }
+
+ /** @name PalletAuthorshipCall (174) */
+ interface PalletAuthorshipCall extends Enum {
+ readonly isSetUncles: boolean;
+ readonly asSetUncles: {
+ readonly newUncles: Vec<SpRuntimeHeader>;
+ } & Struct;
+ readonly type: 'SetUncles';
+ }
+
+ /** @name SpRuntimeHeader (176) */
+ interface SpRuntimeHeader extends Struct {
+ readonly parentHash: H256;
+ readonly number: Compact<u32>;
+ readonly stateRoot: H256;
+ readonly extrinsicsRoot: H256;
+ readonly digest: SpRuntimeDigest;
+ }
+
+ /** @name SpRuntimeBlakeTwo256 (177) */
+ type SpRuntimeBlakeTwo256 = Null;
+
+ /** @name PalletAuthorshipError (178) */
+ interface PalletAuthorshipError extends Enum {
+ readonly isInvalidUncleParent: boolean;
+ readonly isUnclesAlreadySet: boolean;
+ readonly isTooManyUncles: boolean;
+ readonly isGenesisUncle: boolean;
+ readonly isTooHighUncle: boolean;
+ readonly isUncleAlreadyIncluded: boolean;
+ readonly isOldUncle: boolean;
+ readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
+ }
+
+ /** @name PalletCollatorSelectionCall (181) */
+ interface PalletCollatorSelectionCall extends Enum {
+ readonly isAddInvulnerable: boolean;
+ readonly asAddInvulnerable: {
+ readonly new_: AccountId32;
+ } & Struct;
+ readonly isRemoveInvulnerable: boolean;
+ readonly asRemoveInvulnerable: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly isGetLicense: boolean;
+ readonly isOnboard: boolean;
+ readonly isOffboard: boolean;
+ readonly isReleaseLicense: boolean;
+ readonly isForceReleaseLicense: boolean;
+ readonly asForceReleaseLicense: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';
+ }
+
+ /** @name PalletCollatorSelectionError (182) */
+ interface PalletCollatorSelectionError extends Enum {
+ readonly isTooManyCandidates: boolean;
+ readonly isUnknown: boolean;
+ readonly isPermission: boolean;
+ readonly isAlreadyHoldingLicense: boolean;
+ readonly isNoLicense: boolean;
+ readonly isAlreadyCandidate: boolean;
+ readonly isNotCandidate: boolean;
+ readonly isTooManyInvulnerables: boolean;
+ readonly isTooFewInvulnerables: boolean;
+ readonly isAlreadyInvulnerable: boolean;
+ readonly isNotInvulnerable: boolean;
+ readonly isNoAssociatedValidatorId: boolean;
+ readonly isValidatorNotRegistered: boolean;
+ readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
+ }
+
+ /** @name OpalRuntimeRuntimeCommonSessionKeys (185) */
+ interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
+ readonly aura: SpConsensusAuraSr25519AppSr25519Public;
+ }
+
+ /** @name SpConsensusAuraSr25519AppSr25519Public (186) */
+ interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
+
+ /** @name SpCoreSr25519Public (187) */
+ interface SpCoreSr25519Public extends U8aFixed {}
+
+ /** @name SpCoreCryptoKeyTypeId (190) */
+ interface SpCoreCryptoKeyTypeId extends U8aFixed {}
+
+ /** @name PalletSessionCall (191) */
+ interface PalletSessionCall extends Enum {
+ readonly isSetKeys: boolean;
+ readonly asSetKeys: {
+ readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;
+ readonly proof: Bytes;
+ } & Struct;
+ readonly isPurgeKeys: boolean;
+ readonly type: 'SetKeys' | 'PurgeKeys';
+ }
+
+ /** @name PalletSessionError (192) */
+ interface PalletSessionError extends Enum {
+ readonly isInvalidProof: boolean;
+ readonly isNoAssociatedValidatorId: boolean;
+ readonly isDuplicatedKey: boolean;
+ readonly isNoKeys: boolean;
+ readonly isNoAccount: boolean;
+ readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
+ }
+
+ /** @name PalletBalancesBalanceLock (194) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (173) */
+ /** @name PalletBalancesReasons (195) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -1729,13 +1866,13 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (176) */
+ /** @name PalletBalancesReserveData (198) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name PalletBalancesCall (178) */
+ /** @name PalletBalancesCall (200) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1772,7 +1909,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (181) */
+ /** @name PalletBalancesError (203) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -1785,7 +1922,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (183) */
+ /** @name PalletTimestampCall (205) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -1794,14 +1931,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (185) */
+ /** @name PalletTransactionPaymentReleases (207) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (186) */
+ /** @name PalletTreasuryProposal (208) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -1809,7 +1946,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (189) */
+ /** @name PalletTreasuryCall (210) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -1836,10 +1973,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (191) */
+ /** @name FrameSupportPalletId (212) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (192) */
+ /** @name PalletTreasuryError (213) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -1849,7 +1986,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (193) */
+ /** @name PalletSudoCall (214) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -1872,7 +2009,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (195) */
+ /** @name OrmlVestingModuleCall (216) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -1892,7 +2029,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlXtokensModuleCall (197) */
+ /** @name OrmlXtokensModuleCall (218) */
interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1939,7 +2076,7 @@
readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
}
- /** @name XcmVersionedMultiAsset (198) */
+ /** @name XcmVersionedMultiAsset (219) */
interface XcmVersionedMultiAsset extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiAsset;
@@ -1948,7 +2085,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name OrmlTokensModuleCall (201) */
+ /** @name OrmlTokensModuleCall (222) */
interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1985,7 +2122,166 @@
readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
}
- /** @name CumulusPalletXcmpQueueCall (202) */
+ /** @name PalletIdentityCall (223) */
+ 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 isForceInsertIdentities: boolean;
+ readonly asForceInsertIdentities: {
+ readonly identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>;
+ } & Struct;
+ readonly isForceRemoveIdentities: boolean;
+ readonly asForceRemoveIdentities: {
+ readonly identities: Vec<AccountId32>;
+ } & Struct;
+ readonly isForceSetSubs: boolean;
+ readonly asForceSetSubs: {
+ readonly subs: Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>>;
+ } & Struct;
+ readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities' | 'ForceSetSubs';
+ }
+
+ /** @name PalletIdentityIdentityInfo (224) */
+ 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 PalletIdentityBitFlags (260) */
+ 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 (261) */
+ 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 PalletIdentityJudgement (262) */
+ 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 PalletIdentityRegistration (265) */
+ interface PalletIdentityRegistration extends Struct {
+ readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
+ readonly deposit: u128;
+ readonly info: PalletIdentityIdentityInfo;
+ }
+
+ /** @name PalletPreimageCall (273) */
+ interface PalletPreimageCall extends Enum {
+ readonly isNotePreimage: boolean;
+ readonly asNotePreimage: {
+ readonly bytes: Bytes;
+ } & Struct;
+ readonly isUnnotePreimage: boolean;
+ readonly asUnnotePreimage: {
+ readonly hash_: H256;
+ } & Struct;
+ readonly isRequestPreimage: boolean;
+ readonly asRequestPreimage: {
+ readonly hash_: H256;
+ } & Struct;
+ readonly isUnrequestPreimage: boolean;
+ readonly asUnrequestPreimage: {
+ readonly hash_: H256;
+ } & Struct;
+ readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';
+ }
+
+ /** @name CumulusPalletXcmpQueueCall (274) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2021,7 +2317,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (203) */
+ /** @name PalletXcmCall (275) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -2083,7 +2379,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedXcm (204) */
+ /** @name XcmVersionedXcm (276) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -2094,7 +2390,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (205) */
+ /** @name XcmV0Xcm (277) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2157,7 +2453,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0Order (207) */
+ /** @name XcmV0Order (279) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -2205,14 +2501,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (209) */
+ /** @name XcmV0Response (281) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV1Xcm (210) */
+ /** @name XcmV1Xcm (282) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2281,7 +2577,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1Order (212) */
+ /** @name XcmV1Order (284) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -2331,7 +2627,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1Response (214) */
+ /** @name XcmV1Response (286) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2340,10 +2636,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name CumulusPalletXcmCall (228) */
+ /** @name CumulusPalletXcmCall (300) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (229) */
+ /** @name CumulusPalletDmpQueueCall (301) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2353,7 +2649,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (230) */
+ /** @name PalletInflationCall (302) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2362,7 +2658,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (231) */
+ /** @name PalletUniqueCall (303) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2543,7 +2839,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' | 'ApproveFrom' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
}
- /** @name UpDataStructsCollectionMode (236) */
+ /** @name UpDataStructsCollectionMode (308) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2552,7 +2848,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (237) */
+ /** @name UpDataStructsCreateCollectionData (309) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2566,14 +2862,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (239) */
+ /** @name UpDataStructsAccessMode (311) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (241) */
+ /** @name UpDataStructsCollectionLimits (313) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2586,7 +2882,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (243) */
+ /** @name UpDataStructsSponsoringRateLimit (315) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2594,43 +2890,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (246) */
+ /** @name UpDataStructsCollectionPermissions (318) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (248) */
+ /** @name UpDataStructsNestingPermissions (320) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (250) */
+ /** @name UpDataStructsOwnerRestrictedSet (322) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (255) */
+ /** @name UpDataStructsPropertyKeyPermission (327) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (256) */
+ /** @name UpDataStructsPropertyPermission (328) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (259) */
+ /** @name UpDataStructsProperty (331) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (262) */
+ /** @name UpDataStructsCreateItemData (334) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -2641,23 +2937,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (263) */
+ /** @name UpDataStructsCreateNftData (335) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (264) */
+ /** @name UpDataStructsCreateFungibleData (336) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (265) */
+ /** @name UpDataStructsCreateReFungibleData (337) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (268) */
+ /** @name UpDataStructsCreateItemExData (340) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -2670,26 +2966,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (270) */
+ /** @name UpDataStructsCreateNftExData (342) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (277) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (349) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (279) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (351) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletConfigurationCall (280) */
+ /** @name PalletConfigurationCall (352) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -2722,7 +3018,7 @@
readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
}
- /** @name PalletConfigurationAppPromotionConfiguration (285) */
+ /** @name PalletConfigurationAppPromotionConfiguration (357) */
interface PalletConfigurationAppPromotionConfiguration extends Struct {
readonly recalculationInterval: Option<u32>;
readonly pendingInterval: Option<u32>;
@@ -2730,226 +3026,13 @@
readonly maxStakersPerCalculation: Option<u8>;
}
- /** @name PalletTemplateTransactionPaymentCall (289) */
+ /** @name PalletTemplateTransactionPaymentCall (361) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (290) */
+ /** @name PalletStructureCall (362) */
type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (291) */
- interface PalletRmrkCoreCall extends Enum {
- readonly isCreateCollection: boolean;
- readonly asCreateCollection: {
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
- } & Struct;
- readonly isDestroyCollection: boolean;
- readonly asDestroyCollection: {
- readonly collectionId: u32;
- } & Struct;
- readonly isChangeCollectionIssuer: boolean;
- readonly asChangeCollectionIssuer: {
- readonly collectionId: u32;
- readonly newIssuer: MultiAddress;
- } & Struct;
- readonly isLockCollection: boolean;
- readonly asLockCollection: {
- readonly collectionId: u32;
- } & Struct;
- readonly isMintNft: boolean;
- readonly asMintNft: {
- readonly owner: Option<AccountId32>;
- readonly collectionId: u32;
- readonly recipient: Option<AccountId32>;
- readonly royaltyAmount: Option<Permill>;
- readonly metadata: Bytes;
- readonly transferable: bool;
- readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;
- } & Struct;
- readonly isBurnNft: boolean;
- readonly asBurnNft: {
- readonly collectionId: u32;
- readonly nftId: u32;
- readonly maxBurns: u32;
- } & Struct;
- readonly isSend: boolean;
- readonly asSend: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- } & Struct;
- readonly isAcceptNft: boolean;
- readonly asAcceptNft: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- } & Struct;
- readonly isRejectNft: boolean;
- readonly asRejectNft: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- } & Struct;
- readonly isAcceptResource: boolean;
- readonly asAcceptResource: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isAcceptResourceRemoval: boolean;
- readonly asAcceptResourceRemoval: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly isSetProperty: boolean;
- readonly asSetProperty: {
- readonly rmrkCollectionId: Compact<u32>;
- readonly maybeNftId: Option<u32>;
- readonly key: Bytes;
- readonly value: Bytes;
- } & Struct;
- readonly isSetPriority: boolean;
- readonly asSetPriority: {
- readonly rmrkCollectionId: u32;
- readonly rmrkNftId: u32;
- readonly priorities: Vec<u32>;
- } & Struct;
- readonly isAddBasicResource: boolean;
- readonly asAddBasicResource: {
- readonly rmrkCollectionId: u32;
- readonly nftId: u32;
- readonly resource: RmrkTraitsResourceBasicResource;
- } & Struct;
- readonly isAddComposableResource: boolean;
- readonly asAddComposableResource: {
- readonly rmrkCollectionId: u32;
- readonly nftId: u32;
- readonly resource: RmrkTraitsResourceComposableResource;
- } & Struct;
- readonly isAddSlotResource: boolean;
- readonly asAddSlotResource: {
- readonly rmrkCollectionId: u32;
- readonly nftId: u32;
- readonly resource: RmrkTraitsResourceSlotResource;
- } & Struct;
- readonly isRemoveResource: boolean;
- readonly asRemoveResource: {
- readonly rmrkCollectionId: u32;
- readonly nftId: u32;
- readonly resourceId: u32;
- } & Struct;
- readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
- }
-
- /** @name RmrkTraitsResourceResourceTypes (297) */
- interface RmrkTraitsResourceResourceTypes extends Enum {
- readonly isBasic: boolean;
- readonly asBasic: RmrkTraitsResourceBasicResource;
- readonly isComposable: boolean;
- readonly asComposable: RmrkTraitsResourceComposableResource;
- readonly isSlot: boolean;
- readonly asSlot: RmrkTraitsResourceSlotResource;
- readonly type: 'Basic' | 'Composable' | 'Slot';
- }
-
- /** @name RmrkTraitsResourceBasicResource (299) */
- interface RmrkTraitsResourceBasicResource extends Struct {
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
- }
-
- /** @name RmrkTraitsResourceComposableResource (301) */
- interface RmrkTraitsResourceComposableResource extends Struct {
- readonly parts: Vec<u32>;
- readonly base: u32;
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
- }
-
- /** @name RmrkTraitsResourceSlotResource (302) */
- interface RmrkTraitsResourceSlotResource extends Struct {
- readonly base: u32;
- readonly src: Option<Bytes>;
- readonly metadata: Option<Bytes>;
- readonly slot: u32;
- readonly license: Option<Bytes>;
- readonly thumb: Option<Bytes>;
- }
-
- /** @name PalletRmrkEquipCall (305) */
- interface PalletRmrkEquipCall extends Enum {
- readonly isCreateBase: boolean;
- readonly asCreateBase: {
- readonly baseType: Bytes;
- readonly symbol: Bytes;
- readonly parts: Vec<RmrkTraitsPartPartType>;
- } & Struct;
- readonly isThemeAdd: boolean;
- readonly asThemeAdd: {
- readonly baseId: u32;
- readonly theme: RmrkTraitsTheme;
- } & Struct;
- readonly isEquippable: boolean;
- readonly asEquippable: {
- readonly baseId: u32;
- readonly slotId: u32;
- readonly equippables: RmrkTraitsPartEquippableList;
- } & Struct;
- readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
- }
-
- /** @name RmrkTraitsPartPartType (308) */
- interface RmrkTraitsPartPartType extends Enum {
- readonly isFixedPart: boolean;
- readonly asFixedPart: RmrkTraitsPartFixedPart;
- readonly isSlotPart: boolean;
- readonly asSlotPart: RmrkTraitsPartSlotPart;
- readonly type: 'FixedPart' | 'SlotPart';
- }
-
- /** @name RmrkTraitsPartFixedPart (310) */
- interface RmrkTraitsPartFixedPart extends Struct {
- readonly id: u32;
- readonly z: u32;
- readonly src: Bytes;
- }
-
- /** @name RmrkTraitsPartSlotPart (311) */
- interface RmrkTraitsPartSlotPart extends Struct {
- readonly id: u32;
- readonly equippable: RmrkTraitsPartEquippableList;
- readonly src: Bytes;
- readonly z: u32;
- }
-
- /** @name RmrkTraitsPartEquippableList (312) */
- interface RmrkTraitsPartEquippableList extends Enum {
- readonly isAll: boolean;
- readonly isEmpty: boolean;
- readonly isCustom: boolean;
- readonly asCustom: Vec<u32>;
- readonly type: 'All' | 'Empty' | 'Custom';
- }
-
- /** @name RmrkTraitsTheme (314) */
- interface RmrkTraitsTheme extends Struct {
- readonly name: Bytes;
- readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
- readonly inherit: bool;
- }
-
- /** @name RmrkTraitsThemeThemeProperty (316) */
- interface RmrkTraitsThemeThemeProperty extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
- }
-
- /** @name PalletAppPromotionCall (318) */
+ /** @name PalletAppPromotionCall (363) */
interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
@@ -2959,7 +3042,7 @@
readonly asStake: {
readonly amount: u128;
} & Struct;
- readonly isUnstake: boolean;
+ readonly isUnstakeAll: boolean;
readonly isSponsorCollection: boolean;
readonly asSponsorCollection: {
readonly collectionId: u32;
@@ -2980,10 +3063,14 @@
readonly asPayoutStakers: {
readonly stakersNumber: Option<u8>;
} & Struct;
- readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
+ readonly isUnstakePartial: boolean;
+ readonly asUnstakePartial: {
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial';
}
- /** @name PalletForeignAssetsModuleCall (319) */
+ /** @name PalletForeignAssetsModuleCall (364) */
interface PalletForeignAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
@@ -3000,7 +3087,7 @@
readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
}
- /** @name PalletEvmCall (320) */
+ /** @name PalletEvmCall (365) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -3045,7 +3132,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (326) */
+ /** @name PalletEthereumCall (371) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -3054,7 +3141,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (327) */
+ /** @name EthereumTransactionTransactionV2 (372) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -3065,7 +3152,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (328) */
+ /** @name EthereumTransactionLegacyTransaction (373) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -3076,7 +3163,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (329) */
+ /** @name EthereumTransactionTransactionAction (374) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -3084,14 +3171,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (330) */
+ /** @name EthereumTransactionTransactionSignature (375) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (332) */
+ /** @name EthereumTransactionEip2930Transaction (377) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3106,13 +3193,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (334) */
+ /** @name EthereumTransactionAccessListItem (379) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (335) */
+ /** @name EthereumTransactionEip1559Transaction (380) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3128,7 +3215,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (336) */
+ /** @name PalletEvmMigrationCall (381) */
interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -3152,17 +3239,23 @@
readonly asInsertEvents: {
readonly events: Vec<Bytes>;
} & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
+ readonly isRemoveRmrkData: boolean;
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData';
}
- /** @name PalletMaintenanceCall (340) */
+ /** @name PalletMaintenanceCall (385) */
interface PalletMaintenanceCall extends Enum {
readonly isEnable: boolean;
readonly isDisable: boolean;
- readonly type: 'Enable' | 'Disable';
+ readonly isExecutePreimage: boolean;
+ readonly asExecutePreimage: {
+ readonly hash_: H256;
+ readonly weightBound: SpWeightsWeightV2Weight;
+ } & Struct;
+ readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';
}
- /** @name PalletTestUtilsCall (341) */
+ /** @name PalletTestUtilsCall (386) */
interface PalletTestUtilsCall extends Enum {
readonly isEnable: boolean;
readonly isSetTestValue: boolean;
@@ -3182,13 +3275,13 @@
readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
}
- /** @name PalletSudoError (343) */
+ /** @name PalletSudoError (388) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (345) */
+ /** @name OrmlVestingModuleError (390) */
interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -3199,7 +3292,7 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name OrmlXtokensModuleError (346) */
+ /** @name OrmlXtokensModuleError (391) */
interface OrmlXtokensModuleError extends Enum {
readonly isAssetHasNoReserve: boolean;
readonly isNotCrossChainTransfer: boolean;
@@ -3223,26 +3316,26 @@
readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
}
- /** @name OrmlTokensBalanceLock (349) */
+ /** @name OrmlTokensBalanceLock (394) */
interface OrmlTokensBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name OrmlTokensAccountData (351) */
+ /** @name OrmlTokensAccountData (396) */
interface OrmlTokensAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly frozen: u128;
}
- /** @name OrmlTokensReserveData (353) */
+ /** @name OrmlTokensReserveData (398) */
interface OrmlTokensReserveData extends Struct {
readonly id: Null;
readonly amount: u128;
}
- /** @name OrmlTokensModuleError (355) */
+ /** @name OrmlTokensModuleError (400) */
interface OrmlTokensModuleError extends Enum {
readonly isBalanceTooLow: boolean;
readonly isAmountIntoBalanceFailed: boolean;
@@ -3255,21 +3348,78 @@
readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */
+ /** @name PalletIdentityRegistrarInfo (405) */
+ interface PalletIdentityRegistrarInfo extends Struct {
+ readonly account: AccountId32;
+ readonly fee: u128;
+ readonly fields: PalletIdentityBitFlags;
+ }
+
+ /** @name PalletIdentityError (407) */
+ 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 PalletPreimageRequestStatus (408) */
+ interface PalletPreimageRequestStatus extends Enum {
+ readonly isUnrequested: boolean;
+ readonly asUnrequested: {
+ readonly deposit: ITuple<[AccountId32, u128]>;
+ readonly len: u32;
+ } & Struct;
+ readonly isRequested: boolean;
+ readonly asRequested: {
+ readonly deposit: Option<ITuple<[AccountId32, u128]>>;
+ readonly count: u32;
+ readonly len: Option<u32>;
+ } & Struct;
+ readonly type: 'Unrequested' | 'Requested';
+ }
+
+ /** @name PalletPreimageError (413) */
+ interface PalletPreimageError extends Enum {
+ readonly isTooBig: boolean;
+ readonly isAlreadyNoted: boolean;
+ readonly isNotAuthorized: boolean;
+ readonly isNotNoted: boolean;
+ readonly isRequested: boolean;
+ readonly isNotRequested: boolean;
+ readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';
+ }
+
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (415) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (358) */
+ /** @name CumulusPalletXcmpQueueInboundState (416) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (419) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -3277,7 +3427,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (422) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -3286,14 +3436,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (365) */
+ /** @name CumulusPalletXcmpQueueOutboundState (423) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (367) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (425) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -3303,7 +3453,7 @@
readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletXcmpQueueError (369) */
+ /** @name CumulusPalletXcmpQueueError (427) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -3313,7 +3463,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (370) */
+ /** @name PalletXcmError (428) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -3331,29 +3481,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (371) */
+ /** @name CumulusPalletXcmError (429) */
type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (372) */
+ /** @name CumulusPalletDmpQueueConfigData (430) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletDmpQueuePageIndexData (373) */
+ /** @name CumulusPalletDmpQueuePageIndexData (431) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (376) */
+ /** @name CumulusPalletDmpQueueError (434) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (380) */
+ /** @name PalletUniqueError (438) */
interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isEmptyArgument: boolean;
@@ -3361,13 +3511,13 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletConfigurationError (381) */
+ /** @name PalletConfigurationError (439) */
interface PalletConfigurationError extends Enum {
readonly isInconsistentConfiguration: boolean;
readonly type: 'InconsistentConfiguration';
}
- /** @name UpDataStructsCollection (382) */
+ /** @name UpDataStructsCollection (440) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3380,7 +3530,7 @@
readonly flags: U8aFixed;
}
- /** @name UpDataStructsSponsorshipStateAccountId32 (383) */
+ /** @name UpDataStructsSponsorshipStateAccountId32 (441) */
interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3390,43 +3540,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (385) */
+ /** @name UpDataStructsProperties (442) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (386) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (443) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (391) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (448) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (398) */
+ /** @name UpDataStructsCollectionStats (455) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (399) */
+ /** @name UpDataStructsTokenChild (456) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (400) */
- interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}
+ /** @name PhantomTypeUpDataStructs (457) */
+ interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpPovEstimateRpcPovInfo]>> {}
- /** @name UpDataStructsTokenData (402) */
+ /** @name UpDataStructsTokenData (459) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (404) */
+ /** @name UpDataStructsRpcCollection (461) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3442,64 +3592,13 @@
readonly flags: UpDataStructsRpcCollectionFlags;
}
- /** @name UpDataStructsRpcCollectionFlags (405) */
+ /** @name UpDataStructsRpcCollectionFlags (462) */
interface UpDataStructsRpcCollectionFlags extends Struct {
readonly foreign: bool;
readonly erc721metadata: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (406) */
- interface RmrkTraitsCollectionCollectionInfo extends Struct {
- readonly issuer: AccountId32;
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
- readonly nftsCount: u32;
- }
-
- /** @name RmrkTraitsNftNftInfo (407) */
- interface RmrkTraitsNftNftInfo extends Struct {
- readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
- readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
- readonly metadata: Bytes;
- readonly equipped: bool;
- readonly pending: bool;
- }
-
- /** @name RmrkTraitsNftRoyaltyInfo (409) */
- interface RmrkTraitsNftRoyaltyInfo extends Struct {
- readonly recipient: AccountId32;
- readonly amount: Permill;
- }
-
- /** @name RmrkTraitsResourceResourceInfo (410) */
- interface RmrkTraitsResourceResourceInfo extends Struct {
- readonly id: u32;
- readonly resource: RmrkTraitsResourceResourceTypes;
- readonly pending: bool;
- readonly pendingRemoval: bool;
- }
-
- /** @name RmrkTraitsPropertyPropertyInfo (411) */
- interface RmrkTraitsPropertyPropertyInfo extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
- }
-
- /** @name RmrkTraitsBaseBaseInfo (412) */
- interface RmrkTraitsBaseBaseInfo extends Struct {
- readonly issuer: AccountId32;
- readonly baseType: Bytes;
- readonly symbol: Bytes;
- }
-
- /** @name RmrkTraitsNftNftChild (413) */
- interface RmrkTraitsNftNftChild extends Struct {
- readonly collectionId: u32;
- readonly nftId: u32;
- }
-
- /** @name UpPovEstimateRpcPovInfo (414) */
+ /** @name UpPovEstimateRpcPovInfo (463) */
interface UpPovEstimateRpcPovInfo extends Struct {
readonly proofSize: u64;
readonly compactProofSize: u64;
@@ -3508,7 +3607,7 @@
readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;
}
- /** @name SpRuntimeTransactionValidityTransactionValidityError (417) */
+ /** @name SpRuntimeTransactionValidityTransactionValidityError (466) */
interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {
readonly isInvalid: boolean;
readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;
@@ -3517,7 +3616,7 @@
readonly type: 'Invalid' | 'Unknown';
}
- /** @name SpRuntimeTransactionValidityInvalidTransaction (418) */
+ /** @name SpRuntimeTransactionValidityInvalidTransaction (467) */
interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {
readonly isCall: boolean;
readonly isPayment: boolean;
@@ -3534,7 +3633,7 @@
readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';
}
- /** @name SpRuntimeTransactionValidityUnknownTransaction (419) */
+ /** @name SpRuntimeTransactionValidityUnknownTransaction (468) */
interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {
readonly isCannotLookup: boolean;
readonly isNoUnsignedValidator: boolean;
@@ -3543,13 +3642,13 @@
readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';
}
- /** @name UpPovEstimateRpcTrieKeyValue (421) */
+ /** @name UpPovEstimateRpcTrieKeyValue (470) */
interface UpPovEstimateRpcTrieKeyValue extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletCommonError (423) */
+ /** @name PalletCommonError (472) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3591,7 +3690,7 @@
readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
}
- /** @name PalletFungibleError (425) */
+ /** @name PalletFungibleError (474) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3603,7 +3702,7 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
- /** @name PalletRefungibleError (429) */
+ /** @name PalletRefungibleError (478) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3613,19 +3712,19 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (430) */
+ /** @name PalletNonfungibleItemData (479) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (432) */
+ /** @name UpDataStructsPropertyScope (481) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly type: 'None' | 'Rmrk';
}
- /** @name PalletNonfungibleError (435) */
+ /** @name PalletNonfungibleError (484) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3633,52 +3732,17 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (436) */
+ /** @name PalletStructureError (485) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
readonly isBreadthLimit: boolean;
readonly isTokenNotFound: boolean;
- readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
+ readonly isCantNestTokenUnderCollection: boolean;
+ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection';
}
- /** @name PalletRmrkCoreError (437) */
- interface PalletRmrkCoreError extends Enum {
- readonly isCorruptedCollectionType: boolean;
- readonly isRmrkPropertyKeyIsTooLong: boolean;
- readonly isRmrkPropertyValueIsTooLong: boolean;
- readonly isRmrkPropertyIsNotFound: boolean;
- readonly isUnableToDecodeRmrkData: boolean;
- readonly isCollectionNotEmpty: boolean;
- readonly isNoAvailableCollectionId: boolean;
- readonly isNoAvailableNftId: boolean;
- readonly isCollectionUnknown: boolean;
- readonly isNoPermission: boolean;
- readonly isNonTransferable: boolean;
- readonly isCollectionFullOrLocked: boolean;
- readonly isResourceDoesntExist: boolean;
- readonly isCannotSendToDescendentOrSelf: boolean;
- readonly isCannotAcceptNonOwnedNft: boolean;
- readonly isCannotRejectNonOwnedNft: boolean;
- readonly isCannotRejectNonPendingNft: boolean;
- readonly isResourceNotPending: boolean;
- readonly isNoAvailableResourceId: boolean;
- readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
- }
-
- /** @name PalletRmrkEquipError (439) */
- interface PalletRmrkEquipError extends Enum {
- readonly isPermissionError: boolean;
- readonly isNoAvailableBaseId: boolean;
- readonly isNoAvailablePartId: boolean;
- readonly isBaseDoesntExist: boolean;
- readonly isNeedsDefaultThemeFirst: boolean;
- readonly isPartDoesntExist: boolean;
- readonly isNoEquippableOnFixedPart: boolean;
- readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
- }
-
- /** @name PalletAppPromotionError (445) */
+ /** @name PalletAppPromotionError (490) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -3686,10 +3750,11 @@
readonly isPendingForBlockOverflow: boolean;
readonly isSponsorNotSet: boolean;
readonly isIncorrectLockedBalanceOperation: boolean;
- readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
+ readonly isInsufficientStakedBalance: boolean;
+ readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation' | 'InsufficientStakedBalance';
}
- /** @name PalletForeignAssetsModuleError (446) */
+ /** @name PalletForeignAssetsModuleError (491) */
interface PalletForeignAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
@@ -3698,7 +3763,7 @@
readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
}
- /** @name PalletEvmError (448) */
+ /** @name PalletEvmError (493) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3714,7 +3779,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';
}
- /** @name FpRpcTransactionStatus (451) */
+ /** @name FpRpcTransactionStatus (496) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3725,10 +3790,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (453) */
+ /** @name EthbloomBloom (498) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (455) */
+ /** @name EthereumReceiptReceiptV3 (500) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3739,7 +3804,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (456) */
+ /** @name EthereumReceiptEip658ReceiptData (501) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3747,14 +3812,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (457) */
+ /** @name EthereumBlock (502) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (458) */
+ /** @name EthereumHeader (503) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3773,24 +3838,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (459) */
+ /** @name EthereumTypesHashH64 (504) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (464) */
+ /** @name PalletEthereumError (509) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (465) */
+ /** @name PalletEvmCoderSubstrateError (510) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (466) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (511) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3800,7 +3865,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (467) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (512) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3808,7 +3873,7 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (473) */
+ /** @name PalletEvmContractHelpersError (518) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
@@ -3816,7 +3881,7 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletEvmMigrationError (474) */
+ /** @name PalletEvmMigrationError (519) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
@@ -3824,17 +3889,17 @@
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
- /** @name PalletMaintenanceError (475) */
+ /** @name PalletMaintenanceError (520) */
type PalletMaintenanceError = Null;
- /** @name PalletTestUtilsError (476) */
+ /** @name PalletTestUtilsError (521) */
interface PalletTestUtilsError extends Enum {
readonly isTestPalletDisabled: boolean;
readonly isTriggerRollback: boolean;
readonly type: 'TestPalletDisabled' | 'TriggerRollback';
}
- /** @name SpRuntimeMultiSignature (478) */
+ /** @name SpRuntimeMultiSignature (523) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3845,43 +3910,43 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (479) */
+ /** @name SpCoreEd25519Signature (524) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (481) */
+ /** @name SpCoreSr25519Signature (526) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (482) */
+ /** @name SpCoreEcdsaSignature (527) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (485) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (530) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckTxVersion (486) */
+ /** @name FrameSystemExtensionsCheckTxVersion (531) */
type FrameSystemExtensionsCheckTxVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (487) */
+ /** @name FrameSystemExtensionsCheckGenesis (532) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (490) */
+ /** @name FrameSystemExtensionsCheckNonce (535) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (491) */
+ /** @name FrameSystemExtensionsCheckWeight (536) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (492) */
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (537) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (493) */
+ /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (538) */
type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (494) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (539) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (495) */
+ /** @name OpalRuntimeRuntime (540) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (496) */
+ /** @name PalletEthereumFakeTransactionFinalizer (541) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/interfaces/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/types.ts
+++ b/tests/src/interfaces/types.ts
@@ -3,6 +3,5 @@
export * from './unique/types';
export * from './appPromotion/types';
-export * from './rmrk/types';
export * from './povinfo/types';
export * from './default/types';
tests/src/maintenance.seqtest.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/maintenance.seqtest.ts
@@ -0,0 +1,368 @@
+// 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/>.
+
+import {IKeyringPair} from '@polkadot/types/types';
+import {ApiPromise} from '@polkadot/api';
+import {expect, itSched, itSub, Pallets, requirePalletsOrSkip, usingPlaygrounds} from './util';
+import {itEth} from './eth/util';
+import {UniqueHelper} from './util/playgrounds/unique';
+
+async function maintenanceEnabled(api: ApiPromise): Promise<boolean> {
+ return (await api.query.maintenance.enabled()).toJSON() as boolean;
+}
+
+describe('Integration Test: Maintenance Functionality', () => {
+ let superuser: IKeyringPair;
+ let donor: IKeyringPair;
+ let bob: IKeyringPair;
+
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKey) => {
+ requirePalletsOrSkip(this, helper, [Pallets.Maintenance]);
+ superuser = await privateKey('//Alice');
+ donor = await privateKey({filename: __filename});
+ [bob] = await helper.arrange.createAccounts([10000n], donor);
+
+ });
+ });
+
+ describe('Maintenance Mode', () => {
+ before(async function() {
+ await usingPlaygrounds(async (helper) => {
+ if (await maintenanceEnabled(helper.getApi())) {
+ console.warn('\tMaintenance mode was left enabled BEFORE the test suite! Disabling it now.');
+ await expect(helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', [])).to.be.fulfilled;
+ }
+ });
+ });
+
+ itSub('Allows superuser to enable and disable maintenance mode - and disallows anyone else', async ({helper}) => {
+ // Make sure non-sudo can't enable maintenance mode
+ await expect(helper.executeExtrinsic(superuser, 'api.tx.maintenance.enable', []), 'on commoner enabling MM')
+ .to.be.rejectedWith(/BadOrigin/);
+
+ // Set maintenance mode
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
+
+ // Make sure non-sudo can't disable maintenance mode
+ await expect(helper.executeExtrinsic(bob, 'api.tx.maintenance.disable', []), 'on commoner disabling MM')
+ .to.be.rejectedWith(/BadOrigin/);
+
+ // Disable maintenance mode
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
+ });
+
+ itSub('MM blocks unique pallet calls', async ({helper}) => {
+ // Can create an NFT collection before enabling the MM
+ const nftCollection = await helper.nft.mintCollection(bob, {
+ tokenPropertyPermissions: [{key: 'test', permission: {
+ collectionAdmin: true,
+ tokenOwner: true,
+ mutable: true,
+ }}],
+ });
+
+ // Can mint an NFT before enabling the MM
+ const nft = await nftCollection.mintToken(bob);
+
+ // Can create an FT collection before enabling the MM
+ const ftCollection = await helper.ft.mintCollection(superuser);
+
+ // Can mint an FT before enabling the MM
+ await expect(ftCollection.mint(superuser)).to.be.fulfilled;
+
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
+
+ // Unable to create a collection when the MM is enabled
+ await expect(helper.nft.mintCollection(superuser), 'cudo forbidden stuff')
+ .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
+
+ // Unable to set token properties when the MM is enabled
+ await expect(nft.setProperties(
+ bob,
+ [{key: 'test', value: 'test-val'}],
+ )).to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
+
+ // Unable to mint an NFT when the MM is enabled
+ await expect(nftCollection.mintToken(superuser))
+ .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
+
+ // Unable to mint an FT when the MM is enabled
+ await expect(ftCollection.mint(superuser))
+ .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
+
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
+
+ // Can create a collection after disabling the MM
+ await expect(helper.nft.mintCollection(bob), 'MM is disabled, the collection should be created').to.be.fulfilled;
+
+ // Can set token properties after disabling the MM
+ await nft.setProperties(bob, [{key: 'test', value: 'test-val'}]);
+
+ // Can mint an NFT after disabling the MM
+ await nftCollection.mintToken(bob);
+
+ // Can mint an FT after disabling the MM
+ await ftCollection.mint(superuser);
+ });
+
+ itSub.ifWithPallets('MM blocks unique pallet calls (Re-Fungible)', [Pallets.ReFungible], async ({helper}) => {
+ // Can create an RFT collection before enabling the MM
+ const rftCollection = await helper.rft.mintCollection(superuser);
+
+ // Can mint an RFT before enabling the MM
+ await expect(rftCollection.mintToken(superuser)).to.be.fulfilled;
+
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
+
+ // Unable to mint an RFT when the MM is enabled
+ await expect(rftCollection.mintToken(superuser))
+ .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
+
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
+
+ // Can mint an RFT after disabling the MM
+ await rftCollection.mintToken(superuser);
+ });
+
+ itSub('MM allows native token transfers and RPC calls', async ({helper}) => {
+ // We can use RPC before the MM is enabled
+ const totalCount = await helper.collection.getTotalCount();
+
+ // We can transfer funds before the MM is enabled
+ await expect(helper.balance.transferToSubstrate(superuser, bob.address, 2n)).to.be.fulfilled;
+
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
+
+ // RPCs work while in maintenance
+ expect(await helper.collection.getTotalCount()).to.be.deep.equal(totalCount);
+
+ // We still able to transfer funds
+ await expect(helper.balance.transferToSubstrate(bob, superuser.address, 1n)).to.be.fulfilled;
+
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
+
+ // RPCs work after maintenance
+ expect(await helper.collection.getTotalCount()).to.be.deep.equal(totalCount);
+
+ // Transfers work after maintenance
+ await expect(helper.balance.transferToSubstrate(bob, superuser.address, 1n)).to.be.fulfilled;
+ });
+
+ itSched.ifWithPallets('MM blocks scheduled calls and the scheduler itself', [Pallets.Scheduler], async (scheduleKind, {helper}) => {
+ const collection = await helper.nft.mintCollection(bob);
+
+ const nftBeforeMM = await collection.mintToken(bob);
+ const nftDuringMM = await collection.mintToken(bob);
+ const nftAfterMM = await collection.mintToken(bob);
+
+ const [
+ scheduledIdBeforeMM,
+ scheduledIdDuringMM,
+ scheduledIdBunkerThroughMM,
+ scheduledIdAttemptDuringMM,
+ scheduledIdAfterMM,
+ ] = scheduleKind == 'named'
+ ? helper.arrange.makeScheduledIds(5)
+ : new Array(5);
+
+ const blocksToWait = 6;
+
+ // Scheduling works before the maintenance
+ await nftBeforeMM.scheduleAfter(blocksToWait, {scheduledId: scheduledIdBeforeMM})
+ .transfer(bob, {Substrate: superuser.address});
+
+ await helper.wait.newBlocks(blocksToWait + 1);
+ expect(await nftBeforeMM.getOwner()).to.be.deep.equal({Substrate: superuser.address});
+
+ // Schedule a transaction that should occur *during* the maintenance
+ await nftDuringMM.scheduleAfter(blocksToWait, {scheduledId: scheduledIdDuringMM})
+ .transfer(bob, {Substrate: superuser.address});
+
+ // Schedule a transaction that should occur *after* the maintenance
+ await nftDuringMM.scheduleAfter(blocksToWait * 2, {scheduledId: scheduledIdBunkerThroughMM})
+ .transfer(bob, {Substrate: superuser.address});
+
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
+
+ await helper.wait.newBlocks(blocksToWait + 1);
+ // The owner should NOT change since the scheduled transaction should be rejected
+ expect(await nftDuringMM.getOwner()).to.be.deep.equal({Substrate: bob.address});
+
+ // Any attempts to schedule a tx during the MM should be rejected
+ await expect(nftDuringMM.scheduleAfter(blocksToWait, {scheduledId: scheduledIdAttemptDuringMM})
+ .transfer(bob, {Substrate: superuser.address}))
+ .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
+
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
+
+ // Scheduling works after the maintenance
+ await nftAfterMM.scheduleAfter(blocksToWait, {scheduledId: scheduledIdAfterMM})
+ .transfer(bob, {Substrate: superuser.address});
+
+ await helper.wait.newBlocks(blocksToWait + 1);
+
+ expect(await nftAfterMM.getOwner()).to.be.deep.equal({Substrate: superuser.address});
+ // The owner of the token scheduled for transaction *before* maintenance should now change *after* maintenance
+ expect(await nftDuringMM.getOwner()).to.be.deep.equal({Substrate: superuser.address});
+ });
+
+ itEth('Disallows Ethereum transactions to execute while in maintenance', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const receiver = helper.eth.createAccount();
+
+ const {collectionAddress} = await helper.eth.createERC721MetadataCompatibleNFTCollection(owner, 'A', 'B', 'C', '');
+
+ // Set maintenance mode
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
+
+ const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);
+ const tokenId = await contract.methods.nextTokenId().call();
+ expect(tokenId).to.be.equal('1');
+
+ await expect(contract.methods.mintWithTokenURI(receiver, 'Test URI').send())
+ .to.be.rejectedWith(/Returned error: unknown error/);
+
+ await expect(contract.methods.ownerOf(tokenId).call()).rejectedWith(/token not found/);
+
+ // Disable maintenance mode
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
+ });
+
+ itSub('Allows to enable and disable MM repeatedly', async ({helper}) => {
+ // Set maintenance mode
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
+
+ // Disable maintenance mode
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
+ });
+
+ afterEach(async () => {
+ await usingPlaygrounds(async helper => {
+ if (helper.fetchMissingPalletNames([Pallets.Maintenance]).length != 0) return;
+ if (await maintenanceEnabled(helper.getApi())) {
+ console.warn('\tMaintenance mode was left enabled AFTER a test has finished! Be careful. Disabling it now.');
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
+ }
+ expect(await maintenanceEnabled(helper.getApi()), 'Disastrous! Exited the test suite with maintenance mode on.').to.be.false;
+ });
+ });
+ });
+
+ describe('Preimage Execution', () => {
+ const preimageHashes: string[] = [];
+
+ async function notePreimage(helper: UniqueHelper, preimage: any): Promise<string> {
+ const result = await helper.preimage.notePreimage(bob, preimage);
+ const events = result.result.events.filter(x => x.event.method === 'Noted' && x.event.section === 'preimage');
+ const preimageHash = events[0].event.data[0].toHuman();
+ return preimageHash;
+ }
+
+ before(async function() {
+ await usingPlaygrounds(async (helper) => {
+ requirePalletsOrSkip(this, helper, [Pallets.Preimage, Pallets.Maintenance]);
+
+ // create a preimage to be operated with in the tests
+ const randomAccounts = await helper.arrange.createCrowd(10, 0n, superuser);
+ const randomIdentities = randomAccounts.map((acc, i) => [
+ acc.address, {
+ deposit: 0n,
+ judgements: [],
+ info: {
+ display: {
+ raw: `Random Account #${i}`,
+ },
+ },
+ },
+ ]);
+ const preimage = helper.constructApiCall('api.tx.identity.forceInsertIdentities', [randomIdentities]).method.toHex();
+ preimageHashes.push(await notePreimage(helper, preimage));
+ });
+ });
+
+ itSub('Successfully executes call in a preimage', async ({helper}) => {
+ const result = await expect(helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.executePreimage', [
+ preimageHashes[0], {refTime: 10000000000, proofSize: 10000},
+ ])).to.be.fulfilled;
+
+ // preimage is executed, and an appropriate event is present
+ const events = result.result.events.filter((x: any) => x.event.method === 'IdentitiesInserted' && x.event.section === 'identity');
+ expect(events.length).to.be.equal(1);
+
+ // the preimage goes back to being unrequested
+ expect(await helper.preimage.getPreimageInfo(preimageHashes[0])).to.have.property('unrequested');
+ });
+
+ itSub('Does not allow execution of a preimage that would fail', async ({helper}) => {
+ const [zeroAccount] = await helper.arrange.createAccounts([0n], superuser);
+
+ const preimage = helper.constructApiCall('api.tx.balances.forceTransfer', [
+ {Id: zeroAccount.address}, {Id: superuser.address}, 1000n,
+ ]).method.toHex();
+ const preimageHash = await notePreimage(helper, preimage);
+ preimageHashes.push(preimageHash);
+
+ await expect(helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.executePreimage', [
+ preimageHash, {refTime: 10000000000, proofSize: 10000},
+ ])).to.be.rejectedWith(/balances\.InsufficientBalance/);
+ });
+
+ itSub('Does not allow preimage execution with non-root', async ({helper}) => {
+ await expect(helper.executeExtrinsic(bob, 'api.tx.maintenance.executePreimage', [
+ preimageHashes[0], {refTime: 10000000000, proofSize: 10000},
+ ])).to.be.rejectedWith(/BadOrigin/);
+ });
+
+ itSub('Does not allow execution of non-existent preimages', async ({helper}) => {
+ await expect(helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.executePreimage', [
+ '0x1010101010101010101010101010101010101010101010101010101010101010', {refTime: 10000000000, proofSize: 10000},
+ ])).to.be.rejectedWith(/Unavailable/);
+ });
+
+ itSub('Does not allow preimage execution with less than minimum weights', async ({helper}) => {
+ await expect(helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.executePreimage', [
+ preimageHashes[0], {refTime: 1000, proofSize: 100},
+ ])).to.be.rejectedWith(/Exhausted/);
+ });
+
+ after(async function() {
+ await usingPlaygrounds(async (helper) => {
+ if (helper.fetchMissingPalletNames([Pallets.Preimage, Pallets.Maintenance]).length != 0) return;
+
+ for (const hash of preimageHashes) {
+ await helper.preimage.unnotePreimage(bob, hash);
+ }
+ });
+ });
+ });
+});
tests/src/maintenanceMode.seqtest.tsdiffbeforeafterboth--- a/tests/src/maintenanceMode.seqtest.ts
+++ /dev/null
@@ -1,270 +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/>.
-
-import {IKeyringPair} from '@polkadot/types/types';
-import {ApiPromise} from '@polkadot/api';
-import {expect, itSched, itSub, Pallets, usingPlaygrounds} from './util';
-import {itEth} from './eth/util';
-
-async function maintenanceEnabled(api: ApiPromise): Promise<boolean> {
- return (await api.query.maintenance.enabled()).toJSON() as boolean;
-}
-
-describe('Integration Test: Maintenance Mode', () => {
- let superuser: IKeyringPair;
- let donor: IKeyringPair;
- let bob: IKeyringPair;
-
- before(async () => {
- await usingPlaygrounds(async (helper, privateKey) => {
- superuser = await privateKey('//Alice');
- donor = await privateKey({filename: __filename});
- [bob] = await helper.arrange.createAccounts([100n], donor);
-
- if (await maintenanceEnabled(helper.getApi())) {
- console.warn('\tMaintenance mode was left enabled BEFORE the test suite! Disabling it now.');
- await expect(helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', [])).to.be.fulfilled;
- }
- });
- });
-
- itSub('Allows superuser to enable and disable maintenance mode - and disallows anyone else', async ({helper}) => {
- // Make sure non-sudo can't enable maintenance mode
- await expect(helper.executeExtrinsic(superuser, 'api.tx.maintenance.enable', []), 'on commoner enabling MM')
- .to.be.rejectedWith(/BadOrigin/);
-
- // Set maintenance mode
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
-
- // Make sure non-sudo can't disable maintenance mode
- await expect(helper.executeExtrinsic(bob, 'api.tx.maintenance.disable', []), 'on commoner disabling MM')
- .to.be.rejectedWith(/BadOrigin/);
-
- // Disable maintenance mode
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
- });
-
- itSub('MM blocks unique pallet calls', async ({helper}) => {
- // Can create an NFT collection before enabling the MM
- const nftCollection = await helper.nft.mintCollection(bob, {
- tokenPropertyPermissions: [{key: 'test', permission: {
- collectionAdmin: true,
- tokenOwner: true,
- mutable: true,
- }}],
- });
-
- // Can mint an NFT before enabling the MM
- const nft = await nftCollection.mintToken(bob);
-
- // Can create an FT collection before enabling the MM
- const ftCollection = await helper.ft.mintCollection(superuser);
-
- // Can mint an FT before enabling the MM
- await expect(ftCollection.mint(superuser)).to.be.fulfilled;
-
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
-
- // Unable to create a collection when the MM is enabled
- await expect(helper.nft.mintCollection(superuser), 'cudo forbidden stuff')
- .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
-
- // Unable to set token properties when the MM is enabled
- await expect(nft.setProperties(
- bob,
- [{key: 'test', value: 'test-val'}],
- )).to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
-
- // Unable to mint an NFT when the MM is enabled
- await expect(nftCollection.mintToken(superuser))
- .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
-
- // Unable to mint an FT when the MM is enabled
- await expect(ftCollection.mint(superuser))
- .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
-
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
-
- // Can create a collection after disabling the MM
- await expect(helper.nft.mintCollection(bob), 'MM is disabled, the collection should be created').to.be.fulfilled;
-
- // Can set token properties after disabling the MM
- await nft.setProperties(bob, [{key: 'test', value: 'test-val'}]);
-
- // Can mint an NFT after disabling the MM
- await nftCollection.mintToken(bob);
-
- // Can mint an FT after disabling the MM
- await ftCollection.mint(superuser);
- });
-
- itSub.ifWithPallets('MM blocks unique pallet calls (Re-Fungible)', [Pallets.ReFungible], async ({helper}) => {
- // Can create an RFT collection before enabling the MM
- const rftCollection = await helper.rft.mintCollection(superuser);
-
- // Can mint an RFT before enabling the MM
- await expect(rftCollection.mintToken(superuser)).to.be.fulfilled;
-
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
-
- // Unable to mint an RFT when the MM is enabled
- await expect(rftCollection.mintToken(superuser))
- .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
-
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
-
- // Can mint an RFT after disabling the MM
- await rftCollection.mintToken(superuser);
- });
-
- itSub('MM allows native token transfers and RPC calls', async ({helper}) => {
- // We can use RPC before the MM is enabled
- const totalCount = await helper.collection.getTotalCount();
-
- // We can transfer funds before the MM is enabled
- await expect(helper.balance.transferToSubstrate(superuser, bob.address, 2n)).to.be.fulfilled;
-
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
-
- // RPCs work while in maintenance
- expect(await helper.collection.getTotalCount()).to.be.deep.equal(totalCount);
-
- // We still able to transfer funds
- await expect(helper.balance.transferToSubstrate(bob, superuser.address, 1n)).to.be.fulfilled;
-
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
-
- // RPCs work after maintenance
- expect(await helper.collection.getTotalCount()).to.be.deep.equal(totalCount);
-
- // Transfers work after maintenance
- await expect(helper.balance.transferToSubstrate(bob, superuser.address, 1n)).to.be.fulfilled;
- });
-
- itSched.ifWithPallets('MM blocks scheduled calls and the scheduler itself', [Pallets.Scheduler], async (scheduleKind, {helper}) => {
- const collection = await helper.nft.mintCollection(bob);
-
- const nftBeforeMM = await collection.mintToken(bob);
- const nftDuringMM = await collection.mintToken(bob);
- const nftAfterMM = await collection.mintToken(bob);
-
- const [
- scheduledIdBeforeMM,
- scheduledIdDuringMM,
- scheduledIdBunkerThroughMM,
- scheduledIdAttemptDuringMM,
- scheduledIdAfterMM,
- ] = scheduleKind == 'named'
- ? helper.arrange.makeScheduledIds(5)
- : new Array(5);
-
- const blocksToWait = 6;
-
- // Scheduling works before the maintenance
- await nftBeforeMM.scheduleAfter(blocksToWait, {scheduledId: scheduledIdBeforeMM})
- .transfer(bob, {Substrate: superuser.address});
-
- await helper.wait.newBlocks(blocksToWait + 1);
- expect(await nftBeforeMM.getOwner()).to.be.deep.equal({Substrate: superuser.address});
-
- // Schedule a transaction that should occur *during* the maintenance
- await nftDuringMM.scheduleAfter(blocksToWait, {scheduledId: scheduledIdDuringMM})
- .transfer(bob, {Substrate: superuser.address});
-
- // Schedule a transaction that should occur *after* the maintenance
- await nftDuringMM.scheduleAfter(blocksToWait * 2, {scheduledId: scheduledIdBunkerThroughMM})
- .transfer(bob, {Substrate: superuser.address});
-
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
-
- await helper.wait.newBlocks(blocksToWait + 1);
- // The owner should NOT change since the scheduled transaction should be rejected
- expect(await nftDuringMM.getOwner()).to.be.deep.equal({Substrate: bob.address});
-
- // Any attempts to schedule a tx during the MM should be rejected
- await expect(nftDuringMM.scheduleAfter(blocksToWait, {scheduledId: scheduledIdAttemptDuringMM})
- .transfer(bob, {Substrate: superuser.address}))
- .to.be.rejectedWith(/Invalid Transaction: Transaction call is not expected/);
-
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
-
- // Scheduling works after the maintenance
- await nftAfterMM.scheduleAfter(blocksToWait, {scheduledId: scheduledIdAfterMM})
- .transfer(bob, {Substrate: superuser.address});
-
- await helper.wait.newBlocks(blocksToWait + 1);
-
- expect(await nftAfterMM.getOwner()).to.be.deep.equal({Substrate: superuser.address});
- // The owner of the token scheduled for transaction *before* maintenance should now change *after* maintenance
- expect(await nftDuringMM.getOwner()).to.be.deep.equal({Substrate: superuser.address});
- });
-
- itEth('Disallows Ethereum transactions to execute while in maintenance', async ({helper}) => {
- const owner = await helper.eth.createAccountWithBalance(donor);
- const receiver = helper.eth.createAccount();
-
- const {collectionAddress} = await helper.eth.createERC721MetadataCompatibleNFTCollection(owner, 'A', 'B', 'C', '');
-
- // Set maintenance mode
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
-
- const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);
- const tokenId = await contract.methods.nextTokenId().call();
- expect(tokenId).to.be.equal('1');
-
- await expect(contract.methods.mintWithTokenURI(receiver, 'Test URI').send())
- .to.be.rejectedWith(/Returned error: unknown error/);
-
- await expect(contract.methods.ownerOf(tokenId).call()).rejectedWith(/token not found/);
-
- // Disable maintenance mode
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
- });
-
- itSub('Allows to enable and disable MM repeatedly', async ({helper}) => {
- // Set maintenance mode
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.enable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is OFF when it should be ON').to.be.true;
-
- // Disable maintenance mode
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false;
- });
-
- afterEach(async () => {
- await usingPlaygrounds(async helper => {
- if (await maintenanceEnabled(helper.getApi())) {
- console.warn('\tMaintenance mode was left enabled AFTER a test has finished! Be careful. Disabling it now.');
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []);
- }
- expect(await maintenanceEnabled(helper.getApi()), 'Disastrous! Exited the test suite with maintenance mode on.').to.be.false;
- });
- });
-});
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -66,6 +66,7 @@
const foreignAssets = 'foreignassets';
const appPromotion = 'apppromotion';
const collatorSelection = ['authorship', 'session', 'collatorselection', 'identity'];
+ const preimage = ['preimage'];
const testUtils = 'testutils';
if (chain.eq('OPAL by UNIQUE')) {
@@ -75,6 +76,7 @@
appPromotion,
testUtils,
...collatorSelection,
+ ...preimage,
);
} else if (chain.eq('QUARTZ by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) {
requiredPallets.push(
@@ -82,6 +84,7 @@
appPromotion,
foreignAssets,
...collatorSelection,
+ ...preimage,
);
} else if (chain.eq('UNIQUE')) {
// Insert Unique additional pallets here
tests/src/util/identitySetter.tsdiffbeforeafterboth--- a/tests/src/util/identitySetter.ts
+++ b/tests/src/util/identitySetter.ts
@@ -1,13 +1,14 @@
// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
// SPDX-License-Identifier: Apache-2.0
//
-// Pulls identities and sub-identities from a chain and then uses sudo to force upload them into another.
+// Pulls identities and sub-identities from a chain and then makes a preimage to later force upload them into another.
// Only changed or previously non-existent data are inserted.
//
-// Usage: `yarn setIdentities [relay WS URL] [parachain WS URL] [sudo key]`
+// Usage: `yarn setIdentities [relay WS URL] [parachain WS URL] [user key]
// Example: `yarn setIdentities wss://polkadot-rpc.dwellir.com ws://localhost:9944 escape pattern miracle train sudden cart adapt embark wedding alien lamp mesh`
import {encodeAddress} from '@polkadot/keyring';
+import {IKeyringPair} from '@polkadot/types/types';
import {usingPlaygrounds, Pallets} from './index';
import {ChainHelperBase} from './playgrounds/unique';
@@ -81,6 +82,18 @@
return (await helper.getApi().query.identity.superOf.entries()).map(([key, value]) => [extractAccountId(key), value as any]);
}
+async function uploadPreimage(helper: ChainHelperBase, preimageMaker: IKeyringPair, preimage: string) {
+ try {
+ await helper.executeExtrinsic(preimageMaker, 'api.tx.preimage.notePreimage', [preimage]);
+ } catch(e: any) {
+ if (e.message.includes('AlreadyNoted')) {
+ console.warn('Warning: The same preimage already exists on the chain. Nothing was uploaded.');
+ } else {
+ console.error(e);
+ }
+ }
+}
+
// The utility for pulling identity and sub-identity data
const forceInsertIdentities = async (): Promise<void> => {
let relaySS58Prefix = 0;
@@ -128,8 +141,10 @@
await usingPlaygrounds(async (helper, privateKey) => {
if (helper.fetchMissingPalletNames([Pallets.Identity]).length != 0) console.error('pallet-identity is not included in parachain.');
+ if (helper.fetchMissingPalletNames([Pallets.Preimage]).length != 0) console.error('pallet-preimage is not included in parachain.');
+
try {
- const superuser = await privateKey(key);
+ const preimageMaker = await privateKey(key);
const ss58Format = helper.chain.getChainProperties().ss58Format;
const paraIdentities = await getIdentities(helper);
const identitiesToAdd: any[] = [];
@@ -158,13 +173,21 @@
}
if (identitiesToRemove.length != 0)
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceRemoveIdentities', [identitiesToRemove]);
+ await uploadPreimage(
+ helper,
+ preimageMaker,
+ helper.constructApiCall('api.tx.identity.forceRemoveIdentities', [identitiesToRemove]).method.toHex(),
+ );
if (identitiesToAdd.length != 0)
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identitiesToAdd]);
+ await uploadPreimage(
+ helper,
+ preimageMaker,
+ helper.constructApiCall('api.tx.identity.forceInsertIdentities', [identitiesToAdd]).method.toHex(),
+ );
- console.log(`Tried to upload ${identitiesToAdd.length} identities`
+ console.log(`Tried to push ${identitiesToAdd.length} identities`
+ ` and found ${identitiesToRemove.length} identities for potential removal.`
- + ` Now there are ${(await helper.getApi().query.identity.identityOf.keys()).length}.`);
+ + ` Currently there are ${(await helper.getApi().query.identity.identityOf.keys()).length} identities on the chain.`);
// fill sub-identities
const paraSubs = await getSubs(helper);
@@ -187,10 +210,14 @@
}
if (subsToUpdate.length != 0)
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceSetSubs', [subsToUpdate]);
+ await uploadPreimage(
+ helper,
+ preimageMaker,
+ helper.constructApiCall('api.tx.identity.forceSetSubs', [subsToUpdate]).method.toHex(),
+ );
- console.log(`Also tried to update ${subsToUpdate.length} identities with their sub-identities.`
- + ` Now there are ${(await helper.getApi().query.identity.subsOf.keys()).length} identities with subs.`);
+ console.log(`Also tried to push ${subsToUpdate.length} identities with their sub-identities.`
+ + ` Currently there are ${(await helper.getApi().query.identity.subsOf.keys()).length} identities with subs.`);
} catch (error) {
console.error(error);
throw Error('Error during setting identities');
tests/src/util/index.tsdiffbeforeafterboth--- a/tests/src/util/index.ts
+++ b/tests/src/util/index.ts
@@ -114,6 +114,8 @@
CollatorSelection = 'collatorselection',
Session = 'session',
Identity = 'identity',
+ Preimage = 'preimage',
+ Maintenance = 'maintenance',
TestUtils = 'testutils',
}
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -2869,6 +2869,55 @@
}
}
+class PreimageGroup extends HelperGroup<UniqueHelper> {
+ async getPreimageInfo(h256: string) {
+ return (await this.helper.callRpc('api.query.preimage.statusFor', [h256])).toJSON();
+ }
+
+ /**
+ * Create a preimage with a hex or a byte array.
+ * @param signer keyring of the signer.
+ * @param bytes preimage encoded in hex or a byte array, e.g. an extrinsic call.
+ * @example await notePreimage(preimageMaker,
+ * helper.constructApiCall('api.tx.identity.forceInsertIdentities', [identitiesToAdd]).method.toHex()
+ * );
+ * @returns promise of extrinsic execution.
+ */
+ notePreimage(signer: TSigner, bytes: string | Uint8Array) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.preimage.notePreimage', [bytes]);
+ }
+
+ /**
+ * Delete an existing preimage and return the deposit.
+ * @param signer keyring of the signer - either the owner or the preimage manager (sudo).
+ * @param h256 hash of the preimage.
+ * @returns promise of extrinsic execution.
+ */
+ unnotePreimage(signer: TSigner, h256: string) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.preimage.unnotePreimage', [h256]);
+ }
+
+ /**
+ * Request a preimage be uploaded to the chain without paying any fees or deposits.
+ * @param signer keyring of the signer - either the owner or the preimage manager (sudo).
+ * @param h256 hash of the preimage.
+ * @returns promise of extrinsic execution.
+ */
+ requestPreimage(signer: TSigner, h256: string) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.preimage.requestPreimage', [h256]);
+ }
+
+ /**
+ * Clear a previously made request for a preimage.
+ * @param signer keyring of the signer - either the owner or the preimage manager (sudo).
+ * @param h256 hash of the preimage.
+ * @returns promise of extrinsic execution.
+ */
+ unrequestPreimage(signer: TSigner, h256: string) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.preimage.unrequestPreimage', [h256]);
+ }
+}
+
class ForeignAssetsGroup extends HelperGroup<UniqueHelper> {
async register(signer: TSigner, ownerAddress: TSubstrateAccount, location: any, metadata: IForeignAssetMetadata) {
await this.helper.executeExtrinsic(
@@ -3094,6 +3143,7 @@
staking: StakingGroup;
scheduler: SchedulerGroup;
collatorSelection: CollatorSelectionGroup;
+ preimage: PreimageGroup;
foreignAssets: ForeignAssetsGroup;
xcm: XcmGroup<UniqueHelper>;
xTokens: XTokensGroup<UniqueHelper>;
@@ -3110,6 +3160,7 @@
this.staking = new StakingGroup(this);
this.scheduler = new SchedulerGroup(this);
this.collatorSelection = new CollatorSelectionGroup(this);
+ this.preimage = new PreimageGroup(this);
this.foreignAssets = new ForeignAssetsGroup(this);
this.xcm = new XcmGroup(this, 'polkadotXcm');
this.xTokens = new XTokensGroup(this);