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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: SpWeightsWeightV2Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: SpWeightsWeightV2Weight;50 readonly requiredWeight: SpWeightsWeightV2Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: SpWeightsWeightV2Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: SpWeightsWeightV2Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: SpWeightsWeightV2Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmpQueueCall */157export interface CumulusPalletXcmpQueueCall extends Enum {158 readonly isServiceOverweight: boolean;159 readonly asServiceOverweight: {160 readonly index: u64;161 readonly weightLimit: u64;162 } & Struct;163 readonly isSuspendXcmExecution: boolean;164 readonly isResumeXcmExecution: boolean;165 readonly isUpdateSuspendThreshold: boolean;166 readonly asUpdateSuspendThreshold: {167 readonly new_: u32;168 } & Struct;169 readonly isUpdateDropThreshold: boolean;170 readonly asUpdateDropThreshold: {171 readonly new_: u32;172 } & Struct;173 readonly isUpdateResumeThreshold: boolean;174 readonly asUpdateResumeThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateThresholdWeight: boolean;178 readonly asUpdateThresholdWeight: {179 readonly new_: u64;180 } & Struct;181 readonly isUpdateWeightRestrictDecay: boolean;182 readonly asUpdateWeightRestrictDecay: {183 readonly new_: u64;184 } & Struct;185 readonly isUpdateXcmpMaxIndividualWeight: boolean;186 readonly asUpdateXcmpMaxIndividualWeight: {187 readonly new_: u64;188 } & Struct;189 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';190}191192/** @name CumulusPalletXcmpQueueError */193export interface CumulusPalletXcmpQueueError extends Enum {194 readonly isFailedToSend: boolean;195 readonly isBadXcmOrigin: boolean;196 readonly isBadXcm: boolean;197 readonly isBadOverweightIndex: boolean;198 readonly isWeightOverLimit: boolean;199 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';200}201202/** @name CumulusPalletXcmpQueueEvent */203export interface CumulusPalletXcmpQueueEvent extends Enum {204 readonly isSuccess: boolean;205 readonly asSuccess: {206 readonly messageHash: Option<H256>;207 readonly weight: SpWeightsWeightV2Weight;208 } & Struct;209 readonly isFail: boolean;210 readonly asFail: {211 readonly messageHash: Option<H256>;212 readonly error: XcmV2TraitsError;213 readonly weight: SpWeightsWeightV2Weight;214 } & Struct;215 readonly isBadVersion: boolean;216 readonly asBadVersion: {217 readonly messageHash: Option<H256>;218 } & Struct;219 readonly isBadFormat: boolean;220 readonly asBadFormat: {221 readonly messageHash: Option<H256>;222 } & Struct;223 readonly isUpwardMessageSent: boolean;224 readonly asUpwardMessageSent: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isXcmpMessageSent: boolean;228 readonly asXcmpMessageSent: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isOverweightEnqueued: boolean;232 readonly asOverweightEnqueued: {233 readonly sender: u32;234 readonly sentAt: u32;235 readonly index: u64;236 readonly required: SpWeightsWeightV2Weight;237 } & Struct;238 readonly isOverweightServiced: boolean;239 readonly asOverweightServiced: {240 readonly index: u64;241 readonly used: SpWeightsWeightV2Weight;242 } & Struct;243 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';244}245246/** @name CumulusPalletXcmpQueueInboundChannelDetails */247export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {248 readonly sender: u32;249 readonly state: CumulusPalletXcmpQueueInboundState;250 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;251}252253/** @name CumulusPalletXcmpQueueInboundState */254export interface CumulusPalletXcmpQueueInboundState extends Enum {255 readonly isOk: boolean;256 readonly isSuspended: boolean;257 readonly type: 'Ok' | 'Suspended';258}259260/** @name CumulusPalletXcmpQueueOutboundChannelDetails */261export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {262 readonly recipient: u32;263 readonly state: CumulusPalletXcmpQueueOutboundState;264 readonly signalsExist: bool;265 readonly firstIndex: u16;266 readonly lastIndex: u16;267}268269/** @name CumulusPalletXcmpQueueOutboundState */270export interface CumulusPalletXcmpQueueOutboundState extends Enum {271 readonly isOk: boolean;272 readonly isSuspended: boolean;273 readonly type: 'Ok' | 'Suspended';274}275276/** @name CumulusPalletXcmpQueueQueueConfigData */277export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {278 readonly suspendThreshold: u32;279 readonly dropThreshold: u32;280 readonly resumeThreshold: u32;281 readonly thresholdWeight: SpWeightsWeightV2Weight;282 readonly weightRestrictDecay: SpWeightsWeightV2Weight;283 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;284}285286/** @name CumulusPrimitivesParachainInherentParachainInherentData */287export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {288 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;289 readonly relayChainState: SpTrieStorageProof;290 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;291 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;292}293294/** @name EthbloomBloom */295export interface EthbloomBloom extends U8aFixed {}296297/** @name EthereumBlock */298export interface EthereumBlock extends Struct {299 readonly header: EthereumHeader;300 readonly transactions: Vec<EthereumTransactionTransactionV2>;301 readonly ommers: Vec<EthereumHeader>;302}303304/** @name EthereumHeader */305export interface EthereumHeader extends Struct {306 readonly parentHash: H256;307 readonly ommersHash: H256;308 readonly beneficiary: H160;309 readonly stateRoot: H256;310 readonly transactionsRoot: H256;311 readonly receiptsRoot: H256;312 readonly logsBloom: EthbloomBloom;313 readonly difficulty: U256;314 readonly number: U256;315 readonly gasLimit: U256;316 readonly gasUsed: U256;317 readonly timestamp: u64;318 readonly extraData: Bytes;319 readonly mixHash: H256;320 readonly nonce: EthereumTypesHashH64;321}322323/** @name EthereumLog */324export interface EthereumLog extends Struct {325 readonly address: H160;326 readonly topics: Vec<H256>;327 readonly data: Bytes;328}329330/** @name EthereumReceiptEip658ReceiptData */331export interface EthereumReceiptEip658ReceiptData extends Struct {332 readonly statusCode: u8;333 readonly usedGas: U256;334 readonly logsBloom: EthbloomBloom;335 readonly logs: Vec<EthereumLog>;336}337338/** @name EthereumReceiptReceiptV3 */339export interface EthereumReceiptReceiptV3 extends Enum {340 readonly isLegacy: boolean;341 readonly asLegacy: EthereumReceiptEip658ReceiptData;342 readonly isEip2930: boolean;343 readonly asEip2930: EthereumReceiptEip658ReceiptData;344 readonly isEip1559: boolean;345 readonly asEip1559: EthereumReceiptEip658ReceiptData;346 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';347}348349/** @name EthereumTransactionAccessListItem */350export interface EthereumTransactionAccessListItem extends Struct {351 readonly address: H160;352 readonly storageKeys: Vec<H256>;353}354355/** @name EthereumTransactionEip1559Transaction */356export interface EthereumTransactionEip1559Transaction extends Struct {357 readonly chainId: u64;358 readonly nonce: U256;359 readonly maxPriorityFeePerGas: U256;360 readonly maxFeePerGas: U256;361 readonly gasLimit: U256;362 readonly action: EthereumTransactionTransactionAction;363 readonly value: U256;364 readonly input: Bytes;365 readonly accessList: Vec<EthereumTransactionAccessListItem>;366 readonly oddYParity: bool;367 readonly r: H256;368 readonly s: H256;369}370371/** @name EthereumTransactionEip2930Transaction */372export interface EthereumTransactionEip2930Transaction extends Struct {373 readonly chainId: u64;374 readonly nonce: U256;375 readonly gasPrice: U256;376 readonly gasLimit: U256;377 readonly action: EthereumTransactionTransactionAction;378 readonly value: U256;379 readonly input: Bytes;380 readonly accessList: Vec<EthereumTransactionAccessListItem>;381 readonly oddYParity: bool;382 readonly r: H256;383 readonly s: H256;384}385386/** @name EthereumTransactionLegacyTransaction */387export interface EthereumTransactionLegacyTransaction extends Struct {388 readonly nonce: U256;389 readonly gasPrice: U256;390 readonly gasLimit: U256;391 readonly action: EthereumTransactionTransactionAction;392 readonly value: U256;393 readonly input: Bytes;394 readonly signature: EthereumTransactionTransactionSignature;395}396397/** @name EthereumTransactionTransactionAction */398export interface EthereumTransactionTransactionAction extends Enum {399 readonly isCall: boolean;400 readonly asCall: H160;401 readonly isCreate: boolean;402 readonly type: 'Call' | 'Create';403}404405/** @name EthereumTransactionTransactionSignature */406export interface EthereumTransactionTransactionSignature extends Struct {407 readonly v: u64;408 readonly r: H256;409 readonly s: H256;410}411412/** @name EthereumTransactionTransactionV2 */413export interface EthereumTransactionTransactionV2 extends Enum {414 readonly isLegacy: boolean;415 readonly asLegacy: EthereumTransactionLegacyTransaction;416 readonly isEip2930: boolean;417 readonly asEip2930: EthereumTransactionEip2930Transaction;418 readonly isEip1559: boolean;419 readonly asEip1559: EthereumTransactionEip1559Transaction;420 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';421}422423/** @name EthereumTypesHashH64 */424export interface EthereumTypesHashH64 extends U8aFixed {}425426/** @name EvmCoreErrorExitError */427export interface EvmCoreErrorExitError extends Enum {428 readonly isStackUnderflow: boolean;429 readonly isStackOverflow: boolean;430 readonly isInvalidJump: boolean;431 readonly isInvalidRange: boolean;432 readonly isDesignatedInvalid: boolean;433 readonly isCallTooDeep: boolean;434 readonly isCreateCollision: boolean;435 readonly isCreateContractLimit: boolean;436 readonly isOutOfOffset: boolean;437 readonly isOutOfGas: boolean;438 readonly isOutOfFund: boolean;439 readonly isPcUnderflow: boolean;440 readonly isCreateEmpty: boolean;441 readonly isOther: boolean;442 readonly asOther: Text;443 readonly isInvalidCode: boolean;444 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';445}446447/** @name EvmCoreErrorExitFatal */448export interface EvmCoreErrorExitFatal extends Enum {449 readonly isNotSupported: boolean;450 readonly isUnhandledInterrupt: boolean;451 readonly isCallErrorAsFatal: boolean;452 readonly asCallErrorAsFatal: EvmCoreErrorExitError;453 readonly isOther: boolean;454 readonly asOther: Text;455 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';456}457458/** @name EvmCoreErrorExitReason */459export interface EvmCoreErrorExitReason extends Enum {460 readonly isSucceed: boolean;461 readonly asSucceed: EvmCoreErrorExitSucceed;462 readonly isError: boolean;463 readonly asError: EvmCoreErrorExitError;464 readonly isRevert: boolean;465 readonly asRevert: EvmCoreErrorExitRevert;466 readonly isFatal: boolean;467 readonly asFatal: EvmCoreErrorExitFatal;468 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';469}470471/** @name EvmCoreErrorExitRevert */472export interface EvmCoreErrorExitRevert extends Enum {473 readonly isReverted: boolean;474 readonly type: 'Reverted';475}476477/** @name EvmCoreErrorExitSucceed */478export interface EvmCoreErrorExitSucceed extends Enum {479 readonly isStopped: boolean;480 readonly isReturned: boolean;481 readonly isSuicided: boolean;482 readonly type: 'Stopped' | 'Returned' | 'Suicided';483}484485/** @name FpRpcTransactionStatus */486export interface FpRpcTransactionStatus extends Struct {487 readonly transactionHash: H256;488 readonly transactionIndex: u32;489 readonly from: H160;490 readonly to: Option<H160>;491 readonly contractAddress: Option<H160>;492 readonly logs: Vec<EthereumLog>;493 readonly logsBloom: EthbloomBloom;494}495496/** @name FrameSupportDispatchDispatchClass */497export interface FrameSupportDispatchDispatchClass extends Enum {498 readonly isNormal: boolean;499 readonly isOperational: boolean;500 readonly isMandatory: boolean;501 readonly type: 'Normal' | 'Operational' | 'Mandatory';502}503504/** @name FrameSupportDispatchDispatchInfo */505export interface FrameSupportDispatchDispatchInfo extends Struct {506 readonly weight: SpWeightsWeightV2Weight;507 readonly class: FrameSupportDispatchDispatchClass;508 readonly paysFee: FrameSupportDispatchPays;509}510511/** @name FrameSupportDispatchPays */512export interface FrameSupportDispatchPays extends Enum {513 readonly isYes: boolean;514 readonly isNo: boolean;515 readonly type: 'Yes' | 'No';516}517518/** @name FrameSupportDispatchPerDispatchClassU32 */519export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {520 readonly normal: u32;521 readonly operational: u32;522 readonly mandatory: u32;523}524525/** @name FrameSupportDispatchPerDispatchClassWeight */526export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {527 readonly normal: SpWeightsWeightV2Weight;528 readonly operational: SpWeightsWeightV2Weight;529 readonly mandatory: SpWeightsWeightV2Weight;530}531532/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */533export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {534 readonly normal: FrameSystemLimitsWeightsPerClass;535 readonly operational: FrameSystemLimitsWeightsPerClass;536 readonly mandatory: FrameSystemLimitsWeightsPerClass;537}538539/** @name FrameSupportPalletId */540export interface FrameSupportPalletId extends U8aFixed {}541542/** @name FrameSupportTokensMiscBalanceStatus */543export interface FrameSupportTokensMiscBalanceStatus extends Enum {544 readonly isFree: boolean;545 readonly isReserved: boolean;546 readonly type: 'Free' | 'Reserved';547}548549/** @name FrameSystemAccountInfo */550export interface FrameSystemAccountInfo extends Struct {551 readonly nonce: u32;552 readonly consumers: u32;553 readonly providers: u32;554 readonly sufficients: u32;555 readonly data: PalletBalancesAccountData;556}557558/** @name FrameSystemCall */559export interface FrameSystemCall extends Enum {560 readonly isRemark: boolean;561 readonly asRemark: {562 readonly remark: Bytes;563 } & Struct;564 readonly isSetHeapPages: boolean;565 readonly asSetHeapPages: {566 readonly pages: u64;567 } & Struct;568 readonly isSetCode: boolean;569 readonly asSetCode: {570 readonly code: Bytes;571 } & Struct;572 readonly isSetCodeWithoutChecks: boolean;573 readonly asSetCodeWithoutChecks: {574 readonly code: Bytes;575 } & Struct;576 readonly isSetStorage: boolean;577 readonly asSetStorage: {578 readonly items: Vec<ITuple<[Bytes, Bytes]>>;579 } & Struct;580 readonly isKillStorage: boolean;581 readonly asKillStorage: {582 readonly keys_: Vec<Bytes>;583 } & Struct;584 readonly isKillPrefix: boolean;585 readonly asKillPrefix: {586 readonly prefix: Bytes;587 readonly subkeys: u32;588 } & Struct;589 readonly isRemarkWithEvent: boolean;590 readonly asRemarkWithEvent: {591 readonly remark: Bytes;592 } & Struct;593 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';594}595596/** @name FrameSystemError */597export interface FrameSystemError extends Enum {598 readonly isInvalidSpecName: boolean;599 readonly isSpecVersionNeedsToIncrease: boolean;600 readonly isFailedToExtractRuntimeVersion: boolean;601 readonly isNonDefaultComposite: boolean;602 readonly isNonZeroRefCount: boolean;603 readonly isCallFiltered: boolean;604 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';605}606607/** @name FrameSystemEvent */608export interface FrameSystemEvent extends Enum {609 readonly isExtrinsicSuccess: boolean;610 readonly asExtrinsicSuccess: {611 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;612 } & Struct;613 readonly isExtrinsicFailed: boolean;614 readonly asExtrinsicFailed: {615 readonly dispatchError: SpRuntimeDispatchError;616 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;617 } & Struct;618 readonly isCodeUpdated: boolean;619 readonly isNewAccount: boolean;620 readonly asNewAccount: {621 readonly account: AccountId32;622 } & Struct;623 readonly isKilledAccount: boolean;624 readonly asKilledAccount: {625 readonly account: AccountId32;626 } & Struct;627 readonly isRemarked: boolean;628 readonly asRemarked: {629 readonly sender: AccountId32;630 readonly hash_: H256;631 } & Struct;632 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';633}634635/** @name FrameSystemEventRecord */636export interface FrameSystemEventRecord extends Struct {637 readonly phase: FrameSystemPhase;638 readonly event: Event;639 readonly topics: Vec<H256>;640}641642/** @name FrameSystemExtensionsCheckGenesis */643export interface FrameSystemExtensionsCheckGenesis extends Null {}644645/** @name FrameSystemExtensionsCheckNonce */646export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}647648/** @name FrameSystemExtensionsCheckSpecVersion */649export interface FrameSystemExtensionsCheckSpecVersion extends Null {}650651/** @name FrameSystemExtensionsCheckTxVersion */652export interface FrameSystemExtensionsCheckTxVersion extends Null {}653654/** @name FrameSystemExtensionsCheckWeight */655export interface FrameSystemExtensionsCheckWeight extends Null {}656657/** @name FrameSystemLastRuntimeUpgradeInfo */658export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {659 readonly specVersion: Compact<u32>;660 readonly specName: Text;661}662663/** @name FrameSystemLimitsBlockLength */664export interface FrameSystemLimitsBlockLength extends Struct {665 readonly max: FrameSupportDispatchPerDispatchClassU32;666}667668/** @name FrameSystemLimitsBlockWeights */669export interface FrameSystemLimitsBlockWeights extends Struct {670 readonly baseBlock: SpWeightsWeightV2Weight;671 readonly maxBlock: SpWeightsWeightV2Weight;672 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;673}674675/** @name FrameSystemLimitsWeightsPerClass */676export interface FrameSystemLimitsWeightsPerClass extends Struct {677 readonly baseExtrinsic: SpWeightsWeightV2Weight;678 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;679 readonly maxTotal: Option<SpWeightsWeightV2Weight>;680 readonly reserved: Option<SpWeightsWeightV2Weight>;681}682683/** @name FrameSystemPhase */684export interface FrameSystemPhase extends Enum {685 readonly isApplyExtrinsic: boolean;686 readonly asApplyExtrinsic: u32;687 readonly isFinalization: boolean;688 readonly isInitialization: boolean;689 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';690}691692/** @name OpalRuntimeRuntime */693export interface OpalRuntimeRuntime extends Null {}694695/** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls */696export interface OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls extends Null {}697698/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */699export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}700701/** @name OrmlTokensAccountData */702export interface OrmlTokensAccountData extends Struct {703 readonly free: u128;704 readonly reserved: u128;705 readonly frozen: u128;706}707708/** @name OrmlTokensBalanceLock */709export interface OrmlTokensBalanceLock extends Struct {710 readonly id: U8aFixed;711 readonly amount: u128;712}713714/** @name OrmlTokensModuleCall */715export interface OrmlTokensModuleCall extends Enum {716 readonly isTransfer: boolean;717 readonly asTransfer: {718 readonly dest: MultiAddress;719 readonly currencyId: PalletForeignAssetsAssetIds;720 readonly amount: Compact<u128>;721 } & Struct;722 readonly isTransferAll: boolean;723 readonly asTransferAll: {724 readonly dest: MultiAddress;725 readonly currencyId: PalletForeignAssetsAssetIds;726 readonly keepAlive: bool;727 } & Struct;728 readonly isTransferKeepAlive: boolean;729 readonly asTransferKeepAlive: {730 readonly dest: MultiAddress;731 readonly currencyId: PalletForeignAssetsAssetIds;732 readonly amount: Compact<u128>;733 } & Struct;734 readonly isForceTransfer: boolean;735 readonly asForceTransfer: {736 readonly source: MultiAddress;737 readonly dest: MultiAddress;738 readonly currencyId: PalletForeignAssetsAssetIds;739 readonly amount: Compact<u128>;740 } & Struct;741 readonly isSetBalance: boolean;742 readonly asSetBalance: {743 readonly who: MultiAddress;744 readonly currencyId: PalletForeignAssetsAssetIds;745 readonly newFree: Compact<u128>;746 readonly newReserved: Compact<u128>;747 } & Struct;748 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';749}750751/** @name OrmlTokensModuleError */752export interface OrmlTokensModuleError extends Enum {753 readonly isBalanceTooLow: boolean;754 readonly isAmountIntoBalanceFailed: boolean;755 readonly isLiquidityRestrictions: boolean;756 readonly isMaxLocksExceeded: boolean;757 readonly isKeepAlive: boolean;758 readonly isExistentialDeposit: boolean;759 readonly isDeadAccount: boolean;760 readonly isTooManyReserves: boolean;761 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';762}763764/** @name OrmlTokensModuleEvent */765export interface OrmlTokensModuleEvent extends Enum {766 readonly isEndowed: boolean;767 readonly asEndowed: {768 readonly currencyId: PalletForeignAssetsAssetIds;769 readonly who: AccountId32;770 readonly amount: u128;771 } & Struct;772 readonly isDustLost: boolean;773 readonly asDustLost: {774 readonly currencyId: PalletForeignAssetsAssetIds;775 readonly who: AccountId32;776 readonly amount: u128;777 } & Struct;778 readonly isTransfer: boolean;779 readonly asTransfer: {780 readonly currencyId: PalletForeignAssetsAssetIds;781 readonly from: AccountId32;782 readonly to: AccountId32;783 readonly amount: u128;784 } & Struct;785 readonly isReserved: boolean;786 readonly asReserved: {787 readonly currencyId: PalletForeignAssetsAssetIds;788 readonly who: AccountId32;789 readonly amount: u128;790 } & Struct;791 readonly isUnreserved: boolean;792 readonly asUnreserved: {793 readonly currencyId: PalletForeignAssetsAssetIds;794 readonly who: AccountId32;795 readonly amount: u128;796 } & Struct;797 readonly isReserveRepatriated: boolean;798 readonly asReserveRepatriated: {799 readonly currencyId: PalletForeignAssetsAssetIds;800 readonly from: AccountId32;801 readonly to: AccountId32;802 readonly amount: u128;803 readonly status: FrameSupportTokensMiscBalanceStatus;804 } & Struct;805 readonly isBalanceSet: boolean;806 readonly asBalanceSet: {807 readonly currencyId: PalletForeignAssetsAssetIds;808 readonly who: AccountId32;809 readonly free: u128;810 readonly reserved: u128;811 } & Struct;812 readonly isTotalIssuanceSet: boolean;813 readonly asTotalIssuanceSet: {814 readonly currencyId: PalletForeignAssetsAssetIds;815 readonly amount: u128;816 } & Struct;817 readonly isWithdrawn: boolean;818 readonly asWithdrawn: {819 readonly currencyId: PalletForeignAssetsAssetIds;820 readonly who: AccountId32;821 readonly amount: u128;822 } & Struct;823 readonly isSlashed: boolean;824 readonly asSlashed: {825 readonly currencyId: PalletForeignAssetsAssetIds;826 readonly who: AccountId32;827 readonly freeAmount: u128;828 readonly reservedAmount: u128;829 } & Struct;830 readonly isDeposited: boolean;831 readonly asDeposited: {832 readonly currencyId: PalletForeignAssetsAssetIds;833 readonly who: AccountId32;834 readonly amount: u128;835 } & Struct;836 readonly isLockSet: boolean;837 readonly asLockSet: {838 readonly lockId: U8aFixed;839 readonly currencyId: PalletForeignAssetsAssetIds;840 readonly who: AccountId32;841 readonly amount: u128;842 } & Struct;843 readonly isLockRemoved: boolean;844 readonly asLockRemoved: {845 readonly lockId: U8aFixed;846 readonly currencyId: PalletForeignAssetsAssetIds;847 readonly who: AccountId32;848 } & Struct;849 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';850}851852/** @name OrmlTokensReserveData */853export interface OrmlTokensReserveData extends Struct {854 readonly id: Null;855 readonly amount: u128;856}857858/** @name OrmlVestingModuleCall */859export interface OrmlVestingModuleCall extends Enum {860 readonly isClaim: boolean;861 readonly isVestedTransfer: boolean;862 readonly asVestedTransfer: {863 readonly dest: MultiAddress;864 readonly schedule: OrmlVestingVestingSchedule;865 } & Struct;866 readonly isUpdateVestingSchedules: boolean;867 readonly asUpdateVestingSchedules: {868 readonly who: MultiAddress;869 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;870 } & Struct;871 readonly isClaimFor: boolean;872 readonly asClaimFor: {873 readonly dest: MultiAddress;874 } & Struct;875 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';876}877878/** @name OrmlVestingModuleError */879export interface OrmlVestingModuleError extends Enum {880 readonly isZeroVestingPeriod: boolean;881 readonly isZeroVestingPeriodCount: boolean;882 readonly isInsufficientBalanceToLock: boolean;883 readonly isTooManyVestingSchedules: boolean;884 readonly isAmountLow: boolean;885 readonly isMaxVestingSchedulesExceeded: boolean;886 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';887}888889/** @name OrmlVestingModuleEvent */890export interface OrmlVestingModuleEvent extends Enum {891 readonly isVestingScheduleAdded: boolean;892 readonly asVestingScheduleAdded: {893 readonly from: AccountId32;894 readonly to: AccountId32;895 readonly vestingSchedule: OrmlVestingVestingSchedule;896 } & Struct;897 readonly isClaimed: boolean;898 readonly asClaimed: {899 readonly who: AccountId32;900 readonly amount: u128;901 } & Struct;902 readonly isVestingSchedulesUpdated: boolean;903 readonly asVestingSchedulesUpdated: {904 readonly who: AccountId32;905 } & Struct;906 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';907}908909/** @name OrmlVestingVestingSchedule */910export interface OrmlVestingVestingSchedule extends Struct {911 readonly start: u32;912 readonly period: u32;913 readonly periodCount: u32;914 readonly perPeriod: Compact<u128>;915}916917/** @name OrmlXtokensModuleCall */918export interface OrmlXtokensModuleCall extends Enum {919 readonly isTransfer: boolean;920 readonly asTransfer: {921 readonly currencyId: PalletForeignAssetsAssetIds;922 readonly amount: u128;923 readonly dest: XcmVersionedMultiLocation;924 readonly destWeightLimit: XcmV2WeightLimit;925 } & Struct;926 readonly isTransferMultiasset: boolean;927 readonly asTransferMultiasset: {928 readonly asset: XcmVersionedMultiAsset;929 readonly dest: XcmVersionedMultiLocation;930 readonly destWeightLimit: XcmV2WeightLimit;931 } & Struct;932 readonly isTransferWithFee: boolean;933 readonly asTransferWithFee: {934 readonly currencyId: PalletForeignAssetsAssetIds;935 readonly amount: u128;936 readonly fee: u128;937 readonly dest: XcmVersionedMultiLocation;938 readonly destWeightLimit: XcmV2WeightLimit;939 } & Struct;940 readonly isTransferMultiassetWithFee: boolean;941 readonly asTransferMultiassetWithFee: {942 readonly asset: XcmVersionedMultiAsset;943 readonly fee: XcmVersionedMultiAsset;944 readonly dest: XcmVersionedMultiLocation;945 readonly destWeightLimit: XcmV2WeightLimit;946 } & Struct;947 readonly isTransferMulticurrencies: boolean;948 readonly asTransferMulticurrencies: {949 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;950 readonly feeItem: u32;951 readonly dest: XcmVersionedMultiLocation;952 readonly destWeightLimit: XcmV2WeightLimit;953 } & Struct;954 readonly isTransferMultiassets: boolean;955 readonly asTransferMultiassets: {956 readonly assets: XcmVersionedMultiAssets;957 readonly feeItem: u32;958 readonly dest: XcmVersionedMultiLocation;959 readonly destWeightLimit: XcmV2WeightLimit;960 } & Struct;961 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';962}963964/** @name OrmlXtokensModuleError */965export interface OrmlXtokensModuleError extends Enum {966 readonly isAssetHasNoReserve: boolean;967 readonly isNotCrossChainTransfer: boolean;968 readonly isInvalidDest: boolean;969 readonly isNotCrossChainTransferableCurrency: boolean;970 readonly isUnweighableMessage: boolean;971 readonly isXcmExecutionFailed: boolean;972 readonly isCannotReanchor: boolean;973 readonly isInvalidAncestry: boolean;974 readonly isInvalidAsset: boolean;975 readonly isDestinationNotInvertible: boolean;976 readonly isBadVersion: boolean;977 readonly isDistinctReserveForAssetAndFee: boolean;978 readonly isZeroFee: boolean;979 readonly isZeroAmount: boolean;980 readonly isTooManyAssetsBeingSent: boolean;981 readonly isAssetIndexNonExistent: boolean;982 readonly isFeeNotEnough: boolean;983 readonly isNotSupportedMultiLocation: boolean;984 readonly isMinXcmFeeNotDefined: boolean;985 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';986}987988/** @name OrmlXtokensModuleEvent */989export interface OrmlXtokensModuleEvent extends Enum {990 readonly isTransferredMultiAssets: boolean;991 readonly asTransferredMultiAssets: {992 readonly sender: AccountId32;993 readonly assets: XcmV1MultiassetMultiAssets;994 readonly fee: XcmV1MultiAsset;995 readonly dest: XcmV1MultiLocation;996 } & Struct;997 readonly type: 'TransferredMultiAssets';998}9991000/** @name PalletAppPromotionCall */1001export interface PalletAppPromotionCall extends Enum {1002 readonly isSetAdminAddress: boolean;1003 readonly asSetAdminAddress: {1004 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1005 } & Struct;1006 readonly isStake: boolean;1007 readonly asStake: {1008 readonly amount: u128;1009 } & Struct;1010 readonly isUnstake: boolean;1011 readonly isSponsorCollection: boolean;1012 readonly asSponsorCollection: {1013 readonly collectionId: u32;1014 } & Struct;1015 readonly isStopSponsoringCollection: boolean;1016 readonly asStopSponsoringCollection: {1017 readonly collectionId: u32;1018 } & Struct;1019 readonly isSponsorContract: boolean;1020 readonly asSponsorContract: {1021 readonly contractId: H160;1022 } & Struct;1023 readonly isStopSponsoringContract: boolean;1024 readonly asStopSponsoringContract: {1025 readonly contractId: H160;1026 } & Struct;1027 readonly isPayoutStakers: boolean;1028 readonly asPayoutStakers: {1029 readonly stakersNumber: Option<u8>;1030 } & Struct;1031 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1032}10331034/** @name PalletAppPromotionError */1035export interface PalletAppPromotionError extends Enum {1036 readonly isAdminNotSet: boolean;1037 readonly isNoPermission: boolean;1038 readonly isNotSufficientFunds: boolean;1039 readonly isPendingForBlockOverflow: boolean;1040 readonly isSponsorNotSet: boolean;1041 readonly isIncorrectLockedBalanceOperation: boolean;1042 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1043}10441045/** @name PalletAppPromotionEvent */1046export interface PalletAppPromotionEvent extends Enum {1047 readonly isStakingRecalculation: boolean;1048 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1049 readonly isStake: boolean;1050 readonly asStake: ITuple<[AccountId32, u128]>;1051 readonly isUnstake: boolean;1052 readonly asUnstake: ITuple<[AccountId32, u128]>;1053 readonly isSetAdmin: boolean;1054 readonly asSetAdmin: AccountId32;1055 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1056}10571058/** @name PalletBalancesAccountData */1059export interface PalletBalancesAccountData extends Struct {1060 readonly free: u128;1061 readonly reserved: u128;1062 readonly miscFrozen: u128;1063 readonly feeFrozen: u128;1064}10651066/** @name PalletBalancesBalanceLock */1067export interface PalletBalancesBalanceLock extends Struct {1068 readonly id: U8aFixed;1069 readonly amount: u128;1070 readonly reasons: PalletBalancesReasons;1071}10721073/** @name PalletBalancesCall */1074export interface PalletBalancesCall extends Enum {1075 readonly isTransfer: boolean;1076 readonly asTransfer: {1077 readonly dest: MultiAddress;1078 readonly value: Compact<u128>;1079 } & Struct;1080 readonly isSetBalance: boolean;1081 readonly asSetBalance: {1082 readonly who: MultiAddress;1083 readonly newFree: Compact<u128>;1084 readonly newReserved: Compact<u128>;1085 } & Struct;1086 readonly isForceTransfer: boolean;1087 readonly asForceTransfer: {1088 readonly source: MultiAddress;1089 readonly dest: MultiAddress;1090 readonly value: Compact<u128>;1091 } & Struct;1092 readonly isTransferKeepAlive: boolean;1093 readonly asTransferKeepAlive: {1094 readonly dest: MultiAddress;1095 readonly value: Compact<u128>;1096 } & Struct;1097 readonly isTransferAll: boolean;1098 readonly asTransferAll: {1099 readonly dest: MultiAddress;1100 readonly keepAlive: bool;1101 } & Struct;1102 readonly isForceUnreserve: boolean;1103 readonly asForceUnreserve: {1104 readonly who: MultiAddress;1105 readonly amount: u128;1106 } & Struct;1107 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1108}11091110/** @name PalletBalancesError */1111export interface PalletBalancesError extends Enum {1112 readonly isVestingBalance: boolean;1113 readonly isLiquidityRestrictions: boolean;1114 readonly isInsufficientBalance: boolean;1115 readonly isExistentialDeposit: boolean;1116 readonly isKeepAlive: boolean;1117 readonly isExistingVestingSchedule: boolean;1118 readonly isDeadAccount: boolean;1119 readonly isTooManyReserves: boolean;1120 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1121}11221123/** @name PalletBalancesEvent */1124export interface PalletBalancesEvent extends Enum {1125 readonly isEndowed: boolean;1126 readonly asEndowed: {1127 readonly account: AccountId32;1128 readonly freeBalance: u128;1129 } & Struct;1130 readonly isDustLost: boolean;1131 readonly asDustLost: {1132 readonly account: AccountId32;1133 readonly amount: u128;1134 } & Struct;1135 readonly isTransfer: boolean;1136 readonly asTransfer: {1137 readonly from: AccountId32;1138 readonly to: AccountId32;1139 readonly amount: u128;1140 } & Struct;1141 readonly isBalanceSet: boolean;1142 readonly asBalanceSet: {1143 readonly who: AccountId32;1144 readonly free: u128;1145 readonly reserved: u128;1146 } & Struct;1147 readonly isReserved: boolean;1148 readonly asReserved: {1149 readonly who: AccountId32;1150 readonly amount: u128;1151 } & Struct;1152 readonly isUnreserved: boolean;1153 readonly asUnreserved: {1154 readonly who: AccountId32;1155 readonly amount: u128;1156 } & Struct;1157 readonly isReserveRepatriated: boolean;1158 readonly asReserveRepatriated: {1159 readonly from: AccountId32;1160 readonly to: AccountId32;1161 readonly amount: u128;1162 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1163 } & Struct;1164 readonly isDeposit: boolean;1165 readonly asDeposit: {1166 readonly who: AccountId32;1167 readonly amount: u128;1168 } & Struct;1169 readonly isWithdraw: boolean;1170 readonly asWithdraw: {1171 readonly who: AccountId32;1172 readonly amount: u128;1173 } & Struct;1174 readonly isSlashed: boolean;1175 readonly asSlashed: {1176 readonly who: AccountId32;1177 readonly amount: u128;1178 } & Struct;1179 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1180}11811182/** @name PalletBalancesReasons */1183export interface PalletBalancesReasons extends Enum {1184 readonly isFee: boolean;1185 readonly isMisc: boolean;1186 readonly isAll: boolean;1187 readonly type: 'Fee' | 'Misc' | 'All';1188}11891190/** @name PalletBalancesReserveData */1191export interface PalletBalancesReserveData extends Struct {1192 readonly id: U8aFixed;1193 readonly amount: u128;1194}11951196/** @name PalletCommonError */1197export interface PalletCommonError extends Enum {1198 readonly isCollectionNotFound: boolean;1199 readonly isMustBeTokenOwner: boolean;1200 readonly isNoPermission: boolean;1201 readonly isCantDestroyNotEmptyCollection: boolean;1202 readonly isPublicMintingNotAllowed: boolean;1203 readonly isAddressNotInAllowlist: boolean;1204 readonly isCollectionNameLimitExceeded: boolean;1205 readonly isCollectionDescriptionLimitExceeded: boolean;1206 readonly isCollectionTokenPrefixLimitExceeded: boolean;1207 readonly isTotalCollectionsLimitExceeded: boolean;1208 readonly isCollectionAdminCountExceeded: boolean;1209 readonly isCollectionLimitBoundsExceeded: boolean;1210 readonly isOwnerPermissionsCantBeReverted: boolean;1211 readonly isTransferNotAllowed: boolean;1212 readonly isAccountTokenLimitExceeded: boolean;1213 readonly isCollectionTokenLimitExceeded: boolean;1214 readonly isMetadataFlagFrozen: boolean;1215 readonly isTokenNotFound: boolean;1216 readonly isTokenValueTooLow: boolean;1217 readonly isApprovedValueTooLow: boolean;1218 readonly isCantApproveMoreThanOwned: boolean;1219 readonly isAddressIsNotEthMirror: boolean;1220 readonly isAddressIsZero: boolean;1221 readonly isUnsupportedOperation: boolean;1222 readonly isNotSufficientFounds: boolean;1223 readonly isUserIsNotAllowedToNest: boolean;1224 readonly isSourceCollectionIsNotAllowedToNest: boolean;1225 readonly isCollectionFieldSizeExceeded: boolean;1226 readonly isNoSpaceForProperty: boolean;1227 readonly isPropertyLimitReached: boolean;1228 readonly isPropertyKeyIsTooLong: boolean;1229 readonly isInvalidCharacterInPropertyKey: boolean;1230 readonly isEmptyPropertyKey: boolean;1231 readonly isCollectionIsExternal: boolean;1232 readonly isCollectionIsInternal: boolean;1233 readonly isConfirmSponsorshipFail: boolean;1234 readonly isUserIsNotCollectionAdmin: boolean;1235 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';1236}12371238/** @name PalletCommonEvent */1239export interface PalletCommonEvent extends Enum {1240 readonly isCollectionCreated: boolean;1241 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1242 readonly isCollectionDestroyed: boolean;1243 readonly asCollectionDestroyed: u32;1244 readonly isItemCreated: boolean;1245 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1246 readonly isItemDestroyed: boolean;1247 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1248 readonly isTransfer: boolean;1249 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1250 readonly isApproved: boolean;1251 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1252 readonly isApprovedForAll: boolean;1253 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1254 readonly isCollectionPropertySet: boolean;1255 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1256 readonly isCollectionPropertyDeleted: boolean;1257 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1258 readonly isTokenPropertySet: boolean;1259 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1260 readonly isTokenPropertyDeleted: boolean;1261 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1262 readonly isPropertyPermissionSet: boolean;1263 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1264 readonly isAllowListAddressAdded: boolean;1265 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1266 readonly isAllowListAddressRemoved: boolean;1267 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1268 readonly isCollectionAdminAdded: boolean;1269 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1270 readonly isCollectionAdminRemoved: boolean;1271 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1272 readonly isCollectionLimitSet: boolean;1273 readonly asCollectionLimitSet: u32;1274 readonly isCollectionOwnerChanged: boolean;1275 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1276 readonly isCollectionPermissionSet: boolean;1277 readonly asCollectionPermissionSet: u32;1278 readonly isCollectionSponsorSet: boolean;1279 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1280 readonly isSponsorshipConfirmed: boolean;1281 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1282 readonly isCollectionSponsorRemoved: boolean;1283 readonly asCollectionSponsorRemoved: u32;1284 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1285}12861287/** @name PalletConfigurationAppPromotionConfiguration */1288export interface PalletConfigurationAppPromotionConfiguration extends Struct {1289 readonly recalculationInterval: Option<u32>;1290 readonly pendingInterval: Option<u32>;1291 readonly intervalIncome: Option<Perbill>;1292 readonly maxStakersPerCalculation: Option<u8>;1293}12941295/** @name PalletConfigurationCall */1296export interface PalletConfigurationCall extends Enum {1297 readonly isSetWeightToFeeCoefficientOverride: boolean;1298 readonly asSetWeightToFeeCoefficientOverride: {1299 readonly coeff: Option<u64>;1300 } & Struct;1301 readonly isSetMinGasPriceOverride: boolean;1302 readonly asSetMinGasPriceOverride: {1303 readonly coeff: Option<u64>;1304 } & Struct;1305 readonly isSetXcmAllowedLocations: boolean;1306 readonly asSetXcmAllowedLocations: {1307 readonly locations: Option<Vec<XcmV1MultiLocation>>;1308 } & Struct;1309 readonly isSetAppPromotionConfigurationOverride: boolean;1310 readonly asSetAppPromotionConfigurationOverride: {1311 readonly configuration: PalletConfigurationAppPromotionConfiguration;1312 } & Struct;1313 readonly isSetCollatorSelectionDesiredCollators: boolean;1314 readonly asSetCollatorSelectionDesiredCollators: {1315 readonly max: Option<u32>;1316 } & Struct;1317 readonly isSetCollatorSelectionLicenseBond: boolean;1318 readonly asSetCollatorSelectionLicenseBond: {1319 readonly amount: Option<u128>;1320 } & Struct;1321 readonly isSetCollatorSelectionKickThreshold: boolean;1322 readonly asSetCollatorSelectionKickThreshold: {1323 readonly threshold: Option<u32>;1324 } & Struct;1325 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';1326}13271328/** @name PalletConfigurationError */1329export interface PalletConfigurationError extends Enum {1330 readonly isInconsistentConfiguration: boolean;1331 readonly type: 'InconsistentConfiguration';1332}13331334/** @name PalletConfigurationEvent */1335export interface PalletConfigurationEvent extends Enum {1336 readonly isNewDesiredCollators: boolean;1337 readonly asNewDesiredCollators: {1338 readonly desiredCollators: Option<u32>;1339 } & Struct;1340 readonly isNewCollatorLicenseBond: boolean;1341 readonly asNewCollatorLicenseBond: {1342 readonly bondCost: Option<u128>;1343 } & Struct;1344 readonly isNewCollatorKickThreshold: boolean;1345 readonly asNewCollatorKickThreshold: {1346 readonly lengthInBlocks: Option<u32>;1347 } & Struct;1348 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1349}13501351/** @name PalletEthereumCall */1352export interface PalletEthereumCall extends Enum {1353 readonly isTransact: boolean;1354 readonly asTransact: {1355 readonly transaction: EthereumTransactionTransactionV2;1356 } & Struct;1357 readonly type: 'Transact';1358}13591360/** @name PalletEthereumError */1361export interface PalletEthereumError extends Enum {1362 readonly isInvalidSignature: boolean;1363 readonly isPreLogExists: boolean;1364 readonly type: 'InvalidSignature' | 'PreLogExists';1365}13661367/** @name PalletEthereumEvent */1368export interface PalletEthereumEvent extends Enum {1369 readonly isExecuted: boolean;1370 readonly asExecuted: {1371 readonly from: H160;1372 readonly to: H160;1373 readonly transactionHash: H256;1374 readonly exitReason: EvmCoreErrorExitReason;1375 } & Struct;1376 readonly type: 'Executed';1377}13781379/** @name PalletEthereumFakeTransactionFinalizer */1380export interface PalletEthereumFakeTransactionFinalizer extends Null {}13811382/** @name PalletEvmAccountBasicCrossAccountIdRepr */1383export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1384 readonly isSubstrate: boolean;1385 readonly asSubstrate: AccountId32;1386 readonly isEthereum: boolean;1387 readonly asEthereum: H160;1388 readonly type: 'Substrate' | 'Ethereum';1389}13901391/** @name PalletEvmCall */1392export interface PalletEvmCall extends Enum {1393 readonly isWithdraw: boolean;1394 readonly asWithdraw: {1395 readonly address: H160;1396 readonly value: u128;1397 } & Struct;1398 readonly isCall: boolean;1399 readonly asCall: {1400 readonly source: H160;1401 readonly target: H160;1402 readonly input: Bytes;1403 readonly value: U256;1404 readonly gasLimit: u64;1405 readonly maxFeePerGas: U256;1406 readonly maxPriorityFeePerGas: Option<U256>;1407 readonly nonce: Option<U256>;1408 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1409 } & Struct;1410 readonly isCreate: boolean;1411 readonly asCreate: {1412 readonly source: H160;1413 readonly init: Bytes;1414 readonly value: U256;1415 readonly gasLimit: u64;1416 readonly maxFeePerGas: U256;1417 readonly maxPriorityFeePerGas: Option<U256>;1418 readonly nonce: Option<U256>;1419 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1420 } & Struct;1421 readonly isCreate2: boolean;1422 readonly asCreate2: {1423 readonly source: H160;1424 readonly init: Bytes;1425 readonly salt: H256;1426 readonly value: U256;1427 readonly gasLimit: u64;1428 readonly maxFeePerGas: U256;1429 readonly maxPriorityFeePerGas: Option<U256>;1430 readonly nonce: Option<U256>;1431 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1432 } & Struct;1433 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1434}14351436/** @name PalletEvmCoderSubstrateError */1437export interface PalletEvmCoderSubstrateError extends Enum {1438 readonly isOutOfGas: boolean;1439 readonly isOutOfFund: boolean;1440 readonly type: 'OutOfGas' | 'OutOfFund';1441}14421443/** @name PalletEvmContractHelpersError */1444export interface PalletEvmContractHelpersError extends Enum {1445 readonly isNoPermission: boolean;1446 readonly isNoPendingSponsor: boolean;1447 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1448 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1449}14501451/** @name PalletEvmContractHelpersEvent */1452export interface PalletEvmContractHelpersEvent extends Enum {1453 readonly isContractSponsorSet: boolean;1454 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1455 readonly isContractSponsorshipConfirmed: boolean;1456 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1457 readonly isContractSponsorRemoved: boolean;1458 readonly asContractSponsorRemoved: H160;1459 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1460}14611462/** @name PalletEvmContractHelpersSponsoringModeT */1463export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1464 readonly isDisabled: boolean;1465 readonly isAllowlisted: boolean;1466 readonly isGenerous: boolean;1467 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1468}14691470/** @name PalletEvmError */1471export interface PalletEvmError extends Enum {1472 readonly isBalanceLow: boolean;1473 readonly isFeeOverflow: boolean;1474 readonly isPaymentOverflow: boolean;1475 readonly isWithdrawFailed: boolean;1476 readonly isGasPriceTooLow: boolean;1477 readonly isInvalidNonce: boolean;1478 readonly isGasLimitTooLow: boolean;1479 readonly isGasLimitTooHigh: boolean;1480 readonly isUndefined: boolean;1481 readonly isReentrancy: boolean;1482 readonly isTransactionMustComeFromEOA: boolean;1483 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1484}14851486/** @name PalletEvmEvent */1487export interface PalletEvmEvent extends Enum {1488 readonly isLog: boolean;1489 readonly asLog: {1490 readonly log: EthereumLog;1491 } & Struct;1492 readonly isCreated: boolean;1493 readonly asCreated: {1494 readonly address: H160;1495 } & Struct;1496 readonly isCreatedFailed: boolean;1497 readonly asCreatedFailed: {1498 readonly address: H160;1499 } & Struct;1500 readonly isExecuted: boolean;1501 readonly asExecuted: {1502 readonly address: H160;1503 } & Struct;1504 readonly isExecutedFailed: boolean;1505 readonly asExecutedFailed: {1506 readonly address: H160;1507 } & Struct;1508 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1509}15101511/** @name PalletEvmMigrationCall */1512export interface PalletEvmMigrationCall extends Enum {1513 readonly isBegin: boolean;1514 readonly asBegin: {1515 readonly address: H160;1516 } & Struct;1517 readonly isSetData: boolean;1518 readonly asSetData: {1519 readonly address: H160;1520 readonly data: Vec<ITuple<[H256, H256]>>;1521 } & Struct;1522 readonly isFinish: boolean;1523 readonly asFinish: {1524 readonly address: H160;1525 readonly code: Bytes;1526 } & Struct;1527 readonly isInsertEthLogs: boolean;1528 readonly asInsertEthLogs: {1529 readonly logs: Vec<EthereumLog>;1530 } & Struct;1531 readonly isInsertEvents: boolean;1532 readonly asInsertEvents: {1533 readonly events: Vec<Bytes>;1534 } & Struct;1535 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1536}15371538/** @name PalletEvmMigrationError */1539export interface PalletEvmMigrationError extends Enum {1540 readonly isAccountNotEmpty: boolean;1541 readonly isAccountIsNotMigrating: boolean;1542 readonly isBadEvent: boolean;1543 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1544}15451546/** @name PalletEvmMigrationEvent */1547export interface PalletEvmMigrationEvent extends Enum {1548 readonly isTestEvent: boolean;1549 readonly type: 'TestEvent';1550}15511552/** @name PalletForeignAssetsAssetIds */1553export interface PalletForeignAssetsAssetIds extends Enum {1554 readonly isForeignAssetId: boolean;1555 readonly asForeignAssetId: u32;1556 readonly isNativeAssetId: boolean;1557 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1558 readonly type: 'ForeignAssetId' | 'NativeAssetId';1559}15601561/** @name PalletForeignAssetsModuleAssetMetadata */1562export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1563 readonly name: Bytes;1564 readonly symbol: Bytes;1565 readonly decimals: u8;1566 readonly minimalBalance: u128;1567}15681569/** @name PalletForeignAssetsModuleCall */1570export interface PalletForeignAssetsModuleCall extends Enum {1571 readonly isRegisterForeignAsset: boolean;1572 readonly asRegisterForeignAsset: {1573 readonly owner: AccountId32;1574 readonly location: XcmVersionedMultiLocation;1575 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1576 } & Struct;1577 readonly isUpdateForeignAsset: boolean;1578 readonly asUpdateForeignAsset: {1579 readonly foreignAssetId: u32;1580 readonly location: XcmVersionedMultiLocation;1581 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1582 } & Struct;1583 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1584}15851586/** @name PalletForeignAssetsModuleError */1587export interface PalletForeignAssetsModuleError extends Enum {1588 readonly isBadLocation: boolean;1589 readonly isMultiLocationExisted: boolean;1590 readonly isAssetIdNotExists: boolean;1591 readonly isAssetIdExisted: boolean;1592 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1593}15941595/** @name PalletForeignAssetsModuleEvent */1596export interface PalletForeignAssetsModuleEvent extends Enum {1597 readonly isForeignAssetRegistered: boolean;1598 readonly asForeignAssetRegistered: {1599 readonly assetId: u32;1600 readonly assetAddress: XcmV1MultiLocation;1601 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1602 } & Struct;1603 readonly isForeignAssetUpdated: boolean;1604 readonly asForeignAssetUpdated: {1605 readonly assetId: u32;1606 readonly assetAddress: XcmV1MultiLocation;1607 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1608 } & Struct;1609 readonly isAssetRegistered: boolean;1610 readonly asAssetRegistered: {1611 readonly assetId: PalletForeignAssetsAssetIds;1612 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1613 } & Struct;1614 readonly isAssetUpdated: boolean;1615 readonly asAssetUpdated: {1616 readonly assetId: PalletForeignAssetsAssetIds;1617 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1618 } & Struct;1619 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1620}16211622/** @name PalletForeignAssetsNativeCurrency */1623export interface PalletForeignAssetsNativeCurrency extends Enum {1624 readonly isHere: boolean;1625 readonly isParent: boolean;1626 readonly type: 'Here' | 'Parent';1627}16281629/** @name PalletFungibleError */1630export interface PalletFungibleError extends Enum {1631 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1632 readonly isFungibleItemsHaveNoId: boolean;1633 readonly isFungibleItemsDontHaveData: boolean;1634 readonly isFungibleDisallowsNesting: boolean;1635 readonly isSettingPropertiesNotAllowed: boolean;1636 readonly isSettingAllowanceForAllNotAllowed: boolean;1637 readonly isFungibleTokensAreAlwaysValid: boolean;1638 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1639}16401641/** @name PalletInflationCall */1642export interface PalletInflationCall extends Enum {1643 readonly isStartInflation: boolean;1644 readonly asStartInflation: {1645 readonly inflationStartRelayBlock: u32;1646 } & Struct;1647 readonly type: 'StartInflation';1648}16491650/** @name PalletMaintenanceCall */1651export interface PalletMaintenanceCall extends Enum {1652 readonly isEnable: boolean;1653 readonly isDisable: boolean;1654 readonly type: 'Enable' | 'Disable';1655}16561657/** @name PalletMaintenanceError */1658export interface PalletMaintenanceError extends Null {}16591660/** @name PalletMaintenanceEvent */1661export interface PalletMaintenanceEvent extends Enum {1662 readonly isMaintenanceEnabled: boolean;1663 readonly isMaintenanceDisabled: boolean;1664 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1665}16661667/** @name PalletNonfungibleError */1668export interface PalletNonfungibleError extends Enum {1669 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1670 readonly isNonfungibleItemsHaveNoAmount: boolean;1671 readonly isCantBurnNftWithChildren: boolean;1672 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1673}16741675/** @name PalletNonfungibleItemData */1676export interface PalletNonfungibleItemData extends Struct {1677 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1678}16791680/** @name PalletRefungibleError */1681export interface PalletRefungibleError extends Enum {1682 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1683 readonly isWrongRefungiblePieces: boolean;1684 readonly isRepartitionWhileNotOwningAllPieces: boolean;1685 readonly isRefungibleDisallowsNesting: boolean;1686 readonly isSettingPropertiesNotAllowed: boolean;1687 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1688}16891690/** @name PalletRmrkCoreCall */1691export interface PalletRmrkCoreCall extends Enum {1692 readonly isCreateCollection: boolean;1693 readonly asCreateCollection: {1694 readonly metadata: Bytes;1695 readonly max: Option<u32>;1696 readonly symbol: Bytes;1697 } & Struct;1698 readonly isDestroyCollection: boolean;1699 readonly asDestroyCollection: {1700 readonly collectionId: u32;1701 } & Struct;1702 readonly isChangeCollectionIssuer: boolean;1703 readonly asChangeCollectionIssuer: {1704 readonly collectionId: u32;1705 readonly newIssuer: MultiAddress;1706 } & Struct;1707 readonly isLockCollection: boolean;1708 readonly asLockCollection: {1709 readonly collectionId: u32;1710 } & Struct;1711 readonly isMintNft: boolean;1712 readonly asMintNft: {1713 readonly owner: Option<AccountId32>;1714 readonly collectionId: u32;1715 readonly recipient: Option<AccountId32>;1716 readonly royaltyAmount: Option<Permill>;1717 readonly metadata: Bytes;1718 readonly transferable: bool;1719 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1720 } & Struct;1721 readonly isBurnNft: boolean;1722 readonly asBurnNft: {1723 readonly collectionId: u32;1724 readonly nftId: u32;1725 readonly maxBurns: u32;1726 } & Struct;1727 readonly isSend: boolean;1728 readonly asSend: {1729 readonly rmrkCollectionId: u32;1730 readonly rmrkNftId: u32;1731 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1732 } & Struct;1733 readonly isAcceptNft: boolean;1734 readonly asAcceptNft: {1735 readonly rmrkCollectionId: u32;1736 readonly rmrkNftId: u32;1737 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1738 } & Struct;1739 readonly isRejectNft: boolean;1740 readonly asRejectNft: {1741 readonly rmrkCollectionId: u32;1742 readonly rmrkNftId: u32;1743 } & Struct;1744 readonly isAcceptResource: boolean;1745 readonly asAcceptResource: {1746 readonly rmrkCollectionId: u32;1747 readonly rmrkNftId: u32;1748 readonly resourceId: u32;1749 } & Struct;1750 readonly isAcceptResourceRemoval: boolean;1751 readonly asAcceptResourceRemoval: {1752 readonly rmrkCollectionId: u32;1753 readonly rmrkNftId: u32;1754 readonly resourceId: u32;1755 } & Struct;1756 readonly isSetProperty: boolean;1757 readonly asSetProperty: {1758 readonly rmrkCollectionId: Compact<u32>;1759 readonly maybeNftId: Option<u32>;1760 readonly key: Bytes;1761 readonly value: Bytes;1762 } & Struct;1763 readonly isSetPriority: boolean;1764 readonly asSetPriority: {1765 readonly rmrkCollectionId: u32;1766 readonly rmrkNftId: u32;1767 readonly priorities: Vec<u32>;1768 } & Struct;1769 readonly isAddBasicResource: boolean;1770 readonly asAddBasicResource: {1771 readonly rmrkCollectionId: u32;1772 readonly nftId: u32;1773 readonly resource: RmrkTraitsResourceBasicResource;1774 } & Struct;1775 readonly isAddComposableResource: boolean;1776 readonly asAddComposableResource: {1777 readonly rmrkCollectionId: u32;1778 readonly nftId: u32;1779 readonly resource: RmrkTraitsResourceComposableResource;1780 } & Struct;1781 readonly isAddSlotResource: boolean;1782 readonly asAddSlotResource: {1783 readonly rmrkCollectionId: u32;1784 readonly nftId: u32;1785 readonly resource: RmrkTraitsResourceSlotResource;1786 } & Struct;1787 readonly isRemoveResource: boolean;1788 readonly asRemoveResource: {1789 readonly rmrkCollectionId: u32;1790 readonly nftId: u32;1791 readonly resourceId: u32;1792 } & Struct;1793 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1794}17951796/** @name PalletRmrkCoreError */1797export interface PalletRmrkCoreError extends Enum {1798 readonly isCorruptedCollectionType: boolean;1799 readonly isRmrkPropertyKeyIsTooLong: boolean;1800 readonly isRmrkPropertyValueIsTooLong: boolean;1801 readonly isRmrkPropertyIsNotFound: boolean;1802 readonly isUnableToDecodeRmrkData: boolean;1803 readonly isCollectionNotEmpty: boolean;1804 readonly isNoAvailableCollectionId: boolean;1805 readonly isNoAvailableNftId: boolean;1806 readonly isCollectionUnknown: boolean;1807 readonly isNoPermission: boolean;1808 readonly isNonTransferable: boolean;1809 readonly isCollectionFullOrLocked: boolean;1810 readonly isResourceDoesntExist: boolean;1811 readonly isCannotSendToDescendentOrSelf: boolean;1812 readonly isCannotAcceptNonOwnedNft: boolean;1813 readonly isCannotRejectNonOwnedNft: boolean;1814 readonly isCannotRejectNonPendingNft: boolean;1815 readonly isResourceNotPending: boolean;1816 readonly isNoAvailableResourceId: boolean;1817 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1818}18191820/** @name PalletRmrkCoreEvent */1821export interface PalletRmrkCoreEvent extends Enum {1822 readonly isCollectionCreated: boolean;1823 readonly asCollectionCreated: {1824 readonly issuer: AccountId32;1825 readonly collectionId: u32;1826 } & Struct;1827 readonly isCollectionDestroyed: boolean;1828 readonly asCollectionDestroyed: {1829 readonly issuer: AccountId32;1830 readonly collectionId: u32;1831 } & Struct;1832 readonly isIssuerChanged: boolean;1833 readonly asIssuerChanged: {1834 readonly oldIssuer: AccountId32;1835 readonly newIssuer: AccountId32;1836 readonly collectionId: u32;1837 } & Struct;1838 readonly isCollectionLocked: boolean;1839 readonly asCollectionLocked: {1840 readonly issuer: AccountId32;1841 readonly collectionId: u32;1842 } & Struct;1843 readonly isNftMinted: boolean;1844 readonly asNftMinted: {1845 readonly owner: AccountId32;1846 readonly collectionId: u32;1847 readonly nftId: u32;1848 } & Struct;1849 readonly isNftBurned: boolean;1850 readonly asNftBurned: {1851 readonly owner: AccountId32;1852 readonly nftId: u32;1853 } & Struct;1854 readonly isNftSent: boolean;1855 readonly asNftSent: {1856 readonly sender: AccountId32;1857 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1858 readonly collectionId: u32;1859 readonly nftId: u32;1860 readonly approvalRequired: bool;1861 } & Struct;1862 readonly isNftAccepted: boolean;1863 readonly asNftAccepted: {1864 readonly sender: AccountId32;1865 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1866 readonly collectionId: u32;1867 readonly nftId: u32;1868 } & Struct;1869 readonly isNftRejected: boolean;1870 readonly asNftRejected: {1871 readonly sender: AccountId32;1872 readonly collectionId: u32;1873 readonly nftId: u32;1874 } & Struct;1875 readonly isPropertySet: boolean;1876 readonly asPropertySet: {1877 readonly collectionId: u32;1878 readonly maybeNftId: Option<u32>;1879 readonly key: Bytes;1880 readonly value: Bytes;1881 } & Struct;1882 readonly isResourceAdded: boolean;1883 readonly asResourceAdded: {1884 readonly nftId: u32;1885 readonly resourceId: u32;1886 } & Struct;1887 readonly isResourceRemoval: boolean;1888 readonly asResourceRemoval: {1889 readonly nftId: u32;1890 readonly resourceId: u32;1891 } & Struct;1892 readonly isResourceAccepted: boolean;1893 readonly asResourceAccepted: {1894 readonly nftId: u32;1895 readonly resourceId: u32;1896 } & Struct;1897 readonly isResourceRemovalAccepted: boolean;1898 readonly asResourceRemovalAccepted: {1899 readonly nftId: u32;1900 readonly resourceId: u32;1901 } & Struct;1902 readonly isPrioritySet: boolean;1903 readonly asPrioritySet: {1904 readonly collectionId: u32;1905 readonly nftId: u32;1906 } & Struct;1907 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1908}19091910/** @name PalletRmrkEquipCall */1911export interface PalletRmrkEquipCall extends Enum {1912 readonly isCreateBase: boolean;1913 readonly asCreateBase: {1914 readonly baseType: Bytes;1915 readonly symbol: Bytes;1916 readonly parts: Vec<RmrkTraitsPartPartType>;1917 } & Struct;1918 readonly isThemeAdd: boolean;1919 readonly asThemeAdd: {1920 readonly baseId: u32;1921 readonly theme: RmrkTraitsTheme;1922 } & Struct;1923 readonly isEquippable: boolean;1924 readonly asEquippable: {1925 readonly baseId: u32;1926 readonly slotId: u32;1927 readonly equippables: RmrkTraitsPartEquippableList;1928 } & Struct;1929 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1930}19311932/** @name PalletRmrkEquipError */1933export interface PalletRmrkEquipError extends Enum {1934 readonly isPermissionError: boolean;1935 readonly isNoAvailableBaseId: boolean;1936 readonly isNoAvailablePartId: boolean;1937 readonly isBaseDoesntExist: boolean;1938 readonly isNeedsDefaultThemeFirst: boolean;1939 readonly isPartDoesntExist: boolean;1940 readonly isNoEquippableOnFixedPart: boolean;1941 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1942}19431944/** @name PalletRmrkEquipEvent */1945export interface PalletRmrkEquipEvent extends Enum {1946 readonly isBaseCreated: boolean;1947 readonly asBaseCreated: {1948 readonly issuer: AccountId32;1949 readonly baseId: u32;1950 } & Struct;1951 readonly isEquippablesUpdated: boolean;1952 readonly asEquippablesUpdated: {1953 readonly baseId: u32;1954 readonly slotId: u32;1955 } & Struct;1956 readonly type: 'BaseCreated' | 'EquippablesUpdated';1957}19581959/** @name PalletStructureCall */1960export interface PalletStructureCall extends Null {}19611962/** @name PalletStructureError */1963export interface PalletStructureError extends Enum {1964 readonly isOuroborosDetected: boolean;1965 readonly isDepthLimit: boolean;1966 readonly isBreadthLimit: boolean;1967 readonly isTokenNotFound: boolean;1968 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1969}19701971/** @name PalletStructureEvent */1972export interface PalletStructureEvent extends Enum {1973 readonly isExecuted: boolean;1974 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1975 readonly type: 'Executed';1976}19771978/** @name PalletSudoCall */1979export interface PalletSudoCall extends Enum {1980 readonly isSudo: boolean;1981 readonly asSudo: {1982 readonly call: Call;1983 } & Struct;1984 readonly isSudoUncheckedWeight: boolean;1985 readonly asSudoUncheckedWeight: {1986 readonly call: Call;1987 readonly weight: SpWeightsWeightV2Weight;1988 } & Struct;1989 readonly isSetKey: boolean;1990 readonly asSetKey: {1991 readonly new_: MultiAddress;1992 } & Struct;1993 readonly isSudoAs: boolean;1994 readonly asSudoAs: {1995 readonly who: MultiAddress;1996 readonly call: Call;1997 } & Struct;1998 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1999}20002001/** @name PalletSudoError */2002export interface PalletSudoError extends Enum {2003 readonly isRequireSudo: boolean;2004 readonly type: 'RequireSudo';2005}20062007/** @name PalletSudoEvent */2008export interface PalletSudoEvent extends Enum {2009 readonly isSudid: boolean;2010 readonly asSudid: {2011 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2012 } & Struct;2013 readonly isKeyChanged: boolean;2014 readonly asKeyChanged: {2015 readonly oldSudoer: Option<AccountId32>;2016 } & Struct;2017 readonly isSudoAsDone: boolean;2018 readonly asSudoAsDone: {2019 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2020 } & Struct;2021 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2022}20232024/** @name PalletTemplateTransactionPaymentCall */2025export interface PalletTemplateTransactionPaymentCall extends Null {}20262027/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2028export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}20292030/** @name PalletTestUtilsCall */2031export interface PalletTestUtilsCall extends Enum {2032 readonly isEnable: boolean;2033 readonly isSetTestValue: boolean;2034 readonly asSetTestValue: {2035 readonly value: u32;2036 } & Struct;2037 readonly isSetTestValueAndRollback: boolean;2038 readonly asSetTestValueAndRollback: {2039 readonly value: u32;2040 } & Struct;2041 readonly isIncTestValue: boolean;2042 readonly isJustTakeFee: boolean;2043 readonly isBatchAll: boolean;2044 readonly asBatchAll: {2045 readonly calls: Vec<Call>;2046 } & Struct;2047 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2048}20492050/** @name PalletTestUtilsError */2051export interface PalletTestUtilsError extends Enum {2052 readonly isTestPalletDisabled: boolean;2053 readonly isTriggerRollback: boolean;2054 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2055}20562057/** @name PalletTestUtilsEvent */2058export interface PalletTestUtilsEvent extends Enum {2059 readonly isValueIsSet: boolean;2060 readonly isShouldRollback: boolean;2061 readonly isBatchCompleted: boolean;2062 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2063}20642065/** @name PalletTimestampCall */2066export interface PalletTimestampCall extends Enum {2067 readonly isSet: boolean;2068 readonly asSet: {2069 readonly now: Compact<u64>;2070 } & Struct;2071 readonly type: 'Set';2072}20732074/** @name PalletTransactionPaymentEvent */2075export interface PalletTransactionPaymentEvent extends Enum {2076 readonly isTransactionFeePaid: boolean;2077 readonly asTransactionFeePaid: {2078 readonly who: AccountId32;2079 readonly actualFee: u128;2080 readonly tip: u128;2081 } & Struct;2082 readonly type: 'TransactionFeePaid';2083}20842085/** @name PalletTransactionPaymentReleases */2086export interface PalletTransactionPaymentReleases extends Enum {2087 readonly isV1Ancient: boolean;2088 readonly isV2: boolean;2089 readonly type: 'V1Ancient' | 'V2';2090}20912092/** @name PalletTreasuryCall */2093export interface PalletTreasuryCall extends Enum {2094 readonly isProposeSpend: boolean;2095 readonly asProposeSpend: {2096 readonly value: Compact<u128>;2097 readonly beneficiary: MultiAddress;2098 } & Struct;2099 readonly isRejectProposal: boolean;2100 readonly asRejectProposal: {2101 readonly proposalId: Compact<u32>;2102 } & Struct;2103 readonly isApproveProposal: boolean;2104 readonly asApproveProposal: {2105 readonly proposalId: Compact<u32>;2106 } & Struct;2107 readonly isSpend: boolean;2108 readonly asSpend: {2109 readonly amount: Compact<u128>;2110 readonly beneficiary: MultiAddress;2111 } & Struct;2112 readonly isRemoveApproval: boolean;2113 readonly asRemoveApproval: {2114 readonly proposalId: Compact<u32>;2115 } & Struct;2116 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2117}21182119/** @name PalletTreasuryError */2120export interface PalletTreasuryError extends Enum {2121 readonly isInsufficientProposersBalance: boolean;2122 readonly isInvalidIndex: boolean;2123 readonly isTooManyApprovals: boolean;2124 readonly isInsufficientPermission: boolean;2125 readonly isProposalNotApproved: boolean;2126 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2127}21282129/** @name PalletTreasuryEvent */2130export interface PalletTreasuryEvent extends Enum {2131 readonly isProposed: boolean;2132 readonly asProposed: {2133 readonly proposalIndex: u32;2134 } & Struct;2135 readonly isSpending: boolean;2136 readonly asSpending: {2137 readonly budgetRemaining: u128;2138 } & Struct;2139 readonly isAwarded: boolean;2140 readonly asAwarded: {2141 readonly proposalIndex: u32;2142 readonly award: u128;2143 readonly account: AccountId32;2144 } & Struct;2145 readonly isRejected: boolean;2146 readonly asRejected: {2147 readonly proposalIndex: u32;2148 readonly slashed: u128;2149 } & Struct;2150 readonly isBurnt: boolean;2151 readonly asBurnt: {2152 readonly burntFunds: u128;2153 } & Struct;2154 readonly isRollover: boolean;2155 readonly asRollover: {2156 readonly rolloverBalance: u128;2157 } & Struct;2158 readonly isDeposit: boolean;2159 readonly asDeposit: {2160 readonly value: u128;2161 } & Struct;2162 readonly isSpendApproved: boolean;2163 readonly asSpendApproved: {2164 readonly proposalIndex: u32;2165 readonly amount: u128;2166 readonly beneficiary: AccountId32;2167 } & Struct;2168 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2169}21702171/** @name PalletTreasuryProposal */2172export interface PalletTreasuryProposal extends Struct {2173 readonly proposer: AccountId32;2174 readonly value: u128;2175 readonly beneficiary: AccountId32;2176 readonly bond: u128;2177}21782179/** @name PalletUniqueCall */2180export interface PalletUniqueCall extends Enum {2181 readonly isCreateCollection: boolean;2182 readonly asCreateCollection: {2183 readonly collectionName: Vec<u16>;2184 readonly collectionDescription: Vec<u16>;2185 readonly tokenPrefix: Bytes;2186 readonly mode: UpDataStructsCollectionMode;2187 } & Struct;2188 readonly isCreateCollectionEx: boolean;2189 readonly asCreateCollectionEx: {2190 readonly data: UpDataStructsCreateCollectionData;2191 } & Struct;2192 readonly isDestroyCollection: boolean;2193 readonly asDestroyCollection: {2194 readonly collectionId: u32;2195 } & Struct;2196 readonly isAddToAllowList: boolean;2197 readonly asAddToAllowList: {2198 readonly collectionId: u32;2199 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2200 } & Struct;2201 readonly isRemoveFromAllowList: boolean;2202 readonly asRemoveFromAllowList: {2203 readonly collectionId: u32;2204 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2205 } & Struct;2206 readonly isChangeCollectionOwner: boolean;2207 readonly asChangeCollectionOwner: {2208 readonly collectionId: u32;2209 readonly newOwner: AccountId32;2210 } & Struct;2211 readonly isAddCollectionAdmin: boolean;2212 readonly asAddCollectionAdmin: {2213 readonly collectionId: u32;2214 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2215 } & Struct;2216 readonly isRemoveCollectionAdmin: boolean;2217 readonly asRemoveCollectionAdmin: {2218 readonly collectionId: u32;2219 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2220 } & Struct;2221 readonly isSetCollectionSponsor: boolean;2222 readonly asSetCollectionSponsor: {2223 readonly collectionId: u32;2224 readonly newSponsor: AccountId32;2225 } & Struct;2226 readonly isConfirmSponsorship: boolean;2227 readonly asConfirmSponsorship: {2228 readonly collectionId: u32;2229 } & Struct;2230 readonly isRemoveCollectionSponsor: boolean;2231 readonly asRemoveCollectionSponsor: {2232 readonly collectionId: u32;2233 } & Struct;2234 readonly isCreateItem: boolean;2235 readonly asCreateItem: {2236 readonly collectionId: u32;2237 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2238 readonly data: UpDataStructsCreateItemData;2239 } & Struct;2240 readonly isCreateMultipleItems: boolean;2241 readonly asCreateMultipleItems: {2242 readonly collectionId: u32;2243 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2244 readonly itemsData: Vec<UpDataStructsCreateItemData>;2245 } & Struct;2246 readonly isSetCollectionProperties: boolean;2247 readonly asSetCollectionProperties: {2248 readonly collectionId: u32;2249 readonly properties: Vec<UpDataStructsProperty>;2250 } & Struct;2251 readonly isDeleteCollectionProperties: boolean;2252 readonly asDeleteCollectionProperties: {2253 readonly collectionId: u32;2254 readonly propertyKeys: Vec<Bytes>;2255 } & Struct;2256 readonly isSetTokenProperties: boolean;2257 readonly asSetTokenProperties: {2258 readonly collectionId: u32;2259 readonly tokenId: u32;2260 readonly properties: Vec<UpDataStructsProperty>;2261 } & Struct;2262 readonly isDeleteTokenProperties: boolean;2263 readonly asDeleteTokenProperties: {2264 readonly collectionId: u32;2265 readonly tokenId: u32;2266 readonly propertyKeys: Vec<Bytes>;2267 } & Struct;2268 readonly isSetTokenPropertyPermissions: boolean;2269 readonly asSetTokenPropertyPermissions: {2270 readonly collectionId: u32;2271 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2272 } & Struct;2273 readonly isCreateMultipleItemsEx: boolean;2274 readonly asCreateMultipleItemsEx: {2275 readonly collectionId: u32;2276 readonly data: UpDataStructsCreateItemExData;2277 } & Struct;2278 readonly isSetTransfersEnabledFlag: boolean;2279 readonly asSetTransfersEnabledFlag: {2280 readonly collectionId: u32;2281 readonly value: bool;2282 } & Struct;2283 readonly isBurnItem: boolean;2284 readonly asBurnItem: {2285 readonly collectionId: u32;2286 readonly itemId: u32;2287 readonly value: u128;2288 } & Struct;2289 readonly isBurnFrom: boolean;2290 readonly asBurnFrom: {2291 readonly collectionId: u32;2292 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2293 readonly itemId: u32;2294 readonly value: u128;2295 } & Struct;2296 readonly isTransfer: boolean;2297 readonly asTransfer: {2298 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2299 readonly collectionId: u32;2300 readonly itemId: u32;2301 readonly value: u128;2302 } & Struct;2303 readonly isApprove: boolean;2304 readonly asApprove: {2305 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2306 readonly collectionId: u32;2307 readonly itemId: u32;2308 readonly amount: u128;2309 } & Struct;2310 readonly isApproveFrom: boolean;2311 readonly asApproveFrom: {2312 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2313 readonly to: PalletEvmAccountBasicCrossAccountIdRepr;2314 readonly collectionId: u32;2315 readonly itemId: u32;2316 readonly amount: u128;2317 } & Struct;2318 readonly isTransferFrom: boolean;2319 readonly asTransferFrom: {2320 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2321 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2322 readonly collectionId: u32;2323 readonly itemId: u32;2324 readonly value: u128;2325 } & Struct;2326 readonly isSetCollectionLimits: boolean;2327 readonly asSetCollectionLimits: {2328 readonly collectionId: u32;2329 readonly newLimit: UpDataStructsCollectionLimits;2330 } & Struct;2331 readonly isSetCollectionPermissions: boolean;2332 readonly asSetCollectionPermissions: {2333 readonly collectionId: u32;2334 readonly newPermission: UpDataStructsCollectionPermissions;2335 } & Struct;2336 readonly isRepartition: boolean;2337 readonly asRepartition: {2338 readonly collectionId: u32;2339 readonly tokenId: u32;2340 readonly amount: u128;2341 } & Struct;2342 readonly isSetAllowanceForAll: boolean;2343 readonly asSetAllowanceForAll: {2344 readonly collectionId: u32;2345 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2346 readonly approve: bool;2347 } & Struct;2348 readonly isForceRepairCollection: boolean;2349 readonly asForceRepairCollection: {2350 readonly collectionId: u32;2351 } & Struct;2352 readonly isForceRepairItem: boolean;2353 readonly asForceRepairItem: {2354 readonly collectionId: u32;2355 readonly itemId: u32;2356 } & Struct;2357 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';2358}23592360/** @name PalletUniqueError */2361export interface PalletUniqueError extends Enum {2362 readonly isCollectionDecimalPointLimitExceeded: boolean;2363 readonly isEmptyArgument: boolean;2364 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2365 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2366}23672368/** @name PalletXcmCall */2369export interface PalletXcmCall extends Enum {2370 readonly isSend: boolean;2371 readonly asSend: {2372 readonly dest: XcmVersionedMultiLocation;2373 readonly message: XcmVersionedXcm;2374 } & Struct;2375 readonly isTeleportAssets: boolean;2376 readonly asTeleportAssets: {2377 readonly dest: XcmVersionedMultiLocation;2378 readonly beneficiary: XcmVersionedMultiLocation;2379 readonly assets: XcmVersionedMultiAssets;2380 readonly feeAssetItem: u32;2381 } & Struct;2382 readonly isReserveTransferAssets: boolean;2383 readonly asReserveTransferAssets: {2384 readonly dest: XcmVersionedMultiLocation;2385 readonly beneficiary: XcmVersionedMultiLocation;2386 readonly assets: XcmVersionedMultiAssets;2387 readonly feeAssetItem: u32;2388 } & Struct;2389 readonly isExecute: boolean;2390 readonly asExecute: {2391 readonly message: XcmVersionedXcm;2392 readonly maxWeight: u64;2393 } & Struct;2394 readonly isForceXcmVersion: boolean;2395 readonly asForceXcmVersion: {2396 readonly location: XcmV1MultiLocation;2397 readonly xcmVersion: u32;2398 } & Struct;2399 readonly isForceDefaultXcmVersion: boolean;2400 readonly asForceDefaultXcmVersion: {2401 readonly maybeXcmVersion: Option<u32>;2402 } & Struct;2403 readonly isForceSubscribeVersionNotify: boolean;2404 readonly asForceSubscribeVersionNotify: {2405 readonly location: XcmVersionedMultiLocation;2406 } & Struct;2407 readonly isForceUnsubscribeVersionNotify: boolean;2408 readonly asForceUnsubscribeVersionNotify: {2409 readonly location: XcmVersionedMultiLocation;2410 } & Struct;2411 readonly isLimitedReserveTransferAssets: boolean;2412 readonly asLimitedReserveTransferAssets: {2413 readonly dest: XcmVersionedMultiLocation;2414 readonly beneficiary: XcmVersionedMultiLocation;2415 readonly assets: XcmVersionedMultiAssets;2416 readonly feeAssetItem: u32;2417 readonly weightLimit: XcmV2WeightLimit;2418 } & Struct;2419 readonly isLimitedTeleportAssets: boolean;2420 readonly asLimitedTeleportAssets: {2421 readonly dest: XcmVersionedMultiLocation;2422 readonly beneficiary: XcmVersionedMultiLocation;2423 readonly assets: XcmVersionedMultiAssets;2424 readonly feeAssetItem: u32;2425 readonly weightLimit: XcmV2WeightLimit;2426 } & Struct;2427 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2428}24292430/** @name PalletXcmError */2431export interface PalletXcmError extends Enum {2432 readonly isUnreachable: boolean;2433 readonly isSendFailure: boolean;2434 readonly isFiltered: boolean;2435 readonly isUnweighableMessage: boolean;2436 readonly isDestinationNotInvertible: boolean;2437 readonly isEmpty: boolean;2438 readonly isCannotReanchor: boolean;2439 readonly isTooManyAssets: boolean;2440 readonly isInvalidOrigin: boolean;2441 readonly isBadVersion: boolean;2442 readonly isBadLocation: boolean;2443 readonly isNoSubscription: boolean;2444 readonly isAlreadySubscribed: boolean;2445 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2446}24472448/** @name PalletXcmEvent */2449export interface PalletXcmEvent extends Enum {2450 readonly isAttempted: boolean;2451 readonly asAttempted: XcmV2TraitsOutcome;2452 readonly isSent: boolean;2453 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2454 readonly isUnexpectedResponse: boolean;2455 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2456 readonly isResponseReady: boolean;2457 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2458 readonly isNotified: boolean;2459 readonly asNotified: ITuple<[u64, u8, u8]>;2460 readonly isNotifyOverweight: boolean;2461 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2462 readonly isNotifyDispatchError: boolean;2463 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2464 readonly isNotifyDecodeFailed: boolean;2465 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2466 readonly isInvalidResponder: boolean;2467 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2468 readonly isInvalidResponderVersion: boolean;2469 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2470 readonly isResponseTaken: boolean;2471 readonly asResponseTaken: u64;2472 readonly isAssetsTrapped: boolean;2473 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2474 readonly isVersionChangeNotified: boolean;2475 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2476 readonly isSupportedVersionChanged: boolean;2477 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2478 readonly isNotifyTargetSendFail: boolean;2479 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2480 readonly isNotifyTargetMigrationFail: boolean;2481 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2482 readonly isAssetsClaimed: boolean;2483 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2484 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2485}24862487/** @name PhantomTypeUpDataStructs */2488export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}24892490/** @name PolkadotCorePrimitivesInboundDownwardMessage */2491export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2492 readonly sentAt: u32;2493 readonly msg: Bytes;2494}24952496/** @name PolkadotCorePrimitivesInboundHrmpMessage */2497export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2498 readonly sentAt: u32;2499 readonly data: Bytes;2500}25012502/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2503export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2504 readonly recipient: u32;2505 readonly data: Bytes;2506}25072508/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2509export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2510 readonly isConcatenatedVersionedXcm: boolean;2511 readonly isConcatenatedEncodedBlob: boolean;2512 readonly isSignals: boolean;2513 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2514}25152516/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2517export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2518 readonly maxCodeSize: u32;2519 readonly maxHeadDataSize: u32;2520 readonly maxUpwardQueueCount: u32;2521 readonly maxUpwardQueueSize: u32;2522 readonly maxUpwardMessageSize: u32;2523 readonly maxUpwardMessageNumPerCandidate: u32;2524 readonly hrmpMaxMessageNumPerCandidate: u32;2525 readonly validationUpgradeCooldown: u32;2526 readonly validationUpgradeDelay: u32;2527}25282529/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2530export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2531 readonly maxCapacity: u32;2532 readonly maxTotalSize: u32;2533 readonly maxMessageSize: u32;2534 readonly msgCount: u32;2535 readonly totalSize: u32;2536 readonly mqcHead: Option<H256>;2537}25382539/** @name PolkadotPrimitivesV2PersistedValidationData */2540export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2541 readonly parentHead: Bytes;2542 readonly relayParentNumber: u32;2543 readonly relayParentStorageRoot: H256;2544 readonly maxPovSize: u32;2545}25462547/** @name PolkadotPrimitivesV2UpgradeRestriction */2548export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2549 readonly isPresent: boolean;2550 readonly type: 'Present';2551}25522553/** @name RmrkTraitsBaseBaseInfo */2554export interface RmrkTraitsBaseBaseInfo extends Struct {2555 readonly issuer: AccountId32;2556 readonly baseType: Bytes;2557 readonly symbol: Bytes;2558}25592560/** @name RmrkTraitsCollectionCollectionInfo */2561export interface RmrkTraitsCollectionCollectionInfo extends Struct {2562 readonly issuer: AccountId32;2563 readonly metadata: Bytes;2564 readonly max: Option<u32>;2565 readonly symbol: Bytes;2566 readonly nftsCount: u32;2567}25682569/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2570export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2571 readonly isAccountId: boolean;2572 readonly asAccountId: AccountId32;2573 readonly isCollectionAndNftTuple: boolean;2574 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2575 readonly type: 'AccountId' | 'CollectionAndNftTuple';2576}25772578/** @name RmrkTraitsNftNftChild */2579export interface RmrkTraitsNftNftChild extends Struct {2580 readonly collectionId: u32;2581 readonly nftId: u32;2582}25832584/** @name RmrkTraitsNftNftInfo */2585export interface RmrkTraitsNftNftInfo extends Struct {2586 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2587 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2588 readonly metadata: Bytes;2589 readonly equipped: bool;2590 readonly pending: bool;2591}25922593/** @name RmrkTraitsNftRoyaltyInfo */2594export interface RmrkTraitsNftRoyaltyInfo extends Struct {2595 readonly recipient: AccountId32;2596 readonly amount: Permill;2597}25982599/** @name RmrkTraitsPartEquippableList */2600export interface RmrkTraitsPartEquippableList extends Enum {2601 readonly isAll: boolean;2602 readonly isEmpty: boolean;2603 readonly isCustom: boolean;2604 readonly asCustom: Vec<u32>;2605 readonly type: 'All' | 'Empty' | 'Custom';2606}26072608/** @name RmrkTraitsPartFixedPart */2609export interface RmrkTraitsPartFixedPart extends Struct {2610 readonly id: u32;2611 readonly z: u32;2612 readonly src: Bytes;2613}26142615/** @name RmrkTraitsPartPartType */2616export interface RmrkTraitsPartPartType extends Enum {2617 readonly isFixedPart: boolean;2618 readonly asFixedPart: RmrkTraitsPartFixedPart;2619 readonly isSlotPart: boolean;2620 readonly asSlotPart: RmrkTraitsPartSlotPart;2621 readonly type: 'FixedPart' | 'SlotPart';2622}26232624/** @name RmrkTraitsPartSlotPart */2625export interface RmrkTraitsPartSlotPart extends Struct {2626 readonly id: u32;2627 readonly equippable: RmrkTraitsPartEquippableList;2628 readonly src: Bytes;2629 readonly z: u32;2630}26312632/** @name RmrkTraitsPropertyPropertyInfo */2633export interface RmrkTraitsPropertyPropertyInfo extends Struct {2634 readonly key: Bytes;2635 readonly value: Bytes;2636}26372638/** @name RmrkTraitsResourceBasicResource */2639export interface RmrkTraitsResourceBasicResource extends Struct {2640 readonly src: Option<Bytes>;2641 readonly metadata: Option<Bytes>;2642 readonly license: Option<Bytes>;2643 readonly thumb: Option<Bytes>;2644}26452646/** @name RmrkTraitsResourceComposableResource */2647export interface RmrkTraitsResourceComposableResource extends Struct {2648 readonly parts: Vec<u32>;2649 readonly base: u32;2650 readonly src: Option<Bytes>;2651 readonly metadata: Option<Bytes>;2652 readonly license: Option<Bytes>;2653 readonly thumb: Option<Bytes>;2654}26552656/** @name RmrkTraitsResourceResourceInfo */2657export interface RmrkTraitsResourceResourceInfo extends Struct {2658 readonly id: u32;2659 readonly resource: RmrkTraitsResourceResourceTypes;2660 readonly pending: bool;2661 readonly pendingRemoval: bool;2662}26632664/** @name RmrkTraitsResourceResourceTypes */2665export interface RmrkTraitsResourceResourceTypes extends Enum {2666 readonly isBasic: boolean;2667 readonly asBasic: RmrkTraitsResourceBasicResource;2668 readonly isComposable: boolean;2669 readonly asComposable: RmrkTraitsResourceComposableResource;2670 readonly isSlot: boolean;2671 readonly asSlot: RmrkTraitsResourceSlotResource;2672 readonly type: 'Basic' | 'Composable' | 'Slot';2673}26742675/** @name RmrkTraitsResourceSlotResource */2676export interface RmrkTraitsResourceSlotResource extends Struct {2677 readonly base: u32;2678 readonly src: Option<Bytes>;2679 readonly metadata: Option<Bytes>;2680 readonly slot: u32;2681 readonly license: Option<Bytes>;2682 readonly thumb: Option<Bytes>;2683}26842685/** @name RmrkTraitsTheme */2686export interface RmrkTraitsTheme extends Struct {2687 readonly name: Bytes;2688 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2689 readonly inherit: bool;2690}26912692/** @name RmrkTraitsThemeThemeProperty */2693export interface RmrkTraitsThemeThemeProperty extends Struct {2694 readonly key: Bytes;2695 readonly value: Bytes;2696}26972698/** @name SpCoreEcdsaSignature */2699export interface SpCoreEcdsaSignature extends U8aFixed {}27002701/** @name SpCoreEd25519Signature */2702export interface SpCoreEd25519Signature extends U8aFixed {}27032704/** @name SpCoreSr25519Signature */2705export interface SpCoreSr25519Signature extends U8aFixed {}27062707/** @name SpRuntimeArithmeticError */2708export interface SpRuntimeArithmeticError extends Enum {2709 readonly isUnderflow: boolean;2710 readonly isOverflow: boolean;2711 readonly isDivisionByZero: boolean;2712 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2713}27142715/** @name SpRuntimeDigest */2716export interface SpRuntimeDigest extends Struct {2717 readonly logs: Vec<SpRuntimeDigestDigestItem>;2718}27192720/** @name SpRuntimeDigestDigestItem */2721export interface SpRuntimeDigestDigestItem extends Enum {2722 readonly isOther: boolean;2723 readonly asOther: Bytes;2724 readonly isConsensus: boolean;2725 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2726 readonly isSeal: boolean;2727 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2728 readonly isPreRuntime: boolean;2729 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2730 readonly isRuntimeEnvironmentUpdated: boolean;2731 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2732}27332734/** @name SpRuntimeDispatchError */2735export interface SpRuntimeDispatchError extends Enum {2736 readonly isOther: boolean;2737 readonly isCannotLookup: boolean;2738 readonly isBadOrigin: boolean;2739 readonly isModule: boolean;2740 readonly asModule: SpRuntimeModuleError;2741 readonly isConsumerRemaining: boolean;2742 readonly isNoProviders: boolean;2743 readonly isTooManyConsumers: boolean;2744 readonly isToken: boolean;2745 readonly asToken: SpRuntimeTokenError;2746 readonly isArithmetic: boolean;2747 readonly asArithmetic: SpRuntimeArithmeticError;2748 readonly isTransactional: boolean;2749 readonly asTransactional: SpRuntimeTransactionalError;2750 readonly isExhausted: boolean;2751 readonly isCorruption: boolean;2752 readonly isUnavailable: boolean;2753 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2754}27552756/** @name SpRuntimeModuleError */2757export interface SpRuntimeModuleError extends Struct {2758 readonly index: u8;2759 readonly error: U8aFixed;2760}27612762/** @name SpRuntimeMultiSignature */2763export interface SpRuntimeMultiSignature extends Enum {2764 readonly isEd25519: boolean;2765 readonly asEd25519: SpCoreEd25519Signature;2766 readonly isSr25519: boolean;2767 readonly asSr25519: SpCoreSr25519Signature;2768 readonly isEcdsa: boolean;2769 readonly asEcdsa: SpCoreEcdsaSignature;2770 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2771}27722773/** @name SpRuntimeTokenError */2774export interface SpRuntimeTokenError extends Enum {2775 readonly isNoFunds: boolean;2776 readonly isWouldDie: boolean;2777 readonly isBelowMinimum: boolean;2778 readonly isCannotCreate: boolean;2779 readonly isUnknownAsset: boolean;2780 readonly isFrozen: boolean;2781 readonly isUnsupported: boolean;2782 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2783}27842785/** @name SpRuntimeTransactionalError */2786export interface SpRuntimeTransactionalError extends Enum {2787 readonly isLimitReached: boolean;2788 readonly isNoLayer: boolean;2789 readonly type: 'LimitReached' | 'NoLayer';2790}27912792/** @name SpRuntimeTransactionValidityInvalidTransaction */2793export interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {2794 readonly isCall: boolean;2795 readonly isPayment: boolean;2796 readonly isFuture: boolean;2797 readonly isStale: boolean;2798 readonly isBadProof: boolean;2799 readonly isAncientBirthBlock: boolean;2800 readonly isExhaustsResources: boolean;2801 readonly isCustom: boolean;2802 readonly asCustom: u8;2803 readonly isBadMandatory: boolean;2804 readonly isMandatoryValidation: boolean;2805 readonly isBadSigner: boolean;2806 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';2807}28082809/** @name SpRuntimeTransactionValidityTransactionValidityError */2810export interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {2811 readonly isInvalid: boolean;2812 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;2813 readonly isUnknown: boolean;2814 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;2815 readonly type: 'Invalid' | 'Unknown';2816}28172818/** @name SpRuntimeTransactionValidityUnknownTransaction */2819export interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {2820 readonly isCannotLookup: boolean;2821 readonly isNoUnsignedValidator: boolean;2822 readonly isCustom: boolean;2823 readonly asCustom: u8;2824 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';2825}28262827/** @name SpTrieStorageProof */2828export interface SpTrieStorageProof extends Struct {2829 readonly trieNodes: BTreeSet<Bytes>;2830}28312832/** @name SpVersionRuntimeVersion */2833export interface SpVersionRuntimeVersion extends Struct {2834 readonly specName: Text;2835 readonly implName: Text;2836 readonly authoringVersion: u32;2837 readonly specVersion: u32;2838 readonly implVersion: u32;2839 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2840 readonly transactionVersion: u32;2841 readonly stateVersion: u8;2842}28432844/** @name SpWeightsRuntimeDbWeight */2845export interface SpWeightsRuntimeDbWeight extends Struct {2846 readonly read: u64;2847 readonly write: u64;2848}28492850/** @name SpWeightsWeightV2Weight */2851export interface SpWeightsWeightV2Weight extends Struct {2852 readonly refTime: Compact<u64>;2853 readonly proofSize: Compact<u64>;2854}28552856/** @name UpDataStructsAccessMode */2857export interface UpDataStructsAccessMode extends Enum {2858 readonly isNormal: boolean;2859 readonly isAllowList: boolean;2860 readonly type: 'Normal' | 'AllowList';2861}28622863/** @name UpDataStructsCollection */2864export interface UpDataStructsCollection extends Struct {2865 readonly owner: AccountId32;2866 readonly mode: UpDataStructsCollectionMode;2867 readonly name: Vec<u16>;2868 readonly description: Vec<u16>;2869 readonly tokenPrefix: Bytes;2870 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2871 readonly limits: UpDataStructsCollectionLimits;2872 readonly permissions: UpDataStructsCollectionPermissions;2873 readonly flags: U8aFixed;2874}28752876/** @name UpDataStructsCollectionLimits */2877export interface UpDataStructsCollectionLimits extends Struct {2878 readonly accountTokenOwnershipLimit: Option<u32>;2879 readonly sponsoredDataSize: Option<u32>;2880 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2881 readonly tokenLimit: Option<u32>;2882 readonly sponsorTransferTimeout: Option<u32>;2883 readonly sponsorApproveTimeout: Option<u32>;2884 readonly ownerCanTransfer: Option<bool>;2885 readonly ownerCanDestroy: Option<bool>;2886 readonly transfersEnabled: Option<bool>;2887}28882889/** @name UpDataStructsCollectionMode */2890export interface UpDataStructsCollectionMode extends Enum {2891 readonly isNft: boolean;2892 readonly isFungible: boolean;2893 readonly asFungible: u8;2894 readonly isReFungible: boolean;2895 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2896}28972898/** @name UpDataStructsCollectionPermissions */2899export interface UpDataStructsCollectionPermissions extends Struct {2900 readonly access: Option<UpDataStructsAccessMode>;2901 readonly mintMode: Option<bool>;2902 readonly nesting: Option<UpDataStructsNestingPermissions>;2903}29042905/** @name UpDataStructsCollectionStats */2906export interface UpDataStructsCollectionStats extends Struct {2907 readonly created: u32;2908 readonly destroyed: u32;2909 readonly alive: u32;2910}29112912/** @name UpDataStructsCreateCollectionData */2913export interface UpDataStructsCreateCollectionData extends Struct {2914 readonly mode: UpDataStructsCollectionMode;2915 readonly access: Option<UpDataStructsAccessMode>;2916 readonly name: Vec<u16>;2917 readonly description: Vec<u16>;2918 readonly tokenPrefix: Bytes;2919 readonly pendingSponsor: Option<AccountId32>;2920 readonly limits: Option<UpDataStructsCollectionLimits>;2921 readonly permissions: Option<UpDataStructsCollectionPermissions>;2922 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2923 readonly properties: Vec<UpDataStructsProperty>;2924}29252926/** @name UpDataStructsCreateFungibleData */2927export interface UpDataStructsCreateFungibleData extends Struct {2928 readonly value: u128;2929}29302931/** @name UpDataStructsCreateItemData */2932export interface UpDataStructsCreateItemData extends Enum {2933 readonly isNft: boolean;2934 readonly asNft: UpDataStructsCreateNftData;2935 readonly isFungible: boolean;2936 readonly asFungible: UpDataStructsCreateFungibleData;2937 readonly isReFungible: boolean;2938 readonly asReFungible: UpDataStructsCreateReFungibleData;2939 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2940}29412942/** @name UpDataStructsCreateItemExData */2943export interface UpDataStructsCreateItemExData extends Enum {2944 readonly isNft: boolean;2945 readonly asNft: Vec<UpDataStructsCreateNftExData>;2946 readonly isFungible: boolean;2947 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2948 readonly isRefungibleMultipleItems: boolean;2949 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2950 readonly isRefungibleMultipleOwners: boolean;2951 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2952 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2953}29542955/** @name UpDataStructsCreateNftData */2956export interface UpDataStructsCreateNftData extends Struct {2957 readonly properties: Vec<UpDataStructsProperty>;2958}29592960/** @name UpDataStructsCreateNftExData */2961export interface UpDataStructsCreateNftExData extends Struct {2962 readonly properties: Vec<UpDataStructsProperty>;2963 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2964}29652966/** @name UpDataStructsCreateReFungibleData */2967export interface UpDataStructsCreateReFungibleData extends Struct {2968 readonly pieces: u128;2969 readonly properties: Vec<UpDataStructsProperty>;2970}29712972/** @name UpDataStructsCreateRefungibleExMultipleOwners */2973export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2974 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2975 readonly properties: Vec<UpDataStructsProperty>;2976}29772978/** @name UpDataStructsCreateRefungibleExSingleOwner */2979export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2980 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2981 readonly pieces: u128;2982 readonly properties: Vec<UpDataStructsProperty>;2983}29842985/** @name UpDataStructsNestingPermissions */2986export interface UpDataStructsNestingPermissions extends Struct {2987 readonly tokenOwner: bool;2988 readonly collectionAdmin: bool;2989 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2990}29912992/** @name UpDataStructsOwnerRestrictedSet */2993export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29942995/** @name UpDataStructsProperties */2996export interface UpDataStructsProperties extends Struct {2997 readonly map: UpDataStructsPropertiesMapBoundedVec;2998 readonly consumedSpace: u32;2999 readonly spaceLimit: u32;3000}30013002/** @name UpDataStructsPropertiesMapBoundedVec */3003export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30043005/** @name UpDataStructsPropertiesMapPropertyPermission */3006export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30073008/** @name UpDataStructsProperty */3009export interface UpDataStructsProperty extends Struct {3010 readonly key: Bytes;3011 readonly value: Bytes;3012}30133014/** @name UpDataStructsPropertyKeyPermission */3015export interface UpDataStructsPropertyKeyPermission extends Struct {3016 readonly key: Bytes;3017 readonly permission: UpDataStructsPropertyPermission;3018}30193020/** @name UpDataStructsPropertyPermission */3021export interface UpDataStructsPropertyPermission extends Struct {3022 readonly mutable: bool;3023 readonly collectionAdmin: bool;3024 readonly tokenOwner: bool;3025}30263027/** @name UpDataStructsPropertyScope */3028export interface UpDataStructsPropertyScope extends Enum {3029 readonly isNone: boolean;3030 readonly isRmrk: boolean;3031 readonly type: 'None' | 'Rmrk';3032}30333034/** @name UpDataStructsRpcCollection */3035export interface UpDataStructsRpcCollection extends Struct {3036 readonly owner: AccountId32;3037 readonly mode: UpDataStructsCollectionMode;3038 readonly name: Vec<u16>;3039 readonly description: Vec<u16>;3040 readonly tokenPrefix: Bytes;3041 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3042 readonly limits: UpDataStructsCollectionLimits;3043 readonly permissions: UpDataStructsCollectionPermissions;3044 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3045 readonly properties: Vec<UpDataStructsProperty>;3046 readonly readOnly: bool;3047 readonly flags: UpDataStructsRpcCollectionFlags;3048}30493050/** @name UpDataStructsRpcCollectionFlags */3051export interface UpDataStructsRpcCollectionFlags extends Struct {3052 readonly foreign: bool;3053 readonly erc721metadata: bool;3054}30553056/** @name UpDataStructsSponsoringRateLimit */3057export interface UpDataStructsSponsoringRateLimit extends Enum {3058 readonly isSponsoringDisabled: boolean;3059 readonly isBlocks: boolean;3060 readonly asBlocks: u32;3061 readonly type: 'SponsoringDisabled' | 'Blocks';3062}30633064/** @name UpDataStructsSponsorshipStateAccountId32 */3065export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3066 readonly isDisabled: boolean;3067 readonly isUnconfirmed: boolean;3068 readonly asUnconfirmed: AccountId32;3069 readonly isConfirmed: boolean;3070 readonly asConfirmed: AccountId32;3071 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3072}30733074/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3075export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3076 readonly isDisabled: boolean;3077 readonly isUnconfirmed: boolean;3078 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3079 readonly isConfirmed: boolean;3080 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3081 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3082}30833084/** @name UpDataStructsTokenChild */3085export interface UpDataStructsTokenChild extends Struct {3086 readonly token: u32;3087 readonly collection: u32;3088}30893090/** @name UpDataStructsTokenData */3091export interface UpDataStructsTokenData extends Struct {3092 readonly properties: Vec<UpDataStructsProperty>;3093 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3094 readonly pieces: u128;3095}30963097/** @name UpPovEstimateRpcPovInfo */3098export interface UpPovEstimateRpcPovInfo extends Struct {3099 readonly proofSize: u64;3100 readonly compactProofSize: u64;3101 readonly compressedProofSize: u64;3102 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3103 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3104}31053106/** @name UpPovEstimateRpcTrieKeyValue */3107export interface UpPovEstimateRpcTrieKeyValue extends Struct {3108 readonly key: Bytes;3109 readonly value: Bytes;3110}31113112/** @name XcmDoubleEncoded */3113export interface XcmDoubleEncoded extends Struct {3114 readonly encoded: Bytes;3115}31163117/** @name XcmV0Junction */3118export interface XcmV0Junction extends Enum {3119 readonly isParent: boolean;3120 readonly isParachain: boolean;3121 readonly asParachain: Compact<u32>;3122 readonly isAccountId32: boolean;3123 readonly asAccountId32: {3124 readonly network: XcmV0JunctionNetworkId;3125 readonly id: U8aFixed;3126 } & Struct;3127 readonly isAccountIndex64: boolean;3128 readonly asAccountIndex64: {3129 readonly network: XcmV0JunctionNetworkId;3130 readonly index: Compact<u64>;3131 } & Struct;3132 readonly isAccountKey20: boolean;3133 readonly asAccountKey20: {3134 readonly network: XcmV0JunctionNetworkId;3135 readonly key: U8aFixed;3136 } & Struct;3137 readonly isPalletInstance: boolean;3138 readonly asPalletInstance: u8;3139 readonly isGeneralIndex: boolean;3140 readonly asGeneralIndex: Compact<u128>;3141 readonly isGeneralKey: boolean;3142 readonly asGeneralKey: Bytes;3143 readonly isOnlyChild: boolean;3144 readonly isPlurality: boolean;3145 readonly asPlurality: {3146 readonly id: XcmV0JunctionBodyId;3147 readonly part: XcmV0JunctionBodyPart;3148 } & Struct;3149 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3150}31513152/** @name XcmV0JunctionBodyId */3153export interface XcmV0JunctionBodyId extends Enum {3154 readonly isUnit: boolean;3155 readonly isNamed: boolean;3156 readonly asNamed: Bytes;3157 readonly isIndex: boolean;3158 readonly asIndex: Compact<u32>;3159 readonly isExecutive: boolean;3160 readonly isTechnical: boolean;3161 readonly isLegislative: boolean;3162 readonly isJudicial: boolean;3163 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3164}31653166/** @name XcmV0JunctionBodyPart */3167export interface XcmV0JunctionBodyPart extends Enum {3168 readonly isVoice: boolean;3169 readonly isMembers: boolean;3170 readonly asMembers: {3171 readonly count: Compact<u32>;3172 } & Struct;3173 readonly isFraction: boolean;3174 readonly asFraction: {3175 readonly nom: Compact<u32>;3176 readonly denom: Compact<u32>;3177 } & Struct;3178 readonly isAtLeastProportion: boolean;3179 readonly asAtLeastProportion: {3180 readonly nom: Compact<u32>;3181 readonly denom: Compact<u32>;3182 } & Struct;3183 readonly isMoreThanProportion: boolean;3184 readonly asMoreThanProportion: {3185 readonly nom: Compact<u32>;3186 readonly denom: Compact<u32>;3187 } & Struct;3188 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3189}31903191/** @name XcmV0JunctionNetworkId */3192export interface XcmV0JunctionNetworkId extends Enum {3193 readonly isAny: boolean;3194 readonly isNamed: boolean;3195 readonly asNamed: Bytes;3196 readonly isPolkadot: boolean;3197 readonly isKusama: boolean;3198 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3199}32003201/** @name XcmV0MultiAsset */3202export interface XcmV0MultiAsset extends Enum {3203 readonly isNone: boolean;3204 readonly isAll: boolean;3205 readonly isAllFungible: boolean;3206 readonly isAllNonFungible: boolean;3207 readonly isAllAbstractFungible: boolean;3208 readonly asAllAbstractFungible: {3209 readonly id: Bytes;3210 } & Struct;3211 readonly isAllAbstractNonFungible: boolean;3212 readonly asAllAbstractNonFungible: {3213 readonly class: Bytes;3214 } & Struct;3215 readonly isAllConcreteFungible: boolean;3216 readonly asAllConcreteFungible: {3217 readonly id: XcmV0MultiLocation;3218 } & Struct;3219 readonly isAllConcreteNonFungible: boolean;3220 readonly asAllConcreteNonFungible: {3221 readonly class: XcmV0MultiLocation;3222 } & Struct;3223 readonly isAbstractFungible: boolean;3224 readonly asAbstractFungible: {3225 readonly id: Bytes;3226 readonly amount: Compact<u128>;3227 } & Struct;3228 readonly isAbstractNonFungible: boolean;3229 readonly asAbstractNonFungible: {3230 readonly class: Bytes;3231 readonly instance: XcmV1MultiassetAssetInstance;3232 } & Struct;3233 readonly isConcreteFungible: boolean;3234 readonly asConcreteFungible: {3235 readonly id: XcmV0MultiLocation;3236 readonly amount: Compact<u128>;3237 } & Struct;3238 readonly isConcreteNonFungible: boolean;3239 readonly asConcreteNonFungible: {3240 readonly class: XcmV0MultiLocation;3241 readonly instance: XcmV1MultiassetAssetInstance;3242 } & Struct;3243 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3244}32453246/** @name XcmV0MultiLocation */3247export interface XcmV0MultiLocation extends Enum {3248 readonly isNull: boolean;3249 readonly isX1: boolean;3250 readonly asX1: XcmV0Junction;3251 readonly isX2: boolean;3252 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3253 readonly isX3: boolean;3254 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3255 readonly isX4: boolean;3256 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3257 readonly isX5: boolean;3258 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3259 readonly isX6: boolean;3260 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3261 readonly isX7: boolean;3262 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3263 readonly isX8: boolean;3264 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3265 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3266}32673268/** @name XcmV0Order */3269export interface XcmV0Order extends Enum {3270 readonly isNull: boolean;3271 readonly isDepositAsset: boolean;3272 readonly asDepositAsset: {3273 readonly assets: Vec<XcmV0MultiAsset>;3274 readonly dest: XcmV0MultiLocation;3275 } & Struct;3276 readonly isDepositReserveAsset: boolean;3277 readonly asDepositReserveAsset: {3278 readonly assets: Vec<XcmV0MultiAsset>;3279 readonly dest: XcmV0MultiLocation;3280 readonly effects: Vec<XcmV0Order>;3281 } & Struct;3282 readonly isExchangeAsset: boolean;3283 readonly asExchangeAsset: {3284 readonly give: Vec<XcmV0MultiAsset>;3285 readonly receive: Vec<XcmV0MultiAsset>;3286 } & Struct;3287 readonly isInitiateReserveWithdraw: boolean;3288 readonly asInitiateReserveWithdraw: {3289 readonly assets: Vec<XcmV0MultiAsset>;3290 readonly reserve: XcmV0MultiLocation;3291 readonly effects: Vec<XcmV0Order>;3292 } & Struct;3293 readonly isInitiateTeleport: boolean;3294 readonly asInitiateTeleport: {3295 readonly assets: Vec<XcmV0MultiAsset>;3296 readonly dest: XcmV0MultiLocation;3297 readonly effects: Vec<XcmV0Order>;3298 } & Struct;3299 readonly isQueryHolding: boolean;3300 readonly asQueryHolding: {3301 readonly queryId: Compact<u64>;3302 readonly dest: XcmV0MultiLocation;3303 readonly assets: Vec<XcmV0MultiAsset>;3304 } & Struct;3305 readonly isBuyExecution: boolean;3306 readonly asBuyExecution: {3307 readonly fees: XcmV0MultiAsset;3308 readonly weight: u64;3309 readonly debt: u64;3310 readonly haltOnError: bool;3311 readonly xcm: Vec<XcmV0Xcm>;3312 } & Struct;3313 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3314}33153316/** @name XcmV0OriginKind */3317export interface XcmV0OriginKind extends Enum {3318 readonly isNative: boolean;3319 readonly isSovereignAccount: boolean;3320 readonly isSuperuser: boolean;3321 readonly isXcm: boolean;3322 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3323}33243325/** @name XcmV0Response */3326export interface XcmV0Response extends Enum {3327 readonly isAssets: boolean;3328 readonly asAssets: Vec<XcmV0MultiAsset>;3329 readonly type: 'Assets';3330}33313332/** @name XcmV0Xcm */3333export interface XcmV0Xcm extends Enum {3334 readonly isWithdrawAsset: boolean;3335 readonly asWithdrawAsset: {3336 readonly assets: Vec<XcmV0MultiAsset>;3337 readonly effects: Vec<XcmV0Order>;3338 } & Struct;3339 readonly isReserveAssetDeposit: boolean;3340 readonly asReserveAssetDeposit: {3341 readonly assets: Vec<XcmV0MultiAsset>;3342 readonly effects: Vec<XcmV0Order>;3343 } & Struct;3344 readonly isTeleportAsset: boolean;3345 readonly asTeleportAsset: {3346 readonly assets: Vec<XcmV0MultiAsset>;3347 readonly effects: Vec<XcmV0Order>;3348 } & Struct;3349 readonly isQueryResponse: boolean;3350 readonly asQueryResponse: {3351 readonly queryId: Compact<u64>;3352 readonly response: XcmV0Response;3353 } & Struct;3354 readonly isTransferAsset: boolean;3355 readonly asTransferAsset: {3356 readonly assets: Vec<XcmV0MultiAsset>;3357 readonly dest: XcmV0MultiLocation;3358 } & Struct;3359 readonly isTransferReserveAsset: boolean;3360 readonly asTransferReserveAsset: {3361 readonly assets: Vec<XcmV0MultiAsset>;3362 readonly dest: XcmV0MultiLocation;3363 readonly effects: Vec<XcmV0Order>;3364 } & Struct;3365 readonly isTransact: boolean;3366 readonly asTransact: {3367 readonly originType: XcmV0OriginKind;3368 readonly requireWeightAtMost: u64;3369 readonly call: XcmDoubleEncoded;3370 } & Struct;3371 readonly isHrmpNewChannelOpenRequest: boolean;3372 readonly asHrmpNewChannelOpenRequest: {3373 readonly sender: Compact<u32>;3374 readonly maxMessageSize: Compact<u32>;3375 readonly maxCapacity: Compact<u32>;3376 } & Struct;3377 readonly isHrmpChannelAccepted: boolean;3378 readonly asHrmpChannelAccepted: {3379 readonly recipient: Compact<u32>;3380 } & Struct;3381 readonly isHrmpChannelClosing: boolean;3382 readonly asHrmpChannelClosing: {3383 readonly initiator: Compact<u32>;3384 readonly sender: Compact<u32>;3385 readonly recipient: Compact<u32>;3386 } & Struct;3387 readonly isRelayedFrom: boolean;3388 readonly asRelayedFrom: {3389 readonly who: XcmV0MultiLocation;3390 readonly message: XcmV0Xcm;3391 } & Struct;3392 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3393}33943395/** @name XcmV1Junction */3396export interface XcmV1Junction extends Enum {3397 readonly isParachain: boolean;3398 readonly asParachain: Compact<u32>;3399 readonly isAccountId32: boolean;3400 readonly asAccountId32: {3401 readonly network: XcmV0JunctionNetworkId;3402 readonly id: U8aFixed;3403 } & Struct;3404 readonly isAccountIndex64: boolean;3405 readonly asAccountIndex64: {3406 readonly network: XcmV0JunctionNetworkId;3407 readonly index: Compact<u64>;3408 } & Struct;3409 readonly isAccountKey20: boolean;3410 readonly asAccountKey20: {3411 readonly network: XcmV0JunctionNetworkId;3412 readonly key: U8aFixed;3413 } & Struct;3414 readonly isPalletInstance: boolean;3415 readonly asPalletInstance: u8;3416 readonly isGeneralIndex: boolean;3417 readonly asGeneralIndex: Compact<u128>;3418 readonly isGeneralKey: boolean;3419 readonly asGeneralKey: Bytes;3420 readonly isOnlyChild: boolean;3421 readonly isPlurality: boolean;3422 readonly asPlurality: {3423 readonly id: XcmV0JunctionBodyId;3424 readonly part: XcmV0JunctionBodyPart;3425 } & Struct;3426 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3427}34283429/** @name XcmV1MultiAsset */3430export interface XcmV1MultiAsset extends Struct {3431 readonly id: XcmV1MultiassetAssetId;3432 readonly fun: XcmV1MultiassetFungibility;3433}34343435/** @name XcmV1MultiassetAssetId */3436export interface XcmV1MultiassetAssetId extends Enum {3437 readonly isConcrete: boolean;3438 readonly asConcrete: XcmV1MultiLocation;3439 readonly isAbstract: boolean;3440 readonly asAbstract: Bytes;3441 readonly type: 'Concrete' | 'Abstract';3442}34433444/** @name XcmV1MultiassetAssetInstance */3445export interface XcmV1MultiassetAssetInstance extends Enum {3446 readonly isUndefined: boolean;3447 readonly isIndex: boolean;3448 readonly asIndex: Compact<u128>;3449 readonly isArray4: boolean;3450 readonly asArray4: U8aFixed;3451 readonly isArray8: boolean;3452 readonly asArray8: U8aFixed;3453 readonly isArray16: boolean;3454 readonly asArray16: U8aFixed;3455 readonly isArray32: boolean;3456 readonly asArray32: U8aFixed;3457 readonly isBlob: boolean;3458 readonly asBlob: Bytes;3459 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3460}34613462/** @name XcmV1MultiassetFungibility */3463export interface XcmV1MultiassetFungibility extends Enum {3464 readonly isFungible: boolean;3465 readonly asFungible: Compact<u128>;3466 readonly isNonFungible: boolean;3467 readonly asNonFungible: XcmV1MultiassetAssetInstance;3468 readonly type: 'Fungible' | 'NonFungible';3469}34703471/** @name XcmV1MultiassetMultiAssetFilter */3472export interface XcmV1MultiassetMultiAssetFilter extends Enum {3473 readonly isDefinite: boolean;3474 readonly asDefinite: XcmV1MultiassetMultiAssets;3475 readonly isWild: boolean;3476 readonly asWild: XcmV1MultiassetWildMultiAsset;3477 readonly type: 'Definite' | 'Wild';3478}34793480/** @name XcmV1MultiassetMultiAssets */3481export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34823483/** @name XcmV1MultiassetWildFungibility */3484export interface XcmV1MultiassetWildFungibility extends Enum {3485 readonly isFungible: boolean;3486 readonly isNonFungible: boolean;3487 readonly type: 'Fungible' | 'NonFungible';3488}34893490/** @name XcmV1MultiassetWildMultiAsset */3491export interface XcmV1MultiassetWildMultiAsset extends Enum {3492 readonly isAll: boolean;3493 readonly isAllOf: boolean;3494 readonly asAllOf: {3495 readonly id: XcmV1MultiassetAssetId;3496 readonly fun: XcmV1MultiassetWildFungibility;3497 } & Struct;3498 readonly type: 'All' | 'AllOf';3499}35003501/** @name XcmV1MultiLocation */3502export interface XcmV1MultiLocation extends Struct {3503 readonly parents: u8;3504 readonly interior: XcmV1MultilocationJunctions;3505}35063507/** @name XcmV1MultilocationJunctions */3508export interface XcmV1MultilocationJunctions extends Enum {3509 readonly isHere: boolean;3510 readonly isX1: boolean;3511 readonly asX1: XcmV1Junction;3512 readonly isX2: boolean;3513 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3514 readonly isX3: boolean;3515 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3516 readonly isX4: boolean;3517 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3518 readonly isX5: boolean;3519 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3520 readonly isX6: boolean;3521 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3522 readonly isX7: boolean;3523 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3524 readonly isX8: boolean;3525 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3526 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3527}35283529/** @name XcmV1Order */3530export interface XcmV1Order extends Enum {3531 readonly isNoop: boolean;3532 readonly isDepositAsset: boolean;3533 readonly asDepositAsset: {3534 readonly assets: XcmV1MultiassetMultiAssetFilter;3535 readonly maxAssets: u32;3536 readonly beneficiary: XcmV1MultiLocation;3537 } & Struct;3538 readonly isDepositReserveAsset: boolean;3539 readonly asDepositReserveAsset: {3540 readonly assets: XcmV1MultiassetMultiAssetFilter;3541 readonly maxAssets: u32;3542 readonly dest: XcmV1MultiLocation;3543 readonly effects: Vec<XcmV1Order>;3544 } & Struct;3545 readonly isExchangeAsset: boolean;3546 readonly asExchangeAsset: {3547 readonly give: XcmV1MultiassetMultiAssetFilter;3548 readonly receive: XcmV1MultiassetMultiAssets;3549 } & Struct;3550 readonly isInitiateReserveWithdraw: boolean;3551 readonly asInitiateReserveWithdraw: {3552 readonly assets: XcmV1MultiassetMultiAssetFilter;3553 readonly reserve: XcmV1MultiLocation;3554 readonly effects: Vec<XcmV1Order>;3555 } & Struct;3556 readonly isInitiateTeleport: boolean;3557 readonly asInitiateTeleport: {3558 readonly assets: XcmV1MultiassetMultiAssetFilter;3559 readonly dest: XcmV1MultiLocation;3560 readonly effects: Vec<XcmV1Order>;3561 } & Struct;3562 readonly isQueryHolding: boolean;3563 readonly asQueryHolding: {3564 readonly queryId: Compact<u64>;3565 readonly dest: XcmV1MultiLocation;3566 readonly assets: XcmV1MultiassetMultiAssetFilter;3567 } & Struct;3568 readonly isBuyExecution: boolean;3569 readonly asBuyExecution: {3570 readonly fees: XcmV1MultiAsset;3571 readonly weight: u64;3572 readonly debt: u64;3573 readonly haltOnError: bool;3574 readonly instructions: Vec<XcmV1Xcm>;3575 } & Struct;3576 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3577}35783579/** @name XcmV1Response */3580export interface XcmV1Response extends Enum {3581 readonly isAssets: boolean;3582 readonly asAssets: XcmV1MultiassetMultiAssets;3583 readonly isVersion: boolean;3584 readonly asVersion: u32;3585 readonly type: 'Assets' | 'Version';3586}35873588/** @name XcmV1Xcm */3589export interface XcmV1Xcm extends Enum {3590 readonly isWithdrawAsset: boolean;3591 readonly asWithdrawAsset: {3592 readonly assets: XcmV1MultiassetMultiAssets;3593 readonly effects: Vec<XcmV1Order>;3594 } & Struct;3595 readonly isReserveAssetDeposited: boolean;3596 readonly asReserveAssetDeposited: {3597 readonly assets: XcmV1MultiassetMultiAssets;3598 readonly effects: Vec<XcmV1Order>;3599 } & Struct;3600 readonly isReceiveTeleportedAsset: boolean;3601 readonly asReceiveTeleportedAsset: {3602 readonly assets: XcmV1MultiassetMultiAssets;3603 readonly effects: Vec<XcmV1Order>;3604 } & Struct;3605 readonly isQueryResponse: boolean;3606 readonly asQueryResponse: {3607 readonly queryId: Compact<u64>;3608 readonly response: XcmV1Response;3609 } & Struct;3610 readonly isTransferAsset: boolean;3611 readonly asTransferAsset: {3612 readonly assets: XcmV1MultiassetMultiAssets;3613 readonly beneficiary: XcmV1MultiLocation;3614 } & Struct;3615 readonly isTransferReserveAsset: boolean;3616 readonly asTransferReserveAsset: {3617 readonly assets: XcmV1MultiassetMultiAssets;3618 readonly dest: XcmV1MultiLocation;3619 readonly effects: Vec<XcmV1Order>;3620 } & Struct;3621 readonly isTransact: boolean;3622 readonly asTransact: {3623 readonly originType: XcmV0OriginKind;3624 readonly requireWeightAtMost: u64;3625 readonly call: XcmDoubleEncoded;3626 } & Struct;3627 readonly isHrmpNewChannelOpenRequest: boolean;3628 readonly asHrmpNewChannelOpenRequest: {3629 readonly sender: Compact<u32>;3630 readonly maxMessageSize: Compact<u32>;3631 readonly maxCapacity: Compact<u32>;3632 } & Struct;3633 readonly isHrmpChannelAccepted: boolean;3634 readonly asHrmpChannelAccepted: {3635 readonly recipient: Compact<u32>;3636 } & Struct;3637 readonly isHrmpChannelClosing: boolean;3638 readonly asHrmpChannelClosing: {3639 readonly initiator: Compact<u32>;3640 readonly sender: Compact<u32>;3641 readonly recipient: Compact<u32>;3642 } & Struct;3643 readonly isRelayedFrom: boolean;3644 readonly asRelayedFrom: {3645 readonly who: XcmV1MultilocationJunctions;3646 readonly message: XcmV1Xcm;3647 } & Struct;3648 readonly isSubscribeVersion: boolean;3649 readonly asSubscribeVersion: {3650 readonly queryId: Compact<u64>;3651 readonly maxResponseWeight: Compact<u64>;3652 } & Struct;3653 readonly isUnsubscribeVersion: boolean;3654 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3655}36563657/** @name XcmV2Instruction */3658export interface XcmV2Instruction extends Enum {3659 readonly isWithdrawAsset: boolean;3660 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3661 readonly isReserveAssetDeposited: boolean;3662 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3663 readonly isReceiveTeleportedAsset: boolean;3664 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3665 readonly isQueryResponse: boolean;3666 readonly asQueryResponse: {3667 readonly queryId: Compact<u64>;3668 readonly response: XcmV2Response;3669 readonly maxWeight: Compact<u64>;3670 } & Struct;3671 readonly isTransferAsset: boolean;3672 readonly asTransferAsset: {3673 readonly assets: XcmV1MultiassetMultiAssets;3674 readonly beneficiary: XcmV1MultiLocation;3675 } & Struct;3676 readonly isTransferReserveAsset: boolean;3677 readonly asTransferReserveAsset: {3678 readonly assets: XcmV1MultiassetMultiAssets;3679 readonly dest: XcmV1MultiLocation;3680 readonly xcm: XcmV2Xcm;3681 } & Struct;3682 readonly isTransact: boolean;3683 readonly asTransact: {3684 readonly originType: XcmV0OriginKind;3685 readonly requireWeightAtMost: Compact<u64>;3686 readonly call: XcmDoubleEncoded;3687 } & Struct;3688 readonly isHrmpNewChannelOpenRequest: boolean;3689 readonly asHrmpNewChannelOpenRequest: {3690 readonly sender: Compact<u32>;3691 readonly maxMessageSize: Compact<u32>;3692 readonly maxCapacity: Compact<u32>;3693 } & Struct;3694 readonly isHrmpChannelAccepted: boolean;3695 readonly asHrmpChannelAccepted: {3696 readonly recipient: Compact<u32>;3697 } & Struct;3698 readonly isHrmpChannelClosing: boolean;3699 readonly asHrmpChannelClosing: {3700 readonly initiator: Compact<u32>;3701 readonly sender: Compact<u32>;3702 readonly recipient: Compact<u32>;3703 } & Struct;3704 readonly isClearOrigin: boolean;3705 readonly isDescendOrigin: boolean;3706 readonly asDescendOrigin: XcmV1MultilocationJunctions;3707 readonly isReportError: boolean;3708 readonly asReportError: {3709 readonly queryId: Compact<u64>;3710 readonly dest: XcmV1MultiLocation;3711 readonly maxResponseWeight: Compact<u64>;3712 } & Struct;3713 readonly isDepositAsset: boolean;3714 readonly asDepositAsset: {3715 readonly assets: XcmV1MultiassetMultiAssetFilter;3716 readonly maxAssets: Compact<u32>;3717 readonly beneficiary: XcmV1MultiLocation;3718 } & Struct;3719 readonly isDepositReserveAsset: boolean;3720 readonly asDepositReserveAsset: {3721 readonly assets: XcmV1MultiassetMultiAssetFilter;3722 readonly maxAssets: Compact<u32>;3723 readonly dest: XcmV1MultiLocation;3724 readonly xcm: XcmV2Xcm;3725 } & Struct;3726 readonly isExchangeAsset: boolean;3727 readonly asExchangeAsset: {3728 readonly give: XcmV1MultiassetMultiAssetFilter;3729 readonly receive: XcmV1MultiassetMultiAssets;3730 } & Struct;3731 readonly isInitiateReserveWithdraw: boolean;3732 readonly asInitiateReserveWithdraw: {3733 readonly assets: XcmV1MultiassetMultiAssetFilter;3734 readonly reserve: XcmV1MultiLocation;3735 readonly xcm: XcmV2Xcm;3736 } & Struct;3737 readonly isInitiateTeleport: boolean;3738 readonly asInitiateTeleport: {3739 readonly assets: XcmV1MultiassetMultiAssetFilter;3740 readonly dest: XcmV1MultiLocation;3741 readonly xcm: XcmV2Xcm;3742 } & Struct;3743 readonly isQueryHolding: boolean;3744 readonly asQueryHolding: {3745 readonly queryId: Compact<u64>;3746 readonly dest: XcmV1MultiLocation;3747 readonly assets: XcmV1MultiassetMultiAssetFilter;3748 readonly maxResponseWeight: Compact<u64>;3749 } & Struct;3750 readonly isBuyExecution: boolean;3751 readonly asBuyExecution: {3752 readonly fees: XcmV1MultiAsset;3753 readonly weightLimit: XcmV2WeightLimit;3754 } & Struct;3755 readonly isRefundSurplus: boolean;3756 readonly isSetErrorHandler: boolean;3757 readonly asSetErrorHandler: XcmV2Xcm;3758 readonly isSetAppendix: boolean;3759 readonly asSetAppendix: XcmV2Xcm;3760 readonly isClearError: boolean;3761 readonly isClaimAsset: boolean;3762 readonly asClaimAsset: {3763 readonly assets: XcmV1MultiassetMultiAssets;3764 readonly ticket: XcmV1MultiLocation;3765 } & Struct;3766 readonly isTrap: boolean;3767 readonly asTrap: Compact<u64>;3768 readonly isSubscribeVersion: boolean;3769 readonly asSubscribeVersion: {3770 readonly queryId: Compact<u64>;3771 readonly maxResponseWeight: Compact<u64>;3772 } & Struct;3773 readonly isUnsubscribeVersion: boolean;3774 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';3775}37763777/** @name XcmV2Response */3778export interface XcmV2Response extends Enum {3779 readonly isNull: boolean;3780 readonly isAssets: boolean;3781 readonly asAssets: XcmV1MultiassetMultiAssets;3782 readonly isExecutionResult: boolean;3783 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3784 readonly isVersion: boolean;3785 readonly asVersion: u32;3786 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3787}37883789/** @name XcmV2TraitsError */3790export interface XcmV2TraitsError extends Enum {3791 readonly isOverflow: boolean;3792 readonly isUnimplemented: boolean;3793 readonly isUntrustedReserveLocation: boolean;3794 readonly isUntrustedTeleportLocation: boolean;3795 readonly isMultiLocationFull: boolean;3796 readonly isMultiLocationNotInvertible: boolean;3797 readonly isBadOrigin: boolean;3798 readonly isInvalidLocation: boolean;3799 readonly isAssetNotFound: boolean;3800 readonly isFailedToTransactAsset: boolean;3801 readonly isNotWithdrawable: boolean;3802 readonly isLocationCannotHold: boolean;3803 readonly isExceedsMaxMessageSize: boolean;3804 readonly isDestinationUnsupported: boolean;3805 readonly isTransport: boolean;3806 readonly isUnroutable: boolean;3807 readonly isUnknownClaim: boolean;3808 readonly isFailedToDecode: boolean;3809 readonly isMaxWeightInvalid: boolean;3810 readonly isNotHoldingFees: boolean;3811 readonly isTooExpensive: boolean;3812 readonly isTrap: boolean;3813 readonly asTrap: u64;3814 readonly isUnhandledXcmVersion: boolean;3815 readonly isWeightLimitReached: boolean;3816 readonly asWeightLimitReached: u64;3817 readonly isBarrier: boolean;3818 readonly isWeightNotComputable: boolean;3819 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';3820}38213822/** @name XcmV2TraitsOutcome */3823export interface XcmV2TraitsOutcome extends Enum {3824 readonly isComplete: boolean;3825 readonly asComplete: u64;3826 readonly isIncomplete: boolean;3827 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3828 readonly isError: boolean;3829 readonly asError: XcmV2TraitsError;3830 readonly type: 'Complete' | 'Incomplete' | 'Error';3831}38323833/** @name XcmV2WeightLimit */3834export interface XcmV2WeightLimit extends Enum {3835 readonly isUnlimited: boolean;3836 readonly isLimited: boolean;3837 readonly asLimited: Compact<u64>;3838 readonly type: 'Unlimited' | 'Limited';3839}38403841/** @name XcmV2Xcm */3842export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}38433844/** @name XcmVersionedMultiAsset */3845export interface XcmVersionedMultiAsset extends Enum {3846 readonly isV0: boolean;3847 readonly asV0: XcmV0MultiAsset;3848 readonly isV1: boolean;3849 readonly asV1: XcmV1MultiAsset;3850 readonly type: 'V0' | 'V1';3851}38523853/** @name XcmVersionedMultiAssets */3854export interface XcmVersionedMultiAssets extends Enum {3855 readonly isV0: boolean;3856 readonly asV0: Vec<XcmV0MultiAsset>;3857 readonly isV1: boolean;3858 readonly asV1: XcmV1MultiassetMultiAssets;3859 readonly type: 'V0' | 'V1';3860}38613862/** @name XcmVersionedMultiLocation */3863export interface XcmVersionedMultiLocation extends Enum {3864 readonly isV0: boolean;3865 readonly asV0: XcmV0MultiLocation;3866 readonly isV1: boolean;3867 readonly asV1: XcmV1MultiLocation;3868 readonly type: 'V0' | 'V1';3869}38703871/** @name XcmVersionedXcm */3872export interface XcmVersionedXcm extends Enum {3873 readonly isV0: boolean;3874 readonly asV0: XcmV0Xcm;3875 readonly isV1: boolean;3876 readonly asV1: XcmV1Xcm;3877 readonly isV2: boolean;3878 readonly asV2: XcmV2Xcm;3879 readonly type: 'V0' | 'V1' | 'V2';3880}38813882export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { Data } from '@polkadot/types';5import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';8import type { Event } from '@polkadot/types/interfaces/system';910/** @name CumulusPalletDmpQueueCall */11export interface CumulusPalletDmpQueueCall extends Enum {12 readonly isServiceOverweight: boolean;13 readonly asServiceOverweight: {14 readonly index: u64;15 readonly weightLimit: u64;16 } & Struct;17 readonly type: 'ServiceOverweight';18}1920/** @name CumulusPalletDmpQueueConfigData */21export interface CumulusPalletDmpQueueConfigData extends Struct {22 readonly maxIndividual: SpWeightsWeightV2Weight;23}2425/** @name CumulusPalletDmpQueueError */26export interface CumulusPalletDmpQueueError extends Enum {27 readonly isUnknown: boolean;28 readonly isOverLimit: boolean;29 readonly type: 'Unknown' | 'OverLimit';30}3132/** @name CumulusPalletDmpQueueEvent */33export interface CumulusPalletDmpQueueEvent extends Enum {34 readonly isInvalidFormat: boolean;35 readonly asInvalidFormat: {36 readonly messageId: U8aFixed;37 } & Struct;38 readonly isUnsupportedVersion: boolean;39 readonly asUnsupportedVersion: {40 readonly messageId: U8aFixed;41 } & Struct;42 readonly isExecutedDownward: boolean;43 readonly asExecutedDownward: {44 readonly messageId: U8aFixed;45 readonly outcome: XcmV2TraitsOutcome;46 } & Struct;47 readonly isWeightExhausted: boolean;48 readonly asWeightExhausted: {49 readonly messageId: U8aFixed;50 readonly remainingWeight: SpWeightsWeightV2Weight;51 readonly requiredWeight: SpWeightsWeightV2Weight;52 } & Struct;53 readonly isOverweightEnqueued: boolean;54 readonly asOverweightEnqueued: {55 readonly messageId: U8aFixed;56 readonly overweightIndex: u64;57 readonly requiredWeight: SpWeightsWeightV2Weight;58 } & Struct;59 readonly isOverweightServiced: boolean;60 readonly asOverweightServiced: {61 readonly overweightIndex: u64;62 readonly weightUsed: SpWeightsWeightV2Weight;63 } & Struct;64 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';65}6667/** @name CumulusPalletDmpQueuePageIndexData */68export interface CumulusPalletDmpQueuePageIndexData extends Struct {69 readonly beginUsed: u32;70 readonly endUsed: u32;71 readonly overweightCount: u64;72}7374/** @name CumulusPalletParachainSystemCall */75export interface CumulusPalletParachainSystemCall extends Enum {76 readonly isSetValidationData: boolean;77 readonly asSetValidationData: {78 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;79 } & Struct;80 readonly isSudoSendUpwardMessage: boolean;81 readonly asSudoSendUpwardMessage: {82 readonly message: Bytes;83 } & Struct;84 readonly isAuthorizeUpgrade: boolean;85 readonly asAuthorizeUpgrade: {86 readonly codeHash: H256;87 } & Struct;88 readonly isEnactAuthorizedUpgrade: boolean;89 readonly asEnactAuthorizedUpgrade: {90 readonly code: Bytes;91 } & Struct;92 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';93}9495/** @name CumulusPalletParachainSystemError */96export interface CumulusPalletParachainSystemError extends Enum {97 readonly isOverlappingUpgrades: boolean;98 readonly isProhibitedByPolkadot: boolean;99 readonly isTooBig: boolean;100 readonly isValidationDataNotAvailable: boolean;101 readonly isHostConfigurationNotAvailable: boolean;102 readonly isNotScheduled: boolean;103 readonly isNothingAuthorized: boolean;104 readonly isUnauthorized: boolean;105 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';106}107108/** @name CumulusPalletParachainSystemEvent */109export interface CumulusPalletParachainSystemEvent extends Enum {110 readonly isValidationFunctionStored: boolean;111 readonly isValidationFunctionApplied: boolean;112 readonly asValidationFunctionApplied: {113 readonly relayChainBlockNum: u32;114 } & Struct;115 readonly isValidationFunctionDiscarded: boolean;116 readonly isUpgradeAuthorized: boolean;117 readonly asUpgradeAuthorized: {118 readonly codeHash: H256;119 } & Struct;120 readonly isDownwardMessagesReceived: boolean;121 readonly asDownwardMessagesReceived: {122 readonly count: u32;123 } & Struct;124 readonly isDownwardMessagesProcessed: boolean;125 readonly asDownwardMessagesProcessed: {126 readonly weightUsed: SpWeightsWeightV2Weight;127 readonly dmqHead: H256;128 } & Struct;129 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';130}131132/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */133export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {134 readonly dmqMqcHead: H256;135 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;136 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;138}139140/** @name CumulusPalletXcmCall */141export interface CumulusPalletXcmCall extends Null {}142143/** @name CumulusPalletXcmError */144export interface CumulusPalletXcmError extends Null {}145146/** @name CumulusPalletXcmEvent */147export interface CumulusPalletXcmEvent extends Enum {148 readonly isInvalidFormat: boolean;149 readonly asInvalidFormat: U8aFixed;150 readonly isUnsupportedVersion: boolean;151 readonly asUnsupportedVersion: U8aFixed;152 readonly isExecutedDownward: boolean;153 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;154 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';155}156157/** @name CumulusPalletXcmpQueueCall */158export interface CumulusPalletXcmpQueueCall extends Enum {159 readonly isServiceOverweight: boolean;160 readonly asServiceOverweight: {161 readonly index: u64;162 readonly weightLimit: u64;163 } & Struct;164 readonly isSuspendXcmExecution: boolean;165 readonly isResumeXcmExecution: boolean;166 readonly isUpdateSuspendThreshold: boolean;167 readonly asUpdateSuspendThreshold: {168 readonly new_: u32;169 } & Struct;170 readonly isUpdateDropThreshold: boolean;171 readonly asUpdateDropThreshold: {172 readonly new_: u32;173 } & Struct;174 readonly isUpdateResumeThreshold: boolean;175 readonly asUpdateResumeThreshold: {176 readonly new_: u32;177 } & Struct;178 readonly isUpdateThresholdWeight: boolean;179 readonly asUpdateThresholdWeight: {180 readonly new_: u64;181 } & Struct;182 readonly isUpdateWeightRestrictDecay: boolean;183 readonly asUpdateWeightRestrictDecay: {184 readonly new_: u64;185 } & Struct;186 readonly isUpdateXcmpMaxIndividualWeight: boolean;187 readonly asUpdateXcmpMaxIndividualWeight: {188 readonly new_: u64;189 } & Struct;190 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';191}192193/** @name CumulusPalletXcmpQueueError */194export interface CumulusPalletXcmpQueueError extends Enum {195 readonly isFailedToSend: boolean;196 readonly isBadXcmOrigin: boolean;197 readonly isBadXcm: boolean;198 readonly isBadOverweightIndex: boolean;199 readonly isWeightOverLimit: boolean;200 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';201}202203/** @name CumulusPalletXcmpQueueEvent */204export interface CumulusPalletXcmpQueueEvent extends Enum {205 readonly isSuccess: boolean;206 readonly asSuccess: {207 readonly messageHash: Option<H256>;208 readonly weight: SpWeightsWeightV2Weight;209 } & Struct;210 readonly isFail: boolean;211 readonly asFail: {212 readonly messageHash: Option<H256>;213 readonly error: XcmV2TraitsError;214 readonly weight: SpWeightsWeightV2Weight;215 } & Struct;216 readonly isBadVersion: boolean;217 readonly asBadVersion: {218 readonly messageHash: Option<H256>;219 } & Struct;220 readonly isBadFormat: boolean;221 readonly asBadFormat: {222 readonly messageHash: Option<H256>;223 } & Struct;224 readonly isUpwardMessageSent: boolean;225 readonly asUpwardMessageSent: {226 readonly messageHash: Option<H256>;227 } & Struct;228 readonly isXcmpMessageSent: boolean;229 readonly asXcmpMessageSent: {230 readonly messageHash: Option<H256>;231 } & Struct;232 readonly isOverweightEnqueued: boolean;233 readonly asOverweightEnqueued: {234 readonly sender: u32;235 readonly sentAt: u32;236 readonly index: u64;237 readonly required: SpWeightsWeightV2Weight;238 } & Struct;239 readonly isOverweightServiced: boolean;240 readonly asOverweightServiced: {241 readonly index: u64;242 readonly used: SpWeightsWeightV2Weight;243 } & Struct;244 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';245}246247/** @name CumulusPalletXcmpQueueInboundChannelDetails */248export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {249 readonly sender: u32;250 readonly state: CumulusPalletXcmpQueueInboundState;251 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;252}253254/** @name CumulusPalletXcmpQueueInboundState */255export interface CumulusPalletXcmpQueueInboundState extends Enum {256 readonly isOk: boolean;257 readonly isSuspended: boolean;258 readonly type: 'Ok' | 'Suspended';259}260261/** @name CumulusPalletXcmpQueueOutboundChannelDetails */262export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {263 readonly recipient: u32;264 readonly state: CumulusPalletXcmpQueueOutboundState;265 readonly signalsExist: bool;266 readonly firstIndex: u16;267 readonly lastIndex: u16;268}269270/** @name CumulusPalletXcmpQueueOutboundState */271export interface CumulusPalletXcmpQueueOutboundState extends Enum {272 readonly isOk: boolean;273 readonly isSuspended: boolean;274 readonly type: 'Ok' | 'Suspended';275}276277/** @name CumulusPalletXcmpQueueQueueConfigData */278export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {279 readonly suspendThreshold: u32;280 readonly dropThreshold: u32;281 readonly resumeThreshold: u32;282 readonly thresholdWeight: SpWeightsWeightV2Weight;283 readonly weightRestrictDecay: SpWeightsWeightV2Weight;284 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;285}286287/** @name CumulusPrimitivesParachainInherentParachainInherentData */288export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {289 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;290 readonly relayChainState: SpTrieStorageProof;291 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;292 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;293}294295/** @name EthbloomBloom */296export interface EthbloomBloom extends U8aFixed {}297298/** @name EthereumBlock */299export interface EthereumBlock extends Struct {300 readonly header: EthereumHeader;301 readonly transactions: Vec<EthereumTransactionTransactionV2>;302 readonly ommers: Vec<EthereumHeader>;303}304305/** @name EthereumHeader */306export interface EthereumHeader extends Struct {307 readonly parentHash: H256;308 readonly ommersHash: H256;309 readonly beneficiary: H160;310 readonly stateRoot: H256;311 readonly transactionsRoot: H256;312 readonly receiptsRoot: H256;313 readonly logsBloom: EthbloomBloom;314 readonly difficulty: U256;315 readonly number: U256;316 readonly gasLimit: U256;317 readonly gasUsed: U256;318 readonly timestamp: u64;319 readonly extraData: Bytes;320 readonly mixHash: H256;321 readonly nonce: EthereumTypesHashH64;322}323324/** @name EthereumLog */325export interface EthereumLog extends Struct {326 readonly address: H160;327 readonly topics: Vec<H256>;328 readonly data: Bytes;329}330331/** @name EthereumReceiptEip658ReceiptData */332export interface EthereumReceiptEip658ReceiptData extends Struct {333 readonly statusCode: u8;334 readonly usedGas: U256;335 readonly logsBloom: EthbloomBloom;336 readonly logs: Vec<EthereumLog>;337}338339/** @name EthereumReceiptReceiptV3 */340export interface EthereumReceiptReceiptV3 extends Enum {341 readonly isLegacy: boolean;342 readonly asLegacy: EthereumReceiptEip658ReceiptData;343 readonly isEip2930: boolean;344 readonly asEip2930: EthereumReceiptEip658ReceiptData;345 readonly isEip1559: boolean;346 readonly asEip1559: EthereumReceiptEip658ReceiptData;347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';348}349350/** @name EthereumTransactionAccessListItem */351export interface EthereumTransactionAccessListItem extends Struct {352 readonly address: H160;353 readonly storageKeys: Vec<H256>;354}355356/** @name EthereumTransactionEip1559Transaction */357export interface EthereumTransactionEip1559Transaction extends Struct {358 readonly chainId: u64;359 readonly nonce: U256;360 readonly maxPriorityFeePerGas: U256;361 readonly maxFeePerGas: U256;362 readonly gasLimit: U256;363 readonly action: EthereumTransactionTransactionAction;364 readonly value: U256;365 readonly input: Bytes;366 readonly accessList: Vec<EthereumTransactionAccessListItem>;367 readonly oddYParity: bool;368 readonly r: H256;369 readonly s: H256;370}371372/** @name EthereumTransactionEip2930Transaction */373export interface EthereumTransactionEip2930Transaction extends Struct {374 readonly chainId: u64;375 readonly nonce: U256;376 readonly gasPrice: U256;377 readonly gasLimit: U256;378 readonly action: EthereumTransactionTransactionAction;379 readonly value: U256;380 readonly input: Bytes;381 readonly accessList: Vec<EthereumTransactionAccessListItem>;382 readonly oddYParity: bool;383 readonly r: H256;384 readonly s: H256;385}386387/** @name EthereumTransactionLegacyTransaction */388export interface EthereumTransactionLegacyTransaction extends Struct {389 readonly nonce: U256;390 readonly gasPrice: U256;391 readonly gasLimit: U256;392 readonly action: EthereumTransactionTransactionAction;393 readonly value: U256;394 readonly input: Bytes;395 readonly signature: EthereumTransactionTransactionSignature;396}397398/** @name EthereumTransactionTransactionAction */399export interface EthereumTransactionTransactionAction extends Enum {400 readonly isCall: boolean;401 readonly asCall: H160;402 readonly isCreate: boolean;403 readonly type: 'Call' | 'Create';404}405406/** @name EthereumTransactionTransactionSignature */407export interface EthereumTransactionTransactionSignature extends Struct {408 readonly v: u64;409 readonly r: H256;410 readonly s: H256;411}412413/** @name EthereumTransactionTransactionV2 */414export interface EthereumTransactionTransactionV2 extends Enum {415 readonly isLegacy: boolean;416 readonly asLegacy: EthereumTransactionLegacyTransaction;417 readonly isEip2930: boolean;418 readonly asEip2930: EthereumTransactionEip2930Transaction;419 readonly isEip1559: boolean;420 readonly asEip1559: EthereumTransactionEip1559Transaction;421 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';422}423424/** @name EthereumTypesHashH64 */425export interface EthereumTypesHashH64 extends U8aFixed {}426427/** @name EvmCoreErrorExitError */428export interface EvmCoreErrorExitError extends Enum {429 readonly isStackUnderflow: boolean;430 readonly isStackOverflow: boolean;431 readonly isInvalidJump: boolean;432 readonly isInvalidRange: boolean;433 readonly isDesignatedInvalid: boolean;434 readonly isCallTooDeep: boolean;435 readonly isCreateCollision: boolean;436 readonly isCreateContractLimit: boolean;437 readonly isOutOfOffset: boolean;438 readonly isOutOfGas: boolean;439 readonly isOutOfFund: boolean;440 readonly isPcUnderflow: boolean;441 readonly isCreateEmpty: boolean;442 readonly isOther: boolean;443 readonly asOther: Text;444 readonly isInvalidCode: boolean;445 readonly asInvalidCode: u8;446 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';447}448449/** @name EvmCoreErrorExitFatal */450export interface EvmCoreErrorExitFatal extends Enum {451 readonly isNotSupported: boolean;452 readonly isUnhandledInterrupt: boolean;453 readonly isCallErrorAsFatal: boolean;454 readonly asCallErrorAsFatal: EvmCoreErrorExitError;455 readonly isOther: boolean;456 readonly asOther: Text;457 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';458}459460/** @name EvmCoreErrorExitReason */461export interface EvmCoreErrorExitReason extends Enum {462 readonly isSucceed: boolean;463 readonly asSucceed: EvmCoreErrorExitSucceed;464 readonly isError: boolean;465 readonly asError: EvmCoreErrorExitError;466 readonly isRevert: boolean;467 readonly asRevert: EvmCoreErrorExitRevert;468 readonly isFatal: boolean;469 readonly asFatal: EvmCoreErrorExitFatal;470 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';471}472473/** @name EvmCoreErrorExitRevert */474export interface EvmCoreErrorExitRevert extends Enum {475 readonly isReverted: boolean;476 readonly type: 'Reverted';477}478479/** @name EvmCoreErrorExitSucceed */480export interface EvmCoreErrorExitSucceed extends Enum {481 readonly isStopped: boolean;482 readonly isReturned: boolean;483 readonly isSuicided: boolean;484 readonly type: 'Stopped' | 'Returned' | 'Suicided';485}486487/** @name FpRpcTransactionStatus */488export interface FpRpcTransactionStatus extends Struct {489 readonly transactionHash: H256;490 readonly transactionIndex: u32;491 readonly from: H160;492 readonly to: Option<H160>;493 readonly contractAddress: Option<H160>;494 readonly logs: Vec<EthereumLog>;495 readonly logsBloom: EthbloomBloom;496}497498/** @name FrameSupportDispatchDispatchClass */499export interface FrameSupportDispatchDispatchClass extends Enum {500 readonly isNormal: boolean;501 readonly isOperational: boolean;502 readonly isMandatory: boolean;503 readonly type: 'Normal' | 'Operational' | 'Mandatory';504}505506/** @name FrameSupportDispatchDispatchInfo */507export interface FrameSupportDispatchDispatchInfo extends Struct {508 readonly weight: SpWeightsWeightV2Weight;509 readonly class: FrameSupportDispatchDispatchClass;510 readonly paysFee: FrameSupportDispatchPays;511}512513/** @name FrameSupportDispatchPays */514export interface FrameSupportDispatchPays extends Enum {515 readonly isYes: boolean;516 readonly isNo: boolean;517 readonly type: 'Yes' | 'No';518}519520/** @name FrameSupportDispatchPerDispatchClassU32 */521export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {522 readonly normal: u32;523 readonly operational: u32;524 readonly mandatory: u32;525}526527/** @name FrameSupportDispatchPerDispatchClassWeight */528export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {529 readonly normal: SpWeightsWeightV2Weight;530 readonly operational: SpWeightsWeightV2Weight;531 readonly mandatory: SpWeightsWeightV2Weight;532}533534/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */535export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {536 readonly normal: FrameSystemLimitsWeightsPerClass;537 readonly operational: FrameSystemLimitsWeightsPerClass;538 readonly mandatory: FrameSystemLimitsWeightsPerClass;539}540541/** @name FrameSupportPalletId */542export interface FrameSupportPalletId extends U8aFixed {}543544/** @name FrameSupportTokensMiscBalanceStatus */545export interface FrameSupportTokensMiscBalanceStatus extends Enum {546 readonly isFree: boolean;547 readonly isReserved: boolean;548 readonly type: 'Free' | 'Reserved';549}550551/** @name FrameSystemAccountInfo */552export interface FrameSystemAccountInfo extends Struct {553 readonly nonce: u32;554 readonly consumers: u32;555 readonly providers: u32;556 readonly sufficients: u32;557 readonly data: PalletBalancesAccountData;558}559560/** @name FrameSystemCall */561export interface FrameSystemCall extends Enum {562 readonly isRemark: boolean;563 readonly asRemark: {564 readonly remark: Bytes;565 } & Struct;566 readonly isSetHeapPages: boolean;567 readonly asSetHeapPages: {568 readonly pages: u64;569 } & Struct;570 readonly isSetCode: boolean;571 readonly asSetCode: {572 readonly code: Bytes;573 } & Struct;574 readonly isSetCodeWithoutChecks: boolean;575 readonly asSetCodeWithoutChecks: {576 readonly code: Bytes;577 } & Struct;578 readonly isSetStorage: boolean;579 readonly asSetStorage: {580 readonly items: Vec<ITuple<[Bytes, Bytes]>>;581 } & Struct;582 readonly isKillStorage: boolean;583 readonly asKillStorage: {584 readonly keys_: Vec<Bytes>;585 } & Struct;586 readonly isKillPrefix: boolean;587 readonly asKillPrefix: {588 readonly prefix: Bytes;589 readonly subkeys: u32;590 } & Struct;591 readonly isRemarkWithEvent: boolean;592 readonly asRemarkWithEvent: {593 readonly remark: Bytes;594 } & Struct;595 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';596}597598/** @name FrameSystemError */599export interface FrameSystemError extends Enum {600 readonly isInvalidSpecName: boolean;601 readonly isSpecVersionNeedsToIncrease: boolean;602 readonly isFailedToExtractRuntimeVersion: boolean;603 readonly isNonDefaultComposite: boolean;604 readonly isNonZeroRefCount: boolean;605 readonly isCallFiltered: boolean;606 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';607}608609/** @name FrameSystemEvent */610export interface FrameSystemEvent extends Enum {611 readonly isExtrinsicSuccess: boolean;612 readonly asExtrinsicSuccess: {613 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;614 } & Struct;615 readonly isExtrinsicFailed: boolean;616 readonly asExtrinsicFailed: {617 readonly dispatchError: SpRuntimeDispatchError;618 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;619 } & Struct;620 readonly isCodeUpdated: boolean;621 readonly isNewAccount: boolean;622 readonly asNewAccount: {623 readonly account: AccountId32;624 } & Struct;625 readonly isKilledAccount: boolean;626 readonly asKilledAccount: {627 readonly account: AccountId32;628 } & Struct;629 readonly isRemarked: boolean;630 readonly asRemarked: {631 readonly sender: AccountId32;632 readonly hash_: H256;633 } & Struct;634 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';635}636637/** @name FrameSystemEventRecord */638export interface FrameSystemEventRecord extends Struct {639 readonly phase: FrameSystemPhase;640 readonly event: Event;641 readonly topics: Vec<H256>;642}643644/** @name FrameSystemExtensionsCheckGenesis */645export interface FrameSystemExtensionsCheckGenesis extends Null {}646647/** @name FrameSystemExtensionsCheckNonce */648export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}649650/** @name FrameSystemExtensionsCheckSpecVersion */651export interface FrameSystemExtensionsCheckSpecVersion extends Null {}652653/** @name FrameSystemExtensionsCheckTxVersion */654export interface FrameSystemExtensionsCheckTxVersion extends Null {}655656/** @name FrameSystemExtensionsCheckWeight */657export interface FrameSystemExtensionsCheckWeight extends Null {}658659/** @name FrameSystemLastRuntimeUpgradeInfo */660export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {661 readonly specVersion: Compact<u32>;662 readonly specName: Text;663}664665/** @name FrameSystemLimitsBlockLength */666export interface FrameSystemLimitsBlockLength extends Struct {667 readonly max: FrameSupportDispatchPerDispatchClassU32;668}669670/** @name FrameSystemLimitsBlockWeights */671export interface FrameSystemLimitsBlockWeights extends Struct {672 readonly baseBlock: SpWeightsWeightV2Weight;673 readonly maxBlock: SpWeightsWeightV2Weight;674 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;675}676677/** @name FrameSystemLimitsWeightsPerClass */678export interface FrameSystemLimitsWeightsPerClass extends Struct {679 readonly baseExtrinsic: SpWeightsWeightV2Weight;680 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;681 readonly maxTotal: Option<SpWeightsWeightV2Weight>;682 readonly reserved: Option<SpWeightsWeightV2Weight>;683}684685/** @name FrameSystemPhase */686export interface FrameSystemPhase extends Enum {687 readonly isApplyExtrinsic: boolean;688 readonly asApplyExtrinsic: u32;689 readonly isFinalization: boolean;690 readonly isInitialization: boolean;691 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';692}693694/** @name OpalRuntimeRuntime */695export interface OpalRuntimeRuntime extends Null {}696697/** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls */698export interface OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls extends Null {}699700/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */701export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}702703/** @name OpalRuntimeRuntimeCommonSessionKeys */704export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {705 readonly aura: SpConsensusAuraSr25519AppSr25519Public;706}707708/** @name OrmlTokensAccountData */709export interface OrmlTokensAccountData extends Struct {710 readonly free: u128;711 readonly reserved: u128;712 readonly frozen: u128;713}714715/** @name OrmlTokensBalanceLock */716export interface OrmlTokensBalanceLock extends Struct {717 readonly id: U8aFixed;718 readonly amount: u128;719}720721/** @name OrmlTokensModuleCall */722export interface OrmlTokensModuleCall extends Enum {723 readonly isTransfer: boolean;724 readonly asTransfer: {725 readonly dest: MultiAddress;726 readonly currencyId: PalletForeignAssetsAssetIds;727 readonly amount: Compact<u128>;728 } & Struct;729 readonly isTransferAll: boolean;730 readonly asTransferAll: {731 readonly dest: MultiAddress;732 readonly currencyId: PalletForeignAssetsAssetIds;733 readonly keepAlive: bool;734 } & Struct;735 readonly isTransferKeepAlive: boolean;736 readonly asTransferKeepAlive: {737 readonly dest: MultiAddress;738 readonly currencyId: PalletForeignAssetsAssetIds;739 readonly amount: Compact<u128>;740 } & Struct;741 readonly isForceTransfer: boolean;742 readonly asForceTransfer: {743 readonly source: MultiAddress;744 readonly dest: MultiAddress;745 readonly currencyId: PalletForeignAssetsAssetIds;746 readonly amount: Compact<u128>;747 } & Struct;748 readonly isSetBalance: boolean;749 readonly asSetBalance: {750 readonly who: MultiAddress;751 readonly currencyId: PalletForeignAssetsAssetIds;752 readonly newFree: Compact<u128>;753 readonly newReserved: Compact<u128>;754 } & Struct;755 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';756}757758/** @name OrmlTokensModuleError */759export interface OrmlTokensModuleError extends Enum {760 readonly isBalanceTooLow: boolean;761 readonly isAmountIntoBalanceFailed: boolean;762 readonly isLiquidityRestrictions: boolean;763 readonly isMaxLocksExceeded: boolean;764 readonly isKeepAlive: boolean;765 readonly isExistentialDeposit: boolean;766 readonly isDeadAccount: boolean;767 readonly isTooManyReserves: boolean;768 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';769}770771/** @name OrmlTokensModuleEvent */772export interface OrmlTokensModuleEvent extends Enum {773 readonly isEndowed: boolean;774 readonly asEndowed: {775 readonly currencyId: PalletForeignAssetsAssetIds;776 readonly who: AccountId32;777 readonly amount: u128;778 } & Struct;779 readonly isDustLost: boolean;780 readonly asDustLost: {781 readonly currencyId: PalletForeignAssetsAssetIds;782 readonly who: AccountId32;783 readonly amount: u128;784 } & Struct;785 readonly isTransfer: boolean;786 readonly asTransfer: {787 readonly currencyId: PalletForeignAssetsAssetIds;788 readonly from: AccountId32;789 readonly to: AccountId32;790 readonly amount: u128;791 } & Struct;792 readonly isReserved: boolean;793 readonly asReserved: {794 readonly currencyId: PalletForeignAssetsAssetIds;795 readonly who: AccountId32;796 readonly amount: u128;797 } & Struct;798 readonly isUnreserved: boolean;799 readonly asUnreserved: {800 readonly currencyId: PalletForeignAssetsAssetIds;801 readonly who: AccountId32;802 readonly amount: u128;803 } & Struct;804 readonly isReserveRepatriated: boolean;805 readonly asReserveRepatriated: {806 readonly currencyId: PalletForeignAssetsAssetIds;807 readonly from: AccountId32;808 readonly to: AccountId32;809 readonly amount: u128;810 readonly status: FrameSupportTokensMiscBalanceStatus;811 } & Struct;812 readonly isBalanceSet: boolean;813 readonly asBalanceSet: {814 readonly currencyId: PalletForeignAssetsAssetIds;815 readonly who: AccountId32;816 readonly free: u128;817 readonly reserved: u128;818 } & Struct;819 readonly isTotalIssuanceSet: boolean;820 readonly asTotalIssuanceSet: {821 readonly currencyId: PalletForeignAssetsAssetIds;822 readonly amount: u128;823 } & Struct;824 readonly isWithdrawn: boolean;825 readonly asWithdrawn: {826 readonly currencyId: PalletForeignAssetsAssetIds;827 readonly who: AccountId32;828 readonly amount: u128;829 } & Struct;830 readonly isSlashed: boolean;831 readonly asSlashed: {832 readonly currencyId: PalletForeignAssetsAssetIds;833 readonly who: AccountId32;834 readonly freeAmount: u128;835 readonly reservedAmount: u128;836 } & Struct;837 readonly isDeposited: boolean;838 readonly asDeposited: {839 readonly currencyId: PalletForeignAssetsAssetIds;840 readonly who: AccountId32;841 readonly amount: u128;842 } & Struct;843 readonly isLockSet: boolean;844 readonly asLockSet: {845 readonly lockId: U8aFixed;846 readonly currencyId: PalletForeignAssetsAssetIds;847 readonly who: AccountId32;848 readonly amount: u128;849 } & Struct;850 readonly isLockRemoved: boolean;851 readonly asLockRemoved: {852 readonly lockId: U8aFixed;853 readonly currencyId: PalletForeignAssetsAssetIds;854 readonly who: AccountId32;855 } & Struct;856 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';857}858859/** @name OrmlTokensReserveData */860export interface OrmlTokensReserveData extends Struct {861 readonly id: Null;862 readonly amount: u128;863}864865/** @name OrmlVestingModuleCall */866export interface OrmlVestingModuleCall extends Enum {867 readonly isClaim: boolean;868 readonly isVestedTransfer: boolean;869 readonly asVestedTransfer: {870 readonly dest: MultiAddress;871 readonly schedule: OrmlVestingVestingSchedule;872 } & Struct;873 readonly isUpdateVestingSchedules: boolean;874 readonly asUpdateVestingSchedules: {875 readonly who: MultiAddress;876 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;877 } & Struct;878 readonly isClaimFor: boolean;879 readonly asClaimFor: {880 readonly dest: MultiAddress;881 } & Struct;882 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';883}884885/** @name OrmlVestingModuleError */886export interface OrmlVestingModuleError extends Enum {887 readonly isZeroVestingPeriod: boolean;888 readonly isZeroVestingPeriodCount: boolean;889 readonly isInsufficientBalanceToLock: boolean;890 readonly isTooManyVestingSchedules: boolean;891 readonly isAmountLow: boolean;892 readonly isMaxVestingSchedulesExceeded: boolean;893 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';894}895896/** @name OrmlVestingModuleEvent */897export interface OrmlVestingModuleEvent extends Enum {898 readonly isVestingScheduleAdded: boolean;899 readonly asVestingScheduleAdded: {900 readonly from: AccountId32;901 readonly to: AccountId32;902 readonly vestingSchedule: OrmlVestingVestingSchedule;903 } & Struct;904 readonly isClaimed: boolean;905 readonly asClaimed: {906 readonly who: AccountId32;907 readonly amount: u128;908 } & Struct;909 readonly isVestingSchedulesUpdated: boolean;910 readonly asVestingSchedulesUpdated: {911 readonly who: AccountId32;912 } & Struct;913 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';914}915916/** @name OrmlVestingVestingSchedule */917export interface OrmlVestingVestingSchedule extends Struct {918 readonly start: u32;919 readonly period: u32;920 readonly periodCount: u32;921 readonly perPeriod: Compact<u128>;922}923924/** @name OrmlXtokensModuleCall */925export interface OrmlXtokensModuleCall extends Enum {926 readonly isTransfer: boolean;927 readonly asTransfer: {928 readonly currencyId: PalletForeignAssetsAssetIds;929 readonly amount: u128;930 readonly dest: XcmVersionedMultiLocation;931 readonly destWeightLimit: XcmV2WeightLimit;932 } & Struct;933 readonly isTransferMultiasset: boolean;934 readonly asTransferMultiasset: {935 readonly asset: XcmVersionedMultiAsset;936 readonly dest: XcmVersionedMultiLocation;937 readonly destWeightLimit: XcmV2WeightLimit;938 } & Struct;939 readonly isTransferWithFee: boolean;940 readonly asTransferWithFee: {941 readonly currencyId: PalletForeignAssetsAssetIds;942 readonly amount: u128;943 readonly fee: u128;944 readonly dest: XcmVersionedMultiLocation;945 readonly destWeightLimit: XcmV2WeightLimit;946 } & Struct;947 readonly isTransferMultiassetWithFee: boolean;948 readonly asTransferMultiassetWithFee: {949 readonly asset: XcmVersionedMultiAsset;950 readonly fee: XcmVersionedMultiAsset;951 readonly dest: XcmVersionedMultiLocation;952 readonly destWeightLimit: XcmV2WeightLimit;953 } & Struct;954 readonly isTransferMulticurrencies: boolean;955 readonly asTransferMulticurrencies: {956 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;957 readonly feeItem: u32;958 readonly dest: XcmVersionedMultiLocation;959 readonly destWeightLimit: XcmV2WeightLimit;960 } & Struct;961 readonly isTransferMultiassets: boolean;962 readonly asTransferMultiassets: {963 readonly assets: XcmVersionedMultiAssets;964 readonly feeItem: u32;965 readonly dest: XcmVersionedMultiLocation;966 readonly destWeightLimit: XcmV2WeightLimit;967 } & Struct;968 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';969}970971/** @name OrmlXtokensModuleError */972export interface OrmlXtokensModuleError extends Enum {973 readonly isAssetHasNoReserve: boolean;974 readonly isNotCrossChainTransfer: boolean;975 readonly isInvalidDest: boolean;976 readonly isNotCrossChainTransferableCurrency: boolean;977 readonly isUnweighableMessage: boolean;978 readonly isXcmExecutionFailed: boolean;979 readonly isCannotReanchor: boolean;980 readonly isInvalidAncestry: boolean;981 readonly isInvalidAsset: boolean;982 readonly isDestinationNotInvertible: boolean;983 readonly isBadVersion: boolean;984 readonly isDistinctReserveForAssetAndFee: boolean;985 readonly isZeroFee: boolean;986 readonly isZeroAmount: boolean;987 readonly isTooManyAssetsBeingSent: boolean;988 readonly isAssetIndexNonExistent: boolean;989 readonly isFeeNotEnough: boolean;990 readonly isNotSupportedMultiLocation: boolean;991 readonly isMinXcmFeeNotDefined: boolean;992 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';993}994995/** @name OrmlXtokensModuleEvent */996export interface OrmlXtokensModuleEvent extends Enum {997 readonly isTransferredMultiAssets: boolean;998 readonly asTransferredMultiAssets: {999 readonly sender: AccountId32;1000 readonly assets: XcmV1MultiassetMultiAssets;1001 readonly fee: XcmV1MultiAsset;1002 readonly dest: XcmV1MultiLocation;1003 } & Struct;1004 readonly type: 'TransferredMultiAssets';1005}10061007/** @name PalletAppPromotionCall */1008export interface PalletAppPromotionCall extends Enum {1009 readonly isSetAdminAddress: boolean;1010 readonly asSetAdminAddress: {1011 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1012 } & Struct;1013 readonly isStake: boolean;1014 readonly asStake: {1015 readonly amount: u128;1016 } & Struct;1017 readonly isUnstakeAll: boolean;1018 readonly isSponsorCollection: boolean;1019 readonly asSponsorCollection: {1020 readonly collectionId: u32;1021 } & Struct;1022 readonly isStopSponsoringCollection: boolean;1023 readonly asStopSponsoringCollection: {1024 readonly collectionId: u32;1025 } & Struct;1026 readonly isSponsorContract: boolean;1027 readonly asSponsorContract: {1028 readonly contractId: H160;1029 } & Struct;1030 readonly isStopSponsoringContract: boolean;1031 readonly asStopSponsoringContract: {1032 readonly contractId: H160;1033 } & Struct;1034 readonly isPayoutStakers: boolean;1035 readonly asPayoutStakers: {1036 readonly stakersNumber: Option<u8>;1037 } & Struct;1038 readonly isUnstakePartial: boolean;1039 readonly asUnstakePartial: {1040 readonly amount: u128;1041 } & Struct;1042 readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial';1043}10441045/** @name PalletAppPromotionError */1046export interface PalletAppPromotionError extends Enum {1047 readonly isAdminNotSet: boolean;1048 readonly isNoPermission: boolean;1049 readonly isNotSufficientFunds: boolean;1050 readonly isPendingForBlockOverflow: boolean;1051 readonly isSponsorNotSet: boolean;1052 readonly isIncorrectLockedBalanceOperation: boolean;1053 readonly isInsufficientStakedBalance: boolean;1054 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation' | 'InsufficientStakedBalance';1055}10561057/** @name PalletAppPromotionEvent */1058export interface PalletAppPromotionEvent extends Enum {1059 readonly isStakingRecalculation: boolean;1060 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1061 readonly isStake: boolean;1062 readonly asStake: ITuple<[AccountId32, u128]>;1063 readonly isUnstake: boolean;1064 readonly asUnstake: ITuple<[AccountId32, u128]>;1065 readonly isSetAdmin: boolean;1066 readonly asSetAdmin: AccountId32;1067 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1068}10691070/** @name PalletAuthorshipCall */1071export interface PalletAuthorshipCall extends Enum {1072 readonly isSetUncles: boolean;1073 readonly asSetUncles: {1074 readonly newUncles: Vec<SpRuntimeHeader>;1075 } & Struct;1076 readonly type: 'SetUncles';1077}10781079/** @name PalletAuthorshipError */1080export interface PalletAuthorshipError extends Enum {1081 readonly isInvalidUncleParent: boolean;1082 readonly isUnclesAlreadySet: boolean;1083 readonly isTooManyUncles: boolean;1084 readonly isGenesisUncle: boolean;1085 readonly isTooHighUncle: boolean;1086 readonly isUncleAlreadyIncluded: boolean;1087 readonly isOldUncle: boolean;1088 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';1089}10901091/** @name PalletAuthorshipUncleEntryItem */1092export interface PalletAuthorshipUncleEntryItem extends Enum {1093 readonly isInclusionHeight: boolean;1094 readonly asInclusionHeight: u32;1095 readonly isUncle: boolean;1096 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;1097 readonly type: 'InclusionHeight' | 'Uncle';1098}10991100/** @name PalletBalancesAccountData */1101export interface PalletBalancesAccountData extends Struct {1102 readonly free: u128;1103 readonly reserved: u128;1104 readonly miscFrozen: u128;1105 readonly feeFrozen: u128;1106}11071108/** @name PalletBalancesBalanceLock */1109export interface PalletBalancesBalanceLock extends Struct {1110 readonly id: U8aFixed;1111 readonly amount: u128;1112 readonly reasons: PalletBalancesReasons;1113}11141115/** @name PalletBalancesCall */1116export interface PalletBalancesCall extends Enum {1117 readonly isTransfer: boolean;1118 readonly asTransfer: {1119 readonly dest: MultiAddress;1120 readonly value: Compact<u128>;1121 } & Struct;1122 readonly isSetBalance: boolean;1123 readonly asSetBalance: {1124 readonly who: MultiAddress;1125 readonly newFree: Compact<u128>;1126 readonly newReserved: Compact<u128>;1127 } & Struct;1128 readonly isForceTransfer: boolean;1129 readonly asForceTransfer: {1130 readonly source: MultiAddress;1131 readonly dest: MultiAddress;1132 readonly value: Compact<u128>;1133 } & Struct;1134 readonly isTransferKeepAlive: boolean;1135 readonly asTransferKeepAlive: {1136 readonly dest: MultiAddress;1137 readonly value: Compact<u128>;1138 } & Struct;1139 readonly isTransferAll: boolean;1140 readonly asTransferAll: {1141 readonly dest: MultiAddress;1142 readonly keepAlive: bool;1143 } & Struct;1144 readonly isForceUnreserve: boolean;1145 readonly asForceUnreserve: {1146 readonly who: MultiAddress;1147 readonly amount: u128;1148 } & Struct;1149 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1150}11511152/** @name PalletBalancesError */1153export interface PalletBalancesError extends Enum {1154 readonly isVestingBalance: boolean;1155 readonly isLiquidityRestrictions: boolean;1156 readonly isInsufficientBalance: boolean;1157 readonly isExistentialDeposit: boolean;1158 readonly isKeepAlive: boolean;1159 readonly isExistingVestingSchedule: boolean;1160 readonly isDeadAccount: boolean;1161 readonly isTooManyReserves: boolean;1162 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1163}11641165/** @name PalletBalancesEvent */1166export interface PalletBalancesEvent extends Enum {1167 readonly isEndowed: boolean;1168 readonly asEndowed: {1169 readonly account: AccountId32;1170 readonly freeBalance: u128;1171 } & Struct;1172 readonly isDustLost: boolean;1173 readonly asDustLost: {1174 readonly account: AccountId32;1175 readonly amount: u128;1176 } & Struct;1177 readonly isTransfer: boolean;1178 readonly asTransfer: {1179 readonly from: AccountId32;1180 readonly to: AccountId32;1181 readonly amount: u128;1182 } & Struct;1183 readonly isBalanceSet: boolean;1184 readonly asBalanceSet: {1185 readonly who: AccountId32;1186 readonly free: u128;1187 readonly reserved: u128;1188 } & Struct;1189 readonly isReserved: boolean;1190 readonly asReserved: {1191 readonly who: AccountId32;1192 readonly amount: u128;1193 } & Struct;1194 readonly isUnreserved: boolean;1195 readonly asUnreserved: {1196 readonly who: AccountId32;1197 readonly amount: u128;1198 } & Struct;1199 readonly isReserveRepatriated: boolean;1200 readonly asReserveRepatriated: {1201 readonly from: AccountId32;1202 readonly to: AccountId32;1203 readonly amount: u128;1204 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1205 } & Struct;1206 readonly isDeposit: boolean;1207 readonly asDeposit: {1208 readonly who: AccountId32;1209 readonly amount: u128;1210 } & Struct;1211 readonly isWithdraw: boolean;1212 readonly asWithdraw: {1213 readonly who: AccountId32;1214 readonly amount: u128;1215 } & Struct;1216 readonly isSlashed: boolean;1217 readonly asSlashed: {1218 readonly who: AccountId32;1219 readonly amount: u128;1220 } & Struct;1221 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1222}12231224/** @name PalletBalancesReasons */1225export interface PalletBalancesReasons extends Enum {1226 readonly isFee: boolean;1227 readonly isMisc: boolean;1228 readonly isAll: boolean;1229 readonly type: 'Fee' | 'Misc' | 'All';1230}12311232/** @name PalletBalancesReserveData */1233export interface PalletBalancesReserveData extends Struct {1234 readonly id: U8aFixed;1235 readonly amount: u128;1236}12371238/** @name PalletCollatorSelectionCall */1239export interface PalletCollatorSelectionCall extends Enum {1240 readonly isAddInvulnerable: boolean;1241 readonly asAddInvulnerable: {1242 readonly new_: AccountId32;1243 } & Struct;1244 readonly isRemoveInvulnerable: boolean;1245 readonly asRemoveInvulnerable: {1246 readonly who: AccountId32;1247 } & Struct;1248 readonly isGetLicense: boolean;1249 readonly isOnboard: boolean;1250 readonly isOffboard: boolean;1251 readonly isReleaseLicense: boolean;1252 readonly isForceReleaseLicense: boolean;1253 readonly asForceReleaseLicense: {1254 readonly who: AccountId32;1255 } & Struct;1256 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceReleaseLicense';1257}12581259/** @name PalletCollatorSelectionError */1260export interface PalletCollatorSelectionError extends Enum {1261 readonly isTooManyCandidates: boolean;1262 readonly isUnknown: boolean;1263 readonly isPermission: boolean;1264 readonly isAlreadyHoldingLicense: boolean;1265 readonly isNoLicense: boolean;1266 readonly isAlreadyCandidate: boolean;1267 readonly isNotCandidate: boolean;1268 readonly isTooManyInvulnerables: boolean;1269 readonly isTooFewInvulnerables: boolean;1270 readonly isAlreadyInvulnerable: boolean;1271 readonly isNotInvulnerable: boolean;1272 readonly isNoAssociatedValidatorId: boolean;1273 readonly isValidatorNotRegistered: boolean;1274 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';1275}12761277/** @name PalletCollatorSelectionEvent */1278export interface PalletCollatorSelectionEvent extends Enum {1279 readonly isInvulnerableAdded: boolean;1280 readonly asInvulnerableAdded: {1281 readonly invulnerable: AccountId32;1282 } & Struct;1283 readonly isInvulnerableRemoved: boolean;1284 readonly asInvulnerableRemoved: {1285 readonly invulnerable: AccountId32;1286 } & Struct;1287 readonly isLicenseObtained: boolean;1288 readonly asLicenseObtained: {1289 readonly accountId: AccountId32;1290 readonly deposit: u128;1291 } & Struct;1292 readonly isLicenseReleased: boolean;1293 readonly asLicenseReleased: {1294 readonly accountId: AccountId32;1295 readonly depositReturned: u128;1296 } & Struct;1297 readonly isCandidateAdded: boolean;1298 readonly asCandidateAdded: {1299 readonly accountId: AccountId32;1300 } & Struct;1301 readonly isCandidateRemoved: boolean;1302 readonly asCandidateRemoved: {1303 readonly accountId: AccountId32;1304 } & Struct;1305 readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved';1306}13071308/** @name PalletCommonError */1309export interface PalletCommonError extends Enum {1310 readonly isCollectionNotFound: boolean;1311 readonly isMustBeTokenOwner: boolean;1312 readonly isNoPermission: boolean;1313 readonly isCantDestroyNotEmptyCollection: boolean;1314 readonly isPublicMintingNotAllowed: boolean;1315 readonly isAddressNotInAllowlist: boolean;1316 readonly isCollectionNameLimitExceeded: boolean;1317 readonly isCollectionDescriptionLimitExceeded: boolean;1318 readonly isCollectionTokenPrefixLimitExceeded: boolean;1319 readonly isTotalCollectionsLimitExceeded: boolean;1320 readonly isCollectionAdminCountExceeded: boolean;1321 readonly isCollectionLimitBoundsExceeded: boolean;1322 readonly isOwnerPermissionsCantBeReverted: boolean;1323 readonly isTransferNotAllowed: boolean;1324 readonly isAccountTokenLimitExceeded: boolean;1325 readonly isCollectionTokenLimitExceeded: boolean;1326 readonly isMetadataFlagFrozen: boolean;1327 readonly isTokenNotFound: boolean;1328 readonly isTokenValueTooLow: boolean;1329 readonly isApprovedValueTooLow: boolean;1330 readonly isCantApproveMoreThanOwned: boolean;1331 readonly isAddressIsNotEthMirror: boolean;1332 readonly isAddressIsZero: boolean;1333 readonly isUnsupportedOperation: boolean;1334 readonly isNotSufficientFounds: boolean;1335 readonly isUserIsNotAllowedToNest: boolean;1336 readonly isSourceCollectionIsNotAllowedToNest: boolean;1337 readonly isCollectionFieldSizeExceeded: boolean;1338 readonly isNoSpaceForProperty: boolean;1339 readonly isPropertyLimitReached: boolean;1340 readonly isPropertyKeyIsTooLong: boolean;1341 readonly isInvalidCharacterInPropertyKey: boolean;1342 readonly isEmptyPropertyKey: boolean;1343 readonly isCollectionIsExternal: boolean;1344 readonly isCollectionIsInternal: boolean;1345 readonly isConfirmSponsorshipFail: boolean;1346 readonly isUserIsNotCollectionAdmin: boolean;1347 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';1348}13491350/** @name PalletCommonEvent */1351export interface PalletCommonEvent extends Enum {1352 readonly isCollectionCreated: boolean;1353 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1354 readonly isCollectionDestroyed: boolean;1355 readonly asCollectionDestroyed: u32;1356 readonly isItemCreated: boolean;1357 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1358 readonly isItemDestroyed: boolean;1359 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1360 readonly isTransfer: boolean;1361 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1362 readonly isApproved: boolean;1363 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1364 readonly isApprovedForAll: boolean;1365 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1366 readonly isCollectionPropertySet: boolean;1367 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1368 readonly isCollectionPropertyDeleted: boolean;1369 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1370 readonly isTokenPropertySet: boolean;1371 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1372 readonly isTokenPropertyDeleted: boolean;1373 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1374 readonly isPropertyPermissionSet: boolean;1375 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1376 readonly isAllowListAddressAdded: boolean;1377 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1378 readonly isAllowListAddressRemoved: boolean;1379 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1380 readonly isCollectionAdminAdded: boolean;1381 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1382 readonly isCollectionAdminRemoved: boolean;1383 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1384 readonly isCollectionLimitSet: boolean;1385 readonly asCollectionLimitSet: u32;1386 readonly isCollectionOwnerChanged: boolean;1387 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1388 readonly isCollectionPermissionSet: boolean;1389 readonly asCollectionPermissionSet: u32;1390 readonly isCollectionSponsorSet: boolean;1391 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1392 readonly isSponsorshipConfirmed: boolean;1393 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1394 readonly isCollectionSponsorRemoved: boolean;1395 readonly asCollectionSponsorRemoved: u32;1396 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1397}13981399/** @name PalletConfigurationAppPromotionConfiguration */1400export interface PalletConfigurationAppPromotionConfiguration extends Struct {1401 readonly recalculationInterval: Option<u32>;1402 readonly pendingInterval: Option<u32>;1403 readonly intervalIncome: Option<Perbill>;1404 readonly maxStakersPerCalculation: Option<u8>;1405}14061407/** @name PalletConfigurationCall */1408export interface PalletConfigurationCall extends Enum {1409 readonly isSetWeightToFeeCoefficientOverride: boolean;1410 readonly asSetWeightToFeeCoefficientOverride: {1411 readonly coeff: Option<u64>;1412 } & Struct;1413 readonly isSetMinGasPriceOverride: boolean;1414 readonly asSetMinGasPriceOverride: {1415 readonly coeff: Option<u64>;1416 } & Struct;1417 readonly isSetXcmAllowedLocations: boolean;1418 readonly asSetXcmAllowedLocations: {1419 readonly locations: Option<Vec<XcmV1MultiLocation>>;1420 } & Struct;1421 readonly isSetAppPromotionConfigurationOverride: boolean;1422 readonly asSetAppPromotionConfigurationOverride: {1423 readonly configuration: PalletConfigurationAppPromotionConfiguration;1424 } & Struct;1425 readonly isSetCollatorSelectionDesiredCollators: boolean;1426 readonly asSetCollatorSelectionDesiredCollators: {1427 readonly max: Option<u32>;1428 } & Struct;1429 readonly isSetCollatorSelectionLicenseBond: boolean;1430 readonly asSetCollatorSelectionLicenseBond: {1431 readonly amount: Option<u128>;1432 } & Struct;1433 readonly isSetCollatorSelectionKickThreshold: boolean;1434 readonly asSetCollatorSelectionKickThreshold: {1435 readonly threshold: Option<u32>;1436 } & Struct;1437 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';1438}14391440/** @name PalletConfigurationError */1441export interface PalletConfigurationError extends Enum {1442 readonly isInconsistentConfiguration: boolean;1443 readonly type: 'InconsistentConfiguration';1444}14451446/** @name PalletConfigurationEvent */1447export interface PalletConfigurationEvent extends Enum {1448 readonly isNewDesiredCollators: boolean;1449 readonly asNewDesiredCollators: {1450 readonly desiredCollators: Option<u32>;1451 } & Struct;1452 readonly isNewCollatorLicenseBond: boolean;1453 readonly asNewCollatorLicenseBond: {1454 readonly bondCost: Option<u128>;1455 } & Struct;1456 readonly isNewCollatorKickThreshold: boolean;1457 readonly asNewCollatorKickThreshold: {1458 readonly lengthInBlocks: Option<u32>;1459 } & Struct;1460 readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';1461}14621463/** @name PalletEthereumCall */1464export interface PalletEthereumCall extends Enum {1465 readonly isTransact: boolean;1466 readonly asTransact: {1467 readonly transaction: EthereumTransactionTransactionV2;1468 } & Struct;1469 readonly type: 'Transact';1470}14711472/** @name PalletEthereumError */1473export interface PalletEthereumError extends Enum {1474 readonly isInvalidSignature: boolean;1475 readonly isPreLogExists: boolean;1476 readonly type: 'InvalidSignature' | 'PreLogExists';1477}14781479/** @name PalletEthereumEvent */1480export interface PalletEthereumEvent extends Enum {1481 readonly isExecuted: boolean;1482 readonly asExecuted: {1483 readonly from: H160;1484 readonly to: H160;1485 readonly transactionHash: H256;1486 readonly exitReason: EvmCoreErrorExitReason;1487 } & Struct;1488 readonly type: 'Executed';1489}14901491/** @name PalletEthereumFakeTransactionFinalizer */1492export interface PalletEthereumFakeTransactionFinalizer extends Null {}14931494/** @name PalletEvmAccountBasicCrossAccountIdRepr */1495export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1496 readonly isSubstrate: boolean;1497 readonly asSubstrate: AccountId32;1498 readonly isEthereum: boolean;1499 readonly asEthereum: H160;1500 readonly type: 'Substrate' | 'Ethereum';1501}15021503/** @name PalletEvmCall */1504export interface PalletEvmCall extends Enum {1505 readonly isWithdraw: boolean;1506 readonly asWithdraw: {1507 readonly address: H160;1508 readonly value: u128;1509 } & Struct;1510 readonly isCall: boolean;1511 readonly asCall: {1512 readonly source: H160;1513 readonly target: H160;1514 readonly input: Bytes;1515 readonly value: U256;1516 readonly gasLimit: u64;1517 readonly maxFeePerGas: U256;1518 readonly maxPriorityFeePerGas: Option<U256>;1519 readonly nonce: Option<U256>;1520 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1521 } & Struct;1522 readonly isCreate: boolean;1523 readonly asCreate: {1524 readonly source: H160;1525 readonly init: Bytes;1526 readonly value: U256;1527 readonly gasLimit: u64;1528 readonly maxFeePerGas: U256;1529 readonly maxPriorityFeePerGas: Option<U256>;1530 readonly nonce: Option<U256>;1531 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1532 } & Struct;1533 readonly isCreate2: boolean;1534 readonly asCreate2: {1535 readonly source: H160;1536 readonly init: Bytes;1537 readonly salt: H256;1538 readonly value: U256;1539 readonly gasLimit: u64;1540 readonly maxFeePerGas: U256;1541 readonly maxPriorityFeePerGas: Option<U256>;1542 readonly nonce: Option<U256>;1543 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1544 } & Struct;1545 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1546}15471548/** @name PalletEvmCoderSubstrateError */1549export interface PalletEvmCoderSubstrateError extends Enum {1550 readonly isOutOfGas: boolean;1551 readonly isOutOfFund: boolean;1552 readonly type: 'OutOfGas' | 'OutOfFund';1553}15541555/** @name PalletEvmContractHelpersError */1556export interface PalletEvmContractHelpersError extends Enum {1557 readonly isNoPermission: boolean;1558 readonly isNoPendingSponsor: boolean;1559 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1560 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1561}15621563/** @name PalletEvmContractHelpersEvent */1564export interface PalletEvmContractHelpersEvent extends Enum {1565 readonly isContractSponsorSet: boolean;1566 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1567 readonly isContractSponsorshipConfirmed: boolean;1568 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1569 readonly isContractSponsorRemoved: boolean;1570 readonly asContractSponsorRemoved: H160;1571 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1572}15731574/** @name PalletEvmContractHelpersSponsoringModeT */1575export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1576 readonly isDisabled: boolean;1577 readonly isAllowlisted: boolean;1578 readonly isGenerous: boolean;1579 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1580}15811582/** @name PalletEvmError */1583export interface PalletEvmError extends Enum {1584 readonly isBalanceLow: boolean;1585 readonly isFeeOverflow: boolean;1586 readonly isPaymentOverflow: boolean;1587 readonly isWithdrawFailed: boolean;1588 readonly isGasPriceTooLow: boolean;1589 readonly isInvalidNonce: boolean;1590 readonly isGasLimitTooLow: boolean;1591 readonly isGasLimitTooHigh: boolean;1592 readonly isUndefined: boolean;1593 readonly isReentrancy: boolean;1594 readonly isTransactionMustComeFromEOA: boolean;1595 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1596}15971598/** @name PalletEvmEvent */1599export interface PalletEvmEvent extends Enum {1600 readonly isLog: boolean;1601 readonly asLog: {1602 readonly log: EthereumLog;1603 } & Struct;1604 readonly isCreated: boolean;1605 readonly asCreated: {1606 readonly address: H160;1607 } & Struct;1608 readonly isCreatedFailed: boolean;1609 readonly asCreatedFailed: {1610 readonly address: H160;1611 } & Struct;1612 readonly isExecuted: boolean;1613 readonly asExecuted: {1614 readonly address: H160;1615 } & Struct;1616 readonly isExecutedFailed: boolean;1617 readonly asExecutedFailed: {1618 readonly address: H160;1619 } & Struct;1620 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1621}16221623/** @name PalletEvmMigrationCall */1624export interface PalletEvmMigrationCall extends Enum {1625 readonly isBegin: boolean;1626 readonly asBegin: {1627 readonly address: H160;1628 } & Struct;1629 readonly isSetData: boolean;1630 readonly asSetData: {1631 readonly address: H160;1632 readonly data: Vec<ITuple<[H256, H256]>>;1633 } & Struct;1634 readonly isFinish: boolean;1635 readonly asFinish: {1636 readonly address: H160;1637 readonly code: Bytes;1638 } & Struct;1639 readonly isInsertEthLogs: boolean;1640 readonly asInsertEthLogs: {1641 readonly logs: Vec<EthereumLog>;1642 } & Struct;1643 readonly isInsertEvents: boolean;1644 readonly asInsertEvents: {1645 readonly events: Vec<Bytes>;1646 } & Struct;1647 readonly isRemoveRmrkData: boolean;1648 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData';1649}16501651/** @name PalletEvmMigrationError */1652export interface PalletEvmMigrationError extends Enum {1653 readonly isAccountNotEmpty: boolean;1654 readonly isAccountIsNotMigrating: boolean;1655 readonly isBadEvent: boolean;1656 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1657}16581659/** @name PalletEvmMigrationEvent */1660export interface PalletEvmMigrationEvent extends Enum {1661 readonly isTestEvent: boolean;1662 readonly type: 'TestEvent';1663}16641665/** @name PalletForeignAssetsAssetIds */1666export interface PalletForeignAssetsAssetIds extends Enum {1667 readonly isForeignAssetId: boolean;1668 readonly asForeignAssetId: u32;1669 readonly isNativeAssetId: boolean;1670 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1671 readonly type: 'ForeignAssetId' | 'NativeAssetId';1672}16731674/** @name PalletForeignAssetsModuleAssetMetadata */1675export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1676 readonly name: Bytes;1677 readonly symbol: Bytes;1678 readonly decimals: u8;1679 readonly minimalBalance: u128;1680}16811682/** @name PalletForeignAssetsModuleCall */1683export interface PalletForeignAssetsModuleCall extends Enum {1684 readonly isRegisterForeignAsset: boolean;1685 readonly asRegisterForeignAsset: {1686 readonly owner: AccountId32;1687 readonly location: XcmVersionedMultiLocation;1688 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1689 } & Struct;1690 readonly isUpdateForeignAsset: boolean;1691 readonly asUpdateForeignAsset: {1692 readonly foreignAssetId: u32;1693 readonly location: XcmVersionedMultiLocation;1694 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1695 } & Struct;1696 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1697}16981699/** @name PalletForeignAssetsModuleError */1700export interface PalletForeignAssetsModuleError extends Enum {1701 readonly isBadLocation: boolean;1702 readonly isMultiLocationExisted: boolean;1703 readonly isAssetIdNotExists: boolean;1704 readonly isAssetIdExisted: boolean;1705 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1706}17071708/** @name PalletForeignAssetsModuleEvent */1709export interface PalletForeignAssetsModuleEvent extends Enum {1710 readonly isForeignAssetRegistered: boolean;1711 readonly asForeignAssetRegistered: {1712 readonly assetId: u32;1713 readonly assetAddress: XcmV1MultiLocation;1714 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1715 } & Struct;1716 readonly isForeignAssetUpdated: boolean;1717 readonly asForeignAssetUpdated: {1718 readonly assetId: u32;1719 readonly assetAddress: XcmV1MultiLocation;1720 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1721 } & Struct;1722 readonly isAssetRegistered: boolean;1723 readonly asAssetRegistered: {1724 readonly assetId: PalletForeignAssetsAssetIds;1725 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1726 } & Struct;1727 readonly isAssetUpdated: boolean;1728 readonly asAssetUpdated: {1729 readonly assetId: PalletForeignAssetsAssetIds;1730 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1731 } & Struct;1732 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1733}17341735/** @name PalletForeignAssetsNativeCurrency */1736export interface PalletForeignAssetsNativeCurrency extends Enum {1737 readonly isHere: boolean;1738 readonly isParent: boolean;1739 readonly type: 'Here' | 'Parent';1740}17411742/** @name PalletFungibleError */1743export interface PalletFungibleError extends Enum {1744 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1745 readonly isFungibleItemsHaveNoId: boolean;1746 readonly isFungibleItemsDontHaveData: boolean;1747 readonly isFungibleDisallowsNesting: boolean;1748 readonly isSettingPropertiesNotAllowed: boolean;1749 readonly isSettingAllowanceForAllNotAllowed: boolean;1750 readonly isFungibleTokensAreAlwaysValid: boolean;1751 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1752}17531754/** @name PalletIdentityBitFlags */1755export interface PalletIdentityBitFlags extends Struct {1756 readonly _bitLength: 64;1757 readonly Display: 1;1758 readonly Legal: 2;1759 readonly Web: 4;1760 readonly Riot: 8;1761 readonly Email: 16;1762 readonly PgpFingerprint: 32;1763 readonly Image: 64;1764 readonly Twitter: 128;1765}17661767/** @name PalletIdentityCall */1768export interface PalletIdentityCall extends Enum {1769 readonly isAddRegistrar: boolean;1770 readonly asAddRegistrar: {1771 readonly account: MultiAddress;1772 } & Struct;1773 readonly isSetIdentity: boolean;1774 readonly asSetIdentity: {1775 readonly info: PalletIdentityIdentityInfo;1776 } & Struct;1777 readonly isSetSubs: boolean;1778 readonly asSetSubs: {1779 readonly subs: Vec<ITuple<[AccountId32, Data]>>;1780 } & Struct;1781 readonly isClearIdentity: boolean;1782 readonly isRequestJudgement: boolean;1783 readonly asRequestJudgement: {1784 readonly regIndex: Compact<u32>;1785 readonly maxFee: Compact<u128>;1786 } & Struct;1787 readonly isCancelRequest: boolean;1788 readonly asCancelRequest: {1789 readonly regIndex: u32;1790 } & Struct;1791 readonly isSetFee: boolean;1792 readonly asSetFee: {1793 readonly index: Compact<u32>;1794 readonly fee: Compact<u128>;1795 } & Struct;1796 readonly isSetAccountId: boolean;1797 readonly asSetAccountId: {1798 readonly index: Compact<u32>;1799 readonly new_: MultiAddress;1800 } & Struct;1801 readonly isSetFields: boolean;1802 readonly asSetFields: {1803 readonly index: Compact<u32>;1804 readonly fields: PalletIdentityBitFlags;1805 } & Struct;1806 readonly isProvideJudgement: boolean;1807 readonly asProvideJudgement: {1808 readonly regIndex: Compact<u32>;1809 readonly target: MultiAddress;1810 readonly judgement: PalletIdentityJudgement;1811 readonly identity: H256;1812 } & Struct;1813 readonly isKillIdentity: boolean;1814 readonly asKillIdentity: {1815 readonly target: MultiAddress;1816 } & Struct;1817 readonly isAddSub: boolean;1818 readonly asAddSub: {1819 readonly sub: MultiAddress;1820 readonly data: Data;1821 } & Struct;1822 readonly isRenameSub: boolean;1823 readonly asRenameSub: {1824 readonly sub: MultiAddress;1825 readonly data: Data;1826 } & Struct;1827 readonly isRemoveSub: boolean;1828 readonly asRemoveSub: {1829 readonly sub: MultiAddress;1830 } & Struct;1831 readonly isQuitSub: boolean;1832 readonly isForceInsertIdentities: boolean;1833 readonly asForceInsertIdentities: {1834 readonly identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>;1835 } & Struct;1836 readonly isForceRemoveIdentities: boolean;1837 readonly asForceRemoveIdentities: {1838 readonly identities: Vec<AccountId32>;1839 } & Struct;1840 readonly isForceSetSubs: boolean;1841 readonly asForceSetSubs: {1842 readonly subs: Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>>;1843 } & Struct;1844 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities' | 'ForceSetSubs';1845}18461847/** @name PalletIdentityError */1848export interface PalletIdentityError extends Enum {1849 readonly isTooManySubAccounts: boolean;1850 readonly isNotFound: boolean;1851 readonly isNotNamed: boolean;1852 readonly isEmptyIndex: boolean;1853 readonly isFeeChanged: boolean;1854 readonly isNoIdentity: boolean;1855 readonly isStickyJudgement: boolean;1856 readonly isJudgementGiven: boolean;1857 readonly isInvalidJudgement: boolean;1858 readonly isInvalidIndex: boolean;1859 readonly isInvalidTarget: boolean;1860 readonly isTooManyFields: boolean;1861 readonly isTooManyRegistrars: boolean;1862 readonly isAlreadyClaimed: boolean;1863 readonly isNotSub: boolean;1864 readonly isNotOwned: boolean;1865 readonly isJudgementForDifferentIdentity: boolean;1866 readonly isJudgementPaymentFailed: boolean;1867 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';1868}18691870/** @name PalletIdentityEvent */1871export interface PalletIdentityEvent extends Enum {1872 readonly isIdentitySet: boolean;1873 readonly asIdentitySet: {1874 readonly who: AccountId32;1875 } & Struct;1876 readonly isIdentityCleared: boolean;1877 readonly asIdentityCleared: {1878 readonly who: AccountId32;1879 readonly deposit: u128;1880 } & Struct;1881 readonly isIdentityKilled: boolean;1882 readonly asIdentityKilled: {1883 readonly who: AccountId32;1884 readonly deposit: u128;1885 } & Struct;1886 readonly isIdentitiesInserted: boolean;1887 readonly asIdentitiesInserted: {1888 readonly amount: u32;1889 } & Struct;1890 readonly isIdentitiesRemoved: boolean;1891 readonly asIdentitiesRemoved: {1892 readonly amount: u32;1893 } & Struct;1894 readonly isJudgementRequested: boolean;1895 readonly asJudgementRequested: {1896 readonly who: AccountId32;1897 readonly registrarIndex: u32;1898 } & Struct;1899 readonly isJudgementUnrequested: boolean;1900 readonly asJudgementUnrequested: {1901 readonly who: AccountId32;1902 readonly registrarIndex: u32;1903 } & Struct;1904 readonly isJudgementGiven: boolean;1905 readonly asJudgementGiven: {1906 readonly target: AccountId32;1907 readonly registrarIndex: u32;1908 } & Struct;1909 readonly isRegistrarAdded: boolean;1910 readonly asRegistrarAdded: {1911 readonly registrarIndex: u32;1912 } & Struct;1913 readonly isSubIdentityAdded: boolean;1914 readonly asSubIdentityAdded: {1915 readonly sub: AccountId32;1916 readonly main: AccountId32;1917 readonly deposit: u128;1918 } & Struct;1919 readonly isSubIdentityRemoved: boolean;1920 readonly asSubIdentityRemoved: {1921 readonly sub: AccountId32;1922 readonly main: AccountId32;1923 readonly deposit: u128;1924 } & Struct;1925 readonly isSubIdentityRevoked: boolean;1926 readonly asSubIdentityRevoked: {1927 readonly sub: AccountId32;1928 readonly main: AccountId32;1929 readonly deposit: u128;1930 } & Struct;1931 readonly isSubIdentitiesInserted: boolean;1932 readonly asSubIdentitiesInserted: {1933 readonly amount: u32;1934 } & Struct;1935 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked' | 'SubIdentitiesInserted';1936}19371938/** @name PalletIdentityIdentityField */1939export interface PalletIdentityIdentityField extends Enum {1940 readonly isDisplay: boolean;1941 readonly isLegal: boolean;1942 readonly isWeb: boolean;1943 readonly isRiot: boolean;1944 readonly isEmail: boolean;1945 readonly isPgpFingerprint: boolean;1946 readonly isImage: boolean;1947 readonly isTwitter: boolean;1948 readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';1949}19501951/** @name PalletIdentityIdentityInfo */1952export interface PalletIdentityIdentityInfo extends Struct {1953 readonly additional: Vec<ITuple<[Data, Data]>>;1954 readonly display: Data;1955 readonly legal: Data;1956 readonly web: Data;1957 readonly riot: Data;1958 readonly email: Data;1959 readonly pgpFingerprint: Option<U8aFixed>;1960 readonly image: Data;1961 readonly twitter: Data;1962}19631964/** @name PalletIdentityJudgement */1965export interface PalletIdentityJudgement extends Enum {1966 readonly isUnknown: boolean;1967 readonly isFeePaid: boolean;1968 readonly asFeePaid: u128;1969 readonly isReasonable: boolean;1970 readonly isKnownGood: boolean;1971 readonly isOutOfDate: boolean;1972 readonly isLowQuality: boolean;1973 readonly isErroneous: boolean;1974 readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';1975}19761977/** @name PalletIdentityRegistrarInfo */1978export interface PalletIdentityRegistrarInfo extends Struct {1979 readonly account: AccountId32;1980 readonly fee: u128;1981 readonly fields: PalletIdentityBitFlags;1982}19831984/** @name PalletIdentityRegistration */1985export interface PalletIdentityRegistration extends Struct {1986 readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;1987 readonly deposit: u128;1988 readonly info: PalletIdentityIdentityInfo;1989}19901991/** @name PalletInflationCall */1992export interface PalletInflationCall extends Enum {1993 readonly isStartInflation: boolean;1994 readonly asStartInflation: {1995 readonly inflationStartRelayBlock: u32;1996 } & Struct;1997 readonly type: 'StartInflation';1998}19992000/** @name PalletMaintenanceCall */2001export interface PalletMaintenanceCall extends Enum {2002 readonly isEnable: boolean;2003 readonly isDisable: boolean;2004 readonly isExecutePreimage: boolean;2005 readonly asExecutePreimage: {2006 readonly hash_: H256;2007 readonly weightBound: SpWeightsWeightV2Weight;2008 } & Struct;2009 readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';2010}20112012/** @name PalletMaintenanceError */2013export interface PalletMaintenanceError extends Null {}20142015/** @name PalletMaintenanceEvent */2016export interface PalletMaintenanceEvent extends Enum {2017 readonly isMaintenanceEnabled: boolean;2018 readonly isMaintenanceDisabled: boolean;2019 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';2020}20212022/** @name PalletNonfungibleError */2023export interface PalletNonfungibleError extends Enum {2024 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2025 readonly isNonfungibleItemsHaveNoAmount: boolean;2026 readonly isCantBurnNftWithChildren: boolean;2027 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';2028}20292030/** @name PalletNonfungibleItemData */2031export interface PalletNonfungibleItemData extends Struct {2032 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2033}20342035/** @name PalletPreimageCall */2036export interface PalletPreimageCall extends Enum {2037 readonly isNotePreimage: boolean;2038 readonly asNotePreimage: {2039 readonly bytes: Bytes;2040 } & Struct;2041 readonly isUnnotePreimage: boolean;2042 readonly asUnnotePreimage: {2043 readonly hash_: H256;2044 } & Struct;2045 readonly isRequestPreimage: boolean;2046 readonly asRequestPreimage: {2047 readonly hash_: H256;2048 } & Struct;2049 readonly isUnrequestPreimage: boolean;2050 readonly asUnrequestPreimage: {2051 readonly hash_: H256;2052 } & Struct;2053 readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';2054}20552056/** @name PalletPreimageError */2057export interface PalletPreimageError extends Enum {2058 readonly isTooBig: boolean;2059 readonly isAlreadyNoted: boolean;2060 readonly isNotAuthorized: boolean;2061 readonly isNotNoted: boolean;2062 readonly isRequested: boolean;2063 readonly isNotRequested: boolean;2064 readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';2065}20662067/** @name PalletPreimageEvent */2068export interface PalletPreimageEvent extends Enum {2069 readonly isNoted: boolean;2070 readonly asNoted: {2071 readonly hash_: H256;2072 } & Struct;2073 readonly isRequested: boolean;2074 readonly asRequested: {2075 readonly hash_: H256;2076 } & Struct;2077 readonly isCleared: boolean;2078 readonly asCleared: {2079 readonly hash_: H256;2080 } & Struct;2081 readonly type: 'Noted' | 'Requested' | 'Cleared';2082}20832084/** @name PalletPreimageRequestStatus */2085export interface PalletPreimageRequestStatus extends Enum {2086 readonly isUnrequested: boolean;2087 readonly asUnrequested: {2088 readonly deposit: ITuple<[AccountId32, u128]>;2089 readonly len: u32;2090 } & Struct;2091 readonly isRequested: boolean;2092 readonly asRequested: {2093 readonly deposit: Option<ITuple<[AccountId32, u128]>>;2094 readonly count: u32;2095 readonly len: Option<u32>;2096 } & Struct;2097 readonly type: 'Unrequested' | 'Requested';2098}20992100/** @name PalletRefungibleError */2101export interface PalletRefungibleError extends Enum {2102 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2103 readonly isWrongRefungiblePieces: boolean;2104 readonly isRepartitionWhileNotOwningAllPieces: boolean;2105 readonly isRefungibleDisallowsNesting: boolean;2106 readonly isSettingPropertiesNotAllowed: boolean;2107 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2108}21092110/** @name PalletSessionCall */2111export interface PalletSessionCall extends Enum {2112 readonly isSetKeys: boolean;2113 readonly asSetKeys: {2114 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;2115 readonly proof: Bytes;2116 } & Struct;2117 readonly isPurgeKeys: boolean;2118 readonly type: 'SetKeys' | 'PurgeKeys';2119}21202121/** @name PalletSessionError */2122export interface PalletSessionError extends Enum {2123 readonly isInvalidProof: boolean;2124 readonly isNoAssociatedValidatorId: boolean;2125 readonly isDuplicatedKey: boolean;2126 readonly isNoKeys: boolean;2127 readonly isNoAccount: boolean;2128 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';2129}21302131/** @name PalletSessionEvent */2132export interface PalletSessionEvent extends Enum {2133 readonly isNewSession: boolean;2134 readonly asNewSession: {2135 readonly sessionIndex: u32;2136 } & Struct;2137 readonly type: 'NewSession';2138}21392140/** @name PalletStructureCall */2141export interface PalletStructureCall extends Null {}21422143/** @name PalletStructureError */2144export interface PalletStructureError extends Enum {2145 readonly isOuroborosDetected: boolean;2146 readonly isDepthLimit: boolean;2147 readonly isBreadthLimit: boolean;2148 readonly isTokenNotFound: boolean;2149 readonly isCantNestTokenUnderCollection: boolean;2150 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection';2151}21522153/** @name PalletStructureEvent */2154export interface PalletStructureEvent extends Enum {2155 readonly isExecuted: boolean;2156 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2157 readonly type: 'Executed';2158}21592160/** @name PalletSudoCall */2161export interface PalletSudoCall extends Enum {2162 readonly isSudo: boolean;2163 readonly asSudo: {2164 readonly call: Call;2165 } & Struct;2166 readonly isSudoUncheckedWeight: boolean;2167 readonly asSudoUncheckedWeight: {2168 readonly call: Call;2169 readonly weight: SpWeightsWeightV2Weight;2170 } & Struct;2171 readonly isSetKey: boolean;2172 readonly asSetKey: {2173 readonly new_: MultiAddress;2174 } & Struct;2175 readonly isSudoAs: boolean;2176 readonly asSudoAs: {2177 readonly who: MultiAddress;2178 readonly call: Call;2179 } & Struct;2180 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2181}21822183/** @name PalletSudoError */2184export interface PalletSudoError extends Enum {2185 readonly isRequireSudo: boolean;2186 readonly type: 'RequireSudo';2187}21882189/** @name PalletSudoEvent */2190export interface PalletSudoEvent extends Enum {2191 readonly isSudid: boolean;2192 readonly asSudid: {2193 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2194 } & Struct;2195 readonly isKeyChanged: boolean;2196 readonly asKeyChanged: {2197 readonly oldSudoer: Option<AccountId32>;2198 } & Struct;2199 readonly isSudoAsDone: boolean;2200 readonly asSudoAsDone: {2201 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2202 } & Struct;2203 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2204}22052206/** @name PalletTemplateTransactionPaymentCall */2207export interface PalletTemplateTransactionPaymentCall extends Null {}22082209/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2210export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}22112212/** @name PalletTestUtilsCall */2213export interface PalletTestUtilsCall extends Enum {2214 readonly isEnable: boolean;2215 readonly isSetTestValue: boolean;2216 readonly asSetTestValue: {2217 readonly value: u32;2218 } & Struct;2219 readonly isSetTestValueAndRollback: boolean;2220 readonly asSetTestValueAndRollback: {2221 readonly value: u32;2222 } & Struct;2223 readonly isIncTestValue: boolean;2224 readonly isJustTakeFee: boolean;2225 readonly isBatchAll: boolean;2226 readonly asBatchAll: {2227 readonly calls: Vec<Call>;2228 } & Struct;2229 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2230}22312232/** @name PalletTestUtilsError */2233export interface PalletTestUtilsError extends Enum {2234 readonly isTestPalletDisabled: boolean;2235 readonly isTriggerRollback: boolean;2236 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2237}22382239/** @name PalletTestUtilsEvent */2240export interface PalletTestUtilsEvent extends Enum {2241 readonly isValueIsSet: boolean;2242 readonly isShouldRollback: boolean;2243 readonly isBatchCompleted: boolean;2244 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2245}22462247/** @name PalletTimestampCall */2248export interface PalletTimestampCall extends Enum {2249 readonly isSet: boolean;2250 readonly asSet: {2251 readonly now: Compact<u64>;2252 } & Struct;2253 readonly type: 'Set';2254}22552256/** @name PalletTransactionPaymentEvent */2257export interface PalletTransactionPaymentEvent extends Enum {2258 readonly isTransactionFeePaid: boolean;2259 readonly asTransactionFeePaid: {2260 readonly who: AccountId32;2261 readonly actualFee: u128;2262 readonly tip: u128;2263 } & Struct;2264 readonly type: 'TransactionFeePaid';2265}22662267/** @name PalletTransactionPaymentReleases */2268export interface PalletTransactionPaymentReleases extends Enum {2269 readonly isV1Ancient: boolean;2270 readonly isV2: boolean;2271 readonly type: 'V1Ancient' | 'V2';2272}22732274/** @name PalletTreasuryCall */2275export interface PalletTreasuryCall extends Enum {2276 readonly isProposeSpend: boolean;2277 readonly asProposeSpend: {2278 readonly value: Compact<u128>;2279 readonly beneficiary: MultiAddress;2280 } & Struct;2281 readonly isRejectProposal: boolean;2282 readonly asRejectProposal: {2283 readonly proposalId: Compact<u32>;2284 } & Struct;2285 readonly isApproveProposal: boolean;2286 readonly asApproveProposal: {2287 readonly proposalId: Compact<u32>;2288 } & Struct;2289 readonly isSpend: boolean;2290 readonly asSpend: {2291 readonly amount: Compact<u128>;2292 readonly beneficiary: MultiAddress;2293 } & Struct;2294 readonly isRemoveApproval: boolean;2295 readonly asRemoveApproval: {2296 readonly proposalId: Compact<u32>;2297 } & Struct;2298 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2299}23002301/** @name PalletTreasuryError */2302export interface PalletTreasuryError extends Enum {2303 readonly isInsufficientProposersBalance: boolean;2304 readonly isInvalidIndex: boolean;2305 readonly isTooManyApprovals: boolean;2306 readonly isInsufficientPermission: boolean;2307 readonly isProposalNotApproved: boolean;2308 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2309}23102311/** @name PalletTreasuryEvent */2312export interface PalletTreasuryEvent extends Enum {2313 readonly isProposed: boolean;2314 readonly asProposed: {2315 readonly proposalIndex: u32;2316 } & Struct;2317 readonly isSpending: boolean;2318 readonly asSpending: {2319 readonly budgetRemaining: u128;2320 } & Struct;2321 readonly isAwarded: boolean;2322 readonly asAwarded: {2323 readonly proposalIndex: u32;2324 readonly award: u128;2325 readonly account: AccountId32;2326 } & Struct;2327 readonly isRejected: boolean;2328 readonly asRejected: {2329 readonly proposalIndex: u32;2330 readonly slashed: u128;2331 } & Struct;2332 readonly isBurnt: boolean;2333 readonly asBurnt: {2334 readonly burntFunds: u128;2335 } & Struct;2336 readonly isRollover: boolean;2337 readonly asRollover: {2338 readonly rolloverBalance: u128;2339 } & Struct;2340 readonly isDeposit: boolean;2341 readonly asDeposit: {2342 readonly value: u128;2343 } & Struct;2344 readonly isSpendApproved: boolean;2345 readonly asSpendApproved: {2346 readonly proposalIndex: u32;2347 readonly amount: u128;2348 readonly beneficiary: AccountId32;2349 } & Struct;2350 readonly isUpdatedInactive: boolean;2351 readonly asUpdatedInactive: {2352 readonly reactivated: u128;2353 readonly deactivated: u128;2354 } & Struct;2355 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive';2356}23572358/** @name PalletTreasuryProposal */2359export interface PalletTreasuryProposal extends Struct {2360 readonly proposer: AccountId32;2361 readonly value: u128;2362 readonly beneficiary: AccountId32;2363 readonly bond: u128;2364}23652366/** @name PalletUniqueCall */2367export interface PalletUniqueCall extends Enum {2368 readonly isCreateCollection: boolean;2369 readonly asCreateCollection: {2370 readonly collectionName: Vec<u16>;2371 readonly collectionDescription: Vec<u16>;2372 readonly tokenPrefix: Bytes;2373 readonly mode: UpDataStructsCollectionMode;2374 } & Struct;2375 readonly isCreateCollectionEx: boolean;2376 readonly asCreateCollectionEx: {2377 readonly data: UpDataStructsCreateCollectionData;2378 } & Struct;2379 readonly isDestroyCollection: boolean;2380 readonly asDestroyCollection: {2381 readonly collectionId: u32;2382 } & Struct;2383 readonly isAddToAllowList: boolean;2384 readonly asAddToAllowList: {2385 readonly collectionId: u32;2386 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2387 } & Struct;2388 readonly isRemoveFromAllowList: boolean;2389 readonly asRemoveFromAllowList: {2390 readonly collectionId: u32;2391 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2392 } & Struct;2393 readonly isChangeCollectionOwner: boolean;2394 readonly asChangeCollectionOwner: {2395 readonly collectionId: u32;2396 readonly newOwner: AccountId32;2397 } & Struct;2398 readonly isAddCollectionAdmin: boolean;2399 readonly asAddCollectionAdmin: {2400 readonly collectionId: u32;2401 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2402 } & Struct;2403 readonly isRemoveCollectionAdmin: boolean;2404 readonly asRemoveCollectionAdmin: {2405 readonly collectionId: u32;2406 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2407 } & Struct;2408 readonly isSetCollectionSponsor: boolean;2409 readonly asSetCollectionSponsor: {2410 readonly collectionId: u32;2411 readonly newSponsor: AccountId32;2412 } & Struct;2413 readonly isConfirmSponsorship: boolean;2414 readonly asConfirmSponsorship: {2415 readonly collectionId: u32;2416 } & Struct;2417 readonly isRemoveCollectionSponsor: boolean;2418 readonly asRemoveCollectionSponsor: {2419 readonly collectionId: u32;2420 } & Struct;2421 readonly isCreateItem: boolean;2422 readonly asCreateItem: {2423 readonly collectionId: u32;2424 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2425 readonly data: UpDataStructsCreateItemData;2426 } & Struct;2427 readonly isCreateMultipleItems: boolean;2428 readonly asCreateMultipleItems: {2429 readonly collectionId: u32;2430 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2431 readonly itemsData: Vec<UpDataStructsCreateItemData>;2432 } & Struct;2433 readonly isSetCollectionProperties: boolean;2434 readonly asSetCollectionProperties: {2435 readonly collectionId: u32;2436 readonly properties: Vec<UpDataStructsProperty>;2437 } & Struct;2438 readonly isDeleteCollectionProperties: boolean;2439 readonly asDeleteCollectionProperties: {2440 readonly collectionId: u32;2441 readonly propertyKeys: Vec<Bytes>;2442 } & Struct;2443 readonly isSetTokenProperties: boolean;2444 readonly asSetTokenProperties: {2445 readonly collectionId: u32;2446 readonly tokenId: u32;2447 readonly properties: Vec<UpDataStructsProperty>;2448 } & Struct;2449 readonly isDeleteTokenProperties: boolean;2450 readonly asDeleteTokenProperties: {2451 readonly collectionId: u32;2452 readonly tokenId: u32;2453 readonly propertyKeys: Vec<Bytes>;2454 } & Struct;2455 readonly isSetTokenPropertyPermissions: boolean;2456 readonly asSetTokenPropertyPermissions: {2457 readonly collectionId: u32;2458 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2459 } & Struct;2460 readonly isCreateMultipleItemsEx: boolean;2461 readonly asCreateMultipleItemsEx: {2462 readonly collectionId: u32;2463 readonly data: UpDataStructsCreateItemExData;2464 } & Struct;2465 readonly isSetTransfersEnabledFlag: boolean;2466 readonly asSetTransfersEnabledFlag: {2467 readonly collectionId: u32;2468 readonly value: bool;2469 } & Struct;2470 readonly isBurnItem: boolean;2471 readonly asBurnItem: {2472 readonly collectionId: u32;2473 readonly itemId: u32;2474 readonly value: u128;2475 } & Struct;2476 readonly isBurnFrom: boolean;2477 readonly asBurnFrom: {2478 readonly collectionId: u32;2479 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2480 readonly itemId: u32;2481 readonly value: u128;2482 } & Struct;2483 readonly isTransfer: boolean;2484 readonly asTransfer: {2485 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2486 readonly collectionId: u32;2487 readonly itemId: u32;2488 readonly value: u128;2489 } & Struct;2490 readonly isApprove: boolean;2491 readonly asApprove: {2492 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2493 readonly collectionId: u32;2494 readonly itemId: u32;2495 readonly amount: u128;2496 } & Struct;2497 readonly isApproveFrom: boolean;2498 readonly asApproveFrom: {2499 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2500 readonly to: PalletEvmAccountBasicCrossAccountIdRepr;2501 readonly collectionId: u32;2502 readonly itemId: u32;2503 readonly amount: u128;2504 } & Struct;2505 readonly isTransferFrom: boolean;2506 readonly asTransferFrom: {2507 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2508 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2509 readonly collectionId: u32;2510 readonly itemId: u32;2511 readonly value: u128;2512 } & Struct;2513 readonly isSetCollectionLimits: boolean;2514 readonly asSetCollectionLimits: {2515 readonly collectionId: u32;2516 readonly newLimit: UpDataStructsCollectionLimits;2517 } & Struct;2518 readonly isSetCollectionPermissions: boolean;2519 readonly asSetCollectionPermissions: {2520 readonly collectionId: u32;2521 readonly newPermission: UpDataStructsCollectionPermissions;2522 } & Struct;2523 readonly isRepartition: boolean;2524 readonly asRepartition: {2525 readonly collectionId: u32;2526 readonly tokenId: u32;2527 readonly amount: u128;2528 } & Struct;2529 readonly isSetAllowanceForAll: boolean;2530 readonly asSetAllowanceForAll: {2531 readonly collectionId: u32;2532 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2533 readonly approve: bool;2534 } & Struct;2535 readonly isForceRepairCollection: boolean;2536 readonly asForceRepairCollection: {2537 readonly collectionId: u32;2538 } & Struct;2539 readonly isForceRepairItem: boolean;2540 readonly asForceRepairItem: {2541 readonly collectionId: u32;2542 readonly itemId: u32;2543 } & Struct;2544 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';2545}25462547/** @name PalletUniqueError */2548export interface PalletUniqueError extends Enum {2549 readonly isCollectionDecimalPointLimitExceeded: boolean;2550 readonly isEmptyArgument: boolean;2551 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2552 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2553}25542555/** @name PalletXcmCall */2556export interface PalletXcmCall extends Enum {2557 readonly isSend: boolean;2558 readonly asSend: {2559 readonly dest: XcmVersionedMultiLocation;2560 readonly message: XcmVersionedXcm;2561 } & Struct;2562 readonly isTeleportAssets: boolean;2563 readonly asTeleportAssets: {2564 readonly dest: XcmVersionedMultiLocation;2565 readonly beneficiary: XcmVersionedMultiLocation;2566 readonly assets: XcmVersionedMultiAssets;2567 readonly feeAssetItem: u32;2568 } & Struct;2569 readonly isReserveTransferAssets: boolean;2570 readonly asReserveTransferAssets: {2571 readonly dest: XcmVersionedMultiLocation;2572 readonly beneficiary: XcmVersionedMultiLocation;2573 readonly assets: XcmVersionedMultiAssets;2574 readonly feeAssetItem: u32;2575 } & Struct;2576 readonly isExecute: boolean;2577 readonly asExecute: {2578 readonly message: XcmVersionedXcm;2579 readonly maxWeight: u64;2580 } & Struct;2581 readonly isForceXcmVersion: boolean;2582 readonly asForceXcmVersion: {2583 readonly location: XcmV1MultiLocation;2584 readonly xcmVersion: u32;2585 } & Struct;2586 readonly isForceDefaultXcmVersion: boolean;2587 readonly asForceDefaultXcmVersion: {2588 readonly maybeXcmVersion: Option<u32>;2589 } & Struct;2590 readonly isForceSubscribeVersionNotify: boolean;2591 readonly asForceSubscribeVersionNotify: {2592 readonly location: XcmVersionedMultiLocation;2593 } & Struct;2594 readonly isForceUnsubscribeVersionNotify: boolean;2595 readonly asForceUnsubscribeVersionNotify: {2596 readonly location: XcmVersionedMultiLocation;2597 } & Struct;2598 readonly isLimitedReserveTransferAssets: boolean;2599 readonly asLimitedReserveTransferAssets: {2600 readonly dest: XcmVersionedMultiLocation;2601 readonly beneficiary: XcmVersionedMultiLocation;2602 readonly assets: XcmVersionedMultiAssets;2603 readonly feeAssetItem: u32;2604 readonly weightLimit: XcmV2WeightLimit;2605 } & Struct;2606 readonly isLimitedTeleportAssets: boolean;2607 readonly asLimitedTeleportAssets: {2608 readonly dest: XcmVersionedMultiLocation;2609 readonly beneficiary: XcmVersionedMultiLocation;2610 readonly assets: XcmVersionedMultiAssets;2611 readonly feeAssetItem: u32;2612 readonly weightLimit: XcmV2WeightLimit;2613 } & Struct;2614 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2615}26162617/** @name PalletXcmError */2618export interface PalletXcmError extends Enum {2619 readonly isUnreachable: boolean;2620 readonly isSendFailure: boolean;2621 readonly isFiltered: boolean;2622 readonly isUnweighableMessage: boolean;2623 readonly isDestinationNotInvertible: boolean;2624 readonly isEmpty: boolean;2625 readonly isCannotReanchor: boolean;2626 readonly isTooManyAssets: boolean;2627 readonly isInvalidOrigin: boolean;2628 readonly isBadVersion: boolean;2629 readonly isBadLocation: boolean;2630 readonly isNoSubscription: boolean;2631 readonly isAlreadySubscribed: boolean;2632 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2633}26342635/** @name PalletXcmEvent */2636export interface PalletXcmEvent extends Enum {2637 readonly isAttempted: boolean;2638 readonly asAttempted: XcmV2TraitsOutcome;2639 readonly isSent: boolean;2640 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2641 readonly isUnexpectedResponse: boolean;2642 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2643 readonly isResponseReady: boolean;2644 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2645 readonly isNotified: boolean;2646 readonly asNotified: ITuple<[u64, u8, u8]>;2647 readonly isNotifyOverweight: boolean;2648 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2649 readonly isNotifyDispatchError: boolean;2650 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2651 readonly isNotifyDecodeFailed: boolean;2652 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2653 readonly isInvalidResponder: boolean;2654 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2655 readonly isInvalidResponderVersion: boolean;2656 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2657 readonly isResponseTaken: boolean;2658 readonly asResponseTaken: u64;2659 readonly isAssetsTrapped: boolean;2660 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2661 readonly isVersionChangeNotified: boolean;2662 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2663 readonly isSupportedVersionChanged: boolean;2664 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2665 readonly isNotifyTargetSendFail: boolean;2666 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2667 readonly isNotifyTargetMigrationFail: boolean;2668 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2669 readonly isAssetsClaimed: boolean;2670 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2671 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2672}26732674/** @name PhantomTypeUpDataStructs */2675export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpPovEstimateRpcPovInfo]>> {}26762677/** @name PolkadotCorePrimitivesInboundDownwardMessage */2678export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2679 readonly sentAt: u32;2680 readonly msg: Bytes;2681}26822683/** @name PolkadotCorePrimitivesInboundHrmpMessage */2684export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2685 readonly sentAt: u32;2686 readonly data: Bytes;2687}26882689/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2690export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2691 readonly recipient: u32;2692 readonly data: Bytes;2693}26942695/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2696export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2697 readonly isConcatenatedVersionedXcm: boolean;2698 readonly isConcatenatedEncodedBlob: boolean;2699 readonly isSignals: boolean;2700 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2701}27022703/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2704export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2705 readonly maxCodeSize: u32;2706 readonly maxHeadDataSize: u32;2707 readonly maxUpwardQueueCount: u32;2708 readonly maxUpwardQueueSize: u32;2709 readonly maxUpwardMessageSize: u32;2710 readonly maxUpwardMessageNumPerCandidate: u32;2711 readonly hrmpMaxMessageNumPerCandidate: u32;2712 readonly validationUpgradeCooldown: u32;2713 readonly validationUpgradeDelay: u32;2714}27152716/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2717export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2718 readonly maxCapacity: u32;2719 readonly maxTotalSize: u32;2720 readonly maxMessageSize: u32;2721 readonly msgCount: u32;2722 readonly totalSize: u32;2723 readonly mqcHead: Option<H256>;2724}27252726/** @name PolkadotPrimitivesV2PersistedValidationData */2727export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2728 readonly parentHead: Bytes;2729 readonly relayParentNumber: u32;2730 readonly relayParentStorageRoot: H256;2731 readonly maxPovSize: u32;2732}27332734/** @name PolkadotPrimitivesV2UpgradeRestriction */2735export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2736 readonly isPresent: boolean;2737 readonly type: 'Present';2738}27392740/** @name SpArithmeticArithmeticError */2741export interface SpArithmeticArithmeticError extends Enum {2742 readonly isUnderflow: boolean;2743 readonly isOverflow: boolean;2744 readonly isDivisionByZero: boolean;2745 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2746}27472748/** @name SpConsensusAuraSr25519AppSr25519Public */2749export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}27502751/** @name SpCoreCryptoKeyTypeId */2752export interface SpCoreCryptoKeyTypeId extends U8aFixed {}27532754/** @name SpCoreEcdsaSignature */2755export interface SpCoreEcdsaSignature extends U8aFixed {}27562757/** @name SpCoreEd25519Signature */2758export interface SpCoreEd25519Signature extends U8aFixed {}27592760/** @name SpCoreSr25519Public */2761export interface SpCoreSr25519Public extends U8aFixed {}27622763/** @name SpCoreSr25519Signature */2764export interface SpCoreSr25519Signature extends U8aFixed {}27652766/** @name SpRuntimeBlakeTwo256 */2767export interface SpRuntimeBlakeTwo256 extends Null {}27682769/** @name SpRuntimeDigest */2770export interface SpRuntimeDigest extends Struct {2771 readonly logs: Vec<SpRuntimeDigestDigestItem>;2772}27732774/** @name SpRuntimeDigestDigestItem */2775export interface SpRuntimeDigestDigestItem extends Enum {2776 readonly isOther: boolean;2777 readonly asOther: Bytes;2778 readonly isConsensus: boolean;2779 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2780 readonly isSeal: boolean;2781 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2782 readonly isPreRuntime: boolean;2783 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2784 readonly isRuntimeEnvironmentUpdated: boolean;2785 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2786}27872788/** @name SpRuntimeDispatchError */2789export interface SpRuntimeDispatchError extends Enum {2790 readonly isOther: boolean;2791 readonly isCannotLookup: boolean;2792 readonly isBadOrigin: boolean;2793 readonly isModule: boolean;2794 readonly asModule: SpRuntimeModuleError;2795 readonly isConsumerRemaining: boolean;2796 readonly isNoProviders: boolean;2797 readonly isTooManyConsumers: boolean;2798 readonly isToken: boolean;2799 readonly asToken: SpRuntimeTokenError;2800 readonly isArithmetic: boolean;2801 readonly asArithmetic: SpArithmeticArithmeticError;2802 readonly isTransactional: boolean;2803 readonly asTransactional: SpRuntimeTransactionalError;2804 readonly isExhausted: boolean;2805 readonly isCorruption: boolean;2806 readonly isUnavailable: boolean;2807 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2808}28092810/** @name SpRuntimeHeader */2811export interface SpRuntimeHeader extends Struct {2812 readonly parentHash: H256;2813 readonly number: Compact<u32>;2814 readonly stateRoot: H256;2815 readonly extrinsicsRoot: H256;2816 readonly digest: SpRuntimeDigest;2817}28182819/** @name SpRuntimeModuleError */2820export interface SpRuntimeModuleError extends Struct {2821 readonly index: u8;2822 readonly error: U8aFixed;2823}28242825/** @name SpRuntimeMultiSignature */2826export interface SpRuntimeMultiSignature extends Enum {2827 readonly isEd25519: boolean;2828 readonly asEd25519: SpCoreEd25519Signature;2829 readonly isSr25519: boolean;2830 readonly asSr25519: SpCoreSr25519Signature;2831 readonly isEcdsa: boolean;2832 readonly asEcdsa: SpCoreEcdsaSignature;2833 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2834}28352836/** @name SpRuntimeTokenError */2837export interface SpRuntimeTokenError extends Enum {2838 readonly isNoFunds: boolean;2839 readonly isWouldDie: boolean;2840 readonly isBelowMinimum: boolean;2841 readonly isCannotCreate: boolean;2842 readonly isUnknownAsset: boolean;2843 readonly isFrozen: boolean;2844 readonly isUnsupported: boolean;2845 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2846}28472848/** @name SpRuntimeTransactionalError */2849export interface SpRuntimeTransactionalError extends Enum {2850 readonly isLimitReached: boolean;2851 readonly isNoLayer: boolean;2852 readonly type: 'LimitReached' | 'NoLayer';2853}28542855/** @name SpRuntimeTransactionValidityInvalidTransaction */2856export interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {2857 readonly isCall: boolean;2858 readonly isPayment: boolean;2859 readonly isFuture: boolean;2860 readonly isStale: boolean;2861 readonly isBadProof: boolean;2862 readonly isAncientBirthBlock: boolean;2863 readonly isExhaustsResources: boolean;2864 readonly isCustom: boolean;2865 readonly asCustom: u8;2866 readonly isBadMandatory: boolean;2867 readonly isMandatoryValidation: boolean;2868 readonly isBadSigner: boolean;2869 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';2870}28712872/** @name SpRuntimeTransactionValidityTransactionValidityError */2873export interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {2874 readonly isInvalid: boolean;2875 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;2876 readonly isUnknown: boolean;2877 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;2878 readonly type: 'Invalid' | 'Unknown';2879}28802881/** @name SpRuntimeTransactionValidityUnknownTransaction */2882export interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {2883 readonly isCannotLookup: boolean;2884 readonly isNoUnsignedValidator: boolean;2885 readonly isCustom: boolean;2886 readonly asCustom: u8;2887 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';2888}28892890/** @name SpTrieStorageProof */2891export interface SpTrieStorageProof extends Struct {2892 readonly trieNodes: BTreeSet<Bytes>;2893}28942895/** @name SpVersionRuntimeVersion */2896export interface SpVersionRuntimeVersion extends Struct {2897 readonly specName: Text;2898 readonly implName: Text;2899 readonly authoringVersion: u32;2900 readonly specVersion: u32;2901 readonly implVersion: u32;2902 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2903 readonly transactionVersion: u32;2904 readonly stateVersion: u8;2905}29062907/** @name SpWeightsRuntimeDbWeight */2908export interface SpWeightsRuntimeDbWeight extends Struct {2909 readonly read: u64;2910 readonly write: u64;2911}29122913/** @name SpWeightsWeightV2Weight */2914export interface SpWeightsWeightV2Weight extends Struct {2915 readonly refTime: Compact<u64>;2916 readonly proofSize: Compact<u64>;2917}29182919/** @name UpDataStructsAccessMode */2920export interface UpDataStructsAccessMode extends Enum {2921 readonly isNormal: boolean;2922 readonly isAllowList: boolean;2923 readonly type: 'Normal' | 'AllowList';2924}29252926/** @name UpDataStructsCollection */2927export interface UpDataStructsCollection extends Struct {2928 readonly owner: AccountId32;2929 readonly mode: UpDataStructsCollectionMode;2930 readonly name: Vec<u16>;2931 readonly description: Vec<u16>;2932 readonly tokenPrefix: Bytes;2933 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2934 readonly limits: UpDataStructsCollectionLimits;2935 readonly permissions: UpDataStructsCollectionPermissions;2936 readonly flags: U8aFixed;2937}29382939/** @name UpDataStructsCollectionLimits */2940export interface UpDataStructsCollectionLimits extends Struct {2941 readonly accountTokenOwnershipLimit: Option<u32>;2942 readonly sponsoredDataSize: Option<u32>;2943 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2944 readonly tokenLimit: Option<u32>;2945 readonly sponsorTransferTimeout: Option<u32>;2946 readonly sponsorApproveTimeout: Option<u32>;2947 readonly ownerCanTransfer: Option<bool>;2948 readonly ownerCanDestroy: Option<bool>;2949 readonly transfersEnabled: Option<bool>;2950}29512952/** @name UpDataStructsCollectionMode */2953export interface UpDataStructsCollectionMode extends Enum {2954 readonly isNft: boolean;2955 readonly isFungible: boolean;2956 readonly asFungible: u8;2957 readonly isReFungible: boolean;2958 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2959}29602961/** @name UpDataStructsCollectionPermissions */2962export interface UpDataStructsCollectionPermissions extends Struct {2963 readonly access: Option<UpDataStructsAccessMode>;2964 readonly mintMode: Option<bool>;2965 readonly nesting: Option<UpDataStructsNestingPermissions>;2966}29672968/** @name UpDataStructsCollectionStats */2969export interface UpDataStructsCollectionStats extends Struct {2970 readonly created: u32;2971 readonly destroyed: u32;2972 readonly alive: u32;2973}29742975/** @name UpDataStructsCreateCollectionData */2976export interface UpDataStructsCreateCollectionData extends Struct {2977 readonly mode: UpDataStructsCollectionMode;2978 readonly access: Option<UpDataStructsAccessMode>;2979 readonly name: Vec<u16>;2980 readonly description: Vec<u16>;2981 readonly tokenPrefix: Bytes;2982 readonly pendingSponsor: Option<AccountId32>;2983 readonly limits: Option<UpDataStructsCollectionLimits>;2984 readonly permissions: Option<UpDataStructsCollectionPermissions>;2985 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2986 readonly properties: Vec<UpDataStructsProperty>;2987}29882989/** @name UpDataStructsCreateFungibleData */2990export interface UpDataStructsCreateFungibleData extends Struct {2991 readonly value: u128;2992}29932994/** @name UpDataStructsCreateItemData */2995export interface UpDataStructsCreateItemData extends Enum {2996 readonly isNft: boolean;2997 readonly asNft: UpDataStructsCreateNftData;2998 readonly isFungible: boolean;2999 readonly asFungible: UpDataStructsCreateFungibleData;3000 readonly isReFungible: boolean;3001 readonly asReFungible: UpDataStructsCreateReFungibleData;3002 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3003}30043005/** @name UpDataStructsCreateItemExData */3006export interface UpDataStructsCreateItemExData extends Enum {3007 readonly isNft: boolean;3008 readonly asNft: Vec<UpDataStructsCreateNftExData>;3009 readonly isFungible: boolean;3010 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;3011 readonly isRefungibleMultipleItems: boolean;3012 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;3013 readonly isRefungibleMultipleOwners: boolean;3014 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;3015 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3016}30173018/** @name UpDataStructsCreateNftData */3019export interface UpDataStructsCreateNftData extends Struct {3020 readonly properties: Vec<UpDataStructsProperty>;3021}30223023/** @name UpDataStructsCreateNftExData */3024export interface UpDataStructsCreateNftExData extends Struct {3025 readonly properties: Vec<UpDataStructsProperty>;3026 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3027}30283029/** @name UpDataStructsCreateReFungibleData */3030export interface UpDataStructsCreateReFungibleData extends Struct {3031 readonly pieces: u128;3032 readonly properties: Vec<UpDataStructsProperty>;3033}30343035/** @name UpDataStructsCreateRefungibleExMultipleOwners */3036export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3037 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3038 readonly properties: Vec<UpDataStructsProperty>;3039}30403041/** @name UpDataStructsCreateRefungibleExSingleOwner */3042export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3043 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3044 readonly pieces: u128;3045 readonly properties: Vec<UpDataStructsProperty>;3046}30473048/** @name UpDataStructsNestingPermissions */3049export interface UpDataStructsNestingPermissions extends Struct {3050 readonly tokenOwner: bool;3051 readonly collectionAdmin: bool;3052 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;3053}30543055/** @name UpDataStructsOwnerRestrictedSet */3056export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}30573058/** @name UpDataStructsProperties */3059export interface UpDataStructsProperties extends Struct {3060 readonly map: UpDataStructsPropertiesMapBoundedVec;3061 readonly consumedSpace: u32;3062 readonly spaceLimit: u32;3063}30643065/** @name UpDataStructsPropertiesMapBoundedVec */3066export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30673068/** @name UpDataStructsPropertiesMapPropertyPermission */3069export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30703071/** @name UpDataStructsProperty */3072export interface UpDataStructsProperty extends Struct {3073 readonly key: Bytes;3074 readonly value: Bytes;3075}30763077/** @name UpDataStructsPropertyKeyPermission */3078export interface UpDataStructsPropertyKeyPermission extends Struct {3079 readonly key: Bytes;3080 readonly permission: UpDataStructsPropertyPermission;3081}30823083/** @name UpDataStructsPropertyPermission */3084export interface UpDataStructsPropertyPermission extends Struct {3085 readonly mutable: bool;3086 readonly collectionAdmin: bool;3087 readonly tokenOwner: bool;3088}30893090/** @name UpDataStructsPropertyScope */3091export interface UpDataStructsPropertyScope extends Enum {3092 readonly isNone: boolean;3093 readonly isRmrk: boolean;3094 readonly type: 'None' | 'Rmrk';3095}30963097/** @name UpDataStructsRpcCollection */3098export interface UpDataStructsRpcCollection extends Struct {3099 readonly owner: AccountId32;3100 readonly mode: UpDataStructsCollectionMode;3101 readonly name: Vec<u16>;3102 readonly description: Vec<u16>;3103 readonly tokenPrefix: Bytes;3104 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3105 readonly limits: UpDataStructsCollectionLimits;3106 readonly permissions: UpDataStructsCollectionPermissions;3107 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3108 readonly properties: Vec<UpDataStructsProperty>;3109 readonly readOnly: bool;3110 readonly flags: UpDataStructsRpcCollectionFlags;3111}31123113/** @name UpDataStructsRpcCollectionFlags */3114export interface UpDataStructsRpcCollectionFlags extends Struct {3115 readonly foreign: bool;3116 readonly erc721metadata: bool;3117}31183119/** @name UpDataStructsSponsoringRateLimit */3120export interface UpDataStructsSponsoringRateLimit extends Enum {3121 readonly isSponsoringDisabled: boolean;3122 readonly isBlocks: boolean;3123 readonly asBlocks: u32;3124 readonly type: 'SponsoringDisabled' | 'Blocks';3125}31263127/** @name UpDataStructsSponsorshipStateAccountId32 */3128export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3129 readonly isDisabled: boolean;3130 readonly isUnconfirmed: boolean;3131 readonly asUnconfirmed: AccountId32;3132 readonly isConfirmed: boolean;3133 readonly asConfirmed: AccountId32;3134 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3135}31363137/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3138export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3139 readonly isDisabled: boolean;3140 readonly isUnconfirmed: boolean;3141 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3142 readonly isConfirmed: boolean;3143 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3144 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3145}31463147/** @name UpDataStructsTokenChild */3148export interface UpDataStructsTokenChild extends Struct {3149 readonly token: u32;3150 readonly collection: u32;3151}31523153/** @name UpDataStructsTokenData */3154export interface UpDataStructsTokenData extends Struct {3155 readonly properties: Vec<UpDataStructsProperty>;3156 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3157 readonly pieces: u128;3158}31593160/** @name UpPovEstimateRpcPovInfo */3161export interface UpPovEstimateRpcPovInfo extends Struct {3162 readonly proofSize: u64;3163 readonly compactProofSize: u64;3164 readonly compressedProofSize: u64;3165 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3166 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3167}31683169/** @name UpPovEstimateRpcTrieKeyValue */3170export interface UpPovEstimateRpcTrieKeyValue extends Struct {3171 readonly key: Bytes;3172 readonly value: Bytes;3173}31743175/** @name XcmDoubleEncoded */3176export interface XcmDoubleEncoded extends Struct {3177 readonly encoded: Bytes;3178}31793180/** @name XcmV0Junction */3181export interface XcmV0Junction extends Enum {3182 readonly isParent: boolean;3183 readonly isParachain: boolean;3184 readonly asParachain: Compact<u32>;3185 readonly isAccountId32: boolean;3186 readonly asAccountId32: {3187 readonly network: XcmV0JunctionNetworkId;3188 readonly id: U8aFixed;3189 } & Struct;3190 readonly isAccountIndex64: boolean;3191 readonly asAccountIndex64: {3192 readonly network: XcmV0JunctionNetworkId;3193 readonly index: Compact<u64>;3194 } & Struct;3195 readonly isAccountKey20: boolean;3196 readonly asAccountKey20: {3197 readonly network: XcmV0JunctionNetworkId;3198 readonly key: U8aFixed;3199 } & Struct;3200 readonly isPalletInstance: boolean;3201 readonly asPalletInstance: u8;3202 readonly isGeneralIndex: boolean;3203 readonly asGeneralIndex: Compact<u128>;3204 readonly isGeneralKey: boolean;3205 readonly asGeneralKey: Bytes;3206 readonly isOnlyChild: boolean;3207 readonly isPlurality: boolean;3208 readonly asPlurality: {3209 readonly id: XcmV0JunctionBodyId;3210 readonly part: XcmV0JunctionBodyPart;3211 } & Struct;3212 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3213}32143215/** @name XcmV0JunctionBodyId */3216export interface XcmV0JunctionBodyId extends Enum {3217 readonly isUnit: boolean;3218 readonly isNamed: boolean;3219 readonly asNamed: Bytes;3220 readonly isIndex: boolean;3221 readonly asIndex: Compact<u32>;3222 readonly isExecutive: boolean;3223 readonly isTechnical: boolean;3224 readonly isLegislative: boolean;3225 readonly isJudicial: boolean;3226 readonly isDefense: boolean;3227 readonly isAdministration: boolean;3228 readonly isTreasury: boolean;3229 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';3230}32313232/** @name XcmV0JunctionBodyPart */3233export interface XcmV0JunctionBodyPart extends Enum {3234 readonly isVoice: boolean;3235 readonly isMembers: boolean;3236 readonly asMembers: {3237 readonly count: Compact<u32>;3238 } & Struct;3239 readonly isFraction: boolean;3240 readonly asFraction: {3241 readonly nom: Compact<u32>;3242 readonly denom: Compact<u32>;3243 } & Struct;3244 readonly isAtLeastProportion: boolean;3245 readonly asAtLeastProportion: {3246 readonly nom: Compact<u32>;3247 readonly denom: Compact<u32>;3248 } & Struct;3249 readonly isMoreThanProportion: boolean;3250 readonly asMoreThanProportion: {3251 readonly nom: Compact<u32>;3252 readonly denom: Compact<u32>;3253 } & Struct;3254 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3255}32563257/** @name XcmV0JunctionNetworkId */3258export interface XcmV0JunctionNetworkId extends Enum {3259 readonly isAny: boolean;3260 readonly isNamed: boolean;3261 readonly asNamed: Bytes;3262 readonly isPolkadot: boolean;3263 readonly isKusama: boolean;3264 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3265}32663267/** @name XcmV0MultiAsset */3268export interface XcmV0MultiAsset extends Enum {3269 readonly isNone: boolean;3270 readonly isAll: boolean;3271 readonly isAllFungible: boolean;3272 readonly isAllNonFungible: boolean;3273 readonly isAllAbstractFungible: boolean;3274 readonly asAllAbstractFungible: {3275 readonly id: Bytes;3276 } & Struct;3277 readonly isAllAbstractNonFungible: boolean;3278 readonly asAllAbstractNonFungible: {3279 readonly class: Bytes;3280 } & Struct;3281 readonly isAllConcreteFungible: boolean;3282 readonly asAllConcreteFungible: {3283 readonly id: XcmV0MultiLocation;3284 } & Struct;3285 readonly isAllConcreteNonFungible: boolean;3286 readonly asAllConcreteNonFungible: {3287 readonly class: XcmV0MultiLocation;3288 } & Struct;3289 readonly isAbstractFungible: boolean;3290 readonly asAbstractFungible: {3291 readonly id: Bytes;3292 readonly amount: Compact<u128>;3293 } & Struct;3294 readonly isAbstractNonFungible: boolean;3295 readonly asAbstractNonFungible: {3296 readonly class: Bytes;3297 readonly instance: XcmV1MultiassetAssetInstance;3298 } & Struct;3299 readonly isConcreteFungible: boolean;3300 readonly asConcreteFungible: {3301 readonly id: XcmV0MultiLocation;3302 readonly amount: Compact<u128>;3303 } & Struct;3304 readonly isConcreteNonFungible: boolean;3305 readonly asConcreteNonFungible: {3306 readonly class: XcmV0MultiLocation;3307 readonly instance: XcmV1MultiassetAssetInstance;3308 } & Struct;3309 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3310}33113312/** @name XcmV0MultiLocation */3313export interface XcmV0MultiLocation extends Enum {3314 readonly isNull: boolean;3315 readonly isX1: boolean;3316 readonly asX1: XcmV0Junction;3317 readonly isX2: boolean;3318 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3319 readonly isX3: boolean;3320 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3321 readonly isX4: boolean;3322 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3323 readonly isX5: boolean;3324 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3325 readonly isX6: boolean;3326 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3327 readonly isX7: boolean;3328 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3329 readonly isX8: boolean;3330 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3331 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3332}33333334/** @name XcmV0Order */3335export interface XcmV0Order extends Enum {3336 readonly isNull: boolean;3337 readonly isDepositAsset: boolean;3338 readonly asDepositAsset: {3339 readonly assets: Vec<XcmV0MultiAsset>;3340 readonly dest: XcmV0MultiLocation;3341 } & Struct;3342 readonly isDepositReserveAsset: boolean;3343 readonly asDepositReserveAsset: {3344 readonly assets: Vec<XcmV0MultiAsset>;3345 readonly dest: XcmV0MultiLocation;3346 readonly effects: Vec<XcmV0Order>;3347 } & Struct;3348 readonly isExchangeAsset: boolean;3349 readonly asExchangeAsset: {3350 readonly give: Vec<XcmV0MultiAsset>;3351 readonly receive: Vec<XcmV0MultiAsset>;3352 } & Struct;3353 readonly isInitiateReserveWithdraw: boolean;3354 readonly asInitiateReserveWithdraw: {3355 readonly assets: Vec<XcmV0MultiAsset>;3356 readonly reserve: XcmV0MultiLocation;3357 readonly effects: Vec<XcmV0Order>;3358 } & Struct;3359 readonly isInitiateTeleport: boolean;3360 readonly asInitiateTeleport: {3361 readonly assets: Vec<XcmV0MultiAsset>;3362 readonly dest: XcmV0MultiLocation;3363 readonly effects: Vec<XcmV0Order>;3364 } & Struct;3365 readonly isQueryHolding: boolean;3366 readonly asQueryHolding: {3367 readonly queryId: Compact<u64>;3368 readonly dest: XcmV0MultiLocation;3369 readonly assets: Vec<XcmV0MultiAsset>;3370 } & Struct;3371 readonly isBuyExecution: boolean;3372 readonly asBuyExecution: {3373 readonly fees: XcmV0MultiAsset;3374 readonly weight: u64;3375 readonly debt: u64;3376 readonly haltOnError: bool;3377 readonly xcm: Vec<XcmV0Xcm>;3378 } & Struct;3379 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3380}33813382/** @name XcmV0OriginKind */3383export interface XcmV0OriginKind extends Enum {3384 readonly isNative: boolean;3385 readonly isSovereignAccount: boolean;3386 readonly isSuperuser: boolean;3387 readonly isXcm: boolean;3388 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3389}33903391/** @name XcmV0Response */3392export interface XcmV0Response extends Enum {3393 readonly isAssets: boolean;3394 readonly asAssets: Vec<XcmV0MultiAsset>;3395 readonly type: 'Assets';3396}33973398/** @name XcmV0Xcm */3399export interface XcmV0Xcm extends Enum {3400 readonly isWithdrawAsset: boolean;3401 readonly asWithdrawAsset: {3402 readonly assets: Vec<XcmV0MultiAsset>;3403 readonly effects: Vec<XcmV0Order>;3404 } & Struct;3405 readonly isReserveAssetDeposit: boolean;3406 readonly asReserveAssetDeposit: {3407 readonly assets: Vec<XcmV0MultiAsset>;3408 readonly effects: Vec<XcmV0Order>;3409 } & Struct;3410 readonly isTeleportAsset: boolean;3411 readonly asTeleportAsset: {3412 readonly assets: Vec<XcmV0MultiAsset>;3413 readonly effects: Vec<XcmV0Order>;3414 } & Struct;3415 readonly isQueryResponse: boolean;3416 readonly asQueryResponse: {3417 readonly queryId: Compact<u64>;3418 readonly response: XcmV0Response;3419 } & Struct;3420 readonly isTransferAsset: boolean;3421 readonly asTransferAsset: {3422 readonly assets: Vec<XcmV0MultiAsset>;3423 readonly dest: XcmV0MultiLocation;3424 } & Struct;3425 readonly isTransferReserveAsset: boolean;3426 readonly asTransferReserveAsset: {3427 readonly assets: Vec<XcmV0MultiAsset>;3428 readonly dest: XcmV0MultiLocation;3429 readonly effects: Vec<XcmV0Order>;3430 } & Struct;3431 readonly isTransact: boolean;3432 readonly asTransact: {3433 readonly originType: XcmV0OriginKind;3434 readonly requireWeightAtMost: u64;3435 readonly call: XcmDoubleEncoded;3436 } & Struct;3437 readonly isHrmpNewChannelOpenRequest: boolean;3438 readonly asHrmpNewChannelOpenRequest: {3439 readonly sender: Compact<u32>;3440 readonly maxMessageSize: Compact<u32>;3441 readonly maxCapacity: Compact<u32>;3442 } & Struct;3443 readonly isHrmpChannelAccepted: boolean;3444 readonly asHrmpChannelAccepted: {3445 readonly recipient: Compact<u32>;3446 } & Struct;3447 readonly isHrmpChannelClosing: boolean;3448 readonly asHrmpChannelClosing: {3449 readonly initiator: Compact<u32>;3450 readonly sender: Compact<u32>;3451 readonly recipient: Compact<u32>;3452 } & Struct;3453 readonly isRelayedFrom: boolean;3454 readonly asRelayedFrom: {3455 readonly who: XcmV0MultiLocation;3456 readonly message: XcmV0Xcm;3457 } & Struct;3458 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3459}34603461/** @name XcmV1Junction */3462export interface XcmV1Junction extends Enum {3463 readonly isParachain: boolean;3464 readonly asParachain: Compact<u32>;3465 readonly isAccountId32: boolean;3466 readonly asAccountId32: {3467 readonly network: XcmV0JunctionNetworkId;3468 readonly id: U8aFixed;3469 } & Struct;3470 readonly isAccountIndex64: boolean;3471 readonly asAccountIndex64: {3472 readonly network: XcmV0JunctionNetworkId;3473 readonly index: Compact<u64>;3474 } & Struct;3475 readonly isAccountKey20: boolean;3476 readonly asAccountKey20: {3477 readonly network: XcmV0JunctionNetworkId;3478 readonly key: U8aFixed;3479 } & Struct;3480 readonly isPalletInstance: boolean;3481 readonly asPalletInstance: u8;3482 readonly isGeneralIndex: boolean;3483 readonly asGeneralIndex: Compact<u128>;3484 readonly isGeneralKey: boolean;3485 readonly asGeneralKey: Bytes;3486 readonly isOnlyChild: boolean;3487 readonly isPlurality: boolean;3488 readonly asPlurality: {3489 readonly id: XcmV0JunctionBodyId;3490 readonly part: XcmV0JunctionBodyPart;3491 } & Struct;3492 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3493}34943495/** @name XcmV1MultiAsset */3496export interface XcmV1MultiAsset extends Struct {3497 readonly id: XcmV1MultiassetAssetId;3498 readonly fun: XcmV1MultiassetFungibility;3499}35003501/** @name XcmV1MultiassetAssetId */3502export interface XcmV1MultiassetAssetId extends Enum {3503 readonly isConcrete: boolean;3504 readonly asConcrete: XcmV1MultiLocation;3505 readonly isAbstract: boolean;3506 readonly asAbstract: Bytes;3507 readonly type: 'Concrete' | 'Abstract';3508}35093510/** @name XcmV1MultiassetAssetInstance */3511export interface XcmV1MultiassetAssetInstance extends Enum {3512 readonly isUndefined: boolean;3513 readonly isIndex: boolean;3514 readonly asIndex: Compact<u128>;3515 readonly isArray4: boolean;3516 readonly asArray4: U8aFixed;3517 readonly isArray8: boolean;3518 readonly asArray8: U8aFixed;3519 readonly isArray16: boolean;3520 readonly asArray16: U8aFixed;3521 readonly isArray32: boolean;3522 readonly asArray32: U8aFixed;3523 readonly isBlob: boolean;3524 readonly asBlob: Bytes;3525 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3526}35273528/** @name XcmV1MultiassetFungibility */3529export interface XcmV1MultiassetFungibility extends Enum {3530 readonly isFungible: boolean;3531 readonly asFungible: Compact<u128>;3532 readonly isNonFungible: boolean;3533 readonly asNonFungible: XcmV1MultiassetAssetInstance;3534 readonly type: 'Fungible' | 'NonFungible';3535}35363537/** @name XcmV1MultiassetMultiAssetFilter */3538export interface XcmV1MultiassetMultiAssetFilter extends Enum {3539 readonly isDefinite: boolean;3540 readonly asDefinite: XcmV1MultiassetMultiAssets;3541 readonly isWild: boolean;3542 readonly asWild: XcmV1MultiassetWildMultiAsset;3543 readonly type: 'Definite' | 'Wild';3544}35453546/** @name XcmV1MultiassetMultiAssets */3547export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}35483549/** @name XcmV1MultiassetWildFungibility */3550export interface XcmV1MultiassetWildFungibility extends Enum {3551 readonly isFungible: boolean;3552 readonly isNonFungible: boolean;3553 readonly type: 'Fungible' | 'NonFungible';3554}35553556/** @name XcmV1MultiassetWildMultiAsset */3557export interface XcmV1MultiassetWildMultiAsset extends Enum {3558 readonly isAll: boolean;3559 readonly isAllOf: boolean;3560 readonly asAllOf: {3561 readonly id: XcmV1MultiassetAssetId;3562 readonly fun: XcmV1MultiassetWildFungibility;3563 } & Struct;3564 readonly type: 'All' | 'AllOf';3565}35663567/** @name XcmV1MultiLocation */3568export interface XcmV1MultiLocation extends Struct {3569 readonly parents: u8;3570 readonly interior: XcmV1MultilocationJunctions;3571}35723573/** @name XcmV1MultilocationJunctions */3574export interface XcmV1MultilocationJunctions extends Enum {3575 readonly isHere: boolean;3576 readonly isX1: boolean;3577 readonly asX1: XcmV1Junction;3578 readonly isX2: boolean;3579 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3580 readonly isX3: boolean;3581 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3582 readonly isX4: boolean;3583 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3584 readonly isX5: boolean;3585 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3586 readonly isX6: boolean;3587 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3588 readonly isX7: boolean;3589 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3590 readonly isX8: boolean;3591 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3592 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3593}35943595/** @name XcmV1Order */3596export interface XcmV1Order extends Enum {3597 readonly isNoop: boolean;3598 readonly isDepositAsset: boolean;3599 readonly asDepositAsset: {3600 readonly assets: XcmV1MultiassetMultiAssetFilter;3601 readonly maxAssets: u32;3602 readonly beneficiary: XcmV1MultiLocation;3603 } & Struct;3604 readonly isDepositReserveAsset: boolean;3605 readonly asDepositReserveAsset: {3606 readonly assets: XcmV1MultiassetMultiAssetFilter;3607 readonly maxAssets: u32;3608 readonly dest: XcmV1MultiLocation;3609 readonly effects: Vec<XcmV1Order>;3610 } & Struct;3611 readonly isExchangeAsset: boolean;3612 readonly asExchangeAsset: {3613 readonly give: XcmV1MultiassetMultiAssetFilter;3614 readonly receive: XcmV1MultiassetMultiAssets;3615 } & Struct;3616 readonly isInitiateReserveWithdraw: boolean;3617 readonly asInitiateReserveWithdraw: {3618 readonly assets: XcmV1MultiassetMultiAssetFilter;3619 readonly reserve: XcmV1MultiLocation;3620 readonly effects: Vec<XcmV1Order>;3621 } & Struct;3622 readonly isInitiateTeleport: boolean;3623 readonly asInitiateTeleport: {3624 readonly assets: XcmV1MultiassetMultiAssetFilter;3625 readonly dest: XcmV1MultiLocation;3626 readonly effects: Vec<XcmV1Order>;3627 } & Struct;3628 readonly isQueryHolding: boolean;3629 readonly asQueryHolding: {3630 readonly queryId: Compact<u64>;3631 readonly dest: XcmV1MultiLocation;3632 readonly assets: XcmV1MultiassetMultiAssetFilter;3633 } & Struct;3634 readonly isBuyExecution: boolean;3635 readonly asBuyExecution: {3636 readonly fees: XcmV1MultiAsset;3637 readonly weight: u64;3638 readonly debt: u64;3639 readonly haltOnError: bool;3640 readonly instructions: Vec<XcmV1Xcm>;3641 } & Struct;3642 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3643}36443645/** @name XcmV1Response */3646export interface XcmV1Response extends Enum {3647 readonly isAssets: boolean;3648 readonly asAssets: XcmV1MultiassetMultiAssets;3649 readonly isVersion: boolean;3650 readonly asVersion: u32;3651 readonly type: 'Assets' | 'Version';3652}36533654/** @name XcmV1Xcm */3655export interface XcmV1Xcm extends Enum {3656 readonly isWithdrawAsset: boolean;3657 readonly asWithdrawAsset: {3658 readonly assets: XcmV1MultiassetMultiAssets;3659 readonly effects: Vec<XcmV1Order>;3660 } & Struct;3661 readonly isReserveAssetDeposited: boolean;3662 readonly asReserveAssetDeposited: {3663 readonly assets: XcmV1MultiassetMultiAssets;3664 readonly effects: Vec<XcmV1Order>;3665 } & Struct;3666 readonly isReceiveTeleportedAsset: boolean;3667 readonly asReceiveTeleportedAsset: {3668 readonly assets: XcmV1MultiassetMultiAssets;3669 readonly effects: Vec<XcmV1Order>;3670 } & Struct;3671 readonly isQueryResponse: boolean;3672 readonly asQueryResponse: {3673 readonly queryId: Compact<u64>;3674 readonly response: XcmV1Response;3675 } & Struct;3676 readonly isTransferAsset: boolean;3677 readonly asTransferAsset: {3678 readonly assets: XcmV1MultiassetMultiAssets;3679 readonly beneficiary: XcmV1MultiLocation;3680 } & Struct;3681 readonly isTransferReserveAsset: boolean;3682 readonly asTransferReserveAsset: {3683 readonly assets: XcmV1MultiassetMultiAssets;3684 readonly dest: XcmV1MultiLocation;3685 readonly effects: Vec<XcmV1Order>;3686 } & Struct;3687 readonly isTransact: boolean;3688 readonly asTransact: {3689 readonly originType: XcmV0OriginKind;3690 readonly requireWeightAtMost: u64;3691 readonly call: XcmDoubleEncoded;3692 } & Struct;3693 readonly isHrmpNewChannelOpenRequest: boolean;3694 readonly asHrmpNewChannelOpenRequest: {3695 readonly sender: Compact<u32>;3696 readonly maxMessageSize: Compact<u32>;3697 readonly maxCapacity: Compact<u32>;3698 } & Struct;3699 readonly isHrmpChannelAccepted: boolean;3700 readonly asHrmpChannelAccepted: {3701 readonly recipient: Compact<u32>;3702 } & Struct;3703 readonly isHrmpChannelClosing: boolean;3704 readonly asHrmpChannelClosing: {3705 readonly initiator: Compact<u32>;3706 readonly sender: Compact<u32>;3707 readonly recipient: Compact<u32>;3708 } & Struct;3709 readonly isRelayedFrom: boolean;3710 readonly asRelayedFrom: {3711 readonly who: XcmV1MultilocationJunctions;3712 readonly message: XcmV1Xcm;3713 } & Struct;3714 readonly isSubscribeVersion: boolean;3715 readonly asSubscribeVersion: {3716 readonly queryId: Compact<u64>;3717 readonly maxResponseWeight: Compact<u64>;3718 } & Struct;3719 readonly isUnsubscribeVersion: boolean;3720 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3721}37223723/** @name XcmV2Instruction */3724export interface XcmV2Instruction extends Enum {3725 readonly isWithdrawAsset: boolean;3726 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3727 readonly isReserveAssetDeposited: boolean;3728 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3729 readonly isReceiveTeleportedAsset: boolean;3730 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3731 readonly isQueryResponse: boolean;3732 readonly asQueryResponse: {3733 readonly queryId: Compact<u64>;3734 readonly response: XcmV2Response;3735 readonly maxWeight: Compact<u64>;3736 } & Struct;3737 readonly isTransferAsset: boolean;3738 readonly asTransferAsset: {3739 readonly assets: XcmV1MultiassetMultiAssets;3740 readonly beneficiary: XcmV1MultiLocation;3741 } & Struct;3742 readonly isTransferReserveAsset: boolean;3743 readonly asTransferReserveAsset: {3744 readonly assets: XcmV1MultiassetMultiAssets;3745 readonly dest: XcmV1MultiLocation;3746 readonly xcm: XcmV2Xcm;3747 } & Struct;3748 readonly isTransact: boolean;3749 readonly asTransact: {3750 readonly originType: XcmV0OriginKind;3751 readonly requireWeightAtMost: Compact<u64>;3752 readonly call: XcmDoubleEncoded;3753 } & Struct;3754 readonly isHrmpNewChannelOpenRequest: boolean;3755 readonly asHrmpNewChannelOpenRequest: {3756 readonly sender: Compact<u32>;3757 readonly maxMessageSize: Compact<u32>;3758 readonly maxCapacity: Compact<u32>;3759 } & Struct;3760 readonly isHrmpChannelAccepted: boolean;3761 readonly asHrmpChannelAccepted: {3762 readonly recipient: Compact<u32>;3763 } & Struct;3764 readonly isHrmpChannelClosing: boolean;3765 readonly asHrmpChannelClosing: {3766 readonly initiator: Compact<u32>;3767 readonly sender: Compact<u32>;3768 readonly recipient: Compact<u32>;3769 } & Struct;3770 readonly isClearOrigin: boolean;3771 readonly isDescendOrigin: boolean;3772 readonly asDescendOrigin: XcmV1MultilocationJunctions;3773 readonly isReportError: boolean;3774 readonly asReportError: {3775 readonly queryId: Compact<u64>;3776 readonly dest: XcmV1MultiLocation;3777 readonly maxResponseWeight: Compact<u64>;3778 } & Struct;3779 readonly isDepositAsset: boolean;3780 readonly asDepositAsset: {3781 readonly assets: XcmV1MultiassetMultiAssetFilter;3782 readonly maxAssets: Compact<u32>;3783 readonly beneficiary: XcmV1MultiLocation;3784 } & Struct;3785 readonly isDepositReserveAsset: boolean;3786 readonly asDepositReserveAsset: {3787 readonly assets: XcmV1MultiassetMultiAssetFilter;3788 readonly maxAssets: Compact<u32>;3789 readonly dest: XcmV1MultiLocation;3790 readonly xcm: XcmV2Xcm;3791 } & Struct;3792 readonly isExchangeAsset: boolean;3793 readonly asExchangeAsset: {3794 readonly give: XcmV1MultiassetMultiAssetFilter;3795 readonly receive: XcmV1MultiassetMultiAssets;3796 } & Struct;3797 readonly isInitiateReserveWithdraw: boolean;3798 readonly asInitiateReserveWithdraw: {3799 readonly assets: XcmV1MultiassetMultiAssetFilter;3800 readonly reserve: XcmV1MultiLocation;3801 readonly xcm: XcmV2Xcm;3802 } & Struct;3803 readonly isInitiateTeleport: boolean;3804 readonly asInitiateTeleport: {3805 readonly assets: XcmV1MultiassetMultiAssetFilter;3806 readonly dest: XcmV1MultiLocation;3807 readonly xcm: XcmV2Xcm;3808 } & Struct;3809 readonly isQueryHolding: boolean;3810 readonly asQueryHolding: {3811 readonly queryId: Compact<u64>;3812 readonly dest: XcmV1MultiLocation;3813 readonly assets: XcmV1MultiassetMultiAssetFilter;3814 readonly maxResponseWeight: Compact<u64>;3815 } & Struct;3816 readonly isBuyExecution: boolean;3817 readonly asBuyExecution: {3818 readonly fees: XcmV1MultiAsset;3819 readonly weightLimit: XcmV2WeightLimit;3820 } & Struct;3821 readonly isRefundSurplus: boolean;3822 readonly isSetErrorHandler: boolean;3823 readonly asSetErrorHandler: XcmV2Xcm;3824 readonly isSetAppendix: boolean;3825 readonly asSetAppendix: XcmV2Xcm;3826 readonly isClearError: boolean;3827 readonly isClaimAsset: boolean;3828 readonly asClaimAsset: {3829 readonly assets: XcmV1MultiassetMultiAssets;3830 readonly ticket: XcmV1MultiLocation;3831 } & Struct;3832 readonly isTrap: boolean;3833 readonly asTrap: Compact<u64>;3834 readonly isSubscribeVersion: boolean;3835 readonly asSubscribeVersion: {3836 readonly queryId: Compact<u64>;3837 readonly maxResponseWeight: Compact<u64>;3838 } & Struct;3839 readonly isUnsubscribeVersion: boolean;3840 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';3841}38423843/** @name XcmV2Response */3844export interface XcmV2Response extends Enum {3845 readonly isNull: boolean;3846 readonly isAssets: boolean;3847 readonly asAssets: XcmV1MultiassetMultiAssets;3848 readonly isExecutionResult: boolean;3849 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3850 readonly isVersion: boolean;3851 readonly asVersion: u32;3852 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3853}38543855/** @name XcmV2TraitsError */3856export interface XcmV2TraitsError extends Enum {3857 readonly isOverflow: boolean;3858 readonly isUnimplemented: boolean;3859 readonly isUntrustedReserveLocation: boolean;3860 readonly isUntrustedTeleportLocation: boolean;3861 readonly isMultiLocationFull: boolean;3862 readonly isMultiLocationNotInvertible: boolean;3863 readonly isBadOrigin: boolean;3864 readonly isInvalidLocation: boolean;3865 readonly isAssetNotFound: boolean;3866 readonly isFailedToTransactAsset: boolean;3867 readonly isNotWithdrawable: boolean;3868 readonly isLocationCannotHold: boolean;3869 readonly isExceedsMaxMessageSize: boolean;3870 readonly isDestinationUnsupported: boolean;3871 readonly isTransport: boolean;3872 readonly isUnroutable: boolean;3873 readonly isUnknownClaim: boolean;3874 readonly isFailedToDecode: boolean;3875 readonly isMaxWeightInvalid: boolean;3876 readonly isNotHoldingFees: boolean;3877 readonly isTooExpensive: boolean;3878 readonly isTrap: boolean;3879 readonly asTrap: u64;3880 readonly isUnhandledXcmVersion: boolean;3881 readonly isWeightLimitReached: boolean;3882 readonly asWeightLimitReached: u64;3883 readonly isBarrier: boolean;3884 readonly isWeightNotComputable: boolean;3885 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';3886}38873888/** @name XcmV2TraitsOutcome */3889export interface XcmV2TraitsOutcome extends Enum {3890 readonly isComplete: boolean;3891 readonly asComplete: u64;3892 readonly isIncomplete: boolean;3893 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3894 readonly isError: boolean;3895 readonly asError: XcmV2TraitsError;3896 readonly type: 'Complete' | 'Incomplete' | 'Error';3897}38983899/** @name XcmV2WeightLimit */3900export interface XcmV2WeightLimit extends Enum {3901 readonly isUnlimited: boolean;3902 readonly isLimited: boolean;3903 readonly asLimited: Compact<u64>;3904 readonly type: 'Unlimited' | 'Limited';3905}39063907/** @name XcmV2Xcm */3908export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}39093910/** @name XcmVersionedMultiAsset */3911export interface XcmVersionedMultiAsset extends Enum {3912 readonly isV0: boolean;3913 readonly asV0: XcmV0MultiAsset;3914 readonly isV1: boolean;3915 readonly asV1: XcmV1MultiAsset;3916 readonly type: 'V0' | 'V1';3917}39183919/** @name XcmVersionedMultiAssets */3920export interface XcmVersionedMultiAssets extends Enum {3921 readonly isV0: boolean;3922 readonly asV0: Vec<XcmV0MultiAsset>;3923 readonly isV1: boolean;3924 readonly asV1: XcmV1MultiassetMultiAssets;3925 readonly type: 'V0' | 'V1';3926}39273928/** @name XcmVersionedMultiLocation */3929export interface XcmVersionedMultiLocation extends Enum {3930 readonly isV0: boolean;3931 readonly asV0: XcmV0MultiLocation;3932 readonly isV1: boolean;3933 readonly asV1: XcmV1MultiLocation;3934 readonly type: 'V0' | 'V1';3935}39363937/** @name XcmVersionedXcm */3938export interface XcmVersionedXcm extends Enum {3939 readonly isV0: boolean;3940 readonly asV0: XcmV0Xcm;3941 readonly isV1: boolean;3942 readonly asV1: XcmV1Xcm;3943 readonly isV2: boolean;3944 readonly asV2: XcmV2Xcm;3945 readonly type: 'V0' | 'V1' | 'V2';3946}39473948export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -129,7 +129,7 @@
NoProviders: 'Null',
TooManyConsumers: 'Null',
Token: 'SpRuntimeTokenError',
- Arithmetic: 'SpRuntimeArithmeticError',
+ Arithmetic: 'SpArithmeticArithmeticError',
Transactional: 'SpRuntimeTransactionalError',
Exhausted: 'Null',
Corruption: 'Null',
@@ -150,9 +150,9 @@
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup27: sp_runtime::ArithmeticError
+ * Lookup27: sp_arithmetic::ArithmeticError
**/
- SpRuntimeArithmeticError: {
+ SpArithmeticArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
@@ -184,7 +184,44 @@
}
},
/**
- * Lookup30: pallet_balances::pallet::Event<T, I>
+ * Lookup30: pallet_collator_selection::pallet::Event<T>
+ **/
+ PalletCollatorSelectionEvent: {
+ _enum: {
+ InvulnerableAdded: {
+ invulnerable: 'AccountId32',
+ },
+ InvulnerableRemoved: {
+ invulnerable: 'AccountId32',
+ },
+ LicenseObtained: {
+ accountId: 'AccountId32',
+ deposit: 'u128',
+ },
+ LicenseReleased: {
+ accountId: 'AccountId32',
+ depositReturned: 'u128',
+ },
+ CandidateAdded: {
+ accountId: 'AccountId32',
+ },
+ CandidateRemoved: {
+ accountId: 'AccountId32'
+ }
+ }
+ },
+ /**
+ * Lookup31: pallet_session::pallet::Event
+ **/
+ PalletSessionEvent: {
+ _enum: {
+ NewSession: {
+ sessionIndex: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup32: pallet_balances::pallet::Event<T, I>
**/
PalletBalancesEvent: {
_enum: {
@@ -235,13 +272,13 @@
}
},
/**
- * Lookup31: frame_support::traits::tokens::misc::BalanceStatus
+ * Lookup33: frame_support::traits::tokens::misc::BalanceStatus
**/
FrameSupportTokensMiscBalanceStatus: {
_enum: ['Free', 'Reserved']
},
/**
- * Lookup32: pallet_transaction_payment::pallet::Event<T>
+ * Lookup34: pallet_transaction_payment::pallet::Event<T>
**/
PalletTransactionPaymentEvent: {
_enum: {
@@ -253,7 +290,7 @@
}
},
/**
- * Lookup33: pallet_treasury::pallet::Event<T, I>
+ * Lookup35: pallet_treasury::pallet::Event<T, I>
**/
PalletTreasuryEvent: {
_enum: {
@@ -284,12 +321,16 @@
SpendApproved: {
proposalIndex: 'u32',
amount: 'u128',
- beneficiary: 'AccountId32'
+ beneficiary: 'AccountId32',
+ },
+ UpdatedInactive: {
+ reactivated: 'u128',
+ deactivated: 'u128'
}
}
},
/**
- * Lookup34: pallet_sudo::pallet::Event<T>
+ * Lookup36: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -305,7 +346,7 @@
}
},
/**
- * Lookup38: orml_vesting::module::Event<T>
+ * Lookup40: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -324,7 +365,7 @@
}
},
/**
- * Lookup39: orml_vesting::VestingSchedule<BlockNumber, Balance>
+ * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>
**/
OrmlVestingVestingSchedule: {
start: 'u32',
@@ -333,7 +374,7 @@
perPeriod: 'Compact<u128>'
},
/**
- * Lookup41: orml_xtokens::module::Event<T>
+ * Lookup43: orml_xtokens::module::Event<T>
**/
OrmlXtokensModuleEvent: {
_enum: {
@@ -346,18 +387,18 @@
}
},
/**
- * Lookup42: xcm::v1::multiasset::MultiAssets
+ * Lookup44: xcm::v1::multiasset::MultiAssets
**/
XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
/**
- * Lookup44: xcm::v1::multiasset::MultiAsset
+ * Lookup46: xcm::v1::multiasset::MultiAsset
**/
XcmV1MultiAsset: {
id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetFungibility'
},
/**
- * Lookup45: xcm::v1::multiasset::AssetId
+ * Lookup47: xcm::v1::multiasset::AssetId
**/
XcmV1MultiassetAssetId: {
_enum: {
@@ -366,14 +407,14 @@
}
},
/**
- * Lookup46: xcm::v1::multilocation::MultiLocation
+ * Lookup48: xcm::v1::multilocation::MultiLocation
**/
XcmV1MultiLocation: {
parents: 'u8',
interior: 'XcmV1MultilocationJunctions'
},
/**
- * Lookup47: xcm::v1::multilocation::Junctions
+ * Lookup49: xcm::v1::multilocation::Junctions
**/
XcmV1MultilocationJunctions: {
_enum: {
@@ -389,7 +430,7 @@
}
},
/**
- * Lookup48: xcm::v1::junction::Junction
+ * Lookup50: xcm::v1::junction::Junction
**/
XcmV1Junction: {
_enum: {
@@ -417,7 +458,7 @@
}
},
/**
- * Lookup50: xcm::v0::junction::NetworkId
+ * Lookup52: xcm::v0::junction::NetworkId
**/
XcmV0JunctionNetworkId: {
_enum: {
@@ -428,7 +469,7 @@
}
},
/**
- * Lookup53: xcm::v0::junction::BodyId
+ * Lookup55: xcm::v0::junction::BodyId
**/
XcmV0JunctionBodyId: {
_enum: {
@@ -438,11 +479,14 @@
Executive: 'Null',
Technical: 'Null',
Legislative: 'Null',
- Judicial: 'Null'
+ Judicial: 'Null',
+ Defense: 'Null',
+ Administration: 'Null',
+ Treasury: 'Null'
}
},
/**
- * Lookup54: xcm::v0::junction::BodyPart
+ * Lookup56: xcm::v0::junction::BodyPart
**/
XcmV0JunctionBodyPart: {
_enum: {
@@ -465,7 +509,7 @@
}
},
/**
- * Lookup55: xcm::v1::multiasset::Fungibility
+ * Lookup57: xcm::v1::multiasset::Fungibility
**/
XcmV1MultiassetFungibility: {
_enum: {
@@ -474,7 +518,7 @@
}
},
/**
- * Lookup56: xcm::v1::multiasset::AssetInstance
+ * Lookup58: xcm::v1::multiasset::AssetInstance
**/
XcmV1MultiassetAssetInstance: {
_enum: {
@@ -488,7 +532,7 @@
}
},
/**
- * Lookup59: orml_tokens::module::Event<T>
+ * Lookup61: orml_tokens::module::Event<T>
**/
OrmlTokensModuleEvent: {
_enum: {
@@ -565,7 +609,7 @@
}
},
/**
- * Lookup60: pallet_foreign_assets::AssetIds
+ * Lookup62: pallet_foreign_assets::AssetIds
**/
PalletForeignAssetsAssetIds: {
_enum: {
@@ -574,14 +618,96 @@
}
},
/**
- * Lookup61: pallet_foreign_assets::NativeCurrency
+ * Lookup63: pallet_foreign_assets::NativeCurrency
**/
PalletForeignAssetsNativeCurrency: {
_enum: ['Here', 'Parent']
},
/**
- * Lookup62: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup64: pallet_identity::pallet::Event<T>
**/
+ PalletIdentityEvent: {
+ _enum: {
+ IdentitySet: {
+ who: 'AccountId32',
+ },
+ IdentityCleared: {
+ who: 'AccountId32',
+ deposit: 'u128',
+ },
+ IdentityKilled: {
+ who: 'AccountId32',
+ deposit: 'u128',
+ },
+ IdentitiesInserted: {
+ amount: 'u32',
+ },
+ IdentitiesRemoved: {
+ amount: 'u32',
+ },
+ JudgementRequested: {
+ who: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ JudgementUnrequested: {
+ who: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ JudgementGiven: {
+ target: 'AccountId32',
+ registrarIndex: 'u32',
+ },
+ RegistrarAdded: {
+ registrarIndex: 'u32',
+ },
+ SubIdentityAdded: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128',
+ },
+ SubIdentityRemoved: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128',
+ },
+ SubIdentityRevoked: {
+ sub: 'AccountId32',
+ main: 'AccountId32',
+ deposit: 'u128',
+ },
+ SubIdentitiesInserted: {
+ amount: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup65: pallet_preimage::pallet::Event<T>
+ **/
+ PalletPreimageEvent: {
+ _enum: {
+ Noted: {
+ _alias: {
+ hash_: 'hash',
+ },
+ hash_: 'H256',
+ },
+ Requested: {
+ _alias: {
+ hash_: 'hash',
+ },
+ hash_: 'H256',
+ },
+ Cleared: {
+ _alias: {
+ hash_: 'hash',
+ },
+ hash_: 'H256'
+ }
+ }
+ },
+ /**
+ * Lookup66: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ **/
CumulusPalletXcmpQueueEvent: {
_enum: {
Success: {
@@ -618,7 +744,7 @@
}
},
/**
- * Lookup64: xcm::v2::traits::Error
+ * Lookup68: xcm::v2::traits::Error
**/
XcmV2TraitsError: {
_enum: {
@@ -651,7 +777,7 @@
}
},
/**
- * Lookup66: pallet_xcm::pallet::Event<T>
+ * Lookup70: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -675,7 +801,7 @@
}
},
/**
- * Lookup67: xcm::v2::traits::Outcome
+ * Lookup71: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -685,11 +811,11 @@
}
},
/**
- * Lookup68: xcm::v2::Xcm<RuntimeCall>
+ * Lookup72: xcm::v2::Xcm<RuntimeCall>
**/
XcmV2Xcm: 'Vec<XcmV2Instruction>',
/**
- * Lookup70: xcm::v2::Instruction<RuntimeCall>
+ * Lookup74: xcm::v2::Instruction<RuntimeCall>
**/
XcmV2Instruction: {
_enum: {
@@ -787,7 +913,7 @@
}
},
/**
- * Lookup71: xcm::v2::Response
+ * Lookup75: xcm::v2::Response
**/
XcmV2Response: {
_enum: {
@@ -798,19 +924,19 @@
}
},
/**
- * Lookup74: xcm::v0::OriginKind
+ * Lookup78: xcm::v0::OriginKind
**/
XcmV0OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
- * Lookup75: xcm::double_encoded::DoubleEncoded<T>
+ * Lookup79: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
- * Lookup76: xcm::v1::multiasset::MultiAssetFilter
+ * Lookup80: xcm::v1::multiasset::MultiAssetFilter
**/
XcmV1MultiassetMultiAssetFilter: {
_enum: {
@@ -819,7 +945,7 @@
}
},
/**
- * Lookup77: xcm::v1::multiasset::WildMultiAsset
+ * Lookup81: xcm::v1::multiasset::WildMultiAsset
**/
XcmV1MultiassetWildMultiAsset: {
_enum: {
@@ -831,13 +957,13 @@
}
},
/**
- * Lookup78: xcm::v1::multiasset::WildFungibility
+ * Lookup82: xcm::v1::multiasset::WildFungibility
**/
XcmV1MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
- * Lookup79: xcm::v2::WeightLimit
+ * Lookup83: xcm::v2::WeightLimit
**/
XcmV2WeightLimit: {
_enum: {
@@ -846,7 +972,7 @@
}
},
/**
- * Lookup81: xcm::VersionedMultiAssets
+ * Lookup85: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
@@ -855,7 +981,7 @@
}
},
/**
- * Lookup83: xcm::v0::multi_asset::MultiAsset
+ * Lookup87: xcm::v0::multi_asset::MultiAsset
**/
XcmV0MultiAsset: {
_enum: {
@@ -894,7 +1020,7 @@
}
},
/**
- * Lookup84: xcm::v0::multi_location::MultiLocation
+ * Lookup88: xcm::v0::multi_location::MultiLocation
**/
XcmV0MultiLocation: {
_enum: {
@@ -910,7 +1036,7 @@
}
},
/**
- * Lookup85: xcm::v0::junction::Junction
+ * Lookup89: xcm::v0::junction::Junction
**/
XcmV0Junction: {
_enum: {
@@ -939,7 +1065,7 @@
}
},
/**
- * Lookup86: xcm::VersionedMultiLocation
+ * Lookup90: xcm::VersionedMultiLocation
**/
XcmVersionedMultiLocation: {
_enum: {
@@ -948,7 +1074,7 @@
}
},
/**
- * Lookup87: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup91: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -958,7 +1084,7 @@
}
},
/**
- * Lookup88: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup92: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -989,7 +1115,7 @@
}
},
/**
- * Lookup89: pallet_configuration::pallet::Event<T>
+ * Lookup93: pallet_configuration::pallet::Event<T>
**/
PalletConfigurationEvent: {
_enum: {
@@ -1005,7 +1131,7 @@
}
},
/**
- * Lookup92: pallet_common::pallet::Event<T>
+ * Lookup96: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1034,7 +1160,7 @@
}
},
/**
- * Lookup95: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ * Lookup99: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
**/
PalletEvmAccountBasicCrossAccountIdRepr: {
_enum: {
@@ -1043,116 +1169,15 @@
}
},
/**
- * Lookup99: pallet_structure::pallet::Event<T>
+ * Lookup103: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
Executed: 'Result<Null, SpRuntimeDispatchError>'
- }
- },
- /**
- * Lookup100: pallet_rmrk_core::pallet::Event<T>
- **/
- PalletRmrkCoreEvent: {
- _enum: {
- CollectionCreated: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- CollectionDestroyed: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- IssuerChanged: {
- oldIssuer: 'AccountId32',
- newIssuer: 'AccountId32',
- collectionId: 'u32',
- },
- CollectionLocked: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- NftMinted: {
- owner: 'AccountId32',
- collectionId: 'u32',
- nftId: 'u32',
- },
- NFTBurned: {
- owner: 'AccountId32',
- nftId: 'u32',
- },
- NFTSent: {
- sender: 'AccountId32',
- recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
- collectionId: 'u32',
- nftId: 'u32',
- approvalRequired: 'bool',
- },
- NFTAccepted: {
- sender: 'AccountId32',
- recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
- collectionId: 'u32',
- nftId: 'u32',
- },
- NFTRejected: {
- sender: 'AccountId32',
- collectionId: 'u32',
- nftId: 'u32',
- },
- PropertySet: {
- collectionId: 'u32',
- maybeNftId: 'Option<u32>',
- key: 'Bytes',
- value: 'Bytes',
- },
- ResourceAdded: {
- nftId: 'u32',
- resourceId: 'u32',
- },
- ResourceRemoval: {
- nftId: 'u32',
- resourceId: 'u32',
- },
- ResourceAccepted: {
- nftId: 'u32',
- resourceId: 'u32',
- },
- ResourceRemovalAccepted: {
- nftId: 'u32',
- resourceId: 'u32',
- },
- PrioritySet: {
- collectionId: 'u32',
- nftId: 'u32'
- }
}
},
/**
- * Lookup101: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
- **/
- RmrkTraitsNftAccountIdOrCollectionNftTuple: {
- _enum: {
- AccountId: 'AccountId32',
- CollectionAndNftTuple: '(u32,u32)'
- }
- },
- /**
- * Lookup104: pallet_rmrk_equip::pallet::Event<T>
- **/
- PalletRmrkEquipEvent: {
- _enum: {
- BaseCreated: {
- issuer: 'AccountId32',
- baseId: 'u32',
- },
- EquippablesUpdated: {
- baseId: 'u32',
- slotId: 'u32'
- }
- }
- },
- /**
- * Lookup105: pallet_app_promotion::pallet::Event<T>
+ * Lookup104: pallet_app_promotion::pallet::Event<T>
**/
PalletAppPromotionEvent: {
_enum: {
@@ -1163,7 +1188,7 @@
}
},
/**
- * Lookup106: pallet_foreign_assets::module::Event<T>
+ * Lookup105: pallet_foreign_assets::module::Event<T>
**/
PalletForeignAssetsModuleEvent: {
_enum: {
@@ -1188,7 +1213,7 @@
}
},
/**
- * Lookup107: pallet_foreign_assets::module::AssetMetadata<Balance>
+ * Lookup106: pallet_foreign_assets::module::AssetMetadata<Balance>
**/
PalletForeignAssetsModuleAssetMetadata: {
name: 'Bytes',
@@ -1197,7 +1222,7 @@
minimalBalance: 'u128'
},
/**
- * Lookup108: pallet_evm::pallet::Event<T>
+ * Lookup107: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1219,7 +1244,7 @@
}
},
/**
- * Lookup109: ethereum::log::Log
+ * Lookup108: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1227,7 +1252,7 @@
data: 'Bytes'
},
/**
- * Lookup111: pallet_ethereum::pallet::Event
+ * Lookup110: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1240,7 +1265,7 @@
}
},
/**
- * Lookup112: evm_core::error::ExitReason
+ * Lookup111: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1251,13 +1276,13 @@
}
},
/**
- * Lookup113: evm_core::error::ExitSucceed
+ * Lookup112: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup114: evm_core::error::ExitError
+ * Lookup113: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1275,7 +1300,8 @@
PCUnderflow: 'Null',
CreateEmpty: 'Null',
Other: 'Text',
- InvalidCode: 'Null'
+ __Unused14: 'Null',
+ InvalidCode: 'u8'
}
},
/**
@@ -1551,28 +1577,135 @@
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup172: pallet_balances::BalanceLock<Balance>
+ * Lookup172: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
+ **/
+ PalletAuthorshipUncleEntryItem: {
+ _enum: {
+ InclusionHeight: 'u32',
+ Uncle: '(H256,Option<AccountId32>)'
+ }
+ },
+ /**
+ * Lookup174: pallet_authorship::pallet::Call<T>
+ **/
+ PalletAuthorshipCall: {
+ _enum: {
+ set_uncles: {
+ newUncles: 'Vec<SpRuntimeHeader>'
+ }
+ }
+ },
+ /**
+ * Lookup176: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
+ **/
+ SpRuntimeHeader: {
+ parentHash: 'H256',
+ number: 'Compact<u32>',
+ stateRoot: 'H256',
+ extrinsicsRoot: 'H256',
+ digest: 'SpRuntimeDigest'
+ },
+ /**
+ * Lookup177: sp_runtime::traits::BlakeTwo256
+ **/
+ SpRuntimeBlakeTwo256: 'Null',
+ /**
+ * Lookup178: pallet_authorship::pallet::Error<T>
+ **/
+ PalletAuthorshipError: {
+ _enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
+ },
+ /**
+ * Lookup181: pallet_collator_selection::pallet::Call<T>
**/
+ PalletCollatorSelectionCall: {
+ _enum: {
+ add_invulnerable: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'AccountId32',
+ },
+ remove_invulnerable: {
+ who: 'AccountId32',
+ },
+ get_license: 'Null',
+ onboard: 'Null',
+ offboard: 'Null',
+ release_license: 'Null',
+ force_release_license: {
+ who: 'AccountId32'
+ }
+ }
+ },
+ /**
+ * Lookup182: pallet_collator_selection::pallet::Error<T>
+ **/
+ PalletCollatorSelectionError: {
+ _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']
+ },
+ /**
+ * Lookup185: opal_runtime::runtime_common::SessionKeys
+ **/
+ OpalRuntimeRuntimeCommonSessionKeys: {
+ aura: 'SpConsensusAuraSr25519AppSr25519Public'
+ },
+ /**
+ * Lookup186: sp_consensus_aura::sr25519::app_sr25519::Public
+ **/
+ SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',
+ /**
+ * Lookup187: sp_core::sr25519::Public
+ **/
+ SpCoreSr25519Public: '[u8;32]',
+ /**
+ * Lookup190: sp_core::crypto::KeyTypeId
+ **/
+ SpCoreCryptoKeyTypeId: '[u8;4]',
+ /**
+ * Lookup191: pallet_session::pallet::Call<T>
+ **/
+ PalletSessionCall: {
+ _enum: {
+ set_keys: {
+ _alias: {
+ keys_: 'keys',
+ },
+ keys_: 'OpalRuntimeRuntimeCommonSessionKeys',
+ proof: 'Bytes',
+ },
+ purge_keys: 'Null'
+ }
+ },
+ /**
+ * Lookup192: pallet_session::pallet::Error<T>
+ **/
+ PalletSessionError: {
+ _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
+ },
+ /**
+ * Lookup194: pallet_balances::BalanceLock<Balance>
+ **/
PalletBalancesBalanceLock: {
id: '[u8;8]',
amount: 'u128',
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup173: pallet_balances::Reasons
+ * Lookup195: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup176: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup198: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup178: pallet_balances::pallet::Call<T, I>
+ * Lookup200: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1605,13 +1738,13 @@
}
},
/**
- * Lookup181: pallet_balances::pallet::Error<T, I>
+ * Lookup203: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup183: pallet_timestamp::pallet::Call<T>
+ * Lookup205: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1621,13 +1754,13 @@
}
},
/**
- * Lookup185: pallet_transaction_payment::Releases
+ * Lookup207: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup186: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup208: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1636,7 +1769,7 @@
bond: 'u128'
},
/**
- * Lookup189: pallet_treasury::pallet::Call<T, I>
+ * Lookup210: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1660,17 +1793,17 @@
}
},
/**
- * Lookup191: frame_support::PalletId
+ * Lookup212: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup192: pallet_treasury::pallet::Error<T, I>
+ * Lookup213: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup193: pallet_sudo::pallet::Call<T>
+ * Lookup214: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1694,7 +1827,7 @@
}
},
/**
- * Lookup195: orml_vesting::module::Call<T>
+ * Lookup216: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1713,7 +1846,7 @@
}
},
/**
- * Lookup197: orml_xtokens::module::Call<T>
+ * Lookup218: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -1756,7 +1889,7 @@
}
},
/**
- * Lookup198: xcm::VersionedMultiAsset
+ * Lookup219: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
@@ -1765,7 +1898,7 @@
}
},
/**
- * Lookup201: orml_tokens::module::Call<T>
+ * Lookup222: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -1799,7 +1932,160 @@
}
},
/**
- * Lookup202: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup223: pallet_identity::pallet::Call<T>
+ **/
+ PalletIdentityCall: {
+ _enum: {
+ add_registrar: {
+ account: 'MultiAddress',
+ },
+ set_identity: {
+ info: 'PalletIdentityIdentityInfo',
+ },
+ set_subs: {
+ subs: 'Vec<(AccountId32,Data)>',
+ },
+ clear_identity: 'Null',
+ request_judgement: {
+ regIndex: 'Compact<u32>',
+ maxFee: 'Compact<u128>',
+ },
+ cancel_request: {
+ regIndex: 'u32',
+ },
+ set_fee: {
+ index: 'Compact<u32>',
+ fee: 'Compact<u128>',
+ },
+ set_account_id: {
+ _alias: {
+ new_: 'new',
+ },
+ index: 'Compact<u32>',
+ new_: 'MultiAddress',
+ },
+ set_fields: {
+ index: 'Compact<u32>',
+ fields: 'PalletIdentityBitFlags',
+ },
+ provide_judgement: {
+ regIndex: 'Compact<u32>',
+ target: 'MultiAddress',
+ judgement: 'PalletIdentityJudgement',
+ identity: 'H256',
+ },
+ kill_identity: {
+ target: 'MultiAddress',
+ },
+ add_sub: {
+ sub: 'MultiAddress',
+ data: 'Data',
+ },
+ rename_sub: {
+ sub: 'MultiAddress',
+ data: 'Data',
+ },
+ remove_sub: {
+ sub: 'MultiAddress',
+ },
+ quit_sub: 'Null',
+ force_insert_identities: {
+ identities: 'Vec<(AccountId32,PalletIdentityRegistration)>',
+ },
+ force_remove_identities: {
+ identities: 'Vec<AccountId32>',
+ },
+ force_set_subs: {
+ subs: 'Vec<(AccountId32,(u128,Vec<(AccountId32,Data)>))>'
+ }
+ }
+ },
+ /**
+ * Lookup224: pallet_identity::types::IdentityInfo<FieldLimit>
+ **/
+ PalletIdentityIdentityInfo: {
+ additional: 'Vec<(Data,Data)>',
+ display: 'Data',
+ legal: 'Data',
+ web: 'Data',
+ riot: 'Data',
+ email: 'Data',
+ pgpFingerprint: 'Option<[u8;20]>',
+ image: 'Data',
+ twitter: 'Data'
+ },
+ /**
+ * Lookup260: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
+ **/
+ PalletIdentityBitFlags: {
+ _bitLength: 64,
+ Display: 1,
+ Legal: 2,
+ Web: 4,
+ Riot: 8,
+ Email: 16,
+ PgpFingerprint: 32,
+ Image: 64,
+ Twitter: 128
+ },
+ /**
+ * Lookup261: pallet_identity::types::IdentityField
+ **/
+ PalletIdentityIdentityField: {
+ _enum: ['__Unused0', 'Display', 'Legal', '__Unused3', 'Web', '__Unused5', '__Unused6', '__Unused7', 'Riot', '__Unused9', '__Unused10', '__Unused11', '__Unused12', '__Unused13', '__Unused14', '__Unused15', 'Email', '__Unused17', '__Unused18', '__Unused19', '__Unused20', '__Unused21', '__Unused22', '__Unused23', '__Unused24', '__Unused25', '__Unused26', '__Unused27', '__Unused28', '__Unused29', '__Unused30', '__Unused31', 'PgpFingerprint', '__Unused33', '__Unused34', '__Unused35', '__Unused36', '__Unused37', '__Unused38', '__Unused39', '__Unused40', '__Unused41', '__Unused42', '__Unused43', '__Unused44', '__Unused45', '__Unused46', '__Unused47', '__Unused48', '__Unused49', '__Unused50', '__Unused51', '__Unused52', '__Unused53', '__Unused54', '__Unused55', '__Unused56', '__Unused57', '__Unused58', '__Unused59', '__Unused60', '__Unused61', '__Unused62', '__Unused63', 'Image', '__Unused65', '__Unused66', '__Unused67', '__Unused68', '__Unused69', '__Unused70', '__Unused71', '__Unused72', '__Unused73', '__Unused74', '__Unused75', '__Unused76', '__Unused77', '__Unused78', '__Unused79', '__Unused80', '__Unused81', '__Unused82', '__Unused83', '__Unused84', '__Unused85', '__Unused86', '__Unused87', '__Unused88', '__Unused89', '__Unused90', '__Unused91', '__Unused92', '__Unused93', '__Unused94', '__Unused95', '__Unused96', '__Unused97', '__Unused98', '__Unused99', '__Unused100', '__Unused101', '__Unused102', '__Unused103', '__Unused104', '__Unused105', '__Unused106', '__Unused107', '__Unused108', '__Unused109', '__Unused110', '__Unused111', '__Unused112', '__Unused113', '__Unused114', '__Unused115', '__Unused116', '__Unused117', '__Unused118', '__Unused119', '__Unused120', '__Unused121', '__Unused122', '__Unused123', '__Unused124', '__Unused125', '__Unused126', '__Unused127', 'Twitter']
+ },
+ /**
+ * Lookup262: pallet_identity::types::Judgement<Balance>
+ **/
+ PalletIdentityJudgement: {
+ _enum: {
+ Unknown: 'Null',
+ FeePaid: 'u128',
+ Reasonable: 'Null',
+ KnownGood: 'Null',
+ OutOfDate: 'Null',
+ LowQuality: 'Null',
+ Erroneous: 'Null'
+ }
+ },
+ /**
+ * Lookup265: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
+ **/
+ PalletIdentityRegistration: {
+ judgements: 'Vec<(u32,PalletIdentityJudgement)>',
+ deposit: 'u128',
+ info: 'PalletIdentityIdentityInfo'
+ },
+ /**
+ * Lookup273: pallet_preimage::pallet::Call<T>
+ **/
+ PalletPreimageCall: {
+ _enum: {
+ note_preimage: {
+ bytes: 'Bytes',
+ },
+ unnote_preimage: {
+ _alias: {
+ hash_: 'hash',
+ },
+ hash_: 'H256',
+ },
+ request_preimage: {
+ _alias: {
+ hash_: 'hash',
+ },
+ hash_: 'H256',
+ },
+ unrequest_preimage: {
+ _alias: {
+ hash_: 'hash',
+ },
+ hash_: 'H256'
+ }
+ }
+ },
+ /**
+ * Lookup274: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -1848,7 +2134,7 @@
}
},
/**
- * Lookup203: pallet_xcm::pallet::Call<T>
+ * Lookup275: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -1902,7 +2188,7 @@
}
},
/**
- * Lookup204: xcm::VersionedXcm<RuntimeCall>
+ * Lookup276: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
@@ -1912,7 +2198,7 @@
}
},
/**
- * Lookup205: xcm::v0::Xcm<RuntimeCall>
+ * Lookup277: xcm::v0::Xcm<RuntimeCall>
**/
XcmV0Xcm: {
_enum: {
@@ -1966,7 +2252,7 @@
}
},
/**
- * Lookup207: xcm::v0::order::Order<RuntimeCall>
+ * Lookup279: xcm::v0::order::Order<RuntimeCall>
**/
XcmV0Order: {
_enum: {
@@ -2009,7 +2295,7 @@
}
},
/**
- * Lookup209: xcm::v0::Response
+ * Lookup281: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -2017,7 +2303,7 @@
}
},
/**
- * Lookup210: xcm::v1::Xcm<RuntimeCall>
+ * Lookup282: xcm::v1::Xcm<RuntimeCall>
**/
XcmV1Xcm: {
_enum: {
@@ -2076,7 +2362,7 @@
}
},
/**
- * Lookup212: xcm::v1::order::Order<RuntimeCall>
+ * Lookup284: xcm::v1::order::Order<RuntimeCall>
**/
XcmV1Order: {
_enum: {
@@ -2121,7 +2407,7 @@
}
},
/**
- * Lookup214: xcm::v1::Response
+ * Lookup286: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -2130,11 +2416,11 @@
}
},
/**
- * Lookup228: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup300: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup229: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup301: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -2145,7 +2431,7 @@
}
},
/**
- * Lookup230: pallet_inflation::pallet::Call<T>
+ * Lookup302: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2155,7 +2441,7 @@
}
},
/**
- * Lookup231: pallet_unique::Call<T>
+ * Lookup303: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2306,7 +2592,7 @@
}
},
/**
- * Lookup236: up_data_structs::CollectionMode
+ * Lookup308: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2316,7 +2602,7 @@
}
},
/**
- * Lookup237: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup309: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2331,13 +2617,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup239: up_data_structs::AccessMode
+ * Lookup311: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup241: up_data_structs::CollectionLimits
+ * Lookup313: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2351,7 +2637,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup243: up_data_structs::SponsoringRateLimit
+ * Lookup315: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2360,7 +2646,7 @@
}
},
/**
- * Lookup246: up_data_structs::CollectionPermissions
+ * Lookup318: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2368,7 +2654,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup248: up_data_structs::NestingPermissions
+ * Lookup320: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2376,18 +2662,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup250: up_data_structs::OwnerRestrictedSet
+ * Lookup322: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup255: up_data_structs::PropertyKeyPermission
+ * Lookup327: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup256: up_data_structs::PropertyPermission
+ * Lookup328: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2395,14 +2681,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup259: up_data_structs::Property
+ * Lookup331: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup262: up_data_structs::CreateItemData
+ * Lookup334: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2412,26 +2698,26 @@
}
},
/**
- * Lookup263: up_data_structs::CreateNftData
+ * Lookup335: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup264: up_data_structs::CreateFungibleData
+ * Lookup336: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup265: up_data_structs::CreateReFungibleData
+ * Lookup337: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup268: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup340: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2442,14 +2728,14 @@
}
},
/**
- * Lookup270: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup342: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup277: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup349: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2457,14 +2743,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup279: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup351: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup280: pallet_configuration::pallet::Call<T>
+ * Lookup352: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2492,7 +2778,7 @@
}
},
/**
- * Lookup285: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+ * Lookup357: pallet_configuration::AppPromotionConfiguration<BlockNumber>
**/
PalletConfigurationAppPromotionConfiguration: {
recalculationInterval: 'Option<u32>',
@@ -2501,220 +2787,16 @@
maxStakersPerCalculation: 'Option<u8>'
},
/**
- * Lookup289: pallet_template_transaction_payment::Call<T>
+ * Lookup361: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup290: pallet_structure::pallet::Call<T>
+ * Lookup362: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup291: pallet_rmrk_core::pallet::Call<T>
- **/
- PalletRmrkCoreCall: {
- _enum: {
- create_collection: {
- metadata: 'Bytes',
- max: 'Option<u32>',
- symbol: 'Bytes',
- },
- destroy_collection: {
- collectionId: 'u32',
- },
- change_collection_issuer: {
- collectionId: 'u32',
- newIssuer: 'MultiAddress',
- },
- lock_collection: {
- collectionId: 'u32',
- },
- mint_nft: {
- owner: 'Option<AccountId32>',
- collectionId: 'u32',
- recipient: 'Option<AccountId32>',
- royaltyAmount: 'Option<Permill>',
- metadata: 'Bytes',
- transferable: 'bool',
- resources: 'Option<Vec<RmrkTraitsResourceResourceTypes>>',
- },
- burn_nft: {
- collectionId: 'u32',
- nftId: 'u32',
- maxBurns: 'u32',
- },
- send: {
- rmrkCollectionId: 'u32',
- rmrkNftId: 'u32',
- newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
- },
- accept_nft: {
- rmrkCollectionId: 'u32',
- rmrkNftId: 'u32',
- newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
- },
- reject_nft: {
- rmrkCollectionId: 'u32',
- rmrkNftId: 'u32',
- },
- accept_resource: {
- rmrkCollectionId: 'u32',
- rmrkNftId: 'u32',
- resourceId: 'u32',
- },
- accept_resource_removal: {
- rmrkCollectionId: 'u32',
- rmrkNftId: 'u32',
- resourceId: 'u32',
- },
- set_property: {
- rmrkCollectionId: 'Compact<u32>',
- maybeNftId: 'Option<u32>',
- key: 'Bytes',
- value: 'Bytes',
- },
- set_priority: {
- rmrkCollectionId: 'u32',
- rmrkNftId: 'u32',
- priorities: 'Vec<u32>',
- },
- add_basic_resource: {
- rmrkCollectionId: 'u32',
- nftId: 'u32',
- resource: 'RmrkTraitsResourceBasicResource',
- },
- add_composable_resource: {
- rmrkCollectionId: 'u32',
- nftId: 'u32',
- resource: 'RmrkTraitsResourceComposableResource',
- },
- add_slot_resource: {
- rmrkCollectionId: 'u32',
- nftId: 'u32',
- resource: 'RmrkTraitsResourceSlotResource',
- },
- remove_resource: {
- rmrkCollectionId: 'u32',
- nftId: 'u32',
- resourceId: 'u32'
- }
- }
- },
- /**
- * Lookup297: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsResourceResourceTypes: {
- _enum: {
- Basic: 'RmrkTraitsResourceBasicResource',
- Composable: 'RmrkTraitsResourceComposableResource',
- Slot: 'RmrkTraitsResourceSlotResource'
- }
- },
- /**
- * Lookup299: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsResourceBasicResource: {
- src: 'Option<Bytes>',
- metadata: 'Option<Bytes>',
- license: 'Option<Bytes>',
- thumb: 'Option<Bytes>'
- },
- /**
- * Lookup301: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsResourceComposableResource: {
- parts: 'Vec<u32>',
- base: 'u32',
- src: 'Option<Bytes>',
- metadata: 'Option<Bytes>',
- license: 'Option<Bytes>',
- thumb: 'Option<Bytes>'
- },
- /**
- * Lookup302: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsResourceSlotResource: {
- base: 'u32',
- src: 'Option<Bytes>',
- metadata: 'Option<Bytes>',
- slot: 'u32',
- license: 'Option<Bytes>',
- thumb: 'Option<Bytes>'
- },
- /**
- * Lookup305: pallet_rmrk_equip::pallet::Call<T>
- **/
- PalletRmrkEquipCall: {
- _enum: {
- create_base: {
- baseType: 'Bytes',
- symbol: 'Bytes',
- parts: 'Vec<RmrkTraitsPartPartType>',
- },
- theme_add: {
- baseId: 'u32',
- theme: 'RmrkTraitsTheme',
- },
- equippable: {
- baseId: 'u32',
- slotId: 'u32',
- equippables: 'RmrkTraitsPartEquippableList'
- }
- }
- },
- /**
- * Lookup308: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup363: pallet_app_promotion::pallet::Call<T>
**/
- RmrkTraitsPartPartType: {
- _enum: {
- FixedPart: 'RmrkTraitsPartFixedPart',
- SlotPart: 'RmrkTraitsPartSlotPart'
- }
- },
- /**
- * Lookup310: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsPartFixedPart: {
- id: 'u32',
- z: 'u32',
- src: 'Bytes'
- },
- /**
- * Lookup311: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsPartSlotPart: {
- id: 'u32',
- equippable: 'RmrkTraitsPartEquippableList',
- src: 'Bytes',
- z: 'u32'
- },
- /**
- * Lookup312: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsPartEquippableList: {
- _enum: {
- All: 'Null',
- Empty: 'Null',
- Custom: 'Vec<u32>'
- }
- },
- /**
- * 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>>
- **/
- RmrkTraitsTheme: {
- name: 'Bytes',
- properties: 'Vec<RmrkTraitsThemeThemeProperty>',
- inherit: 'bool'
- },
- /**
- * Lookup316: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsThemeThemeProperty: {
- key: 'Bytes',
- value: 'Bytes'
- },
- /**
- * Lookup318: pallet_app_promotion::pallet::Call<T>
- **/
PalletAppPromotionCall: {
_enum: {
set_admin_address: {
@@ -2723,7 +2805,7 @@
stake: {
amount: 'u128',
},
- unstake: 'Null',
+ unstake_all: 'Null',
sponsor_collection: {
collectionId: 'u32',
},
@@ -2737,12 +2819,15 @@
contractId: 'H160',
},
payout_stakers: {
- stakersNumber: 'Option<u8>'
+ stakersNumber: 'Option<u8>',
+ },
+ unstake_partial: {
+ amount: 'u128'
}
}
},
/**
- * Lookup319: pallet_foreign_assets::module::Call<T>
+ * Lookup364: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -2759,7 +2844,7 @@
}
},
/**
- * Lookup320: pallet_evm::pallet::Call<T>
+ * Lookup365: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2802,7 +2887,7 @@
}
},
/**
- * Lookup326: pallet_ethereum::pallet::Call<T>
+ * Lookup371: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2812,7 +2897,7 @@
}
},
/**
- * Lookup327: ethereum::transaction::TransactionV2
+ * Lookup372: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2822,7 +2907,7 @@
}
},
/**
- * Lookup328: ethereum::transaction::LegacyTransaction
+ * Lookup373: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2834,7 +2919,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup329: ethereum::transaction::TransactionAction
+ * Lookup374: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2843,7 +2928,7 @@
}
},
/**
- * Lookup330: ethereum::transaction::TransactionSignature
+ * Lookup375: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2851,7 +2936,7 @@
s: 'H256'
},
/**
- * Lookup332: ethereum::transaction::EIP2930Transaction
+ * Lookup377: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -2867,14 +2952,14 @@
s: 'H256'
},
/**
- * Lookup334: ethereum::transaction::AccessListItem
+ * Lookup379: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup335: ethereum::transaction::EIP1559Transaction
+ * Lookup380: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -2891,7 +2976,7 @@
s: 'H256'
},
/**
- * Lookup336: pallet_evm_migration::pallet::Call<T>
+ * Lookup381: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -2910,18 +2995,29 @@
logs: 'Vec<EthereumLog>',
},
insert_events: {
- events: 'Vec<Bytes>'
- }
+ events: 'Vec<Bytes>',
+ },
+ remove_rmrk_data: 'Null'
}
},
/**
- * Lookup340: pallet_maintenance::pallet::Call<T>
+ * Lookup385: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
- _enum: ['enable', 'disable']
+ _enum: {
+ enable: 'Null',
+ disable: 'Null',
+ execute_preimage: {
+ _alias: {
+ hash_: 'hash',
+ },
+ hash_: 'H256',
+ weightBound: 'SpWeightsWeightV2Weight'
+ }
+ }
},
/**
- * Lookup341: pallet_test_utils::pallet::Call<T>
+ * Lookup386: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -2940,32 +3036,32 @@
}
},
/**
- * Lookup343: pallet_sudo::pallet::Error<T>
+ * Lookup388: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup345: orml_vesting::module::Error<T>
+ * Lookup390: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup346: orml_xtokens::module::Error<T>
+ * Lookup391: orml_xtokens::module::Error<T>
**/
OrmlXtokensModuleError: {
_enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
},
/**
- * Lookup349: orml_tokens::BalanceLock<Balance>
+ * Lookup394: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup351: orml_tokens::AccountData<Balance>
+ * Lookup396: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -2973,20 +3069,56 @@
frozen: 'u128'
},
/**
- * Lookup353: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup398: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup355: orml_tokens::module::Error<T>
+ * Lookup400: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup357: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup405: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
+ **/
+ PalletIdentityRegistrarInfo: {
+ account: 'AccountId32',
+ fee: 'u128',
+ fields: 'PalletIdentityBitFlags'
+ },
+ /**
+ * Lookup407: pallet_identity::pallet::Error<T>
+ **/
+ PalletIdentityError: {
+ _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']
+ },
+ /**
+ * Lookup408: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
+ **/
+ PalletPreimageRequestStatus: {
+ _enum: {
+ Unrequested: {
+ deposit: '(AccountId32,u128)',
+ len: 'u32',
+ },
+ Requested: {
+ deposit: 'Option<(AccountId32,u128)>',
+ count: 'u32',
+ len: 'Option<u32>'
+ }
+ }
+ },
+ /**
+ * Lookup413: pallet_preimage::pallet::Error<T>
+ **/
+ PalletPreimageError: {
+ _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']
+ },
+ /**
+ * Lookup415: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2994,19 +3126,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup358: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup416: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup361: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup419: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup364: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup422: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -3016,13 +3148,13 @@
lastIndex: 'u16'
},
/**
- * Lookup365: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup423: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup367: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup425: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3033,29 +3165,29 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup369: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup427: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup370: pallet_xcm::pallet::Error<T>
+ * Lookup428: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup371: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup429: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup372: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup430: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup373: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup431: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3063,25 +3195,25 @@
overweightCount: 'u64'
},
/**
- * Lookup376: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup434: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup380: pallet_unique::Error<T>
+ * Lookup438: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup381: pallet_configuration::pallet::Error<T>
+ * Lookup439: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup382: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup440: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3095,7 +3227,7 @@
flags: '[u8;1]'
},
/**
- * Lookup383: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup441: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3105,7 +3237,7 @@
}
},
/**
- * Lookup385: up_data_structs::Properties
+ * Lookup442: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -3113,15 +3245,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup386: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup443: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup391: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup448: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup398: up_data_structs::CollectionStats
+ * Lookup455: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3129,18 +3261,18 @@
alive: 'u32'
},
/**
- * Lookup399: up_data_structs::TokenChild
+ * Lookup456: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup400: PhantomType::up_data_structs<T>
+ * Lookup457: PhantomType::up_data_structs<T>
**/
- PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild,UpPovEstimateRpcPovInfo);0]',
+ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]',
/**
- * Lookup402: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup459: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3148,7 +3280,7 @@
pieces: 'u128'
},
/**
- * Lookup404: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup461: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3165,73 +3297,15 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup405: up_data_structs::RpcCollectionFlags
+ * Lookup462: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * 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>
- **/
- RmrkTraitsCollectionCollectionInfo: {
- issuer: 'AccountId32',
- metadata: 'Bytes',
- max: 'Option<u32>',
- symbol: 'Bytes',
- nftsCount: 'u32'
- },
- /**
- * Lookup407: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsNftNftInfo: {
- owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
- royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',
- metadata: 'Bytes',
- equipped: 'bool',
- pending: 'bool'
- },
- /**
- * Lookup409: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup463: up_pov_estimate_rpc::PovInfo
**/
- RmrkTraitsNftRoyaltyInfo: {
- recipient: 'AccountId32',
- amount: 'Permill'
- },
- /**
- * Lookup410: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsResourceResourceInfo: {
- id: 'u32',
- resource: 'RmrkTraitsResourceResourceTypes',
- pending: 'bool',
- pendingRemoval: 'bool'
- },
- /**
- * Lookup411: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsPropertyPropertyInfo: {
- key: 'Bytes',
- value: 'Bytes'
- },
- /**
- * Lookup412: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
- **/
- RmrkTraitsBaseBaseInfo: {
- issuer: 'AccountId32',
- baseType: 'Bytes',
- symbol: 'Bytes'
- },
- /**
- * Lookup413: rmrk_traits::nft::NftChild
- **/
- RmrkTraitsNftNftChild: {
- collectionId: 'u32',
- nftId: 'u32'
- },
- /**
- * Lookup414: up_pov_estimate_rpc::PovInfo
- **/
UpPovEstimateRpcPovInfo: {
proofSize: 'u64',
compactProofSize: 'u64',
@@ -3240,7 +3314,7 @@
keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'
},
/**
- * Lookup417: sp_runtime::transaction_validity::TransactionValidityError
+ * Lookup466: sp_runtime::transaction_validity::TransactionValidityError
**/
SpRuntimeTransactionValidityTransactionValidityError: {
_enum: {
@@ -3249,7 +3323,7 @@
}
},
/**
- * Lookup418: sp_runtime::transaction_validity::InvalidTransaction
+ * Lookup467: sp_runtime::transaction_validity::InvalidTransaction
**/
SpRuntimeTransactionValidityInvalidTransaction: {
_enum: {
@@ -3267,7 +3341,7 @@
}
},
/**
- * Lookup419: sp_runtime::transaction_validity::UnknownTransaction
+ * Lookup468: sp_runtime::transaction_validity::UnknownTransaction
**/
SpRuntimeTransactionValidityUnknownTransaction: {
_enum: {
@@ -3277,86 +3351,74 @@
}
},
/**
- * Lookup421: up_pov_estimate_rpc::TrieKeyValue
+ * Lookup470: up_pov_estimate_rpc::TrieKeyValue
**/
UpPovEstimateRpcTrieKeyValue: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup423: pallet_common::pallet::Error<T>
+ * Lookup472: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
},
/**
- * Lookup425: pallet_fungible::pallet::Error<T>
+ * Lookup474: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup429: pallet_refungible::pallet::Error<T>
+ * Lookup478: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup430: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup479: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup432: up_data_structs::PropertyScope
+ * Lookup481: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup435: pallet_nonfungible::pallet::Error<T>
+ * Lookup484: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup436: pallet_structure::pallet::Error<T>
+ * Lookup485: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
- _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
+ _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection']
},
/**
- * Lookup437: pallet_rmrk_core::pallet::Error<T>
- **/
- PalletRmrkCoreError: {
- _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
- },
- /**
- * Lookup439: pallet_rmrk_equip::pallet::Error<T>
- **/
- PalletRmrkEquipError: {
- _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
- },
- /**
- * Lookup445: pallet_app_promotion::pallet::Error<T>
+ * Lookup490: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
- _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
+ _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation', 'InsufficientStakedBalance']
},
/**
- * Lookup446: pallet_foreign_assets::module::Error<T>
+ * Lookup491: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup448: pallet_evm::pallet::Error<T>
+ * Lookup493: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
},
/**
- * Lookup451: fp_rpc::TransactionStatus
+ * Lookup496: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3368,11 +3430,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup453: ethbloom::Bloom
+ * Lookup498: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup455: ethereum::receipt::ReceiptV3
+ * Lookup500: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3382,7 +3444,7 @@
}
},
/**
- * Lookup456: ethereum::receipt::EIP658ReceiptData
+ * Lookup501: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3391,7 +3453,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup457: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup502: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3399,7 +3461,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup458: ethereum::header::Header
+ * Lookup503: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3419,23 +3481,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup459: ethereum_types::hash::H64
+ * Lookup504: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup464: pallet_ethereum::pallet::Error<T>
+ * Lookup509: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup465: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup510: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup466: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup511: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3445,35 +3507,35 @@
}
},
/**
- * Lookup467: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup512: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup473: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup518: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup474: pallet_evm_migration::pallet::Error<T>
+ * Lookup519: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup475: pallet_maintenance::pallet::Error<T>
+ * Lookup520: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup476: pallet_test_utils::pallet::Error<T>
+ * Lookup521: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup478: sp_runtime::MultiSignature
+ * Lookup523: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3483,55 +3545,55 @@
}
},
/**
- * Lookup479: sp_core::ed25519::Signature
+ * Lookup524: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup481: sp_core::sr25519::Signature
+ * Lookup526: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup482: sp_core::ecdsa::Signature
+ * Lookup527: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup485: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup530: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup486: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup531: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup487: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup532: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup490: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup535: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup491: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup536: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup492: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup537: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup493: opal_runtime::runtime_common::identity::DisableIdentityCalls
+ * Lookup538: opal_runtime::runtime_common::identity::DisableIdentityCalls
**/
OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',
/**
- * Lookup494: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup539: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup495: opal_runtime::Runtime
+ * Lookup540: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup496: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup541: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, 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);