difftreelog
feat(identity) divide set_identities into insert and remove + tests + finish identity inserter script
in: master
18 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6054,7 +6054,6 @@
"frame-support",
"frame-system",
"pallet-evm",
- "pallet-identity 4.0.0-dev",
"parity-scale-codec 3.2.1",
"scale-info",
"sp-core",
pallets/evm-migration/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-migration/Cargo.toml
+++ b/pallets/evm-migration/Cargo.toml
@@ -16,7 +16,6 @@
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
-pallet-identity = { default-features = false, path = "../identity" }
pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
pallets/identity/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/identity/src/benchmarking.rs
+++ b/pallets/identity/src/benchmarking.rs
@@ -41,7 +41,7 @@
use crate::Pallet as Identity;
use frame_benchmarking::{account, benchmarks, whitelisted_caller};
use frame_support::{
- ensure,
+ ensure, assert_ok,
traits::{EnsureOrigin, Get},
};
use frame_system::RawOrigin;
@@ -412,21 +412,40 @@
ensure!(!IdentityOf::<T>::contains_key(&target), "Identity not removed");
}
- set_identities {
+ force_insert_identities {
let x in 0 .. T::MaxAdditionalFields::get();
let n in 0..600;
use frame_benchmarking::account;
let identities = (0..n).map(|i| (
account("caller", i, 0),
- Some(Registration::<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields> {
+ Registration::<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields> {
judgements: Default::default(),
deposit: Default::default(),
info: create_identity_info::<T>(x),
- }),
+ },
)).collect::<Vec<_>>();
let origin = T::ForceOrigin::successful_origin();
}: _<T::RuntimeOrigin>(origin, identities)
+ force_remove_identities {
+ let x in 0 .. T::MaxAdditionalFields::get();
+ let n in 0..600;
+ use frame_benchmarking::account;
+ let origin = T::ForceOrigin::successful_origin();
+ let identities = (0..n).map(|i| (
+ account("caller", i, 0),
+ Registration::<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields> {
+ judgements: Default::default(),
+ deposit: Default::default(),
+ info: create_identity_info::<T>(x),
+ },
+ )).collect::<Vec<_>>();
+ assert_ok!(
+ Identity::<T>::force_insert_identities(origin.clone(), identities.clone()),
+ );
+ let identities = identities.into_iter().map(|(acc, _)| acc).collect::<Vec<_>>();
+ }: _<T::RuntimeOrigin>(origin, identities)
+
add_sub {
let s in 0 .. T::MaxSubAccounts::get() - 1;
pallets/identity/src/lib.rsdiffbeforeafterboth--- a/pallets/identity/src/lib.rs
+++ b/pallets/identity/src/lib.rs
@@ -177,7 +177,7 @@
/// TWOX-NOTE: OK ― `AccountId` is a secure hash.
#[pallet::storage]
#[pallet::getter(fn identity)]
- pub type IdentityOf<T: Config> = StorageMap<
+ pub(super) type IdentityOf<T: Config> = StorageMap<
_,
Twox64Concat,
T::AccountId,
@@ -274,6 +274,10 @@
who: T::AccountId,
deposit: BalanceOf<T>,
},
+ /// A number of identities and associated info were forcibly inserted.
+ IdentitiesInserted { amount: u32 },
+ /// A number of identities and all associated info were forcibly removed.
+ IdentitiesRemoved { amount: u32 },
/// A judgement was asked from a registrar.
JudgementRequested {
who: T::AccountId,
@@ -1090,23 +1094,54 @@
Ok(())
}
- /// Insert or remove identities.
+ /// 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.
#[pallet::call_index(15)]
- #[pallet::weight(T::WeightInfo::set_identities(
+ #[pallet::weight(T::WeightInfo::force_insert_identities(
T::MaxAdditionalFields::get(), // X
identities.len() as u32, // N
- ))] // todo:collator weight
- pub fn set_identities(
+ ))]
+ pub fn force_insert_identities(
origin: OriginFor<T>,
identities: Vec<(
T::AccountId,
- Option<Registration<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields>>,
+ Registration<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields>,
)>,
) -> DispatchResult {
T::ForceOrigin::ensure_origin(origin)?;
- for identity in identities {
- IdentityOf::<T>::set(identity.0, identity.1);
+ for identity in identities.clone() {
+ IdentityOf::<T>::insert(identity.0, identity.1);
}
+ Self::deposit_event(Event::IdentitiesInserted {
+ amount: identities.len() as u32,
+ });
+ Ok(())
+ }
+
+ /// 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.
+ #[pallet::call_index(16)]
+ #[pallet::weight(T::WeightInfo::force_remove_identities(
+ T::MaxAdditionalFields::get(), // X
+ identities.len() as u32, // N
+ ))]
+ pub fn force_remove_identities(
+ origin: OriginFor<T>,
+ identities: Vec<T::AccountId>,
+ ) -> DispatchResult {
+ T::ForceOrigin::ensure_origin(origin)?;
+ for identity in identities.clone() {
+ IdentityOf::<T>::set(identity, None);
+ }
+ Self::deposit_event(Event::IdentitiesRemoved {
+ amount: identities.len() as u32,
+ });
Ok(())
}
}
pallets/identity/src/weights.rsdiffbeforeafterboth--- a/pallets/identity/src/weights.rs
+++ b/pallets/identity/src/weights.rs
@@ -76,7 +76,8 @@
fn set_fields(r: u32, ) -> Weight;
fn provide_judgement(r: u32, x: u32, ) -> Weight;
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight;
- fn set_identities(x: u32, n: u32, ) -> Weight;
+ fn force_insert_identities(x: u32, n: u32, ) -> Weight;
+ fn force_remove_identities(x: u32, n: u32, ) -> Weight;
fn add_sub(s: u32, ) -> Weight;
fn rename_sub(s: u32, ) -> Weight;
fn remove_sub(s: u32, ) -> Weight;
@@ -249,7 +250,7 @@
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `x` is `[0, 100]`.
/// The range of component `n` is `[0, 600]`.
- fn set_identities(x: u32, n: u32) -> Weight {
+ fn force_insert_identities(x: u32, n: u32) -> Weight {
// Minimum execution time: 41_872 nanoseconds.
Weight::from_ref_time(40_230_216 as u64)
// Standard Error: 2_342
@@ -259,6 +260,19 @@
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))
}
+ // Storage: Identity IdentityOf (r:1 w:1)
+ /// The range of component `x` is `[0, 100]`.
+ /// The range of component `n` is `[0, 600]`.
+ fn force_remove_identities(x: u32, n: u32) -> Weight {
+ // Minimum execution time: 41_872 nanoseconds.
+ Weight::from_ref_time(40_230_216 as u64)
+ // Standard Error: 2_342
+ .saturating_add(Weight::from_ref_time(145_168 as u64))
+ // Standard Error: 457
+ .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))
+ }
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
@@ -472,7 +486,20 @@
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `x` is `[0, 100]`.
/// The range of component `n` is `[0, 600]`.
- fn set_identities(x: u32, n: u32) -> Weight {
+ fn force_insert_identities(x: u32, n: u32) -> Weight {
+ // Minimum execution time: 41_872 nanoseconds.
+ Weight::from_ref_time(40_230_216 as u64)
+ // Standard Error: 2_342
+ .saturating_add(Weight::from_ref_time(145_168 as u64))
+ // Standard Error: 457
+ .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))
+ }
+ // Storage: Identity IdentityOf (r:1 w:1)
+ /// The range of component `x` is `[0, 100]`.
+ /// The range of component `n` is `[0, 600]`.
+ fn force_remove_identities(x: u32, n: u32) -> Weight {
// Minimum execution time: 41_872 nanoseconds.
Weight::from_ref_time(40_230_216 as u64)
// Standard Error: 2_342
runtime/common/config/pallets/mod.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/mod.rs
+++ b/runtime/common/config/pallets/mod.rs
@@ -25,7 +25,7 @@
},
Runtime, RuntimeEvent, RuntimeCall, Balances,
};
-use frame_support::traits::{ConstU32, ConstU64, ConstU128};
+use frame_support::traits::{ConstU32, ConstU64};
use up_common::{
types::{AccountId, Balance, BlockNumber},
constants::*,
@@ -105,6 +105,7 @@
parameter_types! {
pub AppPromotionDailyRate: Perbill = Perbill::from_rational(5u32, 10_000);
pub const MaxCollators: u32 = MAX_COLLATORS;
+ pub const LicenseBond: Balance = GENESIS_LICENSE_BOND;
pub const SessionPeriod: BlockNumber = SESSION_LENGTH;
pub const DayRelayBlocks: BlockNumber = RELAY_DAYS;
}
@@ -116,8 +117,7 @@
type DefaultMinGasPrice = ConstU64<{ up_common::constants::MIN_GAS_PRICE }>;
type DefaultCollatorSelectionMaxCollators = MaxCollators;
type DefaultCollatorSelectionKickThreshold = SessionPeriod;
- type DefaultCollatorSelectionLicenseBond =
- ConstU128<{ up_common::constants::GENESIS_LICENSE_BOND }>;
+ type DefaultCollatorSelectionLicenseBond = LicenseBond;
type MaxXcmAllowedLocations = ConstU32<16>;
type AppPromotionDailyRate = AppPromotionDailyRate;
type DayRelayBlocks = DayRelayBlocks;
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -89,6 +89,7 @@
"testPalletPresence": "mocha --timeout 9999999 -r ts-node/register ./**/pallet-presence.test.ts",
"testBlockProduction": "mocha --timeout 9999999 -r ts-node/register ./**/block-production.test.ts",
"testCollatorSelection": "mocha --timeout 9999999 -r ts-node/register ./**/collatorSelection.*test.ts",
+ "testIdentity": "mocha --timeout 9999999 -r ts-node/register ./**/identity.*test.ts",
"testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts",
"testLimits": "mocha --timeout 9999999 -r ts-node/register ./**/limits.test.ts",
"testEthCreateNFTCollection": "mocha --timeout 9999999 -r ts-node/register ./**/eth/createNFTCollection.test.ts",
tests/src/identity.seqtest.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/identity.seqtest.ts
@@ -0,0 +1,101 @@
+// 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 {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from './util';
+import {UniqueHelper} from './util/playgrounds/unique';
+
+async function getIdentities(helper: UniqueHelper) {
+ const identities: [string, any][] = [];
+ for(const [key, value] of await helper.getApi().query.identity.identityOf.entries())
+ identities.push([(key as any).toHuman(), (value as any).unwrap()]);
+ return identities;
+}
+
+async function getIdentityAccounts(helper: UniqueHelper) {
+ return (await getIdentities(helper)).flatMap(([key, _value]) => key);
+}
+
+describe('Integration Test: Identities Manipulation', () => {
+ let superuser: IKeyringPair;
+
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKey) => {
+ requirePalletsOrSkip(this, helper, [Pallets.Identity]);
+ superuser = await privateKey('//Alice');
+ });
+ });
+
+ itSub('Normal calls do not work', async ({helper}) => {
+ // console.error = () => {};
+ await expect(helper.executeExtrinsic(superuser, 'api.tx.identity.setIdentity', [{info: {display: {Raw: 'Meowser'}}}]))
+ .to.be.rejectedWith(/Transaction call is not expected/);
+ });
+
+ itSub('Sets identities', async ({helper}) => {
+ const oldIdentitiesCount = (await getIdentityAccounts(helper)).length;
+
+ const crowdSize = 10;
+ const crowd = await helper.arrange.createCrowd(crowdSize, 0n, superuser);
+ const identities = crowd.map((acc, i) => [acc.address, {info: {display: {Raw: `accounter #${i}`}}}]);
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identities]);
+
+ expect((await getIdentityAccounts(helper)).length).to.be.equal(oldIdentitiesCount + crowdSize);
+ });
+
+ itSub('Setting identities does not delete existing but does overwrite', async ({helper}) => {
+ const crowd = await helper.arrange.createCrowd(10, 0n, superuser);
+ const identities = crowd.map((acc, i) => [acc.address, {info: {display: {Raw: `accounter #${i}`}}}]);
+
+ // insert a single identity
+ let singleIdentity = identities.pop()!;
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [[singleIdentity]]);
+
+ const oldIdentitiesCount = (await getIdentityAccounts(helper)).length;
+
+ // change an identity and push it with a few new others
+ singleIdentity = [singleIdentity[0], {info: {display: {Raw: 'something special'}}}];
+ identities.push(singleIdentity);
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identities]);
+
+ // oldIdentitiesCount + 9 because one identity is overwritten, not inserted on top
+ expect((await getIdentityAccounts(helper)).length).to.be.equal(oldIdentitiesCount + 9);
+ expect((await helper.callRpc('api.query.identity.identityOf', [singleIdentity[0]])).toHuman().info.display)
+ .to.be.deep.equal({Raw: 'something special'});
+ });
+
+ itSub('Removes identities', async ({helper}) => {
+ const crowd = await helper.arrange.createCrowd(10, 0n, superuser);
+ const identities = crowd.map((acc, i) => [acc.address, {info: {display: {Raw: `accounter #${i}`}}}]);
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identities]);
+ const oldIdentities = await getIdentityAccounts(helper);
+
+ // delete a couple, check that they are no longer there
+ const scapegoats = [crowd.pop()!.address, crowd.pop()!.address];
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceRemoveIdentities', [scapegoats]);
+ const newIdentities = await getIdentityAccounts(helper);
+ expect(newIdentities.concat(scapegoats)).to.be.have.members(oldIdentities);
+ });
+
+ after(async function() {
+ await usingPlaygrounds(async helper => {
+ if (helper.fetchMissingPalletNames([Pallets.Identity]).length != 0) return;
+
+ const identitiesToRemove: string[] = await getIdentityAccounts(helper);
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceRemoveIdentities', [identitiesToRemove]);
+ });
+ });
+});
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -334,24 +334,6 @@
**/
[key: string]: AugmentedError<ApiType>;
};
- evmMigration: {
- /**
- * Migration of this account is not yet started, or already finished.
- **/
- AccountIsNotMigrating: AugmentedError<ApiType>;
- /**
- * Can only migrate to empty address.
- **/
- AccountNotEmpty: AugmentedError<ApiType>;
- /**
- * Failed to decode event bytes
- **/
- BadEvent: AugmentedError<ApiType>;
- /**
- * Generic error
- **/
- [key: string]: AugmentedError<ApiType>;
- };
dmpQueue: {
/**
* The amount of weight given is possibly not enough for executing the message.
@@ -456,6 +438,24 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ evmMigration: {
+ /**
+ * Migration of this account is not yet started, or already finished.
+ **/
+ AccountIsNotMigrating: AugmentedError<ApiType>;
+ /**
+ * Can only migrate to empty address.
+ **/
+ AccountNotEmpty: AugmentedError<ApiType>;
+ /**
+ * Failed to decode event bytes
+ **/
+ BadEvent: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
foreignAssets: {
/**
* AssetId exists
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -236,16 +236,6 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
- evmMigration: {
- /**
- * This event is used in benchmarking and can be used for tests
- **/
- TestEvent: AugmentedEvent<ApiType, []>;
- /**
- * Generic event
- **/
- [key: string]: AugmentedEvent<ApiType>;
- };
dmpQueue: {
/**
* Downward message executed with the given outcome.
@@ -330,6 +320,16 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ evmMigration: {
+ /**
+ * This event is used in benchmarking and can be used for tests
+ **/
+ TestEvent: AugmentedEvent<ApiType, []>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
foreignAssets: {
/**
* The asset registered.
@@ -354,6 +354,14 @@
};
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 }>;
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -211,13 +211,6 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
- evmMigration: {
- migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
dmpQueue: {
/**
* The configuration.
@@ -354,6 +347,13 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ evmMigration: {
+ migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
foreignAssets: {
/**
* The storages for assets to fungible collection binding
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -292,36 +292,6 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
- evmMigration: {
- /**
- * Start contract migration, inserts contract stub at target address,
- * and marks account as pending, allowing to insert storage
- **/
- begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
- /**
- * Finish contract migration, allows it to be called.
- * It is not possible to alter contract storage via [`Self::set_data`]
- * after this call.
- **/
- finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;
- /**
- * Create ethereum events attached to the fake transaction
- **/
- insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;
- /**
- * Create substrate events
- **/
- insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
- /**
- * Insert items into contract storage, this method can be called
- * multiple times
- **/
- setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;
- /**
- * Generic tx
- **/
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
- };
dmpQueue: {
/**
* Service a single overweight message.
@@ -376,6 +346,36 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ evmMigration: {
+ /**
+ * Start contract migration, inserts contract stub at target address,
+ * and marks account as pending, allowing to insert storage
+ **/
+ begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
+ /**
+ * Finish contract migration, allows it to be called.
+ * It is not possible to alter contract storage via [`Self::set_data`]
+ * after this call.
+ **/
+ finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;
+ /**
+ * Create ethereum events attached to the fake transaction
+ **/
+ insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;
+ /**
+ * Create substrate events
+ **/
+ insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
+ /**
+ * Insert items into contract storage, this method can be called
+ * multiple times
+ **/
+ setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
foreignAssets: {
registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
@@ -453,6 +453,22 @@
**/
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>]>;
+ /**
* 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
@@ -601,10 +617,6 @@
* # </weight>
**/
setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;
- /**
- * Insert or remove identities.
- **/
- setIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>> | ([AccountId32 | string | Uint8Array, Option<PalletIdentityRegistration> | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>]>;
/**
* Set an account's identity information and reserve the appropriate deposit.
*
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, OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonDataManagementFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, 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, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -772,7 +772,7 @@
Offender: Offender;
OldV1SessionInfo: OldV1SessionInfo;
OpalRuntimeRuntime: OpalRuntimeRuntime;
- OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity;
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OpaqueCall: OpaqueCall;
@@ -842,9 +842,6 @@
PalletConfigurationEvent: PalletConfigurationEvent;
PalletConstantMetadataLatest: PalletConstantMetadataLatest;
PalletConstantMetadataV14: PalletConstantMetadataV14;
- PalletEvmMigrationCall: PalletEvmMigrationCall;
- PalletEvmMigrationError: PalletEvmMigrationError;
- PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletErrorMetadataLatest: PalletErrorMetadataLatest;
PalletErrorMetadataV14: PalletErrorMetadataV14;
PalletEthereumCall: PalletEthereumCall;
@@ -861,6 +858,9 @@
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
PalletEvmError: PalletEvmError;
PalletEvmEvent: PalletEvmEvent;
+ PalletEvmMigrationCall: PalletEvmMigrationCall;
+ PalletEvmMigrationError: PalletEvmMigrationError;
+ PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds;
PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata;
PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -693,8 +693,8 @@
/** @name OpalRuntimeRuntime */
export interface OpalRuntimeRuntime extends Null {}
-/** @name OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity */
-export interface OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity extends Null {}
+/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */
+export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {}
/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
@@ -1451,49 +1451,8 @@
readonly lengthInBlocks: Option<u32>;
} & Struct;
readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold';
-}
-
-/** @name PalletEvmMigrationCall */
-export interface PalletEvmMigrationCall extends Enum {
- readonly isBegin: boolean;
- readonly asBegin: {
- readonly address: H160;
- } & Struct;
- readonly isSetData: boolean;
- readonly asSetData: {
- readonly address: H160;
- readonly data: Vec<ITuple<[H256, H256]>>;
- } & Struct;
- readonly isFinish: boolean;
- readonly asFinish: {
- readonly address: H160;
- readonly code: Bytes;
- } & Struct;
- readonly isInsertEthLogs: boolean;
- readonly asInsertEthLogs: {
- readonly logs: Vec<EthereumLog>;
- } & Struct;
- readonly isInsertEvents: boolean;
- readonly asInsertEvents: {
- readonly events: Vec<Bytes>;
- } & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
-}
-
-/** @name PalletEvmMigrationError */
-export interface PalletEvmMigrationError extends Enum {
- readonly isAccountNotEmpty: boolean;
- readonly isAccountIsNotMigrating: boolean;
- readonly isBadEvent: boolean;
- readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
-/** @name PalletEvmMigrationEvent */
-export interface PalletEvmMigrationEvent extends Enum {
- readonly isTestEvent: boolean;
- readonly type: 'TestEvent';
-}
-
/** @name PalletEthereumCall */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
@@ -1654,6 +1613,47 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
}
+/** @name PalletEvmMigrationCall */
+export interface PalletEvmMigrationCall extends Enum {
+ readonly isBegin: boolean;
+ readonly asBegin: {
+ readonly address: H160;
+ } & Struct;
+ readonly isSetData: boolean;
+ readonly asSetData: {
+ readonly address: H160;
+ readonly data: Vec<ITuple<[H256, H256]>>;
+ } & Struct;
+ readonly isFinish: boolean;
+ readonly asFinish: {
+ readonly address: H160;
+ readonly code: Bytes;
+ } & Struct;
+ readonly isInsertEthLogs: boolean;
+ readonly asInsertEthLogs: {
+ readonly logs: Vec<EthereumLog>;
+ } & Struct;
+ readonly isInsertEvents: boolean;
+ readonly asInsertEvents: {
+ readonly events: Vec<Bytes>;
+ } & Struct;
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
+}
+
+/** @name PalletEvmMigrationError */
+export interface PalletEvmMigrationError extends Enum {
+ readonly isAccountNotEmpty: boolean;
+ readonly isAccountIsNotMigrating: boolean;
+ readonly isBadEvent: boolean;
+ readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
+}
+
+/** @name PalletEvmMigrationEvent */
+export interface PalletEvmMigrationEvent extends Enum {
+ readonly isTestEvent: boolean;
+ readonly type: 'TestEvent';
+}
+
/** @name PalletForeignAssetsAssetIds */
export interface PalletForeignAssetsAssetIds extends Enum {
readonly isForeignAssetId: boolean;
@@ -1821,11 +1821,15 @@
readonly sub: MultiAddress;
} & Struct;
readonly isQuitSub: boolean;
- readonly isSetIdentities: boolean;
- readonly asSetIdentities: {
- readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
+ readonly isForceInsertIdentities: boolean;
+ readonly asForceInsertIdentities: {
+ readonly identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>;
} & Struct;
- readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';
+ readonly isForceRemoveIdentities: boolean;
+ readonly asForceRemoveIdentities: {
+ readonly identities: Vec<AccountId32>;
+ } & Struct;
+ readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities';
}
/** @name PalletIdentityError */
@@ -1867,6 +1871,14 @@
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;
@@ -1904,7 +1916,7 @@
readonly main: AccountId32;
readonly deposit: u128;
} & Struct;
- readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';
+ readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';
}
/** @name PalletIdentityIdentityField */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -236,6 +236,12 @@
who: 'AccountId32',
deposit: 'u128',
},
+ IdentitiesInserted: {
+ amount: 'u32',
+ },
+ IdentitiesRemoved: {
+ amount: 'u32',
+ },
JudgementRequested: {
who: 'AccountId32',
registrarIndex: 'u32',
@@ -1864,19 +1870,22 @@
sub: 'MultiAddress',
},
quit_sub: 'Null',
- set_identities: {
- identities: 'Vec<(AccountId32,Option<PalletIdentityRegistration>)>'
+ force_insert_identities: {
+ identities: 'Vec<(AccountId32,PalletIdentityRegistration)>',
+ },
+ force_remove_identities: {
+ identities: 'Vec<AccountId32>'
}
}
},
/**
- * Lookup251: pallet_identity::pallet::Error<T>
+ * Lookup250: 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']
},
/**
- * Lookup253: pallet_balances::BalanceLock<Balance>
+ * Lookup252: pallet_balances::BalanceLock<Balance>
**/
PalletBalancesBalanceLock: {
id: '[u8;8]',
@@ -1884,20 +1893,20 @@
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup254: pallet_balances::Reasons
+ * Lookup253: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup257: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup256: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup259: pallet_balances::pallet::Call<T, I>
+ * Lookup258: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1930,13 +1939,13 @@
}
},
/**
- * Lookup260: pallet_balances::pallet::Error<T, I>
+ * Lookup259: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup262: pallet_timestamp::pallet::Call<T>
+ * Lookup261: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1946,13 +1955,13 @@
}
},
/**
- * Lookup264: pallet_transaction_payment::Releases
+ * Lookup263: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup265: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup264: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1961,7 +1970,7 @@
bond: 'u128'
},
/**
- * Lookup267: pallet_treasury::pallet::Call<T, I>
+ * Lookup266: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1985,17 +1994,17 @@
}
},
/**
- * Lookup269: frame_support::PalletId
+ * Lookup268: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup270: pallet_treasury::pallet::Error<T, I>
+ * Lookup269: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup271: pallet_sudo::pallet::Call<T>
+ * Lookup270: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -2019,7 +2028,7 @@
}
},
/**
- * Lookup273: orml_vesting::module::Call<T>
+ * Lookup272: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -2038,7 +2047,7 @@
}
},
/**
- * Lookup275: orml_xtokens::module::Call<T>
+ * Lookup274: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -2081,7 +2090,7 @@
}
},
/**
- * Lookup276: xcm::VersionedMultiAsset
+ * Lookup275: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
@@ -2090,7 +2099,7 @@
}
},
/**
- * Lookup279: orml_tokens::module::Call<T>
+ * Lookup278: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -2124,7 +2133,7 @@
}
},
/**
- * Lookup280: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup279: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -2173,7 +2182,7 @@
}
},
/**
- * Lookup281: pallet_xcm::pallet::Call<T>
+ * Lookup280: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -2227,7 +2236,7 @@
}
},
/**
- * Lookup282: xcm::VersionedXcm<RuntimeCall>
+ * Lookup281: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
@@ -2237,7 +2246,7 @@
}
},
/**
- * Lookup283: xcm::v0::Xcm<RuntimeCall>
+ * Lookup282: xcm::v0::Xcm<RuntimeCall>
**/
XcmV0Xcm: {
_enum: {
@@ -2291,7 +2300,7 @@
}
},
/**
- * Lookup285: xcm::v0::order::Order<RuntimeCall>
+ * Lookup284: xcm::v0::order::Order<RuntimeCall>
**/
XcmV0Order: {
_enum: {
@@ -2334,7 +2343,7 @@
}
},
/**
- * Lookup287: xcm::v0::Response
+ * Lookup286: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -2342,7 +2351,7 @@
}
},
/**
- * Lookup288: xcm::v1::Xcm<RuntimeCall>
+ * Lookup287: xcm::v1::Xcm<RuntimeCall>
**/
XcmV1Xcm: {
_enum: {
@@ -2401,7 +2410,7 @@
}
},
/**
- * Lookup290: xcm::v1::order::Order<RuntimeCall>
+ * Lookup289: xcm::v1::order::Order<RuntimeCall>
**/
XcmV1Order: {
_enum: {
@@ -2446,7 +2455,7 @@
}
},
/**
- * Lookup292: xcm::v1::Response
+ * Lookup291: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -2455,11 +2464,11 @@
}
},
/**
- * Lookup306: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup305: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup307: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup306: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -2470,7 +2479,7 @@
}
},
/**
- * Lookup308: pallet_inflation::pallet::Call<T>
+ * Lookup307: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2480,7 +2489,7 @@
}
},
/**
- * Lookup309: pallet_unique::Call<T>
+ * Lookup308: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2624,7 +2633,7 @@
}
},
/**
- * Lookup314: up_data_structs::CollectionMode
+ * Lookup313: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2634,7 +2643,7 @@
}
},
/**
- * Lookup315: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup314: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2649,13 +2658,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup317: up_data_structs::AccessMode
+ * Lookup316: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup319: up_data_structs::CollectionLimits
+ * Lookup318: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2669,7 +2678,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup321: up_data_structs::SponsoringRateLimit
+ * Lookup320: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2678,7 +2687,7 @@
}
},
/**
- * Lookup324: up_data_structs::CollectionPermissions
+ * Lookup323: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2686,7 +2695,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup326: up_data_structs::NestingPermissions
+ * Lookup325: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2694,18 +2703,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup328: up_data_structs::OwnerRestrictedSet
+ * Lookup327: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup333: up_data_structs::PropertyKeyPermission
+ * Lookup332: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup334: up_data_structs::PropertyPermission
+ * Lookup333: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2713,14 +2722,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup337: up_data_structs::Property
+ * Lookup336: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup340: up_data_structs::CreateItemData
+ * Lookup339: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2730,26 +2739,26 @@
}
},
/**
- * Lookup341: up_data_structs::CreateNftData
+ * Lookup340: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup342: up_data_structs::CreateFungibleData
+ * Lookup341: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup343: up_data_structs::CreateReFungibleData
+ * Lookup342: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup346: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup345: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2760,14 +2769,14 @@
}
},
/**
- * Lookup348: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup347: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup355: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup354: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2775,14 +2784,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup357: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup356: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup358: pallet_configuration::pallet::Call<T>
+ * Lookup357: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2810,7 +2819,7 @@
}
},
/**
- * Lookup363: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+ * Lookup362: pallet_configuration::AppPromotionConfiguration<BlockNumber>
**/
PalletConfigurationAppPromotionConfiguration: {
recalculationInterval: 'Option<u32>',
@@ -2819,15 +2828,15 @@
maxStakersPerCalculation: 'Option<u8>'
},
/**
- * Lookup367: pallet_template_transaction_payment::Call<T>
+ * Lookup366: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup368: pallet_structure::pallet::Call<T>
+ * Lookup367: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup369: pallet_rmrk_core::pallet::Call<T>
+ * Lookup368: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -2918,7 +2927,7 @@
}
},
/**
- * Lookup375: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup374: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -2928,7 +2937,7 @@
}
},
/**
- * Lookup377: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup376: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -2937,7 +2946,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup379: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup378: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -2948,7 +2957,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup380: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup379: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -2959,7 +2968,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup383: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup382: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -2980,7 +2989,7 @@
}
},
/**
- * Lookup386: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup385: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -2989,7 +2998,7 @@
}
},
/**
- * Lookup388: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup387: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -2997,7 +3006,7 @@
src: 'Bytes'
},
/**
- * Lookup389: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup388: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -3006,7 +3015,7 @@
z: 'u32'
},
/**
- * Lookup390: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup389: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -3016,7 +3025,7 @@
}
},
/**
- * Lookup392: 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>>
+ * Lookup391: 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',
@@ -3024,14 +3033,14 @@
inherit: 'bool'
},
/**
- * Lookup394: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup393: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup396: pallet_app_promotion::pallet::Call<T>
+ * Lookup395: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
@@ -3060,7 +3069,7 @@
}
},
/**
- * Lookup397: pallet_foreign_assets::module::Call<T>
+ * Lookup396: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -3077,7 +3086,7 @@
}
},
/**
- * Lookup398: pallet_evm::pallet::Call<T>
+ * Lookup397: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -3120,7 +3129,7 @@
}
},
/**
- * Lookup404: pallet_ethereum::pallet::Call<T>
+ * Lookup403: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -3130,7 +3139,7 @@
}
},
/**
- * Lookup405: ethereum::transaction::TransactionV2
+ * Lookup404: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -3140,7 +3149,7 @@
}
},
/**
- * Lookup406: ethereum::transaction::LegacyTransaction
+ * Lookup405: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -3152,7 +3161,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup407: ethereum::transaction::TransactionAction
+ * Lookup406: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -3161,7 +3170,7 @@
}
},
/**
- * Lookup408: ethereum::transaction::TransactionSignature
+ * Lookup407: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -3169,7 +3178,7 @@
s: 'H256'
},
/**
- * Lookup410: ethereum::transaction::EIP2930Transaction
+ * Lookup409: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -3185,14 +3194,14 @@
s: 'H256'
},
/**
- * Lookup412: ethereum::transaction::AccessListItem
+ * Lookup411: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup413: ethereum::transaction::EIP1559Transaction
+ * Lookup412: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -3209,7 +3218,7 @@
s: 'H256'
},
/**
- * Lookup414: pallet_evm_migration::pallet::Call<T>
+ * Lookup413: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -3233,13 +3242,13 @@
}
},
/**
- * Lookup418: pallet_maintenance::pallet::Call<T>
+ * Lookup417: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
_enum: ['enable', 'disable']
},
/**
- * Lookup419: pallet_test_utils::pallet::Call<T>
+ * Lookup418: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -3258,32 +3267,32 @@
}
},
/**
- * Lookup421: pallet_sudo::pallet::Error<T>
+ * Lookup420: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup423: orml_vesting::module::Error<T>
+ * Lookup422: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup424: orml_xtokens::module::Error<T>
+ * Lookup423: 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']
},
/**
- * Lookup427: orml_tokens::BalanceLock<Balance>
+ * Lookup426: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup429: orml_tokens::AccountData<Balance>
+ * Lookup428: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -3291,20 +3300,20 @@
frozen: 'u128'
},
/**
- * Lookup431: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup430: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup433: orml_tokens::module::Error<T>
+ * Lookup432: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup435: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup434: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -3312,19 +3321,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup436: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup435: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup439: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup438: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup442: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup441: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -3334,13 +3343,13 @@
lastIndex: 'u16'
},
/**
- * Lookup443: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup442: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup445: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup444: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3351,29 +3360,29 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup447: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup446: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup448: pallet_xcm::pallet::Error<T>
+ * Lookup447: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup449: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup448: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup450: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup449: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup451: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup450: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3381,25 +3390,25 @@
overweightCount: 'u64'
},
/**
- * Lookup454: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup453: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup458: pallet_unique::Error<T>
+ * Lookup457: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup459: pallet_configuration::pallet::Error<T>
+ * Lookup458: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup460: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup459: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3413,7 +3422,7 @@
flags: '[u8;1]'
},
/**
- * Lookup461: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup460: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3423,7 +3432,7 @@
}
},
/**
- * Lookup462: up_data_structs::Properties
+ * Lookup461: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -3431,15 +3440,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup463: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup462: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup468: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup467: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup475: up_data_structs::CollectionStats
+ * Lookup474: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3447,18 +3456,18 @@
alive: 'u32'
},
/**
- * Lookup476: up_data_structs::TokenChild
+ * Lookup475: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup477: PhantomType::up_data_structs<T>
+ * Lookup476: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild,UpPovEstimateRpcPovInfo);0]',
/**
- * Lookup479: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup478: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3466,7 +3475,7 @@
pieces: 'u128'
},
/**
- * Lookup481: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup480: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3483,14 +3492,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup482: up_data_structs::RpcCollectionFlags
+ * Lookup481: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * Lookup483: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup482: 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',
@@ -3500,7 +3509,7 @@
nftsCount: 'u32'
},
/**
- * Lookup484: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup483: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -3510,14 +3519,14 @@
pending: 'bool'
},
/**
- * Lookup486: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup485: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup487: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup486: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -3526,14 +3535,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup488: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup487: 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'
},
/**
- * Lookup489: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup488: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3541,14 +3550,14 @@
symbol: 'Bytes'
},
/**
- * Lookup490: rmrk_traits::nft::NftChild
+ * Lookup489: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup491: up_pov_estimate_rpc::PovInfo
+ * Lookup490: up_pov_estimate_rpc::PovInfo
**/
UpPovEstimateRpcPovInfo: {
proofSize: 'u64',
@@ -3558,7 +3567,7 @@
keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'
},
/**
- * Lookup494: sp_runtime::transaction_validity::TransactionValidityError
+ * Lookup493: sp_runtime::transaction_validity::TransactionValidityError
**/
SpRuntimeTransactionValidityTransactionValidityError: {
_enum: {
@@ -3567,7 +3576,7 @@
}
},
/**
- * Lookup495: sp_runtime::transaction_validity::InvalidTransaction
+ * Lookup494: sp_runtime::transaction_validity::InvalidTransaction
**/
SpRuntimeTransactionValidityInvalidTransaction: {
_enum: {
@@ -3585,7 +3594,7 @@
}
},
/**
- * Lookup496: sp_runtime::transaction_validity::UnknownTransaction
+ * Lookup495: sp_runtime::transaction_validity::UnknownTransaction
**/
SpRuntimeTransactionValidityUnknownTransaction: {
_enum: {
@@ -3595,86 +3604,86 @@
}
},
/**
- * Lookup498: up_pov_estimate_rpc::TrieKeyValue
+ * Lookup497: up_pov_estimate_rpc::TrieKeyValue
**/
UpPovEstimateRpcTrieKeyValue: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup500: pallet_common::pallet::Error<T>
+ * Lookup499: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
},
/**
- * Lookup502: pallet_fungible::pallet::Error<T>
+ * Lookup501: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup506: pallet_refungible::pallet::Error<T>
+ * Lookup505: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup507: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup506: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup509: up_data_structs::PropertyScope
+ * Lookup508: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup512: pallet_nonfungible::pallet::Error<T>
+ * Lookup511: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup513: pallet_structure::pallet::Error<T>
+ * Lookup512: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup514: pallet_rmrk_core::pallet::Error<T>
+ * Lookup513: 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']
},
/**
- * Lookup516: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup515: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup522: pallet_app_promotion::pallet::Error<T>
+ * Lookup521: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
},
/**
- * Lookup523: pallet_foreign_assets::module::Error<T>
+ * Lookup522: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup525: pallet_evm::pallet::Error<T>
+ * Lookup524: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
},
/**
- * Lookup528: fp_rpc::TransactionStatus
+ * Lookup527: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3686,11 +3695,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup530: ethbloom::Bloom
+ * Lookup529: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup532: ethereum::receipt::ReceiptV3
+ * Lookup531: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3700,7 +3709,7 @@
}
},
/**
- * Lookup533: ethereum::receipt::EIP658ReceiptData
+ * Lookup532: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3709,7 +3718,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup534: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup533: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3717,7 +3726,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup535: ethereum::header::Header
+ * Lookup534: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3737,23 +3746,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup536: ethereum_types::hash::H64
+ * Lookup535: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup541: pallet_ethereum::pallet::Error<T>
+ * Lookup540: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup542: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup541: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup543: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup542: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3763,35 +3772,35 @@
}
},
/**
- * Lookup544: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup543: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup550: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup549: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup551: pallet_evm_migration::pallet::Error<T>
+ * Lookup550: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup552: pallet_maintenance::pallet::Error<T>
+ * Lookup551: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup553: pallet_test_utils::pallet::Error<T>
+ * Lookup552: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup555: sp_runtime::MultiSignature
+ * Lookup554: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3801,55 +3810,55 @@
}
},
/**
- * Lookup556: sp_core::ed25519::Signature
+ * Lookup555: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup558: sp_core::sr25519::Signature
+ * Lookup557: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup559: sp_core::ecdsa::Signature
+ * Lookup558: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup562: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup561: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup563: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup562: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup564: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup563: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup567: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup566: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup568: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup567: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup569: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup568: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup570: opal_runtime::runtime_common::evm_migration::FilterIdentity
+ * Lookup569: opal_runtime::runtime_common::data_management::FilterIdentity
**/
- OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: 'Null',
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: 'Null',
/**
- * Lookup571: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup570: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup572: opal_runtime::Runtime
+ * Lookup571: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup573: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup572: 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, OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonDataManagementFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, 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, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -74,7 +74,7 @@
FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;
FrameSystemPhase: FrameSystemPhase;
OpalRuntimeRuntime: OpalRuntimeRuntime;
- OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity;
+ OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OrmlTokensAccountData: OrmlTokensAccountData;
@@ -112,9 +112,6 @@
PalletConfigurationCall: PalletConfigurationCall;
PalletConfigurationError: PalletConfigurationError;
PalletConfigurationEvent: PalletConfigurationEvent;
- PalletEvmMigrationCall: PalletEvmMigrationCall;
- PalletEvmMigrationError: PalletEvmMigrationError;
- PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletEthereumCall: PalletEthereumCall;
PalletEthereumError: PalletEthereumError;
PalletEthereumEvent: PalletEthereumEvent;
@@ -127,6 +124,9 @@
PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
PalletEvmError: PalletEvmError;
PalletEvmEvent: PalletEvmEvent;
+ PalletEvmMigrationCall: PalletEvmMigrationCall;
+ PalletEvmMigrationError: PalletEvmMigrationError;
+ PalletEvmMigrationEvent: PalletEvmMigrationEvent;
PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds;
PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata;
PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth253 readonly who: AccountId32;253 readonly who: AccountId32;254 readonly deposit: u128;254 readonly deposit: u128;255 } & Struct;255 } & Struct;256 readonly isIdentitiesInserted: boolean;257 readonly asIdentitiesInserted: {258 readonly amount: u32;259 } & Struct;260 readonly isIdentitiesRemoved: boolean;261 readonly asIdentitiesRemoved: {262 readonly amount: u32;263 } & Struct;256 readonly isJudgementRequested: boolean;264 readonly isJudgementRequested: boolean;257 readonly asJudgementRequested: {265 readonly asJudgementRequested: {258 readonly who: AccountId32;266 readonly who: AccountId32;290 readonly main: AccountId32;298 readonly main: AccountId32;291 readonly deposit: u128;299 readonly deposit: u128;292 } & Struct;300 } & Struct;293 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';301 readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked';294 }302 }295303296 /** @name PalletBalancesEvent (33) */304 /** @name PalletBalancesEvent (33) */2057 readonly sub: MultiAddress;2065 readonly sub: MultiAddress;2058 } & Struct;2066 } & Struct;2059 readonly isQuitSub: boolean;2067 readonly isQuitSub: boolean;2060 readonly isSetIdentities: boolean;2068 readonly isForceInsertIdentities: boolean;2061 readonly asSetIdentities: {2069 readonly asForceInsertIdentities: {2062 readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;2070 readonly identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>;2063 } & Struct;2071 } & Struct;2072 readonly isForceRemoveIdentities: boolean;2073 readonly asForceRemoveIdentities: {2074 readonly identities: Vec<AccountId32>;2075 } & Struct;2064 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';2076 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities';2065 }2077 }206620782067 /** @name PalletIdentityError (251) */2079 /** @name PalletIdentityError (250) */2068 interface PalletIdentityError extends Enum {2080 interface PalletIdentityError extends Enum {2069 readonly isTooManySubAccounts: boolean;2081 readonly isTooManySubAccounts: boolean;2070 readonly isNotFound: boolean;2082 readonly isNotFound: boolean;2087 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';2099 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';2088 }2100 }208921012090 /** @name PalletBalancesBalanceLock (253) */2102 /** @name PalletBalancesBalanceLock (252) */2091 interface PalletBalancesBalanceLock extends Struct {2103 interface PalletBalancesBalanceLock extends Struct {2092 readonly id: U8aFixed;2104 readonly id: U8aFixed;2093 readonly amount: u128;2105 readonly amount: u128;2094 readonly reasons: PalletBalancesReasons;2106 readonly reasons: PalletBalancesReasons;2095 }2107 }209621082097 /** @name PalletBalancesReasons (254) */2109 /** @name PalletBalancesReasons (253) */2098 interface PalletBalancesReasons extends Enum {2110 interface PalletBalancesReasons extends Enum {2099 readonly isFee: boolean;2111 readonly isFee: boolean;2100 readonly isMisc: boolean;2112 readonly isMisc: boolean;2101 readonly isAll: boolean;2113 readonly isAll: boolean;2102 readonly type: 'Fee' | 'Misc' | 'All';2114 readonly type: 'Fee' | 'Misc' | 'All';2103 }2115 }210421162105 /** @name PalletBalancesReserveData (257) */2117 /** @name PalletBalancesReserveData (256) */2106 interface PalletBalancesReserveData extends Struct {2118 interface PalletBalancesReserveData extends Struct {2107 readonly id: U8aFixed;2119 readonly id: U8aFixed;2108 readonly amount: u128;2120 readonly amount: u128;2109 }2121 }211021222111 /** @name PalletBalancesCall (259) */2123 /** @name PalletBalancesCall (258) */2112 interface PalletBalancesCall extends Enum {2124 interface PalletBalancesCall extends Enum {2113 readonly isTransfer: boolean;2125 readonly isTransfer: boolean;2114 readonly asTransfer: {2126 readonly asTransfer: {2145 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2157 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2146 }2158 }214721592148 /** @name PalletBalancesError (260) */2160 /** @name PalletBalancesError (259) */2149 interface PalletBalancesError extends Enum {2161 interface PalletBalancesError extends Enum {2150 readonly isVestingBalance: boolean;2162 readonly isVestingBalance: boolean;2151 readonly isLiquidityRestrictions: boolean;2163 readonly isLiquidityRestrictions: boolean;2158 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';2170 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';2159 }2171 }216021722161 /** @name PalletTimestampCall (262) */2173 /** @name PalletTimestampCall (261) */2162 interface PalletTimestampCall extends Enum {2174 interface PalletTimestampCall extends Enum {2163 readonly isSet: boolean;2175 readonly isSet: boolean;2164 readonly asSet: {2176 readonly asSet: {2167 readonly type: 'Set';2179 readonly type: 'Set';2168 }2180 }216921812170 /** @name PalletTransactionPaymentReleases (264) */2182 /** @name PalletTransactionPaymentReleases (263) */2171 interface PalletTransactionPaymentReleases extends Enum {2183 interface PalletTransactionPaymentReleases extends Enum {2172 readonly isV1Ancient: boolean;2184 readonly isV1Ancient: boolean;2173 readonly isV2: boolean;2185 readonly isV2: boolean;2174 readonly type: 'V1Ancient' | 'V2';2186 readonly type: 'V1Ancient' | 'V2';2175 }2187 }217621882177 /** @name PalletTreasuryProposal (265) */2189 /** @name PalletTreasuryProposal (264) */2178 interface PalletTreasuryProposal extends Struct {2190 interface PalletTreasuryProposal extends Struct {2179 readonly proposer: AccountId32;2191 readonly proposer: AccountId32;2180 readonly value: u128;2192 readonly value: u128;2181 readonly beneficiary: AccountId32;2193 readonly beneficiary: AccountId32;2182 readonly bond: u128;2194 readonly bond: u128;2183 }2195 }218421962185 /** @name PalletTreasuryCall (267) */2197 /** @name PalletTreasuryCall (266) */2186 interface PalletTreasuryCall extends Enum {2198 interface PalletTreasuryCall extends Enum {2187 readonly isProposeSpend: boolean;2199 readonly isProposeSpend: boolean;2188 readonly asProposeSpend: {2200 readonly asProposeSpend: {2209 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2221 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2210 }2222 }221122232212 /** @name FrameSupportPalletId (269) */2224 /** @name FrameSupportPalletId (268) */2213 interface FrameSupportPalletId extends U8aFixed {}2225 interface FrameSupportPalletId extends U8aFixed {}221422262215 /** @name PalletTreasuryError (270) */2227 /** @name PalletTreasuryError (269) */2216 interface PalletTreasuryError extends Enum {2228 interface PalletTreasuryError extends Enum {2217 readonly isInsufficientProposersBalance: boolean;2229 readonly isInsufficientProposersBalance: boolean;2218 readonly isInvalidIndex: boolean;2230 readonly isInvalidIndex: boolean;2222 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2234 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2223 }2235 }222422362225 /** @name PalletSudoCall (271) */2237 /** @name PalletSudoCall (270) */2226 interface PalletSudoCall extends Enum {2238 interface PalletSudoCall extends Enum {2227 readonly isSudo: boolean;2239 readonly isSudo: boolean;2228 readonly asSudo: {2240 readonly asSudo: {2245 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2257 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2246 }2258 }224722592248 /** @name OrmlVestingModuleCall (273) */2260 /** @name OrmlVestingModuleCall (272) */2249 interface OrmlVestingModuleCall extends Enum {2261 interface OrmlVestingModuleCall extends Enum {2250 readonly isClaim: boolean;2262 readonly isClaim: boolean;2251 readonly isVestedTransfer: boolean;2263 readonly isVestedTransfer: boolean;2265 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2277 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2266 }2278 }226722792268 /** @name OrmlXtokensModuleCall (275) */2280 /** @name OrmlXtokensModuleCall (274) */2269 interface OrmlXtokensModuleCall extends Enum {2281 interface OrmlXtokensModuleCall extends Enum {2270 readonly isTransfer: boolean;2282 readonly isTransfer: boolean;2271 readonly asTransfer: {2283 readonly asTransfer: {2312 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2324 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2313 }2325 }231423262315 /** @name XcmVersionedMultiAsset (276) */2327 /** @name XcmVersionedMultiAsset (275) */2316 interface XcmVersionedMultiAsset extends Enum {2328 interface XcmVersionedMultiAsset extends Enum {2317 readonly isV0: boolean;2329 readonly isV0: boolean;2318 readonly asV0: XcmV0MultiAsset;2330 readonly asV0: XcmV0MultiAsset;2321 readonly type: 'V0' | 'V1';2333 readonly type: 'V0' | 'V1';2322 }2334 }232323352324 /** @name OrmlTokensModuleCall (279) */2336 /** @name OrmlTokensModuleCall (278) */2325 interface OrmlTokensModuleCall extends Enum {2337 interface OrmlTokensModuleCall extends Enum {2326 readonly isTransfer: boolean;2338 readonly isTransfer: boolean;2327 readonly asTransfer: {2339 readonly asTransfer: {2358 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2370 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2359 }2371 }236023722361 /** @name CumulusPalletXcmpQueueCall (280) */2373 /** @name CumulusPalletXcmpQueueCall (279) */2362 interface CumulusPalletXcmpQueueCall extends Enum {2374 interface CumulusPalletXcmpQueueCall extends Enum {2363 readonly isServiceOverweight: boolean;2375 readonly isServiceOverweight: boolean;2364 readonly asServiceOverweight: {2376 readonly asServiceOverweight: {2394 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2406 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2395 }2407 }239624082397 /** @name PalletXcmCall (281) */2409 /** @name PalletXcmCall (280) */2398 interface PalletXcmCall extends Enum {2410 interface PalletXcmCall extends Enum {2399 readonly isSend: boolean;2411 readonly isSend: boolean;2400 readonly asSend: {2412 readonly asSend: {2456 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2468 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2457 }2469 }245824702459 /** @name XcmVersionedXcm (282) */2471 /** @name XcmVersionedXcm (281) */2460 interface XcmVersionedXcm extends Enum {2472 interface XcmVersionedXcm extends Enum {2461 readonly isV0: boolean;2473 readonly isV0: boolean;2462 readonly asV0: XcmV0Xcm;2474 readonly asV0: XcmV0Xcm;2467 readonly type: 'V0' | 'V1' | 'V2';2479 readonly type: 'V0' | 'V1' | 'V2';2468 }2480 }246924812470 /** @name XcmV0Xcm (283) */2482 /** @name XcmV0Xcm (282) */2471 interface XcmV0Xcm extends Enum {2483 interface XcmV0Xcm extends Enum {2472 readonly isWithdrawAsset: boolean;2484 readonly isWithdrawAsset: boolean;2473 readonly asWithdrawAsset: {2485 readonly asWithdrawAsset: {2530 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2542 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2531 }2543 }253225442533 /** @name XcmV0Order (285) */2545 /** @name XcmV0Order (284) */2534 interface XcmV0Order extends Enum {2546 interface XcmV0Order extends Enum {2535 readonly isNull: boolean;2547 readonly isNull: boolean;2536 readonly isDepositAsset: boolean;2548 readonly isDepositAsset: boolean;2578 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2590 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2579 }2591 }258025922581 /** @name XcmV0Response (287) */2593 /** @name XcmV0Response (286) */2582 interface XcmV0Response extends Enum {2594 interface XcmV0Response extends Enum {2583 readonly isAssets: boolean;2595 readonly isAssets: boolean;2584 readonly asAssets: Vec<XcmV0MultiAsset>;2596 readonly asAssets: Vec<XcmV0MultiAsset>;2585 readonly type: 'Assets';2597 readonly type: 'Assets';2586 }2598 }258725992588 /** @name XcmV1Xcm (288) */2600 /** @name XcmV1Xcm (287) */2589 interface XcmV1Xcm extends Enum {2601 interface XcmV1Xcm extends Enum {2590 readonly isWithdrawAsset: boolean;2602 readonly isWithdrawAsset: boolean;2591 readonly asWithdrawAsset: {2603 readonly asWithdrawAsset: {2654 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2666 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2655 }2667 }265626682657 /** @name XcmV1Order (290) */2669 /** @name XcmV1Order (289) */2658 interface XcmV1Order extends Enum {2670 interface XcmV1Order extends Enum {2659 readonly isNoop: boolean;2671 readonly isNoop: boolean;2660 readonly isDepositAsset: boolean;2672 readonly isDepositAsset: boolean;2704 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2716 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2705 }2717 }270627182707 /** @name XcmV1Response (292) */2719 /** @name XcmV1Response (291) */2708 interface XcmV1Response extends Enum {2720 interface XcmV1Response extends Enum {2709 readonly isAssets: boolean;2721 readonly isAssets: boolean;2710 readonly asAssets: XcmV1MultiassetMultiAssets;2722 readonly asAssets: XcmV1MultiassetMultiAssets;2713 readonly type: 'Assets' | 'Version';2725 readonly type: 'Assets' | 'Version';2714 }2726 }271527272716 /** @name CumulusPalletXcmCall (306) */2728 /** @name CumulusPalletXcmCall (305) */2717 type CumulusPalletXcmCall = Null;2729 type CumulusPalletXcmCall = Null;271827302719 /** @name CumulusPalletDmpQueueCall (307) */2731 /** @name CumulusPalletDmpQueueCall (306) */2720 interface CumulusPalletDmpQueueCall extends Enum {2732 interface CumulusPalletDmpQueueCall extends Enum {2721 readonly isServiceOverweight: boolean;2733 readonly isServiceOverweight: boolean;2722 readonly asServiceOverweight: {2734 readonly asServiceOverweight: {2726 readonly type: 'ServiceOverweight';2738 readonly type: 'ServiceOverweight';2727 }2739 }272827402729 /** @name PalletInflationCall (308) */2741 /** @name PalletInflationCall (307) */2730 interface PalletInflationCall extends Enum {2742 interface PalletInflationCall extends Enum {2731 readonly isStartInflation: boolean;2743 readonly isStartInflation: boolean;2732 readonly asStartInflation: {2744 readonly asStartInflation: {2735 readonly type: 'StartInflation';2747 readonly type: 'StartInflation';2736 }2748 }273727492738 /** @name PalletUniqueCall (309) */2750 /** @name PalletUniqueCall (308) */2739 interface PalletUniqueCall extends Enum {2751 interface PalletUniqueCall extends Enum {2740 readonly isCreateCollection: boolean;2752 readonly isCreateCollection: boolean;2741 readonly asCreateCollection: {2753 readonly asCreateCollection: {2908 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2920 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2909 }2921 }291029222911 /** @name UpDataStructsCollectionMode (314) */2923 /** @name UpDataStructsCollectionMode (313) */2912 interface UpDataStructsCollectionMode extends Enum {2924 interface UpDataStructsCollectionMode extends Enum {2913 readonly isNft: boolean;2925 readonly isNft: boolean;2914 readonly isFungible: boolean;2926 readonly isFungible: boolean;2917 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2929 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2918 }2930 }291929312920 /** @name UpDataStructsCreateCollectionData (315) */2932 /** @name UpDataStructsCreateCollectionData (314) */2921 interface UpDataStructsCreateCollectionData extends Struct {2933 interface UpDataStructsCreateCollectionData extends Struct {2922 readonly mode: UpDataStructsCollectionMode;2934 readonly mode: UpDataStructsCollectionMode;2923 readonly access: Option<UpDataStructsAccessMode>;2935 readonly access: Option<UpDataStructsAccessMode>;2931 readonly properties: Vec<UpDataStructsProperty>;2943 readonly properties: Vec<UpDataStructsProperty>;2932 }2944 }293329452934 /** @name UpDataStructsAccessMode (317) */2946 /** @name UpDataStructsAccessMode (316) */2935 interface UpDataStructsAccessMode extends Enum {2947 interface UpDataStructsAccessMode extends Enum {2936 readonly isNormal: boolean;2948 readonly isNormal: boolean;2937 readonly isAllowList: boolean;2949 readonly isAllowList: boolean;2938 readonly type: 'Normal' | 'AllowList';2950 readonly type: 'Normal' | 'AllowList';2939 }2951 }294029522941 /** @name UpDataStructsCollectionLimits (319) */2953 /** @name UpDataStructsCollectionLimits (318) */2942 interface UpDataStructsCollectionLimits extends Struct {2954 interface UpDataStructsCollectionLimits extends Struct {2943 readonly accountTokenOwnershipLimit: Option<u32>;2955 readonly accountTokenOwnershipLimit: Option<u32>;2944 readonly sponsoredDataSize: Option<u32>;2956 readonly sponsoredDataSize: Option<u32>;2951 readonly transfersEnabled: Option<bool>;2963 readonly transfersEnabled: Option<bool>;2952 }2964 }295329652954 /** @name UpDataStructsSponsoringRateLimit (321) */2966 /** @name UpDataStructsSponsoringRateLimit (320) */2955 interface UpDataStructsSponsoringRateLimit extends Enum {2967 interface UpDataStructsSponsoringRateLimit extends Enum {2956 readonly isSponsoringDisabled: boolean;2968 readonly isSponsoringDisabled: boolean;2957 readonly isBlocks: boolean;2969 readonly isBlocks: boolean;2958 readonly asBlocks: u32;2970 readonly asBlocks: u32;2959 readonly type: 'SponsoringDisabled' | 'Blocks';2971 readonly type: 'SponsoringDisabled' | 'Blocks';2960 }2972 }296129732962 /** @name UpDataStructsCollectionPermissions (324) */2974 /** @name UpDataStructsCollectionPermissions (323) */2963 interface UpDataStructsCollectionPermissions extends Struct {2975 interface UpDataStructsCollectionPermissions extends Struct {2964 readonly access: Option<UpDataStructsAccessMode>;2976 readonly access: Option<UpDataStructsAccessMode>;2965 readonly mintMode: Option<bool>;2977 readonly mintMode: Option<bool>;2966 readonly nesting: Option<UpDataStructsNestingPermissions>;2978 readonly nesting: Option<UpDataStructsNestingPermissions>;2967 }2979 }296829802969 /** @name UpDataStructsNestingPermissions (326) */2981 /** @name UpDataStructsNestingPermissions (325) */2970 interface UpDataStructsNestingPermissions extends Struct {2982 interface UpDataStructsNestingPermissions extends Struct {2971 readonly tokenOwner: bool;2983 readonly tokenOwner: bool;2972 readonly collectionAdmin: bool;2984 readonly collectionAdmin: bool;2973 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2985 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2974 }2986 }297529872976 /** @name UpDataStructsOwnerRestrictedSet (328) */2988 /** @name UpDataStructsOwnerRestrictedSet (327) */2977 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}2989 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}297829902979 /** @name UpDataStructsPropertyKeyPermission (333) */2991 /** @name UpDataStructsPropertyKeyPermission (332) */2980 interface UpDataStructsPropertyKeyPermission extends Struct {2992 interface UpDataStructsPropertyKeyPermission extends Struct {2981 readonly key: Bytes;2993 readonly key: Bytes;2982 readonly permission: UpDataStructsPropertyPermission;2994 readonly permission: UpDataStructsPropertyPermission;2983 }2995 }298429962985 /** @name UpDataStructsPropertyPermission (334) */2997 /** @name UpDataStructsPropertyPermission (333) */2986 interface UpDataStructsPropertyPermission extends Struct {2998 interface UpDataStructsPropertyPermission extends Struct {2987 readonly mutable: bool;2999 readonly mutable: bool;2988 readonly collectionAdmin: bool;3000 readonly collectionAdmin: bool;2989 readonly tokenOwner: bool;3001 readonly tokenOwner: bool;2990 }3002 }299130032992 /** @name UpDataStructsProperty (337) */3004 /** @name UpDataStructsProperty (336) */2993 interface UpDataStructsProperty extends Struct {3005 interface UpDataStructsProperty extends Struct {2994 readonly key: Bytes;3006 readonly key: Bytes;2995 readonly value: Bytes;3007 readonly value: Bytes;2996 }3008 }299730092998 /** @name UpDataStructsCreateItemData (340) */3010 /** @name UpDataStructsCreateItemData (339) */2999 interface UpDataStructsCreateItemData extends Enum {3011 interface UpDataStructsCreateItemData extends Enum {3000 readonly isNft: boolean;3012 readonly isNft: boolean;3001 readonly asNft: UpDataStructsCreateNftData;3013 readonly asNft: UpDataStructsCreateNftData;3006 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3018 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3007 }3019 }300830203009 /** @name UpDataStructsCreateNftData (341) */3021 /** @name UpDataStructsCreateNftData (340) */3010 interface UpDataStructsCreateNftData extends Struct {3022 interface UpDataStructsCreateNftData extends Struct {3011 readonly properties: Vec<UpDataStructsProperty>;3023 readonly properties: Vec<UpDataStructsProperty>;3012 }3024 }301330253014 /** @name UpDataStructsCreateFungibleData (342) */3026 /** @name UpDataStructsCreateFungibleData (341) */3015 interface UpDataStructsCreateFungibleData extends Struct {3027 interface UpDataStructsCreateFungibleData extends Struct {3016 readonly value: u128;3028 readonly value: u128;3017 }3029 }301830303019 /** @name UpDataStructsCreateReFungibleData (343) */3031 /** @name UpDataStructsCreateReFungibleData (342) */3020 interface UpDataStructsCreateReFungibleData extends Struct {3032 interface UpDataStructsCreateReFungibleData extends Struct {3021 readonly pieces: u128;3033 readonly pieces: u128;3022 readonly properties: Vec<UpDataStructsProperty>;3034 readonly properties: Vec<UpDataStructsProperty>;3023 }3035 }302430363025 /** @name UpDataStructsCreateItemExData (346) */3037 /** @name UpDataStructsCreateItemExData (345) */3026 interface UpDataStructsCreateItemExData extends Enum {3038 interface UpDataStructsCreateItemExData extends Enum {3027 readonly isNft: boolean;3039 readonly isNft: boolean;3028 readonly asNft: Vec<UpDataStructsCreateNftExData>;3040 readonly asNft: Vec<UpDataStructsCreateNftExData>;3035 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3047 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3036 }3048 }303730493038 /** @name UpDataStructsCreateNftExData (348) */3050 /** @name UpDataStructsCreateNftExData (347) */3039 interface UpDataStructsCreateNftExData extends Struct {3051 interface UpDataStructsCreateNftExData extends Struct {3040 readonly properties: Vec<UpDataStructsProperty>;3052 readonly properties: Vec<UpDataStructsProperty>;3041 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3053 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3042 }3054 }304330553044 /** @name UpDataStructsCreateRefungibleExSingleOwner (355) */3056 /** @name UpDataStructsCreateRefungibleExSingleOwner (354) */3045 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3057 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3046 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3058 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3047 readonly pieces: u128;3059 readonly pieces: u128;3048 readonly properties: Vec<UpDataStructsProperty>;3060 readonly properties: Vec<UpDataStructsProperty>;3049 }3061 }305030623051 /** @name UpDataStructsCreateRefungibleExMultipleOwners (357) */3063 /** @name UpDataStructsCreateRefungibleExMultipleOwners (356) */3052 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3064 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3053 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3065 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3054 readonly properties: Vec<UpDataStructsProperty>;3066 readonly properties: Vec<UpDataStructsProperty>;3055 }3067 }305630683057 /** @name PalletConfigurationCall (358) */3069 /** @name PalletConfigurationCall (357) */3058 interface PalletConfigurationCall extends Enum {3070 interface PalletConfigurationCall extends Enum {3059 readonly isSetWeightToFeeCoefficientOverride: boolean;3071 readonly isSetWeightToFeeCoefficientOverride: boolean;3060 readonly asSetWeightToFeeCoefficientOverride: {3072 readonly asSetWeightToFeeCoefficientOverride: {3087 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';3099 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';3088 }3100 }308931013090 /** @name PalletConfigurationAppPromotionConfiguration (363) */3102 /** @name PalletConfigurationAppPromotionConfiguration (362) */3091 interface PalletConfigurationAppPromotionConfiguration extends Struct {3103 interface PalletConfigurationAppPromotionConfiguration extends Struct {3092 readonly recalculationInterval: Option<u32>;3104 readonly recalculationInterval: Option<u32>;3093 readonly pendingInterval: Option<u32>;3105 readonly pendingInterval: Option<u32>;3094 readonly intervalIncome: Option<Perbill>;3106 readonly intervalIncome: Option<Perbill>;3095 readonly maxStakersPerCalculation: Option<u8>;3107 readonly maxStakersPerCalculation: Option<u8>;3096 }3108 }309731093098 /** @name PalletTemplateTransactionPaymentCall (367) */3110 /** @name PalletTemplateTransactionPaymentCall (366) */3099 type PalletTemplateTransactionPaymentCall = Null;3111 type PalletTemplateTransactionPaymentCall = Null;310031123101 /** @name PalletStructureCall (368) */3113 /** @name PalletStructureCall (367) */3102 type PalletStructureCall = Null;3114 type PalletStructureCall = Null;310331153104 /** @name PalletRmrkCoreCall (369) */3116 /** @name PalletRmrkCoreCall (368) */3105 interface PalletRmrkCoreCall extends Enum {3117 interface PalletRmrkCoreCall extends Enum {3106 readonly isCreateCollection: boolean;3118 readonly isCreateCollection: boolean;3107 readonly asCreateCollection: {3119 readonly asCreateCollection: {3207 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';3219 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';3208 }3220 }320932213210 /** @name RmrkTraitsResourceResourceTypes (375) */3222 /** @name RmrkTraitsResourceResourceTypes (374) */3211 interface RmrkTraitsResourceResourceTypes extends Enum {3223 interface RmrkTraitsResourceResourceTypes extends Enum {3212 readonly isBasic: boolean;3224 readonly isBasic: boolean;3213 readonly asBasic: RmrkTraitsResourceBasicResource;3225 readonly asBasic: RmrkTraitsResourceBasicResource;3218 readonly type: 'Basic' | 'Composable' | 'Slot';3230 readonly type: 'Basic' | 'Composable' | 'Slot';3219 }3231 }322032323221 /** @name RmrkTraitsResourceBasicResource (377) */3233 /** @name RmrkTraitsResourceBasicResource (376) */3222 interface RmrkTraitsResourceBasicResource extends Struct {3234 interface RmrkTraitsResourceBasicResource extends Struct {3223 readonly src: Option<Bytes>;3235 readonly src: Option<Bytes>;3224 readonly metadata: Option<Bytes>;3236 readonly metadata: Option<Bytes>;3225 readonly license: Option<Bytes>;3237 readonly license: Option<Bytes>;3226 readonly thumb: Option<Bytes>;3238 readonly thumb: Option<Bytes>;3227 }3239 }322832403229 /** @name RmrkTraitsResourceComposableResource (379) */3241 /** @name RmrkTraitsResourceComposableResource (378) */3230 interface RmrkTraitsResourceComposableResource extends Struct {3242 interface RmrkTraitsResourceComposableResource extends Struct {3231 readonly parts: Vec<u32>;3243 readonly parts: Vec<u32>;3232 readonly base: u32;3244 readonly base: u32;3236 readonly thumb: Option<Bytes>;3248 readonly thumb: Option<Bytes>;3237 }3249 }323832503239 /** @name RmrkTraitsResourceSlotResource (380) */3251 /** @name RmrkTraitsResourceSlotResource (379) */3240 interface RmrkTraitsResourceSlotResource extends Struct {3252 interface RmrkTraitsResourceSlotResource extends Struct {3241 readonly base: u32;3253 readonly base: u32;3242 readonly src: Option<Bytes>;3254 readonly src: Option<Bytes>;3246 readonly thumb: Option<Bytes>;3258 readonly thumb: Option<Bytes>;3247 }3259 }324832603249 /** @name PalletRmrkEquipCall (383) */3261 /** @name PalletRmrkEquipCall (382) */3250 interface PalletRmrkEquipCall extends Enum {3262 interface PalletRmrkEquipCall extends Enum {3251 readonly isCreateBase: boolean;3263 readonly isCreateBase: boolean;3252 readonly asCreateBase: {3264 readonly asCreateBase: {3268 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3280 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3269 }3281 }327032823271 /** @name RmrkTraitsPartPartType (386) */3283 /** @name RmrkTraitsPartPartType (385) */3272 interface RmrkTraitsPartPartType extends Enum {3284 interface RmrkTraitsPartPartType extends Enum {3273 readonly isFixedPart: boolean;3285 readonly isFixedPart: boolean;3274 readonly asFixedPart: RmrkTraitsPartFixedPart;3286 readonly asFixedPart: RmrkTraitsPartFixedPart;3277 readonly type: 'FixedPart' | 'SlotPart';3289 readonly type: 'FixedPart' | 'SlotPart';3278 }3290 }327932913280 /** @name RmrkTraitsPartFixedPart (388) */3292 /** @name RmrkTraitsPartFixedPart (387) */3281 interface RmrkTraitsPartFixedPart extends Struct {3293 interface RmrkTraitsPartFixedPart extends Struct {3282 readonly id: u32;3294 readonly id: u32;3283 readonly z: u32;3295 readonly z: u32;3284 readonly src: Bytes;3296 readonly src: Bytes;3285 }3297 }328632983287 /** @name RmrkTraitsPartSlotPart (389) */3299 /** @name RmrkTraitsPartSlotPart (388) */3288 interface RmrkTraitsPartSlotPart extends Struct {3300 interface RmrkTraitsPartSlotPart extends Struct {3289 readonly id: u32;3301 readonly id: u32;3290 readonly equippable: RmrkTraitsPartEquippableList;3302 readonly equippable: RmrkTraitsPartEquippableList;3291 readonly src: Bytes;3303 readonly src: Bytes;3292 readonly z: u32;3304 readonly z: u32;3293 }3305 }329433063295 /** @name RmrkTraitsPartEquippableList (390) */3307 /** @name RmrkTraitsPartEquippableList (389) */3296 interface RmrkTraitsPartEquippableList extends Enum {3308 interface RmrkTraitsPartEquippableList extends Enum {3297 readonly isAll: boolean;3309 readonly isAll: boolean;3298 readonly isEmpty: boolean;3310 readonly isEmpty: boolean;3301 readonly type: 'All' | 'Empty' | 'Custom';3313 readonly type: 'All' | 'Empty' | 'Custom';3302 }3314 }330333153304 /** @name RmrkTraitsTheme (392) */3316 /** @name RmrkTraitsTheme (391) */3305 interface RmrkTraitsTheme extends Struct {3317 interface RmrkTraitsTheme extends Struct {3306 readonly name: Bytes;3318 readonly name: Bytes;3307 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3319 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3308 readonly inherit: bool;3320 readonly inherit: bool;3309 }3321 }331033223311 /** @name RmrkTraitsThemeThemeProperty (394) */3323 /** @name RmrkTraitsThemeThemeProperty (393) */3312 interface RmrkTraitsThemeThemeProperty extends Struct {3324 interface RmrkTraitsThemeThemeProperty extends Struct {3313 readonly key: Bytes;3325 readonly key: Bytes;3314 readonly value: Bytes;3326 readonly value: Bytes;3315 }3327 }331633283317 /** @name PalletAppPromotionCall (396) */3329 /** @name PalletAppPromotionCall (395) */3318 interface PalletAppPromotionCall extends Enum {3330 interface PalletAppPromotionCall extends Enum {3319 readonly isSetAdminAddress: boolean;3331 readonly isSetAdminAddress: boolean;3320 readonly asSetAdminAddress: {3332 readonly asSetAdminAddress: {3348 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3360 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3349 }3361 }335033623351 /** @name PalletForeignAssetsModuleCall (397) */3363 /** @name PalletForeignAssetsModuleCall (396) */3352 interface PalletForeignAssetsModuleCall extends Enum {3364 interface PalletForeignAssetsModuleCall extends Enum {3353 readonly isRegisterForeignAsset: boolean;3365 readonly isRegisterForeignAsset: boolean;3354 readonly asRegisterForeignAsset: {3366 readonly asRegisterForeignAsset: {3365 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3377 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3366 }3378 }336733793368 /** @name PalletEvmCall (398) */3380 /** @name PalletEvmCall (397) */3369 interface PalletEvmCall extends Enum {3381 interface PalletEvmCall extends Enum {3370 readonly isWithdraw: boolean;3382 readonly isWithdraw: boolean;3371 readonly asWithdraw: {3383 readonly asWithdraw: {3410 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3422 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3411 }3423 }341234243413 /** @name PalletEthereumCall (404) */3425 /** @name PalletEthereumCall (403) */3414 interface PalletEthereumCall extends Enum {3426 interface PalletEthereumCall extends Enum {3415 readonly isTransact: boolean;3427 readonly isTransact: boolean;3416 readonly asTransact: {3428 readonly asTransact: {3419 readonly type: 'Transact';3431 readonly type: 'Transact';3420 }3432 }342134333422 /** @name EthereumTransactionTransactionV2 (405) */3434 /** @name EthereumTransactionTransactionV2 (404) */3423 interface EthereumTransactionTransactionV2 extends Enum {3435 interface EthereumTransactionTransactionV2 extends Enum {3424 readonly isLegacy: boolean;3436 readonly isLegacy: boolean;3425 readonly asLegacy: EthereumTransactionLegacyTransaction;3437 readonly asLegacy: EthereumTransactionLegacyTransaction;3430 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3442 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3431 }3443 }343234443433 /** @name EthereumTransactionLegacyTransaction (406) */3445 /** @name EthereumTransactionLegacyTransaction (405) */3434 interface EthereumTransactionLegacyTransaction extends Struct {3446 interface EthereumTransactionLegacyTransaction extends Struct {3435 readonly nonce: U256;3447 readonly nonce: U256;3436 readonly gasPrice: U256;3448 readonly gasPrice: U256;3441 readonly signature: EthereumTransactionTransactionSignature;3453 readonly signature: EthereumTransactionTransactionSignature;3442 }3454 }344334553444 /** @name EthereumTransactionTransactionAction (407) */3456 /** @name EthereumTransactionTransactionAction (406) */3445 interface EthereumTransactionTransactionAction extends Enum {3457 interface EthereumTransactionTransactionAction extends Enum {3446 readonly isCall: boolean;3458 readonly isCall: boolean;3447 readonly asCall: H160;3459 readonly asCall: H160;3448 readonly isCreate: boolean;3460 readonly isCreate: boolean;3449 readonly type: 'Call' | 'Create';3461 readonly type: 'Call' | 'Create';3450 }3462 }345134633452 /** @name EthereumTransactionTransactionSignature (408) */3464 /** @name EthereumTransactionTransactionSignature (407) */3453 interface EthereumTransactionTransactionSignature extends Struct {3465 interface EthereumTransactionTransactionSignature extends Struct {3454 readonly v: u64;3466 readonly v: u64;3455 readonly r: H256;3467 readonly r: H256;3456 readonly s: H256;3468 readonly s: H256;3457 }3469 }345834703459 /** @name EthereumTransactionEip2930Transaction (410) */3471 /** @name EthereumTransactionEip2930Transaction (409) */3460 interface EthereumTransactionEip2930Transaction extends Struct {3472 interface EthereumTransactionEip2930Transaction extends Struct {3461 readonly chainId: u64;3473 readonly chainId: u64;3462 readonly nonce: U256;3474 readonly nonce: U256;3471 readonly s: H256;3483 readonly s: H256;3472 }3484 }347334853474 /** @name EthereumTransactionAccessListItem (412) */3486 /** @name EthereumTransactionAccessListItem (411) */3475 interface EthereumTransactionAccessListItem extends Struct {3487 interface EthereumTransactionAccessListItem extends Struct {3476 readonly address: H160;3488 readonly address: H160;3477 readonly storageKeys: Vec<H256>;3489 readonly storageKeys: Vec<H256>;3478 }3490 }347934913480 /** @name EthereumTransactionEip1559Transaction (413) */3492 /** @name EthereumTransactionEip1559Transaction (412) */3481 interface EthereumTransactionEip1559Transaction extends Struct {3493 interface EthereumTransactionEip1559Transaction extends Struct {3482 readonly chainId: u64;3494 readonly chainId: u64;3483 readonly nonce: U256;3495 readonly nonce: U256;3493 readonly s: H256;3505 readonly s: H256;3494 }3506 }349535073496 /** @name PalletEvmMigrationCall (414) */3508 /** @name PalletEvmMigrationCall (413) */3497 interface PalletEvmMigrationCall extends Enum {3509 interface PalletEvmMigrationCall extends Enum {3498 readonly isBegin: boolean;3510 readonly isBegin: boolean;3499 readonly asBegin: {3511 readonly asBegin: {3520 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3532 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3521 }3533 }352235343523 /** @name PalletMaintenanceCall (418) */3535 /** @name PalletMaintenanceCall (417) */3524 interface PalletMaintenanceCall extends Enum {3536 interface PalletMaintenanceCall extends Enum {3525 readonly isEnable: boolean;3537 readonly isEnable: boolean;3526 readonly isDisable: boolean;3538 readonly isDisable: boolean;3527 readonly type: 'Enable' | 'Disable';3539 readonly type: 'Enable' | 'Disable';3528 }3540 }352935413530 /** @name PalletTestUtilsCall (419) */3542 /** @name PalletTestUtilsCall (418) */3531 interface PalletTestUtilsCall extends Enum {3543 interface PalletTestUtilsCall extends Enum {3532 readonly isEnable: boolean;3544 readonly isEnable: boolean;3533 readonly isSetTestValue: boolean;3545 readonly isSetTestValue: boolean;3547 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3559 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3548 }3560 }354935613550 /** @name PalletSudoError (421) */3562 /** @name PalletSudoError (420) */3551 interface PalletSudoError extends Enum {3563 interface PalletSudoError extends Enum {3552 readonly isRequireSudo: boolean;3564 readonly isRequireSudo: boolean;3553 readonly type: 'RequireSudo';3565 readonly type: 'RequireSudo';3554 }3566 }355535673556 /** @name OrmlVestingModuleError (423) */3568 /** @name OrmlVestingModuleError (422) */3557 interface OrmlVestingModuleError extends Enum {3569 interface OrmlVestingModuleError extends Enum {3558 readonly isZeroVestingPeriod: boolean;3570 readonly isZeroVestingPeriod: boolean;3559 readonly isZeroVestingPeriodCount: boolean;3571 readonly isZeroVestingPeriodCount: boolean;3564 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3576 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3565 }3577 }356635783567 /** @name OrmlXtokensModuleError (424) */3579 /** @name OrmlXtokensModuleError (423) */3568 interface OrmlXtokensModuleError extends Enum {3580 interface OrmlXtokensModuleError extends Enum {3569 readonly isAssetHasNoReserve: boolean;3581 readonly isAssetHasNoReserve: boolean;3570 readonly isNotCrossChainTransfer: boolean;3582 readonly isNotCrossChainTransfer: boolean;3588 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3600 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3589 }3601 }359036023591 /** @name OrmlTokensBalanceLock (427) */3603 /** @name OrmlTokensBalanceLock (426) */3592 interface OrmlTokensBalanceLock extends Struct {3604 interface OrmlTokensBalanceLock extends Struct {3593 readonly id: U8aFixed;3605 readonly id: U8aFixed;3594 readonly amount: u128;3606 readonly amount: u128;3595 }3607 }359636083597 /** @name OrmlTokensAccountData (429) */3609 /** @name OrmlTokensAccountData (428) */3598 interface OrmlTokensAccountData extends Struct {3610 interface OrmlTokensAccountData extends Struct {3599 readonly free: u128;3611 readonly free: u128;3600 readonly reserved: u128;3612 readonly reserved: u128;3601 readonly frozen: u128;3613 readonly frozen: u128;3602 }3614 }360336153604 /** @name OrmlTokensReserveData (431) */3616 /** @name OrmlTokensReserveData (430) */3605 interface OrmlTokensReserveData extends Struct {3617 interface OrmlTokensReserveData extends Struct {3606 readonly id: Null;3618 readonly id: Null;3607 readonly amount: u128;3619 readonly amount: u128;3608 }3620 }360936213610 /** @name OrmlTokensModuleError (433) */3622 /** @name OrmlTokensModuleError (432) */3611 interface OrmlTokensModuleError extends Enum {3623 interface OrmlTokensModuleError extends Enum {3612 readonly isBalanceTooLow: boolean;3624 readonly isBalanceTooLow: boolean;3613 readonly isAmountIntoBalanceFailed: boolean;3625 readonly isAmountIntoBalanceFailed: boolean;3620 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3632 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3621 }3633 }362236343623 /** @name CumulusPalletXcmpQueueInboundChannelDetails (435) */3635 /** @name CumulusPalletXcmpQueueInboundChannelDetails (434) */3624 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3636 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3625 readonly sender: u32;3637 readonly sender: u32;3626 readonly state: CumulusPalletXcmpQueueInboundState;3638 readonly state: CumulusPalletXcmpQueueInboundState;3627 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3639 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3628 }3640 }362936413630 /** @name CumulusPalletXcmpQueueInboundState (436) */3642 /** @name CumulusPalletXcmpQueueInboundState (435) */3631 interface CumulusPalletXcmpQueueInboundState extends Enum {3643 interface CumulusPalletXcmpQueueInboundState extends Enum {3632 readonly isOk: boolean;3644 readonly isOk: boolean;3633 readonly isSuspended: boolean;3645 readonly isSuspended: boolean;3634 readonly type: 'Ok' | 'Suspended';3646 readonly type: 'Ok' | 'Suspended';3635 }3647 }363636483637 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (439) */3649 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (438) */3638 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3650 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3639 readonly isConcatenatedVersionedXcm: boolean;3651 readonly isConcatenatedVersionedXcm: boolean;3640 readonly isConcatenatedEncodedBlob: boolean;3652 readonly isConcatenatedEncodedBlob: boolean;3641 readonly isSignals: boolean;3653 readonly isSignals: boolean;3642 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3654 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3643 }3655 }364436563645 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (442) */3657 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (441) */3646 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3658 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3647 readonly recipient: u32;3659 readonly recipient: u32;3648 readonly state: CumulusPalletXcmpQueueOutboundState;3660 readonly state: CumulusPalletXcmpQueueOutboundState;3651 readonly lastIndex: u16;3663 readonly lastIndex: u16;3652 }3664 }365336653654 /** @name CumulusPalletXcmpQueueOutboundState (443) */3666 /** @name CumulusPalletXcmpQueueOutboundState (442) */3655 interface CumulusPalletXcmpQueueOutboundState extends Enum {3667 interface CumulusPalletXcmpQueueOutboundState extends Enum {3656 readonly isOk: boolean;3668 readonly isOk: boolean;3657 readonly isSuspended: boolean;3669 readonly isSuspended: boolean;3658 readonly type: 'Ok' | 'Suspended';3670 readonly type: 'Ok' | 'Suspended';3659 }3671 }366036723661 /** @name CumulusPalletXcmpQueueQueueConfigData (445) */3673 /** @name CumulusPalletXcmpQueueQueueConfigData (444) */3662 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3674 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3663 readonly suspendThreshold: u32;3675 readonly suspendThreshold: u32;3664 readonly dropThreshold: u32;3676 readonly dropThreshold: u32;3668 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3680 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3669 }3681 }367036823671 /** @name CumulusPalletXcmpQueueError (447) */3683 /** @name CumulusPalletXcmpQueueError (446) */3672 interface CumulusPalletXcmpQueueError extends Enum {3684 interface CumulusPalletXcmpQueueError extends Enum {3673 readonly isFailedToSend: boolean;3685 readonly isFailedToSend: boolean;3674 readonly isBadXcmOrigin: boolean;3686 readonly isBadXcmOrigin: boolean;3678 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3690 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3679 }3691 }368036923681 /** @name PalletXcmError (448) */3693 /** @name PalletXcmError (447) */3682 interface PalletXcmError extends Enum {3694 interface PalletXcmError extends Enum {3683 readonly isUnreachable: boolean;3695 readonly isUnreachable: boolean;3684 readonly isSendFailure: boolean;3696 readonly isSendFailure: boolean;3696 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3708 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3697 }3709 }369837103699 /** @name CumulusPalletXcmError (449) */3711 /** @name CumulusPalletXcmError (448) */3700 type CumulusPalletXcmError = Null;3712 type CumulusPalletXcmError = Null;370137133702 /** @name CumulusPalletDmpQueueConfigData (450) */3714 /** @name CumulusPalletDmpQueueConfigData (449) */3703 interface CumulusPalletDmpQueueConfigData extends Struct {3715 interface CumulusPalletDmpQueueConfigData extends Struct {3704 readonly maxIndividual: SpWeightsWeightV2Weight;3716 readonly maxIndividual: SpWeightsWeightV2Weight;3705 }3717 }370637183707 /** @name CumulusPalletDmpQueuePageIndexData (451) */3719 /** @name CumulusPalletDmpQueuePageIndexData (450) */3708 interface CumulusPalletDmpQueuePageIndexData extends Struct {3720 interface CumulusPalletDmpQueuePageIndexData extends Struct {3709 readonly beginUsed: u32;3721 readonly beginUsed: u32;3710 readonly endUsed: u32;3722 readonly endUsed: u32;3711 readonly overweightCount: u64;3723 readonly overweightCount: u64;3712 }3724 }371337253714 /** @name CumulusPalletDmpQueueError (454) */3726 /** @name CumulusPalletDmpQueueError (453) */3715 interface CumulusPalletDmpQueueError extends Enum {3727 interface CumulusPalletDmpQueueError extends Enum {3716 readonly isUnknown: boolean;3728 readonly isUnknown: boolean;3717 readonly isOverLimit: boolean;3729 readonly isOverLimit: boolean;3718 readonly type: 'Unknown' | 'OverLimit';3730 readonly type: 'Unknown' | 'OverLimit';3719 }3731 }372037323721 /** @name PalletUniqueError (458) */3733 /** @name PalletUniqueError (457) */3722 interface PalletUniqueError extends Enum {3734 interface PalletUniqueError extends Enum {3723 readonly isCollectionDecimalPointLimitExceeded: boolean;3735 readonly isCollectionDecimalPointLimitExceeded: boolean;3724 readonly isEmptyArgument: boolean;3736 readonly isEmptyArgument: boolean;3725 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3737 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3726 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3738 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3727 }3739 }372837403729 /** @name PalletConfigurationError (459) */3741 /** @name PalletConfigurationError (458) */3730 interface PalletConfigurationError extends Enum {3742 interface PalletConfigurationError extends Enum {3731 readonly isInconsistentConfiguration: boolean;3743 readonly isInconsistentConfiguration: boolean;3732 readonly type: 'InconsistentConfiguration';3744 readonly type: 'InconsistentConfiguration';3733 }3745 }373437463735 /** @name UpDataStructsCollection (460) */3747 /** @name UpDataStructsCollection (459) */3736 interface UpDataStructsCollection extends Struct {3748 interface UpDataStructsCollection extends Struct {3737 readonly owner: AccountId32;3749 readonly owner: AccountId32;3738 readonly mode: UpDataStructsCollectionMode;3750 readonly mode: UpDataStructsCollectionMode;3745 readonly flags: U8aFixed;3757 readonly flags: U8aFixed;3746 }3758 }374737593748 /** @name UpDataStructsSponsorshipStateAccountId32 (461) */3760 /** @name UpDataStructsSponsorshipStateAccountId32 (460) */3749 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3761 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3750 readonly isDisabled: boolean;3762 readonly isDisabled: boolean;3751 readonly isUnconfirmed: boolean;3763 readonly isUnconfirmed: boolean;3755 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3767 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3756 }3768 }375737693758 /** @name UpDataStructsProperties (462) */3770 /** @name UpDataStructsProperties (461) */3759 interface UpDataStructsProperties extends Struct {3771 interface UpDataStructsProperties extends Struct {3760 readonly map: UpDataStructsPropertiesMapBoundedVec;3772 readonly map: UpDataStructsPropertiesMapBoundedVec;3761 readonly consumedSpace: u32;3773 readonly consumedSpace: u32;3762 readonly spaceLimit: u32;3774 readonly spaceLimit: u32;3763 }3775 }376437763765 /** @name UpDataStructsPropertiesMapBoundedVec (463) */3777 /** @name UpDataStructsPropertiesMapBoundedVec (462) */3766 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3778 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}376737793768 /** @name UpDataStructsPropertiesMapPropertyPermission (468) */3780 /** @name UpDataStructsPropertiesMapPropertyPermission (467) */3769 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3781 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}377037823771 /** @name UpDataStructsCollectionStats (475) */3783 /** @name UpDataStructsCollectionStats (474) */3772 interface UpDataStructsCollectionStats extends Struct {3784 interface UpDataStructsCollectionStats extends Struct {3773 readonly created: u32;3785 readonly created: u32;3774 readonly destroyed: u32;3786 readonly destroyed: u32;3775 readonly alive: u32;3787 readonly alive: u32;3776 }3788 }377737893778 /** @name UpDataStructsTokenChild (476) */3790 /** @name UpDataStructsTokenChild (475) */3779 interface UpDataStructsTokenChild extends Struct {3791 interface UpDataStructsTokenChild extends Struct {3780 readonly token: u32;3792 readonly token: u32;3781 readonly collection: u32;3793 readonly collection: u32;3782 }3794 }378337953784 /** @name PhantomTypeUpDataStructs (477) */3796 /** @name PhantomTypeUpDataStructs (476) */3785 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}3797 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}378637983787 /** @name UpDataStructsTokenData (479) */3799 /** @name UpDataStructsTokenData (478) */3788 interface UpDataStructsTokenData extends Struct {3800 interface UpDataStructsTokenData extends Struct {3789 readonly properties: Vec<UpDataStructsProperty>;3801 readonly properties: Vec<UpDataStructsProperty>;3790 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3802 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3791 readonly pieces: u128;3803 readonly pieces: u128;3792 }3804 }379338053794 /** @name UpDataStructsRpcCollection (481) */3806 /** @name UpDataStructsRpcCollection (480) */3795 interface UpDataStructsRpcCollection extends Struct {3807 interface UpDataStructsRpcCollection extends Struct {3796 readonly owner: AccountId32;3808 readonly owner: AccountId32;3797 readonly mode: UpDataStructsCollectionMode;3809 readonly mode: UpDataStructsCollectionMode;3807 readonly flags: UpDataStructsRpcCollectionFlags;3819 readonly flags: UpDataStructsRpcCollectionFlags;3808 }3820 }380938213810 /** @name UpDataStructsRpcCollectionFlags (482) */3822 /** @name UpDataStructsRpcCollectionFlags (481) */3811 interface UpDataStructsRpcCollectionFlags extends Struct {3823 interface UpDataStructsRpcCollectionFlags extends Struct {3812 readonly foreign: bool;3824 readonly foreign: bool;3813 readonly erc721metadata: bool;3825 readonly erc721metadata: bool;3814 }3826 }381538273816 /** @name RmrkTraitsCollectionCollectionInfo (483) */3828 /** @name RmrkTraitsCollectionCollectionInfo (482) */3817 interface RmrkTraitsCollectionCollectionInfo extends Struct {3829 interface RmrkTraitsCollectionCollectionInfo extends Struct {3818 readonly issuer: AccountId32;3830 readonly issuer: AccountId32;3819 readonly metadata: Bytes;3831 readonly metadata: Bytes;3822 readonly nftsCount: u32;3834 readonly nftsCount: u32;3823 }3835 }382438363825 /** @name RmrkTraitsNftNftInfo (484) */3837 /** @name RmrkTraitsNftNftInfo (483) */3826 interface RmrkTraitsNftNftInfo extends Struct {3838 interface RmrkTraitsNftNftInfo extends Struct {3827 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3839 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3828 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3840 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3831 readonly pending: bool;3843 readonly pending: bool;3832 }3844 }383338453834 /** @name RmrkTraitsNftRoyaltyInfo (486) */3846 /** @name RmrkTraitsNftRoyaltyInfo (485) */3835 interface RmrkTraitsNftRoyaltyInfo extends Struct {3847 interface RmrkTraitsNftRoyaltyInfo extends Struct {3836 readonly recipient: AccountId32;3848 readonly recipient: AccountId32;3837 readonly amount: Permill;3849 readonly amount: Permill;3838 }3850 }383938513840 /** @name RmrkTraitsResourceResourceInfo (487) */3852 /** @name RmrkTraitsResourceResourceInfo (486) */3841 interface RmrkTraitsResourceResourceInfo extends Struct {3853 interface RmrkTraitsResourceResourceInfo extends Struct {3842 readonly id: u32;3854 readonly id: u32;3843 readonly resource: RmrkTraitsResourceResourceTypes;3855 readonly resource: RmrkTraitsResourceResourceTypes;3844 readonly pending: bool;3856 readonly pending: bool;3845 readonly pendingRemoval: bool;3857 readonly pendingRemoval: bool;3846 }3858 }384738593848 /** @name RmrkTraitsPropertyPropertyInfo (488) */3860 /** @name RmrkTraitsPropertyPropertyInfo (487) */3849 interface RmrkTraitsPropertyPropertyInfo extends Struct {3861 interface RmrkTraitsPropertyPropertyInfo extends Struct {3850 readonly key: Bytes;3862 readonly key: Bytes;3851 readonly value: Bytes;3863 readonly value: Bytes;3852 }3864 }385338653854 /** @name RmrkTraitsBaseBaseInfo (489) */3866 /** @name RmrkTraitsBaseBaseInfo (488) */3855 interface RmrkTraitsBaseBaseInfo extends Struct {3867 interface RmrkTraitsBaseBaseInfo extends Struct {3856 readonly issuer: AccountId32;3868 readonly issuer: AccountId32;3857 readonly baseType: Bytes;3869 readonly baseType: Bytes;3858 readonly symbol: Bytes;3870 readonly symbol: Bytes;3859 }3871 }386038723861 /** @name RmrkTraitsNftNftChild (490) */3873 /** @name RmrkTraitsNftNftChild (489) */3862 interface RmrkTraitsNftNftChild extends Struct {3874 interface RmrkTraitsNftNftChild extends Struct {3863 readonly collectionId: u32;3875 readonly collectionId: u32;3864 readonly nftId: u32;3876 readonly nftId: u32;3865 }3877 }386638783867 /** @name UpPovEstimateRpcPovInfo (491) */3879 /** @name UpPovEstimateRpcPovInfo (490) */3868 interface UpPovEstimateRpcPovInfo extends Struct {3880 interface UpPovEstimateRpcPovInfo extends Struct {3869 readonly proofSize: u64;3881 readonly proofSize: u64;3870 readonly compactProofSize: u64;3882 readonly compactProofSize: u64;3873 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3885 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3874 }3886 }387538873876 /** @name SpRuntimeTransactionValidityTransactionValidityError (494) */3888 /** @name SpRuntimeTransactionValidityTransactionValidityError (493) */3877 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3889 interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {3878 readonly isInvalid: boolean;3890 readonly isInvalid: boolean;3879 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3891 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;3882 readonly type: 'Invalid' | 'Unknown';3894 readonly type: 'Invalid' | 'Unknown';3883 }3895 }388438963885 /** @name SpRuntimeTransactionValidityInvalidTransaction (495) */3897 /** @name SpRuntimeTransactionValidityInvalidTransaction (494) */3886 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3898 interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {3887 readonly isCall: boolean;3899 readonly isCall: boolean;3888 readonly isPayment: boolean;3900 readonly isPayment: boolean;3899 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3911 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';3900 }3912 }390139133902 /** @name SpRuntimeTransactionValidityUnknownTransaction (496) */3914 /** @name SpRuntimeTransactionValidityUnknownTransaction (495) */3903 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3915 interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {3904 readonly isCannotLookup: boolean;3916 readonly isCannotLookup: boolean;3905 readonly isNoUnsignedValidator: boolean;3917 readonly isNoUnsignedValidator: boolean;3908 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3920 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';3909 }3921 }391039223911 /** @name UpPovEstimateRpcTrieKeyValue (498) */3923 /** @name UpPovEstimateRpcTrieKeyValue (497) */3912 interface UpPovEstimateRpcTrieKeyValue extends Struct {3924 interface UpPovEstimateRpcTrieKeyValue extends Struct {3913 readonly key: Bytes;3925 readonly key: Bytes;3914 readonly value: Bytes;3926 readonly value: Bytes;3915 }3927 }391639283917 /** @name PalletCommonError (500) */3929 /** @name PalletCommonError (499) */3918 interface PalletCommonError extends Enum {3930 interface PalletCommonError extends Enum {3919 readonly isCollectionNotFound: boolean;3931 readonly isCollectionNotFound: boolean;3920 readonly isMustBeTokenOwner: boolean;3932 readonly isMustBeTokenOwner: boolean;3955 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3967 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3956 }3968 }395739693958 /** @name PalletFungibleError (502) */3970 /** @name PalletFungibleError (501) */3959 interface PalletFungibleError extends Enum {3971 interface PalletFungibleError extends Enum {3960 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3972 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3961 readonly isFungibleItemsHaveNoId: boolean;3973 readonly isFungibleItemsHaveNoId: boolean;3967 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3979 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3968 }3980 }396939813970 /** @name PalletRefungibleError (506) */3982 /** @name PalletRefungibleError (505) */3971 interface PalletRefungibleError extends Enum {3983 interface PalletRefungibleError extends Enum {3972 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3984 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3973 readonly isWrongRefungiblePieces: boolean;3985 readonly isWrongRefungiblePieces: boolean;3977 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3989 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3978 }3990 }397939913980 /** @name PalletNonfungibleItemData (507) */3992 /** @name PalletNonfungibleItemData (506) */3981 interface PalletNonfungibleItemData extends Struct {3993 interface PalletNonfungibleItemData extends Struct {3982 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3994 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3983 }3995 }398439963985 /** @name UpDataStructsPropertyScope (509) */3997 /** @name UpDataStructsPropertyScope (508) */3986 interface UpDataStructsPropertyScope extends Enum {3998 interface UpDataStructsPropertyScope extends Enum {3987 readonly isNone: boolean;3999 readonly isNone: boolean;3988 readonly isRmrk: boolean;4000 readonly isRmrk: boolean;3989 readonly type: 'None' | 'Rmrk';4001 readonly type: 'None' | 'Rmrk';3990 }4002 }399140033992 /** @name PalletNonfungibleError (512) */4004 /** @name PalletNonfungibleError (511) */3993 interface PalletNonfungibleError extends Enum {4005 interface PalletNonfungibleError extends Enum {3994 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;4006 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3995 readonly isNonfungibleItemsHaveNoAmount: boolean;4007 readonly isNonfungibleItemsHaveNoAmount: boolean;3996 readonly isCantBurnNftWithChildren: boolean;4008 readonly isCantBurnNftWithChildren: boolean;3997 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';4009 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3998 }4010 }399940114000 /** @name PalletStructureError (513) */4012 /** @name PalletStructureError (512) */4001 interface PalletStructureError extends Enum {4013 interface PalletStructureError extends Enum {4002 readonly isOuroborosDetected: boolean;4014 readonly isOuroborosDetected: boolean;4003 readonly isDepthLimit: boolean;4015 readonly isDepthLimit: boolean;4006 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';4018 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';4007 }4019 }400840204009 /** @name PalletRmrkCoreError (514) */4021 /** @name PalletRmrkCoreError (513) */4010 interface PalletRmrkCoreError extends Enum {4022 interface PalletRmrkCoreError extends Enum {4011 readonly isCorruptedCollectionType: boolean;4023 readonly isCorruptedCollectionType: boolean;4012 readonly isRmrkPropertyKeyIsTooLong: boolean;4024 readonly isRmrkPropertyKeyIsTooLong: boolean;4030 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';4042 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';4031 }4043 }403240444033 /** @name PalletRmrkEquipError (516) */4045 /** @name PalletRmrkEquipError (515) */4034 interface PalletRmrkEquipError extends Enum {4046 interface PalletRmrkEquipError extends Enum {4035 readonly isPermissionError: boolean;4047 readonly isPermissionError: boolean;4036 readonly isNoAvailableBaseId: boolean;4048 readonly isNoAvailableBaseId: boolean;4042 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';4054 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';4043 }4055 }404440564045 /** @name PalletAppPromotionError (522) */4057 /** @name PalletAppPromotionError (521) */4046 interface PalletAppPromotionError extends Enum {4058 interface PalletAppPromotionError extends Enum {4047 readonly isAdminNotSet: boolean;4059 readonly isAdminNotSet: boolean;4048 readonly isNoPermission: boolean;4060 readonly isNoPermission: boolean;4053 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';4065 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';4054 }4066 }405540674056 /** @name PalletForeignAssetsModuleError (523) */4068 /** @name PalletForeignAssetsModuleError (522) */4057 interface PalletForeignAssetsModuleError extends Enum {4069 interface PalletForeignAssetsModuleError extends Enum {4058 readonly isBadLocation: boolean;4070 readonly isBadLocation: boolean;4059 readonly isMultiLocationExisted: boolean;4071 readonly isMultiLocationExisted: boolean;4062 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';4074 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';4063 }4075 }406440764065 /** @name PalletEvmError (525) */4077 /** @name PalletEvmError (524) */4066 interface PalletEvmError extends Enum {4078 interface PalletEvmError extends Enum {4067 readonly isBalanceLow: boolean;4079 readonly isBalanceLow: boolean;4068 readonly isFeeOverflow: boolean;4080 readonly isFeeOverflow: boolean;4078 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';4090 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';4079 }4091 }408040924081 /** @name FpRpcTransactionStatus (528) */4093 /** @name FpRpcTransactionStatus (527) */4082 interface FpRpcTransactionStatus extends Struct {4094 interface FpRpcTransactionStatus extends Struct {4083 readonly transactionHash: H256;4095 readonly transactionHash: H256;4084 readonly transactionIndex: u32;4096 readonly transactionIndex: u32;4089 readonly logsBloom: EthbloomBloom;4101 readonly logsBloom: EthbloomBloom;4090 }4102 }409141034092 /** @name EthbloomBloom (530) */4104 /** @name EthbloomBloom (529) */4093 interface EthbloomBloom extends U8aFixed {}4105 interface EthbloomBloom extends U8aFixed {}409441064095 /** @name EthereumReceiptReceiptV3 (532) */4107 /** @name EthereumReceiptReceiptV3 (531) */4096 interface EthereumReceiptReceiptV3 extends Enum {4108 interface EthereumReceiptReceiptV3 extends Enum {4097 readonly isLegacy: boolean;4109 readonly isLegacy: boolean;4098 readonly asLegacy: EthereumReceiptEip658ReceiptData;4110 readonly asLegacy: EthereumReceiptEip658ReceiptData;4103 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';4115 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';4104 }4116 }410541174106 /** @name EthereumReceiptEip658ReceiptData (533) */4118 /** @name EthereumReceiptEip658ReceiptData (532) */4107 interface EthereumReceiptEip658ReceiptData extends Struct {4119 interface EthereumReceiptEip658ReceiptData extends Struct {4108 readonly statusCode: u8;4120 readonly statusCode: u8;4109 readonly usedGas: U256;4121 readonly usedGas: U256;4110 readonly logsBloom: EthbloomBloom;4122 readonly logsBloom: EthbloomBloom;4111 readonly logs: Vec<EthereumLog>;4123 readonly logs: Vec<EthereumLog>;4112 }4124 }411341254114 /** @name EthereumBlock (534) */4126 /** @name EthereumBlock (533) */4115 interface EthereumBlock extends Struct {4127 interface EthereumBlock extends Struct {4116 readonly header: EthereumHeader;4128 readonly header: EthereumHeader;4117 readonly transactions: Vec<EthereumTransactionTransactionV2>;4129 readonly transactions: Vec<EthereumTransactionTransactionV2>;4118 readonly ommers: Vec<EthereumHeader>;4130 readonly ommers: Vec<EthereumHeader>;4119 }4131 }412041324121 /** @name EthereumHeader (535) */4133 /** @name EthereumHeader (534) */4122 interface EthereumHeader extends Struct {4134 interface EthereumHeader extends Struct {4123 readonly parentHash: H256;4135 readonly parentHash: H256;4124 readonly ommersHash: H256;4136 readonly ommersHash: H256;4137 readonly nonce: EthereumTypesHashH64;4149 readonly nonce: EthereumTypesHashH64;4138 }4150 }413941514140 /** @name EthereumTypesHashH64 (536) */4152 /** @name EthereumTypesHashH64 (535) */4141 interface EthereumTypesHashH64 extends U8aFixed {}4153 interface EthereumTypesHashH64 extends U8aFixed {}414241544143 /** @name PalletEthereumError (541) */4155 /** @name PalletEthereumError (540) */4144 interface PalletEthereumError extends Enum {4156 interface PalletEthereumError extends Enum {4145 readonly isInvalidSignature: boolean;4157 readonly isInvalidSignature: boolean;4146 readonly isPreLogExists: boolean;4158 readonly isPreLogExists: boolean;4147 readonly type: 'InvalidSignature' | 'PreLogExists';4159 readonly type: 'InvalidSignature' | 'PreLogExists';4148 }4160 }414941614150 /** @name PalletEvmCoderSubstrateError (542) */4162 /** @name PalletEvmCoderSubstrateError (541) */4151 interface PalletEvmCoderSubstrateError extends Enum {4163 interface PalletEvmCoderSubstrateError extends Enum {4152 readonly isOutOfGas: boolean;4164 readonly isOutOfGas: boolean;4153 readonly isOutOfFund: boolean;4165 readonly isOutOfFund: boolean;4154 readonly type: 'OutOfGas' | 'OutOfFund';4166 readonly type: 'OutOfGas' | 'OutOfFund';4155 }4167 }415641684157 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (543) */4169 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (542) */4158 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {4170 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {4159 readonly isDisabled: boolean;4171 readonly isDisabled: boolean;4160 readonly isUnconfirmed: boolean;4172 readonly isUnconfirmed: boolean;4164 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';4176 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';4165 }4177 }416641784167 /** @name PalletEvmContractHelpersSponsoringModeT (544) */4179 /** @name PalletEvmContractHelpersSponsoringModeT (543) */4168 interface PalletEvmContractHelpersSponsoringModeT extends Enum {4180 interface PalletEvmContractHelpersSponsoringModeT extends Enum {4169 readonly isDisabled: boolean;4181 readonly isDisabled: boolean;4170 readonly isAllowlisted: boolean;4182 readonly isAllowlisted: boolean;4171 readonly isGenerous: boolean;4183 readonly isGenerous: boolean;4172 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';4184 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';4173 }4185 }417441864175 /** @name PalletEvmContractHelpersError (550) */4187 /** @name PalletEvmContractHelpersError (549) */4176 interface PalletEvmContractHelpersError extends Enum {4188 interface PalletEvmContractHelpersError extends Enum {4177 readonly isNoPermission: boolean;4189 readonly isNoPermission: boolean;4178 readonly isNoPendingSponsor: boolean;4190 readonly isNoPendingSponsor: boolean;4179 readonly isTooManyMethodsHaveSponsoredLimit: boolean;4191 readonly isTooManyMethodsHaveSponsoredLimit: boolean;4180 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';4192 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';4181 }4193 }418241944183 /** @name PalletEvmMigrationError (551) */4195 /** @name PalletEvmMigrationError (550) */4184 interface PalletEvmMigrationError extends Enum {4196 interface PalletEvmMigrationError extends Enum {4185 readonly isAccountNotEmpty: boolean;4197 readonly isAccountNotEmpty: boolean;4186 readonly isAccountIsNotMigrating: boolean;4198 readonly isAccountIsNotMigrating: boolean;4187 readonly isBadEvent: boolean;4199 readonly isBadEvent: boolean;4188 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';4200 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';4189 }4201 }419042024191 /** @name PalletMaintenanceError (552) */4203 /** @name PalletMaintenanceError (551) */4192 type PalletMaintenanceError = Null;4204 type PalletMaintenanceError = Null;419342054194 /** @name PalletTestUtilsError (553) */4206 /** @name PalletTestUtilsError (552) */4195 interface PalletTestUtilsError extends Enum {4207 interface PalletTestUtilsError extends Enum {4196 readonly isTestPalletDisabled: boolean;4208 readonly isTestPalletDisabled: boolean;4197 readonly isTriggerRollback: boolean;4209 readonly isTriggerRollback: boolean;4198 readonly type: 'TestPalletDisabled' | 'TriggerRollback';4210 readonly type: 'TestPalletDisabled' | 'TriggerRollback';4199 }4211 }420042124201 /** @name SpRuntimeMultiSignature (555) */4213 /** @name SpRuntimeMultiSignature (554) */4202 interface SpRuntimeMultiSignature extends Enum {4214 interface SpRuntimeMultiSignature extends Enum {4203 readonly isEd25519: boolean;4215 readonly isEd25519: boolean;4204 readonly asEd25519: SpCoreEd25519Signature;4216 readonly asEd25519: SpCoreEd25519Signature;4209 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';4221 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';4210 }4222 }421142234212 /** @name SpCoreEd25519Signature (556) */4224 /** @name SpCoreEd25519Signature (555) */4213 interface SpCoreEd25519Signature extends U8aFixed {}4225 interface SpCoreEd25519Signature extends U8aFixed {}421442264215 /** @name SpCoreSr25519Signature (558) */4227 /** @name SpCoreSr25519Signature (557) */4216 interface SpCoreSr25519Signature extends U8aFixed {}4228 interface SpCoreSr25519Signature extends U8aFixed {}421742294218 /** @name SpCoreEcdsaSignature (559) */4230 /** @name SpCoreEcdsaSignature (558) */4219 interface SpCoreEcdsaSignature extends U8aFixed {}4231 interface SpCoreEcdsaSignature extends U8aFixed {}422042324221 /** @name FrameSystemExtensionsCheckSpecVersion (562) */4233 /** @name FrameSystemExtensionsCheckSpecVersion (561) */4222 type FrameSystemExtensionsCheckSpecVersion = Null;4234 type FrameSystemExtensionsCheckSpecVersion = Null;422342354224 /** @name FrameSystemExtensionsCheckTxVersion (563) */4236 /** @name FrameSystemExtensionsCheckTxVersion (562) */4225 type FrameSystemExtensionsCheckTxVersion = Null;4237 type FrameSystemExtensionsCheckTxVersion = Null;422642384227 /** @name FrameSystemExtensionsCheckGenesis (564) */4239 /** @name FrameSystemExtensionsCheckGenesis (563) */4228 type FrameSystemExtensionsCheckGenesis = Null;4240 type FrameSystemExtensionsCheckGenesis = Null;422942414230 /** @name FrameSystemExtensionsCheckNonce (567) */4242 /** @name FrameSystemExtensionsCheckNonce (566) */4231 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}4243 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}423242444233 /** @name FrameSystemExtensionsCheckWeight (568) */4245 /** @name FrameSystemExtensionsCheckWeight (567) */4234 type FrameSystemExtensionsCheckWeight = Null;4246 type FrameSystemExtensionsCheckWeight = Null;423542474236 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (569) */4248 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (568) */4237 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;4249 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;423842504239 /** @name OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity (570) */4251 /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (569) */4240 type OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity = Null;4252 type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;424142534242 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (571) */4254 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (570) */4243 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}4255 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}424442564245 /** @name OpalRuntimeRuntime (572) */4257 /** @name OpalRuntimeRuntime (571) */4246 type OpalRuntimeRuntime = Null;4258 type OpalRuntimeRuntime = Null;424742594248 /** @name PalletEthereumFakeTransactionFinalizer (573) */4260 /** @name PalletEthereumFakeTransactionFinalizer (572) */4249 type PalletEthereumFakeTransactionFinalizer = Null;4261 type PalletEthereumFakeTransactionFinalizer = Null;425042624251} // declare module4263} // declare moduletests/src/util/identitySetter.tsdiffbeforeafterboth--- a/tests/src/util/identitySetter.ts
+++ b/tests/src/util/identitySetter.ts
@@ -1,26 +1,43 @@
// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
// SPDX-License-Identifier: Apache-2.0
+import {encodeAddress} from '@polkadot/keyring';
import {usingPlaygrounds, Pallets} from './index';
+import {ChainHelperBase} from './playgrounds/unique';
-const relayUrl0 = process.argv[2] ?? 'localhost:9844';
-const relayUrl = `ws${relayUrl0.includes('localhost') ? '' : 's'}://${relayUrl0}`;
+const relayUrl = process.argv[2] ?? 'ws://localhost:9844';
+const paraUrl = process.argv[3] ?? 'ws://localhost:9944';
+const key = process.argv.length > 4 ? process.argv.slice(4).join(' ') : '//Alice';
-const paraUrl0 = process.argv[3] ?? 'localhost:9944';
-const paraUrl = `ws${paraUrl0.includes('localhost') ? '' : 's'}://${paraUrl0}`;
+function extractIdentity(key: any, value: any): [string, any] {
+ return [(key as any).toHuman()[0], (value as any).unwrap()];
+}
-const key = process.argv.length > 4 ? process.argv.slice(4).join(' ') : '//Alice';
+async function getIdentities(helper: ChainHelperBase) {
+ const identities: [string, any][] = [];
+ for(const [key, value] of await helper.getApi().query.identity.identityOf.entries())
+ identities.push(extractIdentity(key, value));
+ return identities;
+}
// This is a utility for pulling
-const setIdentities = async (): Promise<void> => {
- const identities: any[] = [];
+const forceInsertIdentities = async (): Promise<void> => {
+ const identitiesOnRelay: any[] = [];
+ const identitiesToRemove: string[] = [];
await usingPlaygrounds(async helper => {
try {
+ // iterate over every identity
for(const [key, v] of await helper.getApi().query.identity.identityOf.entries()) {
const value = v as any;
- if (!value.isSome) continue;
+ if (value.isNone) {
+ // in the nigh-impossible case that storage map would actually give None for a value, might as well delete it
+ identitiesToRemove.push((key as any).toHuman()[0]);
+ continue;
+ }
+
+ // if any of the judgements resulted in a good confirmed outcome, keep this identity
if (value.unwrap().toHuman().judgements.filter((x: any) => x[1] == 'Reasonable' || x[1] == 'KnownGood').length == 0) continue;
- identities.push([key, value]);
+ identitiesOnRelay.push(extractIdentity(key, value));
}
} catch (error) {
console.error(error);
@@ -32,9 +49,32 @@
if (helper.fetchMissingPalletNames([Pallets.Identity]).length != 0) console.error('pallet-identity is not included in parachain.');
try {
const superuser = await privateKey(key);
- // todo:collator
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.setIdentities', [identities]);
- console.log(`Tried to upload ${identities.length} identities. `
+ const ss58Format = helper.chain.getChainProperties().ss58Format;
+ const paraIdentities = await getIdentities(helper);
+ const identitiesToAdd: any[] = [];
+
+ // cross-reference every account for changes
+ for (const [key, value] of identitiesOnRelay) {
+ const encodedKey = encodeAddress(key, ss58Format);
+
+ const identity = paraIdentities.find(i => i[0] === encodedKey);
+ if (identity) {
+ // only update if the identity info does not exist or is changed
+ if (value.toString() === identity[1].toString()) {
+ continue;
+ }
+ }
+ identitiesToAdd.push([key, value]);
+ // exercise caution - in case we have an identity and the realy doesn't, it might mean one of two things:
+ // 1) it was deleted on the relay;
+ // 2) it is our own identity, we don't want to delete it.
+ // identitiesToRemove.push((key as any).toHuman()[0]);
+ }
+
+ // await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceRemoveIdentities', [identitiesToRemove]);
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identitiesToAdd]);
+ console.log(`Tried to upload ${identitiesToAdd.length} identities `
+ + `and found ${identitiesToRemove.length} identities for potential removal. `
+ `Now there are ${(await helper.getApi().query.identity.identityOf.keys()).length}.`);
} catch (error) {
console.error(error);
@@ -43,4 +83,4 @@
}, paraUrl);
};
-setIdentities().catch(() => process.exit(1));
\ No newline at end of file
+forceInsertIdentities().catch(() => process.exit(1));
\ No newline at end of file