difftreelog
refactor `app-promotion` configuration pallet
in: master
13 files changed
pallets/app-promotion/CHANGELOG.mddiffbeforeafterboth--- a/pallets/app-promotion/CHANGELOG.md
+++ b/pallets/app-promotion/CHANGELOG.md
@@ -8,4 +8,4 @@
### Added
-- The ability to configure pallet `app-promotion` via the `configuration` palette
+- The ability to configure pallet `app-promotion` via the `configuration` pallet.
pallets/app-promotion/src/types.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/types.rs
+++ b/pallets/app-promotion/src/types.rs
@@ -145,12 +145,20 @@
}
impl<T: crate::Config> PalletConfiguration<T> {
pub fn get() -> Self {
- let config = <AppPromomotionConfigurationOverride<T>>::get().unwrap_or_default();
+ let config = <AppPromomotionConfigurationOverride<T>>::get();
Self {
- recalculation_interval: config.0.unwrap_or(T::RecalculationInterval::get()),
- pending_interval: config.2.unwrap_or(T::PendingInterval::get()),
- interval_income: config.1.unwrap_or(T::IntervalIncome::get()),
- max_stakers_per_calculation: config.3.unwrap_or(MAX_NUMBER_PAYOUTS),
+ recalculation_interval: config
+ .recalculation_interval
+ .unwrap_or_else(|| T::RecalculationInterval::get()),
+ pending_interval: config
+ .pending_interval
+ .unwrap_or_else(|| T::PendingInterval::get()),
+ interval_income: config
+ .interval_income
+ .unwrap_or_else(|| T::IntervalIncome::get()),
+ max_stakers_per_calculation: config
+ .max_stakers_per_calculation
+ .unwrap_or_else(|| MAX_NUMBER_PAYOUTS),
}
}
-}
+}
pallets/configuration/CHANGELOG.mddiffbeforeafterboth--- a/pallets/configuration/CHANGELOG.md
+++ b/pallets/configuration/CHANGELOG.md
@@ -3,7 +3,7 @@
### Added
-- The ability to configure pallet `app-promotion` via the `configuration` palette
+- The ability to configure pallet `app-promotion` via the `configuration` pallet.
## [v0.1.1] 2022-08-16
pallets/configuration/src/lib.rsdiffbeforeafterboth--- a/pallets/configuration/src/lib.rs
+++ b/pallets/configuration/src/lib.rs
@@ -23,6 +23,8 @@
weights::{WeightToFeePolynomial, WeightToFeeCoefficients, WeightToFeeCoefficient, Weight},
traits::Get,
};
+use parity_scale_codec::{Decode, Encode, MaxEncodedLen};
+use scale_info::TypeInfo;
use sp_arithmetic::traits::{BaseArithmetic, Unsigned};
use smallvec::smallvec;
@@ -57,6 +59,11 @@
type DayRelayBlocks: Get<Self::BlockNumber>;
}
+ #[pallet::error]
+ pub enum Error<T> {
+ InconsistentConfiguration,
+ }
+
#[pallet::storage]
pub type WeightToFeeCoefficientOverride<T: Config> = StorageValue<
Value = u32,
@@ -75,15 +82,8 @@
>;
#[pallet::storage]
- pub type AppPromomotionConfigurationOverride<T: Config> = StorageValue<
- Value = (
- Option<T::BlockNumber>,
- Option<Perbill>,
- Option<T::BlockNumber>,
- Option<u8>,
- ),
- QueryKind = OptionQuery,
- >;
+ pub type AppPromomotionConfigurationOverride<T: Config> =
+ StorageValue<Value = AppPromotionConfiguration<T::BlockNumber>, QueryKind = ValueQuery>;
#[pallet::call]
impl<T: Config> Pallet<T> {
@@ -92,7 +92,7 @@
origin: OriginFor<T>,
coeff: Option<u32>,
) -> DispatchResult {
- let _sender = ensure_root(origin)?;
+ ensure_root(origin)?;
if let Some(coeff) = coeff {
<WeightToFeeCoefficientOverride<T>>::set(coeff);
} else {
@@ -106,7 +106,7 @@
origin: OriginFor<T>,
coeff: Option<u64>,
) -> DispatchResult {
- let _sender = ensure_root(origin)?;
+ ensure_root(origin)?;
if let Some(coeff) = coeff {
<MinGasPriceOverride<T>>::set(coeff);
} else {
@@ -120,7 +120,7 @@
origin: OriginFor<T>,
locations: Option<BoundedVec<MultiLocation, T::MaxOverridedAllowedLocations>>,
) -> DispatchResult {
- let _sender = ensure_root(origin)?;
+ ensure_root(origin)?;
<XcmAllowedLocationsOverride<T>>::set(locations);
Ok(())
}
@@ -128,32 +128,19 @@
#[pallet::weight(T::DbWeight::get().writes(1))]
pub fn set_app_promotion_configuration_override(
origin: OriginFor<T>,
- recalculation_interval: Option<T::BlockNumber>,
- pending_interval: Option<T::BlockNumber>,
- stakers_payout_limit: Option<u8>,
+ mut configuration: AppPromotionConfiguration<T::BlockNumber>,
) -> DispatchResult {
- let _sender = ensure_root(origin)?;
+ ensure_root(origin)?;
+ if configuration.interval_income.is_some() {
+ return Err(<Error<T>>::InconsistentConfiguration.into());
+ }
- if recalculation_interval.is_none()
- && pending_interval.is_none()
- && stakers_payout_limit.is_none()
- {
- <AppPromomotionConfigurationOverride<T>>::kill();
- } else {
- let mut current_config =
- <AppPromomotionConfigurationOverride<T>>::take().unwrap_or_default();
+ configuration.interval_income = configuration.recalculation_interval.map(|b| {
+ Perbill::from_rational(b, T::DayRelayBlocks::get())
+ * T::AppPromotionDailyRate::get()
+ });
- recalculation_interval.map(|b| {
- current_config.0 = Some(b);
- current_config.1 = Some(
- Perbill::from_rational(b, T::DayRelayBlocks::get())
- * T::AppPromotionDailyRate::get(),
- )
- });
- pending_interval.map(|b| current_config.2 = Some(b));
- stakers_payout_limit.map(|p| current_config.3 = Some(p));
- <AppPromomotionConfigurationOverride<T>>::set(Some(current_config));
- }
+ <AppPromomotionConfigurationOverride<T>>::set(configuration);
Ok(())
}
@@ -192,3 +179,15 @@
)
}
}
+
+#[derive(Encode, Decode, Clone, Debug, Default, TypeInfo, MaxEncodedLen, PartialEq, PartialOrd)]
+pub struct AppPromotionConfiguration<BlockNumber> {
+ /// In relay blocks.
+ pub recalculation_interval: Option<BlockNumber>,
+ /// In parachain blocks.
+ pub pending_interval: Option<BlockNumber>,
+ /// Value for `RecalculationInterval` based on 0.05% per 24h.
+ pub interval_income: Option<Perbill>,
+ /// Maximum allowable number of stakers calculated per call of the `app-promotion::PayoutStakers` extrinsic.
+ pub max_stakers_per_calculation: Option<u8>,
+}
tests/src/app-promotion.test.tsdiffbeforeafterboth--- a/tests/src/app-promotion.test.ts
+++ b/tests/src/app-promotion.test.ts
@@ -38,7 +38,7 @@
nominal = helper.balance.getOneTokenNominal();
accounts = await helper.arrange.createCrowd(100, 1000n, donor); // create accounts-pool to speed up tests
const api = helper.getApi();
- await helper.signTransaction(alice, api.tx.sudo.sudo(api.tx.configuration.setAppPromotionConfigurationOverride(LOCKING_PERIOD, UNLOCKING_PERIOD, null)));
+ await helper.executeExtrinsic(alice, 'api.tx.sudo.sudo', [api.tx.configuration.setAppPromotionConfigurationOverride({recalculationInterval: LOCKING_PERIOD, pendingInterval: UNLOCKING_PERIOD})], true);
});
});
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -229,6 +229,13 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ configuration: {
+ InconsistentConfiguration: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
cumulusXcm: {
/**
* Generic error
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -9,12 +9,17 @@
import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
<<<<<<< HEAD
+<<<<<<< HEAD
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerV2BlockAgenda, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
=======
import type { AccountId32, H160, H256, Perbill, Weight } from '@polkadot/types/interfaces/runtime';
import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerV2BlockAgenda, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
>>>>>>> added the ability to configure pallet `app-promotion` via the `configuration` palette
+=======
+import type { AccountId32, H160, H256, Weight } from '@polkadot/types/interfaces/runtime';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerV2BlockAgenda, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
+>>>>>>> refactor: `app-promotion` configuration pallet
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -165,7 +170,7 @@
[key: string]: QueryableStorageEntry<ApiType>;
};
configuration: {
- appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[Option<u32>, Option<Perbill>, Option<u32>, Option<u8>]>>>, []> & QueryableStorageEntry<ApiType, []>;
+ appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/submittable';78import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';9import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';1314export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;15export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;16export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;1718declare module '@polkadot/api-base/types/submittable' {19 interface AugmentedSubmittables<ApiType extends ApiTypes> {20 appPromotion: {21 /**22 * Recalculates interest for the specified number of stakers.23 * If all stakers are not recalculated, the next call of the extrinsic24 * will continue the recalculation, from those stakers for whom this25 * was not perform in last call.26 * 27 * # Permissions28 * 29 * * Pallet admin30 * 31 * # Arguments32 * 33 * * `stakers_number`: the number of stakers for which recalculation will be performed34 **/35 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;36 /**37 * Sets an address as the the admin.38 * 39 * # Permissions40 * 41 * * Sudo42 * 43 * # Arguments44 * 45 * * `admin`: account of the new admin.46 **/47 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;48 /**49 * Sets the pallet to be the sponsor for the collection.50 * 51 * # Permissions52 * 53 * * Pallet admin54 * 55 * # Arguments56 * 57 * * `collection_id`: ID of the collection that will be sponsored by `pallet_id`58 **/59 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;60 /**61 * Sets the pallet to be the sponsor for the contract.62 * 63 * # Permissions64 * 65 * * Pallet admin66 * 67 * # Arguments68 * 69 * * `contract_id`: the contract address that will be sponsored by `pallet_id`70 **/71 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;72 /**73 * Stakes the amount of native tokens.74 * Sets `amount` to the locked state.75 * The maximum number of stakes for a staker is 10.76 * 77 * # Arguments78 * 79 * * `amount`: in native tokens.80 **/81 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;82 /**83 * Removes the pallet as the sponsor for the collection.84 * Returns [`NoPermission`][`Error::NoPermission`]85 * if the pallet wasn't the sponsor.86 * 87 * # Permissions88 * 89 * * Pallet admin90 * 91 * # Arguments92 * 93 * * `collection_id`: ID of the collection that is sponsored by `pallet_id`94 **/95 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;96 /**97 * Removes the pallet as the sponsor for the contract.98 * Returns [`NoPermission`][`Error::NoPermission`]99 * if the pallet wasn't the sponsor.100 * 101 * # Permissions102 * 103 * * Pallet admin104 * 105 * # Arguments106 * 107 * * `contract_id`: the contract address that is sponsored by `pallet_id`108 **/109 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;110 /**111 * Unstakes all stakes.112 * Moves the sum of all stakes to the `reserved` state.113 * After the end of `PendingInterval` this sum becomes completely114 * free for further use.115 **/116 unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;117 /**118 * Generic tx119 **/120 [key: string]: SubmittableExtrinsicFunction<ApiType>;121 };122 balances: {123 /**124 * Exactly as `transfer`, except the origin must be root and the source account may be125 * specified.126 * # <weight>127 * - Same as transfer, but additional read and write because the source account is not128 * assumed to be in the overlay.129 * # </weight>130 **/131 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>]>;132 /**133 * Unreserve some balance from a user by force.134 * 135 * Can only be called by ROOT.136 **/137 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;138 /**139 * Set the balances of a given account.140 * 141 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will142 * also alter the total issuance of the system (`TotalIssuance`) appropriately.143 * If the new free or reserved balance is below the existential deposit,144 * it will reset the account nonce (`frame_system::AccountNonce`).145 * 146 * The dispatch origin for this call is `root`.147 **/148 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>]>;149 /**150 * Transfer some liquid free balance to another account.151 * 152 * `transfer` will set the `FreeBalance` of the sender and receiver.153 * If the sender's account is below the existential deposit as a result154 * of the transfer, the account will be reaped.155 * 156 * The dispatch origin for this call must be `Signed` by the transactor.157 * 158 * # <weight>159 * - Dependent on arguments but not critical, given proper implementations for input config160 * types. See related functions below.161 * - It contains a limited number of reads and writes internally and no complex162 * computation.163 * 164 * Related functions:165 * 166 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.167 * - Transferring balances to accounts that did not exist before will cause168 * `T::OnNewAccount::on_new_account` to be called.169 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.170 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check171 * that the transfer will not kill the origin account.172 * ---------------------------------173 * - Origin account is already in memory, so no DB operations for them.174 * # </weight>175 **/176 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>]>;177 /**178 * Transfer the entire transferable balance from the caller account.179 * 180 * NOTE: This function only attempts to transfer _transferable_ balances. This means that181 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be182 * transferred by this function. To ensure that this function results in a killed account,183 * you might need to prepare the account by removing any reference counters, storage184 * deposits, etc...185 * 186 * The dispatch origin of this call must be Signed.187 * 188 * - `dest`: The recipient of the transfer.189 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all190 * of the funds the account has, causing the sender account to be killed (false), or191 * transfer everything except at least the existential deposit, which will guarantee to192 * keep the sender account alive (true). # <weight>193 * - O(1). Just like transfer, but reading the user's transferable balance first.194 * #</weight>195 **/196 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;197 /**198 * Same as the [`transfer`] call, but with a check that the transfer will not kill the199 * origin account.200 * 201 * 99% of the time you want [`transfer`] instead.202 * 203 * [`transfer`]: struct.Pallet.html#method.transfer204 **/205 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>]>;206 /**207 * Generic tx208 **/209 [key: string]: SubmittableExtrinsicFunction<ApiType>;210 };211 charging: {212 /**213 * Generic tx214 **/215 [key: string]: SubmittableExtrinsicFunction<ApiType>;216 };217 configuration: {218 setAppPromotionConfigurationOverride: AugmentedSubmittable<(recalculationInterval: Option<u32> | null | Uint8Array | u32 | AnyNumber, pendingInterval: Option<u32> | null | Uint8Array | u32 | AnyNumber, stakersPayoutLimit: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>, Option<u8>]>;219 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;220 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;221 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;222 /**223 * Generic tx224 **/225 [key: string]: SubmittableExtrinsicFunction<ApiType>;226 };227 cumulusXcm: {228 /**229 * Generic tx230 **/231 [key: string]: SubmittableExtrinsicFunction<ApiType>;232 };233 dmpQueue: {234 /**235 * Service a single overweight message.236 * 237 * - `origin`: Must pass `ExecuteOverweightOrigin`.238 * - `index`: The index of the overweight message to service.239 * - `weight_limit`: The amount of weight that message execution may take.240 * 241 * Errors:242 * - `Unknown`: Message of `index` is unknown.243 * - `OverLimit`: Message execution may use greater than `weight_limit`.244 * 245 * Events:246 * - `OverweightServiced`: On success.247 **/248 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;249 /**250 * Generic tx251 **/252 [key: string]: SubmittableExtrinsicFunction<ApiType>;253 };254 ethereum: {255 /**256 * Transact an Ethereum transaction.257 **/258 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;259 /**260 * Generic tx261 **/262 [key: string]: SubmittableExtrinsicFunction<ApiType>;263 };264 evm: {265 /**266 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.267 **/268 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>]>>]>;269 /**270 * Issue an EVM create operation. This is similar to a contract creation transaction in271 * Ethereum.272 **/273 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>]>>]>;274 /**275 * Issue an EVM create2 operation.276 **/277 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>]>>]>;278 /**279 * Withdraw balance from EVM into currency/balances pallet.280 **/281 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;282 /**283 * Generic tx284 **/285 [key: string]: SubmittableExtrinsicFunction<ApiType>;286 };287 evmMigration: {288 /**289 * Start contract migration, inserts contract stub at target address,290 * and marks account as pending, allowing to insert storage291 **/292 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;293 /**294 * Finish contract migration, allows it to be called.295 * It is not possible to alter contract storage via [`Self::set_data`]296 * after this call.297 **/298 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;299 /**300 * Create ethereum events attached to the fake transaction301 **/302 insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;303 /**304 * Create substrate events305 **/306 insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;307 /**308 * Insert items into contract storage, this method can be called309 * multiple times310 **/311 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;312 /**313 * Generic tx314 **/315 [key: string]: SubmittableExtrinsicFunction<ApiType>;316 };317 foreignAssets: {318 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]>;319 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]>;320 /**321 * Generic tx322 **/323 [key: string]: SubmittableExtrinsicFunction<ApiType>;324 };325 inflation: {326 /**327 * This method sets the inflation start date. Can be only called once.328 * Inflation start block can be backdated and will catch up. The method will create Treasury329 * account if it does not exist and perform the first inflation deposit.330 * 331 * # Permissions332 * 333 * * Root334 * 335 * # Arguments336 * 337 * * inflation_start_relay_block: The relay chain block at which inflation should start338 **/339 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;340 /**341 * Generic tx342 **/343 [key: string]: SubmittableExtrinsicFunction<ApiType>;344 };345 maintenance: {346 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;347 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;348 /**349 * Generic tx350 **/351 [key: string]: SubmittableExtrinsicFunction<ApiType>;352 };353 parachainSystem: {354 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;355 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;356 /**357 * Set the current validation data.358 * 359 * This should be invoked exactly once per block. It will panic at the finalization360 * phase if the call was not invoked.361 * 362 * The dispatch origin for this call must be `Inherent`363 * 364 * As a side effect, this function upgrades the current validation function365 * if the appropriate time has come.366 **/367 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;368 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;369 /**370 * Generic tx371 **/372 [key: string]: SubmittableExtrinsicFunction<ApiType>;373 };374 polkadotXcm: {375 /**376 * Execute an XCM message from a local, signed, origin.377 * 378 * An event is deposited indicating whether `msg` could be executed completely or only379 * partially.380 * 381 * No more than `max_weight` will be used in its attempted execution. If this is less than the382 * maximum amount of weight that the message could take to be executed, then no execution383 * attempt will be made.384 * 385 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully386 * to completion; only that *some* of it was executed.387 **/388 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;389 /**390 * Set a safe XCM version (the version that XCM should be encoded with if the most recent391 * version a destination can accept is unknown).392 * 393 * - `origin`: Must be Root.394 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.395 **/396 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;397 /**398 * Ask a location to notify us regarding their XCM version and any changes to it.399 * 400 * - `origin`: Must be Root.401 * - `location`: The location to which we should subscribe for XCM version notifications.402 **/403 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;404 /**405 * Require that a particular destination should no longer notify us regarding any XCM406 * version changes.407 * 408 * - `origin`: Must be Root.409 * - `location`: The location to which we are currently subscribed for XCM version410 * notifications which we no longer desire.411 **/412 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;413 /**414 * Extoll that a particular destination can be communicated with through a particular415 * version of XCM.416 * 417 * - `origin`: Must be Root.418 * - `location`: The destination that is being described.419 * - `xcm_version`: The latest version of XCM that `location` supports.420 **/421 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;422 /**423 * Transfer some assets from the local chain to the sovereign account of a destination424 * chain and forward a notification XCM.425 * 426 * Fee payment on the destination side is made from the asset in the `assets` vector of427 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight428 * is needed than `weight_limit`, then the operation will fail and the assets send may be429 * at risk.430 * 431 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.432 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send433 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.434 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be435 * an `AccountId32` value.436 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the437 * `dest` side.438 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay439 * fees.440 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.441 **/442 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]>;443 /**444 * Teleport some assets from the local chain to some destination chain.445 * 446 * Fee payment on the destination side is made from the asset in the `assets` vector of447 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight448 * is needed than `weight_limit`, then the operation will fail and the assets send may be449 * at risk.450 * 451 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.452 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send453 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.454 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be455 * an `AccountId32` value.456 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the457 * `dest` side. May not be empty.458 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay459 * fees.460 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.461 **/462 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]>;463 /**464 * Transfer some assets from the local chain to the sovereign account of a destination465 * chain and forward a notification XCM.466 * 467 * Fee payment on the destination side is made from the asset in the `assets` vector of468 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,469 * with all fees taken as needed from the asset.470 * 471 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.472 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send473 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.474 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be475 * an `AccountId32` value.476 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the477 * `dest` side.478 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay479 * fees.480 **/481 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]>;482 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;483 /**484 * Teleport some assets from the local chain to some destination chain.485 * 486 * Fee payment on the destination side is made from the asset in the `assets` vector of487 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,488 * with all fees taken as needed from the asset.489 * 490 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.491 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send492 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.493 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be494 * an `AccountId32` value.495 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the496 * `dest` side. May not be empty.497 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay498 * fees.499 **/500 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]>;501 /**502 * Generic tx503 **/504 [key: string]: SubmittableExtrinsicFunction<ApiType>;505 };506 rmrkCore: {507 /**508 * Accept an NFT sent from another account to self or an owned NFT.509 * 510 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.511 * 512 * # Permissions:513 * - Token-owner-to-be514 * 515 * # Arguments:516 * - `origin`: sender of the transaction517 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.518 * - `rmrk_nft_id`: ID of the NFT to be accepted.519 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,520 * whichever the accepted NFT was sent to.521 **/522 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;523 /**524 * Accept the addition of a newly created pending resource to an existing NFT.525 * 526 * This transaction is needed when a resource is created and assigned to an NFT527 * by a non-owner, i.e. the collection issuer, with one of the528 * [`add_...` transactions](Pallet::add_basic_resource).529 * 530 * # Permissions:531 * - Token owner532 * 533 * # Arguments:534 * - `origin`: sender of the transaction535 * - `rmrk_collection_id`: RMRK collection ID of the NFT.536 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.537 * - `resource_id`: ID of the newly created pending resource.538 * accept the addition of a new resource to an existing NFT539 **/540 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;541 /**542 * Accept the removal of a removal-pending resource from an NFT.543 * 544 * This transaction is needed when a non-owner, i.e. the collection issuer,545 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.546 * 547 * # Permissions:548 * - Token owner549 * 550 * # Arguments:551 * - `origin`: sender of the transaction552 * - `rmrk_collection_id`: RMRK collection ID of the NFT.553 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.554 * - `resource_id`: ID of the removal-pending resource.555 **/556 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;557 /**558 * Create and set/propose a basic resource for an NFT.559 * 560 * A basic resource is the simplest, lacking a Base and anything that comes with it.561 * See RMRK docs for more information and examples.562 * 563 * # Permissions:564 * - Collection issuer - if not the token owner, adding the resource will warrant565 * the owner's [acceptance](Pallet::accept_resource).566 * 567 * # Arguments:568 * - `origin`: sender of the transaction569 * - `rmrk_collection_id`: RMRK collection ID of the NFT.570 * - `nft_id`: ID of the NFT to assign a resource to.571 * - `resource`: Data of the resource to be created.572 **/573 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]>;574 /**575 * Create and set/propose a composable resource for an NFT.576 * 577 * A composable resource links to a Base and has a subset of its Parts it is composed of.578 * See RMRK docs for more information and examples.579 * 580 * # Permissions:581 * - Collection issuer - if not the token owner, adding the resource will warrant582 * the owner's [acceptance](Pallet::accept_resource).583 * 584 * # Arguments:585 * - `origin`: sender of the transaction586 * - `rmrk_collection_id`: RMRK collection ID of the NFT.587 * - `nft_id`: ID of the NFT to assign a resource to.588 * - `resource`: Data of the resource to be created.589 **/590 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]>;591 /**592 * Create and set/propose a slot resource for an NFT.593 * 594 * A slot resource links to a Base and a slot ID in it which it can fit into.595 * See RMRK docs for more information and examples.596 * 597 * # Permissions:598 * - Collection issuer - if not the token owner, adding the resource will warrant599 * the owner's [acceptance](Pallet::accept_resource).600 * 601 * # Arguments:602 * - `origin`: sender of the transaction603 * - `rmrk_collection_id`: RMRK collection ID of the NFT.604 * - `nft_id`: ID of the NFT to assign a resource to.605 * - `resource`: Data of the resource to be created.606 **/607 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]>;608 /**609 * Burn an NFT, destroying it and its nested tokens up to the specified limit.610 * If the burning budget is exceeded, the transaction is reverted.611 * 612 * This is the way to burn a nested token as well.613 * 614 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).615 * 616 * # Permissions:617 * * Token owner618 * 619 * # Arguments:620 * - `origin`: sender of the transaction621 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.622 * - `nft_id`: ID of the NFT to be destroyed.623 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction624 * is reverted if there are more tokens to burn in the nesting tree than this number.625 * This is primarily a mechanism of transaction weight control.626 **/627 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;628 /**629 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).630 * 631 * # Permissions:632 * * Collection issuer633 * 634 * # Arguments:635 * - `origin`: sender of the transaction636 * - `collection_id`: RMRK collection ID to change the issuer of.637 * - `new_issuer`: Collection's new issuer.638 **/639 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;640 /**641 * Create a new collection of NFTs.642 * 643 * # Permissions:644 * * Anyone - will be assigned as the issuer of the collection.645 * 646 * # Arguments:647 * - `origin`: sender of the transaction648 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.649 * - `max`: Optional maximum number of tokens.650 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.651 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.652 **/653 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;654 /**655 * Destroy a collection.656 * 657 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.658 * 659 * # Permissions:660 * * Collection issuer661 * 662 * # Arguments:663 * - `origin`: sender of the transaction664 * - `collection_id`: RMRK ID of the collection to destroy.665 **/666 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;667 /**668 * "Lock" the collection and prevent new token creation. Cannot be undone.669 * 670 * # Permissions:671 * * Collection issuer672 * 673 * # Arguments:674 * - `origin`: sender of the transaction675 * - `collection_id`: RMRK ID of the collection to lock.676 **/677 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;678 /**679 * Mint an NFT in a specified collection.680 * 681 * # Permissions:682 * * Collection issuer683 * 684 * # Arguments:685 * - `origin`: sender of the transaction686 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).687 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.688 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.689 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.690 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.691 * - `transferable`: Can this NFT be transferred? Cannot be changed.692 * - `resources`: Resource data to be added to the NFT immediately after minting.693 **/694 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>>]>;695 /**696 * Reject an NFT sent from another account to self or owned NFT.697 * The NFT in question will not be sent back and burnt instead.698 * 699 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.700 * 701 * # Permissions:702 * - Token-owner-to-be-not703 * 704 * # Arguments:705 * - `origin`: sender of the transaction706 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.707 * - `rmrk_nft_id`: ID of the NFT to be rejected.708 **/709 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;710 /**711 * Remove and erase a resource from an NFT.712 * 713 * If the sender does not own the NFT, then it will be pending confirmation,714 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.715 * 716 * # Permissions717 * - Collection issuer718 * 719 * # Arguments720 * - `origin`: sender of the transaction721 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.722 * - `nft_id`: ID of the NFT with a resource to be removed.723 * - `resource_id`: ID of the resource to be removed.724 **/725 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;726 /**727 * Transfer an NFT from an account/NFT A to another account/NFT B.728 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].729 * 730 * If the target owner is an NFT owned by another account, then the NFT will enter731 * the pending state and will have to be accepted by the other account.732 * 733 * # Permissions:734 * - Token owner735 * 736 * # Arguments:737 * - `origin`: sender of the transaction738 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.739 * - `rmrk_nft_id`: ID of the NFT to be transferred.740 * - `new_owner`: New owner of the nft which can be either an account or a NFT.741 **/742 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;743 /**744 * Set a different order of resource priorities for an NFT. Priorities can be used,745 * for example, for order of rendering.746 * 747 * Note that the priorities are not updated automatically, and are an empty vector748 * by default. There is no pre-set definition for the order to be particular,749 * it can be interpreted arbitrarily use-case by use-case.750 * 751 * # Permissions:752 * - Token owner753 * 754 * # Arguments:755 * - `origin`: sender of the transaction756 * - `rmrk_collection_id`: RMRK collection ID of the NFT.757 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.758 * - `priorities`: Ordered vector of resource IDs.759 **/760 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;761 /**762 * Add or edit a custom user property, a key-value pair, describing the metadata763 * of a token or a collection, on either one of these.764 * 765 * Note that in this proxy implementation many details regarding RMRK are stored766 * as scoped properties prefixed with "rmrk:", normally inaccessible767 * to external transactions and RPCs.768 * 769 * # Permissions:770 * - Collection issuer - in case of collection property771 * - Token owner - in case of NFT property772 * 773 * # Arguments:774 * - `origin`: sender of the transaction775 * - `rmrk_collection_id`: RMRK collection ID.776 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.777 * - `key`: Key of the custom property to be referenced by.778 * - `value`: Value of the custom property to be stored.779 **/780 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]>;781 /**782 * Generic tx783 **/784 [key: string]: SubmittableExtrinsicFunction<ApiType>;785 };786 rmrkEquip: {787 /**788 * Create a new Base.789 * 790 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)791 * 792 * # Permissions793 * - Anyone - will be assigned as the issuer of the Base.794 * 795 * # Arguments:796 * - `origin`: Caller, will be assigned as the issuer of the Base797 * - `base_type`: Arbitrary media type, e.g. "svg".798 * - `symbol`: Arbitrary client-chosen symbol.799 * - `parts`: Array of Fixed and Slot Parts composing the Base,800 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).801 **/802 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>]>;803 /**804 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.805 * 806 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).807 * 808 * # Permissions:809 * - Base issuer810 * 811 * # Arguments:812 * - `origin`: sender of the transaction813 * - `base_id`: Base containing the Slot Part to be updated.814 * - `slot_id`: Slot Part whose Equippable List is being updated .815 * - `equippables`: List of equippables that will override the current Equippables list.816 **/817 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]>;818 /**819 * Add a Theme to a Base.820 * A Theme named "default" is required prior to adding other Themes.821 * 822 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).823 * 824 * # Permissions:825 * - Base issuer826 * 827 * # Arguments:828 * - `origin`: sender of the transaction829 * - `base_id`: Base ID containing the Theme to be updated.830 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an831 * array of [key, value, inherit].832 * - `key`: Arbitrary BoundedString, defined by client.833 * - `value`: Arbitrary BoundedString, defined by client.834 * - `inherit`: Optional bool.835 **/836 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;837 /**838 * Generic tx839 **/840 [key: string]: SubmittableExtrinsicFunction<ApiType>;841 };842 scheduler: {843 /**844 * Cancel an anonymously scheduled task.845 * 846 * The `T::OriginPrivilegeCmp` decides whether the given origin is allowed to cancel the task or not.847 **/848 cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;849 /**850 * Cancel a named scheduled task.851 * 852 * The `T::OriginPrivilegeCmp` decides whether the given origin is allowed to cancel the task or not.853 **/854 cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;855 /**856 * Change a named task's priority.857 * 858 * Only the `T::PrioritySetOrigin` is allowed to change the task's priority.859 **/860 changeNamedPriority: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8]>;861 /**862 * Anonymously schedule a task.863 * 864 * Only `T::ScheduleOrigin` is allowed to schedule a task.865 * Only `T::PrioritySetOrigin` is allowed to set the task's priority.866 **/867 schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: Option<u8> | null | Uint8Array | u8 | AnyNumber, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, Option<u8>, Call]>;868 /**869 * Anonymously schedule a task after a delay.870 * 871 * # <weight>872 * Same as [`schedule`].873 * # </weight>874 **/875 scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: Option<u8> | null | Uint8Array | u8 | AnyNumber, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, Option<u8>, Call]>;876 /**877 * Schedule a named task.878 * 879 * Only `T::ScheduleOrigin` is allowed to schedule a task.880 * Only `T::PrioritySetOrigin` is allowed to set the task's priority.881 **/882 scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: Option<u8> | null | Uint8Array | u8 | AnyNumber, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, Option<u8>, Call]>;883 /**884 * Schedule a named task after a delay.885 * 886 * Only `T::ScheduleOrigin` is allowed to schedule a task.887 * Only `T::PrioritySetOrigin` is allowed to set the task's priority.888 * 889 * # <weight>890 * Same as [`schedule_named`](Self::schedule_named).891 * # </weight>892 **/893 scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: Option<u8> | null | Uint8Array | u8 | AnyNumber, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, Option<u8>, Call]>;894 /**895 * Generic tx896 **/897 [key: string]: SubmittableExtrinsicFunction<ApiType>;898 };899 structure: {900 /**901 * Generic tx902 **/903 [key: string]: SubmittableExtrinsicFunction<ApiType>;904 };905 sudo: {906 /**907 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo908 * key.909 * 910 * The dispatch origin for this call must be _Signed_.911 * 912 * # <weight>913 * - O(1).914 * - Limited storage reads.915 * - One DB change.916 * # </weight>917 **/918 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;919 /**920 * Authenticates the sudo key and dispatches a function call with `Root` origin.921 * 922 * The dispatch origin for this call must be _Signed_.923 * 924 * # <weight>925 * - O(1).926 * - Limited storage reads.927 * - One DB write (event).928 * - Weight of derivative `call` execution + 10,000.929 * # </weight>930 **/931 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;932 /**933 * Authenticates the sudo key and dispatches a function call with `Signed` origin from934 * a given account.935 * 936 * The dispatch origin for this call must be _Signed_.937 * 938 * # <weight>939 * - O(1).940 * - Limited storage reads.941 * - One DB write (event).942 * - Weight of derivative `call` execution + 10,000.943 * # </weight>944 **/945 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]>;946 /**947 * Authenticates the sudo key and dispatches a function call with `Root` origin.948 * This function does not check the weight of the call, and instead allows the949 * Sudo user to specify the weight of the call.950 * 951 * The dispatch origin for this call must be _Signed_.952 * 953 * # <weight>954 * - O(1).955 * - The weight of this call is defined by the caller.956 * # </weight>957 **/958 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;959 /**960 * Generic tx961 **/962 [key: string]: SubmittableExtrinsicFunction<ApiType>;963 };964 system: {965 /**966 * A dispatch that will fill the block weight up to the given ratio.967 **/968 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;969 /**970 * Kill all storage items with a key that starts with the given prefix.971 * 972 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under973 * the prefix we are removing to accurately calculate the weight of this function.974 **/975 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;976 /**977 * Kill some items from storage.978 **/979 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;980 /**981 * Make some on-chain remark.982 * 983 * # <weight>984 * - `O(1)`985 * # </weight>986 **/987 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;988 /**989 * Make some on-chain remark and emit event.990 **/991 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;992 /**993 * Set the new runtime code.994 * 995 * # <weight>996 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`997 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is998 * expensive).999 * - 1 storage write (codec `O(C)`).1000 * - 1 digest item.1001 * - 1 event.1002 * The weight of this function is dependent on the runtime, but generally this is very1003 * expensive. We will treat this as a full block.1004 * # </weight>1005 **/1006 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1007 /**1008 * Set the new runtime code without doing any checks of the given `code`.1009 * 1010 * # <weight>1011 * - `O(C)` where `C` length of `code`1012 * - 1 storage write (codec `O(C)`).1013 * - 1 digest item.1014 * - 1 event.1015 * The weight of this function is dependent on the runtime. We will treat this as a full1016 * block. # </weight>1017 **/1018 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1019 /**1020 * Set the number of pages in the WebAssembly environment's heap.1021 **/1022 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1023 /**1024 * Set some items of storage.1025 **/1026 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;1027 /**1028 * Generic tx1029 **/1030 [key: string]: SubmittableExtrinsicFunction<ApiType>;1031 };1032 testUtils: {1033 batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;1034 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1035 incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1036 justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1037 selfCancelingInc: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, maxTestValue: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32]>;1038 setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1039 setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1040 /**1041 * Generic tx1042 **/1043 [key: string]: SubmittableExtrinsicFunction<ApiType>;1044 };1045 timestamp: {1046 /**1047 * Set the current time.1048 * 1049 * This call should be invoked exactly once per block. It will panic at the finalization1050 * phase, if this call hasn't been invoked by that time.1051 * 1052 * The timestamp should be greater than the previous one by the amount specified by1053 * `MinimumPeriod`.1054 * 1055 * The dispatch origin for this call must be `Inherent`.1056 * 1057 * # <weight>1058 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1059 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1060 * `on_finalize`)1061 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1062 * # </weight>1063 **/1064 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1065 /**1066 * Generic tx1067 **/1068 [key: string]: SubmittableExtrinsicFunction<ApiType>;1069 };1070 tokens: {1071 /**1072 * Exactly as `transfer`, except the origin must be root and the source1073 * account may be specified.1074 * 1075 * The dispatch origin for this call must be _Root_.1076 * 1077 * - `source`: The sender of the transfer.1078 * - `dest`: The recipient of the transfer.1079 * - `currency_id`: currency type.1080 * - `amount`: free balance amount to tranfer.1081 **/1082 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>]>;1083 /**1084 * Set the balances of a given account.1085 * 1086 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1087 * will also decrease the total issuance of the system1088 * (`TotalIssuance`). If the new free or reserved balance is below the1089 * existential deposit, it will reap the `AccountInfo`.1090 * 1091 * The dispatch origin for this call is `root`.1092 **/1093 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>]>;1094 /**1095 * Transfer some liquid free balance to another account.1096 * 1097 * `transfer` will set the `FreeBalance` of the sender and receiver.1098 * It will decrease the total issuance of the system by the1099 * `TransferFee`. If the sender's account is below the existential1100 * deposit as a result of the transfer, the account will be reaped.1101 * 1102 * The dispatch origin for this call must be `Signed` by the1103 * transactor.1104 * 1105 * - `dest`: The recipient of the transfer.1106 * - `currency_id`: currency type.1107 * - `amount`: free balance amount to tranfer.1108 **/1109 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>]>;1110 /**1111 * Transfer all remaining balance to the given account.1112 * 1113 * NOTE: This function only attempts to transfer _transferable_1114 * balances. This means that any locked, reserved, or existential1115 * deposits (when `keep_alive` is `true`), will not be transferred by1116 * this function. To ensure that this function results in a killed1117 * account, you might need to prepare the account by removing any1118 * reference counters, storage deposits, etc...1119 * 1120 * The dispatch origin for this call must be `Signed` by the1121 * transactor.1122 * 1123 * - `dest`: The recipient of the transfer.1124 * - `currency_id`: currency type.1125 * - `keep_alive`: A boolean to determine if the `transfer_all`1126 * operation should send all of the funds the account has, causing1127 * the sender account to be killed (false), or transfer everything1128 * except at least the existential deposit, which will guarantee to1129 * keep the sender account alive (true).1130 **/1131 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]>;1132 /**1133 * Same as the [`transfer`] call, but with a check that the transfer1134 * will not kill the origin account.1135 * 1136 * 99% of the time you want [`transfer`] instead.1137 * 1138 * The dispatch origin for this call must be `Signed` by the1139 * transactor.1140 * 1141 * - `dest`: The recipient of the transfer.1142 * - `currency_id`: currency type.1143 * - `amount`: free balance amount to tranfer.1144 **/1145 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>]>;1146 /**1147 * Generic tx1148 **/1149 [key: string]: SubmittableExtrinsicFunction<ApiType>;1150 };1151 treasury: {1152 /**1153 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1154 * and the original deposit will be returned.1155 * 1156 * May only be called from `T::ApproveOrigin`.1157 * 1158 * # <weight>1159 * - Complexity: O(1).1160 * - DbReads: `Proposals`, `Approvals`1161 * - DbWrite: `Approvals`1162 * # </weight>1163 **/1164 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1165 /**1166 * Put forward a suggestion for spending. A deposit proportional to the value1167 * is reserved and slashed if the proposal is rejected. It is returned once the1168 * proposal is awarded.1169 * 1170 * # <weight>1171 * - Complexity: O(1)1172 * - DbReads: `ProposalCount`, `origin account`1173 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1174 * # </weight>1175 **/1176 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]>;1177 /**1178 * Reject a proposed spend. The original deposit will be slashed.1179 * 1180 * May only be called from `T::RejectOrigin`.1181 * 1182 * # <weight>1183 * - Complexity: O(1)1184 * - DbReads: `Proposals`, `rejected proposer account`1185 * - DbWrites: `Proposals`, `rejected proposer account`1186 * # </weight>1187 **/1188 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1189 /**1190 * Force a previously approved proposal to be removed from the approval queue.1191 * The original deposit will no longer be returned.1192 * 1193 * May only be called from `T::RejectOrigin`.1194 * - `proposal_id`: The index of a proposal1195 * 1196 * # <weight>1197 * - Complexity: O(A) where `A` is the number of approvals1198 * - Db reads and writes: `Approvals`1199 * # </weight>1200 * 1201 * Errors:1202 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1203 * i.e., the proposal has not been approved. This could also mean the proposal does not1204 * exist altogether, thus there is no way it would have been approved in the first place.1205 **/1206 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1207 /**1208 * Propose and approve a spend of treasury funds.1209 * 1210 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1211 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1212 * - `beneficiary`: The destination account for the transfer.1213 * 1214 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1215 * beneficiary.1216 **/1217 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]>;1218 /**1219 * Generic tx1220 **/1221 [key: string]: SubmittableExtrinsicFunction<ApiType>;1222 };1223 unique: {1224 /**1225 * Add an admin to a collection.1226 * 1227 * NFT Collection can be controlled by multiple admin addresses1228 * (some which can also be servers, for example). Admins can issue1229 * and burn NFTs, as well as add and remove other admins,1230 * but cannot change NFT or Collection ownership.1231 * 1232 * # Permissions1233 * 1234 * * Collection owner1235 * * Collection admin1236 * 1237 * # Arguments1238 * 1239 * * `collection_id`: ID of the Collection to add an admin for.1240 * * `new_admin`: Address of new admin to add.1241 **/1242 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1243 /**1244 * Add an address to allow list.1245 * 1246 * # Permissions1247 * 1248 * * Collection owner1249 * * Collection admin1250 * 1251 * # Arguments1252 * 1253 * * `collection_id`: ID of the modified collection.1254 * * `address`: ID of the address to be added to the allowlist.1255 **/1256 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1257 /**1258 * Allow a non-permissioned address to transfer or burn an item.1259 * 1260 * # Permissions1261 * 1262 * * Collection owner1263 * * Collection admin1264 * * Current item owner1265 * 1266 * # Arguments1267 * 1268 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1269 * * `collection_id`: ID of the collection the item belongs to.1270 * * `item_id`: ID of the item transactions on which are now approved.1271 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1272 * Set to 0 to revoke the approval.1273 **/1274 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]>;1275 /**1276 * Destroy a token on behalf of the owner as a non-owner account.1277 * 1278 * See also: [`approve`][`Pallet::approve`].1279 * 1280 * After this method executes, one approval is removed from the total so that1281 * the approved address will not be able to transfer this item again from this owner.1282 * 1283 * # Permissions1284 * 1285 * * Collection owner1286 * * Collection admin1287 * * Current token owner1288 * * Address approved by current item owner1289 * 1290 * # Arguments1291 * 1292 * * `from`: The owner of the burning item.1293 * * `collection_id`: ID of the collection to which the item belongs.1294 * * `item_id`: ID of item to burn.1295 * * `value`: Number of pieces to burn.1296 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1297 * * Fungible Mode: The desired number of pieces to burn.1298 * * Re-Fungible Mode: The desired number of pieces to burn.1299 **/1300 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]>;1301 /**1302 * Destroy an item.1303 * 1304 * # Permissions1305 * 1306 * * Collection owner1307 * * Collection admin1308 * * Current item owner1309 * 1310 * # Arguments1311 * 1312 * * `collection_id`: ID of the collection to which the item belongs.1313 * * `item_id`: ID of item to burn.1314 * * `value`: Number of pieces of the item to destroy.1315 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1316 * * Fungible Mode: The desired number of pieces to burn.1317 * * Re-Fungible Mode: The desired number of pieces to burn.1318 **/1319 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1320 /**1321 * Change the owner of the collection.1322 * 1323 * # Permissions1324 * 1325 * * Collection owner1326 * 1327 * # Arguments1328 * 1329 * * `collection_id`: ID of the modified collection.1330 * * `new_owner`: ID of the account that will become the owner.1331 **/1332 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1333 /**1334 * Confirm own sponsorship of a collection, becoming the sponsor.1335 * 1336 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1337 * Sponsor can pay the fees of a transaction instead of the sender,1338 * but only within specified limits.1339 * 1340 * # Permissions1341 * 1342 * * Sponsor-to-be1343 * 1344 * # Arguments1345 * 1346 * * `collection_id`: ID of the collection with the pending sponsor.1347 **/1348 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1349 /**1350 * Create a collection of tokens.1351 * 1352 * Each Token may have multiple properties encoded as an array of bytes1353 * of certain length. The initial owner of the collection is set1354 * to the address that signed the transaction and can be changed later.1355 * 1356 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1357 * 1358 * # Permissions1359 * 1360 * * Anyone - becomes the owner of the new collection.1361 * 1362 * # Arguments1363 * 1364 * * `collection_name`: Wide-character string with collection name1365 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1366 * * `collection_description`: Wide-character string with collection description1367 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1368 * * `token_prefix`: Byte string containing the token prefix to mark a collection1369 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1370 * * `mode`: Type of items stored in the collection and type dependent data.1371 **/1372 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]>;1373 /**1374 * Create a collection with explicit parameters.1375 * 1376 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1377 * 1378 * # Permissions1379 * 1380 * * Anyone - becomes the owner of the new collection.1381 * 1382 * # Arguments1383 * 1384 * * `data`: Explicit data of a collection used for its creation.1385 **/1386 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]>;1387 /**1388 * Mint an item within a collection.1389 * 1390 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1391 * 1392 * # Permissions1393 * 1394 * * Collection owner1395 * * Collection admin1396 * * Anyone if1397 * * Allow List is enabled, and1398 * * Address is added to allow list, and1399 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1400 * 1401 * # Arguments1402 * 1403 * * `collection_id`: ID of the collection to which an item would belong.1404 * * `owner`: Address of the initial owner of the item.1405 * * `data`: Token data describing the item to store on chain.1406 **/1407 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]>;1408 /**1409 * Create multiple items within a collection.1410 * 1411 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1412 * 1413 * # Permissions1414 * 1415 * * Collection owner1416 * * Collection admin1417 * * Anyone if1418 * * Allow List is enabled, and1419 * * Address is added to the allow list, and1420 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1421 * 1422 * # Arguments1423 * 1424 * * `collection_id`: ID of the collection to which the tokens would belong.1425 * * `owner`: Address of the initial owner of the tokens.1426 * * `items_data`: Vector of data describing each item to be created.1427 **/1428 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>]>;1429 /**1430 * Create multiple items within a collection with explicitly specified initial parameters.1431 * 1432 * # Permissions1433 * 1434 * * Collection owner1435 * * Collection admin1436 * * Anyone if1437 * * Allow List is enabled, and1438 * * Address is added to allow list, and1439 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1440 * 1441 * # Arguments1442 * 1443 * * `collection_id`: ID of the collection to which the tokens would belong.1444 * * `data`: Explicit item creation data.1445 **/1446 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1447 /**1448 * Delete specified collection properties.1449 * 1450 * # Permissions1451 * 1452 * * Collection Owner1453 * * Collection Admin1454 * 1455 * # Arguments1456 * 1457 * * `collection_id`: ID of the modified collection.1458 * * `property_keys`: Vector of keys of the properties to be deleted.1459 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1460 **/1461 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1462 /**1463 * Delete specified token properties. Currently properties only work with NFTs.1464 * 1465 * # Permissions1466 * 1467 * * Depends on collection's token property permissions and specified property mutability:1468 * * Collection owner1469 * * Collection admin1470 * * Token owner1471 * 1472 * # Arguments1473 * 1474 * * `collection_id`: ID of the collection to which the token belongs.1475 * * `token_id`: ID of the modified token.1476 * * `property_keys`: Vector of keys of the properties to be deleted.1477 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1478 **/1479 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1480 /**1481 * Destroy a collection if no tokens exist within.1482 * 1483 * # Permissions1484 * 1485 * * Collection owner1486 * 1487 * # Arguments1488 * 1489 * * `collection_id`: Collection to destroy.1490 **/1491 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1492 /**1493 * Remove admin of a collection.1494 * 1495 * An admin address can remove itself. List of admins may become empty,1496 * in which case only Collection Owner will be able to add an Admin.1497 * 1498 * # Permissions1499 * 1500 * * Collection owner1501 * * Collection admin1502 * 1503 * # Arguments1504 * 1505 * * `collection_id`: ID of the collection to remove the admin for.1506 * * `account_id`: Address of the admin to remove.1507 **/1508 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1509 /**1510 * Remove a collection's a sponsor, making everyone pay for their own transactions.1511 * 1512 * # Permissions1513 * 1514 * * Collection owner1515 * 1516 * # Arguments1517 * 1518 * * `collection_id`: ID of the collection with the sponsor to remove.1519 **/1520 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1521 /**1522 * Remove an address from allow list.1523 * 1524 * # Permissions1525 * 1526 * * Collection owner1527 * * Collection admin1528 * 1529 * # Arguments1530 * 1531 * * `collection_id`: ID of the modified collection.1532 * * `address`: ID of the address to be removed from the allowlist.1533 **/1534 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1535 /**1536 * Re-partition a refungible token, while owning all of its parts/pieces.1537 * 1538 * # Permissions1539 * 1540 * * Token owner (must own every part)1541 * 1542 * # Arguments1543 * 1544 * * `collection_id`: ID of the collection the RFT belongs to.1545 * * `token_id`: ID of the RFT.1546 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1547 **/1548 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1549 /**1550 * Sets or unsets the approval of a given operator.1551 * 1552 * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.1553 * 1554 * # Arguments1555 * 1556 * * `owner`: Token owner1557 * * `operator`: Operator1558 * * `approve`: Should operator status be granted or revoked?1559 **/1560 setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1561 /**1562 * Set specific limits of a collection. Empty, or None fields mean chain default.1563 * 1564 * # Permissions1565 * 1566 * * Collection owner1567 * * Collection admin1568 * 1569 * # Arguments1570 * 1571 * * `collection_id`: ID of the modified collection.1572 * * `new_limit`: New limits of the collection. Fields that are not set (None)1573 * will not overwrite the old ones.1574 **/1575 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]>;1576 /**1577 * Set specific permissions of a collection. Empty, or None fields mean chain default.1578 * 1579 * # Permissions1580 * 1581 * * Collection owner1582 * * Collection admin1583 * 1584 * # Arguments1585 * 1586 * * `collection_id`: ID of the modified collection.1587 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1588 * will not overwrite the old ones.1589 **/1590 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1591 /**1592 * Add or change collection properties.1593 * 1594 * # Permissions1595 * 1596 * * Collection owner1597 * * Collection admin1598 * 1599 * # Arguments1600 * 1601 * * `collection_id`: ID of the modified collection.1602 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1603 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1604 **/1605 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1606 /**1607 * Set (invite) a new collection sponsor.1608 * 1609 * If successful, confirmation from the sponsor-to-be will be pending.1610 * 1611 * # Permissions1612 * 1613 * * Collection owner1614 * * Collection admin1615 * 1616 * # Arguments1617 * 1618 * * `collection_id`: ID of the modified collection.1619 * * `new_sponsor`: ID of the account of the sponsor-to-be.1620 **/1621 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1622 /**1623 * Add or change token properties according to collection's permissions.1624 * Currently properties only work with NFTs.1625 * 1626 * # Permissions1627 * 1628 * * Depends on collection's token property permissions and specified property mutability:1629 * * Collection owner1630 * * Collection admin1631 * * Token owner1632 * 1633 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1634 * 1635 * # Arguments1636 * 1637 * * `collection_id: ID of the collection to which the token belongs.1638 * * `token_id`: ID of the modified token.1639 * * `properties`: Vector of key-value pairs stored as the token's metadata.1640 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1641 **/1642 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>]>;1643 /**1644 * Add or change token property permissions of a collection.1645 * 1646 * Without a permission for a particular key, a property with that key1647 * cannot be created in a token.1648 * 1649 * # Permissions1650 * 1651 * * Collection owner1652 * * Collection admin1653 * 1654 * # Arguments1655 * 1656 * * `collection_id`: ID of the modified collection.1657 * * `property_permissions`: Vector of permissions for property keys.1658 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1659 **/1660 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1661 /**1662 * Completely allow or disallow transfers for a particular collection.1663 * 1664 * # Permissions1665 * 1666 * * Collection owner1667 * 1668 * # Arguments1669 * 1670 * * `collection_id`: ID of the collection.1671 * * `value`: New value of the flag, are transfers allowed?1672 **/1673 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1674 /**1675 * Change ownership of the token.1676 * 1677 * # Permissions1678 * 1679 * * Collection owner1680 * * Collection admin1681 * * Current token owner1682 * 1683 * # Arguments1684 * 1685 * * `recipient`: Address of token recipient.1686 * * `collection_id`: ID of the collection the item belongs to.1687 * * `item_id`: ID of the item.1688 * * Non-Fungible Mode: Required.1689 * * Fungible Mode: Ignored.1690 * * Re-Fungible Mode: Required.1691 * 1692 * * `value`: Amount to transfer.1693 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1694 * * Fungible Mode: The desired number of pieces to transfer.1695 * * Re-Fungible Mode: The desired number of pieces to transfer.1696 **/1697 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]>;1698 /**1699 * Change ownership of an item on behalf of the owner as a non-owner account.1700 * 1701 * See the [`approve`][`Pallet::approve`] method for additional information.1702 * 1703 * After this method executes, one approval is removed from the total so that1704 * the approved address will not be able to transfer this item again from this owner.1705 * 1706 * # Permissions1707 * 1708 * * Collection owner1709 * * Collection admin1710 * * Current item owner1711 * * Address approved by current item owner1712 * 1713 * # Arguments1714 * 1715 * * `from`: Address that currently owns the token.1716 * * `recipient`: Address of the new token-owner-to-be.1717 * * `collection_id`: ID of the collection the item.1718 * * `item_id`: ID of the item to be transferred.1719 * * `value`: Amount to transfer.1720 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1721 * * Fungible Mode: The desired number of pieces to transfer.1722 * * Re-Fungible Mode: The desired number of pieces to transfer.1723 **/1724 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]>;1725 /**1726 * Generic tx1727 **/1728 [key: string]: SubmittableExtrinsicFunction<ApiType>;1729 };1730 vesting: {1731 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1732 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1733 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>]>;1734 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]>;1735 /**1736 * Generic tx1737 **/1738 [key: string]: SubmittableExtrinsicFunction<ApiType>;1739 };1740 xcmpQueue: {1741 /**1742 * Resumes all XCM executions for the XCMP queue.1743 * 1744 * Note that this function doesn't change the status of the in/out bound channels.1745 * 1746 * - `origin`: Must pass `ControllerOrigin`.1747 **/1748 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1749 /**1750 * Services a single overweight XCM.1751 * 1752 * - `origin`: Must pass `ExecuteOverweightOrigin`.1753 * - `index`: The index of the overweight XCM to service1754 * - `weight_limit`: The amount of weight that XCM execution may take.1755 * 1756 * Errors:1757 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1758 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1759 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1760 * 1761 * Events:1762 * - `OverweightServiced`: On success.1763 **/1764 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1765 /**1766 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1767 * 1768 * - `origin`: Must pass `ControllerOrigin`.1769 **/1770 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1771 /**1772 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1773 * messages from the channel.1774 * 1775 * - `origin`: Must pass `Root`.1776 * - `new`: Desired value for `QueueConfigData.drop_threshold`1777 **/1778 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1779 /**1780 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1781 * message sending may recommence after it has been suspended.1782 * 1783 * - `origin`: Must pass `Root`.1784 * - `new`: Desired value for `QueueConfigData.resume_threshold`1785 **/1786 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1787 /**1788 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1789 * suspend their sending.1790 * 1791 * - `origin`: Must pass `Root`.1792 * - `new`: Desired value for `QueueConfigData.suspend_value`1793 **/1794 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1795 /**1796 * Overwrites the amount of remaining weight under which we stop processing messages.1797 * 1798 * - `origin`: Must pass `Root`.1799 * - `new`: Desired value for `QueueConfigData.threshold_weight`1800 **/1801 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1802 /**1803 * Overwrites the speed to which the available weight approaches the maximum weight.1804 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1805 * 1806 * - `origin`: Must pass `Root`.1807 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1808 **/1809 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1810 /**1811 * Overwrite the maximum amount of weight any individual message may consume.1812 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1813 * 1814 * - `origin`: Must pass `Root`.1815 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1816 **/1817 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1818 /**1819 * Generic tx1820 **/1821 [key: string]: SubmittableExtrinsicFunction<ApiType>;1822 };1823 xTokens: {1824 /**1825 * Transfer native currencies.1826 * 1827 * `dest_weight_limit` is the weight for XCM execution on the dest1828 * chain, and it would be charged from the transferred assets. If set1829 * below requirements, the execution may fail and assets wouldn't be1830 * received.1831 * 1832 * It's a no-op if any error on local XCM execution or message sending.1833 * Note sending assets out per se doesn't guarantee they would be1834 * received. Receiving depends on if the XCM message could be delivered1835 * by the network, and if the receiving chain would handle1836 * messages correctly.1837 **/1838 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]>;1839 /**1840 * Transfer `MultiAsset`.1841 * 1842 * `dest_weight_limit` is the weight for XCM execution on the dest1843 * chain, and it would be charged from the transferred assets. If set1844 * below requirements, the execution may fail and assets wouldn't be1845 * received.1846 * 1847 * It's a no-op if any error on local XCM execution or message sending.1848 * Note sending assets out per se doesn't guarantee they would be1849 * received. Receiving depends on if the XCM message could be delivered1850 * by the network, and if the receiving chain would handle1851 * messages correctly.1852 **/1853 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]>;1854 /**1855 * Transfer several `MultiAsset` specifying the item to be used as fee1856 * 1857 * `dest_weight_limit` is the weight for XCM execution on the dest1858 * chain, and it would be charged from the transferred assets. If set1859 * below requirements, the execution may fail and assets wouldn't be1860 * received.1861 * 1862 * `fee_item` is index of the MultiAssets that we want to use for1863 * payment1864 * 1865 * It's a no-op if any error on local XCM execution or message sending.1866 * Note sending assets out per se doesn't guarantee they would be1867 * received. Receiving depends on if the XCM message could be delivered1868 * by the network, and if the receiving chain would handle1869 * messages correctly.1870 **/1871 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]>;1872 /**1873 * Transfer `MultiAsset` specifying the fee and amount as separate.1874 * 1875 * `dest_weight_limit` is the weight for XCM execution on the dest1876 * chain, and it would be charged from the transferred assets. If set1877 * below requirements, the execution may fail and assets wouldn't be1878 * received.1879 * 1880 * `fee` is the multiasset to be spent to pay for execution in1881 * destination chain. Both fee and amount will be subtracted form the1882 * callers balance For now we only accept fee and asset having the same1883 * `MultiLocation` id.1884 * 1885 * If `fee` is not high enough to cover for the execution costs in the1886 * destination chain, then the assets will be trapped in the1887 * destination chain1888 * 1889 * It's a no-op if any error on local XCM execution or message sending.1890 * Note sending assets out per se doesn't guarantee they would be1891 * received. Receiving depends on if the XCM message could be delivered1892 * by the network, and if the receiving chain would handle1893 * messages correctly.1894 **/1895 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]>;1896 /**1897 * Transfer several currencies specifying the item to be used as fee1898 * 1899 * `dest_weight_limit` is the weight for XCM execution on the dest1900 * chain, and it would be charged from the transferred assets. If set1901 * below requirements, the execution may fail and assets wouldn't be1902 * received.1903 * 1904 * `fee_item` is index of the currencies tuple that we want to use for1905 * payment1906 * 1907 * It's a no-op if any error on local XCM execution or message sending.1908 * Note sending assets out per se doesn't guarantee they would be1909 * received. Receiving depends on if the XCM message could be delivered1910 * by the network, and if the receiving chain would handle1911 * messages correctly.1912 **/1913 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]>;1914 /**1915 * Transfer native currencies specifying the fee and amount as1916 * separate.1917 * 1918 * `dest_weight_limit` is the weight for XCM execution on the dest1919 * chain, and it would be charged from the transferred assets. If set1920 * below requirements, the execution may fail and assets wouldn't be1921 * received.1922 * 1923 * `fee` is the amount to be spent to pay for execution in destination1924 * chain. Both fee and amount will be subtracted form the callers1925 * balance.1926 * 1927 * If `fee` is not high enough to cover for the execution costs in the1928 * destination chain, then the assets will be trapped in the1929 * destination chain1930 * 1931 * It's a no-op if any error on local XCM execution or message sending.1932 * Note sending assets out per se doesn't guarantee they would be1933 * received. Receiving depends on if the XCM message could be delivered1934 * by the network, and if the receiving chain would handle1935 * messages correctly.1936 **/1937 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]>;1938 /**1939 * Generic tx1940 **/1941 [key: string]: SubmittableExtrinsicFunction<ApiType>;1942 };1943 } // AugmentedSubmittables1944} // 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 { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';11<<<<<<< HEAD12import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';13import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';14=======15import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill, Weight } from '@polkadot/types/interfaces/runtime';16import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';17>>>>>>> refactor: `app-promotion` configuration pallet1819export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;20export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;21export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;2223declare module '@polkadot/api-base/types/submittable' {24 interface AugmentedSubmittables<ApiType extends ApiTypes> {25 appPromotion: {26 /**27 * Recalculates interest for the specified number of stakers.28 * If all stakers are not recalculated, the next call of the extrinsic29 * will continue the recalculation, from those stakers for whom this30 * was not perform in last call.31 * 32 * # Permissions33 * 34 * * Pallet admin35 * 36 * # Arguments37 * 38 * * `stakers_number`: the number of stakers for which recalculation will be performed39 **/40 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;41 /**42 * Sets an address as the the admin.43 * 44 * # Permissions45 * 46 * * Sudo47 * 48 * # Arguments49 * 50 * * `admin`: account of the new admin.51 **/52 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;53 /**54 * Sets the pallet to be the sponsor for the collection.55 * 56 * # Permissions57 * 58 * * Pallet admin59 * 60 * # Arguments61 * 62 * * `collection_id`: ID of the collection that will be sponsored by `pallet_id`63 **/64 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;65 /**66 * Sets the pallet to be the sponsor for the contract.67 * 68 * # Permissions69 * 70 * * Pallet admin71 * 72 * # Arguments73 * 74 * * `contract_id`: the contract address that will be sponsored by `pallet_id`75 **/76 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;77 /**78 * Stakes the amount of native tokens.79 * Sets `amount` to the locked state.80 * The maximum number of stakes for a staker is 10.81 * 82 * # Arguments83 * 84 * * `amount`: in native tokens.85 **/86 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;87 /**88 * Removes the pallet as the sponsor for the collection.89 * Returns [`NoPermission`][`Error::NoPermission`]90 * if the pallet wasn't the sponsor.91 * 92 * # Permissions93 * 94 * * Pallet admin95 * 96 * # Arguments97 * 98 * * `collection_id`: ID of the collection that is sponsored by `pallet_id`99 **/100 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;101 /**102 * Removes the pallet as the sponsor for the contract.103 * Returns [`NoPermission`][`Error::NoPermission`]104 * if the pallet wasn't the sponsor.105 * 106 * # Permissions107 * 108 * * Pallet admin109 * 110 * # Arguments111 * 112 * * `contract_id`: the contract address that is sponsored by `pallet_id`113 **/114 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;115 /**116 * Unstakes all stakes.117 * Moves the sum of all stakes to the `reserved` state.118 * After the end of `PendingInterval` this sum becomes completely119 * free for further use.120 **/121 unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;122 /**123 * Generic tx124 **/125 [key: string]: SubmittableExtrinsicFunction<ApiType>;126 };127 balances: {128 /**129 * Exactly as `transfer`, except the origin must be root and the source account may be130 * specified.131 * # <weight>132 * - Same as transfer, but additional read and write because the source account is not133 * assumed to be in the overlay.134 * # </weight>135 **/136 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>]>;137 /**138 * Unreserve some balance from a user by force.139 * 140 * Can only be called by ROOT.141 **/142 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;143 /**144 * Set the balances of a given account.145 * 146 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will147 * also alter the total issuance of the system (`TotalIssuance`) appropriately.148 * If the new free or reserved balance is below the existential deposit,149 * it will reset the account nonce (`frame_system::AccountNonce`).150 * 151 * The dispatch origin for this call is `root`.152 **/153 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>]>;154 /**155 * Transfer some liquid free balance to another account.156 * 157 * `transfer` will set the `FreeBalance` of the sender and receiver.158 * If the sender's account is below the existential deposit as a result159 * of the transfer, the account will be reaped.160 * 161 * The dispatch origin for this call must be `Signed` by the transactor.162 * 163 * # <weight>164 * - Dependent on arguments but not critical, given proper implementations for input config165 * types. See related functions below.166 * - It contains a limited number of reads and writes internally and no complex167 * computation.168 * 169 * Related functions:170 * 171 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.172 * - Transferring balances to accounts that did not exist before will cause173 * `T::OnNewAccount::on_new_account` to be called.174 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.175 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check176 * that the transfer will not kill the origin account.177 * ---------------------------------178 * - Origin account is already in memory, so no DB operations for them.179 * # </weight>180 **/181 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>]>;182 /**183 * Transfer the entire transferable balance from the caller account.184 * 185 * NOTE: This function only attempts to transfer _transferable_ balances. This means that186 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be187 * transferred by this function. To ensure that this function results in a killed account,188 * you might need to prepare the account by removing any reference counters, storage189 * deposits, etc...190 * 191 * The dispatch origin of this call must be Signed.192 * 193 * - `dest`: The recipient of the transfer.194 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all195 * of the funds the account has, causing the sender account to be killed (false), or196 * transfer everything except at least the existential deposit, which will guarantee to197 * keep the sender account alive (true). # <weight>198 * - O(1). Just like transfer, but reading the user's transferable balance first.199 * #</weight>200 **/201 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;202 /**203 * Same as the [`transfer`] call, but with a check that the transfer will not kill the204 * origin account.205 * 206 * 99% of the time you want [`transfer`] instead.207 * 208 * [`transfer`]: struct.Pallet.html#method.transfer209 **/210 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>]>;211 /**212 * Generic tx213 **/214 [key: string]: SubmittableExtrinsicFunction<ApiType>;215 };216 charging: {217 /**218 * Generic tx219 **/220 [key: string]: SubmittableExtrinsicFunction<ApiType>;221 };222 configuration: {223 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;224 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;225 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;226 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;227 /**228 * Generic tx229 **/230 [key: string]: SubmittableExtrinsicFunction<ApiType>;231 };232 cumulusXcm: {233 /**234 * Generic tx235 **/236 [key: string]: SubmittableExtrinsicFunction<ApiType>;237 };238 dmpQueue: {239 /**240 * Service a single overweight message.241 * 242 * - `origin`: Must pass `ExecuteOverweightOrigin`.243 * - `index`: The index of the overweight message to service.244 * - `weight_limit`: The amount of weight that message execution may take.245 * 246 * Errors:247 * - `Unknown`: Message of `index` is unknown.248 * - `OverLimit`: Message execution may use greater than `weight_limit`.249 * 250 * Events:251 * - `OverweightServiced`: On success.252 **/253 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;254 /**255 * Generic tx256 **/257 [key: string]: SubmittableExtrinsicFunction<ApiType>;258 };259 ethereum: {260 /**261 * Transact an Ethereum transaction.262 **/263 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;264 /**265 * Generic tx266 **/267 [key: string]: SubmittableExtrinsicFunction<ApiType>;268 };269 evm: {270 /**271 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.272 **/273 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>]>>]>;274 /**275 * Issue an EVM create operation. This is similar to a contract creation transaction in276 * Ethereum.277 **/278 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>]>>]>;279 /**280 * Issue an EVM create2 operation.281 **/282 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>]>>]>;283 /**284 * Withdraw balance from EVM into currency/balances pallet.285 **/286 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;287 /**288 * Generic tx289 **/290 [key: string]: SubmittableExtrinsicFunction<ApiType>;291 };292 evmMigration: {293 /**294 * Start contract migration, inserts contract stub at target address,295 * and marks account as pending, allowing to insert storage296 **/297 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;298 /**299 * Finish contract migration, allows it to be called.300 * It is not possible to alter contract storage via [`Self::set_data`]301 * after this call.302 **/303 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;304 /**305 * Create ethereum events attached to the fake transaction306 **/307 insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;308 /**309 * Create substrate events310 **/311 insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;312 /**313 * Insert items into contract storage, this method can be called314 * multiple times315 **/316 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;317 /**318 * Generic tx319 **/320 [key: string]: SubmittableExtrinsicFunction<ApiType>;321 };322 foreignAssets: {323 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]>;324 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]>;325 /**326 * Generic tx327 **/328 [key: string]: SubmittableExtrinsicFunction<ApiType>;329 };330 inflation: {331 /**332 * This method sets the inflation start date. Can be only called once.333 * Inflation start block can be backdated and will catch up. The method will create Treasury334 * account if it does not exist and perform the first inflation deposit.335 * 336 * # Permissions337 * 338 * * Root339 * 340 * # Arguments341 * 342 * * inflation_start_relay_block: The relay chain block at which inflation should start343 **/344 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;345 /**346 * Generic tx347 **/348 [key: string]: SubmittableExtrinsicFunction<ApiType>;349 };350 maintenance: {351 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;352 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;353 /**354 * Generic tx355 **/356 [key: string]: SubmittableExtrinsicFunction<ApiType>;357 };358 parachainSystem: {359 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;360 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;361 /**362 * Set the current validation data.363 * 364 * This should be invoked exactly once per block. It will panic at the finalization365 * phase if the call was not invoked.366 * 367 * The dispatch origin for this call must be `Inherent`368 * 369 * As a side effect, this function upgrades the current validation function370 * if the appropriate time has come.371 **/372 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;373 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;374 /**375 * Generic tx376 **/377 [key: string]: SubmittableExtrinsicFunction<ApiType>;378 };379 polkadotXcm: {380 /**381 * Execute an XCM message from a local, signed, origin.382 * 383 * An event is deposited indicating whether `msg` could be executed completely or only384 * partially.385 * 386 * No more than `max_weight` will be used in its attempted execution. If this is less than the387 * maximum amount of weight that the message could take to be executed, then no execution388 * attempt will be made.389 * 390 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully391 * to completion; only that *some* of it was executed.392 **/393 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;394 /**395 * Set a safe XCM version (the version that XCM should be encoded with if the most recent396 * version a destination can accept is unknown).397 * 398 * - `origin`: Must be Root.399 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.400 **/401 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;402 /**403 * Ask a location to notify us regarding their XCM version and any changes to it.404 * 405 * - `origin`: Must be Root.406 * - `location`: The location to which we should subscribe for XCM version notifications.407 **/408 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;409 /**410 * Require that a particular destination should no longer notify us regarding any XCM411 * version changes.412 * 413 * - `origin`: Must be Root.414 * - `location`: The location to which we are currently subscribed for XCM version415 * notifications which we no longer desire.416 **/417 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;418 /**419 * Extoll that a particular destination can be communicated with through a particular420 * version of XCM.421 * 422 * - `origin`: Must be Root.423 * - `location`: The destination that is being described.424 * - `xcm_version`: The latest version of XCM that `location` supports.425 **/426 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;427 /**428 * Transfer some assets from the local chain to the sovereign account of a destination429 * chain and forward a notification XCM.430 * 431 * Fee payment on the destination side is made from the asset in the `assets` vector of432 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight433 * is needed than `weight_limit`, then the operation will fail and the assets send may be434 * at risk.435 * 436 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.437 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send438 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.439 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be440 * an `AccountId32` value.441 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the442 * `dest` side.443 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay444 * fees.445 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.446 **/447 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]>;448 /**449 * Teleport some assets from the local chain to some destination chain.450 * 451 * Fee payment on the destination side is made from the asset in the `assets` vector of452 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight453 * is needed than `weight_limit`, then the operation will fail and the assets send may be454 * at risk.455 * 456 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.457 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send458 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.459 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be460 * an `AccountId32` value.461 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the462 * `dest` side. May not be empty.463 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay464 * fees.465 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.466 **/467 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]>;468 /**469 * Transfer some assets from the local chain to the sovereign account of a destination470 * chain and forward a notification XCM.471 * 472 * Fee payment on the destination side is made from the asset in the `assets` vector of473 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,474 * with all fees taken as needed from the asset.475 * 476 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.477 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send478 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.479 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be480 * an `AccountId32` value.481 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the482 * `dest` side.483 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay484 * fees.485 **/486 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]>;487 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;488 /**489 * Teleport some assets from the local chain to some destination chain.490 * 491 * Fee payment on the destination side is made from the asset in the `assets` vector of492 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,493 * with all fees taken as needed from the asset.494 * 495 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.496 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send497 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.498 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be499 * an `AccountId32` value.500 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the501 * `dest` side. May not be empty.502 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay503 * fees.504 **/505 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]>;506 /**507 * Generic tx508 **/509 [key: string]: SubmittableExtrinsicFunction<ApiType>;510 };511 rmrkCore: {512 /**513 * Accept an NFT sent from another account to self or an owned NFT.514 * 515 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.516 * 517 * # Permissions:518 * - Token-owner-to-be519 * 520 * # Arguments:521 * - `origin`: sender of the transaction522 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.523 * - `rmrk_nft_id`: ID of the NFT to be accepted.524 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,525 * whichever the accepted NFT was sent to.526 **/527 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;528 /**529 * Accept the addition of a newly created pending resource to an existing NFT.530 * 531 * This transaction is needed when a resource is created and assigned to an NFT532 * by a non-owner, i.e. the collection issuer, with one of the533 * [`add_...` transactions](Pallet::add_basic_resource).534 * 535 * # Permissions:536 * - Token owner537 * 538 * # Arguments:539 * - `origin`: sender of the transaction540 * - `rmrk_collection_id`: RMRK collection ID of the NFT.541 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.542 * - `resource_id`: ID of the newly created pending resource.543 * accept the addition of a new resource to an existing NFT544 **/545 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;546 /**547 * Accept the removal of a removal-pending resource from an NFT.548 * 549 * This transaction is needed when a non-owner, i.e. the collection issuer,550 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.551 * 552 * # Permissions:553 * - Token owner554 * 555 * # Arguments:556 * - `origin`: sender of the transaction557 * - `rmrk_collection_id`: RMRK collection ID of the NFT.558 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.559 * - `resource_id`: ID of the removal-pending resource.560 **/561 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;562 /**563 * Create and set/propose a basic resource for an NFT.564 * 565 * A basic resource is the simplest, lacking a Base and anything that comes with it.566 * See RMRK docs for more information and examples.567 * 568 * # Permissions:569 * - Collection issuer - if not the token owner, adding the resource will warrant570 * the owner's [acceptance](Pallet::accept_resource).571 * 572 * # Arguments:573 * - `origin`: sender of the transaction574 * - `rmrk_collection_id`: RMRK collection ID of the NFT.575 * - `nft_id`: ID of the NFT to assign a resource to.576 * - `resource`: Data of the resource to be created.577 **/578 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]>;579 /**580 * Create and set/propose a composable resource for an NFT.581 * 582 * A composable resource links to a Base and has a subset of its Parts it is composed of.583 * See RMRK docs for more information and examples.584 * 585 * # Permissions:586 * - Collection issuer - if not the token owner, adding the resource will warrant587 * the owner's [acceptance](Pallet::accept_resource).588 * 589 * # Arguments:590 * - `origin`: sender of the transaction591 * - `rmrk_collection_id`: RMRK collection ID of the NFT.592 * - `nft_id`: ID of the NFT to assign a resource to.593 * - `resource`: Data of the resource to be created.594 **/595 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]>;596 /**597 * Create and set/propose a slot resource for an NFT.598 * 599 * A slot resource links to a Base and a slot ID in it which it can fit into.600 * See RMRK docs for more information and examples.601 * 602 * # Permissions:603 * - Collection issuer - if not the token owner, adding the resource will warrant604 * the owner's [acceptance](Pallet::accept_resource).605 * 606 * # Arguments:607 * - `origin`: sender of the transaction608 * - `rmrk_collection_id`: RMRK collection ID of the NFT.609 * - `nft_id`: ID of the NFT to assign a resource to.610 * - `resource`: Data of the resource to be created.611 **/612 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]>;613 /**614 * Burn an NFT, destroying it and its nested tokens up to the specified limit.615 * If the burning budget is exceeded, the transaction is reverted.616 * 617 * This is the way to burn a nested token as well.618 * 619 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).620 * 621 * # Permissions:622 * * Token owner623 * 624 * # Arguments:625 * - `origin`: sender of the transaction626 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.627 * - `nft_id`: ID of the NFT to be destroyed.628 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction629 * is reverted if there are more tokens to burn in the nesting tree than this number.630 * This is primarily a mechanism of transaction weight control.631 **/632 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;633 /**634 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).635 * 636 * # Permissions:637 * * Collection issuer638 * 639 * # Arguments:640 * - `origin`: sender of the transaction641 * - `collection_id`: RMRK collection ID to change the issuer of.642 * - `new_issuer`: Collection's new issuer.643 **/644 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;645 /**646 * Create a new collection of NFTs.647 * 648 * # Permissions:649 * * Anyone - will be assigned as the issuer of the collection.650 * 651 * # Arguments:652 * - `origin`: sender of the transaction653 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.654 * - `max`: Optional maximum number of tokens.655 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.656 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.657 **/658 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;659 /**660 * Destroy a collection.661 * 662 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.663 * 664 * # Permissions:665 * * Collection issuer666 * 667 * # Arguments:668 * - `origin`: sender of the transaction669 * - `collection_id`: RMRK ID of the collection to destroy.670 **/671 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;672 /**673 * "Lock" the collection and prevent new token creation. Cannot be undone.674 * 675 * # Permissions:676 * * Collection issuer677 * 678 * # Arguments:679 * - `origin`: sender of the transaction680 * - `collection_id`: RMRK ID of the collection to lock.681 **/682 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;683 /**684 * Mint an NFT in a specified collection.685 * 686 * # Permissions:687 * * Collection issuer688 * 689 * # Arguments:690 * - `origin`: sender of the transaction691 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).692 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.693 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.694 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.695 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.696 * - `transferable`: Can this NFT be transferred? Cannot be changed.697 * - `resources`: Resource data to be added to the NFT immediately after minting.698 **/699 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>>]>;700 /**701 * Reject an NFT sent from another account to self or owned NFT.702 * The NFT in question will not be sent back and burnt instead.703 * 704 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.705 * 706 * # Permissions:707 * - Token-owner-to-be-not708 * 709 * # Arguments:710 * - `origin`: sender of the transaction711 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.712 * - `rmrk_nft_id`: ID of the NFT to be rejected.713 **/714 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;715 /**716 * Remove and erase a resource from an NFT.717 * 718 * If the sender does not own the NFT, then it will be pending confirmation,719 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.720 * 721 * # Permissions722 * - Collection issuer723 * 724 * # Arguments725 * - `origin`: sender of the transaction726 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.727 * - `nft_id`: ID of the NFT with a resource to be removed.728 * - `resource_id`: ID of the resource to be removed.729 **/730 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;731 /**732 * Transfer an NFT from an account/NFT A to another account/NFT B.733 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].734 * 735 * If the target owner is an NFT owned by another account, then the NFT will enter736 * the pending state and will have to be accepted by the other account.737 * 738 * # Permissions:739 * - Token owner740 * 741 * # Arguments:742 * - `origin`: sender of the transaction743 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.744 * - `rmrk_nft_id`: ID of the NFT to be transferred.745 * - `new_owner`: New owner of the nft which can be either an account or a NFT.746 **/747 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;748 /**749 * Set a different order of resource priorities for an NFT. Priorities can be used,750 * for example, for order of rendering.751 * 752 * Note that the priorities are not updated automatically, and are an empty vector753 * by default. There is no pre-set definition for the order to be particular,754 * it can be interpreted arbitrarily use-case by use-case.755 * 756 * # Permissions:757 * - Token owner758 * 759 * # Arguments:760 * - `origin`: sender of the transaction761 * - `rmrk_collection_id`: RMRK collection ID of the NFT.762 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.763 * - `priorities`: Ordered vector of resource IDs.764 **/765 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;766 /**767 * Add or edit a custom user property, a key-value pair, describing the metadata768 * of a token or a collection, on either one of these.769 * 770 * Note that in this proxy implementation many details regarding RMRK are stored771 * as scoped properties prefixed with "rmrk:", normally inaccessible772 * to external transactions and RPCs.773 * 774 * # Permissions:775 * - Collection issuer - in case of collection property776 * - Token owner - in case of NFT property777 * 778 * # Arguments:779 * - `origin`: sender of the transaction780 * - `rmrk_collection_id`: RMRK collection ID.781 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.782 * - `key`: Key of the custom property to be referenced by.783 * - `value`: Value of the custom property to be stored.784 **/785 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]>;786 /**787 * Generic tx788 **/789 [key: string]: SubmittableExtrinsicFunction<ApiType>;790 };791 rmrkEquip: {792 /**793 * Create a new Base.794 * 795 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)796 * 797 * # Permissions798 * - Anyone - will be assigned as the issuer of the Base.799 * 800 * # Arguments:801 * - `origin`: Caller, will be assigned as the issuer of the Base802 * - `base_type`: Arbitrary media type, e.g. "svg".803 * - `symbol`: Arbitrary client-chosen symbol.804 * - `parts`: Array of Fixed and Slot Parts composing the Base,805 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).806 **/807 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>]>;808 /**809 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.810 * 811 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).812 * 813 * # Permissions:814 * - Base issuer815 * 816 * # Arguments:817 * - `origin`: sender of the transaction818 * - `base_id`: Base containing the Slot Part to be updated.819 * - `slot_id`: Slot Part whose Equippable List is being updated .820 * - `equippables`: List of equippables that will override the current Equippables list.821 **/822 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]>;823 /**824 * Add a Theme to a Base.825 * A Theme named "default" is required prior to adding other Themes.826 * 827 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).828 * 829 * # Permissions:830 * - Base issuer831 * 832 * # Arguments:833 * - `origin`: sender of the transaction834 * - `base_id`: Base ID containing the Theme to be updated.835 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an836 * array of [key, value, inherit].837 * - `key`: Arbitrary BoundedString, defined by client.838 * - `value`: Arbitrary BoundedString, defined by client.839 * - `inherit`: Optional bool.840 **/841 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;842 /**843 * Generic tx844 **/845 [key: string]: SubmittableExtrinsicFunction<ApiType>;846 };847 scheduler: {848 /**849 * Cancel an anonymously scheduled task.850 * 851 * The `T::OriginPrivilegeCmp` decides whether the given origin is allowed to cancel the task or not.852 **/853 cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;854 /**855 * Cancel a named scheduled task.856 * 857 * The `T::OriginPrivilegeCmp` decides whether the given origin is allowed to cancel the task or not.858 **/859 cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;860 /**861 * Change a named task's priority.862 * 863 * Only the `T::PrioritySetOrigin` is allowed to change the task's priority.864 **/865 changeNamedPriority: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8]>;866 /**867 * Anonymously schedule a task.868 * 869 * Only `T::ScheduleOrigin` is allowed to schedule a task.870 * Only `T::PrioritySetOrigin` is allowed to set the task's priority.871 **/872 schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: Option<u8> | null | Uint8Array | u8 | AnyNumber, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, Option<u8>, Call]>;873 /**874 * Anonymously schedule a task after a delay.875 * 876 * # <weight>877 * Same as [`schedule`].878 * # </weight>879 **/880 scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: Option<u8> | null | Uint8Array | u8 | AnyNumber, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, Option<u8>, Call]>;881 /**882 * Schedule a named task.883 * 884 * Only `T::ScheduleOrigin` is allowed to schedule a task.885 * Only `T::PrioritySetOrigin` is allowed to set the task's priority.886 **/887 scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: Option<u8> | null | Uint8Array | u8 | AnyNumber, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, Option<u8>, Call]>;888 /**889 * Schedule a named task after a delay.890 * 891 * Only `T::ScheduleOrigin` is allowed to schedule a task.892 * Only `T::PrioritySetOrigin` is allowed to set the task's priority.893 * 894 * # <weight>895 * Same as [`schedule_named`](Self::schedule_named).896 * # </weight>897 **/898 scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: Option<u8> | null | Uint8Array | u8 | AnyNumber, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, Option<u8>, Call]>;899 /**900 * Generic tx901 **/902 [key: string]: SubmittableExtrinsicFunction<ApiType>;903 };904 structure: {905 /**906 * Generic tx907 **/908 [key: string]: SubmittableExtrinsicFunction<ApiType>;909 };910 sudo: {911 /**912 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo913 * key.914 * 915 * The dispatch origin for this call must be _Signed_.916 * 917 * # <weight>918 * - O(1).919 * - Limited storage reads.920 * - One DB change.921 * # </weight>922 **/923 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;924 /**925 * Authenticates the sudo key and dispatches a function call with `Root` origin.926 * 927 * The dispatch origin for this call must be _Signed_.928 * 929 * # <weight>930 * - O(1).931 * - Limited storage reads.932 * - One DB write (event).933 * - Weight of derivative `call` execution + 10,000.934 * # </weight>935 **/936 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;937 /**938 * Authenticates the sudo key and dispatches a function call with `Signed` origin from939 * a given account.940 * 941 * The dispatch origin for this call must be _Signed_.942 * 943 * # <weight>944 * - O(1).945 * - Limited storage reads.946 * - One DB write (event).947 * - Weight of derivative `call` execution + 10,000.948 * # </weight>949 **/950 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]>;951 /**952 * Authenticates the sudo key and dispatches a function call with `Root` origin.953 * This function does not check the weight of the call, and instead allows the954 * Sudo user to specify the weight of the call.955 * 956 * The dispatch origin for this call must be _Signed_.957 * 958 * # <weight>959 * - O(1).960 * - The weight of this call is defined by the caller.961 * # </weight>962 **/963 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;964 /**965 * Generic tx966 **/967 [key: string]: SubmittableExtrinsicFunction<ApiType>;968 };969 system: {970 /**971 * A dispatch that will fill the block weight up to the given ratio.972 **/973 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;974 /**975 * Kill all storage items with a key that starts with the given prefix.976 * 977 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under978 * the prefix we are removing to accurately calculate the weight of this function.979 **/980 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;981 /**982 * Kill some items from storage.983 **/984 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;985 /**986 * Make some on-chain remark.987 * 988 * # <weight>989 * - `O(1)`990 * # </weight>991 **/992 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;993 /**994 * Make some on-chain remark and emit event.995 **/996 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;997 /**998 * Set the new runtime code.999 * 1000 * # <weight>1001 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`1002 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is1003 * expensive).1004 * - 1 storage write (codec `O(C)`).1005 * - 1 digest item.1006 * - 1 event.1007 * The weight of this function is dependent on the runtime, but generally this is very1008 * expensive. We will treat this as a full block.1009 * # </weight>1010 **/1011 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1012 /**1013 * Set the new runtime code without doing any checks of the given `code`.1014 * 1015 * # <weight>1016 * - `O(C)` where `C` length of `code`1017 * - 1 storage write (codec `O(C)`).1018 * - 1 digest item.1019 * - 1 event.1020 * The weight of this function is dependent on the runtime. We will treat this as a full1021 * block. # </weight>1022 **/1023 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1024 /**1025 * Set the number of pages in the WebAssembly environment's heap.1026 **/1027 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1028 /**1029 * Set some items of storage.1030 **/1031 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;1032 /**1033 * Generic tx1034 **/1035 [key: string]: SubmittableExtrinsicFunction<ApiType>;1036 };1037 testUtils: {1038 batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;1039 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1040 incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1041 justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1042 selfCancelingInc: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, maxTestValue: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32]>;1043 setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1044 setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1045 /**1046 * Generic tx1047 **/1048 [key: string]: SubmittableExtrinsicFunction<ApiType>;1049 };1050 timestamp: {1051 /**1052 * Set the current time.1053 * 1054 * This call should be invoked exactly once per block. It will panic at the finalization1055 * phase, if this call hasn't been invoked by that time.1056 * 1057 * The timestamp should be greater than the previous one by the amount specified by1058 * `MinimumPeriod`.1059 * 1060 * The dispatch origin for this call must be `Inherent`.1061 * 1062 * # <weight>1063 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1064 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1065 * `on_finalize`)1066 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1067 * # </weight>1068 **/1069 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1070 /**1071 * Generic tx1072 **/1073 [key: string]: SubmittableExtrinsicFunction<ApiType>;1074 };1075 tokens: {1076 /**1077 * Exactly as `transfer`, except the origin must be root and the source1078 * account may be specified.1079 * 1080 * The dispatch origin for this call must be _Root_.1081 * 1082 * - `source`: The sender of the transfer.1083 * - `dest`: The recipient of the transfer.1084 * - `currency_id`: currency type.1085 * - `amount`: free balance amount to tranfer.1086 **/1087 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>]>;1088 /**1089 * Set the balances of a given account.1090 * 1091 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1092 * will also decrease the total issuance of the system1093 * (`TotalIssuance`). If the new free or reserved balance is below the1094 * existential deposit, it will reap the `AccountInfo`.1095 * 1096 * The dispatch origin for this call is `root`.1097 **/1098 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>]>;1099 /**1100 * Transfer some liquid free balance to another account.1101 * 1102 * `transfer` will set the `FreeBalance` of the sender and receiver.1103 * It will decrease the total issuance of the system by the1104 * `TransferFee`. If the sender's account is below the existential1105 * deposit as a result of the transfer, the account will be reaped.1106 * 1107 * The dispatch origin for this call must be `Signed` by the1108 * transactor.1109 * 1110 * - `dest`: The recipient of the transfer.1111 * - `currency_id`: currency type.1112 * - `amount`: free balance amount to tranfer.1113 **/1114 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>]>;1115 /**1116 * Transfer all remaining balance to the given account.1117 * 1118 * NOTE: This function only attempts to transfer _transferable_1119 * balances. This means that any locked, reserved, or existential1120 * deposits (when `keep_alive` is `true`), will not be transferred by1121 * this function. To ensure that this function results in a killed1122 * account, you might need to prepare the account by removing any1123 * reference counters, storage deposits, etc...1124 * 1125 * The dispatch origin for this call must be `Signed` by the1126 * transactor.1127 * 1128 * - `dest`: The recipient of the transfer.1129 * - `currency_id`: currency type.1130 * - `keep_alive`: A boolean to determine if the `transfer_all`1131 * operation should send all of the funds the account has, causing1132 * the sender account to be killed (false), or transfer everything1133 * except at least the existential deposit, which will guarantee to1134 * keep the sender account alive (true).1135 **/1136 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]>;1137 /**1138 * Same as the [`transfer`] call, but with a check that the transfer1139 * will not kill the origin account.1140 * 1141 * 99% of the time you want [`transfer`] instead.1142 * 1143 * The dispatch origin for this call must be `Signed` by the1144 * transactor.1145 * 1146 * - `dest`: The recipient of the transfer.1147 * - `currency_id`: currency type.1148 * - `amount`: free balance amount to tranfer.1149 **/1150 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>]>;1151 /**1152 * Generic tx1153 **/1154 [key: string]: SubmittableExtrinsicFunction<ApiType>;1155 };1156 treasury: {1157 /**1158 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1159 * and the original deposit will be returned.1160 * 1161 * May only be called from `T::ApproveOrigin`.1162 * 1163 * # <weight>1164 * - Complexity: O(1).1165 * - DbReads: `Proposals`, `Approvals`1166 * - DbWrite: `Approvals`1167 * # </weight>1168 **/1169 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1170 /**1171 * Put forward a suggestion for spending. A deposit proportional to the value1172 * is reserved and slashed if the proposal is rejected. It is returned once the1173 * proposal is awarded.1174 * 1175 * # <weight>1176 * - Complexity: O(1)1177 * - DbReads: `ProposalCount`, `origin account`1178 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1179 * # </weight>1180 **/1181 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]>;1182 /**1183 * Reject a proposed spend. The original deposit will be slashed.1184 * 1185 * May only be called from `T::RejectOrigin`.1186 * 1187 * # <weight>1188 * - Complexity: O(1)1189 * - DbReads: `Proposals`, `rejected proposer account`1190 * - DbWrites: `Proposals`, `rejected proposer account`1191 * # </weight>1192 **/1193 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1194 /**1195 * Force a previously approved proposal to be removed from the approval queue.1196 * The original deposit will no longer be returned.1197 * 1198 * May only be called from `T::RejectOrigin`.1199 * - `proposal_id`: The index of a proposal1200 * 1201 * # <weight>1202 * - Complexity: O(A) where `A` is the number of approvals1203 * - Db reads and writes: `Approvals`1204 * # </weight>1205 * 1206 * Errors:1207 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1208 * i.e., the proposal has not been approved. This could also mean the proposal does not1209 * exist altogether, thus there is no way it would have been approved in the first place.1210 **/1211 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1212 /**1213 * Propose and approve a spend of treasury funds.1214 * 1215 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1216 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1217 * - `beneficiary`: The destination account for the transfer.1218 * 1219 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1220 * beneficiary.1221 **/1222 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]>;1223 /**1224 * Generic tx1225 **/1226 [key: string]: SubmittableExtrinsicFunction<ApiType>;1227 };1228 unique: {1229 /**1230 * Add an admin to a collection.1231 * 1232 * NFT Collection can be controlled by multiple admin addresses1233 * (some which can also be servers, for example). Admins can issue1234 * and burn NFTs, as well as add and remove other admins,1235 * but cannot change NFT or Collection ownership.1236 * 1237 * # Permissions1238 * 1239 * * Collection owner1240 * * Collection admin1241 * 1242 * # Arguments1243 * 1244 * * `collection_id`: ID of the Collection to add an admin for.1245 * * `new_admin`: Address of new admin to add.1246 **/1247 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1248 /**1249 * Add an address to allow list.1250 * 1251 * # Permissions1252 * 1253 * * Collection owner1254 * * Collection admin1255 * 1256 * # Arguments1257 * 1258 * * `collection_id`: ID of the modified collection.1259 * * `address`: ID of the address to be added to the allowlist.1260 **/1261 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1262 /**1263 * Allow a non-permissioned address to transfer or burn an item.1264 * 1265 * # Permissions1266 * 1267 * * Collection owner1268 * * Collection admin1269 * * Current item owner1270 * 1271 * # Arguments1272 * 1273 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1274 * * `collection_id`: ID of the collection the item belongs to.1275 * * `item_id`: ID of the item transactions on which are now approved.1276 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1277 * Set to 0 to revoke the approval.1278 **/1279 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]>;1280 /**1281 * Destroy a token on behalf of the owner as a non-owner account.1282 * 1283 * See also: [`approve`][`Pallet::approve`].1284 * 1285 * After this method executes, one approval is removed from the total so that1286 * the approved address will not be able to transfer this item again from this owner.1287 * 1288 * # Permissions1289 * 1290 * * Collection owner1291 * * Collection admin1292 * * Current token owner1293 * * Address approved by current item owner1294 * 1295 * # Arguments1296 * 1297 * * `from`: The owner of the burning item.1298 * * `collection_id`: ID of the collection to which the item belongs.1299 * * `item_id`: ID of item to burn.1300 * * `value`: Number of pieces to burn.1301 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1302 * * Fungible Mode: The desired number of pieces to burn.1303 * * Re-Fungible Mode: The desired number of pieces to burn.1304 **/1305 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]>;1306 /**1307 * Destroy an item.1308 * 1309 * # Permissions1310 * 1311 * * Collection owner1312 * * Collection admin1313 * * Current item owner1314 * 1315 * # Arguments1316 * 1317 * * `collection_id`: ID of the collection to which the item belongs.1318 * * `item_id`: ID of item to burn.1319 * * `value`: Number of pieces of the item to destroy.1320 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1321 * * Fungible Mode: The desired number of pieces to burn.1322 * * Re-Fungible Mode: The desired number of pieces to burn.1323 **/1324 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1325 /**1326 * Change the owner of the collection.1327 * 1328 * # Permissions1329 * 1330 * * Collection owner1331 * 1332 * # Arguments1333 * 1334 * * `collection_id`: ID of the modified collection.1335 * * `new_owner`: ID of the account that will become the owner.1336 **/1337 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1338 /**1339 * Confirm own sponsorship of a collection, becoming the sponsor.1340 * 1341 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1342 * Sponsor can pay the fees of a transaction instead of the sender,1343 * but only within specified limits.1344 * 1345 * # Permissions1346 * 1347 * * Sponsor-to-be1348 * 1349 * # Arguments1350 * 1351 * * `collection_id`: ID of the collection with the pending sponsor.1352 **/1353 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1354 /**1355 * Create a collection of tokens.1356 * 1357 * Each Token may have multiple properties encoded as an array of bytes1358 * of certain length. The initial owner of the collection is set1359 * to the address that signed the transaction and can be changed later.1360 * 1361 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1362 * 1363 * # Permissions1364 * 1365 * * Anyone - becomes the owner of the new collection.1366 * 1367 * # Arguments1368 * 1369 * * `collection_name`: Wide-character string with collection name1370 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1371 * * `collection_description`: Wide-character string with collection description1372 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1373 * * `token_prefix`: Byte string containing the token prefix to mark a collection1374 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1375 * * `mode`: Type of items stored in the collection and type dependent data.1376 **/1377 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]>;1378 /**1379 * Create a collection with explicit parameters.1380 * 1381 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1382 * 1383 * # Permissions1384 * 1385 * * Anyone - becomes the owner of the new collection.1386 * 1387 * # Arguments1388 * 1389 * * `data`: Explicit data of a collection used for its creation.1390 **/1391 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]>;1392 /**1393 * Mint an item within a collection.1394 * 1395 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1396 * 1397 * # Permissions1398 * 1399 * * Collection owner1400 * * Collection admin1401 * * Anyone if1402 * * Allow List is enabled, and1403 * * Address is added to allow list, and1404 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1405 * 1406 * # Arguments1407 * 1408 * * `collection_id`: ID of the collection to which an item would belong.1409 * * `owner`: Address of the initial owner of the item.1410 * * `data`: Token data describing the item to store on chain.1411 **/1412 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]>;1413 /**1414 * Create multiple items within a collection.1415 * 1416 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1417 * 1418 * # Permissions1419 * 1420 * * Collection owner1421 * * Collection admin1422 * * Anyone if1423 * * Allow List is enabled, and1424 * * Address is added to the allow list, and1425 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1426 * 1427 * # Arguments1428 * 1429 * * `collection_id`: ID of the collection to which the tokens would belong.1430 * * `owner`: Address of the initial owner of the tokens.1431 * * `items_data`: Vector of data describing each item to be created.1432 **/1433 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>]>;1434 /**1435 * Create multiple items within a collection with explicitly specified initial parameters.1436 * 1437 * # Permissions1438 * 1439 * * Collection owner1440 * * Collection admin1441 * * Anyone if1442 * * Allow List is enabled, and1443 * * Address is added to allow list, and1444 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1445 * 1446 * # Arguments1447 * 1448 * * `collection_id`: ID of the collection to which the tokens would belong.1449 * * `data`: Explicit item creation data.1450 **/1451 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1452 /**1453 * Delete specified collection properties.1454 * 1455 * # Permissions1456 * 1457 * * Collection Owner1458 * * Collection Admin1459 * 1460 * # Arguments1461 * 1462 * * `collection_id`: ID of the modified collection.1463 * * `property_keys`: Vector of keys of the properties to be deleted.1464 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1465 **/1466 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1467 /**1468 * Delete specified token properties. Currently properties only work with NFTs.1469 * 1470 * # Permissions1471 * 1472 * * Depends on collection's token property permissions and specified property mutability:1473 * * Collection owner1474 * * Collection admin1475 * * Token owner1476 * 1477 * # Arguments1478 * 1479 * * `collection_id`: ID of the collection to which the token belongs.1480 * * `token_id`: ID of the modified token.1481 * * `property_keys`: Vector of keys of the properties to be deleted.1482 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1483 **/1484 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1485 /**1486 * Destroy a collection if no tokens exist within.1487 * 1488 * # Permissions1489 * 1490 * * Collection owner1491 * 1492 * # Arguments1493 * 1494 * * `collection_id`: Collection to destroy.1495 **/1496 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1497 /**1498 * Remove admin of a collection.1499 * 1500 * An admin address can remove itself. List of admins may become empty,1501 * in which case only Collection Owner will be able to add an Admin.1502 * 1503 * # Permissions1504 * 1505 * * Collection owner1506 * * Collection admin1507 * 1508 * # Arguments1509 * 1510 * * `collection_id`: ID of the collection to remove the admin for.1511 * * `account_id`: Address of the admin to remove.1512 **/1513 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1514 /**1515 * Remove a collection's a sponsor, making everyone pay for their own transactions.1516 * 1517 * # Permissions1518 * 1519 * * Collection owner1520 * 1521 * # Arguments1522 * 1523 * * `collection_id`: ID of the collection with the sponsor to remove.1524 **/1525 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1526 /**1527 * Remove an address from allow list.1528 * 1529 * # Permissions1530 * 1531 * * Collection owner1532 * * Collection admin1533 * 1534 * # Arguments1535 * 1536 * * `collection_id`: ID of the modified collection.1537 * * `address`: ID of the address to be removed from the allowlist.1538 **/1539 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1540 /**1541 * Re-partition a refungible token, while owning all of its parts/pieces.1542 * 1543 * # Permissions1544 * 1545 * * Token owner (must own every part)1546 * 1547 * # Arguments1548 * 1549 * * `collection_id`: ID of the collection the RFT belongs to.1550 * * `token_id`: ID of the RFT.1551 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1552 **/1553 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1554 /**1555 * Sets or unsets the approval of a given operator.1556 * 1557 * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.1558 * 1559 * # Arguments1560 * 1561 * * `owner`: Token owner1562 * * `operator`: Operator1563 * * `approve`: Should operator status be granted or revoked?1564 **/1565 setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1566 /**1567 * Set specific limits of a collection. Empty, or None fields mean chain default.1568 * 1569 * # Permissions1570 * 1571 * * Collection owner1572 * * Collection admin1573 * 1574 * # Arguments1575 * 1576 * * `collection_id`: ID of the modified collection.1577 * * `new_limit`: New limits of the collection. Fields that are not set (None)1578 * will not overwrite the old ones.1579 **/1580 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]>;1581 /**1582 * Set specific permissions of a collection. Empty, or None fields mean chain default.1583 * 1584 * # Permissions1585 * 1586 * * Collection owner1587 * * Collection admin1588 * 1589 * # Arguments1590 * 1591 * * `collection_id`: ID of the modified collection.1592 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1593 * will not overwrite the old ones.1594 **/1595 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1596 /**1597 * Add or change collection properties.1598 * 1599 * # Permissions1600 * 1601 * * Collection owner1602 * * Collection admin1603 * 1604 * # Arguments1605 * 1606 * * `collection_id`: ID of the modified collection.1607 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1608 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1609 **/1610 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1611 /**1612 * Set (invite) a new collection sponsor.1613 * 1614 * If successful, confirmation from the sponsor-to-be will be pending.1615 * 1616 * # Permissions1617 * 1618 * * Collection owner1619 * * Collection admin1620 * 1621 * # Arguments1622 * 1623 * * `collection_id`: ID of the modified collection.1624 * * `new_sponsor`: ID of the account of the sponsor-to-be.1625 **/1626 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1627 /**1628 * Add or change token properties according to collection's permissions.1629 * Currently properties only work with NFTs.1630 * 1631 * # Permissions1632 * 1633 * * Depends on collection's token property permissions and specified property mutability:1634 * * Collection owner1635 * * Collection admin1636 * * Token owner1637 * 1638 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1639 * 1640 * # Arguments1641 * 1642 * * `collection_id: ID of the collection to which the token belongs.1643 * * `token_id`: ID of the modified token.1644 * * `properties`: Vector of key-value pairs stored as the token's metadata.1645 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1646 **/1647 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>]>;1648 /**1649 * Add or change token property permissions of a collection.1650 * 1651 * Without a permission for a particular key, a property with that key1652 * cannot be created in a token.1653 * 1654 * # Permissions1655 * 1656 * * Collection owner1657 * * Collection admin1658 * 1659 * # Arguments1660 * 1661 * * `collection_id`: ID of the modified collection.1662 * * `property_permissions`: Vector of permissions for property keys.1663 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1664 **/1665 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1666 /**1667 * Completely allow or disallow transfers for a particular collection.1668 * 1669 * # Permissions1670 * 1671 * * Collection owner1672 * 1673 * # Arguments1674 * 1675 * * `collection_id`: ID of the collection.1676 * * `value`: New value of the flag, are transfers allowed?1677 **/1678 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1679 /**1680 * Change ownership of the token.1681 * 1682 * # Permissions1683 * 1684 * * Collection owner1685 * * Collection admin1686 * * Current token owner1687 * 1688 * # Arguments1689 * 1690 * * `recipient`: Address of token recipient.1691 * * `collection_id`: ID of the collection the item belongs to.1692 * * `item_id`: ID of the item.1693 * * Non-Fungible Mode: Required.1694 * * Fungible Mode: Ignored.1695 * * Re-Fungible Mode: Required.1696 * 1697 * * `value`: Amount to transfer.1698 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1699 * * Fungible Mode: The desired number of pieces to transfer.1700 * * Re-Fungible Mode: The desired number of pieces to transfer.1701 **/1702 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]>;1703 /**1704 * Change ownership of an item on behalf of the owner as a non-owner account.1705 * 1706 * See the [`approve`][`Pallet::approve`] method for additional information.1707 * 1708 * After this method executes, one approval is removed from the total so that1709 * the approved address will not be able to transfer this item again from this owner.1710 * 1711 * # Permissions1712 * 1713 * * Collection owner1714 * * Collection admin1715 * * Current item owner1716 * * Address approved by current item owner1717 * 1718 * # Arguments1719 * 1720 * * `from`: Address that currently owns the token.1721 * * `recipient`: Address of the new token-owner-to-be.1722 * * `collection_id`: ID of the collection the item.1723 * * `item_id`: ID of the item to be transferred.1724 * * `value`: Amount to transfer.1725 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1726 * * Fungible Mode: The desired number of pieces to transfer.1727 * * Re-Fungible Mode: The desired number of pieces to transfer.1728 **/1729 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]>;1730 /**1731 * Generic tx1732 **/1733 [key: string]: SubmittableExtrinsicFunction<ApiType>;1734 };1735 vesting: {1736 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1737 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1738 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>]>;1739 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]>;1740 /**1741 * Generic tx1742 **/1743 [key: string]: SubmittableExtrinsicFunction<ApiType>;1744 };1745 xcmpQueue: {1746 /**1747 * Resumes all XCM executions for the XCMP queue.1748 * 1749 * Note that this function doesn't change the status of the in/out bound channels.1750 * 1751 * - `origin`: Must pass `ControllerOrigin`.1752 **/1753 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1754 /**1755 * Services a single overweight XCM.1756 * 1757 * - `origin`: Must pass `ExecuteOverweightOrigin`.1758 * - `index`: The index of the overweight XCM to service1759 * - `weight_limit`: The amount of weight that XCM execution may take.1760 * 1761 * Errors:1762 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1763 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1764 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1765 * 1766 * Events:1767 * - `OverweightServiced`: On success.1768 **/1769 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1770 /**1771 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1772 * 1773 * - `origin`: Must pass `ControllerOrigin`.1774 **/1775 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1776 /**1777 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1778 * messages from the channel.1779 * 1780 * - `origin`: Must pass `Root`.1781 * - `new`: Desired value for `QueueConfigData.drop_threshold`1782 **/1783 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1784 /**1785 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1786 * message sending may recommence after it has been suspended.1787 * 1788 * - `origin`: Must pass `Root`.1789 * - `new`: Desired value for `QueueConfigData.resume_threshold`1790 **/1791 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1792 /**1793 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1794 * suspend their sending.1795 * 1796 * - `origin`: Must pass `Root`.1797 * - `new`: Desired value for `QueueConfigData.suspend_value`1798 **/1799 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1800 /**1801 * Overwrites the amount of remaining weight under which we stop processing messages.1802 * 1803 * - `origin`: Must pass `Root`.1804 * - `new`: Desired value for `QueueConfigData.threshold_weight`1805 **/1806 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1807 /**1808 * Overwrites the speed to which the available weight approaches the maximum weight.1809 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1810 * 1811 * - `origin`: Must pass `Root`.1812 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1813 **/1814 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1815 /**1816 * Overwrite the maximum amount of weight any individual message may consume.1817 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1818 * 1819 * - `origin`: Must pass `Root`.1820 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1821 **/1822 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1823 /**1824 * Generic tx1825 **/1826 [key: string]: SubmittableExtrinsicFunction<ApiType>;1827 };1828 xTokens: {1829 /**1830 * Transfer native currencies.1831 * 1832 * `dest_weight_limit` is the weight for XCM execution on the dest1833 * chain, and it would be charged from the transferred assets. If set1834 * below requirements, the execution may fail and assets wouldn't be1835 * received.1836 * 1837 * It's a no-op if any error on local XCM execution or message sending.1838 * Note sending assets out per se doesn't guarantee they would be1839 * received. Receiving depends on if the XCM message could be delivered1840 * by the network, and if the receiving chain would handle1841 * messages correctly.1842 **/1843 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]>;1844 /**1845 * Transfer `MultiAsset`.1846 * 1847 * `dest_weight_limit` is the weight for XCM execution on the dest1848 * chain, and it would be charged from the transferred assets. If set1849 * below requirements, the execution may fail and assets wouldn't be1850 * received.1851 * 1852 * It's a no-op if any error on local XCM execution or message sending.1853 * Note sending assets out per se doesn't guarantee they would be1854 * received. Receiving depends on if the XCM message could be delivered1855 * by the network, and if the receiving chain would handle1856 * messages correctly.1857 **/1858 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]>;1859 /**1860 * Transfer several `MultiAsset` specifying the item to be used as fee1861 * 1862 * `dest_weight_limit` is the weight for XCM execution on the dest1863 * chain, and it would be charged from the transferred assets. If set1864 * below requirements, the execution may fail and assets wouldn't be1865 * received.1866 * 1867 * `fee_item` is index of the MultiAssets that we want to use for1868 * payment1869 * 1870 * It's a no-op if any error on local XCM execution or message sending.1871 * Note sending assets out per se doesn't guarantee they would be1872 * received. Receiving depends on if the XCM message could be delivered1873 * by the network, and if the receiving chain would handle1874 * messages correctly.1875 **/1876 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]>;1877 /**1878 * Transfer `MultiAsset` specifying the fee and amount as separate.1879 * 1880 * `dest_weight_limit` is the weight for XCM execution on the dest1881 * chain, and it would be charged from the transferred assets. If set1882 * below requirements, the execution may fail and assets wouldn't be1883 * received.1884 * 1885 * `fee` is the multiasset to be spent to pay for execution in1886 * destination chain. Both fee and amount will be subtracted form the1887 * callers balance For now we only accept fee and asset having the same1888 * `MultiLocation` id.1889 * 1890 * If `fee` is not high enough to cover for the execution costs in the1891 * destination chain, then the assets will be trapped in the1892 * destination chain1893 * 1894 * It's a no-op if any error on local XCM execution or message sending.1895 * Note sending assets out per se doesn't guarantee they would be1896 * received. Receiving depends on if the XCM message could be delivered1897 * by the network, and if the receiving chain would handle1898 * messages correctly.1899 **/1900 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]>;1901 /**1902 * Transfer several currencies specifying the item to be used as fee1903 * 1904 * `dest_weight_limit` is the weight for XCM execution on the dest1905 * chain, and it would be charged from the transferred assets. If set1906 * below requirements, the execution may fail and assets wouldn't be1907 * received.1908 * 1909 * `fee_item` is index of the currencies tuple that we want to use for1910 * payment1911 * 1912 * It's a no-op if any error on local XCM execution or message sending.1913 * Note sending assets out per se doesn't guarantee they would be1914 * received. Receiving depends on if the XCM message could be delivered1915 * by the network, and if the receiving chain would handle1916 * messages correctly.1917 **/1918 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]>;1919 /**1920 * Transfer native currencies specifying the fee and amount as1921 * separate.1922 * 1923 * `dest_weight_limit` is the weight for XCM execution on the dest1924 * chain, and it would be charged from the transferred assets. If set1925 * below requirements, the execution may fail and assets wouldn't be1926 * received.1927 * 1928 * `fee` is the amount to be spent to pay for execution in destination1929 * chain. Both fee and amount will be subtracted form the callers1930 * balance.1931 * 1932 * If `fee` is not high enough to cover for the execution costs in the1933 * destination chain, then the assets will be trapped in the1934 * destination chain1935 * 1936 * It's a no-op if any error on local XCM execution or message sending.1937 * Note sending assets out per se doesn't guarantee they would be1938 * received. Receiving depends on if the XCM message could be delivered1939 * by the network, and if the receiving chain would handle1940 * messages correctly.1941 **/1942 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]>;1943 /**1944 * Generic tx1945 **/1946 [key: string]: SubmittableExtrinsicFunction<ApiType>;1947 };1948 } // AugmentedSubmittables1949} // declare moduletests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,15 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
+<<<<<<< HEAD
import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueSchedulerV2BlockAgenda, PalletUniqueSchedulerV2Call, PalletUniqueSchedulerV2Error, PalletUniqueSchedulerV2Event, PalletUniqueSchedulerV2Scheduled, PalletUniqueSchedulerV2ScheduledCall, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+=======
+<<<<<<< HEAD
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerV2BlockAgenda, PalletUniqueSchedulerV2Call, PalletUniqueSchedulerV2Error, PalletUniqueSchedulerV2Event, PalletUniqueSchedulerV2Scheduled, PalletUniqueSchedulerV2ScheduledCall, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+=======
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerV2BlockAgenda, PalletUniqueSchedulerV2Call, PalletUniqueSchedulerV2Error, PalletUniqueSchedulerV2Event, PalletUniqueSchedulerV2Scheduled, PalletUniqueSchedulerV2ScheduledCall, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+>>>>>>> refactor: `app-promotion` configuration pallet
+>>>>>>> e2b20310... refactor: `app-promotion` configuration pallet
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';
@@ -830,7 +838,9 @@
PalletCallMetadataV14: PalletCallMetadataV14;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
+ PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
PalletConfigurationCall: PalletConfigurationCall;
+ PalletConfigurationError: PalletConfigurationError;
PalletConstantMetadataLatest: PalletConstantMetadataLatest;
PalletConstantMetadataV14: PalletConstantMetadataV14;
PalletErrorMetadataLatest: PalletErrorMetadataLatest;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1323,6 +1323,14 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';
}
+/** @name PalletConfigurationAppPromotionConfiguration */
+export interface PalletConfigurationAppPromotionConfiguration extends Struct {
+ readonly recalculationInterval: Option<u32>;
+ readonly pendingInterval: Option<u32>;
+ readonly intervalIncome: Option<Perbill>;
+ readonly maxStakersPerCalculation: Option<u8>;
+}
+
/** @name PalletConfigurationCall */
export interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -3300,7 +3300,13 @@
_enum: ['FailedToSchedule', 'AgendaIsExhausted', 'ScheduledCallCorrupted', 'PreimageNotFound', 'TooBigScheduledCall', 'NotFound', 'TargetBlockNumberInPast', 'Named']
},
/**
- * Lookup397: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup400: pallet_configuration::pallet::Error<T>
+ **/
+ PalletConfigurationError: {
+ _enum: ['InconsistentConfiguration']
+ },
+ /**
+ * Lookup401: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3314,7 +3320,7 @@
flags: '[u8;1]'
},
/**
- * Lookup398: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup402: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3324,7 +3330,7 @@
}
},
/**
- * Lookup400: up_data_structs::Properties
+ * Lookup404: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -3332,15 +3338,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup401: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup405: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup406: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup410: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup413: up_data_structs::CollectionStats
+ * Lookup417: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3348,18 +3354,18 @@
alive: 'u32'
},
/**
- * Lookup414: up_data_structs::TokenChild
+ * Lookup418: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup415: PhantomType::up_data_structs<T>
+ * Lookup419: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup417: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup421: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3367,7 +3373,7 @@
pieces: 'u128'
},
/**
- * Lookup419: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup423: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3384,14 +3390,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup420: up_data_structs::RpcCollectionFlags
+ * Lookup424: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * Lookup421: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup425: 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',
@@ -3401,7 +3407,7 @@
nftsCount: 'u32'
},
/**
- * Lookup422: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup426: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -3411,14 +3417,14 @@
pending: 'bool'
},
/**
- * Lookup424: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup428: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup425: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup429: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -3427,14 +3433,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup426: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup430: 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'
},
/**
- * Lookup427: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup431: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3442,92 +3448,92 @@
symbol: 'Bytes'
},
/**
- * Lookup428: rmrk_traits::nft::NftChild
+ * Lookup432: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup430: pallet_common::pallet::Error<T>
+ * Lookup434: 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']
},
/**
- * Lookup432: pallet_fungible::pallet::Error<T>
+ * Lookup436: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed']
},
/**
- * Lookup433: pallet_refungible::ItemData
+ * Lookup437: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup438: pallet_refungible::pallet::Error<T>
+ * Lookup442: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup439: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup443: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup441: up_data_structs::PropertyScope
+ * Lookup445: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup443: pallet_nonfungible::pallet::Error<T>
+ * Lookup447: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup444: pallet_structure::pallet::Error<T>
+ * Lookup448: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup445: pallet_rmrk_core::pallet::Error<T>
+ * Lookup449: 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']
},
/**
- * Lookup447: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup451: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup453: pallet_app_promotion::pallet::Error<T>
+ * Lookup457: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
},
/**
- * Lookup454: pallet_foreign_assets::module::Error<T>
+ * Lookup458: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup456: pallet_evm::pallet::Error<T>
+ * Lookup460: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']
},
/**
- * Lookup459: fp_rpc::TransactionStatus
+ * Lookup463: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3539,11 +3545,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup461: ethbloom::Bloom
+ * Lookup465: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup463: ethereum::receipt::ReceiptV3
+ * Lookup467: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3553,7 +3559,7 @@
}
},
/**
- * Lookup464: ethereum::receipt::EIP658ReceiptData
+ * Lookup468: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3562,7 +3568,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup465: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup469: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3570,7 +3576,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup466: ethereum::header::Header
+ * Lookup470: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3590,23 +3596,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup467: ethereum_types::hash::H64
+ * Lookup471: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup472: pallet_ethereum::pallet::Error<T>
+ * Lookup476: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup473: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup477: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup474: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup478: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3616,35 +3622,35 @@
}
},
/**
- * Lookup475: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup479: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup481: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup485: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup482: pallet_evm_migration::pallet::Error<T>
+ * Lookup486: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup483: pallet_maintenance::pallet::Error<T>
+ * Lookup487: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup484: pallet_test_utils::pallet::Error<T>
+ * Lookup488: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup486: sp_runtime::MultiSignature
+ * Lookup490: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3654,51 +3660,51 @@
}
},
/**
- * Lookup487: sp_core::ed25519::Signature
+ * Lookup491: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup489: sp_core::sr25519::Signature
+ * Lookup493: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup490: sp_core::ecdsa::Signature
+ * Lookup494: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup493: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup497: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup494: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup498: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup495: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup499: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup498: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup502: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup499: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup503: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup500: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup504: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup501: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup505: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup502: opal_runtime::Runtime
+ * Lookup506: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup503: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup507: 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,15 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
+<<<<<<< HEAD
import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueSchedulerV2BlockAgenda, PalletUniqueSchedulerV2Call, PalletUniqueSchedulerV2Error, PalletUniqueSchedulerV2Event, PalletUniqueSchedulerV2Scheduled, PalletUniqueSchedulerV2ScheduledCall, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+=======
+<<<<<<< HEAD
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerV2BlockAgenda, PalletUniqueSchedulerV2Call, PalletUniqueSchedulerV2Error, PalletUniqueSchedulerV2Event, PalletUniqueSchedulerV2Scheduled, PalletUniqueSchedulerV2ScheduledCall, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+=======
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerV2BlockAgenda, PalletUniqueSchedulerV2Call, PalletUniqueSchedulerV2Error, PalletUniqueSchedulerV2Event, PalletUniqueSchedulerV2Scheduled, PalletUniqueSchedulerV2ScheduledCall, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+>>>>>>> refactor: `app-promotion` configuration pallet
+>>>>>>> e2b20310... refactor: `app-promotion` configuration pallet
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -104,7 +112,9 @@
PalletBalancesReserveData: PalletBalancesReserveData;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
+ PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
PalletConfigurationCall: PalletConfigurationCall;
+ PalletConfigurationError: PalletConfigurationError;
PalletEthereumCall: PalletEthereumCall;
PalletEthereumError: PalletEthereumError;
PalletEthereumEvent: PalletEthereumEvent;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -3494,7 +3494,13 @@
readonly type: 'FailedToSchedule' | 'AgendaIsExhausted' | 'ScheduledCallCorrupted' | 'PreimageNotFound' | 'TooBigScheduledCall' | 'NotFound' | 'TargetBlockNumberInPast' | 'Named';
}
- /** @name UpDataStructsCollection (397) */
+ /** @name PalletConfigurationError (400) */
+ interface PalletConfigurationError extends Enum {
+ readonly isInconsistentConfiguration: boolean;
+ readonly type: 'InconsistentConfiguration';
+ }
+
+ /** @name UpDataStructsCollection (401) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3507,7 +3513,7 @@
readonly flags: U8aFixed;
}
- /** @name UpDataStructsSponsorshipStateAccountId32 (398) */
+ /** @name UpDataStructsSponsorshipStateAccountId32 (402) */
interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3517,43 +3523,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (400) */
+ /** @name UpDataStructsProperties (404) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (401) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (405) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (406) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (410) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (413) */
+ /** @name UpDataStructsCollectionStats (417) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (414) */
+ /** @name UpDataStructsTokenChild (418) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (415) */
+ /** @name PhantomTypeUpDataStructs (419) */
interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (417) */
+ /** @name UpDataStructsTokenData (421) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (419) */
+ /** @name UpDataStructsRpcCollection (423) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3569,13 +3575,13 @@
readonly flags: UpDataStructsRpcCollectionFlags;
}
- /** @name UpDataStructsRpcCollectionFlags (420) */
+ /** @name UpDataStructsRpcCollectionFlags (424) */
interface UpDataStructsRpcCollectionFlags extends Struct {
readonly foreign: bool;
readonly erc721metadata: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (421) */
+ /** @name RmrkTraitsCollectionCollectionInfo (425) */
interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -3584,7 +3590,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (422) */
+ /** @name RmrkTraitsNftNftInfo (426) */
interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -3593,13 +3599,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (424) */
+ /** @name RmrkTraitsNftRoyaltyInfo (428) */
interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (425) */
+ /** @name RmrkTraitsResourceResourceInfo (429) */
interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -3607,26 +3613,26 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (426) */
+ /** @name RmrkTraitsPropertyPropertyInfo (430) */
interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (427) */
+ /** @name RmrkTraitsBaseBaseInfo (431) */
interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (428) */
+ /** @name RmrkTraitsNftNftChild (432) */
interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (430) */
+ /** @name PalletCommonError (434) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3667,7 +3673,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 (432) */
+ /** @name PalletFungibleError (436) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3678,12 +3684,12 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed';
}
- /** @name PalletRefungibleItemData (433) */
+ /** @name PalletRefungibleItemData (437) */
interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (438) */
+ /** @name PalletRefungibleError (442) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3693,19 +3699,19 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (439) */
+ /** @name PalletNonfungibleItemData (443) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (441) */
+ /** @name UpDataStructsPropertyScope (445) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly type: 'None' | 'Rmrk';
}
- /** @name PalletNonfungibleError (443) */
+ /** @name PalletNonfungibleError (447) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3713,7 +3719,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (444) */
+ /** @name PalletStructureError (448) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3722,7 +3728,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (445) */
+ /** @name PalletRmrkCoreError (449) */
interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
@@ -3746,7 +3752,7 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (447) */
+ /** @name PalletRmrkEquipError (451) */
interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -3758,7 +3764,7 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletAppPromotionError (453) */
+ /** @name PalletAppPromotionError (457) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -3769,7 +3775,7 @@
readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
}
- /** @name PalletForeignAssetsModuleError (454) */
+ /** @name PalletForeignAssetsModuleError (458) */
interface PalletForeignAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
@@ -3778,7 +3784,7 @@
readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
}
- /** @name PalletEvmError (456) */
+ /** @name PalletEvmError (460) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3793,7 +3799,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';
}
- /** @name FpRpcTransactionStatus (459) */
+ /** @name FpRpcTransactionStatus (463) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3804,10 +3810,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (461) */
+ /** @name EthbloomBloom (465) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (463) */
+ /** @name EthereumReceiptReceiptV3 (467) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3818,7 +3824,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (464) */
+ /** @name EthereumReceiptEip658ReceiptData (468) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3826,14 +3832,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (465) */
+ /** @name EthereumBlock (469) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (466) */
+ /** @name EthereumHeader (470) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3852,24 +3858,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (467) */
+ /** @name EthereumTypesHashH64 (471) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (472) */
+ /** @name PalletEthereumError (476) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (473) */
+ /** @name PalletEvmCoderSubstrateError (477) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (474) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (478) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3879,7 +3885,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (475) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (479) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3887,7 +3893,7 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (481) */
+ /** @name PalletEvmContractHelpersError (485) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
@@ -3895,7 +3901,7 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletEvmMigrationError (482) */
+ /** @name PalletEvmMigrationError (486) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
@@ -3903,17 +3909,17 @@
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
- /** @name PalletMaintenanceError (483) */
+ /** @name PalletMaintenanceError (487) */
type PalletMaintenanceError = Null;
- /** @name PalletTestUtilsError (484) */
+ /** @name PalletTestUtilsError (488) */
interface PalletTestUtilsError extends Enum {
readonly isTestPalletDisabled: boolean;
readonly isTriggerRollback: boolean;
readonly type: 'TestPalletDisabled' | 'TriggerRollback';
}
- /** @name SpRuntimeMultiSignature (486) */
+ /** @name SpRuntimeMultiSignature (490) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3924,40 +3930,40 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (487) */
+ /** @name SpCoreEd25519Signature (491) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (489) */
+ /** @name SpCoreSr25519Signature (493) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (490) */
+ /** @name SpCoreEcdsaSignature (494) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (493) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (497) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckTxVersion (494) */
+ /** @name FrameSystemExtensionsCheckTxVersion (498) */
type FrameSystemExtensionsCheckTxVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (495) */
+ /** @name FrameSystemExtensionsCheckGenesis (499) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (498) */
+ /** @name FrameSystemExtensionsCheckNonce (502) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (499) */
+ /** @name FrameSystemExtensionsCheckWeight (503) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (500) */
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (504) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (501) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (505) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (502) */
+ /** @name OpalRuntimeRuntime (506) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (503) */
+ /** @name PalletEthereumFakeTransactionFinalizer (507) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module