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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/submittable';78import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';9import type { Data } from '@polkadot/types';10import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';11import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';12import type { AccountId32, Call, H160, H256, MultiAddress, Permill } from '@polkadot/types/interfaces/runtime';13import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';1415export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;16export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;17export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;1819declare module '@polkadot/api-base/types/submittable' {20 interface AugmentedSubmittables<ApiType extends ApiTypes> {21 appPromotion: {22 /**23 * Recalculates interest for the specified number of stakers.24 * If all stakers are not recalculated, the next call of the extrinsic25 * will continue the recalculation, from those stakers for whom this26 * was not perform in last call.27 * 28 * # Permissions29 * 30 * * Pallet admin31 * 32 * # Arguments33 * 34 * * `stakers_number`: the number of stakers for which recalculation will be performed35 **/36 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;37 /**38 * Sets an address as the the admin.39 * 40 * # Permissions41 * 42 * * Sudo43 * 44 * # Arguments45 * 46 * * `admin`: account of the new admin.47 **/48 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;49 /**50 * Sets the pallet to be the sponsor for the collection.51 * 52 * # Permissions53 * 54 * * Pallet admin55 * 56 * # Arguments57 * 58 * * `collection_id`: ID of the collection that will be sponsored by `pallet_id`59 **/60 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;61 /**62 * Sets the pallet to be the sponsor for the contract.63 * 64 * # Permissions65 * 66 * * Pallet admin67 * 68 * # Arguments69 * 70 * * `contract_id`: the contract address that will be sponsored by `pallet_id`71 **/72 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;73 /**74 * Stakes the amount of native tokens.75 * Sets `amount` to the locked state.76 * The maximum number of stakes for a staker is 10.77 * 78 * # Arguments79 * 80 * * `amount`: in native tokens.81 **/82 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;83 /**84 * Removes the pallet as the sponsor for the collection.85 * Returns [`NoPermission`][`Error::NoPermission`]86 * if the pallet wasn't the sponsor.87 * 88 * # Permissions89 * 90 * * Pallet admin91 * 92 * # Arguments93 * 94 * * `collection_id`: ID of the collection that is sponsored by `pallet_id`95 **/96 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;97 /**98 * Removes the pallet as the sponsor for the contract.99 * Returns [`NoPermission`][`Error::NoPermission`]100 * if the pallet wasn't the sponsor.101 * 102 * # Permissions103 * 104 * * Pallet admin105 * 106 * # Arguments107 * 108 * * `contract_id`: the contract address that is sponsored by `pallet_id`109 **/110 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;111 /**112 * Unstakes all stakes.113 * Moves the sum of all stakes to the `reserved` state.114 * After the end of `PendingInterval` this sum becomes completely115 * free for further use.116 **/117 unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;118 /**119 * Generic tx120 **/121 [key: string]: SubmittableExtrinsicFunction<ApiType>;122 };123 authorship: {124 /**125 * Provide a set of uncles.126 **/127 setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;128 /**129 * Generic tx130 **/131 [key: string]: SubmittableExtrinsicFunction<ApiType>;132 };133 balances: {134 /**135 * Exactly as `transfer`, except the origin must be root and the source account may be136 * specified.137 * # <weight>138 * - Same as transfer, but additional read and write because the source account is not139 * assumed to be in the overlay.140 * # </weight>141 **/142 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;143 /**144 * Unreserve some balance from a user by force.145 * 146 * Can only be called by ROOT.147 **/148 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;149 /**150 * Set the balances of a given account.151 * 152 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will153 * also alter the total issuance of the system (`TotalIssuance`) appropriately.154 * If the new free or reserved balance is below the existential deposit,155 * it will reset the account nonce (`frame_system::AccountNonce`).156 * 157 * The dispatch origin for this call is `root`.158 **/159 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;160 /**161 * Transfer some liquid free balance to another account.162 * 163 * `transfer` will set the `FreeBalance` of the sender and receiver.164 * If the sender's account is below the existential deposit as a result165 * of the transfer, the account will be reaped.166 * 167 * The dispatch origin for this call must be `Signed` by the transactor.168 * 169 * # <weight>170 * - Dependent on arguments but not critical, given proper implementations for input config171 * types. See related functions below.172 * - It contains a limited number of reads and writes internally and no complex173 * computation.174 * 175 * Related functions:176 * 177 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.178 * - Transferring balances to accounts that did not exist before will cause179 * `T::OnNewAccount::on_new_account` to be called.180 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.181 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check182 * that the transfer will not kill the origin account.183 * ---------------------------------184 * - Origin account is already in memory, so no DB operations for them.185 * # </weight>186 **/187 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;188 /**189 * Transfer the entire transferable balance from the caller account.190 * 191 * NOTE: This function only attempts to transfer _transferable_ balances. This means that192 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be193 * transferred by this function. To ensure that this function results in a killed account,194 * you might need to prepare the account by removing any reference counters, storage195 * deposits, etc...196 * 197 * The dispatch origin of this call must be Signed.198 * 199 * - `dest`: The recipient of the transfer.200 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all201 * of the funds the account has, causing the sender account to be killed (false), or202 * transfer everything except at least the existential deposit, which will guarantee to203 * keep the sender account alive (true). # <weight>204 * - O(1). Just like transfer, but reading the user's transferable balance first.205 * #</weight>206 **/207 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;208 /**209 * Same as the [`transfer`] call, but with a check that the transfer will not kill the210 * origin account.211 * 212 * 99% of the time you want [`transfer`] instead.213 * 214 * [`transfer`]: struct.Pallet.html#method.transfer215 **/216 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;217 /**218 * Generic tx219 **/220 [key: string]: SubmittableExtrinsicFunction<ApiType>;221 };222 charging: {223 /**224 * Generic tx225 **/226 [key: string]: SubmittableExtrinsicFunction<ApiType>;227 };228 collatorSelection: {229 /**230 * Add a collator to the list of invulnerable (fixed) collators.231 **/232 addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;233 /**234 * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.235 * Note that the collator can only leave on session change.236 * The `LicenseBond` will be unreserved and returned immediately.237 * 238 * This call is, of course, not applicable to `Invulnerable` collators.239 **/240 forceReleaseLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;241 /**242 * Purchase a license on block collation for this account.243 * It does not make it a collator candidate, use `onboard` afterward. The account must244 * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.245 * 246 * This call is not available to `Invulnerable` collators.247 **/248 getLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;249 /**250 * Deregister `origin` as a collator candidate. Note that the collator can only leave on251 * session change. The license to `onboard` later at any other time will remain.252 **/253 offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;254 /**255 * Register this account as a candidate for collators for next sessions.256 * The account must already hold a license, and cannot offboard immediately during a session.257 * 258 * This call is not available to `Invulnerable` collators.259 **/260 onboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;261 /**262 * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.263 * 264 * This call is not available to `Invulnerable` collators.265 **/266 releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;267 /**268 * Remove a collator from the list of invulnerable (fixed) collators.269 **/270 removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;271 /**272 * Generic tx273 **/274 [key: string]: SubmittableExtrinsicFunction<ApiType>;275 };276 configuration: {277 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;278 setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;279 setCollatorSelectionKickThreshold: AugmentedSubmittable<(threshold: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;280 setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>]>;281 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;282 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;283 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;284 /**285 * Generic tx286 **/287 [key: string]: SubmittableExtrinsicFunction<ApiType>;288 };289 cumulusXcm: {290 /**291 * Generic tx292 **/293 [key: string]: SubmittableExtrinsicFunction<ApiType>;294 };295 evmMigration: {296 /**297 * Start contract migration, inserts contract stub at target address,298 * and marks account as pending, allowing to insert storage299 **/300 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;301 /**302 * Finish contract migration, allows it to be called.303 * It is not possible to alter contract storage via [`Self::set_data`]304 * after this call.305 **/306 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;307 /**308 * Create ethereum events attached to the fake transaction309 **/310 insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;311 /**312 * Create substrate events313 **/314 insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;315 /**316 * Insert items into contract storage, this method can be called317 * multiple times318 **/319 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;320 /**321 * Generic tx322 **/323 [key: string]: SubmittableExtrinsicFunction<ApiType>;324 };325 dmpQueue: {326 /**327 * Service a single overweight message.328 * 329 * - `origin`: Must pass `ExecuteOverweightOrigin`.330 * - `index`: The index of the overweight message to service.331 * - `weight_limit`: The amount of weight that message execution may take.332 * 333 * Errors:334 * - `Unknown`: Message of `index` is unknown.335 * - `OverLimit`: Message execution may use greater than `weight_limit`.336 * 337 * Events:338 * - `OverweightServiced`: On success.339 **/340 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;341 /**342 * Generic tx343 **/344 [key: string]: SubmittableExtrinsicFunction<ApiType>;345 };346 ethereum: {347 /**348 * Transact an Ethereum transaction.349 **/350 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;351 /**352 * Generic tx353 **/354 [key: string]: SubmittableExtrinsicFunction<ApiType>;355 };356 evm: {357 /**358 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.359 **/360 call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;361 /**362 * Issue an EVM create operation. This is similar to a contract creation transaction in363 * Ethereum.364 **/365 create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;366 /**367 * Issue an EVM create2 operation.368 **/369 create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;370 /**371 * Withdraw balance from EVM into currency/balances pallet.372 **/373 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;374 /**375 * Generic tx376 **/377 [key: string]: SubmittableExtrinsicFunction<ApiType>;378 };379 foreignAssets: {380 registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;381 updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;382 /**383 * Generic tx384 **/385 [key: string]: SubmittableExtrinsicFunction<ApiType>;386 };387 identity: {388 /**389 * Add a registrar to the system.390 * 391 * The dispatch origin for this call must be `T::RegistrarOrigin`.392 * 393 * - `account`: the account of the registrar.394 * 395 * Emits `RegistrarAdded` if successful.396 * 397 * # <weight>398 * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded).399 * - One storage mutation (codec `O(R)`).400 * - One event.401 * # </weight>402 **/403 addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;404 /**405 * Add the given account to the sender's subs.406 * 407 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated408 * to the sender.409 * 410 * The dispatch origin for this call must be _Signed_ and the sender must have a registered411 * sub identity of `sub`.412 **/413 addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;414 /**415 * Cancel a previous request.416 * 417 * Payment: A previously reserved deposit is returned on success.418 * 419 * The dispatch origin for this call must be _Signed_ and the sender must have a420 * registered identity.421 * 422 * - `reg_index`: The index of the registrar whose judgement is no longer requested.423 * 424 * Emits `JudgementUnrequested` if successful.425 * 426 * # <weight>427 * - `O(R + X)`.428 * - One balance-reserve operation.429 * - One storage mutation `O(R + X)`.430 * - One event431 * # </weight>432 **/433 cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;434 /**435 * Clear an account's identity info and all sub-accounts and return all deposits.436 * 437 * Payment: All reserved balances on the account are returned.438 * 439 * The dispatch origin for this call must be _Signed_ and the sender must have a registered440 * identity.441 * 442 * Emits `IdentityCleared` if successful.443 * 444 * # <weight>445 * - `O(R + S + X)`446 * - where `R` registrar-count (governance-bounded).447 * - where `S` subs-count (hard- and deposit-bounded).448 * - where `X` additional-field-count (deposit-bounded and code-bounded).449 * - One balance-unreserve operation.450 * - `2` storage reads and `S + 2` storage deletions.451 * - One event.452 * # </weight>453 **/454 clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;455 /**456 * Remove an account's identity and sub-account information and slash the deposits.457 * 458 * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by459 * `Slash`. Verification request deposits are not returned; they should be cancelled460 * manually using `cancel_request`.461 * 462 * The dispatch origin for this call must match `T::ForceOrigin`.463 * 464 * - `target`: the account whose identity the judgement is upon. This must be an account465 * with a registered identity.466 * 467 * Emits `IdentityKilled` if successful.468 * 469 * # <weight>470 * - `O(R + S + X)`.471 * - One balance-reserve operation.472 * - `S + 2` storage mutations.473 * - One event.474 * # </weight>475 **/476 killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;477 /**478 * Provide a judgement for an account's identity.479 * 480 * The dispatch origin for this call must be _Signed_ and the sender must be the account481 * of the registrar whose index is `reg_index`.482 * 483 * - `reg_index`: the index of the registrar whose judgement is being made.484 * - `target`: the account whose identity the judgement is upon. This must be an account485 * with a registered identity.486 * - `judgement`: the judgement of the registrar of index `reg_index` about `target`.487 * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.488 * 489 * Emits `JudgementGiven` if successful.490 * 491 * # <weight>492 * - `O(R + X)`.493 * - One balance-transfer operation.494 * - Up to one account-lookup operation.495 * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`.496 * - One event.497 * # </weight>498 **/499 provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;500 /**501 * Remove the sender as a sub-account.502 * 503 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated504 * to the sender (*not* the original depositor).505 * 506 * The dispatch origin for this call must be _Signed_ and the sender must have a registered507 * super-identity.508 * 509 * NOTE: This should not normally be used, but is provided in the case that the non-510 * controller of an account is maliciously registered as a sub-account.511 **/512 quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;513 /**514 * Remove the given account from the sender's subs.515 * 516 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated517 * to the sender.518 * 519 * The dispatch origin for this call must be _Signed_ and the sender must have a registered520 * sub identity of `sub`.521 **/522 removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;523 /**524 * Alter the associated name of the given sub-account.525 * 526 * The dispatch origin for this call must be _Signed_ and the sender must have a registered527 * sub identity of `sub`.528 **/529 renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;530 /**531 * Request a judgement from a registrar.532 * 533 * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement534 * given.535 * 536 * The dispatch origin for this call must be _Signed_ and the sender must have a537 * registered identity.538 * 539 * - `reg_index`: The index of the registrar whose judgement is requested.540 * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:541 * 542 * ```nocompile543 * Self::registrars().get(reg_index).unwrap().fee544 * ```545 * 546 * Emits `JudgementRequested` if successful.547 * 548 * # <weight>549 * - `O(R + X)`.550 * - One balance-reserve operation.551 * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`.552 * - One event.553 * # </weight>554 **/555 requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;556 /**557 * Change the account associated with a registrar.558 * 559 * The dispatch origin for this call must be _Signed_ and the sender must be the account560 * of the registrar whose index is `index`.561 * 562 * - `index`: the index of the registrar whose fee is to be set.563 * - `new`: the new account ID.564 * 565 * # <weight>566 * - `O(R)`.567 * - One storage mutation `O(R)`.568 * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)569 * # </weight>570 **/571 setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;572 /**573 * Set the fee required for a judgement to be requested from a registrar.574 * 575 * The dispatch origin for this call must be _Signed_ and the sender must be the account576 * of the registrar whose index is `index`.577 * 578 * - `index`: the index of the registrar whose fee is to be set.579 * - `fee`: the new fee.580 * 581 * # <weight>582 * - `O(R)`.583 * - One storage mutation `O(R)`.584 * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis)585 * # </weight>586 **/587 setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;588 /**589 * Set the field information for a registrar.590 * 591 * The dispatch origin for this call must be _Signed_ and the sender must be the account592 * of the registrar whose index is `index`.593 * 594 * - `index`: the index of the registrar whose fee is to be set.595 * - `fields`: the fields that the registrar concerns themselves with.596 * 597 * # <weight>598 * - `O(R)`.599 * - One storage mutation `O(R)`.600 * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis)601 * # </weight>602 **/603 setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;604 /**605 * Insert or remove identities.606 **/607 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>]>>]>;608 /**609 * Set an account's identity information and reserve the appropriate deposit.610 * 611 * If the account already has identity information, the deposit is taken as part payment612 * for the new deposit.613 * 614 * The dispatch origin for this call must be _Signed_.615 * 616 * - `info`: The identity information.617 * 618 * Emits `IdentitySet` if successful.619 * 620 * # <weight>621 * - `O(X + X' + R)`622 * - where `X` additional-field-count (deposit-bounded and code-bounded)623 * - where `R` judgements-count (registrar-count-bounded)624 * - One balance reserve operation.625 * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`).626 * - One event.627 * # </weight>628 **/629 setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityIdentityInfo]>;630 /**631 * Set the sub-accounts of the sender.632 * 633 * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned634 * and an amount `SubAccountDeposit` will be reserved for each item in `subs`.635 * 636 * The dispatch origin for this call must be _Signed_ and the sender must have a registered637 * identity.638 * 639 * - `subs`: The identity's (new) sub-accounts.640 * 641 * # <weight>642 * - `O(P + S)`643 * - where `P` old-subs-count (hard- and deposit-bounded).644 * - where `S` subs-count (hard- and deposit-bounded).645 * - At most one balance operations.646 * - DB:647 * - `P + S` storage mutations (codec complexity `O(1)`)648 * - One storage read (codec complexity `O(P)`).649 * - One storage write (codec complexity `O(S)`).650 * - One storage-exists (`IdentityOf::contains_key`).651 * # </weight>652 **/653 setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;654 /**655 * Generic tx656 **/657 [key: string]: SubmittableExtrinsicFunction<ApiType>;658 };659 inflation: {660 /**661 * This method sets the inflation start date. Can be only called once.662 * Inflation start block can be backdated and will catch up. The method will create Treasury663 * account if it does not exist and perform the first inflation deposit.664 * 665 * # Permissions666 * 667 * * Root668 * 669 * # Arguments670 * 671 * * inflation_start_relay_block: The relay chain block at which inflation should start672 **/673 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;674 /**675 * Generic tx676 **/677 [key: string]: SubmittableExtrinsicFunction<ApiType>;678 };679 maintenance: {680 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;681 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;682 /**683 * Generic tx684 **/685 [key: string]: SubmittableExtrinsicFunction<ApiType>;686 };687 parachainSystem: {688 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;689 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;690 /**691 * Set the current validation data.692 * 693 * This should be invoked exactly once per block. It will panic at the finalization694 * phase if the call was not invoked.695 * 696 * The dispatch origin for this call must be `Inherent`697 * 698 * As a side effect, this function upgrades the current validation function699 * if the appropriate time has come.700 **/701 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;702 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;703 /**704 * Generic tx705 **/706 [key: string]: SubmittableExtrinsicFunction<ApiType>;707 };708 polkadotXcm: {709 /**710 * Execute an XCM message from a local, signed, origin.711 * 712 * An event is deposited indicating whether `msg` could be executed completely or only713 * partially.714 * 715 * No more than `max_weight` will be used in its attempted execution. If this is less than the716 * maximum amount of weight that the message could take to be executed, then no execution717 * attempt will be made.718 * 719 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully720 * to completion; only that *some* of it was executed.721 **/722 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;723 /**724 * Set a safe XCM version (the version that XCM should be encoded with if the most recent725 * version a destination can accept is unknown).726 * 727 * - `origin`: Must be Root.728 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.729 **/730 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;731 /**732 * Ask a location to notify us regarding their XCM version and any changes to it.733 * 734 * - `origin`: Must be Root.735 * - `location`: The location to which we should subscribe for XCM version notifications.736 **/737 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;738 /**739 * Require that a particular destination should no longer notify us regarding any XCM740 * version changes.741 * 742 * - `origin`: Must be Root.743 * - `location`: The location to which we are currently subscribed for XCM version744 * notifications which we no longer desire.745 **/746 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;747 /**748 * Extoll that a particular destination can be communicated with through a particular749 * version of XCM.750 * 751 * - `origin`: Must be Root.752 * - `location`: The destination that is being described.753 * - `xcm_version`: The latest version of XCM that `location` supports.754 **/755 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;756 /**757 * Transfer some assets from the local chain to the sovereign account of a destination758 * chain and forward a notification XCM.759 * 760 * Fee payment on the destination side is made from the asset in the `assets` vector of761 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight762 * is needed than `weight_limit`, then the operation will fail and the assets send may be763 * at risk.764 * 765 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.766 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send767 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.768 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be769 * an `AccountId32` value.770 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the771 * `dest` side.772 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay773 * fees.774 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.775 **/776 limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;777 /**778 * Teleport some assets from the local chain to some destination chain.779 * 780 * Fee payment on the destination side is made from the asset in the `assets` vector of781 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight782 * is needed than `weight_limit`, then the operation will fail and the assets send may be783 * at risk.784 * 785 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.786 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send787 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.788 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be789 * an `AccountId32` value.790 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the791 * `dest` side. May not be empty.792 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay793 * fees.794 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.795 **/796 limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;797 /**798 * Transfer some assets from the local chain to the sovereign account of a destination799 * chain and forward a notification XCM.800 * 801 * Fee payment on the destination side is made from the asset in the `assets` vector of802 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,803 * with all fees taken as needed from the asset.804 * 805 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.806 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send807 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.808 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be809 * an `AccountId32` value.810 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the811 * `dest` side.812 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay813 * fees.814 **/815 reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;816 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;817 /**818 * Teleport some assets from the local chain to some destination chain.819 * 820 * Fee payment on the destination side is made from the asset in the `assets` vector of821 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,822 * with all fees taken as needed from the asset.823 * 824 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.825 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send826 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.827 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be828 * an `AccountId32` value.829 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the830 * `dest` side. May not be empty.831 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay832 * fees.833 **/834 teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;835 /**836 * Generic tx837 **/838 [key: string]: SubmittableExtrinsicFunction<ApiType>;839 };840 rmrkCore: {841 /**842 * Accept an NFT sent from another account to self or an owned NFT.843 * 844 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.845 * 846 * # Permissions:847 * - Token-owner-to-be848 * 849 * # Arguments:850 * - `origin`: sender of the transaction851 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.852 * - `rmrk_nft_id`: ID of the NFT to be accepted.853 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,854 * whichever the accepted NFT was sent to.855 **/856 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;857 /**858 * Accept the addition of a newly created pending resource to an existing NFT.859 * 860 * This transaction is needed when a resource is created and assigned to an NFT861 * by a non-owner, i.e. the collection issuer, with one of the862 * [`add_...` transactions](Pallet::add_basic_resource).863 * 864 * # Permissions:865 * - Token owner866 * 867 * # Arguments:868 * - `origin`: sender of the transaction869 * - `rmrk_collection_id`: RMRK collection ID of the NFT.870 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.871 * - `resource_id`: ID of the newly created pending resource.872 * accept the addition of a new resource to an existing NFT873 **/874 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;875 /**876 * Accept the removal of a removal-pending resource from an NFT.877 * 878 * This transaction is needed when a non-owner, i.e. the collection issuer,879 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.880 * 881 * # Permissions:882 * - Token owner883 * 884 * # Arguments:885 * - `origin`: sender of the transaction886 * - `rmrk_collection_id`: RMRK collection ID of the NFT.887 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.888 * - `resource_id`: ID of the removal-pending resource.889 **/890 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;891 /**892 * Create and set/propose a basic resource for an NFT.893 * 894 * A basic resource is the simplest, lacking a Base and anything that comes with it.895 * See RMRK docs for more information and examples.896 * 897 * # Permissions:898 * - Collection issuer - if not the token owner, adding the resource will warrant899 * the owner's [acceptance](Pallet::accept_resource).900 * 901 * # Arguments:902 * - `origin`: sender of the transaction903 * - `rmrk_collection_id`: RMRK collection ID of the NFT.904 * - `nft_id`: ID of the NFT to assign a resource to.905 * - `resource`: Data of the resource to be created.906 **/907 addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceBasicResource]>;908 /**909 * Create and set/propose a composable resource for an NFT.910 * 911 * A composable resource links to a Base and has a subset of its Parts it is composed of.912 * See RMRK docs for more information and examples.913 * 914 * # Permissions:915 * - Collection issuer - if not the token owner, adding the resource will warrant916 * the owner's [acceptance](Pallet::accept_resource).917 * 918 * # Arguments:919 * - `origin`: sender of the transaction920 * - `rmrk_collection_id`: RMRK collection ID of the NFT.921 * - `nft_id`: ID of the NFT to assign a resource to.922 * - `resource`: Data of the resource to be created.923 **/924 addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceComposableResource]>;925 /**926 * Create and set/propose a slot resource for an NFT.927 * 928 * A slot resource links to a Base and a slot ID in it which it can fit into.929 * See RMRK docs for more information and examples.930 * 931 * # Permissions:932 * - Collection issuer - if not the token owner, adding the resource will warrant933 * the owner's [acceptance](Pallet::accept_resource).934 * 935 * # Arguments:936 * - `origin`: sender of the transaction937 * - `rmrk_collection_id`: RMRK collection ID of the NFT.938 * - `nft_id`: ID of the NFT to assign a resource to.939 * - `resource`: Data of the resource to be created.940 **/941 addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;942 /**943 * Burn an NFT, destroying it and its nested tokens up to the specified limit.944 * If the burning budget is exceeded, the transaction is reverted.945 * 946 * This is the way to burn a nested token as well.947 * 948 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).949 * 950 * # Permissions:951 * * Token owner952 * 953 * # Arguments:954 * - `origin`: sender of the transaction955 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.956 * - `nft_id`: ID of the NFT to be destroyed.957 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction958 * is reverted if there are more tokens to burn in the nesting tree than this number.959 * This is primarily a mechanism of transaction weight control.960 **/961 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;962 /**963 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).964 * 965 * # Permissions:966 * * Collection issuer967 * 968 * # Arguments:969 * - `origin`: sender of the transaction970 * - `collection_id`: RMRK collection ID to change the issuer of.971 * - `new_issuer`: Collection's new issuer.972 **/973 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;974 /**975 * Create a new collection of NFTs.976 * 977 * # Permissions:978 * * Anyone - will be assigned as the issuer of the collection.979 * 980 * # Arguments:981 * - `origin`: sender of the transaction982 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.983 * - `max`: Optional maximum number of tokens.984 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.985 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.986 **/987 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;988 /**989 * Destroy a collection.990 * 991 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.992 * 993 * # Permissions:994 * * Collection issuer995 * 996 * # Arguments:997 * - `origin`: sender of the transaction998 * - `collection_id`: RMRK ID of the collection to destroy.999 **/1000 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1001 /**1002 * "Lock" the collection and prevent new token creation. Cannot be undone.1003 * 1004 * # Permissions:1005 * * Collection issuer1006 * 1007 * # Arguments:1008 * - `origin`: sender of the transaction1009 * - `collection_id`: RMRK ID of the collection to lock.1010 **/1011 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1012 /**1013 * Mint an NFT in a specified collection.1014 * 1015 * # Permissions:1016 * * Collection issuer1017 * 1018 * # Arguments:1019 * - `origin`: sender of the transaction1020 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).1021 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.1022 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.1023 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.1024 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.1025 * - `transferable`: Can this NFT be transferred? Cannot be changed.1026 * - `resources`: Resource data to be added to the NFT immediately after minting.1027 **/1028 mintNft: AugmentedSubmittable<(owner: Option<AccountId32> | null | Uint8Array | AccountId32 | string, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | Uint8Array | AccountId32 | string, royaltyAmount: Option<Permill> | null | Uint8Array | Permill | AnyNumber, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | Uint8Array | Vec<RmrkTraitsResourceResourceTypes> | (RmrkTraitsResourceResourceTypes | { Basic: any } | { Composable: any } | { Slot: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;1029 /**1030 * Reject an NFT sent from another account to self or owned NFT.1031 * The NFT in question will not be sent back and burnt instead.1032 * 1033 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.1034 * 1035 * # Permissions:1036 * - Token-owner-to-be-not1037 * 1038 * # Arguments:1039 * - `origin`: sender of the transaction1040 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.1041 * - `rmrk_nft_id`: ID of the NFT to be rejected.1042 **/1043 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1044 /**1045 * Remove and erase a resource from an NFT.1046 * 1047 * If the sender does not own the NFT, then it will be pending confirmation,1048 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.1049 * 1050 * # Permissions1051 * - Collection issuer1052 * 1053 * # Arguments1054 * - `origin`: sender of the transaction1055 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.1056 * - `nft_id`: ID of the NFT with a resource to be removed.1057 * - `resource_id`: ID of the resource to be removed.1058 **/1059 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;1060 /**1061 * Transfer an NFT from an account/NFT A to another account/NFT B.1062 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].1063 * 1064 * If the target owner is an NFT owned by another account, then the NFT will enter1065 * the pending state and will have to be accepted by the other account.1066 * 1067 * # Permissions:1068 * - Token owner1069 * 1070 * # Arguments:1071 * - `origin`: sender of the transaction1072 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.1073 * - `rmrk_nft_id`: ID of the NFT to be transferred.1074 * - `new_owner`: New owner of the nft which can be either an account or a NFT.1075 **/1076 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;1077 /**1078 * Set a different order of resource priorities for an NFT. Priorities can be used,1079 * for example, for order of rendering.1080 * 1081 * Note that the priorities are not updated automatically, and are an empty vector1082 * by default. There is no pre-set definition for the order to be particular,1083 * it can be interpreted arbitrarily use-case by use-case.1084 * 1085 * # Permissions:1086 * - Token owner1087 * 1088 * # Arguments:1089 * - `origin`: sender of the transaction1090 * - `rmrk_collection_id`: RMRK collection ID of the NFT.1091 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.1092 * - `priorities`: Ordered vector of resource IDs.1093 **/1094 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;1095 /**1096 * Add or edit a custom user property, a key-value pair, describing the metadata1097 * of a token or a collection, on either one of these.1098 * 1099 * Note that in this proxy implementation many details regarding RMRK are stored1100 * as scoped properties prefixed with "rmrk:", normally inaccessible1101 * to external transactions and RPCs.1102 * 1103 * # Permissions:1104 * - Collection issuer - in case of collection property1105 * - Token owner - in case of NFT property1106 * 1107 * # Arguments:1108 * - `origin`: sender of the transaction1109 * - `rmrk_collection_id`: RMRK collection ID.1110 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.1111 * - `key`: Key of the custom property to be referenced by.1112 * - `value`: Value of the custom property to be stored.1113 **/1114 setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;1115 /**1116 * Generic tx1117 **/1118 [key: string]: SubmittableExtrinsicFunction<ApiType>;1119 };1120 rmrkEquip: {1121 /**1122 * Create a new Base.1123 * 1124 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)1125 * 1126 * # Permissions1127 * - Anyone - will be assigned as the issuer of the Base.1128 * 1129 * # Arguments:1130 * - `origin`: Caller, will be assigned as the issuer of the Base1131 * - `base_type`: Arbitrary media type, e.g. "svg".1132 * - `symbol`: Arbitrary client-chosen symbol.1133 * - `parts`: Array of Fixed and Slot Parts composing the Base,1134 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).1135 **/1136 createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;1137 /**1138 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.1139 * 1140 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).1141 * 1142 * # Permissions:1143 * - Base issuer1144 * 1145 * # Arguments:1146 * - `origin`: sender of the transaction1147 * - `base_id`: Base containing the Slot Part to be updated.1148 * - `slot_id`: Slot Part whose Equippable List is being updated .1149 * - `equippables`: List of equippables that will override the current Equippables list.1150 **/1151 equippable: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, slotId: u32 | AnyNumber | Uint8Array, equippables: RmrkTraitsPartEquippableList | { All: any } | { Empty: any } | { Custom: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsPartEquippableList]>;1152 /**1153 * Add a Theme to a Base.1154 * A Theme named "default" is required prior to adding other Themes.1155 * 1156 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).1157 * 1158 * # Permissions:1159 * - Base issuer1160 * 1161 * # Arguments:1162 * - `origin`: sender of the transaction1163 * - `base_id`: Base ID containing the Theme to be updated.1164 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an1165 * array of [key, value, inherit].1166 * - `key`: Arbitrary BoundedString, defined by client.1167 * - `value`: Arbitrary BoundedString, defined by client.1168 * - `inherit`: Optional bool.1169 **/1170 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;1171 /**1172 * Generic tx1173 **/1174 [key: string]: SubmittableExtrinsicFunction<ApiType>;1175 };1176 session: {1177 /**1178 * Removes any session key(s) of the function caller.1179 * 1180 * This doesn't take effect until the next session.1181 * 1182 * The dispatch origin of this function must be Signed and the account must be either be1183 * convertible to a validator ID using the chain's typical addressing system (this usually1184 * means being a controller account) or directly convertible into a validator ID (which1185 * usually means being a stash account).1186 * 1187 * # <weight>1188 * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length1189 * of `T::Keys::key_ids()` which is fixed.1190 * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`1191 * - DbWrites: `NextKeys`, `origin account`1192 * - DbWrites per key id: `KeyOwner`1193 * # </weight>1194 **/1195 purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1196 /**1197 * Sets the session key(s) of the function caller to `keys`.1198 * Allows an account to set its session key prior to becoming a validator.1199 * This doesn't take effect until the next session.1200 * 1201 * The dispatch origin of this function must be signed.1202 * 1203 * # <weight>1204 * - Complexity: `O(1)`. Actual cost depends on the number of length of1205 * `T::Keys::key_ids()` which is fixed.1206 * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`1207 * - DbWrites: `origin account`, `NextKeys`1208 * - DbReads per key id: `KeyOwner`1209 * - DbWrites per key id: `KeyOwner`1210 * # </weight>1211 **/1212 setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;1213 /**1214 * Generic tx1215 **/1216 [key: string]: SubmittableExtrinsicFunction<ApiType>;1217 };1218 structure: {1219 /**1220 * Generic tx1221 **/1222 [key: string]: SubmittableExtrinsicFunction<ApiType>;1223 };1224 sudo: {1225 /**1226 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo1227 * key.1228 * 1229 * The dispatch origin for this call must be _Signed_.1230 * 1231 * # <weight>1232 * - O(1).1233 * - Limited storage reads.1234 * - One DB change.1235 * # </weight>1236 **/1237 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1238 /**1239 * Authenticates the sudo key and dispatches a function call with `Root` origin.1240 * 1241 * The dispatch origin for this call must be _Signed_.1242 * 1243 * # <weight>1244 * - O(1).1245 * - Limited storage reads.1246 * - One DB write (event).1247 * - Weight of derivative `call` execution + 10,000.1248 * # </weight>1249 **/1250 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;1251 /**1252 * Authenticates the sudo key and dispatches a function call with `Signed` origin from1253 * a given account.1254 * 1255 * The dispatch origin for this call must be _Signed_.1256 * 1257 * # <weight>1258 * - O(1).1259 * - Limited storage reads.1260 * - One DB write (event).1261 * - Weight of derivative `call` execution + 10,000.1262 * # </weight>1263 **/1264 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;1265 /**1266 * Authenticates the sudo key and dispatches a function call with `Root` origin.1267 * This function does not check the weight of the call, and instead allows the1268 * Sudo user to specify the weight of the call.1269 * 1270 * The dispatch origin for this call must be _Signed_.1271 * 1272 * # <weight>1273 * - O(1).1274 * - The weight of this call is defined by the caller.1275 * # </weight>1276 **/1277 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;1278 /**1279 * Generic tx1280 **/1281 [key: string]: SubmittableExtrinsicFunction<ApiType>;1282 };1283 system: {1284 /**1285 * Kill all storage items with a key that starts with the given prefix.1286 * 1287 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under1288 * the prefix we are removing to accurately calculate the weight of this function.1289 **/1290 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;1291 /**1292 * Kill some items from storage.1293 **/1294 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;1295 /**1296 * Make some on-chain remark.1297 * 1298 * # <weight>1299 * - `O(1)`1300 * # </weight>1301 **/1302 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1303 /**1304 * Make some on-chain remark and emit event.1305 **/1306 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1307 /**1308 * Set the new runtime code.1309 * 1310 * # <weight>1311 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`1312 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is1313 * expensive).1314 * - 1 storage write (codec `O(C)`).1315 * - 1 digest item.1316 * - 1 event.1317 * The weight of this function is dependent on the runtime, but generally this is very1318 * expensive. We will treat this as a full block.1319 * # </weight>1320 **/1321 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1322 /**1323 * Set the new runtime code without doing any checks of the given `code`.1324 * 1325 * # <weight>1326 * - `O(C)` where `C` length of `code`1327 * - 1 storage write (codec `O(C)`).1328 * - 1 digest item.1329 * - 1 event.1330 * The weight of this function is dependent on the runtime. We will treat this as a full1331 * block. # </weight>1332 **/1333 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1334 /**1335 * Set the number of pages in the WebAssembly environment's heap.1336 **/1337 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1338 /**1339 * Set some items of storage.1340 **/1341 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;1342 /**1343 * Generic tx1344 **/1345 [key: string]: SubmittableExtrinsicFunction<ApiType>;1346 };1347 testUtils: {1348 batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;1349 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1350 incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1351 justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1352 setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1353 setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1354 /**1355 * Generic tx1356 **/1357 [key: string]: SubmittableExtrinsicFunction<ApiType>;1358 };1359 timestamp: {1360 /**1361 * Set the current time.1362 * 1363 * This call should be invoked exactly once per block. It will panic at the finalization1364 * phase, if this call hasn't been invoked by that time.1365 * 1366 * The timestamp should be greater than the previous one by the amount specified by1367 * `MinimumPeriod`.1368 * 1369 * The dispatch origin for this call must be `Inherent`.1370 * 1371 * # <weight>1372 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1373 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1374 * `on_finalize`)1375 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1376 * # </weight>1377 **/1378 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1379 /**1380 * Generic tx1381 **/1382 [key: string]: SubmittableExtrinsicFunction<ApiType>;1383 };1384 tokens: {1385 /**1386 * Exactly as `transfer`, except the origin must be root and the source1387 * account may be specified.1388 * 1389 * The dispatch origin for this call must be _Root_.1390 * 1391 * - `source`: The sender of the transfer.1392 * - `dest`: The recipient of the transfer.1393 * - `currency_id`: currency type.1394 * - `amount`: free balance amount to tranfer.1395 **/1396 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1397 /**1398 * Set the balances of a given account.1399 * 1400 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1401 * will also decrease the total issuance of the system1402 * (`TotalIssuance`). If the new free or reserved balance is below the1403 * existential deposit, it will reap the `AccountInfo`.1404 * 1405 * The dispatch origin for this call is `root`.1406 **/1407 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>, Compact<u128>]>;1408 /**1409 * Transfer some liquid free balance to another account.1410 * 1411 * `transfer` will set the `FreeBalance` of the sender and receiver.1412 * It will decrease the total issuance of the system by the1413 * `TransferFee`. If the sender's account is below the existential1414 * deposit as a result of the transfer, the account will be reaped.1415 * 1416 * The dispatch origin for this call must be `Signed` by the1417 * transactor.1418 * 1419 * - `dest`: The recipient of the transfer.1420 * - `currency_id`: currency type.1421 * - `amount`: free balance amount to tranfer.1422 **/1423 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1424 /**1425 * Transfer all remaining balance to the given account.1426 * 1427 * NOTE: This function only attempts to transfer _transferable_1428 * balances. This means that any locked, reserved, or existential1429 * deposits (when `keep_alive` is `true`), will not be transferred by1430 * this function. To ensure that this function results in a killed1431 * account, you might need to prepare the account by removing any1432 * reference counters, storage deposits, etc...1433 * 1434 * The dispatch origin for this call must be `Signed` by the1435 * transactor.1436 * 1437 * - `dest`: The recipient of the transfer.1438 * - `currency_id`: currency type.1439 * - `keep_alive`: A boolean to determine if the `transfer_all`1440 * operation should send all of the funds the account has, causing1441 * the sender account to be killed (false), or transfer everything1442 * except at least the existential deposit, which will guarantee to1443 * keep the sender account alive (true).1444 **/1445 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, bool]>;1446 /**1447 * Same as the [`transfer`] call, but with a check that the transfer1448 * will not kill the origin account.1449 * 1450 * 99% of the time you want [`transfer`] instead.1451 * 1452 * The dispatch origin for this call must be `Signed` by the1453 * transactor.1454 * 1455 * - `dest`: The recipient of the transfer.1456 * - `currency_id`: currency type.1457 * - `amount`: free balance amount to tranfer.1458 **/1459 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1460 /**1461 * Generic tx1462 **/1463 [key: string]: SubmittableExtrinsicFunction<ApiType>;1464 };1465 treasury: {1466 /**1467 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1468 * and the original deposit will be returned.1469 * 1470 * May only be called from `T::ApproveOrigin`.1471 * 1472 * # <weight>1473 * - Complexity: O(1).1474 * - DbReads: `Proposals`, `Approvals`1475 * - DbWrite: `Approvals`1476 * # </weight>1477 **/1478 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1479 /**1480 * Put forward a suggestion for spending. A deposit proportional to the value1481 * is reserved and slashed if the proposal is rejected. It is returned once the1482 * proposal is awarded.1483 * 1484 * # <weight>1485 * - Complexity: O(1)1486 * - DbReads: `ProposalCount`, `origin account`1487 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1488 * # </weight>1489 **/1490 proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1491 /**1492 * Reject a proposed spend. The original deposit will be slashed.1493 * 1494 * May only be called from `T::RejectOrigin`.1495 * 1496 * # <weight>1497 * - Complexity: O(1)1498 * - DbReads: `Proposals`, `rejected proposer account`1499 * - DbWrites: `Proposals`, `rejected proposer account`1500 * # </weight>1501 **/1502 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1503 /**1504 * Force a previously approved proposal to be removed from the approval queue.1505 * The original deposit will no longer be returned.1506 * 1507 * May only be called from `T::RejectOrigin`.1508 * - `proposal_id`: The index of a proposal1509 * 1510 * # <weight>1511 * - Complexity: O(A) where `A` is the number of approvals1512 * - Db reads and writes: `Approvals`1513 * # </weight>1514 * 1515 * Errors:1516 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1517 * i.e., the proposal has not been approved. This could also mean the proposal does not1518 * exist altogether, thus there is no way it would have been approved in the first place.1519 **/1520 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1521 /**1522 * Propose and approve a spend of treasury funds.1523 * 1524 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1525 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1526 * - `beneficiary`: The destination account for the transfer.1527 * 1528 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1529 * beneficiary.1530 **/1531 spend: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1532 /**1533 * Generic tx1534 **/1535 [key: string]: SubmittableExtrinsicFunction<ApiType>;1536 };1537 unique: {1538 /**1539 * Add an admin to a collection.1540 * 1541 * NFT Collection can be controlled by multiple admin addresses1542 * (some which can also be servers, for example). Admins can issue1543 * and burn NFTs, as well as add and remove other admins,1544 * but cannot change NFT or Collection ownership.1545 * 1546 * # Permissions1547 * 1548 * * Collection owner1549 * * Collection admin1550 * 1551 * # Arguments1552 * 1553 * * `collection_id`: ID of the Collection to add an admin for.1554 * * `new_admin`: Address of new admin to add.1555 **/1556 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1557 /**1558 * Add an address to allow list.1559 * 1560 * # Permissions1561 * 1562 * * Collection owner1563 * * Collection admin1564 * 1565 * # Arguments1566 * 1567 * * `collection_id`: ID of the modified collection.1568 * * `address`: ID of the address to be added to the allowlist.1569 **/1570 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1571 /**1572 * Allow a non-permissioned address to transfer or burn an item.1573 * 1574 * # Permissions1575 * 1576 * * Collection owner1577 * * Collection admin1578 * * Current item owner1579 * 1580 * # Arguments1581 * 1582 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1583 * * `collection_id`: ID of the collection the item belongs to.1584 * * `item_id`: ID of the item transactions on which are now approved.1585 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1586 * Set to 0 to revoke the approval.1587 **/1588 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1589 /**1590 * Destroy a token on behalf of the owner as a non-owner account.1591 * 1592 * See also: [`approve`][`Pallet::approve`].1593 * 1594 * After this method executes, one approval is removed from the total so that1595 * the approved address will not be able to transfer this item again from this owner.1596 * 1597 * # Permissions1598 * 1599 * * Collection owner1600 * * Collection admin1601 * * Current token owner1602 * * Address approved by current item owner1603 * 1604 * # Arguments1605 * 1606 * * `from`: The owner of the burning item.1607 * * `collection_id`: ID of the collection to which the item belongs.1608 * * `item_id`: ID of item to burn.1609 * * `value`: Number of pieces to burn.1610 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1611 * * Fungible Mode: The desired number of pieces to burn.1612 * * Re-Fungible Mode: The desired number of pieces to burn.1613 **/1614 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;1615 /**1616 * Destroy an item.1617 * 1618 * # Permissions1619 * 1620 * * Collection owner1621 * * Collection admin1622 * * Current item owner1623 * 1624 * # Arguments1625 * 1626 * * `collection_id`: ID of the collection to which the item belongs.1627 * * `item_id`: ID of item to burn.1628 * * `value`: Number of pieces of the item to destroy.1629 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1630 * * Fungible Mode: The desired number of pieces to burn.1631 * * Re-Fungible Mode: The desired number of pieces to burn.1632 **/1633 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1634 /**1635 * Change the owner of the collection.1636 * 1637 * # Permissions1638 * 1639 * * Collection owner1640 * 1641 * # Arguments1642 * 1643 * * `collection_id`: ID of the modified collection.1644 * * `new_owner`: ID of the account that will become the owner.1645 **/1646 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1647 /**1648 * Confirm own sponsorship of a collection, becoming the sponsor.1649 * 1650 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1651 * Sponsor can pay the fees of a transaction instead of the sender,1652 * but only within specified limits.1653 * 1654 * # Permissions1655 * 1656 * * Sponsor-to-be1657 * 1658 * # Arguments1659 * 1660 * * `collection_id`: ID of the collection with the pending sponsor.1661 **/1662 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1663 /**1664 * Create a collection of tokens.1665 * 1666 * Each Token may have multiple properties encoded as an array of bytes1667 * of certain length. The initial owner of the collection is set1668 * to the address that signed the transaction and can be changed later.1669 * 1670 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1671 * 1672 * # Permissions1673 * 1674 * * Anyone - becomes the owner of the new collection.1675 * 1676 * # Arguments1677 * 1678 * * `collection_name`: Wide-character string with collection name1679 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1680 * * `collection_description`: Wide-character string with collection description1681 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1682 * * `token_prefix`: Byte string containing the token prefix to mark a collection1683 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1684 * * `mode`: Type of items stored in the collection and type dependent data.1685 **/1686 createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, UpDataStructsCollectionMode]>;1687 /**1688 * Create a collection with explicit parameters.1689 * 1690 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1691 * 1692 * # Permissions1693 * 1694 * * Anyone - becomes the owner of the new collection.1695 * 1696 * # Arguments1697 * 1698 * * `data`: Explicit data of a collection used for its creation.1699 **/1700 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; pendingSponsor?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;1701 /**1702 * Mint an item within a collection.1703 * 1704 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1705 * 1706 * # Permissions1707 * 1708 * * Collection owner1709 * * Collection admin1710 * * Anyone if1711 * * Allow List is enabled, and1712 * * Address is added to allow list, and1713 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1714 * 1715 * # Arguments1716 * 1717 * * `collection_id`: ID of the collection to which an item would belong.1718 * * `owner`: Address of the initial owner of the item.1719 * * `data`: Token data describing the item to store on chain.1720 **/1721 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;1722 /**1723 * Create multiple items within a collection.1724 * 1725 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1726 * 1727 * # Permissions1728 * 1729 * * Collection owner1730 * * Collection admin1731 * * Anyone if1732 * * Allow List is enabled, and1733 * * Address is added to the allow list, and1734 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1735 * 1736 * # Arguments1737 * 1738 * * `collection_id`: ID of the collection to which the tokens would belong.1739 * * `owner`: Address of the initial owner of the tokens.1740 * * `items_data`: Vector of data describing each item to be created.1741 **/1742 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;1743 /**1744 * Create multiple items within a collection with explicitly specified initial parameters.1745 * 1746 * # Permissions1747 * 1748 * * Collection owner1749 * * Collection admin1750 * * Anyone if1751 * * Allow List is enabled, and1752 * * Address is added to allow list, and1753 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1754 * 1755 * # Arguments1756 * 1757 * * `collection_id`: ID of the collection to which the tokens would belong.1758 * * `data`: Explicit item creation data.1759 **/1760 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1761 /**1762 * Delete specified collection properties.1763 * 1764 * # Permissions1765 * 1766 * * Collection Owner1767 * * Collection Admin1768 * 1769 * # Arguments1770 * 1771 * * `collection_id`: ID of the modified collection.1772 * * `property_keys`: Vector of keys of the properties to be deleted.1773 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1774 **/1775 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1776 /**1777 * Delete specified token properties. Currently properties only work with NFTs.1778 * 1779 * # Permissions1780 * 1781 * * Depends on collection's token property permissions and specified property mutability:1782 * * Collection owner1783 * * Collection admin1784 * * Token owner1785 * 1786 * # Arguments1787 * 1788 * * `collection_id`: ID of the collection to which the token belongs.1789 * * `token_id`: ID of the modified token.1790 * * `property_keys`: Vector of keys of the properties to be deleted.1791 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1792 **/1793 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1794 /**1795 * Destroy a collection if no tokens exist within.1796 * 1797 * # Permissions1798 * 1799 * * Collection owner1800 * 1801 * # Arguments1802 * 1803 * * `collection_id`: Collection to destroy.1804 **/1805 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1806 /**1807 * Repairs a collection if the data was somehow corrupted.1808 * 1809 * # Arguments1810 * 1811 * * `collection_id`: ID of the collection to repair.1812 **/1813 forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1814 /**1815 * Repairs a token if the data was somehow corrupted.1816 * 1817 * # Arguments1818 * 1819 * * `collection_id`: ID of the collection the item belongs to.1820 * * `item_id`: ID of the item.1821 **/1822 forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1823 /**1824 * Remove admin of a collection.1825 * 1826 * An admin address can remove itself. List of admins may become empty,1827 * in which case only Collection Owner will be able to add an Admin.1828 * 1829 * # Permissions1830 * 1831 * * Collection owner1832 * * Collection admin1833 * 1834 * # Arguments1835 * 1836 * * `collection_id`: ID of the collection to remove the admin for.1837 * * `account_id`: Address of the admin to remove.1838 **/1839 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1840 /**1841 * Remove a collection's a sponsor, making everyone pay for their own transactions.1842 * 1843 * # Permissions1844 * 1845 * * Collection owner1846 * 1847 * # Arguments1848 * 1849 * * `collection_id`: ID of the collection with the sponsor to remove.1850 **/1851 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1852 /**1853 * Remove an address from allow list.1854 * 1855 * # Permissions1856 * 1857 * * Collection owner1858 * * Collection admin1859 * 1860 * # Arguments1861 * 1862 * * `collection_id`: ID of the modified collection.1863 * * `address`: ID of the address to be removed from the allowlist.1864 **/1865 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1866 /**1867 * Re-partition a refungible token, while owning all of its parts/pieces.1868 * 1869 * # Permissions1870 * 1871 * * Token owner (must own every part)1872 * 1873 * # Arguments1874 * 1875 * * `collection_id`: ID of the collection the RFT belongs to.1876 * * `token_id`: ID of the RFT.1877 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1878 **/1879 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1880 /**1881 * Sets or unsets the approval of a given operator.1882 * 1883 * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.1884 * 1885 * # Arguments1886 * 1887 * * `owner`: Token owner1888 * * `operator`: Operator1889 * * `approve`: Should operator status be granted or revoked?1890 **/1891 setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1892 /**1893 * Set specific limits of a collection. Empty, or None fields mean chain default.1894 * 1895 * # Permissions1896 * 1897 * * Collection owner1898 * * Collection admin1899 * 1900 * # Arguments1901 * 1902 * * `collection_id`: ID of the modified collection.1903 * * `new_limit`: New limits of the collection. Fields that are not set (None)1904 * will not overwrite the old ones.1905 **/1906 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;1907 /**1908 * Set specific permissions of a collection. Empty, or None fields mean chain default.1909 * 1910 * # Permissions1911 * 1912 * * Collection owner1913 * * Collection admin1914 * 1915 * # Arguments1916 * 1917 * * `collection_id`: ID of the modified collection.1918 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1919 * will not overwrite the old ones.1920 **/1921 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1922 /**1923 * Add or change collection properties.1924 * 1925 * # Permissions1926 * 1927 * * Collection owner1928 * * Collection admin1929 * 1930 * # Arguments1931 * 1932 * * `collection_id`: ID of the modified collection.1933 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1934 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1935 **/1936 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1937 /**1938 * Set (invite) a new collection sponsor.1939 * 1940 * If successful, confirmation from the sponsor-to-be will be pending.1941 * 1942 * # Permissions1943 * 1944 * * Collection owner1945 * * Collection admin1946 * 1947 * # Arguments1948 * 1949 * * `collection_id`: ID of the modified collection.1950 * * `new_sponsor`: ID of the account of the sponsor-to-be.1951 **/1952 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1953 /**1954 * Add or change token properties according to collection's permissions.1955 * Currently properties only work with NFTs.1956 * 1957 * # Permissions1958 * 1959 * * Depends on collection's token property permissions and specified property mutability:1960 * * Collection owner1961 * * Collection admin1962 * * Token owner1963 * 1964 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1965 * 1966 * # Arguments1967 * 1968 * * `collection_id: ID of the collection to which the token belongs.1969 * * `token_id`: ID of the modified token.1970 * * `properties`: Vector of key-value pairs stored as the token's metadata.1971 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1972 **/1973 setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<UpDataStructsProperty>]>;1974 /**1975 * Add or change token property permissions of a collection.1976 * 1977 * Without a permission for a particular key, a property with that key1978 * cannot be created in a token.1979 * 1980 * # Permissions1981 * 1982 * * Collection owner1983 * * Collection admin1984 * 1985 * # Arguments1986 * 1987 * * `collection_id`: ID of the modified collection.1988 * * `property_permissions`: Vector of permissions for property keys.1989 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1990 **/1991 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1992 /**1993 * Completely allow or disallow transfers for a particular collection.1994 * 1995 * # Permissions1996 * 1997 * * Collection owner1998 * 1999 * # Arguments2000 * 2001 * * `collection_id`: ID of the collection.2002 * * `value`: New value of the flag, are transfers allowed?2003 **/2004 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;2005 /**2006 * Change ownership of the token.2007 * 2008 * # Permissions2009 * 2010 * * Collection owner2011 * * Collection admin2012 * * Current token owner2013 * 2014 * # Arguments2015 * 2016 * * `recipient`: Address of token recipient.2017 * * `collection_id`: ID of the collection the item belongs to.2018 * * `item_id`: ID of the item.2019 * * Non-Fungible Mode: Required.2020 * * Fungible Mode: Ignored.2021 * * Re-Fungible Mode: Required.2022 * 2023 * * `value`: Amount to transfer.2024 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.2025 * * Fungible Mode: The desired number of pieces to transfer.2026 * * Re-Fungible Mode: The desired number of pieces to transfer.2027 **/2028 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;2029 /**2030 * Change ownership of an item on behalf of the owner as a non-owner account.2031 * 2032 * See the [`approve`][`Pallet::approve`] method for additional information.2033 * 2034 * After this method executes, one approval is removed from the total so that2035 * the approved address will not be able to transfer this item again from this owner.2036 * 2037 * # Permissions2038 * 2039 * * Collection owner2040 * * Collection admin2041 * * Current item owner2042 * * Address approved by current item owner2043 * 2044 * # Arguments2045 * 2046 * * `from`: Address that currently owns the token.2047 * * `recipient`: Address of the new token-owner-to-be.2048 * * `collection_id`: ID of the collection the item.2049 * * `item_id`: ID of the item to be transferred.2050 * * `value`: Amount to transfer.2051 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.2052 * * Fungible Mode: The desired number of pieces to transfer.2053 * * Re-Fungible Mode: The desired number of pieces to transfer.2054 **/2055 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;2056 /**2057 * Generic tx2058 **/2059 [key: string]: SubmittableExtrinsicFunction<ApiType>;2060 };2061 vesting: {2062 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2063 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;2064 updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, vestingSchedules: Vec<OrmlVestingVestingSchedule> | (OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [MultiAddress, Vec<OrmlVestingVestingSchedule>]>;2065 vestedTransfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, OrmlVestingVestingSchedule]>;2066 /**2067 * Generic tx2068 **/2069 [key: string]: SubmittableExtrinsicFunction<ApiType>;2070 };2071 xcmpQueue: {2072 /**2073 * Resumes all XCM executions for the XCMP queue.2074 * 2075 * Note that this function doesn't change the status of the in/out bound channels.2076 * 2077 * - `origin`: Must pass `ControllerOrigin`.2078 **/2079 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2080 /**2081 * Services a single overweight XCM.2082 * 2083 * - `origin`: Must pass `ExecuteOverweightOrigin`.2084 * - `index`: The index of the overweight XCM to service2085 * - `weight_limit`: The amount of weight that XCM execution may take.2086 * 2087 * Errors:2088 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.2089 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.2090 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.2091 * 2092 * Events:2093 * - `OverweightServiced`: On success.2094 **/2095 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;2096 /**2097 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.2098 * 2099 * - `origin`: Must pass `ControllerOrigin`.2100 **/2101 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2102 /**2103 * Overwrites the number of pages of messages which must be in the queue after which we drop any further2104 * messages from the channel.2105 * 2106 * - `origin`: Must pass `Root`.2107 * - `new`: Desired value for `QueueConfigData.drop_threshold`2108 **/2109 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2110 /**2111 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that2112 * message sending may recommence after it has been suspended.2113 * 2114 * - `origin`: Must pass `Root`.2115 * - `new`: Desired value for `QueueConfigData.resume_threshold`2116 **/2117 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2118 /**2119 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to2120 * suspend their sending.2121 * 2122 * - `origin`: Must pass `Root`.2123 * - `new`: Desired value for `QueueConfigData.suspend_value`2124 **/2125 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2126 /**2127 * Overwrites the amount of remaining weight under which we stop processing messages.2128 * 2129 * - `origin`: Must pass `Root`.2130 * - `new`: Desired value for `QueueConfigData.threshold_weight`2131 **/2132 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2133 /**2134 * Overwrites the speed to which the available weight approaches the maximum weight.2135 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.2136 * 2137 * - `origin`: Must pass `Root`.2138 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.2139 **/2140 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2141 /**2142 * Overwrite the maximum amount of weight any individual message may consume.2143 * Messages above this weight go into the overweight queue and may only be serviced explicitly.2144 * 2145 * - `origin`: Must pass `Root`.2146 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.2147 **/2148 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2149 /**2150 * Generic tx2151 **/2152 [key: string]: SubmittableExtrinsicFunction<ApiType>;2153 };2154 xTokens: {2155 /**2156 * Transfer native currencies.2157 * 2158 * `dest_weight_limit` is the weight for XCM execution on the dest2159 * chain, and it would be charged from the transferred assets. If set2160 * below requirements, the execution may fail and assets wouldn't be2161 * received.2162 * 2163 * It's a no-op if any error on local XCM execution or message sending.2164 * Note sending assets out per se doesn't guarantee they would be2165 * received. Receiving depends on if the XCM message could be delivered2166 * by the network, and if the receiving chain would handle2167 * messages correctly.2168 **/2169 transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2170 /**2171 * Transfer `MultiAsset`.2172 * 2173 * `dest_weight_limit` is the weight for XCM execution on the dest2174 * chain, and it would be charged from the transferred assets. If set2175 * below requirements, the execution may fail and assets wouldn't be2176 * received.2177 * 2178 * It's a no-op if any error on local XCM execution or message sending.2179 * Note sending assets out per se doesn't guarantee they would be2180 * received. Receiving depends on if the XCM message could be delivered2181 * by the network, and if the receiving chain would handle2182 * messages correctly.2183 **/2184 transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2185 /**2186 * Transfer several `MultiAsset` specifying the item to be used as fee2187 * 2188 * `dest_weight_limit` is the weight for XCM execution on the dest2189 * chain, and it would be charged from the transferred assets. If set2190 * below requirements, the execution may fail and assets wouldn't be2191 * received.2192 * 2193 * `fee_item` is index of the MultiAssets that we want to use for2194 * payment2195 * 2196 * It's a no-op if any error on local XCM execution or message sending.2197 * Note sending assets out per se doesn't guarantee they would be2198 * received. Receiving depends on if the XCM message could be delivered2199 * by the network, and if the receiving chain would handle2200 * messages correctly.2201 **/2202 transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2203 /**2204 * Transfer `MultiAsset` specifying the fee and amount as separate.2205 * 2206 * `dest_weight_limit` is the weight for XCM execution on the dest2207 * chain, and it would be charged from the transferred assets. If set2208 * below requirements, the execution may fail and assets wouldn't be2209 * received.2210 * 2211 * `fee` is the multiasset to be spent to pay for execution in2212 * destination chain. Both fee and amount will be subtracted form the2213 * callers balance For now we only accept fee and asset having the same2214 * `MultiLocation` id.2215 * 2216 * If `fee` is not high enough to cover for the execution costs in the2217 * destination chain, then the assets will be trapped in the2218 * destination chain2219 * 2220 * It's a no-op if any error on local XCM execution or message sending.2221 * Note sending assets out per se doesn't guarantee they would be2222 * received. Receiving depends on if the XCM message could be delivered2223 * by the network, and if the receiving chain would handle2224 * messages correctly.2225 **/2226 transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, fee: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2227 /**2228 * Transfer several currencies specifying the item to be used as fee2229 * 2230 * `dest_weight_limit` is the weight for XCM execution on the dest2231 * chain, and it would be charged from the transferred assets. If set2232 * below requirements, the execution may fail and assets wouldn't be2233 * received.2234 * 2235 * `fee_item` is index of the currencies tuple that we want to use for2236 * payment2237 * 2238 * It's a no-op if any error on local XCM execution or message sending.2239 * Note sending assets out per se doesn't guarantee they would be2240 * received. Receiving depends on if the XCM message could be delivered2241 * by the network, and if the receiving chain would handle2242 * messages correctly.2243 **/2244 transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2245 /**2246 * Transfer native currencies specifying the fee and amount as2247 * separate.2248 * 2249 * `dest_weight_limit` is the weight for XCM execution on the dest2250 * chain, and it would be charged from the transferred assets. If set2251 * below requirements, the execution may fail and assets wouldn't be2252 * received.2253 * 2254 * `fee` is the amount to be spent to pay for execution in destination2255 * chain. Both fee and amount will be subtracted form the callers2256 * balance.2257 * 2258 * If `fee` is not high enough to cover for the execution costs in the2259 * destination chain, then the assets will be trapped in the2260 * destination chain2261 * 2262 * It's a no-op if any error on local XCM execution or message sending.2263 * Note sending assets out per se doesn't guarantee they would be2264 * received. Receiving depends on if the XCM message could be delivered2265 * by the network, and if the receiving chain would handle2266 * messages correctly.2267 **/2268 transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2269 /**2270 * Generic tx2271 **/2272 [key: string]: SubmittableExtrinsicFunction<ApiType>;2273 };2274 } // AugmentedSubmittables2275} // declare module1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/submittable';78import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';9import type { Data } from '@polkadot/types';10import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';11import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';12import type { AccountId32, Call, H160, H256, MultiAddress, Permill } from '@polkadot/types/interfaces/runtime';13import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';1415export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;16export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;17export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;1819declare module '@polkadot/api-base/types/submittable' {20 interface AugmentedSubmittables<ApiType extends ApiTypes> {21 appPromotion: {22 /**23 * Recalculates interest for the specified number of stakers.24 * If all stakers are not recalculated, the next call of the extrinsic25 * will continue the recalculation, from those stakers for whom this26 * was not perform in last call.27 * 28 * # Permissions29 * 30 * * Pallet admin31 * 32 * # Arguments33 * 34 * * `stakers_number`: the number of stakers for which recalculation will be performed35 **/36 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;37 /**38 * Sets an address as the the admin.39 * 40 * # Permissions41 * 42 * * Sudo43 * 44 * # Arguments45 * 46 * * `admin`: account of the new admin.47 **/48 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;49 /**50 * Sets the pallet to be the sponsor for the collection.51 * 52 * # Permissions53 * 54 * * Pallet admin55 * 56 * # Arguments57 * 58 * * `collection_id`: ID of the collection that will be sponsored by `pallet_id`59 **/60 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;61 /**62 * Sets the pallet to be the sponsor for the contract.63 * 64 * # Permissions65 * 66 * * Pallet admin67 * 68 * # Arguments69 * 70 * * `contract_id`: the contract address that will be sponsored by `pallet_id`71 **/72 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;73 /**74 * Stakes the amount of native tokens.75 * Sets `amount` to the locked state.76 * The maximum number of stakes for a staker is 10.77 * 78 * # Arguments79 * 80 * * `amount`: in native tokens.81 **/82 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;83 /**84 * Removes the pallet as the sponsor for the collection.85 * Returns [`NoPermission`][`Error::NoPermission`]86 * if the pallet wasn't the sponsor.87 * 88 * # Permissions89 * 90 * * Pallet admin91 * 92 * # Arguments93 * 94 * * `collection_id`: ID of the collection that is sponsored by `pallet_id`95 **/96 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;97 /**98 * Removes the pallet as the sponsor for the contract.99 * Returns [`NoPermission`][`Error::NoPermission`]100 * if the pallet wasn't the sponsor.101 * 102 * # Permissions103 * 104 * * Pallet admin105 * 106 * # Arguments107 * 108 * * `contract_id`: the contract address that is sponsored by `pallet_id`109 **/110 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;111 /**112 * Unstakes all stakes.113 * Moves the sum of all stakes to the `reserved` state.114 * After the end of `PendingInterval` this sum becomes completely115 * free for further use.116 **/117 unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;118 /**119 * Generic tx120 **/121 [key: string]: SubmittableExtrinsicFunction<ApiType>;122 };123 authorship: {124 /**125 * Provide a set of uncles.126 **/127 setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;128 /**129 * Generic tx130 **/131 [key: string]: SubmittableExtrinsicFunction<ApiType>;132 };133 balances: {134 /**135 * Exactly as `transfer`, except the origin must be root and the source account may be136 * specified.137 * # <weight>138 * - Same as transfer, but additional read and write because the source account is not139 * assumed to be in the overlay.140 * # </weight>141 **/142 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;143 /**144 * Unreserve some balance from a user by force.145 * 146 * Can only be called by ROOT.147 **/148 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;149 /**150 * Set the balances of a given account.151 * 152 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will153 * also alter the total issuance of the system (`TotalIssuance`) appropriately.154 * If the new free or reserved balance is below the existential deposit,155 * it will reset the account nonce (`frame_system::AccountNonce`).156 * 157 * The dispatch origin for this call is `root`.158 **/159 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;160 /**161 * Transfer some liquid free balance to another account.162 * 163 * `transfer` will set the `FreeBalance` of the sender and receiver.164 * If the sender's account is below the existential deposit as a result165 * of the transfer, the account will be reaped.166 * 167 * The dispatch origin for this call must be `Signed` by the transactor.168 * 169 * # <weight>170 * - Dependent on arguments but not critical, given proper implementations for input config171 * types. See related functions below.172 * - It contains a limited number of reads and writes internally and no complex173 * computation.174 * 175 * Related functions:176 * 177 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.178 * - Transferring balances to accounts that did not exist before will cause179 * `T::OnNewAccount::on_new_account` to be called.180 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.181 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check182 * that the transfer will not kill the origin account.183 * ---------------------------------184 * - Origin account is already in memory, so no DB operations for them.185 * # </weight>186 **/187 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;188 /**189 * Transfer the entire transferable balance from the caller account.190 * 191 * NOTE: This function only attempts to transfer _transferable_ balances. This means that192 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be193 * transferred by this function. To ensure that this function results in a killed account,194 * you might need to prepare the account by removing any reference counters, storage195 * deposits, etc...196 * 197 * The dispatch origin of this call must be Signed.198 * 199 * - `dest`: The recipient of the transfer.200 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all201 * of the funds the account has, causing the sender account to be killed (false), or202 * transfer everything except at least the existential deposit, which will guarantee to203 * keep the sender account alive (true). # <weight>204 * - O(1). Just like transfer, but reading the user's transferable balance first.205 * #</weight>206 **/207 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;208 /**209 * Same as the [`transfer`] call, but with a check that the transfer will not kill the210 * origin account.211 * 212 * 99% of the time you want [`transfer`] instead.213 * 214 * [`transfer`]: struct.Pallet.html#method.transfer215 **/216 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;217 /**218 * Generic tx219 **/220 [key: string]: SubmittableExtrinsicFunction<ApiType>;221 };222 charging: {223 /**224 * Generic tx225 **/226 [key: string]: SubmittableExtrinsicFunction<ApiType>;227 };228 collatorSelection: {229 /**230 * Add a collator to the list of invulnerable (fixed) collators.231 **/232 addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;233 /**234 * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.235 * Note that the collator can only leave on session change.236 * The `LicenseBond` will be unreserved and returned immediately.237 * 238 * This call is, of course, not applicable to `Invulnerable` collators.239 **/240 forceReleaseLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;241 /**242 * Purchase a license on block collation for this account.243 * It does not make it a collator candidate, use `onboard` afterward. The account must244 * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.245 * 246 * This call is not available to `Invulnerable` collators.247 **/248 getLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;249 /**250 * Deregister `origin` as a collator candidate. Note that the collator can only leave on251 * session change. The license to `onboard` later at any other time will remain.252 **/253 offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;254 /**255 * Register this account as a candidate for collators for next sessions.256 * The account must already hold a license, and cannot offboard immediately during a session.257 * 258 * This call is not available to `Invulnerable` collators.259 **/260 onboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;261 /**262 * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.263 * 264 * This call is not available to `Invulnerable` collators.265 **/266 releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;267 /**268 * Remove a collator from the list of invulnerable (fixed) collators.269 **/270 removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;271 /**272 * Generic tx273 **/274 [key: string]: SubmittableExtrinsicFunction<ApiType>;275 };276 configuration: {277 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;278 setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;279 setCollatorSelectionKickThreshold: AugmentedSubmittable<(threshold: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;280 setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>]>;281 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;282 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;283 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;284 /**285 * Generic tx286 **/287 [key: string]: SubmittableExtrinsicFunction<ApiType>;288 };289 cumulusXcm: {290 /**291 * Generic tx292 **/293 [key: string]: SubmittableExtrinsicFunction<ApiType>;294 };295 dmpQueue: {296 /**297 * Service a single overweight message.298 * 299 * - `origin`: Must pass `ExecuteOverweightOrigin`.300 * - `index`: The index of the overweight message to service.301 * - `weight_limit`: The amount of weight that message execution may take.302 * 303 * Errors:304 * - `Unknown`: Message of `index` is unknown.305 * - `OverLimit`: Message execution may use greater than `weight_limit`.306 * 307 * Events:308 * - `OverweightServiced`: On success.309 **/310 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;311 /**312 * Generic tx313 **/314 [key: string]: SubmittableExtrinsicFunction<ApiType>;315 };316 ethereum: {317 /**318 * Transact an Ethereum transaction.319 **/320 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;321 /**322 * Generic tx323 **/324 [key: string]: SubmittableExtrinsicFunction<ApiType>;325 };326 evm: {327 /**328 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.329 **/330 call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;331 /**332 * Issue an EVM create operation. This is similar to a contract creation transaction in333 * Ethereum.334 **/335 create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;336 /**337 * Issue an EVM create2 operation.338 **/339 create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;340 /**341 * Withdraw balance from EVM into currency/balances pallet.342 **/343 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;344 /**345 * Generic tx346 **/347 [key: string]: SubmittableExtrinsicFunction<ApiType>;348 };349 evmMigration: {350 /**351 * Start contract migration, inserts contract stub at target address,352 * and marks account as pending, allowing to insert storage353 **/354 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;355 /**356 * Finish contract migration, allows it to be called.357 * It is not possible to alter contract storage via [`Self::set_data`]358 * after this call.359 **/360 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;361 /**362 * Create ethereum events attached to the fake transaction363 **/364 insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;365 /**366 * Create substrate events367 **/368 insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;369 /**370 * Insert items into contract storage, this method can be called371 * multiple times372 **/373 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;374 /**375 * Generic tx376 **/377 [key: string]: SubmittableExtrinsicFunction<ApiType>;378 };379 foreignAssets: {380 registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;381 updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;382 /**383 * Generic tx384 **/385 [key: string]: SubmittableExtrinsicFunction<ApiType>;386 };387 identity: {388 /**389 * Add a registrar to the system.390 * 391 * The dispatch origin for this call must be `T::RegistrarOrigin`.392 * 393 * - `account`: the account of the registrar.394 * 395 * Emits `RegistrarAdded` if successful.396 * 397 * # <weight>398 * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded).399 * - One storage mutation (codec `O(R)`).400 * - One event.401 * # </weight>402 **/403 addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;404 /**405 * Add the given account to the sender's subs.406 * 407 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated408 * to the sender.409 * 410 * The dispatch origin for this call must be _Signed_ and the sender must have a registered411 * sub identity of `sub`.412 **/413 addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;414 /**415 * Cancel a previous request.416 * 417 * Payment: A previously reserved deposit is returned on success.418 * 419 * The dispatch origin for this call must be _Signed_ and the sender must have a420 * registered identity.421 * 422 * - `reg_index`: The index of the registrar whose judgement is no longer requested.423 * 424 * Emits `JudgementUnrequested` if successful.425 * 426 * # <weight>427 * - `O(R + X)`.428 * - One balance-reserve operation.429 * - One storage mutation `O(R + X)`.430 * - One event431 * # </weight>432 **/433 cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;434 /**435 * Clear an account's identity info and all sub-accounts and return all deposits.436 * 437 * Payment: All reserved balances on the account are returned.438 * 439 * The dispatch origin for this call must be _Signed_ and the sender must have a registered440 * identity.441 * 442 * Emits `IdentityCleared` if successful.443 * 444 * # <weight>445 * - `O(R + S + X)`446 * - where `R` registrar-count (governance-bounded).447 * - where `S` subs-count (hard- and deposit-bounded).448 * - where `X` additional-field-count (deposit-bounded and code-bounded).449 * - One balance-unreserve operation.450 * - `2` storage reads and `S + 2` storage deletions.451 * - One event.452 * # </weight>453 **/454 clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;455 /**456 * Set identities to be associated with the provided accounts as force origin.457 * 458 * This is not meant to operate in tandem with the identity pallet as is,459 * and be instead used to keep identities made and verified externally,460 * forbidden from interacting with an ordinary user, since it ignores any safety mechanism.461 **/462 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]>>]>;463 /**464 * Remove identities associated with the provided accounts as force origin.465 * 466 * This is not meant to operate in tandem with the identity pallet as is,467 * and be instead used to keep identities made and verified externally,468 * forbidden from interacting with an ordinary user, since it ignores any safety mechanism.469 **/470 forceRemoveIdentities: AugmentedSubmittable<(identities: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;471 /**472 * Remove an account's identity and sub-account information and slash the deposits.473 * 474 * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by475 * `Slash`. Verification request deposits are not returned; they should be cancelled476 * manually using `cancel_request`.477 * 478 * The dispatch origin for this call must match `T::ForceOrigin`.479 * 480 * - `target`: the account whose identity the judgement is upon. This must be an account481 * with a registered identity.482 * 483 * Emits `IdentityKilled` if successful.484 * 485 * # <weight>486 * - `O(R + S + X)`.487 * - One balance-reserve operation.488 * - `S + 2` storage mutations.489 * - One event.490 * # </weight>491 **/492 killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;493 /**494 * Provide a judgement for an account's identity.495 * 496 * The dispatch origin for this call must be _Signed_ and the sender must be the account497 * of the registrar whose index is `reg_index`.498 * 499 * - `reg_index`: the index of the registrar whose judgement is being made.500 * - `target`: the account whose identity the judgement is upon. This must be an account501 * with a registered identity.502 * - `judgement`: the judgement of the registrar of index `reg_index` about `target`.503 * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.504 * 505 * Emits `JudgementGiven` if successful.506 * 507 * # <weight>508 * - `O(R + X)`.509 * - One balance-transfer operation.510 * - Up to one account-lookup operation.511 * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`.512 * - One event.513 * # </weight>514 **/515 provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;516 /**517 * Remove the sender as a sub-account.518 * 519 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated520 * to the sender (*not* the original depositor).521 * 522 * The dispatch origin for this call must be _Signed_ and the sender must have a registered523 * super-identity.524 * 525 * NOTE: This should not normally be used, but is provided in the case that the non-526 * controller of an account is maliciously registered as a sub-account.527 **/528 quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;529 /**530 * Remove the given account from the sender's subs.531 * 532 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated533 * to the sender.534 * 535 * The dispatch origin for this call must be _Signed_ and the sender must have a registered536 * sub identity of `sub`.537 **/538 removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;539 /**540 * Alter the associated name of the given sub-account.541 * 542 * The dispatch origin for this call must be _Signed_ and the sender must have a registered543 * sub identity of `sub`.544 **/545 renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;546 /**547 * Request a judgement from a registrar.548 * 549 * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement550 * given.551 * 552 * The dispatch origin for this call must be _Signed_ and the sender must have a553 * registered identity.554 * 555 * - `reg_index`: The index of the registrar whose judgement is requested.556 * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:557 * 558 * ```nocompile559 * Self::registrars().get(reg_index).unwrap().fee560 * ```561 * 562 * Emits `JudgementRequested` if successful.563 * 564 * # <weight>565 * - `O(R + X)`.566 * - One balance-reserve operation.567 * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`.568 * - One event.569 * # </weight>570 **/571 requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;572 /**573 * Change the account associated with a registrar.574 * 575 * The dispatch origin for this call must be _Signed_ and the sender must be the account576 * of the registrar whose index is `index`.577 * 578 * - `index`: the index of the registrar whose fee is to be set.579 * - `new`: the new account ID.580 * 581 * # <weight>582 * - `O(R)`.583 * - One storage mutation `O(R)`.584 * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)585 * # </weight>586 **/587 setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;588 /**589 * Set the fee required for a judgement to be requested from a registrar.590 * 591 * The dispatch origin for this call must be _Signed_ and the sender must be the account592 * of the registrar whose index is `index`.593 * 594 * - `index`: the index of the registrar whose fee is to be set.595 * - `fee`: the new fee.596 * 597 * # <weight>598 * - `O(R)`.599 * - One storage mutation `O(R)`.600 * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis)601 * # </weight>602 **/603 setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;604 /**605 * Set the field information for a registrar.606 * 607 * The dispatch origin for this call must be _Signed_ and the sender must be the account608 * of the registrar whose index is `index`.609 * 610 * - `index`: the index of the registrar whose fee is to be set.611 * - `fields`: the fields that the registrar concerns themselves with.612 * 613 * # <weight>614 * - `O(R)`.615 * - One storage mutation `O(R)`.616 * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis)617 * # </weight>618 **/619 setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;620 /**621 * Set an account's identity information and reserve the appropriate deposit.622 * 623 * If the account already has identity information, the deposit is taken as part payment624 * for the new deposit.625 * 626 * The dispatch origin for this call must be _Signed_.627 * 628 * - `info`: The identity information.629 * 630 * Emits `IdentitySet` if successful.631 * 632 * # <weight>633 * - `O(X + X' + R)`634 * - where `X` additional-field-count (deposit-bounded and code-bounded)635 * - where `R` judgements-count (registrar-count-bounded)636 * - One balance reserve operation.637 * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`).638 * - One event.639 * # </weight>640 **/641 setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityIdentityInfo]>;642 /**643 * Set the sub-accounts of the sender.644 * 645 * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned646 * and an amount `SubAccountDeposit` will be reserved for each item in `subs`.647 * 648 * The dispatch origin for this call must be _Signed_ and the sender must have a registered649 * identity.650 * 651 * - `subs`: The identity's (new) sub-accounts.652 * 653 * # <weight>654 * - `O(P + S)`655 * - where `P` old-subs-count (hard- and deposit-bounded).656 * - where `S` subs-count (hard- and deposit-bounded).657 * - At most one balance operations.658 * - DB:659 * - `P + S` storage mutations (codec complexity `O(1)`)660 * - One storage read (codec complexity `O(P)`).661 * - One storage write (codec complexity `O(S)`).662 * - One storage-exists (`IdentityOf::contains_key`).663 * # </weight>664 **/665 setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;666 /**667 * Generic tx668 **/669 [key: string]: SubmittableExtrinsicFunction<ApiType>;670 };671 inflation: {672 /**673 * This method sets the inflation start date. Can be only called once.674 * Inflation start block can be backdated and will catch up. The method will create Treasury675 * account if it does not exist and perform the first inflation deposit.676 * 677 * # Permissions678 * 679 * * Root680 * 681 * # Arguments682 * 683 * * inflation_start_relay_block: The relay chain block at which inflation should start684 **/685 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;686 /**687 * Generic tx688 **/689 [key: string]: SubmittableExtrinsicFunction<ApiType>;690 };691 maintenance: {692 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;693 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;694 /**695 * Generic tx696 **/697 [key: string]: SubmittableExtrinsicFunction<ApiType>;698 };699 parachainSystem: {700 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;701 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;702 /**703 * Set the current validation data.704 * 705 * This should be invoked exactly once per block. It will panic at the finalization706 * phase if the call was not invoked.707 * 708 * The dispatch origin for this call must be `Inherent`709 * 710 * As a side effect, this function upgrades the current validation function711 * if the appropriate time has come.712 **/713 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;714 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;715 /**716 * Generic tx717 **/718 [key: string]: SubmittableExtrinsicFunction<ApiType>;719 };720 polkadotXcm: {721 /**722 * Execute an XCM message from a local, signed, origin.723 * 724 * An event is deposited indicating whether `msg` could be executed completely or only725 * partially.726 * 727 * No more than `max_weight` will be used in its attempted execution. If this is less than the728 * maximum amount of weight that the message could take to be executed, then no execution729 * attempt will be made.730 * 731 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully732 * to completion; only that *some* of it was executed.733 **/734 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;735 /**736 * Set a safe XCM version (the version that XCM should be encoded with if the most recent737 * version a destination can accept is unknown).738 * 739 * - `origin`: Must be Root.740 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.741 **/742 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;743 /**744 * Ask a location to notify us regarding their XCM version and any changes to it.745 * 746 * - `origin`: Must be Root.747 * - `location`: The location to which we should subscribe for XCM version notifications.748 **/749 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;750 /**751 * Require that a particular destination should no longer notify us regarding any XCM752 * version changes.753 * 754 * - `origin`: Must be Root.755 * - `location`: The location to which we are currently subscribed for XCM version756 * notifications which we no longer desire.757 **/758 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;759 /**760 * Extoll that a particular destination can be communicated with through a particular761 * version of XCM.762 * 763 * - `origin`: Must be Root.764 * - `location`: The destination that is being described.765 * - `xcm_version`: The latest version of XCM that `location` supports.766 **/767 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;768 /**769 * Transfer some assets from the local chain to the sovereign account of a destination770 * chain and forward a notification XCM.771 * 772 * Fee payment on the destination side is made from the asset in the `assets` vector of773 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight774 * is needed than `weight_limit`, then the operation will fail and the assets send may be775 * at risk.776 * 777 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.778 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send779 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.780 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be781 * an `AccountId32` value.782 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the783 * `dest` side.784 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay785 * fees.786 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.787 **/788 limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;789 /**790 * Teleport some assets from the local chain to some destination chain.791 * 792 * Fee payment on the destination side is made from the asset in the `assets` vector of793 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight794 * is needed than `weight_limit`, then the operation will fail and the assets send may be795 * at risk.796 * 797 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.798 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send799 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.800 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be801 * an `AccountId32` value.802 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the803 * `dest` side. May not be empty.804 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay805 * fees.806 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.807 **/808 limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;809 /**810 * Transfer some assets from the local chain to the sovereign account of a destination811 * chain and forward a notification XCM.812 * 813 * Fee payment on the destination side is made from the asset in the `assets` vector of814 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,815 * with all fees taken as needed from the asset.816 * 817 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.818 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send819 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.820 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be821 * an `AccountId32` value.822 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the823 * `dest` side.824 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay825 * fees.826 **/827 reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;828 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;829 /**830 * Teleport some assets from the local chain to some destination chain.831 * 832 * Fee payment on the destination side is made from the asset in the `assets` vector of833 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,834 * with all fees taken as needed from the asset.835 * 836 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.837 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send838 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.839 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be840 * an `AccountId32` value.841 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the842 * `dest` side. May not be empty.843 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay844 * fees.845 **/846 teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;847 /**848 * Generic tx849 **/850 [key: string]: SubmittableExtrinsicFunction<ApiType>;851 };852 rmrkCore: {853 /**854 * Accept an NFT sent from another account to self or an owned NFT.855 * 856 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.857 * 858 * # Permissions:859 * - Token-owner-to-be860 * 861 * # Arguments:862 * - `origin`: sender of the transaction863 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.864 * - `rmrk_nft_id`: ID of the NFT to be accepted.865 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,866 * whichever the accepted NFT was sent to.867 **/868 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;869 /**870 * Accept the addition of a newly created pending resource to an existing NFT.871 * 872 * This transaction is needed when a resource is created and assigned to an NFT873 * by a non-owner, i.e. the collection issuer, with one of the874 * [`add_...` transactions](Pallet::add_basic_resource).875 * 876 * # Permissions:877 * - Token owner878 * 879 * # Arguments:880 * - `origin`: sender of the transaction881 * - `rmrk_collection_id`: RMRK collection ID of the NFT.882 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.883 * - `resource_id`: ID of the newly created pending resource.884 * accept the addition of a new resource to an existing NFT885 **/886 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;887 /**888 * Accept the removal of a removal-pending resource from an NFT.889 * 890 * This transaction is needed when a non-owner, i.e. the collection issuer,891 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.892 * 893 * # Permissions:894 * - Token owner895 * 896 * # Arguments:897 * - `origin`: sender of the transaction898 * - `rmrk_collection_id`: RMRK collection ID of the NFT.899 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.900 * - `resource_id`: ID of the removal-pending resource.901 **/902 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;903 /**904 * Create and set/propose a basic resource for an NFT.905 * 906 * A basic resource is the simplest, lacking a Base and anything that comes with it.907 * See RMRK docs for more information and examples.908 * 909 * # Permissions:910 * - Collection issuer - if not the token owner, adding the resource will warrant911 * the owner's [acceptance](Pallet::accept_resource).912 * 913 * # Arguments:914 * - `origin`: sender of the transaction915 * - `rmrk_collection_id`: RMRK collection ID of the NFT.916 * - `nft_id`: ID of the NFT to assign a resource to.917 * - `resource`: Data of the resource to be created.918 **/919 addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceBasicResource]>;920 /**921 * Create and set/propose a composable resource for an NFT.922 * 923 * A composable resource links to a Base and has a subset of its Parts it is composed of.924 * See RMRK docs for more information and examples.925 * 926 * # Permissions:927 * - Collection issuer - if not the token owner, adding the resource will warrant928 * the owner's [acceptance](Pallet::accept_resource).929 * 930 * # Arguments:931 * - `origin`: sender of the transaction932 * - `rmrk_collection_id`: RMRK collection ID of the NFT.933 * - `nft_id`: ID of the NFT to assign a resource to.934 * - `resource`: Data of the resource to be created.935 **/936 addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceComposableResource]>;937 /**938 * Create and set/propose a slot resource for an NFT.939 * 940 * A slot resource links to a Base and a slot ID in it which it can fit into.941 * See RMRK docs for more information and examples.942 * 943 * # Permissions:944 * - Collection issuer - if not the token owner, adding the resource will warrant945 * the owner's [acceptance](Pallet::accept_resource).946 * 947 * # Arguments:948 * - `origin`: sender of the transaction949 * - `rmrk_collection_id`: RMRK collection ID of the NFT.950 * - `nft_id`: ID of the NFT to assign a resource to.951 * - `resource`: Data of the resource to be created.952 **/953 addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;954 /**955 * Burn an NFT, destroying it and its nested tokens up to the specified limit.956 * If the burning budget is exceeded, the transaction is reverted.957 * 958 * This is the way to burn a nested token as well.959 * 960 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).961 * 962 * # Permissions:963 * * Token owner964 * 965 * # Arguments:966 * - `origin`: sender of the transaction967 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.968 * - `nft_id`: ID of the NFT to be destroyed.969 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction970 * is reverted if there are more tokens to burn in the nesting tree than this number.971 * This is primarily a mechanism of transaction weight control.972 **/973 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;974 /**975 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).976 * 977 * # Permissions:978 * * Collection issuer979 * 980 * # Arguments:981 * - `origin`: sender of the transaction982 * - `collection_id`: RMRK collection ID to change the issuer of.983 * - `new_issuer`: Collection's new issuer.984 **/985 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;986 /**987 * Create a new collection of NFTs.988 * 989 * # Permissions:990 * * Anyone - will be assigned as the issuer of the collection.991 * 992 * # Arguments:993 * - `origin`: sender of the transaction994 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.995 * - `max`: Optional maximum number of tokens.996 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.997 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.998 **/999 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;1000 /**1001 * Destroy a collection.1002 * 1003 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.1004 * 1005 * # Permissions:1006 * * Collection issuer1007 * 1008 * # Arguments:1009 * - `origin`: sender of the transaction1010 * - `collection_id`: RMRK ID of the collection to destroy.1011 **/1012 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1013 /**1014 * "Lock" the collection and prevent new token creation. Cannot be undone.1015 * 1016 * # Permissions:1017 * * Collection issuer1018 * 1019 * # Arguments:1020 * - `origin`: sender of the transaction1021 * - `collection_id`: RMRK ID of the collection to lock.1022 **/1023 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1024 /**1025 * Mint an NFT in a specified collection.1026 * 1027 * # Permissions:1028 * * Collection issuer1029 * 1030 * # Arguments:1031 * - `origin`: sender of the transaction1032 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).1033 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.1034 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.1035 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.1036 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.1037 * - `transferable`: Can this NFT be transferred? Cannot be changed.1038 * - `resources`: Resource data to be added to the NFT immediately after minting.1039 **/1040 mintNft: AugmentedSubmittable<(owner: Option<AccountId32> | null | Uint8Array | AccountId32 | string, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | Uint8Array | AccountId32 | string, royaltyAmount: Option<Permill> | null | Uint8Array | Permill | AnyNumber, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | Uint8Array | Vec<RmrkTraitsResourceResourceTypes> | (RmrkTraitsResourceResourceTypes | { Basic: any } | { Composable: any } | { Slot: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;1041 /**1042 * Reject an NFT sent from another account to self or owned NFT.1043 * The NFT in question will not be sent back and burnt instead.1044 * 1045 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.1046 * 1047 * # Permissions:1048 * - Token-owner-to-be-not1049 * 1050 * # Arguments:1051 * - `origin`: sender of the transaction1052 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.1053 * - `rmrk_nft_id`: ID of the NFT to be rejected.1054 **/1055 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1056 /**1057 * Remove and erase a resource from an NFT.1058 * 1059 * If the sender does not own the NFT, then it will be pending confirmation,1060 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.1061 * 1062 * # Permissions1063 * - Collection issuer1064 * 1065 * # Arguments1066 * - `origin`: sender of the transaction1067 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.1068 * - `nft_id`: ID of the NFT with a resource to be removed.1069 * - `resource_id`: ID of the resource to be removed.1070 **/1071 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;1072 /**1073 * Transfer an NFT from an account/NFT A to another account/NFT B.1074 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].1075 * 1076 * If the target owner is an NFT owned by another account, then the NFT will enter1077 * the pending state and will have to be accepted by the other account.1078 * 1079 * # Permissions:1080 * - Token owner1081 * 1082 * # Arguments:1083 * - `origin`: sender of the transaction1084 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.1085 * - `rmrk_nft_id`: ID of the NFT to be transferred.1086 * - `new_owner`: New owner of the nft which can be either an account or a NFT.1087 **/1088 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;1089 /**1090 * Set a different order of resource priorities for an NFT. Priorities can be used,1091 * for example, for order of rendering.1092 * 1093 * Note that the priorities are not updated automatically, and are an empty vector1094 * by default. There is no pre-set definition for the order to be particular,1095 * it can be interpreted arbitrarily use-case by use-case.1096 * 1097 * # Permissions:1098 * - Token owner1099 * 1100 * # Arguments:1101 * - `origin`: sender of the transaction1102 * - `rmrk_collection_id`: RMRK collection ID of the NFT.1103 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.1104 * - `priorities`: Ordered vector of resource IDs.1105 **/1106 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;1107 /**1108 * Add or edit a custom user property, a key-value pair, describing the metadata1109 * of a token or a collection, on either one of these.1110 * 1111 * Note that in this proxy implementation many details regarding RMRK are stored1112 * as scoped properties prefixed with "rmrk:", normally inaccessible1113 * to external transactions and RPCs.1114 * 1115 * # Permissions:1116 * - Collection issuer - in case of collection property1117 * - Token owner - in case of NFT property1118 * 1119 * # Arguments:1120 * - `origin`: sender of the transaction1121 * - `rmrk_collection_id`: RMRK collection ID.1122 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.1123 * - `key`: Key of the custom property to be referenced by.1124 * - `value`: Value of the custom property to be stored.1125 **/1126 setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;1127 /**1128 * Generic tx1129 **/1130 [key: string]: SubmittableExtrinsicFunction<ApiType>;1131 };1132 rmrkEquip: {1133 /**1134 * Create a new Base.1135 * 1136 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)1137 * 1138 * # Permissions1139 * - Anyone - will be assigned as the issuer of the Base.1140 * 1141 * # Arguments:1142 * - `origin`: Caller, will be assigned as the issuer of the Base1143 * - `base_type`: Arbitrary media type, e.g. "svg".1144 * - `symbol`: Arbitrary client-chosen symbol.1145 * - `parts`: Array of Fixed and Slot Parts composing the Base,1146 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).1147 **/1148 createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;1149 /**1150 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.1151 * 1152 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).1153 * 1154 * # Permissions:1155 * - Base issuer1156 * 1157 * # Arguments:1158 * - `origin`: sender of the transaction1159 * - `base_id`: Base containing the Slot Part to be updated.1160 * - `slot_id`: Slot Part whose Equippable List is being updated .1161 * - `equippables`: List of equippables that will override the current Equippables list.1162 **/1163 equippable: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, slotId: u32 | AnyNumber | Uint8Array, equippables: RmrkTraitsPartEquippableList | { All: any } | { Empty: any } | { Custom: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsPartEquippableList]>;1164 /**1165 * Add a Theme to a Base.1166 * A Theme named "default" is required prior to adding other Themes.1167 * 1168 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).1169 * 1170 * # Permissions:1171 * - Base issuer1172 * 1173 * # Arguments:1174 * - `origin`: sender of the transaction1175 * - `base_id`: Base ID containing the Theme to be updated.1176 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an1177 * array of [key, value, inherit].1178 * - `key`: Arbitrary BoundedString, defined by client.1179 * - `value`: Arbitrary BoundedString, defined by client.1180 * - `inherit`: Optional bool.1181 **/1182 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;1183 /**1184 * Generic tx1185 **/1186 [key: string]: SubmittableExtrinsicFunction<ApiType>;1187 };1188 session: {1189 /**1190 * Removes any session key(s) of the function caller.1191 * 1192 * This doesn't take effect until the next session.1193 * 1194 * The dispatch origin of this function must be Signed and the account must be either be1195 * convertible to a validator ID using the chain's typical addressing system (this usually1196 * means being a controller account) or directly convertible into a validator ID (which1197 * usually means being a stash account).1198 * 1199 * # <weight>1200 * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length1201 * of `T::Keys::key_ids()` which is fixed.1202 * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`1203 * - DbWrites: `NextKeys`, `origin account`1204 * - DbWrites per key id: `KeyOwner`1205 * # </weight>1206 **/1207 purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1208 /**1209 * Sets the session key(s) of the function caller to `keys`.1210 * Allows an account to set its session key prior to becoming a validator.1211 * This doesn't take effect until the next session.1212 * 1213 * The dispatch origin of this function must be signed.1214 * 1215 * # <weight>1216 * - Complexity: `O(1)`. Actual cost depends on the number of length of1217 * `T::Keys::key_ids()` which is fixed.1218 * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`1219 * - DbWrites: `origin account`, `NextKeys`1220 * - DbReads per key id: `KeyOwner`1221 * - DbWrites per key id: `KeyOwner`1222 * # </weight>1223 **/1224 setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;1225 /**1226 * Generic tx1227 **/1228 [key: string]: SubmittableExtrinsicFunction<ApiType>;1229 };1230 structure: {1231 /**1232 * Generic tx1233 **/1234 [key: string]: SubmittableExtrinsicFunction<ApiType>;1235 };1236 sudo: {1237 /**1238 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo1239 * key.1240 * 1241 * The dispatch origin for this call must be _Signed_.1242 * 1243 * # <weight>1244 * - O(1).1245 * - Limited storage reads.1246 * - One DB change.1247 * # </weight>1248 **/1249 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1250 /**1251 * Authenticates the sudo key and dispatches a function call with `Root` origin.1252 * 1253 * The dispatch origin for this call must be _Signed_.1254 * 1255 * # <weight>1256 * - O(1).1257 * - Limited storage reads.1258 * - One DB write (event).1259 * - Weight of derivative `call` execution + 10,000.1260 * # </weight>1261 **/1262 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;1263 /**1264 * Authenticates the sudo key and dispatches a function call with `Signed` origin from1265 * a given account.1266 * 1267 * The dispatch origin for this call must be _Signed_.1268 * 1269 * # <weight>1270 * - O(1).1271 * - Limited storage reads.1272 * - One DB write (event).1273 * - Weight of derivative `call` execution + 10,000.1274 * # </weight>1275 **/1276 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;1277 /**1278 * Authenticates the sudo key and dispatches a function call with `Root` origin.1279 * This function does not check the weight of the call, and instead allows the1280 * Sudo user to specify the weight of the call.1281 * 1282 * The dispatch origin for this call must be _Signed_.1283 * 1284 * # <weight>1285 * - O(1).1286 * - The weight of this call is defined by the caller.1287 * # </weight>1288 **/1289 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;1290 /**1291 * Generic tx1292 **/1293 [key: string]: SubmittableExtrinsicFunction<ApiType>;1294 };1295 system: {1296 /**1297 * Kill all storage items with a key that starts with the given prefix.1298 * 1299 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under1300 * the prefix we are removing to accurately calculate the weight of this function.1301 **/1302 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;1303 /**1304 * Kill some items from storage.1305 **/1306 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;1307 /**1308 * Make some on-chain remark.1309 * 1310 * # <weight>1311 * - `O(1)`1312 * # </weight>1313 **/1314 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1315 /**1316 * Make some on-chain remark and emit event.1317 **/1318 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1319 /**1320 * Set the new runtime code.1321 * 1322 * # <weight>1323 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`1324 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is1325 * expensive).1326 * - 1 storage write (codec `O(C)`).1327 * - 1 digest item.1328 * - 1 event.1329 * The weight of this function is dependent on the runtime, but generally this is very1330 * expensive. We will treat this as a full block.1331 * # </weight>1332 **/1333 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1334 /**1335 * Set the new runtime code without doing any checks of the given `code`.1336 * 1337 * # <weight>1338 * - `O(C)` where `C` length of `code`1339 * - 1 storage write (codec `O(C)`).1340 * - 1 digest item.1341 * - 1 event.1342 * The weight of this function is dependent on the runtime. We will treat this as a full1343 * block. # </weight>1344 **/1345 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1346 /**1347 * Set the number of pages in the WebAssembly environment's heap.1348 **/1349 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1350 /**1351 * Set some items of storage.1352 **/1353 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;1354 /**1355 * Generic tx1356 **/1357 [key: string]: SubmittableExtrinsicFunction<ApiType>;1358 };1359 testUtils: {1360 batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;1361 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1362 incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1363 justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1364 setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1365 setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1366 /**1367 * Generic tx1368 **/1369 [key: string]: SubmittableExtrinsicFunction<ApiType>;1370 };1371 timestamp: {1372 /**1373 * Set the current time.1374 * 1375 * This call should be invoked exactly once per block. It will panic at the finalization1376 * phase, if this call hasn't been invoked by that time.1377 * 1378 * The timestamp should be greater than the previous one by the amount specified by1379 * `MinimumPeriod`.1380 * 1381 * The dispatch origin for this call must be `Inherent`.1382 * 1383 * # <weight>1384 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1385 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1386 * `on_finalize`)1387 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1388 * # </weight>1389 **/1390 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1391 /**1392 * Generic tx1393 **/1394 [key: string]: SubmittableExtrinsicFunction<ApiType>;1395 };1396 tokens: {1397 /**1398 * Exactly as `transfer`, except the origin must be root and the source1399 * account may be specified.1400 * 1401 * The dispatch origin for this call must be _Root_.1402 * 1403 * - `source`: The sender of the transfer.1404 * - `dest`: The recipient of the transfer.1405 * - `currency_id`: currency type.1406 * - `amount`: free balance amount to tranfer.1407 **/1408 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1409 /**1410 * Set the balances of a given account.1411 * 1412 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1413 * will also decrease the total issuance of the system1414 * (`TotalIssuance`). If the new free or reserved balance is below the1415 * existential deposit, it will reap the `AccountInfo`.1416 * 1417 * The dispatch origin for this call is `root`.1418 **/1419 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>, Compact<u128>]>;1420 /**1421 * Transfer some liquid free balance to another account.1422 * 1423 * `transfer` will set the `FreeBalance` of the sender and receiver.1424 * It will decrease the total issuance of the system by the1425 * `TransferFee`. If the sender's account is below the existential1426 * deposit as a result of the transfer, the account will be reaped.1427 * 1428 * The dispatch origin for this call must be `Signed` by the1429 * transactor.1430 * 1431 * - `dest`: The recipient of the transfer.1432 * - `currency_id`: currency type.1433 * - `amount`: free balance amount to tranfer.1434 **/1435 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1436 /**1437 * Transfer all remaining balance to the given account.1438 * 1439 * NOTE: This function only attempts to transfer _transferable_1440 * balances. This means that any locked, reserved, or existential1441 * deposits (when `keep_alive` is `true`), will not be transferred by1442 * this function. To ensure that this function results in a killed1443 * account, you might need to prepare the account by removing any1444 * reference counters, storage deposits, etc...1445 * 1446 * The dispatch origin for this call must be `Signed` by the1447 * transactor.1448 * 1449 * - `dest`: The recipient of the transfer.1450 * - `currency_id`: currency type.1451 * - `keep_alive`: A boolean to determine if the `transfer_all`1452 * operation should send all of the funds the account has, causing1453 * the sender account to be killed (false), or transfer everything1454 * except at least the existential deposit, which will guarantee to1455 * keep the sender account alive (true).1456 **/1457 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, bool]>;1458 /**1459 * Same as the [`transfer`] call, but with a check that the transfer1460 * will not kill the origin account.1461 * 1462 * 99% of the time you want [`transfer`] instead.1463 * 1464 * The dispatch origin for this call must be `Signed` by the1465 * transactor.1466 * 1467 * - `dest`: The recipient of the transfer.1468 * - `currency_id`: currency type.1469 * - `amount`: free balance amount to tranfer.1470 **/1471 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1472 /**1473 * Generic tx1474 **/1475 [key: string]: SubmittableExtrinsicFunction<ApiType>;1476 };1477 treasury: {1478 /**1479 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1480 * and the original deposit will be returned.1481 * 1482 * May only be called from `T::ApproveOrigin`.1483 * 1484 * # <weight>1485 * - Complexity: O(1).1486 * - DbReads: `Proposals`, `Approvals`1487 * - DbWrite: `Approvals`1488 * # </weight>1489 **/1490 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1491 /**1492 * Put forward a suggestion for spending. A deposit proportional to the value1493 * is reserved and slashed if the proposal is rejected. It is returned once the1494 * proposal is awarded.1495 * 1496 * # <weight>1497 * - Complexity: O(1)1498 * - DbReads: `ProposalCount`, `origin account`1499 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1500 * # </weight>1501 **/1502 proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1503 /**1504 * Reject a proposed spend. The original deposit will be slashed.1505 * 1506 * May only be called from `T::RejectOrigin`.1507 * 1508 * # <weight>1509 * - Complexity: O(1)1510 * - DbReads: `Proposals`, `rejected proposer account`1511 * - DbWrites: `Proposals`, `rejected proposer account`1512 * # </weight>1513 **/1514 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1515 /**1516 * Force a previously approved proposal to be removed from the approval queue.1517 * The original deposit will no longer be returned.1518 * 1519 * May only be called from `T::RejectOrigin`.1520 * - `proposal_id`: The index of a proposal1521 * 1522 * # <weight>1523 * - Complexity: O(A) where `A` is the number of approvals1524 * - Db reads and writes: `Approvals`1525 * # </weight>1526 * 1527 * Errors:1528 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1529 * i.e., the proposal has not been approved. This could also mean the proposal does not1530 * exist altogether, thus there is no way it would have been approved in the first place.1531 **/1532 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1533 /**1534 * Propose and approve a spend of treasury funds.1535 * 1536 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1537 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1538 * - `beneficiary`: The destination account for the transfer.1539 * 1540 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1541 * beneficiary.1542 **/1543 spend: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1544 /**1545 * Generic tx1546 **/1547 [key: string]: SubmittableExtrinsicFunction<ApiType>;1548 };1549 unique: {1550 /**1551 * Add an admin to a collection.1552 * 1553 * NFT Collection can be controlled by multiple admin addresses1554 * (some which can also be servers, for example). Admins can issue1555 * and burn NFTs, as well as add and remove other admins,1556 * but cannot change NFT or Collection ownership.1557 * 1558 * # Permissions1559 * 1560 * * Collection owner1561 * * Collection admin1562 * 1563 * # Arguments1564 * 1565 * * `collection_id`: ID of the Collection to add an admin for.1566 * * `new_admin`: Address of new admin to add.1567 **/1568 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1569 /**1570 * Add an address to allow list.1571 * 1572 * # Permissions1573 * 1574 * * Collection owner1575 * * Collection admin1576 * 1577 * # Arguments1578 * 1579 * * `collection_id`: ID of the modified collection.1580 * * `address`: ID of the address to be added to the allowlist.1581 **/1582 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1583 /**1584 * Allow a non-permissioned address to transfer or burn an item.1585 * 1586 * # Permissions1587 * 1588 * * Collection owner1589 * * Collection admin1590 * * Current item owner1591 * 1592 * # Arguments1593 * 1594 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1595 * * `collection_id`: ID of the collection the item belongs to.1596 * * `item_id`: ID of the item transactions on which are now approved.1597 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1598 * Set to 0 to revoke the approval.1599 **/1600 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1601 /**1602 * Destroy a token on behalf of the owner as a non-owner account.1603 * 1604 * See also: [`approve`][`Pallet::approve`].1605 * 1606 * After this method executes, one approval is removed from the total so that1607 * the approved address will not be able to transfer this item again from this owner.1608 * 1609 * # Permissions1610 * 1611 * * Collection owner1612 * * Collection admin1613 * * Current token owner1614 * * Address approved by current item owner1615 * 1616 * # Arguments1617 * 1618 * * `from`: The owner of the burning item.1619 * * `collection_id`: ID of the collection to which the item belongs.1620 * * `item_id`: ID of item to burn.1621 * * `value`: Number of pieces to burn.1622 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1623 * * Fungible Mode: The desired number of pieces to burn.1624 * * Re-Fungible Mode: The desired number of pieces to burn.1625 **/1626 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;1627 /**1628 * Destroy an item.1629 * 1630 * # Permissions1631 * 1632 * * Collection owner1633 * * Collection admin1634 * * Current item owner1635 * 1636 * # Arguments1637 * 1638 * * `collection_id`: ID of the collection to which the item belongs.1639 * * `item_id`: ID of item to burn.1640 * * `value`: Number of pieces of the item to destroy.1641 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1642 * * Fungible Mode: The desired number of pieces to burn.1643 * * Re-Fungible Mode: The desired number of pieces to burn.1644 **/1645 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1646 /**1647 * Change the owner of the collection.1648 * 1649 * # Permissions1650 * 1651 * * Collection owner1652 * 1653 * # Arguments1654 * 1655 * * `collection_id`: ID of the modified collection.1656 * * `new_owner`: ID of the account that will become the owner.1657 **/1658 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1659 /**1660 * Confirm own sponsorship of a collection, becoming the sponsor.1661 * 1662 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1663 * Sponsor can pay the fees of a transaction instead of the sender,1664 * but only within specified limits.1665 * 1666 * # Permissions1667 * 1668 * * Sponsor-to-be1669 * 1670 * # Arguments1671 * 1672 * * `collection_id`: ID of the collection with the pending sponsor.1673 **/1674 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1675 /**1676 * Create a collection of tokens.1677 * 1678 * Each Token may have multiple properties encoded as an array of bytes1679 * of certain length. The initial owner of the collection is set1680 * to the address that signed the transaction and can be changed later.1681 * 1682 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1683 * 1684 * # Permissions1685 * 1686 * * Anyone - becomes the owner of the new collection.1687 * 1688 * # Arguments1689 * 1690 * * `collection_name`: Wide-character string with collection name1691 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1692 * * `collection_description`: Wide-character string with collection description1693 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1694 * * `token_prefix`: Byte string containing the token prefix to mark a collection1695 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1696 * * `mode`: Type of items stored in the collection and type dependent data.1697 **/1698 createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, UpDataStructsCollectionMode]>;1699 /**1700 * Create a collection with explicit parameters.1701 * 1702 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1703 * 1704 * # Permissions1705 * 1706 * * Anyone - becomes the owner of the new collection.1707 * 1708 * # Arguments1709 * 1710 * * `data`: Explicit data of a collection used for its creation.1711 **/1712 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; pendingSponsor?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;1713 /**1714 * Mint an item within a collection.1715 * 1716 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1717 * 1718 * # Permissions1719 * 1720 * * Collection owner1721 * * Collection admin1722 * * Anyone if1723 * * Allow List is enabled, and1724 * * Address is added to allow list, and1725 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1726 * 1727 * # Arguments1728 * 1729 * * `collection_id`: ID of the collection to which an item would belong.1730 * * `owner`: Address of the initial owner of the item.1731 * * `data`: Token data describing the item to store on chain.1732 **/1733 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;1734 /**1735 * Create multiple items within a collection.1736 * 1737 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1738 * 1739 * # Permissions1740 * 1741 * * Collection owner1742 * * Collection admin1743 * * Anyone if1744 * * Allow List is enabled, and1745 * * Address is added to the allow list, and1746 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1747 * 1748 * # Arguments1749 * 1750 * * `collection_id`: ID of the collection to which the tokens would belong.1751 * * `owner`: Address of the initial owner of the tokens.1752 * * `items_data`: Vector of data describing each item to be created.1753 **/1754 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;1755 /**1756 * Create multiple items within a collection with explicitly specified initial parameters.1757 * 1758 * # Permissions1759 * 1760 * * Collection owner1761 * * Collection admin1762 * * Anyone if1763 * * Allow List is enabled, and1764 * * Address is added to allow list, and1765 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1766 * 1767 * # Arguments1768 * 1769 * * `collection_id`: ID of the collection to which the tokens would belong.1770 * * `data`: Explicit item creation data.1771 **/1772 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1773 /**1774 * Delete specified collection properties.1775 * 1776 * # Permissions1777 * 1778 * * Collection Owner1779 * * Collection Admin1780 * 1781 * # Arguments1782 * 1783 * * `collection_id`: ID of the modified collection.1784 * * `property_keys`: Vector of keys of the properties to be deleted.1785 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1786 **/1787 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1788 /**1789 * Delete specified token properties. Currently properties only work with NFTs.1790 * 1791 * # Permissions1792 * 1793 * * Depends on collection's token property permissions and specified property mutability:1794 * * Collection owner1795 * * Collection admin1796 * * Token owner1797 * 1798 * # Arguments1799 * 1800 * * `collection_id`: ID of the collection to which the token belongs.1801 * * `token_id`: ID of the modified token.1802 * * `property_keys`: Vector of keys of the properties to be deleted.1803 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1804 **/1805 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1806 /**1807 * Destroy a collection if no tokens exist within.1808 * 1809 * # Permissions1810 * 1811 * * Collection owner1812 * 1813 * # Arguments1814 * 1815 * * `collection_id`: Collection to destroy.1816 **/1817 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1818 /**1819 * Repairs a collection if the data was somehow corrupted.1820 * 1821 * # Arguments1822 * 1823 * * `collection_id`: ID of the collection to repair.1824 **/1825 forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1826 /**1827 * Repairs a token if the data was somehow corrupted.1828 * 1829 * # Arguments1830 * 1831 * * `collection_id`: ID of the collection the item belongs to.1832 * * `item_id`: ID of the item.1833 **/1834 forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1835 /**1836 * Remove admin of a collection.1837 * 1838 * An admin address can remove itself. List of admins may become empty,1839 * in which case only Collection Owner will be able to add an Admin.1840 * 1841 * # Permissions1842 * 1843 * * Collection owner1844 * * Collection admin1845 * 1846 * # Arguments1847 * 1848 * * `collection_id`: ID of the collection to remove the admin for.1849 * * `account_id`: Address of the admin to remove.1850 **/1851 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1852 /**1853 * Remove a collection's a sponsor, making everyone pay for their own transactions.1854 * 1855 * # Permissions1856 * 1857 * * Collection owner1858 * 1859 * # Arguments1860 * 1861 * * `collection_id`: ID of the collection with the sponsor to remove.1862 **/1863 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1864 /**1865 * Remove an address from allow list.1866 * 1867 * # Permissions1868 * 1869 * * Collection owner1870 * * Collection admin1871 * 1872 * # Arguments1873 * 1874 * * `collection_id`: ID of the modified collection.1875 * * `address`: ID of the address to be removed from the allowlist.1876 **/1877 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1878 /**1879 * Re-partition a refungible token, while owning all of its parts/pieces.1880 * 1881 * # Permissions1882 * 1883 * * Token owner (must own every part)1884 * 1885 * # Arguments1886 * 1887 * * `collection_id`: ID of the collection the RFT belongs to.1888 * * `token_id`: ID of the RFT.1889 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1890 **/1891 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1892 /**1893 * Sets or unsets the approval of a given operator.1894 * 1895 * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.1896 * 1897 * # Arguments1898 * 1899 * * `owner`: Token owner1900 * * `operator`: Operator1901 * * `approve`: Should operator status be granted or revoked?1902 **/1903 setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1904 /**1905 * Set specific limits of a collection. Empty, or None fields mean chain default.1906 * 1907 * # Permissions1908 * 1909 * * Collection owner1910 * * Collection admin1911 * 1912 * # Arguments1913 * 1914 * * `collection_id`: ID of the modified collection.1915 * * `new_limit`: New limits of the collection. Fields that are not set (None)1916 * will not overwrite the old ones.1917 **/1918 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;1919 /**1920 * Set specific permissions of a collection. Empty, or None fields mean chain default.1921 * 1922 * # Permissions1923 * 1924 * * Collection owner1925 * * Collection admin1926 * 1927 * # Arguments1928 * 1929 * * `collection_id`: ID of the modified collection.1930 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1931 * will not overwrite the old ones.1932 **/1933 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1934 /**1935 * Add or change collection properties.1936 * 1937 * # Permissions1938 * 1939 * * Collection owner1940 * * Collection admin1941 * 1942 * # Arguments1943 * 1944 * * `collection_id`: ID of the modified collection.1945 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1946 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1947 **/1948 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1949 /**1950 * Set (invite) a new collection sponsor.1951 * 1952 * If successful, confirmation from the sponsor-to-be will be pending.1953 * 1954 * # Permissions1955 * 1956 * * Collection owner1957 * * Collection admin1958 * 1959 * # Arguments1960 * 1961 * * `collection_id`: ID of the modified collection.1962 * * `new_sponsor`: ID of the account of the sponsor-to-be.1963 **/1964 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1965 /**1966 * Add or change token properties according to collection's permissions.1967 * Currently properties only work with NFTs.1968 * 1969 * # Permissions1970 * 1971 * * Depends on collection's token property permissions and specified property mutability:1972 * * Collection owner1973 * * Collection admin1974 * * Token owner1975 * 1976 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1977 * 1978 * # Arguments1979 * 1980 * * `collection_id: ID of the collection to which the token belongs.1981 * * `token_id`: ID of the modified token.1982 * * `properties`: Vector of key-value pairs stored as the token's metadata.1983 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1984 **/1985 setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<UpDataStructsProperty>]>;1986 /**1987 * Add or change token property permissions of a collection.1988 * 1989 * Without a permission for a particular key, a property with that key1990 * cannot be created in a token.1991 * 1992 * # Permissions1993 * 1994 * * Collection owner1995 * * Collection admin1996 * 1997 * # Arguments1998 * 1999 * * `collection_id`: ID of the modified collection.2000 * * `property_permissions`: Vector of permissions for property keys.2001 * Keys support Latin letters, `-`, `_`, and `.` as symbols.2002 **/2003 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;2004 /**2005 * Completely allow or disallow transfers for a particular collection.2006 * 2007 * # Permissions2008 * 2009 * * Collection owner2010 * 2011 * # Arguments2012 * 2013 * * `collection_id`: ID of the collection.2014 * * `value`: New value of the flag, are transfers allowed?2015 **/2016 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;2017 /**2018 * Change ownership of the token.2019 * 2020 * # Permissions2021 * 2022 * * Collection owner2023 * * Collection admin2024 * * Current token owner2025 * 2026 * # Arguments2027 * 2028 * * `recipient`: Address of token recipient.2029 * * `collection_id`: ID of the collection the item belongs to.2030 * * `item_id`: ID of the item.2031 * * Non-Fungible Mode: Required.2032 * * Fungible Mode: Ignored.2033 * * Re-Fungible Mode: Required.2034 * 2035 * * `value`: Amount to transfer.2036 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.2037 * * Fungible Mode: The desired number of pieces to transfer.2038 * * Re-Fungible Mode: The desired number of pieces to transfer.2039 **/2040 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;2041 /**2042 * Change ownership of an item on behalf of the owner as a non-owner account.2043 * 2044 * See the [`approve`][`Pallet::approve`] method for additional information.2045 * 2046 * After this method executes, one approval is removed from the total so that2047 * the approved address will not be able to transfer this item again from this owner.2048 * 2049 * # Permissions2050 * 2051 * * Collection owner2052 * * Collection admin2053 * * Current item owner2054 * * Address approved by current item owner2055 * 2056 * # Arguments2057 * 2058 * * `from`: Address that currently owns the token.2059 * * `recipient`: Address of the new token-owner-to-be.2060 * * `collection_id`: ID of the collection the item.2061 * * `item_id`: ID of the item to be transferred.2062 * * `value`: Amount to transfer.2063 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.2064 * * Fungible Mode: The desired number of pieces to transfer.2065 * * Re-Fungible Mode: The desired number of pieces to transfer.2066 **/2067 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;2068 /**2069 * Generic tx2070 **/2071 [key: string]: SubmittableExtrinsicFunction<ApiType>;2072 };2073 vesting: {2074 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2075 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;2076 updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, vestingSchedules: Vec<OrmlVestingVestingSchedule> | (OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [MultiAddress, Vec<OrmlVestingVestingSchedule>]>;2077 vestedTransfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, OrmlVestingVestingSchedule]>;2078 /**2079 * Generic tx2080 **/2081 [key: string]: SubmittableExtrinsicFunction<ApiType>;2082 };2083 xcmpQueue: {2084 /**2085 * Resumes all XCM executions for the XCMP queue.2086 * 2087 * Note that this function doesn't change the status of the in/out bound channels.2088 * 2089 * - `origin`: Must pass `ControllerOrigin`.2090 **/2091 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2092 /**2093 * Services a single overweight XCM.2094 * 2095 * - `origin`: Must pass `ExecuteOverweightOrigin`.2096 * - `index`: The index of the overweight XCM to service2097 * - `weight_limit`: The amount of weight that XCM execution may take.2098 * 2099 * Errors:2100 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.2101 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.2102 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.2103 * 2104 * Events:2105 * - `OverweightServiced`: On success.2106 **/2107 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;2108 /**2109 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.2110 * 2111 * - `origin`: Must pass `ControllerOrigin`.2112 **/2113 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;2114 /**2115 * Overwrites the number of pages of messages which must be in the queue after which we drop any further2116 * messages from the channel.2117 * 2118 * - `origin`: Must pass `Root`.2119 * - `new`: Desired value for `QueueConfigData.drop_threshold`2120 **/2121 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2122 /**2123 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that2124 * message sending may recommence after it has been suspended.2125 * 2126 * - `origin`: Must pass `Root`.2127 * - `new`: Desired value for `QueueConfigData.resume_threshold`2128 **/2129 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2130 /**2131 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to2132 * suspend their sending.2133 * 2134 * - `origin`: Must pass `Root`.2135 * - `new`: Desired value for `QueueConfigData.suspend_value`2136 **/2137 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;2138 /**2139 * Overwrites the amount of remaining weight under which we stop processing messages.2140 * 2141 * - `origin`: Must pass `Root`.2142 * - `new`: Desired value for `QueueConfigData.threshold_weight`2143 **/2144 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2145 /**2146 * Overwrites the speed to which the available weight approaches the maximum weight.2147 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.2148 * 2149 * - `origin`: Must pass `Root`.2150 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.2151 **/2152 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2153 /**2154 * Overwrite the maximum amount of weight any individual message may consume.2155 * Messages above this weight go into the overweight queue and may only be serviced explicitly.2156 * 2157 * - `origin`: Must pass `Root`.2158 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.2159 **/2160 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;2161 /**2162 * Generic tx2163 **/2164 [key: string]: SubmittableExtrinsicFunction<ApiType>;2165 };2166 xTokens: {2167 /**2168 * Transfer native currencies.2169 * 2170 * `dest_weight_limit` is the weight for XCM execution on the dest2171 * chain, and it would be charged from the transferred assets. If set2172 * below requirements, the execution may fail and assets wouldn't be2173 * received.2174 * 2175 * It's a no-op if any error on local XCM execution or message sending.2176 * Note sending assets out per se doesn't guarantee they would be2177 * received. Receiving depends on if the XCM message could be delivered2178 * by the network, and if the receiving chain would handle2179 * messages correctly.2180 **/2181 transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2182 /**2183 * Transfer `MultiAsset`.2184 * 2185 * `dest_weight_limit` is the weight for XCM execution on the dest2186 * chain, and it would be charged from the transferred assets. If set2187 * below requirements, the execution may fail and assets wouldn't be2188 * received.2189 * 2190 * It's a no-op if any error on local XCM execution or message sending.2191 * Note sending assets out per se doesn't guarantee they would be2192 * received. Receiving depends on if the XCM message could be delivered2193 * by the network, and if the receiving chain would handle2194 * messages correctly.2195 **/2196 transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2197 /**2198 * Transfer several `MultiAsset` specifying the item to be used as fee2199 * 2200 * `dest_weight_limit` is the weight for XCM execution on the dest2201 * chain, and it would be charged from the transferred assets. If set2202 * below requirements, the execution may fail and assets wouldn't be2203 * received.2204 * 2205 * `fee_item` is index of the MultiAssets that we want to use for2206 * payment2207 * 2208 * It's a no-op if any error on local XCM execution or message sending.2209 * Note sending assets out per se doesn't guarantee they would be2210 * received. Receiving depends on if the XCM message could be delivered2211 * by the network, and if the receiving chain would handle2212 * messages correctly.2213 **/2214 transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2215 /**2216 * Transfer `MultiAsset` specifying the fee and amount as separate.2217 * 2218 * `dest_weight_limit` is the weight for XCM execution on the dest2219 * chain, and it would be charged from the transferred assets. If set2220 * below requirements, the execution may fail and assets wouldn't be2221 * received.2222 * 2223 * `fee` is the multiasset to be spent to pay for execution in2224 * destination chain. Both fee and amount will be subtracted form the2225 * callers balance For now we only accept fee and asset having the same2226 * `MultiLocation` id.2227 * 2228 * If `fee` is not high enough to cover for the execution costs in the2229 * destination chain, then the assets will be trapped in the2230 * destination chain2231 * 2232 * It's a no-op if any error on local XCM execution or message sending.2233 * Note sending assets out per se doesn't guarantee they would be2234 * received. Receiving depends on if the XCM message could be delivered2235 * by the network, and if the receiving chain would handle2236 * messages correctly.2237 **/2238 transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, fee: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2239 /**2240 * Transfer several currencies specifying the item to be used as fee2241 * 2242 * `dest_weight_limit` is the weight for XCM execution on the dest2243 * chain, and it would be charged from the transferred assets. If set2244 * below requirements, the execution may fail and assets wouldn't be2245 * received.2246 * 2247 * `fee_item` is index of the currencies tuple that we want to use for2248 * payment2249 * 2250 * It's a no-op if any error on local XCM execution or message sending.2251 * Note sending assets out per se doesn't guarantee they would be2252 * received. Receiving depends on if the XCM message could be delivered2253 * by the network, and if the receiving chain would handle2254 * messages correctly.2255 **/2256 transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2257 /**2258 * Transfer native currencies specifying the fee and amount as2259 * separate.2260 * 2261 * `dest_weight_limit` is the weight for XCM execution on the dest2262 * chain, and it would be charged from the transferred assets. If set2263 * below requirements, the execution may fail and assets wouldn't be2264 * received.2265 * 2266 * `fee` is the amount to be spent to pay for execution in destination2267 * chain. Both fee and amount will be subtracted form the callers2268 * balance.2269 * 2270 * If `fee` is not high enough to cover for the execution costs in the2271 * destination chain, then the assets will be trapped in the2272 * destination chain2273 * 2274 * It's a no-op if any error on local XCM execution or message sending.2275 * Note sending assets out per se doesn't guarantee they would be2276 * received. Receiving depends on if the XCM message could be delivered2277 * by the network, and if the receiving chain would handle2278 * messages correctly.2279 **/2280 transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2281 /**2282 * Generic tx2283 **/2284 [key: string]: SubmittableExtrinsicFunction<ApiType>;2285 };2286 } // AugmentedSubmittables2287} // declare moduletests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, 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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -253,6 +253,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;
@@ -290,7 +298,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 PalletBalancesEvent (33) */
@@ -2057,14 +2065,18 @@
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 (251) */
+ /** @name PalletIdentityError (250) */
interface PalletIdentityError extends Enum {
readonly isTooManySubAccounts: boolean;
readonly isNotFound: boolean;
@@ -2087,14 +2099,14 @@
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
}
- /** @name PalletBalancesBalanceLock (253) */
+ /** @name PalletBalancesBalanceLock (252) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (254) */
+ /** @name PalletBalancesReasons (253) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -2102,13 +2114,13 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (257) */
+ /** @name PalletBalancesReserveData (256) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name PalletBalancesCall (259) */
+ /** @name PalletBalancesCall (258) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2145,7 +2157,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (260) */
+ /** @name PalletBalancesError (259) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -2158,7 +2170,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (262) */
+ /** @name PalletTimestampCall (261) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -2167,14 +2179,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (264) */
+ /** @name PalletTransactionPaymentReleases (263) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (265) */
+ /** @name PalletTreasuryProposal (264) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -2182,7 +2194,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (267) */
+ /** @name PalletTreasuryCall (266) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -2209,10 +2221,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (269) */
+ /** @name FrameSupportPalletId (268) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (270) */
+ /** @name PalletTreasuryError (269) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -2222,7 +2234,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (271) */
+ /** @name PalletSudoCall (270) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -2245,7 +2257,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (273) */
+ /** @name OrmlVestingModuleCall (272) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -2265,7 +2277,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlXtokensModuleCall (275) */
+ /** @name OrmlXtokensModuleCall (274) */
interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2312,7 +2324,7 @@
readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
}
- /** @name XcmVersionedMultiAsset (276) */
+ /** @name XcmVersionedMultiAsset (275) */
interface XcmVersionedMultiAsset extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiAsset;
@@ -2321,7 +2333,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name OrmlTokensModuleCall (279) */
+ /** @name OrmlTokensModuleCall (278) */
interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2358,7 +2370,7 @@
readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
}
- /** @name CumulusPalletXcmpQueueCall (280) */
+ /** @name CumulusPalletXcmpQueueCall (279) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2394,7 +2406,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (281) */
+ /** @name PalletXcmCall (280) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -2456,7 +2468,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedXcm (282) */
+ /** @name XcmVersionedXcm (281) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -2467,7 +2479,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (283) */
+ /** @name XcmV0Xcm (282) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2530,7 +2542,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0Order (285) */
+ /** @name XcmV0Order (284) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -2578,14 +2590,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (287) */
+ /** @name XcmV0Response (286) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV1Xcm (288) */
+ /** @name XcmV1Xcm (287) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2654,7 +2666,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1Order (290) */
+ /** @name XcmV1Order (289) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -2704,7 +2716,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1Response (292) */
+ /** @name XcmV1Response (291) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2713,10 +2725,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name CumulusPalletXcmCall (306) */
+ /** @name CumulusPalletXcmCall (305) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (307) */
+ /** @name CumulusPalletDmpQueueCall (306) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2726,7 +2738,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (308) */
+ /** @name PalletInflationCall (307) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2735,7 +2747,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (309) */
+ /** @name PalletUniqueCall (308) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2908,7 +2920,7 @@
readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
}
- /** @name UpDataStructsCollectionMode (314) */
+ /** @name UpDataStructsCollectionMode (313) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2917,7 +2929,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (315) */
+ /** @name UpDataStructsCreateCollectionData (314) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2931,14 +2943,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (317) */
+ /** @name UpDataStructsAccessMode (316) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (319) */
+ /** @name UpDataStructsCollectionLimits (318) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2951,7 +2963,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (321) */
+ /** @name UpDataStructsSponsoringRateLimit (320) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2959,43 +2971,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (324) */
+ /** @name UpDataStructsCollectionPermissions (323) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (326) */
+ /** @name UpDataStructsNestingPermissions (325) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (328) */
+ /** @name UpDataStructsOwnerRestrictedSet (327) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (333) */
+ /** @name UpDataStructsPropertyKeyPermission (332) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (334) */
+ /** @name UpDataStructsPropertyPermission (333) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (337) */
+ /** @name UpDataStructsProperty (336) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (340) */
+ /** @name UpDataStructsCreateItemData (339) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -3006,23 +3018,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (341) */
+ /** @name UpDataStructsCreateNftData (340) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (342) */
+ /** @name UpDataStructsCreateFungibleData (341) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (343) */
+ /** @name UpDataStructsCreateReFungibleData (342) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (346) */
+ /** @name UpDataStructsCreateItemExData (345) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -3035,26 +3047,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (348) */
+ /** @name UpDataStructsCreateNftExData (347) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (355) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (354) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (357) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (356) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletConfigurationCall (358) */
+ /** @name PalletConfigurationCall (357) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -3087,7 +3099,7 @@
readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
}
- /** @name PalletConfigurationAppPromotionConfiguration (363) */
+ /** @name PalletConfigurationAppPromotionConfiguration (362) */
interface PalletConfigurationAppPromotionConfiguration extends Struct {
readonly recalculationInterval: Option<u32>;
readonly pendingInterval: Option<u32>;
@@ -3095,13 +3107,13 @@
readonly maxStakersPerCalculation: Option<u8>;
}
- /** @name PalletTemplateTransactionPaymentCall (367) */
+ /** @name PalletTemplateTransactionPaymentCall (366) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (368) */
+ /** @name PalletStructureCall (367) */
type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (369) */
+ /** @name PalletRmrkCoreCall (368) */
interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -3207,7 +3219,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (375) */
+ /** @name RmrkTraitsResourceResourceTypes (374) */
interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -3218,7 +3230,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (377) */
+ /** @name RmrkTraitsResourceBasicResource (376) */
interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -3226,7 +3238,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (379) */
+ /** @name RmrkTraitsResourceComposableResource (378) */
interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -3236,7 +3248,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (380) */
+ /** @name RmrkTraitsResourceSlotResource (379) */
interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -3246,7 +3258,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (383) */
+ /** @name PalletRmrkEquipCall (382) */
interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -3268,7 +3280,7 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (386) */
+ /** @name RmrkTraitsPartPartType (385) */
interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -3277,14 +3289,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (388) */
+ /** @name RmrkTraitsPartFixedPart (387) */
interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (389) */
+ /** @name RmrkTraitsPartSlotPart (388) */
interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -3292,7 +3304,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (390) */
+ /** @name RmrkTraitsPartEquippableList (389) */
interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -3301,20 +3313,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (392) */
+ /** @name RmrkTraitsTheme (391) */
interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (394) */
+ /** @name RmrkTraitsThemeThemeProperty (393) */
interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletAppPromotionCall (396) */
+ /** @name PalletAppPromotionCall (395) */
interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
@@ -3348,7 +3360,7 @@
readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
}
- /** @name PalletForeignAssetsModuleCall (397) */
+ /** @name PalletForeignAssetsModuleCall (396) */
interface PalletForeignAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
@@ -3365,7 +3377,7 @@
readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
}
- /** @name PalletEvmCall (398) */
+ /** @name PalletEvmCall (397) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -3410,7 +3422,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (404) */
+ /** @name PalletEthereumCall (403) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -3419,7 +3431,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (405) */
+ /** @name EthereumTransactionTransactionV2 (404) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -3430,7 +3442,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (406) */
+ /** @name EthereumTransactionLegacyTransaction (405) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -3441,7 +3453,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (407) */
+ /** @name EthereumTransactionTransactionAction (406) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -3449,14 +3461,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (408) */
+ /** @name EthereumTransactionTransactionSignature (407) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (410) */
+ /** @name EthereumTransactionEip2930Transaction (409) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3471,13 +3483,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (412) */
+ /** @name EthereumTransactionAccessListItem (411) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (413) */
+ /** @name EthereumTransactionEip1559Transaction (412) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3493,7 +3505,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (414) */
+ /** @name PalletEvmMigrationCall (413) */
interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -3520,14 +3532,14 @@
readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
}
- /** @name PalletMaintenanceCall (418) */
+ /** @name PalletMaintenanceCall (417) */
interface PalletMaintenanceCall extends Enum {
readonly isEnable: boolean;
readonly isDisable: boolean;
readonly type: 'Enable' | 'Disable';
}
- /** @name PalletTestUtilsCall (419) */
+ /** @name PalletTestUtilsCall (418) */
interface PalletTestUtilsCall extends Enum {
readonly isEnable: boolean;
readonly isSetTestValue: boolean;
@@ -3547,13 +3559,13 @@
readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
}
- /** @name PalletSudoError (421) */
+ /** @name PalletSudoError (420) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (423) */
+ /** @name OrmlVestingModuleError (422) */
interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -3564,7 +3576,7 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name OrmlXtokensModuleError (424) */
+ /** @name OrmlXtokensModuleError (423) */
interface OrmlXtokensModuleError extends Enum {
readonly isAssetHasNoReserve: boolean;
readonly isNotCrossChainTransfer: boolean;
@@ -3588,26 +3600,26 @@
readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
}
- /** @name OrmlTokensBalanceLock (427) */
+ /** @name OrmlTokensBalanceLock (426) */
interface OrmlTokensBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name OrmlTokensAccountData (429) */
+ /** @name OrmlTokensAccountData (428) */
interface OrmlTokensAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly frozen: u128;
}
- /** @name OrmlTokensReserveData (431) */
+ /** @name OrmlTokensReserveData (430) */
interface OrmlTokensReserveData extends Struct {
readonly id: Null;
readonly amount: u128;
}
- /** @name OrmlTokensModuleError (433) */
+ /** @name OrmlTokensModuleError (432) */
interface OrmlTokensModuleError extends Enum {
readonly isBalanceTooLow: boolean;
readonly isAmountIntoBalanceFailed: boolean;
@@ -3620,21 +3632,21 @@
readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (435) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (434) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (436) */
+ /** @name CumulusPalletXcmpQueueInboundState (435) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (439) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (438) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -3642,7 +3654,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (442) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (441) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -3651,14 +3663,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (443) */
+ /** @name CumulusPalletXcmpQueueOutboundState (442) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (445) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (444) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -3668,7 +3680,7 @@
readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletXcmpQueueError (447) */
+ /** @name CumulusPalletXcmpQueueError (446) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -3678,7 +3690,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (448) */
+ /** @name PalletXcmError (447) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -3696,29 +3708,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (449) */
+ /** @name CumulusPalletXcmError (448) */
type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (450) */
+ /** @name CumulusPalletDmpQueueConfigData (449) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletDmpQueuePageIndexData (451) */
+ /** @name CumulusPalletDmpQueuePageIndexData (450) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (454) */
+ /** @name CumulusPalletDmpQueueError (453) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (458) */
+ /** @name PalletUniqueError (457) */
interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isEmptyArgument: boolean;
@@ -3726,13 +3738,13 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletConfigurationError (459) */
+ /** @name PalletConfigurationError (458) */
interface PalletConfigurationError extends Enum {
readonly isInconsistentConfiguration: boolean;
readonly type: 'InconsistentConfiguration';
}
- /** @name UpDataStructsCollection (460) */
+ /** @name UpDataStructsCollection (459) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3745,7 +3757,7 @@
readonly flags: U8aFixed;
}
- /** @name UpDataStructsSponsorshipStateAccountId32 (461) */
+ /** @name UpDataStructsSponsorshipStateAccountId32 (460) */
interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3755,43 +3767,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (462) */
+ /** @name UpDataStructsProperties (461) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (463) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (462) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (468) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (467) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (475) */
+ /** @name UpDataStructsCollectionStats (474) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (476) */
+ /** @name UpDataStructsTokenChild (475) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (477) */
+ /** @name PhantomTypeUpDataStructs (476) */
interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}
- /** @name UpDataStructsTokenData (479) */
+ /** @name UpDataStructsTokenData (478) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (481) */
+ /** @name UpDataStructsRpcCollection (480) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3807,13 +3819,13 @@
readonly flags: UpDataStructsRpcCollectionFlags;
}
- /** @name UpDataStructsRpcCollectionFlags (482) */
+ /** @name UpDataStructsRpcCollectionFlags (481) */
interface UpDataStructsRpcCollectionFlags extends Struct {
readonly foreign: bool;
readonly erc721metadata: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (483) */
+ /** @name RmrkTraitsCollectionCollectionInfo (482) */
interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -3822,7 +3834,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (484) */
+ /** @name RmrkTraitsNftNftInfo (483) */
interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -3831,13 +3843,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (486) */
+ /** @name RmrkTraitsNftRoyaltyInfo (485) */
interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (487) */
+ /** @name RmrkTraitsResourceResourceInfo (486) */
interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -3845,26 +3857,26 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (488) */
+ /** @name RmrkTraitsPropertyPropertyInfo (487) */
interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (489) */
+ /** @name RmrkTraitsBaseBaseInfo (488) */
interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (490) */
+ /** @name RmrkTraitsNftNftChild (489) */
interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name UpPovEstimateRpcPovInfo (491) */
+ /** @name UpPovEstimateRpcPovInfo (490) */
interface UpPovEstimateRpcPovInfo extends Struct {
readonly proofSize: u64;
readonly compactProofSize: u64;
@@ -3873,7 +3885,7 @@
readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;
}
- /** @name SpRuntimeTransactionValidityTransactionValidityError (494) */
+ /** @name SpRuntimeTransactionValidityTransactionValidityError (493) */
interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {
readonly isInvalid: boolean;
readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;
@@ -3882,7 +3894,7 @@
readonly type: 'Invalid' | 'Unknown';
}
- /** @name SpRuntimeTransactionValidityInvalidTransaction (495) */
+ /** @name SpRuntimeTransactionValidityInvalidTransaction (494) */
interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {
readonly isCall: boolean;
readonly isPayment: boolean;
@@ -3899,7 +3911,7 @@
readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';
}
- /** @name SpRuntimeTransactionValidityUnknownTransaction (496) */
+ /** @name SpRuntimeTransactionValidityUnknownTransaction (495) */
interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {
readonly isCannotLookup: boolean;
readonly isNoUnsignedValidator: boolean;
@@ -3908,13 +3920,13 @@
readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';
}
- /** @name UpPovEstimateRpcTrieKeyValue (498) */
+ /** @name UpPovEstimateRpcTrieKeyValue (497) */
interface UpPovEstimateRpcTrieKeyValue extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletCommonError (500) */
+ /** @name PalletCommonError (499) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3955,7 +3967,7 @@
readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
}
- /** @name PalletFungibleError (502) */
+ /** @name PalletFungibleError (501) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3967,7 +3979,7 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
- /** @name PalletRefungibleError (506) */
+ /** @name PalletRefungibleError (505) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3977,19 +3989,19 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (507) */
+ /** @name PalletNonfungibleItemData (506) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (509) */
+ /** @name UpDataStructsPropertyScope (508) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly type: 'None' | 'Rmrk';
}
- /** @name PalletNonfungibleError (512) */
+ /** @name PalletNonfungibleError (511) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3997,7 +4009,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (513) */
+ /** @name PalletStructureError (512) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -4006,7 +4018,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (514) */
+ /** @name PalletRmrkCoreError (513) */
interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
@@ -4030,7 +4042,7 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (516) */
+ /** @name PalletRmrkEquipError (515) */
interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -4042,7 +4054,7 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletAppPromotionError (522) */
+ /** @name PalletAppPromotionError (521) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -4053,7 +4065,7 @@
readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
}
- /** @name PalletForeignAssetsModuleError (523) */
+ /** @name PalletForeignAssetsModuleError (522) */
interface PalletForeignAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
@@ -4062,7 +4074,7 @@
readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
}
- /** @name PalletEvmError (525) */
+ /** @name PalletEvmError (524) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -4078,7 +4090,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';
}
- /** @name FpRpcTransactionStatus (528) */
+ /** @name FpRpcTransactionStatus (527) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -4089,10 +4101,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (530) */
+ /** @name EthbloomBloom (529) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (532) */
+ /** @name EthereumReceiptReceiptV3 (531) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -4103,7 +4115,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (533) */
+ /** @name EthereumReceiptEip658ReceiptData (532) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -4111,14 +4123,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (534) */
+ /** @name EthereumBlock (533) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (535) */
+ /** @name EthereumHeader (534) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -4137,24 +4149,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (536) */
+ /** @name EthereumTypesHashH64 (535) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (541) */
+ /** @name PalletEthereumError (540) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (542) */
+ /** @name PalletEvmCoderSubstrateError (541) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (543) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (542) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -4164,7 +4176,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (544) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (543) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -4172,7 +4184,7 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (550) */
+ /** @name PalletEvmContractHelpersError (549) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
@@ -4180,7 +4192,7 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletEvmMigrationError (551) */
+ /** @name PalletEvmMigrationError (550) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
@@ -4188,17 +4200,17 @@
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
- /** @name PalletMaintenanceError (552) */
+ /** @name PalletMaintenanceError (551) */
type PalletMaintenanceError = Null;
- /** @name PalletTestUtilsError (553) */
+ /** @name PalletTestUtilsError (552) */
interface PalletTestUtilsError extends Enum {
readonly isTestPalletDisabled: boolean;
readonly isTriggerRollback: boolean;
readonly type: 'TestPalletDisabled' | 'TriggerRollback';
}
- /** @name SpRuntimeMultiSignature (555) */
+ /** @name SpRuntimeMultiSignature (554) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -4209,43 +4221,43 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (556) */
+ /** @name SpCoreEd25519Signature (555) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (558) */
+ /** @name SpCoreSr25519Signature (557) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (559) */
+ /** @name SpCoreEcdsaSignature (558) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (562) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (561) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckTxVersion (563) */
+ /** @name FrameSystemExtensionsCheckTxVersion (562) */
type FrameSystemExtensionsCheckTxVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (564) */
+ /** @name FrameSystemExtensionsCheckGenesis (563) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (567) */
+ /** @name FrameSystemExtensionsCheckNonce (566) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (568) */
+ /** @name FrameSystemExtensionsCheckWeight (567) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (569) */
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (568) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity (570) */
- type OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity = Null;
+ /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (569) */
+ type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (571) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (570) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (572) */
+ /** @name OpalRuntimeRuntime (571) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (573) */
+ /** @name PalletEthereumFakeTransactionFinalizer (572) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/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