difftreelog
chore regenerate test types
in: master
12 files changed
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -1,14 +1,20 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { ApiTypes } from '@polkadot/api-base/types';
+// import type lookup before we augment - in some environments
+// this is required to allow for ambient/previous definitions
+import '@polkadot/api-base/types/consts';
+
+import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, XcmV1MultiLocation } from '@polkadot/types/lookup';
+export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
+
declare module '@polkadot/api-base/types/consts' {
- export interface AugmentedConsts<ApiType extends ApiTypes> {
+ interface AugmentedConsts<ApiType extends ApiTypes> {
balances: {
/**
* The minimum amount required to keep an account open.
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -1,10 +1,16 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { ApiTypes } from '@polkadot/api-base/types';
+// import type lookup before we augment - in some environments
+// this is required to allow for ambient/previous definitions
+import '@polkadot/api-base/types/errors';
+
+import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
+
+export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
declare module '@polkadot/api-base/types/errors' {
- export interface AugmentedErrors<ApiType extends ApiTypes> {
+ interface AugmentedErrors<ApiType extends ApiTypes> {
balances: {
/**
* Beneficiary account must pre-exist
@@ -259,7 +265,11 @@
};
evmContractHelpers: {
/**
- * This method is only executable by owner
+ * No pending sponsor for contract.
+ **/
+ NoPendingSponsor: AugmentedError<ApiType>;
+ /**
+ * This method is only executable by contract owner
**/
NoPermission: AugmentedError<ApiType>;
/**
@@ -268,7 +278,13 @@
[key: string]: AugmentedError<ApiType>;
};
evmMigration: {
+ /**
+ * Migration of this account is not yet started, or already finished.
+ **/
AccountIsNotMigrating: AugmentedError<ApiType>;
+ /**
+ * Can only migrate to empty address.
+ **/
AccountNotEmpty: AugmentedError<ApiType>;
/**
* Generic error
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -1,14 +1,20 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { ApiTypes } from '@polkadot/api-base/types';
+// import type lookup before we augment - in some environments
+// this is required to allow for ambient/previous definitions
+import '@polkadot/api-base/types/events';
+
+import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U256, U8aFixed, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, SpRuntimeDispatchError, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
+export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
+
declare module '@polkadot/api-base/types/events' {
- export interface AugmentedEvents<ApiType extends ApiTypes> {
+ interface AugmentedEvents<ApiType extends ApiTypes> {
balances: {
/**
* A balance was set by root.
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -1,15 +1,22 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { ApiTypes } from '@polkadot/api-base/types';
+// import type lookup before we augment - in some environments
+// this is required to allow for ambient/previous definitions
+import '@polkadot/api-base/types/storage';
+
+import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
+export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
+export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
+
declare module '@polkadot/api-base/types/storage' {
- export interface AugmentedQueries<ApiType extends ApiTypes> {
+ interface AugmentedQueries<ApiType extends ApiTypes> {
balances: {
/**
* The Balances pallet example of storing the balance of an account.
@@ -187,12 +194,66 @@
[key: string]: QueryableStorageEntry<ApiType>;
};
evmContractHelpers: {
+ /**
+ * Storage for users that allowed for sponsorship.
+ *
+ * ### Usage
+ * Prefer to delete record from storage if user no more allowed for sponsorship.
+ *
+ * * **Key1** - contract address.
+ * * **Key2** - user that allowed for sponsorship.
+ * * **Value** - allowance for sponsorship.
+ **/
allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;
+ /**
+ * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.
+ *
+ * ### Usage
+ * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.
+ *
+ * * **Key** - contract address.
+ * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.
+ **/
allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Store owner for contract.
+ *
+ * * **Key** - contract address.
+ * * **Value** - owner for contract.
+ **/
owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Storage for last sponsored block.
+ *
+ * * **Key1** - contract address.
+ * * **Key2** - sponsored user address.
+ * * **Value** - last sponsored block number.
+ **/
sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;
+ /**
+ * Store for contract sponsorship state.
+ *
+ * * **Key** - contract address.
+ * * **Value** - sponsorship state.
+ **/
+ sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Store for sponsoring mode.
+ *
+ * ### Usage
+ * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).
+ *
+ * * **Key** - contract address.
+ * * **Value** - [`sponsoring mode`](SponsoringModeT).
+ **/
sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Storage for sponsoring rate limit in blocks.
+ *
+ * * **Key** - contract address.
+ * * **Value** - amount of sponsored blocks.
+ **/
sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Generic query
@@ -313,7 +374,7 @@
*
* Currently used to store RMRK data.
**/
- tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | 'Eth' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
+ tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
/**
* Used to enumerate token's children.
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,10 +1,14 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
+// import type lookup before we augment - in some environments
+// this is required to allow for ambient/previous definitions
+import '@polkadot/rpc-core/types/jsonrpc';
+
import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData } from './default';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
-import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
+import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, Codec } from '@polkadot/types-codec/types';
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
@@ -15,7 +19,7 @@
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
import type { BlockStats } from '@polkadot/types/interfaces/dev';
import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
-import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
+import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
@@ -27,8 +31,10 @@
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
+export type __AugmentedRpc = AugmentedRpc<() => unknown>;
+
declare module '@polkadot/rpc-core/types/jsonrpc' {
- export interface RpcInterface {
+ interface RpcInterface {
author: {
/**
* Returns true if the keystore has private keys for the given public key and key type.
@@ -57,11 +63,11 @@
/**
* Submit and subscribe to watch an extrinsic until unsubscribed
**/
- submitAndWatchExtrinsic: AugmentedRpc<(extrinsic: IExtrinsic) => Observable<ExtrinsicStatus>>;
+ submitAndWatchExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<ExtrinsicStatus>>;
/**
* Submit a fully formatted extrinsic for block inclusion
**/
- submitExtrinsic: AugmentedRpc<(extrinsic: IExtrinsic) => Observable<Hash>>;
+ submitExtrinsic: AugmentedRpc<(extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<Hash>>;
};
babe: {
/**
@@ -199,6 +205,10 @@
**/
estimateGas: AugmentedRpc<(request: EthCallRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<U256>>;
/**
+ * Returns fee history for given block count & reward percentiles
+ **/
+ feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | (f64)[]) => Observable<EthFeeHistory>>;
+ /**
* Returns current gas price.
**/
gasPrice: AugmentedRpc<() => Observable<U256>>;
@@ -291,6 +301,10 @@
**/
hashrate: AugmentedRpc<() => Observable<U256>>;
/**
+ * Returns max priority fee per gas
+ **/
+ maxPriorityFeePerGas: AugmentedRpc<() => Observable<U256>>;
+ /**
* Returns true if client is actively mining new blocks.
**/
mining: AugmentedRpc<() => Observable<bool>>;
@@ -449,7 +463,7 @@
/**
* Get Theme's keys values
**/
- themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsTheme>>>;
+ themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | Uint8Array | Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Option<RmrkTraitsTheme>>>;
};
rpc: {
/**
@@ -537,7 +551,7 @@
/**
* Provides a way to trace the re-execution of a single block
**/
- traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>;
+ traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | Uint8Array | Text | string, storageKeys: Option<Text> | null | Uint8Array | Text | string, methods: Option<Text> | null | Uint8Array | Text | string) => Observable<TraceBlockResponse>>;
/**
* Check current migration state
**/
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';5import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, 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';910declare module '@polkadot/api-base/types/submittable' {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {12 balances: {13 /**14 * Exactly as `transfer`, except the origin must be root and the source account may be15 * specified.16 * # <weight>17 * - Same as transfer, but additional read and write because the source account is not18 * assumed to be in the overlay.19 * # </weight>20 **/21 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>]>;22 /**23 * Unreserve some balance from a user by force.24 * 25 * Can only be called by ROOT.26 **/27 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;28 /**29 * Set the balances of a given account.30 * 31 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will32 * also alter the total issuance of the system (`TotalIssuance`) appropriately.33 * If the new free or reserved balance is below the existential deposit,34 * it will reset the account nonce (`frame_system::AccountNonce`).35 * 36 * The dispatch origin for this call is `root`.37 **/38 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>]>;39 /**40 * Transfer some liquid free balance to another account.41 * 42 * `transfer` will set the `FreeBalance` of the sender and receiver.43 * If the sender's account is below the existential deposit as a result44 * of the transfer, the account will be reaped.45 * 46 * The dispatch origin for this call must be `Signed` by the transactor.47 * 48 * # <weight>49 * - Dependent on arguments but not critical, given proper implementations for input config50 * types. See related functions below.51 * - It contains a limited number of reads and writes internally and no complex52 * computation.53 * 54 * Related functions:55 * 56 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.57 * - Transferring balances to accounts that did not exist before will cause58 * `T::OnNewAccount::on_new_account` to be called.59 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.60 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check61 * that the transfer will not kill the origin account.62 * ---------------------------------63 * - Origin account is already in memory, so no DB operations for them.64 * # </weight>65 **/66 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>]>;67 /**68 * Transfer the entire transferable balance from the caller account.69 * 70 * NOTE: This function only attempts to transfer _transferable_ balances. This means that71 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be72 * transferred by this function. To ensure that this function results in a killed account,73 * you might need to prepare the account by removing any reference counters, storage74 * deposits, etc...75 * 76 * The dispatch origin of this call must be Signed.77 * 78 * - `dest`: The recipient of the transfer.79 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all80 * of the funds the account has, causing the sender account to be killed (false), or81 * transfer everything except at least the existential deposit, which will guarantee to82 * keep the sender account alive (true). # <weight>83 * - O(1). Just like transfer, but reading the user's transferable balance first.84 * #</weight>85 **/86 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;87 /**88 * Same as the [`transfer`] call, but with a check that the transfer will not kill the89 * origin account.90 * 91 * 99% of the time you want [`transfer`] instead.92 * 93 * [`transfer`]: struct.Pallet.html#method.transfer94 **/95 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>]>;96 /**97 * Generic tx98 **/99 [key: string]: SubmittableExtrinsicFunction<ApiType>;100 };101 charging: {102 /**103 * Generic tx104 **/105 [key: string]: SubmittableExtrinsicFunction<ApiType>;106 };107 configuration: {108 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;109 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;110 /**111 * Generic tx112 **/113 [key: string]: SubmittableExtrinsicFunction<ApiType>;114 };115 cumulusXcm: {116 /**117 * Generic tx118 **/119 [key: string]: SubmittableExtrinsicFunction<ApiType>;120 };121 dmpQueue: {122 /**123 * Service a single overweight message.124 * 125 * - `origin`: Must pass `ExecuteOverweightOrigin`.126 * - `index`: The index of the overweight message to service.127 * - `weight_limit`: The amount of weight that message execution may take.128 * 129 * Errors:130 * - `Unknown`: Message of `index` is unknown.131 * - `OverLimit`: Message execution may use greater than `weight_limit`.132 * 133 * Events:134 * - `OverweightServiced`: On success.135 **/136 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;137 /**138 * Generic tx139 **/140 [key: string]: SubmittableExtrinsicFunction<ApiType>;141 };142 ethereum: {143 /**144 * Transact an Ethereum transaction.145 **/146 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;147 /**148 * Generic tx149 **/150 [key: string]: SubmittableExtrinsicFunction<ApiType>;151 };152 evm: {153 /**154 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.155 **/156 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 | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, 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>]>>]>;157 /**158 * Issue an EVM create operation. This is similar to a contract creation transaction in159 * Ethereum.160 **/161 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 | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, 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>]>>]>;162 /**163 * Issue an EVM create2 operation.164 **/165 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 | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, 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>]>>]>;166 /**167 * Withdraw balance from EVM into currency/balances pallet.168 **/169 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;170 /**171 * Generic tx172 **/173 [key: string]: SubmittableExtrinsicFunction<ApiType>;174 };175 evmMigration: {176 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;177 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;178 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;179 /**180 * Generic tx181 **/182 [key: string]: SubmittableExtrinsicFunction<ApiType>;183 };184 foreingAssets: {185 registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeingAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeingAssetsModuleAssetMetadata]>;186 updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeingAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeingAssetsModuleAssetMetadata]>;187 /**188 * Generic tx189 **/190 [key: string]: SubmittableExtrinsicFunction<ApiType>;191 };192 inflation: {193 /**194 * This method sets the inflation start date. Can be only called once.195 * Inflation start block can be backdated and will catch up. The method will create Treasury196 * account if it does not exist and perform the first inflation deposit.197 * 198 * # Permissions199 * 200 * * Root201 * 202 * # Arguments203 * 204 * * inflation_start_relay_block: The relay chain block at which inflation should start205 **/206 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;207 /**208 * Generic tx209 **/210 [key: string]: SubmittableExtrinsicFunction<ApiType>;211 };212 parachainSystem: {213 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;214 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;215 /**216 * Set the current validation data.217 * 218 * This should be invoked exactly once per block. It will panic at the finalization219 * phase if the call was not invoked.220 * 221 * The dispatch origin for this call must be `Inherent`222 * 223 * As a side effect, this function upgrades the current validation function224 * if the appropriate time has come.225 **/226 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;227 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;228 /**229 * Generic tx230 **/231 [key: string]: SubmittableExtrinsicFunction<ApiType>;232 };233 polkadotXcm: {234 /**235 * Execute an XCM message from a local, signed, origin.236 * 237 * An event is deposited indicating whether `msg` could be executed completely or only238 * partially.239 * 240 * No more than `max_weight` will be used in its attempted execution. If this is less than the241 * maximum amount of weight that the message could take to be executed, then no execution242 * attempt will be made.243 * 244 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully245 * to completion; only that *some* of it was executed.246 **/247 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;248 /**249 * Set a safe XCM version (the version that XCM should be encoded with if the most recent250 * version a destination can accept is unknown).251 * 252 * - `origin`: Must be Root.253 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.254 **/255 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;256 /**257 * Ask a location to notify us regarding their XCM version and any changes to it.258 * 259 * - `origin`: Must be Root.260 * - `location`: The location to which we should subscribe for XCM version notifications.261 **/262 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;263 /**264 * Require that a particular destination should no longer notify us regarding any XCM265 * version changes.266 * 267 * - `origin`: Must be Root.268 * - `location`: The location to which we are currently subscribed for XCM version269 * notifications which we no longer desire.270 **/271 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;272 /**273 * Extoll that a particular destination can be communicated with through a particular274 * version of XCM.275 * 276 * - `origin`: Must be Root.277 * - `location`: The destination that is being described.278 * - `xcm_version`: The latest version of XCM that `location` supports.279 **/280 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;281 /**282 * Transfer some assets from the local chain to the sovereign account of a destination283 * chain and forward a notification XCM.284 * 285 * Fee payment on the destination side is made from the asset in the `assets` vector of286 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight287 * is needed than `weight_limit`, then the operation will fail and the assets send may be288 * at risk.289 * 290 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.291 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send292 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.293 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be294 * an `AccountId32` value.295 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the296 * `dest` side.297 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay298 * fees.299 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.300 **/301 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]>;302 /**303 * Teleport some assets from the local chain to some destination chain.304 * 305 * Fee payment on the destination side is made from the asset in the `assets` vector of306 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight307 * is needed than `weight_limit`, then the operation will fail and the assets send may be308 * at risk.309 * 310 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.311 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send312 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.313 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be314 * an `AccountId32` value.315 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the316 * `dest` side. May not be empty.317 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay318 * fees.319 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.320 **/321 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]>;322 /**323 * Transfer some assets from the local chain to the sovereign account of a destination324 * chain and forward a notification XCM.325 * 326 * Fee payment on the destination side is made from the asset in the `assets` vector of327 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,328 * with all fees taken as needed from the asset.329 * 330 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.331 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send332 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.333 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be334 * an `AccountId32` value.335 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the336 * `dest` side.337 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay338 * fees.339 **/340 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]>;341 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;342 /**343 * Teleport some assets from the local chain to some destination chain.344 * 345 * Fee payment on the destination side is made from the asset in the `assets` vector of346 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,347 * with all fees taken as needed from the asset.348 * 349 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.350 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send351 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.352 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be353 * an `AccountId32` value.354 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the355 * `dest` side. May not be empty.356 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay357 * fees.358 **/359 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]>;360 /**361 * Generic tx362 **/363 [key: string]: SubmittableExtrinsicFunction<ApiType>;364 };365 rmrkCore: {366 /**367 * Accept an NFT sent from another account to self or an owned NFT.368 * 369 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.370 * 371 * # Permissions:372 * - Token-owner-to-be373 * 374 * # Arguments:375 * - `origin`: sender of the transaction376 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.377 * - `rmrk_nft_id`: ID of the NFT to be accepted.378 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,379 * whichever the accepted NFT was sent to.380 **/381 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;382 /**383 * Accept the addition of a newly created pending resource to an existing NFT.384 * 385 * This transaction is needed when a resource is created and assigned to an NFT386 * by a non-owner, i.e. the collection issuer, with one of the387 * [`add_...` transactions](Pallet::add_basic_resource).388 * 389 * # Permissions:390 * - Token owner391 * 392 * # Arguments:393 * - `origin`: sender of the transaction394 * - `rmrk_collection_id`: RMRK collection ID of the NFT.395 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.396 * - `resource_id`: ID of the newly created pending resource.397 * accept the addition of a new resource to an existing NFT398 **/399 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;400 /**401 * Accept the removal of a removal-pending resource from an NFT.402 * 403 * This transaction is needed when a non-owner, i.e. the collection issuer,404 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.405 * 406 * # Permissions:407 * - Token owner408 * 409 * # Arguments:410 * - `origin`: sender of the transaction411 * - `rmrk_collection_id`: RMRK collection ID of the NFT.412 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.413 * - `resource_id`: ID of the removal-pending resource.414 **/415 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;416 /**417 * Create and set/propose a basic resource for an NFT.418 * 419 * A basic resource is the simplest, lacking a Base and anything that comes with it.420 * See RMRK docs for more information and examples.421 * 422 * # Permissions:423 * - Collection issuer - if not the token owner, adding the resource will warrant424 * the owner's [acceptance](Pallet::accept_resource).425 * 426 * # Arguments:427 * - `origin`: sender of the transaction428 * - `rmrk_collection_id`: RMRK collection ID of the NFT.429 * - `nft_id`: ID of the NFT to assign a resource to.430 * - `resource`: Data of the resource to be created.431 **/432 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]>;433 /**434 * Create and set/propose a composable resource for an NFT.435 * 436 * A composable resource links to a Base and has a subset of its Parts it is composed of.437 * See RMRK docs for more information and examples.438 * 439 * # Permissions:440 * - Collection issuer - if not the token owner, adding the resource will warrant441 * the owner's [acceptance](Pallet::accept_resource).442 * 443 * # Arguments:444 * - `origin`: sender of the transaction445 * - `rmrk_collection_id`: RMRK collection ID of the NFT.446 * - `nft_id`: ID of the NFT to assign a resource to.447 * - `resource`: Data of the resource to be created.448 **/449 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]>;450 /**451 * Create and set/propose a slot resource for an NFT.452 * 453 * A slot resource links to a Base and a slot ID in it which it can fit into.454 * See RMRK docs for more information and examples.455 * 456 * # Permissions:457 * - Collection issuer - if not the token owner, adding the resource will warrant458 * the owner's [acceptance](Pallet::accept_resource).459 * 460 * # Arguments:461 * - `origin`: sender of the transaction462 * - `rmrk_collection_id`: RMRK collection ID of the NFT.463 * - `nft_id`: ID of the NFT to assign a resource to.464 * - `resource`: Data of the resource to be created.465 **/466 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]>;467 /**468 * Burn an NFT, destroying it and its nested tokens up to the specified limit.469 * If the burning budget is exceeded, the transaction is reverted.470 * 471 * This is the way to burn a nested token as well.472 * 473 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).474 * 475 * # Permissions:476 * * Token owner477 * 478 * # Arguments:479 * - `origin`: sender of the transaction480 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.481 * - `nft_id`: ID of the NFT to be destroyed.482 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction483 * is reverted if there are more tokens to burn in the nesting tree than this number.484 * This is primarily a mechanism of transaction weight control.485 **/486 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;487 /**488 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).489 * 490 * # Permissions:491 * * Collection issuer492 * 493 * # Arguments:494 * - `origin`: sender of the transaction495 * - `collection_id`: RMRK collection ID to change the issuer of.496 * - `new_issuer`: Collection's new issuer.497 **/498 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;499 /**500 * Create a new collection of NFTs.501 * 502 * # Permissions:503 * * Anyone - will be assigned as the issuer of the collection.504 * 505 * # Arguments:506 * - `origin`: sender of the transaction507 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.508 * - `max`: Optional maximum number of tokens.509 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.510 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.511 **/512 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;513 /**514 * Destroy a collection.515 * 516 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.517 * 518 * # Permissions:519 * * Collection issuer520 * 521 * # Arguments:522 * - `origin`: sender of the transaction523 * - `collection_id`: RMRK ID of the collection to destroy.524 **/525 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;526 /**527 * "Lock" the collection and prevent new token creation. Cannot be undone.528 * 529 * # Permissions:530 * * Collection issuer531 * 532 * # Arguments:533 * - `origin`: sender of the transaction534 * - `collection_id`: RMRK ID of the collection to lock.535 **/536 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;537 /**538 * Mint an NFT in a specified collection.539 * 540 * # Permissions:541 * * Collection issuer542 * 543 * # Arguments:544 * - `origin`: sender of the transaction545 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).546 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.547 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.548 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.549 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.550 * - `transferable`: Can this NFT be transferred? Cannot be changed.551 * - `resources`: Resource data to be added to the NFT immediately after minting.552 **/553 mintNft: AugmentedSubmittable<(owner: Option<AccountId32> | null | object | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;554 /**555 * Reject an NFT sent from another account to self or owned NFT.556 * The NFT in question will not be sent back and burnt instead.557 * 558 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.559 * 560 * # Permissions:561 * - Token-owner-to-be-not562 * 563 * # Arguments:564 * - `origin`: sender of the transaction565 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.566 * - `rmrk_nft_id`: ID of the NFT to be rejected.567 **/568 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;569 /**570 * Remove and erase a resource from an NFT.571 * 572 * If the sender does not own the NFT, then it will be pending confirmation,573 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.574 * 575 * # Permissions576 * - Collection issuer577 * 578 * # Arguments579 * - `origin`: sender of the transaction580 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.581 * - `nft_id`: ID of the NFT with a resource to be removed.582 * - `resource_id`: ID of the resource to be removed.583 **/584 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;585 /**586 * Transfer an NFT from an account/NFT A to another account/NFT B.587 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].588 * 589 * If the target owner is an NFT owned by another account, then the NFT will enter590 * the pending state and will have to be accepted by the other account.591 * 592 * # Permissions:593 * - Token owner594 * 595 * # Arguments:596 * - `origin`: sender of the transaction597 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.598 * - `rmrk_nft_id`: ID of the NFT to be transferred.599 * - `new_owner`: New owner of the nft which can be either an account or a NFT.600 **/601 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;602 /**603 * Set a different order of resource priorities for an NFT. Priorities can be used,604 * for example, for order of rendering.605 * 606 * Note that the priorities are not updated automatically, and are an empty vector607 * by default. There is no pre-set definition for the order to be particular,608 * it can be interpreted arbitrarily use-case by use-case.609 * 610 * # Permissions:611 * - Token owner612 * 613 * # Arguments:614 * - `origin`: sender of the transaction615 * - `rmrk_collection_id`: RMRK collection ID of the NFT.616 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.617 * - `priorities`: Ordered vector of resource IDs.618 **/619 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;620 /**621 * Add or edit a custom user property, a key-value pair, describing the metadata622 * of a token or a collection, on either one of these.623 * 624 * Note that in this proxy implementation many details regarding RMRK are stored625 * as scoped properties prefixed with "rmrk:", normally inaccessible626 * to external transactions and RPCs.627 * 628 * # Permissions:629 * - Collection issuer - in case of collection property630 * - Token owner - in case of NFT property631 * 632 * # Arguments:633 * - `origin`: sender of the transaction634 * - `rmrk_collection_id`: RMRK collection ID.635 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.636 * - `key`: Key of the custom property to be referenced by.637 * - `value`: Value of the custom property to be stored.638 **/639 setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | object | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;640 /**641 * Generic tx642 **/643 [key: string]: SubmittableExtrinsicFunction<ApiType>;644 };645 rmrkEquip: {646 /**647 * Create a new Base.648 * 649 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)650 * 651 * # Permissions652 * - Anyone - will be assigned as the issuer of the Base.653 * 654 * # Arguments:655 * - `origin`: Caller, will be assigned as the issuer of the Base656 * - `base_type`: Arbitrary media type, e.g. "svg".657 * - `symbol`: Arbitrary client-chosen symbol.658 * - `parts`: Array of Fixed and Slot Parts composing the Base,659 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).660 **/661 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>]>;662 /**663 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.664 * 665 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).666 * 667 * # Permissions:668 * - Base issuer669 * 670 * # Arguments:671 * - `origin`: sender of the transaction672 * - `base_id`: Base containing the Slot Part to be updated.673 * - `slot_id`: Slot Part whose Equippable List is being updated .674 * - `equippables`: List of equippables that will override the current Equippables list.675 **/676 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]>;677 /**678 * Add a Theme to a Base.679 * A Theme named "default" is required prior to adding other Themes.680 * 681 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).682 * 683 * # Permissions:684 * - Base issuer685 * 686 * # Arguments:687 * - `origin`: sender of the transaction688 * - `base_id`: Base ID containing the Theme to be updated.689 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an690 * array of [key, value, inherit].691 * - `key`: Arbitrary BoundedString, defined by client.692 * - `value`: Arbitrary BoundedString, defined by client.693 * - `inherit`: Optional bool.694 **/695 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;696 /**697 * Generic tx698 **/699 [key: string]: SubmittableExtrinsicFunction<ApiType>;700 };701 scheduler: {702 /**703 * Cancel a named scheduled task.704 **/705 cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;706 /**707 * Schedule a named task.708 **/709 scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;710 /**711 * Schedule a named task after a delay.712 * 713 * # <weight>714 * Same as [`schedule_named`](Self::schedule_named).715 * # </weight>716 **/717 scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;718 /**719 * Generic tx720 **/721 [key: string]: SubmittableExtrinsicFunction<ApiType>;722 };723 structure: {724 /**725 * Generic tx726 **/727 [key: string]: SubmittableExtrinsicFunction<ApiType>;728 };729 sudo: {730 /**731 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo732 * key.733 * 734 * The dispatch origin for this call must be _Signed_.735 * 736 * # <weight>737 * - O(1).738 * - Limited storage reads.739 * - One DB change.740 * # </weight>741 **/742 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;743 /**744 * Authenticates the sudo key and dispatches a function call with `Root` origin.745 * 746 * The dispatch origin for this call must be _Signed_.747 * 748 * # <weight>749 * - O(1).750 * - Limited storage reads.751 * - One DB write (event).752 * - Weight of derivative `call` execution + 10,000.753 * # </weight>754 **/755 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;756 /**757 * Authenticates the sudo key and dispatches a function call with `Signed` origin from758 * a given account.759 * 760 * The dispatch origin for this call must be _Signed_.761 * 762 * # <weight>763 * - O(1).764 * - Limited storage reads.765 * - One DB write (event).766 * - Weight of derivative `call` execution + 10,000.767 * # </weight>768 **/769 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]>;770 /**771 * Authenticates the sudo key and dispatches a function call with `Root` origin.772 * This function does not check the weight of the call, and instead allows the773 * Sudo user to specify the weight of the call.774 * 775 * The dispatch origin for this call must be _Signed_.776 * 777 * # <weight>778 * - O(1).779 * - The weight of this call is defined by the caller.780 * # </weight>781 **/782 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;783 /**784 * Generic tx785 **/786 [key: string]: SubmittableExtrinsicFunction<ApiType>;787 };788 system: {789 /**790 * A dispatch that will fill the block weight up to the given ratio.791 **/792 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;793 /**794 * Kill all storage items with a key that starts with the given prefix.795 * 796 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under797 * the prefix we are removing to accurately calculate the weight of this function.798 **/799 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;800 /**801 * Kill some items from storage.802 **/803 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;804 /**805 * Make some on-chain remark.806 * 807 * # <weight>808 * - `O(1)`809 * # </weight>810 **/811 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;812 /**813 * Make some on-chain remark and emit event.814 **/815 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;816 /**817 * Set the new runtime code.818 * 819 * # <weight>820 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`821 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is822 * expensive).823 * - 1 storage write (codec `O(C)`).824 * - 1 digest item.825 * - 1 event.826 * The weight of this function is dependent on the runtime, but generally this is very827 * expensive. We will treat this as a full block.828 * # </weight>829 **/830 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;831 /**832 * Set the new runtime code without doing any checks of the given `code`.833 * 834 * # <weight>835 * - `O(C)` where `C` length of `code`836 * - 1 storage write (codec `O(C)`).837 * - 1 digest item.838 * - 1 event.839 * The weight of this function is dependent on the runtime. We will treat this as a full840 * block. # </weight>841 **/842 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;843 /**844 * Set the number of pages in the WebAssembly environment's heap.845 **/846 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;847 /**848 * Set some items of storage.849 **/850 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;851 /**852 * Generic tx853 **/854 [key: string]: SubmittableExtrinsicFunction<ApiType>;855 };856 timestamp: {857 /**858 * Set the current time.859 * 860 * This call should be invoked exactly once per block. It will panic at the finalization861 * phase, if this call hasn't been invoked by that time.862 * 863 * The timestamp should be greater than the previous one by the amount specified by864 * `MinimumPeriod`.865 * 866 * The dispatch origin for this call must be `Inherent`.867 * 868 * # <weight>869 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)870 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in871 * `on_finalize`)872 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.873 * # </weight>874 **/875 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;876 /**877 * Generic tx878 **/879 [key: string]: SubmittableExtrinsicFunction<ApiType>;880 };881 tokens: {882 /**883 * Exactly as `transfer`, except the origin must be root and the source884 * account may be specified.885 * 886 * The dispatch origin for this call must be _Root_.887 * 888 * - `source`: The sender of the transfer.889 * - `dest`: The recipient of the transfer.890 * - `currency_id`: currency type.891 * - `amount`: free balance amount to tranfer.892 **/893 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: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletForeingAssetsAssetIds, Compact<u128>]>;894 /**895 * Set the balances of a given account.896 * 897 * This will alter `FreeBalance` and `ReservedBalance` in storage. it898 * will also decrease the total issuance of the system899 * (`TotalIssuance`). If the new free or reserved balance is below the900 * existential deposit, it will reap the `AccountInfo`.901 * 902 * The dispatch origin for this call is `root`.903 **/904 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeingAssetsAssetIds, Compact<u128>, Compact<u128>]>;905 /**906 * Transfer some liquid free balance to another account.907 * 908 * `transfer` will set the `FreeBalance` of the sender and receiver.909 * It will decrease the total issuance of the system by the910 * `TransferFee`. If the sender's account is below the existential911 * deposit as a result of the transfer, the account will be reaped.912 * 913 * The dispatch origin for this call must be `Signed` by the914 * transactor.915 * 916 * - `dest`: The recipient of the transfer.917 * - `currency_id`: currency type.918 * - `amount`: free balance amount to tranfer.919 **/920 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeingAssetsAssetIds, Compact<u128>]>;921 /**922 * Transfer all remaining balance to the given account.923 * 924 * NOTE: This function only attempts to transfer _transferable_925 * balances. This means that any locked, reserved, or existential926 * deposits (when `keep_alive` is `true`), will not be transferred by927 * this function. To ensure that this function results in a killed928 * account, you might need to prepare the account by removing any929 * reference counters, storage deposits, etc...930 * 931 * The dispatch origin for this call must be `Signed` by the932 * transactor.933 * 934 * - `dest`: The recipient of the transfer.935 * - `currency_id`: currency type.936 * - `keep_alive`: A boolean to determine if the `transfer_all`937 * operation should send all of the funds the account has, causing938 * the sender account to be killed (false), or transfer everything939 * except at least the existential deposit, which will guarantee to940 * keep the sender account alive (true).941 **/942 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeingAssetsAssetIds, bool]>;943 /**944 * Same as the [`transfer`] call, but with a check that the transfer945 * will not kill the origin account.946 * 947 * 99% of the time you want [`transfer`] instead.948 * 949 * The dispatch origin for this call must be `Signed` by the950 * transactor.951 * 952 * - `dest`: The recipient of the transfer.953 * - `currency_id`: currency type.954 * - `amount`: free balance amount to tranfer.955 **/956 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeingAssetsAssetIds, Compact<u128>]>;957 /**958 * Generic tx959 **/960 [key: string]: SubmittableExtrinsicFunction<ApiType>;961 };962 treasury: {963 /**964 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary965 * and the original deposit will be returned.966 * 967 * May only be called from `T::ApproveOrigin`.968 * 969 * # <weight>970 * - Complexity: O(1).971 * - DbReads: `Proposals`, `Approvals`972 * - DbWrite: `Approvals`973 * # </weight>974 **/975 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;976 /**977 * Put forward a suggestion for spending. A deposit proportional to the value978 * is reserved and slashed if the proposal is rejected. It is returned once the979 * proposal is awarded.980 * 981 * # <weight>982 * - Complexity: O(1)983 * - DbReads: `ProposalCount`, `origin account`984 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`985 * # </weight>986 **/987 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]>;988 /**989 * Reject a proposed spend. The original deposit will be slashed.990 * 991 * May only be called from `T::RejectOrigin`.992 * 993 * # <weight>994 * - Complexity: O(1)995 * - DbReads: `Proposals`, `rejected proposer account`996 * - DbWrites: `Proposals`, `rejected proposer account`997 * # </weight>998 **/999 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1000 /**1001 * Force a previously approved proposal to be removed from the approval queue.1002 * The original deposit will no longer be returned.1003 * 1004 * May only be called from `T::RejectOrigin`.1005 * - `proposal_id`: The index of a proposal1006 * 1007 * # <weight>1008 * - Complexity: O(A) where `A` is the number of approvals1009 * - Db reads and writes: `Approvals`1010 * # </weight>1011 * 1012 * Errors:1013 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1014 * i.e., the proposal has not been approved. This could also mean the proposal does not1015 * exist altogether, thus there is no way it would have been approved in the first place.1016 **/1017 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1018 /**1019 * Propose and approve a spend of treasury funds.1020 * 1021 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1022 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1023 * - `beneficiary`: The destination account for the transfer.1024 * 1025 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1026 * beneficiary.1027 **/1028 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]>;1029 /**1030 * Generic tx1031 **/1032 [key: string]: SubmittableExtrinsicFunction<ApiType>;1033 };1034 unique: {1035 /**1036 * Add an admin to a collection.1037 * 1038 * NFT Collection can be controlled by multiple admin addresses1039 * (some which can also be servers, for example). Admins can issue1040 * and burn NFTs, as well as add and remove other admins,1041 * but cannot change NFT or Collection ownership.1042 * 1043 * # Permissions1044 * 1045 * * Collection owner1046 * * Collection admin1047 * 1048 * # Arguments1049 * 1050 * * `collection_id`: ID of the Collection to add an admin for.1051 * * `new_admin`: Address of new admin to add.1052 **/1053 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1054 /**1055 * Add an address to allow list.1056 * 1057 * # Permissions1058 * 1059 * * Collection owner1060 * * Collection admin1061 * 1062 * # Arguments1063 * 1064 * * `collection_id`: ID of the modified collection.1065 * * `address`: ID of the address to be added to the allowlist.1066 **/1067 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1068 /**1069 * Allow a non-permissioned address to transfer or burn an item.1070 * 1071 * # Permissions1072 * 1073 * * Collection owner1074 * * Collection admin1075 * * Current item owner1076 * 1077 * # Arguments1078 * 1079 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1080 * * `collection_id`: ID of the collection the item belongs to.1081 * * `item_id`: ID of the item transactions on which are now approved.1082 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1083 * Set to 0 to revoke the approval.1084 **/1085 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]>;1086 /**1087 * Destroy a token on behalf of the owner as a non-owner account.1088 * 1089 * See also: [`approve`][`Pallet::approve`].1090 * 1091 * After this method executes, one approval is removed from the total so that1092 * the approved address will not be able to transfer this item again from this owner.1093 * 1094 * # Permissions1095 * 1096 * * Collection owner1097 * * Collection admin1098 * * Current token owner1099 * * Address approved by current item owner1100 * 1101 * # Arguments1102 * 1103 * * `from`: The owner of the burning item.1104 * * `collection_id`: ID of the collection to which the item belongs.1105 * * `item_id`: ID of item to burn.1106 * * `value`: Number of pieces to burn.1107 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1108 * * Fungible Mode: The desired number of pieces to burn.1109 * * Re-Fungible Mode: The desired number of pieces to burn.1110 **/1111 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]>;1112 /**1113 * Destroy an item.1114 * 1115 * # Permissions1116 * 1117 * * Collection owner1118 * * Collection admin1119 * * Current item owner1120 * 1121 * # Arguments1122 * 1123 * * `collection_id`: ID of the collection to which the item belongs.1124 * * `item_id`: ID of item to burn.1125 * * `value`: Number of pieces of the item to destroy.1126 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1127 * * Fungible Mode: The desired number of pieces to burn.1128 * * Re-Fungible Mode: The desired number of pieces to burn.1129 **/1130 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1131 /**1132 * Change the owner of the collection.1133 * 1134 * # Permissions1135 * 1136 * * Collection owner1137 * 1138 * # Arguments1139 * 1140 * * `collection_id`: ID of the modified collection.1141 * * `new_owner`: ID of the account that will become the owner.1142 **/1143 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1144 /**1145 * Confirm own sponsorship of a collection, becoming the sponsor.1146 * 1147 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1148 * Sponsor can pay the fees of a transaction instead of the sender,1149 * but only within specified limits.1150 * 1151 * # Permissions1152 * 1153 * * Sponsor-to-be1154 * 1155 * # Arguments1156 * 1157 * * `collection_id`: ID of the collection with the pending sponsor.1158 **/1159 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1160 /**1161 * Create a collection of tokens.1162 * 1163 * Each Token may have multiple properties encoded as an array of bytes1164 * of certain length. The initial owner of the collection is set1165 * to the address that signed the transaction and can be changed later.1166 * 1167 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1168 * 1169 * # Permissions1170 * 1171 * * Anyone - becomes the owner of the new collection.1172 * 1173 * # Arguments1174 * 1175 * * `collection_name`: Wide-character string with collection name1176 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1177 * * `collection_description`: Wide-character string with collection description1178 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1179 * * `token_prefix`: Byte string containing the token prefix to mark a collection1180 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1181 * * `mode`: Type of items stored in the collection and type dependent data.1182 **/1183 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]>;1184 /**1185 * Create a collection with explicit parameters.1186 * 1187 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1188 * 1189 * # Permissions1190 * 1191 * * Anyone - becomes the owner of the new collection.1192 * 1193 * # Arguments1194 * 1195 * * `data`: Explicit data of a collection used for its creation.1196 **/1197 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]>;1198 /**1199 * Mint an item within a collection.1200 * 1201 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1202 * 1203 * # Permissions1204 * 1205 * * Collection owner1206 * * Collection admin1207 * * Anyone if1208 * * Allow List is enabled, and1209 * * Address is added to allow list, and1210 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1211 * 1212 * # Arguments1213 * 1214 * * `collection_id`: ID of the collection to which an item would belong.1215 * * `owner`: Address of the initial owner of the item.1216 * * `data`: Token data describing the item to store on chain.1217 **/1218 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]>;1219 /**1220 * Create multiple items within a collection.1221 * 1222 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1223 * 1224 * # Permissions1225 * 1226 * * Collection owner1227 * * Collection admin1228 * * Anyone if1229 * * Allow List is enabled, and1230 * * Address is added to the allow list, and1231 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1232 * 1233 * # Arguments1234 * 1235 * * `collection_id`: ID of the collection to which the tokens would belong.1236 * * `owner`: Address of the initial owner of the tokens.1237 * * `items_data`: Vector of data describing each item to be created.1238 **/1239 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>]>;1240 /**1241 * Create multiple items within a collection with explicitly specified initial parameters.1242 * 1243 * # Permissions1244 * 1245 * * Collection owner1246 * * Collection admin1247 * * Anyone if1248 * * Allow List is enabled, and1249 * * Address is added to allow list, and1250 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1251 * 1252 * # Arguments1253 * 1254 * * `collection_id`: ID of the collection to which the tokens would belong.1255 * * `data`: Explicit item creation data.1256 **/1257 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1258 /**1259 * Delete specified collection properties.1260 * 1261 * # Permissions1262 * 1263 * * Collection Owner1264 * * Collection Admin1265 * 1266 * # Arguments1267 * 1268 * * `collection_id`: ID of the modified collection.1269 * * `property_keys`: Vector of keys of the properties to be deleted.1270 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1271 **/1272 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1273 /**1274 * Delete specified token properties. Currently properties only work with NFTs.1275 * 1276 * # Permissions1277 * 1278 * * Depends on collection's token property permissions and specified property mutability:1279 * * Collection owner1280 * * Collection admin1281 * * Token owner1282 * 1283 * # Arguments1284 * 1285 * * `collection_id`: ID of the collection to which the token belongs.1286 * * `token_id`: ID of the modified token.1287 * * `property_keys`: Vector of keys of the properties to be deleted.1288 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1289 **/1290 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1291 /**1292 * Destroy a collection if no tokens exist within.1293 * 1294 * # Permissions1295 * 1296 * * Collection owner1297 * 1298 * # Arguments1299 * 1300 * * `collection_id`: Collection to destroy.1301 **/1302 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1303 /**1304 * Remove admin of a collection.1305 * 1306 * An admin address can remove itself. List of admins may become empty,1307 * in which case only Collection Owner will be able to add an Admin.1308 * 1309 * # Permissions1310 * 1311 * * Collection owner1312 * * Collection admin1313 * 1314 * # Arguments1315 * 1316 * * `collection_id`: ID of the collection to remove the admin for.1317 * * `account_id`: Address of the admin to remove.1318 **/1319 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1320 /**1321 * Remove a collection's a sponsor, making everyone pay for their own transactions.1322 * 1323 * # Permissions1324 * 1325 * * Collection owner1326 * 1327 * # Arguments1328 * 1329 * * `collection_id`: ID of the collection with the sponsor to remove.1330 **/1331 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1332 /**1333 * Remove an address from allow list.1334 * 1335 * # Permissions1336 * 1337 * * Collection owner1338 * * Collection admin1339 * 1340 * # Arguments1341 * 1342 * * `collection_id`: ID of the modified collection.1343 * * `address`: ID of the address to be removed from the allowlist.1344 **/1345 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1346 /**1347 * Re-partition a refungible token, while owning all of its parts/pieces.1348 * 1349 * # Permissions1350 * 1351 * * Token owner (must own every part)1352 * 1353 * # Arguments1354 * 1355 * * `collection_id`: ID of the collection the RFT belongs to.1356 * * `token_id`: ID of the RFT.1357 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1358 **/1359 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1360 /**1361 * Set specific limits of a collection. Empty, or None fields mean chain default.1362 * 1363 * # Permissions1364 * 1365 * * Collection owner1366 * * Collection admin1367 * 1368 * # Arguments1369 * 1370 * * `collection_id`: ID of the modified collection.1371 * * `new_limit`: New limits of the collection. Fields that are not set (None)1372 * will not overwrite the old ones.1373 **/1374 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]>;1375 /**1376 * Set specific permissions of a collection. Empty, or None fields mean chain default.1377 * 1378 * # Permissions1379 * 1380 * * Collection owner1381 * * Collection admin1382 * 1383 * # Arguments1384 * 1385 * * `collection_id`: ID of the modified collection.1386 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1387 * will not overwrite the old ones.1388 **/1389 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1390 /**1391 * Add or change collection properties.1392 * 1393 * # Permissions1394 * 1395 * * Collection owner1396 * * Collection admin1397 * 1398 * # Arguments1399 * 1400 * * `collection_id`: ID of the modified collection.1401 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1402 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1403 **/1404 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1405 /**1406 * Set (invite) a new collection sponsor.1407 * 1408 * If successful, confirmation from the sponsor-to-be will be pending.1409 * 1410 * # Permissions1411 * 1412 * * Collection owner1413 * * Collection admin1414 * 1415 * # Arguments1416 * 1417 * * `collection_id`: ID of the modified collection.1418 * * `new_sponsor`: ID of the account of the sponsor-to-be.1419 **/1420 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1421 /**1422 * Add or change token properties according to collection's permissions.1423 * Currently properties only work with NFTs.1424 * 1425 * # Permissions1426 * 1427 * * Depends on collection's token property permissions and specified property mutability:1428 * * Collection owner1429 * * Collection admin1430 * * Token owner1431 * 1432 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1433 * 1434 * # Arguments1435 * 1436 * * `collection_id: ID of the collection to which the token belongs.1437 * * `token_id`: ID of the modified token.1438 * * `properties`: Vector of key-value pairs stored as the token's metadata.1439 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1440 **/1441 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>]>;1442 /**1443 * Add or change token property permissions of a collection.1444 * 1445 * Without a permission for a particular key, a property with that key1446 * cannot be created in a token.1447 * 1448 * # Permissions1449 * 1450 * * Collection owner1451 * * Collection admin1452 * 1453 * # Arguments1454 * 1455 * * `collection_id`: ID of the modified collection.1456 * * `property_permissions`: Vector of permissions for property keys.1457 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1458 **/1459 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1460 /**1461 * Completely allow or disallow transfers for a particular collection.1462 * 1463 * # Permissions1464 * 1465 * * Collection owner1466 * 1467 * # Arguments1468 * 1469 * * `collection_id`: ID of the collection.1470 * * `value`: New value of the flag, are transfers allowed?1471 **/1472 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1473 /**1474 * Change ownership of the token.1475 * 1476 * # Permissions1477 * 1478 * * Collection owner1479 * * Collection admin1480 * * Current token owner1481 * 1482 * # Arguments1483 * 1484 * * `recipient`: Address of token recipient.1485 * * `collection_id`: ID of the collection the item belongs to.1486 * * `item_id`: ID of the item.1487 * * Non-Fungible Mode: Required.1488 * * Fungible Mode: Ignored.1489 * * Re-Fungible Mode: Required.1490 * 1491 * * `value`: Amount to transfer.1492 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1493 * * Fungible Mode: The desired number of pieces to transfer.1494 * * Re-Fungible Mode: The desired number of pieces to transfer.1495 **/1496 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]>;1497 /**1498 * Change ownership of an item on behalf of the owner as a non-owner account.1499 * 1500 * See the [`approve`][`Pallet::approve`] method for additional information.1501 * 1502 * After this method executes, one approval is removed from the total so that1503 * the approved address will not be able to transfer this item again from this owner.1504 * 1505 * # Permissions1506 * 1507 * * Collection owner1508 * * Collection admin1509 * * Current item owner1510 * * Address approved by current item owner1511 * 1512 * # Arguments1513 * 1514 * * `from`: Address that currently owns the token.1515 * * `recipient`: Address of the new token-owner-to-be.1516 * * `collection_id`: ID of the collection the item.1517 * * `item_id`: ID of the item to be transferred.1518 * * `value`: Amount to transfer.1519 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1520 * * Fungible Mode: The desired number of pieces to transfer.1521 * * Re-Fungible Mode: The desired number of pieces to transfer.1522 **/1523 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]>;1524 /**1525 * Generic tx1526 **/1527 [key: string]: SubmittableExtrinsicFunction<ApiType>;1528 };1529 vesting: {1530 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1531 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1532 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>]>;1533 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]>;1534 /**1535 * Generic tx1536 **/1537 [key: string]: SubmittableExtrinsicFunction<ApiType>;1538 };1539 xcmpQueue: {1540 /**1541 * Resumes all XCM executions for the XCMP queue.1542 * 1543 * Note that this function doesn't change the status of the in/out bound channels.1544 * 1545 * - `origin`: Must pass `ControllerOrigin`.1546 **/1547 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1548 /**1549 * Services a single overweight XCM.1550 * 1551 * - `origin`: Must pass `ExecuteOverweightOrigin`.1552 * - `index`: The index of the overweight XCM to service1553 * - `weight_limit`: The amount of weight that XCM execution may take.1554 * 1555 * Errors:1556 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1557 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1558 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1559 * 1560 * Events:1561 * - `OverweightServiced`: On success.1562 **/1563 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1564 /**1565 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1566 * 1567 * - `origin`: Must pass `ControllerOrigin`.1568 **/1569 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1570 /**1571 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1572 * messages from the channel.1573 * 1574 * - `origin`: Must pass `Root`.1575 * - `new`: Desired value for `QueueConfigData.drop_threshold`1576 **/1577 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1578 /**1579 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1580 * message sending may recommence after it has been suspended.1581 * 1582 * - `origin`: Must pass `Root`.1583 * - `new`: Desired value for `QueueConfigData.resume_threshold`1584 **/1585 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1586 /**1587 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1588 * suspend their sending.1589 * 1590 * - `origin`: Must pass `Root`.1591 * - `new`: Desired value for `QueueConfigData.suspend_value`1592 **/1593 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1594 /**1595 * Overwrites the amount of remaining weight under which we stop processing messages.1596 * 1597 * - `origin`: Must pass `Root`.1598 * - `new`: Desired value for `QueueConfigData.threshold_weight`1599 **/1600 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1601 /**1602 * Overwrites the speed to which the available weight approaches the maximum weight.1603 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1604 * 1605 * - `origin`: Must pass `Root`.1606 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1607 **/1608 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1609 /**1610 * Overwrite the maximum amount of weight any individual message may consume.1611 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1612 * 1613 * - `origin`: Must pass `Root`.1614 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1615 **/1616 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1617 /**1618 * Generic tx1619 **/1620 [key: string]: SubmittableExtrinsicFunction<ApiType>;1621 };1622 xTokens: {1623 /**1624 * Transfer native currencies.1625 * 1626 * `dest_weight` is the weight for XCM execution on the dest chain, and1627 * it would be charged from the transferred assets. If set below1628 * requirements, the execution may fail and assets wouldn't be1629 * received.1630 * 1631 * It's a no-op if any error on local XCM execution or message sending.1632 * Note sending assets out per se doesn't guarantee they would be1633 * received. Receiving depends on if the XCM message could be delivered1634 * by the network, and if the receiving chain would handle1635 * messages correctly.1636 **/1637 transfer: AugmentedSubmittable<(currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeingAssetsAssetIds, u128, XcmVersionedMultiLocation, u64]>;1638 /**1639 * Transfer `MultiAsset`.1640 * 1641 * `dest_weight` is the weight for XCM execution on the dest chain, and1642 * it would be charged from the transferred assets. If set below1643 * requirements, the execution may fail and assets wouldn't be1644 * received.1645 * 1646 * It's a no-op if any error on local XCM execution or message sending.1647 * Note sending assets out per se doesn't guarantee they would be1648 * received. Receiving depends on if the XCM message could be delivered1649 * by the network, and if the receiving chain would handle1650 * messages correctly.1651 **/1652 transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, u64]>;1653 /**1654 * Transfer several `MultiAsset` specifying the item to be used as fee1655 * 1656 * `dest_weight` is the weight for XCM execution on the dest chain, and1657 * it would be charged from the transferred assets. If set below1658 * requirements, the execution may fail and assets wouldn't be1659 * received.1660 * 1661 * `fee_item` is index of the MultiAssets that we want to use for1662 * payment1663 * 1664 * It's a no-op if any error on local XCM execution or message sending.1665 * Note sending assets out per se doesn't guarantee they would be1666 * received. Receiving depends on if the XCM message could be delivered1667 * by the network, and if the receiving chain would handle1668 * messages correctly.1669 **/1670 transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, u64]>;1671 /**1672 * Transfer `MultiAsset` specifying the fee and amount as separate.1673 * 1674 * `dest_weight` is the weight for XCM execution on the dest chain, and1675 * it would be charged from the transferred assets. If set below1676 * requirements, the execution may fail and assets wouldn't be1677 * received.1678 * 1679 * `fee` is the multiasset to be spent to pay for execution in1680 * destination chain. Both fee and amount will be subtracted form the1681 * callers balance For now we only accept fee and asset having the same1682 * `MultiLocation` id.1683 * 1684 * If `fee` is not high enough to cover for the execution costs in the1685 * destination chain, then the assets will be trapped in the1686 * destination chain1687 * 1688 * It's a no-op if any error on local XCM execution or message sending.1689 * Note sending assets out per se doesn't guarantee they would be1690 * received. Receiving depends on if the XCM message could be delivered1691 * by the network, and if the receiving chain would handle1692 * messages correctly.1693 **/1694 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, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, u64]>;1695 /**1696 * Transfer several currencies specifying the item to be used as fee1697 * 1698 * `dest_weight` is the weight for XCM execution on the dest chain, and1699 * it would be charged from the transferred assets. If set below1700 * requirements, the execution may fail and assets wouldn't be1701 * received.1702 * 1703 * `fee_item` is index of the currencies tuple that we want to use for1704 * payment1705 * 1706 * It's a no-op if any error on local XCM execution or message sending.1707 * Note sending assets out per se doesn't guarantee they would be1708 * received. Receiving depends on if the XCM message could be delivered1709 * by the network, and if the receiving chain would handle1710 * messages correctly.1711 **/1712 transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeingAssetsAssetIds, u128]>> | ([PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeingAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, u64]>;1713 /**1714 * Transfer native currencies specifying the fee and amount as1715 * separate.1716 * 1717 * `dest_weight` is the weight for XCM execution on the dest chain, and1718 * it would be charged from the transferred assets. If set below1719 * requirements, the execution may fail and assets wouldn't be1720 * received.1721 * 1722 * `fee` is the amount to be spent to pay for execution in destination1723 * chain. Both fee and amount will be subtracted form the callers1724 * balance.1725 * 1726 * If `fee` is not high enough to cover for the execution costs in the1727 * destination chain, then the assets will be trapped in the1728 * destination chain1729 * 1730 * It's a no-op if any error on local XCM execution or message sending.1731 * Note sending assets out per se doesn't guarantee they would be1732 * received. Receiving depends on if the XCM message could be delivered1733 * by the network, and if the receiving chain would handle1734 * messages correctly.1735 **/1736 transferWithFee: AugmentedSubmittable<(currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeingAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, u64]>;1737 /**1738 * Generic tx1739 **/1740 [key: string]: SubmittableExtrinsicFunction<ApiType>;1741 };1742 } // AugmentedSubmittables1743} // 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';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, 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';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 balances: {21 /**22 * Exactly as `transfer`, except the origin must be root and the source account may be23 * specified.24 * # <weight>25 * - Same as transfer, but additional read and write because the source account is not26 * assumed to be in the overlay.27 * # </weight>28 **/29 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>]>;30 /**31 * Unreserve some balance from a user by force.32 * 33 * Can only be called by ROOT.34 **/35 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;36 /**37 * Set the balances of a given account.38 * 39 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will40 * also alter the total issuance of the system (`TotalIssuance`) appropriately.41 * If the new free or reserved balance is below the existential deposit,42 * it will reset the account nonce (`frame_system::AccountNonce`).43 * 44 * The dispatch origin for this call is `root`.45 **/46 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>]>;47 /**48 * Transfer some liquid free balance to another account.49 * 50 * `transfer` will set the `FreeBalance` of the sender and receiver.51 * If the sender's account is below the existential deposit as a result52 * of the transfer, the account will be reaped.53 * 54 * The dispatch origin for this call must be `Signed` by the transactor.55 * 56 * # <weight>57 * - Dependent on arguments but not critical, given proper implementations for input config58 * types. See related functions below.59 * - It contains a limited number of reads and writes internally and no complex60 * computation.61 * 62 * Related functions:63 * 64 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.65 * - Transferring balances to accounts that did not exist before will cause66 * `T::OnNewAccount::on_new_account` to be called.67 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.68 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check69 * that the transfer will not kill the origin account.70 * ---------------------------------71 * - Origin account is already in memory, so no DB operations for them.72 * # </weight>73 **/74 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>]>;75 /**76 * Transfer the entire transferable balance from the caller account.77 * 78 * NOTE: This function only attempts to transfer _transferable_ balances. This means that79 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be80 * transferred by this function. To ensure that this function results in a killed account,81 * you might need to prepare the account by removing any reference counters, storage82 * deposits, etc...83 * 84 * The dispatch origin of this call must be Signed.85 * 86 * - `dest`: The recipient of the transfer.87 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all88 * of the funds the account has, causing the sender account to be killed (false), or89 * transfer everything except at least the existential deposit, which will guarantee to90 * keep the sender account alive (true). # <weight>91 * - O(1). Just like transfer, but reading the user's transferable balance first.92 * #</weight>93 **/94 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;95 /**96 * Same as the [`transfer`] call, but with a check that the transfer will not kill the97 * origin account.98 * 99 * 99% of the time you want [`transfer`] instead.100 * 101 * [`transfer`]: struct.Pallet.html#method.transfer102 **/103 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>]>;104 /**105 * Generic tx106 **/107 [key: string]: SubmittableExtrinsicFunction<ApiType>;108 };109 charging: {110 /**111 * Generic tx112 **/113 [key: string]: SubmittableExtrinsicFunction<ApiType>;114 };115 configuration: {116 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;117 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;118 /**119 * Generic tx120 **/121 [key: string]: SubmittableExtrinsicFunction<ApiType>;122 };123 cumulusXcm: {124 /**125 * Generic tx126 **/127 [key: string]: SubmittableExtrinsicFunction<ApiType>;128 };129 dmpQueue: {130 /**131 * Service a single overweight message.132 * 133 * - `origin`: Must pass `ExecuteOverweightOrigin`.134 * - `index`: The index of the overweight message to service.135 * - `weight_limit`: The amount of weight that message execution may take.136 * 137 * Errors:138 * - `Unknown`: Message of `index` is unknown.139 * - `OverLimit`: Message execution may use greater than `weight_limit`.140 * 141 * Events:142 * - `OverweightServiced`: On success.143 **/144 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;145 /**146 * Generic tx147 **/148 [key: string]: SubmittableExtrinsicFunction<ApiType>;149 };150 ethereum: {151 /**152 * Transact an Ethereum transaction.153 **/154 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;155 /**156 * Generic tx157 **/158 [key: string]: SubmittableExtrinsicFunction<ApiType>;159 };160 evm: {161 /**162 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.163 **/164 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>]>>]>;165 /**166 * Issue an EVM create operation. This is similar to a contract creation transaction in167 * Ethereum.168 **/169 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>]>>]>;170 /**171 * Issue an EVM create2 operation.172 **/173 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>]>>]>;174 /**175 * Withdraw balance from EVM into currency/balances pallet.176 **/177 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;178 /**179 * Generic tx180 **/181 [key: string]: SubmittableExtrinsicFunction<ApiType>;182 };183 evmMigration: {184 /**185 * Start contract migration, inserts contract stub at target address,186 * and marks account as pending, allowing to insert storage187 **/188 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;189 /**190 * Finish contract migration, allows it to be called.191 * It is not possible to alter contract storage via [`Self::set_data`]192 * after this call.193 **/194 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;195 /**196 * Insert items into contract storage, this method can be called197 * multiple times198 **/199 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;200 /**201 * Generic tx202 **/203 [key: string]: SubmittableExtrinsicFunction<ApiType>;204 };205 foreingAssets: {206 registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeingAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeingAssetsModuleAssetMetadata]>;207 updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeingAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeingAssetsModuleAssetMetadata]>;208 /**209 * Generic tx210 **/211 [key: string]: SubmittableExtrinsicFunction<ApiType>;212 };213 inflation: {214 /**215 * This method sets the inflation start date. Can be only called once.216 * Inflation start block can be backdated and will catch up. The method will create Treasury217 * account if it does not exist and perform the first inflation deposit.218 * 219 * # Permissions220 * 221 * * Root222 * 223 * # Arguments224 * 225 * * inflation_start_relay_block: The relay chain block at which inflation should start226 **/227 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;228 /**229 * Generic tx230 **/231 [key: string]: SubmittableExtrinsicFunction<ApiType>;232 };233 parachainSystem: {234 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;235 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;236 /**237 * Set the current validation data.238 * 239 * This should be invoked exactly once per block. It will panic at the finalization240 * phase if the call was not invoked.241 * 242 * The dispatch origin for this call must be `Inherent`243 * 244 * As a side effect, this function upgrades the current validation function245 * if the appropriate time has come.246 **/247 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;248 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;249 /**250 * Generic tx251 **/252 [key: string]: SubmittableExtrinsicFunction<ApiType>;253 };254 polkadotXcm: {255 /**256 * Execute an XCM message from a local, signed, origin.257 * 258 * An event is deposited indicating whether `msg` could be executed completely or only259 * partially.260 * 261 * No more than `max_weight` will be used in its attempted execution. If this is less than the262 * maximum amount of weight that the message could take to be executed, then no execution263 * attempt will be made.264 * 265 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully266 * to completion; only that *some* of it was executed.267 **/268 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;269 /**270 * Set a safe XCM version (the version that XCM should be encoded with if the most recent271 * version a destination can accept is unknown).272 * 273 * - `origin`: Must be Root.274 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.275 **/276 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;277 /**278 * Ask a location to notify us regarding their XCM version and any changes to it.279 * 280 * - `origin`: Must be Root.281 * - `location`: The location to which we should subscribe for XCM version notifications.282 **/283 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;284 /**285 * Require that a particular destination should no longer notify us regarding any XCM286 * version changes.287 * 288 * - `origin`: Must be Root.289 * - `location`: The location to which we are currently subscribed for XCM version290 * notifications which we no longer desire.291 **/292 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;293 /**294 * Extoll that a particular destination can be communicated with through a particular295 * version of XCM.296 * 297 * - `origin`: Must be Root.298 * - `location`: The destination that is being described.299 * - `xcm_version`: The latest version of XCM that `location` supports.300 **/301 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;302 /**303 * Transfer some assets from the local chain to the sovereign account of a destination304 * chain and forward a notification XCM.305 * 306 * Fee payment on the destination side is made from the asset in the `assets` vector of307 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight308 * is needed than `weight_limit`, then the operation will fail and the assets send may be309 * at risk.310 * 311 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.312 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send313 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.314 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be315 * an `AccountId32` value.316 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the317 * `dest` side.318 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay319 * fees.320 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.321 **/322 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]>;323 /**324 * Teleport some assets from the local chain to some destination chain.325 * 326 * Fee payment on the destination side is made from the asset in the `assets` vector of327 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight328 * is needed than `weight_limit`, then the operation will fail and the assets send may be329 * at risk.330 * 331 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.332 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send333 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.334 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be335 * an `AccountId32` value.336 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the337 * `dest` side. May not be empty.338 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay339 * fees.340 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.341 **/342 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]>;343 /**344 * Transfer some assets from the local chain to the sovereign account of a destination345 * chain and forward a notification XCM.346 * 347 * Fee payment on the destination side is made from the asset in the `assets` vector of348 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,349 * with all fees taken as needed from the asset.350 * 351 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.352 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send353 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.354 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be355 * an `AccountId32` value.356 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the357 * `dest` side.358 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay359 * fees.360 **/361 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]>;362 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;363 /**364 * Teleport some assets from the local chain to some destination chain.365 * 366 * Fee payment on the destination side is made from the asset in the `assets` vector of367 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,368 * with all fees taken as needed from the asset.369 * 370 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.371 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send372 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.373 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be374 * an `AccountId32` value.375 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the376 * `dest` side. May not be empty.377 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay378 * fees.379 **/380 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]>;381 /**382 * Generic tx383 **/384 [key: string]: SubmittableExtrinsicFunction<ApiType>;385 };386 rmrkCore: {387 /**388 * Accept an NFT sent from another account to self or an owned NFT.389 * 390 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.391 * 392 * # Permissions:393 * - Token-owner-to-be394 * 395 * # Arguments:396 * - `origin`: sender of the transaction397 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.398 * - `rmrk_nft_id`: ID of the NFT to be accepted.399 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,400 * whichever the accepted NFT was sent to.401 **/402 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;403 /**404 * Accept the addition of a newly created pending resource to an existing NFT.405 * 406 * This transaction is needed when a resource is created and assigned to an NFT407 * by a non-owner, i.e. the collection issuer, with one of the408 * [`add_...` transactions](Pallet::add_basic_resource).409 * 410 * # Permissions:411 * - Token owner412 * 413 * # Arguments:414 * - `origin`: sender of the transaction415 * - `rmrk_collection_id`: RMRK collection ID of the NFT.416 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.417 * - `resource_id`: ID of the newly created pending resource.418 * accept the addition of a new resource to an existing NFT419 **/420 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;421 /**422 * Accept the removal of a removal-pending resource from an NFT.423 * 424 * This transaction is needed when a non-owner, i.e. the collection issuer,425 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.426 * 427 * # Permissions:428 * - Token owner429 * 430 * # Arguments:431 * - `origin`: sender of the transaction432 * - `rmrk_collection_id`: RMRK collection ID of the NFT.433 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.434 * - `resource_id`: ID of the removal-pending resource.435 **/436 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;437 /**438 * Create and set/propose a basic resource for an NFT.439 * 440 * A basic resource is the simplest, lacking a Base and anything that comes with it.441 * See RMRK docs for more information and examples.442 * 443 * # Permissions:444 * - Collection issuer - if not the token owner, adding the resource will warrant445 * the owner's [acceptance](Pallet::accept_resource).446 * 447 * # Arguments:448 * - `origin`: sender of the transaction449 * - `rmrk_collection_id`: RMRK collection ID of the NFT.450 * - `nft_id`: ID of the NFT to assign a resource to.451 * - `resource`: Data of the resource to be created.452 **/453 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]>;454 /**455 * Create and set/propose a composable resource for an NFT.456 * 457 * A composable resource links to a Base and has a subset of its Parts it is composed of.458 * See RMRK docs for more information and examples.459 * 460 * # Permissions:461 * - Collection issuer - if not the token owner, adding the resource will warrant462 * the owner's [acceptance](Pallet::accept_resource).463 * 464 * # Arguments:465 * - `origin`: sender of the transaction466 * - `rmrk_collection_id`: RMRK collection ID of the NFT.467 * - `nft_id`: ID of the NFT to assign a resource to.468 * - `resource`: Data of the resource to be created.469 **/470 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]>;471 /**472 * Create and set/propose a slot resource for an NFT.473 * 474 * A slot resource links to a Base and a slot ID in it which it can fit into.475 * See RMRK docs for more information and examples.476 * 477 * # Permissions:478 * - Collection issuer - if not the token owner, adding the resource will warrant479 * the owner's [acceptance](Pallet::accept_resource).480 * 481 * # Arguments:482 * - `origin`: sender of the transaction483 * - `rmrk_collection_id`: RMRK collection ID of the NFT.484 * - `nft_id`: ID of the NFT to assign a resource to.485 * - `resource`: Data of the resource to be created.486 **/487 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]>;488 /**489 * Burn an NFT, destroying it and its nested tokens up to the specified limit.490 * If the burning budget is exceeded, the transaction is reverted.491 * 492 * This is the way to burn a nested token as well.493 * 494 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).495 * 496 * # Permissions:497 * * Token owner498 * 499 * # Arguments:500 * - `origin`: sender of the transaction501 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.502 * - `nft_id`: ID of the NFT to be destroyed.503 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction504 * is reverted if there are more tokens to burn in the nesting tree than this number.505 * This is primarily a mechanism of transaction weight control.506 **/507 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;508 /**509 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).510 * 511 * # Permissions:512 * * Collection issuer513 * 514 * # Arguments:515 * - `origin`: sender of the transaction516 * - `collection_id`: RMRK collection ID to change the issuer of.517 * - `new_issuer`: Collection's new issuer.518 **/519 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;520 /**521 * Create a new collection of NFTs.522 * 523 * # Permissions:524 * * Anyone - will be assigned as the issuer of the collection.525 * 526 * # Arguments:527 * - `origin`: sender of the transaction528 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.529 * - `max`: Optional maximum number of tokens.530 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.531 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.532 **/533 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;534 /**535 * Destroy a collection.536 * 537 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.538 * 539 * # Permissions:540 * * Collection issuer541 * 542 * # Arguments:543 * - `origin`: sender of the transaction544 * - `collection_id`: RMRK ID of the collection to destroy.545 **/546 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;547 /**548 * "Lock" the collection and prevent new token creation. Cannot be undone.549 * 550 * # Permissions:551 * * Collection issuer552 * 553 * # Arguments:554 * - `origin`: sender of the transaction555 * - `collection_id`: RMRK ID of the collection to lock.556 **/557 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;558 /**559 * Mint an NFT in a specified collection.560 * 561 * # Permissions:562 * * Collection issuer563 * 564 * # Arguments:565 * - `origin`: sender of the transaction566 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).567 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.568 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.569 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.570 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.571 * - `transferable`: Can this NFT be transferred? Cannot be changed.572 * - `resources`: Resource data to be added to the NFT immediately after minting.573 **/574 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>>]>;575 /**576 * Reject an NFT sent from another account to self or owned NFT.577 * The NFT in question will not be sent back and burnt instead.578 * 579 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.580 * 581 * # Permissions:582 * - Token-owner-to-be-not583 * 584 * # Arguments:585 * - `origin`: sender of the transaction586 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.587 * - `rmrk_nft_id`: ID of the NFT to be rejected.588 **/589 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;590 /**591 * Remove and erase a resource from an NFT.592 * 593 * If the sender does not own the NFT, then it will be pending confirmation,594 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.595 * 596 * # Permissions597 * - Collection issuer598 * 599 * # Arguments600 * - `origin`: sender of the transaction601 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.602 * - `nft_id`: ID of the NFT with a resource to be removed.603 * - `resource_id`: ID of the resource to be removed.604 **/605 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;606 /**607 * Transfer an NFT from an account/NFT A to another account/NFT B.608 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].609 * 610 * If the target owner is an NFT owned by another account, then the NFT will enter611 * the pending state and will have to be accepted by the other account.612 * 613 * # Permissions:614 * - Token owner615 * 616 * # Arguments:617 * - `origin`: sender of the transaction618 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.619 * - `rmrk_nft_id`: ID of the NFT to be transferred.620 * - `new_owner`: New owner of the nft which can be either an account or a NFT.621 **/622 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;623 /**624 * Set a different order of resource priorities for an NFT. Priorities can be used,625 * for example, for order of rendering.626 * 627 * Note that the priorities are not updated automatically, and are an empty vector628 * by default. There is no pre-set definition for the order to be particular,629 * it can be interpreted arbitrarily use-case by use-case.630 * 631 * # Permissions:632 * - Token owner633 * 634 * # Arguments:635 * - `origin`: sender of the transaction636 * - `rmrk_collection_id`: RMRK collection ID of the NFT.637 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.638 * - `priorities`: Ordered vector of resource IDs.639 **/640 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;641 /**642 * Add or edit a custom user property, a key-value pair, describing the metadata643 * of a token or a collection, on either one of these.644 * 645 * Note that in this proxy implementation many details regarding RMRK are stored646 * as scoped properties prefixed with "rmrk:", normally inaccessible647 * to external transactions and RPCs.648 * 649 * # Permissions:650 * - Collection issuer - in case of collection property651 * - Token owner - in case of NFT property652 * 653 * # Arguments:654 * - `origin`: sender of the transaction655 * - `rmrk_collection_id`: RMRK collection ID.656 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.657 * - `key`: Key of the custom property to be referenced by.658 * - `value`: Value of the custom property to be stored.659 **/660 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]>;661 /**662 * Generic tx663 **/664 [key: string]: SubmittableExtrinsicFunction<ApiType>;665 };666 rmrkEquip: {667 /**668 * Create a new Base.669 * 670 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)671 * 672 * # Permissions673 * - Anyone - will be assigned as the issuer of the Base.674 * 675 * # Arguments:676 * - `origin`: Caller, will be assigned as the issuer of the Base677 * - `base_type`: Arbitrary media type, e.g. "svg".678 * - `symbol`: Arbitrary client-chosen symbol.679 * - `parts`: Array of Fixed and Slot Parts composing the Base,680 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).681 **/682 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>]>;683 /**684 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.685 * 686 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).687 * 688 * # Permissions:689 * - Base issuer690 * 691 * # Arguments:692 * - `origin`: sender of the transaction693 * - `base_id`: Base containing the Slot Part to be updated.694 * - `slot_id`: Slot Part whose Equippable List is being updated .695 * - `equippables`: List of equippables that will override the current Equippables list.696 **/697 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]>;698 /**699 * Add a Theme to a Base.700 * A Theme named "default" is required prior to adding other Themes.701 * 702 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).703 * 704 * # Permissions:705 * - Base issuer706 * 707 * # Arguments:708 * - `origin`: sender of the transaction709 * - `base_id`: Base ID containing the Theme to be updated.710 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an711 * array of [key, value, inherit].712 * - `key`: Arbitrary BoundedString, defined by client.713 * - `value`: Arbitrary BoundedString, defined by client.714 * - `inherit`: Optional bool.715 **/716 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;717 /**718 * Generic tx719 **/720 [key: string]: SubmittableExtrinsicFunction<ApiType>;721 };722 scheduler: {723 /**724 * Cancel a named scheduled task.725 **/726 cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;727 /**728 * Schedule a named task.729 **/730 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: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;731 /**732 * Schedule a named task after a delay.733 * 734 * # <weight>735 * Same as [`schedule_named`](Self::schedule_named).736 * # </weight>737 **/738 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: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;739 /**740 * Generic tx741 **/742 [key: string]: SubmittableExtrinsicFunction<ApiType>;743 };744 structure: {745 /**746 * Generic tx747 **/748 [key: string]: SubmittableExtrinsicFunction<ApiType>;749 };750 sudo: {751 /**752 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo753 * key.754 * 755 * The dispatch origin for this call must be _Signed_.756 * 757 * # <weight>758 * - O(1).759 * - Limited storage reads.760 * - One DB change.761 * # </weight>762 **/763 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;764 /**765 * Authenticates the sudo key and dispatches a function call with `Root` origin.766 * 767 * The dispatch origin for this call must be _Signed_.768 * 769 * # <weight>770 * - O(1).771 * - Limited storage reads.772 * - One DB write (event).773 * - Weight of derivative `call` execution + 10,000.774 * # </weight>775 **/776 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;777 /**778 * Authenticates the sudo key and dispatches a function call with `Signed` origin from779 * a given account.780 * 781 * The dispatch origin for this call must be _Signed_.782 * 783 * # <weight>784 * - O(1).785 * - Limited storage reads.786 * - One DB write (event).787 * - Weight of derivative `call` execution + 10,000.788 * # </weight>789 **/790 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]>;791 /**792 * Authenticates the sudo key and dispatches a function call with `Root` origin.793 * This function does not check the weight of the call, and instead allows the794 * Sudo user to specify the weight of the call.795 * 796 * The dispatch origin for this call must be _Signed_.797 * 798 * # <weight>799 * - O(1).800 * - The weight of this call is defined by the caller.801 * # </weight>802 **/803 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;804 /**805 * Generic tx806 **/807 [key: string]: SubmittableExtrinsicFunction<ApiType>;808 };809 system: {810 /**811 * A dispatch that will fill the block weight up to the given ratio.812 **/813 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;814 /**815 * Kill all storage items with a key that starts with the given prefix.816 * 817 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under818 * the prefix we are removing to accurately calculate the weight of this function.819 **/820 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;821 /**822 * Kill some items from storage.823 **/824 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;825 /**826 * Make some on-chain remark.827 * 828 * # <weight>829 * - `O(1)`830 * # </weight>831 **/832 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;833 /**834 * Make some on-chain remark and emit event.835 **/836 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;837 /**838 * Set the new runtime code.839 * 840 * # <weight>841 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`842 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is843 * expensive).844 * - 1 storage write (codec `O(C)`).845 * - 1 digest item.846 * - 1 event.847 * The weight of this function is dependent on the runtime, but generally this is very848 * expensive. We will treat this as a full block.849 * # </weight>850 **/851 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;852 /**853 * Set the new runtime code without doing any checks of the given `code`.854 * 855 * # <weight>856 * - `O(C)` where `C` length of `code`857 * - 1 storage write (codec `O(C)`).858 * - 1 digest item.859 * - 1 event.860 * The weight of this function is dependent on the runtime. We will treat this as a full861 * block. # </weight>862 **/863 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;864 /**865 * Set the number of pages in the WebAssembly environment's heap.866 **/867 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;868 /**869 * Set some items of storage.870 **/871 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;872 /**873 * Generic tx874 **/875 [key: string]: SubmittableExtrinsicFunction<ApiType>;876 };877 timestamp: {878 /**879 * Set the current time.880 * 881 * This call should be invoked exactly once per block. It will panic at the finalization882 * phase, if this call hasn't been invoked by that time.883 * 884 * The timestamp should be greater than the previous one by the amount specified by885 * `MinimumPeriod`.886 * 887 * The dispatch origin for this call must be `Inherent`.888 * 889 * # <weight>890 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)891 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in892 * `on_finalize`)893 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.894 * # </weight>895 **/896 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;897 /**898 * Generic tx899 **/900 [key: string]: SubmittableExtrinsicFunction<ApiType>;901 };902 tokens: {903 /**904 * Exactly as `transfer`, except the origin must be root and the source905 * account may be specified.906 * 907 * The dispatch origin for this call must be _Root_.908 * 909 * - `source`: The sender of the transfer.910 * - `dest`: The recipient of the transfer.911 * - `currency_id`: currency type.912 * - `amount`: free balance amount to tranfer.913 **/914 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: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletForeingAssetsAssetIds, Compact<u128>]>;915 /**916 * Set the balances of a given account.917 * 918 * This will alter `FreeBalance` and `ReservedBalance` in storage. it919 * will also decrease the total issuance of the system920 * (`TotalIssuance`). If the new free or reserved balance is below the921 * existential deposit, it will reap the `AccountInfo`.922 * 923 * The dispatch origin for this call is `root`.924 **/925 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeingAssetsAssetIds, Compact<u128>, Compact<u128>]>;926 /**927 * Transfer some liquid free balance to another account.928 * 929 * `transfer` will set the `FreeBalance` of the sender and receiver.930 * It will decrease the total issuance of the system by the931 * `TransferFee`. If the sender's account is below the existential932 * deposit as a result of the transfer, the account will be reaped.933 * 934 * The dispatch origin for this call must be `Signed` by the935 * transactor.936 * 937 * - `dest`: The recipient of the transfer.938 * - `currency_id`: currency type.939 * - `amount`: free balance amount to tranfer.940 **/941 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeingAssetsAssetIds, Compact<u128>]>;942 /**943 * Transfer all remaining balance to the given account.944 * 945 * NOTE: This function only attempts to transfer _transferable_946 * balances. This means that any locked, reserved, or existential947 * deposits (when `keep_alive` is `true`), will not be transferred by948 * this function. To ensure that this function results in a killed949 * account, you might need to prepare the account by removing any950 * reference counters, storage deposits, etc...951 * 952 * The dispatch origin for this call must be `Signed` by the953 * transactor.954 * 955 * - `dest`: The recipient of the transfer.956 * - `currency_id`: currency type.957 * - `keep_alive`: A boolean to determine if the `transfer_all`958 * operation should send all of the funds the account has, causing959 * the sender account to be killed (false), or transfer everything960 * except at least the existential deposit, which will guarantee to961 * keep the sender account alive (true).962 **/963 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeingAssetsAssetIds, bool]>;964 /**965 * Same as the [`transfer`] call, but with a check that the transfer966 * will not kill the origin account.967 * 968 * 99% of the time you want [`transfer`] instead.969 * 970 * The dispatch origin for this call must be `Signed` by the971 * transactor.972 * 973 * - `dest`: The recipient of the transfer.974 * - `currency_id`: currency type.975 * - `amount`: free balance amount to tranfer.976 **/977 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeingAssetsAssetIds, Compact<u128>]>;978 /**979 * Generic tx980 **/981 [key: string]: SubmittableExtrinsicFunction<ApiType>;982 };983 treasury: {984 /**985 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary986 * and the original deposit will be returned.987 * 988 * May only be called from `T::ApproveOrigin`.989 * 990 * # <weight>991 * - Complexity: O(1).992 * - DbReads: `Proposals`, `Approvals`993 * - DbWrite: `Approvals`994 * # </weight>995 **/996 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;997 /**998 * Put forward a suggestion for spending. A deposit proportional to the value999 * is reserved and slashed if the proposal is rejected. It is returned once the1000 * proposal is awarded.1001 * 1002 * # <weight>1003 * - Complexity: O(1)1004 * - DbReads: `ProposalCount`, `origin account`1005 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1006 * # </weight>1007 **/1008 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]>;1009 /**1010 * Reject a proposed spend. The original deposit will be slashed.1011 * 1012 * May only be called from `T::RejectOrigin`.1013 * 1014 * # <weight>1015 * - Complexity: O(1)1016 * - DbReads: `Proposals`, `rejected proposer account`1017 * - DbWrites: `Proposals`, `rejected proposer account`1018 * # </weight>1019 **/1020 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1021 /**1022 * Force a previously approved proposal to be removed from the approval queue.1023 * The original deposit will no longer be returned.1024 * 1025 * May only be called from `T::RejectOrigin`.1026 * - `proposal_id`: The index of a proposal1027 * 1028 * # <weight>1029 * - Complexity: O(A) where `A` is the number of approvals1030 * - Db reads and writes: `Approvals`1031 * # </weight>1032 * 1033 * Errors:1034 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1035 * i.e., the proposal has not been approved. This could also mean the proposal does not1036 * exist altogether, thus there is no way it would have been approved in the first place.1037 **/1038 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1039 /**1040 * Propose and approve a spend of treasury funds.1041 * 1042 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1043 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1044 * - `beneficiary`: The destination account for the transfer.1045 * 1046 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1047 * beneficiary.1048 **/1049 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]>;1050 /**1051 * Generic tx1052 **/1053 [key: string]: SubmittableExtrinsicFunction<ApiType>;1054 };1055 unique: {1056 /**1057 * Add an admin to a collection.1058 * 1059 * NFT Collection can be controlled by multiple admin addresses1060 * (some which can also be servers, for example). Admins can issue1061 * and burn NFTs, as well as add and remove other admins,1062 * but cannot change NFT or Collection ownership.1063 * 1064 * # Permissions1065 * 1066 * * Collection owner1067 * * Collection admin1068 * 1069 * # Arguments1070 * 1071 * * `collection_id`: ID of the Collection to add an admin for.1072 * * `new_admin`: Address of new admin to add.1073 **/1074 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1075 /**1076 * Add an address to allow list.1077 * 1078 * # Permissions1079 * 1080 * * Collection owner1081 * * Collection admin1082 * 1083 * # Arguments1084 * 1085 * * `collection_id`: ID of the modified collection.1086 * * `address`: ID of the address to be added to the allowlist.1087 **/1088 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1089 /**1090 * Allow a non-permissioned address to transfer or burn an item.1091 * 1092 * # Permissions1093 * 1094 * * Collection owner1095 * * Collection admin1096 * * Current item owner1097 * 1098 * # Arguments1099 * 1100 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1101 * * `collection_id`: ID of the collection the item belongs to.1102 * * `item_id`: ID of the item transactions on which are now approved.1103 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1104 * Set to 0 to revoke the approval.1105 **/1106 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]>;1107 /**1108 * Destroy a token on behalf of the owner as a non-owner account.1109 * 1110 * See also: [`approve`][`Pallet::approve`].1111 * 1112 * After this method executes, one approval is removed from the total so that1113 * the approved address will not be able to transfer this item again from this owner.1114 * 1115 * # Permissions1116 * 1117 * * Collection owner1118 * * Collection admin1119 * * Current token owner1120 * * Address approved by current item owner1121 * 1122 * # Arguments1123 * 1124 * * `from`: The owner of the burning item.1125 * * `collection_id`: ID of the collection to which the item belongs.1126 * * `item_id`: ID of item to burn.1127 * * `value`: Number of pieces to burn.1128 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1129 * * Fungible Mode: The desired number of pieces to burn.1130 * * Re-Fungible Mode: The desired number of pieces to burn.1131 **/1132 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]>;1133 /**1134 * Destroy an item.1135 * 1136 * # Permissions1137 * 1138 * * Collection owner1139 * * Collection admin1140 * * Current item owner1141 * 1142 * # Arguments1143 * 1144 * * `collection_id`: ID of the collection to which the item belongs.1145 * * `item_id`: ID of item to burn.1146 * * `value`: Number of pieces of the item to destroy.1147 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1148 * * Fungible Mode: The desired number of pieces to burn.1149 * * Re-Fungible Mode: The desired number of pieces to burn.1150 **/1151 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1152 /**1153 * Change the owner of the collection.1154 * 1155 * # Permissions1156 * 1157 * * Collection owner1158 * 1159 * # Arguments1160 * 1161 * * `collection_id`: ID of the modified collection.1162 * * `new_owner`: ID of the account that will become the owner.1163 **/1164 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1165 /**1166 * Confirm own sponsorship of a collection, becoming the sponsor.1167 * 1168 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1169 * Sponsor can pay the fees of a transaction instead of the sender,1170 * but only within specified limits.1171 * 1172 * # Permissions1173 * 1174 * * Sponsor-to-be1175 * 1176 * # Arguments1177 * 1178 * * `collection_id`: ID of the collection with the pending sponsor.1179 **/1180 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1181 /**1182 * Create a collection of tokens.1183 * 1184 * Each Token may have multiple properties encoded as an array of bytes1185 * of certain length. The initial owner of the collection is set1186 * to the address that signed the transaction and can be changed later.1187 * 1188 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1189 * 1190 * # Permissions1191 * 1192 * * Anyone - becomes the owner of the new collection.1193 * 1194 * # Arguments1195 * 1196 * * `collection_name`: Wide-character string with collection name1197 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1198 * * `collection_description`: Wide-character string with collection description1199 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1200 * * `token_prefix`: Byte string containing the token prefix to mark a collection1201 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1202 * * `mode`: Type of items stored in the collection and type dependent data.1203 **/1204 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]>;1205 /**1206 * Create a collection with explicit parameters.1207 * 1208 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1209 * 1210 * # Permissions1211 * 1212 * * Anyone - becomes the owner of the new collection.1213 * 1214 * # Arguments1215 * 1216 * * `data`: Explicit data of a collection used for its creation.1217 **/1218 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]>;1219 /**1220 * Mint an item within a collection.1221 * 1222 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1223 * 1224 * # Permissions1225 * 1226 * * Collection owner1227 * * Collection admin1228 * * Anyone if1229 * * Allow List is enabled, and1230 * * Address is added to allow list, and1231 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1232 * 1233 * # Arguments1234 * 1235 * * `collection_id`: ID of the collection to which an item would belong.1236 * * `owner`: Address of the initial owner of the item.1237 * * `data`: Token data describing the item to store on chain.1238 **/1239 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]>;1240 /**1241 * Create multiple items within a collection.1242 * 1243 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1244 * 1245 * # Permissions1246 * 1247 * * Collection owner1248 * * Collection admin1249 * * Anyone if1250 * * Allow List is enabled, and1251 * * Address is added to the allow list, and1252 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1253 * 1254 * # Arguments1255 * 1256 * * `collection_id`: ID of the collection to which the tokens would belong.1257 * * `owner`: Address of the initial owner of the tokens.1258 * * `items_data`: Vector of data describing each item to be created.1259 **/1260 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>]>;1261 /**1262 * Create multiple items within a collection with explicitly specified initial parameters.1263 * 1264 * # Permissions1265 * 1266 * * Collection owner1267 * * Collection admin1268 * * Anyone if1269 * * Allow List is enabled, and1270 * * Address is added to allow list, and1271 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1272 * 1273 * # Arguments1274 * 1275 * * `collection_id`: ID of the collection to which the tokens would belong.1276 * * `data`: Explicit item creation data.1277 **/1278 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1279 /**1280 * Delete specified collection properties.1281 * 1282 * # Permissions1283 * 1284 * * Collection Owner1285 * * Collection Admin1286 * 1287 * # Arguments1288 * 1289 * * `collection_id`: ID of the modified collection.1290 * * `property_keys`: Vector of keys of the properties to be deleted.1291 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1292 **/1293 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1294 /**1295 * Delete specified token properties. Currently properties only work with NFTs.1296 * 1297 * # Permissions1298 * 1299 * * Depends on collection's token property permissions and specified property mutability:1300 * * Collection owner1301 * * Collection admin1302 * * Token owner1303 * 1304 * # Arguments1305 * 1306 * * `collection_id`: ID of the collection to which the token belongs.1307 * * `token_id`: ID of the modified token.1308 * * `property_keys`: Vector of keys of the properties to be deleted.1309 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1310 **/1311 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1312 /**1313 * Destroy a collection if no tokens exist within.1314 * 1315 * # Permissions1316 * 1317 * * Collection owner1318 * 1319 * # Arguments1320 * 1321 * * `collection_id`: Collection to destroy.1322 **/1323 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1324 /**1325 * Remove admin of a collection.1326 * 1327 * An admin address can remove itself. List of admins may become empty,1328 * in which case only Collection Owner will be able to add an Admin.1329 * 1330 * # Permissions1331 * 1332 * * Collection owner1333 * * Collection admin1334 * 1335 * # Arguments1336 * 1337 * * `collection_id`: ID of the collection to remove the admin for.1338 * * `account_id`: Address of the admin to remove.1339 **/1340 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1341 /**1342 * Remove a collection's a sponsor, making everyone pay for their own transactions.1343 * 1344 * # Permissions1345 * 1346 * * Collection owner1347 * 1348 * # Arguments1349 * 1350 * * `collection_id`: ID of the collection with the sponsor to remove.1351 **/1352 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1353 /**1354 * Remove an address from allow list.1355 * 1356 * # Permissions1357 * 1358 * * Collection owner1359 * * Collection admin1360 * 1361 * # Arguments1362 * 1363 * * `collection_id`: ID of the modified collection.1364 * * `address`: ID of the address to be removed from the allowlist.1365 **/1366 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1367 /**1368 * Re-partition a refungible token, while owning all of its parts/pieces.1369 * 1370 * # Permissions1371 * 1372 * * Token owner (must own every part)1373 * 1374 * # Arguments1375 * 1376 * * `collection_id`: ID of the collection the RFT belongs to.1377 * * `token_id`: ID of the RFT.1378 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1379 **/1380 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1381 /**1382 * Set specific limits of a collection. Empty, or None fields mean chain default.1383 * 1384 * # Permissions1385 * 1386 * * Collection owner1387 * * Collection admin1388 * 1389 * # Arguments1390 * 1391 * * `collection_id`: ID of the modified collection.1392 * * `new_limit`: New limits of the collection. Fields that are not set (None)1393 * will not overwrite the old ones.1394 **/1395 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]>;1396 /**1397 * Set specific permissions of a collection. Empty, or None fields mean chain default.1398 * 1399 * # Permissions1400 * 1401 * * Collection owner1402 * * Collection admin1403 * 1404 * # Arguments1405 * 1406 * * `collection_id`: ID of the modified collection.1407 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1408 * will not overwrite the old ones.1409 **/1410 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1411 /**1412 * Add or change collection properties.1413 * 1414 * # Permissions1415 * 1416 * * Collection owner1417 * * Collection admin1418 * 1419 * # Arguments1420 * 1421 * * `collection_id`: ID of the modified collection.1422 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1423 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1424 **/1425 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1426 /**1427 * Set (invite) a new collection sponsor.1428 * 1429 * If successful, confirmation from the sponsor-to-be will be pending.1430 * 1431 * # Permissions1432 * 1433 * * Collection owner1434 * * Collection admin1435 * 1436 * # Arguments1437 * 1438 * * `collection_id`: ID of the modified collection.1439 * * `new_sponsor`: ID of the account of the sponsor-to-be.1440 **/1441 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1442 /**1443 * Add or change token properties according to collection's permissions.1444 * Currently properties only work with NFTs.1445 * 1446 * # Permissions1447 * 1448 * * Depends on collection's token property permissions and specified property mutability:1449 * * Collection owner1450 * * Collection admin1451 * * Token owner1452 * 1453 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1454 * 1455 * # Arguments1456 * 1457 * * `collection_id: ID of the collection to which the token belongs.1458 * * `token_id`: ID of the modified token.1459 * * `properties`: Vector of key-value pairs stored as the token's metadata.1460 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1461 **/1462 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>]>;1463 /**1464 * Add or change token property permissions of a collection.1465 * 1466 * Without a permission for a particular key, a property with that key1467 * cannot be created in a token.1468 * 1469 * # Permissions1470 * 1471 * * Collection owner1472 * * Collection admin1473 * 1474 * # Arguments1475 * 1476 * * `collection_id`: ID of the modified collection.1477 * * `property_permissions`: Vector of permissions for property keys.1478 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1479 **/1480 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1481 /**1482 * Completely allow or disallow transfers for a particular collection.1483 * 1484 * # Permissions1485 * 1486 * * Collection owner1487 * 1488 * # Arguments1489 * 1490 * * `collection_id`: ID of the collection.1491 * * `value`: New value of the flag, are transfers allowed?1492 **/1493 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1494 /**1495 * Change ownership of the token.1496 * 1497 * # Permissions1498 * 1499 * * Collection owner1500 * * Collection admin1501 * * Current token owner1502 * 1503 * # Arguments1504 * 1505 * * `recipient`: Address of token recipient.1506 * * `collection_id`: ID of the collection the item belongs to.1507 * * `item_id`: ID of the item.1508 * * Non-Fungible Mode: Required.1509 * * Fungible Mode: Ignored.1510 * * Re-Fungible Mode: Required.1511 * 1512 * * `value`: Amount to transfer.1513 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1514 * * Fungible Mode: The desired number of pieces to transfer.1515 * * Re-Fungible Mode: The desired number of pieces to transfer.1516 **/1517 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]>;1518 /**1519 * Change ownership of an item on behalf of the owner as a non-owner account.1520 * 1521 * See the [`approve`][`Pallet::approve`] method for additional information.1522 * 1523 * After this method executes, one approval is removed from the total so that1524 * the approved address will not be able to transfer this item again from this owner.1525 * 1526 * # Permissions1527 * 1528 * * Collection owner1529 * * Collection admin1530 * * Current item owner1531 * * Address approved by current item owner1532 * 1533 * # Arguments1534 * 1535 * * `from`: Address that currently owns the token.1536 * * `recipient`: Address of the new token-owner-to-be.1537 * * `collection_id`: ID of the collection the item.1538 * * `item_id`: ID of the item to be transferred.1539 * * `value`: Amount to transfer.1540 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1541 * * Fungible Mode: The desired number of pieces to transfer.1542 * * Re-Fungible Mode: The desired number of pieces to transfer.1543 **/1544 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]>;1545 /**1546 * Generic tx1547 **/1548 [key: string]: SubmittableExtrinsicFunction<ApiType>;1549 };1550 vesting: {1551 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1552 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1553 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>]>;1554 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]>;1555 /**1556 * Generic tx1557 **/1558 [key: string]: SubmittableExtrinsicFunction<ApiType>;1559 };1560 xcmpQueue: {1561 /**1562 * Resumes all XCM executions for the XCMP queue.1563 * 1564 * Note that this function doesn't change the status of the in/out bound channels.1565 * 1566 * - `origin`: Must pass `ControllerOrigin`.1567 **/1568 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1569 /**1570 * Services a single overweight XCM.1571 * 1572 * - `origin`: Must pass `ExecuteOverweightOrigin`.1573 * - `index`: The index of the overweight XCM to service1574 * - `weight_limit`: The amount of weight that XCM execution may take.1575 * 1576 * Errors:1577 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1578 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1579 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1580 * 1581 * Events:1582 * - `OverweightServiced`: On success.1583 **/1584 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1585 /**1586 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1587 * 1588 * - `origin`: Must pass `ControllerOrigin`.1589 **/1590 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1591 /**1592 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1593 * messages from the channel.1594 * 1595 * - `origin`: Must pass `Root`.1596 * - `new`: Desired value for `QueueConfigData.drop_threshold`1597 **/1598 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1599 /**1600 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1601 * message sending may recommence after it has been suspended.1602 * 1603 * - `origin`: Must pass `Root`.1604 * - `new`: Desired value for `QueueConfigData.resume_threshold`1605 **/1606 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1607 /**1608 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1609 * suspend their sending.1610 * 1611 * - `origin`: Must pass `Root`.1612 * - `new`: Desired value for `QueueConfigData.suspend_value`1613 **/1614 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1615 /**1616 * Overwrites the amount of remaining weight under which we stop processing messages.1617 * 1618 * - `origin`: Must pass `Root`.1619 * - `new`: Desired value for `QueueConfigData.threshold_weight`1620 **/1621 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1622 /**1623 * Overwrites the speed to which the available weight approaches the maximum weight.1624 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1625 * 1626 * - `origin`: Must pass `Root`.1627 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1628 **/1629 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1630 /**1631 * Overwrite the maximum amount of weight any individual message may consume.1632 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1633 * 1634 * - `origin`: Must pass `Root`.1635 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1636 **/1637 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1638 /**1639 * Generic tx1640 **/1641 [key: string]: SubmittableExtrinsicFunction<ApiType>;1642 };1643 xTokens: {1644 /**1645 * Transfer native currencies.1646 * 1647 * `dest_weight` is the weight for XCM execution on the dest chain, and1648 * it would be charged from the transferred assets. If set below1649 * requirements, the execution may fail and assets wouldn't be1650 * received.1651 * 1652 * It's a no-op if any error on local XCM execution or message sending.1653 * Note sending assets out per se doesn't guarantee they would be1654 * received. Receiving depends on if the XCM message could be delivered1655 * by the network, and if the receiving chain would handle1656 * messages correctly.1657 **/1658 transfer: AugmentedSubmittable<(currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeingAssetsAssetIds, u128, XcmVersionedMultiLocation, u64]>;1659 /**1660 * Transfer `MultiAsset`.1661 * 1662 * `dest_weight` is the weight for XCM execution on the dest chain, and1663 * it would be charged from the transferred assets. If set below1664 * requirements, the execution may fail and assets wouldn't be1665 * received.1666 * 1667 * It's a no-op if any error on local XCM execution or message sending.1668 * Note sending assets out per se doesn't guarantee they would be1669 * received. Receiving depends on if the XCM message could be delivered1670 * by the network, and if the receiving chain would handle1671 * messages correctly.1672 **/1673 transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, u64]>;1674 /**1675 * Transfer several `MultiAsset` specifying the item to be used as fee1676 * 1677 * `dest_weight` is the weight for XCM execution on the dest chain, and1678 * it would be charged from the transferred assets. If set below1679 * requirements, the execution may fail and assets wouldn't be1680 * received.1681 * 1682 * `fee_item` is index of the MultiAssets that we want to use for1683 * payment1684 * 1685 * It's a no-op if any error on local XCM execution or message sending.1686 * Note sending assets out per se doesn't guarantee they would be1687 * received. Receiving depends on if the XCM message could be delivered1688 * by the network, and if the receiving chain would handle1689 * messages correctly.1690 **/1691 transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, u64]>;1692 /**1693 * Transfer `MultiAsset` specifying the fee and amount as separate.1694 * 1695 * `dest_weight` is the weight for XCM execution on the dest chain, and1696 * it would be charged from the transferred assets. If set below1697 * requirements, the execution may fail and assets wouldn't be1698 * received.1699 * 1700 * `fee` is the multiasset to be spent to pay for execution in1701 * destination chain. Both fee and amount will be subtracted form the1702 * callers balance For now we only accept fee and asset having the same1703 * `MultiLocation` id.1704 * 1705 * If `fee` is not high enough to cover for the execution costs in the1706 * destination chain, then the assets will be trapped in the1707 * destination chain1708 * 1709 * It's a no-op if any error on local XCM execution or message sending.1710 * Note sending assets out per se doesn't guarantee they would be1711 * received. Receiving depends on if the XCM message could be delivered1712 * by the network, and if the receiving chain would handle1713 * messages correctly.1714 **/1715 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, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, u64]>;1716 /**1717 * Transfer several currencies specifying the item to be used as fee1718 * 1719 * `dest_weight` is the weight for XCM execution on the dest chain, and1720 * it would be charged from the transferred assets. If set below1721 * requirements, the execution may fail and assets wouldn't be1722 * received.1723 * 1724 * `fee_item` is index of the currencies tuple that we want to use for1725 * payment1726 * 1727 * It's a no-op if any error on local XCM execution or message sending.1728 * Note sending assets out per se doesn't guarantee they would be1729 * received. Receiving depends on if the XCM message could be delivered1730 * by the network, and if the receiving chain would handle1731 * messages correctly.1732 **/1733 transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeingAssetsAssetIds, u128]>> | ([PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeingAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, u64]>;1734 /**1735 * Transfer native currencies specifying the fee and amount as1736 * separate.1737 * 1738 * `dest_weight` is the weight for XCM execution on the dest chain, and1739 * it would be charged from the transferred assets. If set below1740 * requirements, the execution may fail and assets wouldn't be1741 * received.1742 * 1743 * `fee` is the amount to be spent to pay for execution in destination1744 * chain. Both fee and amount will be subtracted form the callers1745 * balance.1746 * 1747 * If `fee` is not high enough to cover for the execution costs in the1748 * destination chain, then the assets will be trapped in the1749 * destination chain1750 * 1751 * It's a no-op if any error on local XCM execution or message sending.1752 * Note sending assets out per se doesn't guarantee they would be1753 * received. Receiving depends on if the XCM message could be delivered1754 * by the network, and if the receiving chain would handle1755 * messages correctly.1756 **/1757 transferWithFee: AugmentedSubmittable<(currencyId: PalletForeingAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeingAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, u64]>;1758 /**1759 * Generic tx1760 **/1761 [key: string]: SubmittableExtrinsicFunction<ApiType>;1762 };1763 } // AugmentedSubmittables1764} // declare moduletests/src/interfaces/augment-api.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api.ts
+++ b/tests/src/interfaces/augment-api.ts
@@ -7,3 +7,4 @@
import './augment-api-query';
import './augment-api-tx';
import './augment-api-rpc';
+import './augment-api-runtime';
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,17 +1,23 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletForeingAssetsModuleCall, PalletForeingAssetsModuleError, PalletForeingAssetsModuleEvent, PalletForeingAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, 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, 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, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 lookup before we augment - in some environments
+// this is required to allow for ambient/previous definitions
+import '@polkadot/types/types/registry';
+
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletForeingAssetsModuleCall, PalletForeingAssetsModuleError, PalletForeingAssetsModuleEvent, PalletForeingAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, 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, 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, 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 { Data, StorageKey } from '@polkadot/types';
-import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
+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';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
-import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
+import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
-import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
+import type { BeefyAuthoritySet, BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
+import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark';
+import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder';
import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
@@ -21,13 +27,13 @@
import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
-import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
+import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
import type { BlockStats } from '@polkadot/types/interfaces/dev';
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
-import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
-import type { EvmAccount, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';
+import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
+import type { EvmAccount, EvmCallInfo, EvmCreateInfo, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';
import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset';
import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt';
@@ -35,35 +41,37 @@
import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity';
import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';
-import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';
-import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
+import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';
+import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
+import type { NpApiError } from '@polkadot/types/interfaces/nompools';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
-import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
+import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { Approvals } from '@polkadot/types/interfaces/poll';
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
-import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
+import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo';
import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler';
import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';
import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';
-import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';
+import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, RuntimeVersionPre3, RuntimeVersionPre4, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';
import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
-import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';
+import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ApplyExtrinsicResultPre6, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModulePre6, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorPre6, DispatchErrorPre6First, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchOutcomePre6, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';
import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
import type { Multiplier } from '@polkadot/types/interfaces/txpayment';
+import type { TransactionSource, TransactionValidity, ValidTransaction } from '@polkadot/types/interfaces/txqueue';
import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
declare module '@polkadot/types/types/registry' {
- export interface InterfaceTypes {
+ interface InterfaceTypes {
AbridgedCandidateReceipt: AbridgedCandidateReceipt;
AbridgedHostConfiguration: AbridgedHostConfiguration;
AbridgedHrmpChannel: AbridgedHrmpChannel;
@@ -95,6 +103,7 @@
AnySignature: AnySignature;
ApiId: ApiId;
ApplyExtrinsicResult: ApplyExtrinsicResult;
+ ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6;
ApprovalFlag: ApprovalFlag;
Approvals: Approvals;
ArithmeticError: ArithmeticError;
@@ -130,6 +139,8 @@
BabeBlockWeight: BabeBlockWeight;
BabeEpochConfiguration: BabeEpochConfiguration;
BabeEquivocationProof: BabeEquivocationProof;
+ BabeGenesisConfiguration: BabeGenesisConfiguration;
+ BabeGenesisConfigurationV1: BabeGenesisConfigurationV1;
BabeWeight: BabeWeight;
BackedCandidate: BackedCandidate;
Balance: Balance;
@@ -137,12 +148,20 @@
BalanceLockTo212: BalanceLockTo212;
BalanceOf: BalanceOf;
BalanceStatus: BalanceStatus;
+ BeefyAuthoritySet: BeefyAuthoritySet;
BeefyCommitment: BeefyCommitment;
BeefyId: BeefyId;
BeefyKey: BeefyKey;
BeefyNextAuthoritySet: BeefyNextAuthoritySet;
BeefyPayload: BeefyPayload;
+ BeefyPayloadId: BeefyPayloadId;
BeefySignedCommitment: BeefySignedCommitment;
+ BenchmarkBatch: BenchmarkBatch;
+ BenchmarkConfig: BenchmarkConfig;
+ BenchmarkList: BenchmarkList;
+ BenchmarkMetadata: BenchmarkMetadata;
+ BenchmarkParameter: BenchmarkParameter;
+ BenchmarkResult: BenchmarkResult;
Bid: Bid;
Bidder: Bidder;
BidKind: BidKind;
@@ -186,6 +205,7 @@
CallOrigin: CallOrigin;
CandidateCommitments: CandidateCommitments;
CandidateDescriptor: CandidateDescriptor;
+ CandidateEvent: CandidateEvent;
CandidateHash: CandidateHash;
CandidateInfo: CandidateInfo;
CandidatePendingAvailability: CandidatePendingAvailability;
@@ -195,6 +215,7 @@
ChainType: ChainType;
ChangesTrieConfiguration: ChangesTrieConfiguration;
ChangesTrieSignal: ChangesTrieSignal;
+ CheckInherentsResult: CheckInherentsResult;
ClassDetails: ClassDetails;
ClassId: ClassId;
ClassMetadata: ClassMetadata;
@@ -204,6 +225,8 @@
CodeUploadRequest: CodeUploadRequest;
CodeUploadResult: CodeUploadResult;
CodeUploadResultValue: CodeUploadResultValue;
+ CollationInfo: CollationInfo;
+ CollationInfoV1: CollationInfoV1;
CollatorId: CollatorId;
CollatorSignature: CollatorSignature;
CollectiveOrigin: CollectiveOrigin;
@@ -287,6 +310,7 @@
CoreAssignment: CoreAssignment;
CoreIndex: CoreIndex;
CoreOccupied: CoreOccupied;
+ CoreState: CoreState;
CrateVersion: CrateVersion;
CreatedBlock: CreatedBlock;
CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall;
@@ -328,14 +352,18 @@
DispatchClass: DispatchClass;
DispatchError: DispatchError;
DispatchErrorModule: DispatchErrorModule;
+ DispatchErrorModulePre6: DispatchErrorModulePre6;
DispatchErrorModuleU8: DispatchErrorModuleU8;
DispatchErrorModuleU8a: DispatchErrorModuleU8a;
+ DispatchErrorPre6: DispatchErrorPre6;
+ DispatchErrorPre6First: DispatchErrorPre6First;
DispatchErrorTo198: DispatchErrorTo198;
DispatchFeePayment: DispatchFeePayment;
DispatchInfo: DispatchInfo;
DispatchInfoTo190: DispatchInfoTo190;
DispatchInfoTo244: DispatchInfoTo244;
DispatchOutcome: DispatchOutcome;
+ DispatchOutcomePre6: DispatchOutcomePre6;
DispatchResult: DispatchResult;
DispatchResultOf: DispatchResultOf;
DispatchResultTo198: DispatchResultTo198;
@@ -359,6 +387,7 @@
ElectionStatus: ElectionStatus;
EncodedFinalityProofs: EncodedFinalityProofs;
EncodedJustification: EncodedJustification;
+ Epoch: Epoch;
EpochAuthorship: EpochAuthorship;
Era: Era;
EraIndex: EraIndex;
@@ -397,6 +426,7 @@
EthereumTransactionTransactionSignature: EthereumTransactionTransactionSignature;
EthereumTransactionTransactionV2: EthereumTransactionTransactionV2;
EthereumTypesHashH64: EthereumTypesHashH64;
+ EthFeeHistory: EthFeeHistory;
EthFilter: EthFilter;
EthFilterAddress: EthFilterAddress;
EthFilterChanges: EthFilterChanges;
@@ -406,6 +436,8 @@
EthHeader: EthHeader;
EthLog: EthLog;
EthReceipt: EthReceipt;
+ EthReceiptV0: EthReceiptV0;
+ EthReceiptV3: EthReceiptV3;
EthRichBlock: EthRichBlock;
EthRichHeader: EthRichHeader;
EthStorageProof: EthStorageProof;
@@ -433,11 +465,13 @@
EventMetadataV9: EventMetadataV9;
EventRecord: EventRecord;
EvmAccount: EvmAccount;
+ EvmCallInfo: EvmCallInfo;
EvmCoreErrorExitError: EvmCoreErrorExitError;
EvmCoreErrorExitFatal: EvmCoreErrorExitFatal;
EvmCoreErrorExitReason: EvmCoreErrorExitReason;
EvmCoreErrorExitRevert: EvmCoreErrorExitRevert;
EvmCoreErrorExitSucceed: EvmCoreErrorExitSucceed;
+ EvmCreateInfo: EvmCreateInfo;
EvmLog: EvmLog;
EvmVicinity: EvmVicinity;
ExecReturnValue: ExecReturnValue;
@@ -466,6 +500,10 @@
ExtrinsicsWeight: ExtrinsicsWeight;
ExtrinsicUnknown: ExtrinsicUnknown;
ExtrinsicV4: ExtrinsicV4;
+ f32: f32;
+ F32: F32;
+ f64: f64;
+ F64: F64;
FeeDetails: FeeDetails;
Fixed128: Fixed128;
Fixed64: Fixed64;
@@ -537,6 +575,7 @@
GrandpaPrevote: GrandpaPrevote;
GrandpaSignedPrecommit: GrandpaSignedPrecommit;
GroupIndex: GroupIndex;
+ GroupRotationInfo: GroupRotationInfo;
H1024: H1024;
H128: H128;
H160: H160;
@@ -593,6 +632,8 @@
Index: Index;
IndicesLookupSource: IndicesLookupSource;
IndividualExposure: IndividualExposure;
+ InherentData: InherentData;
+ InherentIdentifier: InherentIdentifier;
InitializationData: InitializationData;
InstanceDetails: InstanceDetails;
InstanceId: InstanceId;
@@ -663,8 +704,14 @@
MetadataV14: MetadataV14;
MetadataV9: MetadataV9;
MigrationStatusResult: MigrationStatusResult;
+ MmrBatchProof: MmrBatchProof;
+ MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf;
+ MmrError: MmrError;
MmrLeafBatchProof: MmrLeafBatchProof;
+ MmrLeafIndex: MmrLeafIndex;
MmrLeafProof: MmrLeafProof;
+ MmrNodeIndex: MmrNodeIndex;
+ MmrProof: MmrProof;
MmrRootHash: MmrRootHash;
ModuleConstantMetadataV10: ModuleConstantMetadataV10;
ModuleConstantMetadataV11: ModuleConstantMetadataV11;
@@ -714,14 +761,20 @@
NominatorIndex: NominatorIndex;
NominatorIndexCompact: NominatorIndexCompact;
NotConnectedPeer: NotConnectedPeer;
+ NpApiError: NpApiError;
Null: Null;
+ OccupiedCore: OccupiedCore;
+ OccupiedCoreAssumption: OccupiedCoreAssumption;
OffchainAccuracy: OffchainAccuracy;
OffchainAccuracyCompact: OffchainAccuracyCompact;
OffenceDetails: OffenceDetails;
Offender: Offender;
+ OldV1SessionInfo: OldV1SessionInfo;
OpalRuntimeOriginCaller: OpalRuntimeOriginCaller;
OpalRuntimeRuntime: OpalRuntimeRuntime;
OpaqueCall: OpaqueCall;
+ OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof;
+ OpaqueMetadata: OpaqueMetadata;
OpaqueMultiaddr: OpaqueMultiaddr;
OpaqueNetworkState: OpaqueNetworkState;
OpaquePeerId: OpaquePeerId;
@@ -913,6 +966,7 @@
ProxyDefinition: ProxyDefinition;
ProxyState: ProxyState;
ProxyType: ProxyType;
+ PvfCheckStatement: PvfCheckStatement;
QueryId: QueryId;
QueryStatus: QueryStatus;
QueueConfigData: QueueConfigData;
@@ -1001,8 +1055,11 @@
RuntimeVersion: RuntimeVersion;
RuntimeVersionApi: RuntimeVersionApi;
RuntimeVersionPartial: RuntimeVersionPartial;
+ RuntimeVersionPre3: RuntimeVersionPre3;
+ RuntimeVersionPre4: RuntimeVersionPre4;
Schedule: Schedule;
Scheduled: Scheduled;
+ ScheduledCore: ScheduledCore;
ScheduledTo254: ScheduledTo254;
SchedulePeriod: SchedulePeriod;
SchedulePriority: SchedulePriority;
@@ -1010,6 +1067,7 @@
ScheduleTo258: ScheduleTo258;
ScheduleTo264: ScheduleTo264;
Scheduling: Scheduling;
+ ScrapedOnChainVotes: ScrapedOnChainVotes;
Seal: Seal;
SealV0: SealV0;
SeatHolder: SeatHolder;
@@ -1098,6 +1156,7 @@
SlashingSpansTo204: SlashingSpansTo204;
SlashJournalEntry: SlashJournalEntry;
Slot: Slot;
+ SlotDuration: SlotDuration;
SlotNumber: SlotNumber;
SlotRange: SlotRange;
SlotRange10: SlotRange10;
@@ -1160,6 +1219,7 @@
StorageHasherV13: StorageHasherV13;
StorageHasherV14: StorageHasherV14;
StorageHasherV9: StorageHasherV9;
+ StorageInfo: StorageInfo;
StorageKey: StorageKey;
StorageKind: StorageKind;
StorageMetadataV10: StorageMetadataV10;
@@ -1189,11 +1249,15 @@
TraceError: TraceError;
TransactionalError: TransactionalError;
TransactionInfo: TransactionInfo;
+ TransactionLongevity: TransactionLongevity;
TransactionPriority: TransactionPriority;
+ TransactionSource: TransactionSource;
TransactionStorageProof: TransactionStorageProof;
+ TransactionTag: TransactionTag;
TransactionV0: TransactionV0;
TransactionV1: TransactionV1;
TransactionV2: TransactionV2;
+ TransactionValidity: TransactionValidity;
TransactionValidityError: TransactionValidityError;
TransientValidationData: TransientValidationData;
TreasuryProposal: TreasuryProposal;
@@ -1246,7 +1310,8 @@
UpDataStructsPropertyScope: UpDataStructsPropertyScope;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
- UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
+ UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32;
+ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;
UpDataStructsTokenChild: UpDataStructsTokenChild;
UpDataStructsTokenData: UpDataStructsTokenData;
UpgradeGoAhead: UpgradeGoAhead;
@@ -1269,10 +1334,12 @@
ValidatorPrefsTo196: ValidatorPrefsTo196;
ValidatorPrefsWithBlocked: ValidatorPrefsWithBlocked;
ValidatorPrefsWithCommission: ValidatorPrefsWithCommission;
+ ValidatorSet: ValidatorSet;
ValidatorSetId: ValidatorSetId;
ValidatorSignature: ValidatorSignature;
ValidDisputeStatementKind: ValidDisputeStatementKind;
ValidityAttestation: ValidityAttestation;
+ ValidTransaction: ValidTransaction;
VecInboundHrmpMessage: VecInboundHrmpMessage;
VersionedMultiAsset: VersionedMultiAsset;
VersionedMultiAssets: VersionedMultiAssets;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1367,7 +1367,8 @@
/** @name PalletEvmContractHelpersError */
export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
- readonly type: 'NoPermission';
+ readonly isNoPendingSponsor: boolean;
+ readonly type: 'NoPermission' | 'NoPendingSponsor';
}
/** @name PalletEvmContractHelpersSponsoringModeT */
@@ -2736,7 +2737,7 @@
readonly name: Vec<u16>;
readonly description: Vec<u16>;
readonly tokenPrefix: Bytes;
- readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
readonly externalCollection: bool;
@@ -2897,8 +2898,7 @@
export interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
- readonly isEth: boolean;
- readonly type: 'None' | 'Rmrk' | 'Eth';
+ readonly type: 'None' | 'Rmrk';
}
/** @name UpDataStructsRpcCollection */
@@ -2908,7 +2908,7 @@
readonly name: Vec<u16>;
readonly description: Vec<u16>;
readonly tokenPrefix: Bytes;
- readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
@@ -2924,8 +2924,8 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
-/** @name UpDataStructsSponsorshipState */
-export interface UpDataStructsSponsorshipState extends Enum {
+/** @name UpDataStructsSponsorshipStateAccountId32 */
+export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
readonly asUnconfirmed: AccountId32;
@@ -2934,6 +2934,16 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
+/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */
+export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
+ readonly isDisabled: boolean;
+ readonly isUnconfirmed: boolean;
+ readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly isConfirmed: boolean;
+ readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
+}
+
/** @name UpDataStructsTokenChild */
export interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -3145,7 +3145,7 @@
name: 'Vec<u16>',
description: 'Vec<u16>',
tokenPrefix: 'Bytes',
- sponsorship: 'UpDataStructsSponsorshipState',
+ sponsorship: 'UpDataStructsSponsorshipStateAccountId32',
limits: 'UpDataStructsCollectionLimits',
permissions: 'UpDataStructsCollectionPermissions',
externalCollection: 'bool'
@@ -3153,7 +3153,7 @@
/**
* Lookup381: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
- UpDataStructsSponsorshipState: {
+ UpDataStructsSponsorshipStateAccountId32: {
_enum: {
Disabled: 'Null',
Unconfirmed: 'AccountId32',
@@ -3212,7 +3212,7 @@
name: 'Vec<u16>',
description: 'Vec<u16>',
tokenPrefix: 'Bytes',
- sponsorship: 'UpDataStructsSponsorshipState',
+ sponsorship: 'UpDataStructsSponsorshipStateAccountId32',
limits: 'UpDataStructsCollectionLimits',
permissions: 'UpDataStructsCollectionPermissions',
tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
@@ -3311,7 +3311,7 @@
* Lookup422: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
- _enum: ['None', 'Rmrk', 'Eth']
+ _enum: ['None', 'Rmrk']
},
/**
* Lookup424: pallet_nonfungible::pallet::Error<T>
@@ -3429,25 +3429,35 @@
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup450: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup450: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ **/
+ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
+ _enum: {
+ Disabled: 'Null',
+ Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'
+ }
+ },
+ /**
+ * Lookup451: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup452: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup453: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
- _enum: ['NoPermission']
+ _enum: ['NoPermission', 'NoPendingSponsor']
},
/**
- * Lookup453: pallet_evm_migration::pallet::Error<T>
+ * Lookup454: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup455: sp_runtime::MultiSignature
+ * Lookup456: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3457,43 +3467,43 @@
}
},
/**
- * Lookup456: sp_core::ed25519::Signature
+ * Lookup457: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup458: sp_core::sr25519::Signature
+ * Lookup459: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup459: sp_core::ecdsa::Signature
+ * Lookup460: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup462: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup463: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup463: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup464: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup466: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup467: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup467: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup468: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup468: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup469: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup469: opal_runtime::Runtime
+ * Lookup470: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup470: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup471: 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
@@ -1,10 +1,14 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletForeingAssetsModuleCall, PalletForeingAssetsModuleError, PalletForeingAssetsModuleEvent, PalletForeingAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, 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, 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, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 lookup before we augment - in some environments
+// this is required to allow for ambient/previous definitions
+import '@polkadot/types/types/registry';
+
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletForeingAssetsAssetIds, PalletForeingAssetsModuleAssetMetadata, PalletForeingAssetsModuleCall, PalletForeingAssetsModuleError, PalletForeingAssetsModuleEvent, PalletForeingAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, 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, 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, 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';
declare module '@polkadot/types/types/registry' {
- export interface InterfaceTypes {
+ interface InterfaceTypes {
CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall;
CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData;
CumulusPalletDmpQueueError: CumulusPalletDmpQueueError;
@@ -224,7 +228,8 @@
UpDataStructsPropertyScope: UpDataStructsPropertyScope;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
- UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
+ UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32;
+ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;
UpDataStructsTokenChild: UpDataStructsTokenChild;
UpDataStructsTokenData: UpDataStructsTokenData;
XcmDoubleEncoded: XcmDoubleEncoded;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1,14 +1,18 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-declare module '@polkadot/types/lookup' {
- import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
- import type { ITuple } from '@polkadot/types-codec/types';
- import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
- import type { Event } from '@polkadot/types/interfaces/system';
+// import type lookup before we augment - in some environments
+// this is required to allow for ambient/previous definitions
+import '@polkadot/types/lookup';
+import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
+import type { ITuple } from '@polkadot/types-codec/types';
+import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
+import type { Event } from '@polkadot/types/interfaces/system';
+
+declare module '@polkadot/types/lookup' {
/** @name FrameSystemAccountInfo (3) */
- export interface FrameSystemAccountInfo extends Struct {
+ interface FrameSystemAccountInfo extends Struct {
readonly nonce: u32;
readonly consumers: u32;
readonly providers: u32;
@@ -17,7 +21,7 @@
}
/** @name PalletBalancesAccountData (5) */
- export interface PalletBalancesAccountData extends Struct {
+ interface PalletBalancesAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly miscFrozen: u128;
@@ -25,19 +29,19 @@
}
/** @name FrameSupportWeightsPerDispatchClassU64 (7) */
- export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
+ interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
readonly normal: u64;
readonly operational: u64;
readonly mandatory: u64;
}
/** @name SpRuntimeDigest (11) */
- export interface SpRuntimeDigest extends Struct {
+ interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
/** @name SpRuntimeDigestDigestItem (13) */
- export interface SpRuntimeDigestDigestItem extends Enum {
+ interface SpRuntimeDigestDigestItem extends Enum {
readonly isOther: boolean;
readonly asOther: Bytes;
readonly isConsensus: boolean;
@@ -51,14 +55,14 @@
}
/** @name FrameSystemEventRecord (16) */
- export interface FrameSystemEventRecord extends Struct {
+ interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
/** @name FrameSystemEvent (18) */
- export interface FrameSystemEvent extends Enum {
+ interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
@@ -86,14 +90,14 @@
}
/** @name FrameSupportWeightsDispatchInfo (19) */
- export interface FrameSupportWeightsDispatchInfo extends Struct {
+ interface FrameSupportWeightsDispatchInfo extends Struct {
readonly weight: u64;
readonly class: FrameSupportWeightsDispatchClass;
readonly paysFee: FrameSupportWeightsPays;
}
/** @name FrameSupportWeightsDispatchClass (20) */
- export interface FrameSupportWeightsDispatchClass extends Enum {
+ interface FrameSupportWeightsDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
readonly isMandatory: boolean;
@@ -101,14 +105,14 @@
}
/** @name FrameSupportWeightsPays (21) */
- export interface FrameSupportWeightsPays extends Enum {
+ interface FrameSupportWeightsPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
/** @name SpRuntimeDispatchError (22) */
- export interface SpRuntimeDispatchError extends Enum {
+ interface SpRuntimeDispatchError extends Enum {
readonly isOther: boolean;
readonly isCannotLookup: boolean;
readonly isBadOrigin: boolean;
@@ -127,13 +131,13 @@
}
/** @name SpRuntimeModuleError (23) */
- export interface SpRuntimeModuleError extends Struct {
+ interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
/** @name SpRuntimeTokenError (24) */
- export interface SpRuntimeTokenError extends Enum {
+ interface SpRuntimeTokenError extends Enum {
readonly isNoFunds: boolean;
readonly isWouldDie: boolean;
readonly isBelowMinimum: boolean;
@@ -145,7 +149,7 @@
}
/** @name SpRuntimeArithmeticError (25) */
- export interface SpRuntimeArithmeticError extends Enum {
+ interface SpRuntimeArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
readonly isDivisionByZero: boolean;
@@ -153,14 +157,14 @@
}
/** @name SpRuntimeTransactionalError (26) */
- export interface SpRuntimeTransactionalError extends Enum {
+ interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
/** @name CumulusPalletParachainSystemEvent (27) */
- export interface CumulusPalletParachainSystemEvent extends Enum {
+ interface CumulusPalletParachainSystemEvent extends Enum {
readonly isValidationFunctionStored: boolean;
readonly isValidationFunctionApplied: boolean;
readonly asValidationFunctionApplied: {
@@ -184,7 +188,7 @@
}
/** @name PalletBalancesEvent (28) */
- export interface PalletBalancesEvent extends Enum {
+ interface PalletBalancesEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
readonly account: AccountId32;
@@ -243,14 +247,14 @@
}
/** @name FrameSupportTokensMiscBalanceStatus (29) */
- export interface FrameSupportTokensMiscBalanceStatus extends Enum {
+ interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
/** @name PalletTransactionPaymentEvent (30) */
- export interface PalletTransactionPaymentEvent extends Enum {
+ interface PalletTransactionPaymentEvent extends Enum {
readonly isTransactionFeePaid: boolean;
readonly asTransactionFeePaid: {
readonly who: AccountId32;
@@ -261,7 +265,7 @@
}
/** @name PalletTreasuryEvent (31) */
- export interface PalletTreasuryEvent extends Enum {
+ interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
readonly proposalIndex: u32;
@@ -303,7 +307,7 @@
}
/** @name PalletSudoEvent (32) */
- export interface PalletSudoEvent extends Enum {
+ interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
@@ -320,7 +324,7 @@
}
/** @name OrmlVestingModuleEvent (36) */
- export interface OrmlVestingModuleEvent extends Enum {
+ interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
readonly from: AccountId32;
@@ -340,7 +344,7 @@
}
/** @name OrmlVestingVestingSchedule (37) */
- export interface OrmlVestingVestingSchedule extends Struct {
+ interface OrmlVestingVestingSchedule extends Struct {
readonly start: u32;
readonly period: u32;
readonly periodCount: u32;
@@ -348,7 +352,7 @@
}
/** @name OrmlXtokensModuleEvent (39) */
- export interface OrmlXtokensModuleEvent extends Enum {
+ interface OrmlXtokensModuleEvent extends Enum {
readonly isTransferredMultiAssets: boolean;
readonly asTransferredMultiAssets: {
readonly sender: AccountId32;
@@ -360,16 +364,16 @@
}
/** @name XcmV1MultiassetMultiAssets (40) */
- export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
+ interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
/** @name XcmV1MultiAsset (42) */
- export interface XcmV1MultiAsset extends Struct {
+ interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
/** @name XcmV1MultiassetAssetId (43) */
- export interface XcmV1MultiassetAssetId extends Enum {
+ interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
readonly isAbstract: boolean;
@@ -378,13 +382,13 @@
}
/** @name XcmV1MultiLocation (44) */
- export interface XcmV1MultiLocation extends Struct {
+ interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
}
/** @name XcmV1MultilocationJunctions (45) */
- export interface XcmV1MultilocationJunctions extends Enum {
+ interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: XcmV1Junction;
@@ -406,7 +410,7 @@
}
/** @name XcmV1Junction (46) */
- export interface XcmV1Junction extends Enum {
+ interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
@@ -440,7 +444,7 @@
}
/** @name XcmV0JunctionNetworkId (48) */
- export interface XcmV0JunctionNetworkId extends Enum {
+ interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
@@ -450,7 +454,7 @@
}
/** @name XcmV0JunctionBodyId (52) */
- export interface XcmV0JunctionBodyId extends Enum {
+ interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
@@ -464,7 +468,7 @@
}
/** @name XcmV0JunctionBodyPart (53) */
- export interface XcmV0JunctionBodyPart extends Enum {
+ interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
readonly asMembers: {
@@ -489,7 +493,7 @@
}
/** @name XcmV1MultiassetFungibility (54) */
- export interface XcmV1MultiassetFungibility extends Enum {
+ interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
readonly isNonFungible: boolean;
@@ -498,7 +502,7 @@
}
/** @name XcmV1MultiassetAssetInstance (55) */
- export interface XcmV1MultiassetAssetInstance extends Enum {
+ interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
readonly asIndex: Compact<u128>;
@@ -516,7 +520,7 @@
}
/** @name OrmlTokensModuleEvent (58) */
- export interface OrmlTokensModuleEvent extends Enum {
+ interface OrmlTokensModuleEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
readonly currencyId: PalletForeingAssetsAssetIds;
@@ -604,7 +608,7 @@
}
/** @name PalletForeingAssetsAssetIds (59) */
- export interface PalletForeingAssetsAssetIds extends Enum {
+ interface PalletForeingAssetsAssetIds extends Enum {
readonly isForeignAssetId: boolean;
readonly asForeignAssetId: u32;
readonly isNativeAssetId: boolean;
@@ -613,14 +617,14 @@
}
/** @name PalletForeingAssetsNativeCurrency (60) */
- export interface PalletForeingAssetsNativeCurrency extends Enum {
+ interface PalletForeingAssetsNativeCurrency extends Enum {
readonly isHere: boolean;
readonly isParent: boolean;
readonly type: 'Here' | 'Parent';
}
/** @name CumulusPalletXcmpQueueEvent (61) */
- export interface CumulusPalletXcmpQueueEvent extends Enum {
+ interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: {
readonly messageHash: Option<H256>;
@@ -664,7 +668,7 @@
}
/** @name XcmV2TraitsError (63) */
- export interface XcmV2TraitsError extends Enum {
+ interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUntrustedReserveLocation: boolean;
@@ -697,7 +701,7 @@
}
/** @name PalletXcmEvent (65) */
- export interface PalletXcmEvent extends Enum {
+ interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
readonly isSent: boolean;
@@ -734,7 +738,7 @@
}
/** @name XcmV2TraitsOutcome (66) */
- export interface XcmV2TraitsOutcome extends Enum {
+ interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
readonly isIncomplete: boolean;
@@ -745,10 +749,10 @@
}
/** @name XcmV2Xcm (67) */
- export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
+ interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
/** @name XcmV2Instruction (69) */
- export interface XcmV2Instruction extends Enum {
+ interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
readonly isReserveAssetDeposited: boolean;
@@ -868,7 +872,7 @@
}
/** @name XcmV2Response (70) */
- export interface XcmV2Response extends Enum {
+ interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -880,7 +884,7 @@
}
/** @name XcmV0OriginKind (73) */
- export interface XcmV0OriginKind extends Enum {
+ interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
readonly isSuperuser: boolean;
@@ -889,12 +893,12 @@
}
/** @name XcmDoubleEncoded (74) */
- export interface XcmDoubleEncoded extends Struct {
+ interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
/** @name XcmV1MultiassetMultiAssetFilter (75) */
- export interface XcmV1MultiassetMultiAssetFilter extends Enum {
+ interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
readonly isWild: boolean;
@@ -903,7 +907,7 @@
}
/** @name XcmV1MultiassetWildMultiAsset (76) */
- export interface XcmV1MultiassetWildMultiAsset extends Enum {
+ interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
readonly asAllOf: {
@@ -914,14 +918,14 @@
}
/** @name XcmV1MultiassetWildFungibility (77) */
- export interface XcmV1MultiassetWildFungibility extends Enum {
+ interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
/** @name XcmV2WeightLimit (78) */
- export interface XcmV2WeightLimit extends Enum {
+ interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
readonly asLimited: Compact<u64>;
@@ -929,7 +933,7 @@
}
/** @name XcmVersionedMultiAssets (80) */
- export interface XcmVersionedMultiAssets extends Enum {
+ interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
readonly isV1: boolean;
@@ -938,7 +942,7 @@
}
/** @name XcmV0MultiAsset (82) */
- export interface XcmV0MultiAsset extends Enum {
+ interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
readonly isAllFungible: boolean;
@@ -983,7 +987,7 @@
}
/** @name XcmV0MultiLocation (83) */
- export interface XcmV0MultiLocation extends Enum {
+ interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
readonly asX1: XcmV0Junction;
@@ -1005,7 +1009,7 @@
}
/** @name XcmV0Junction (84) */
- export interface XcmV0Junction extends Enum {
+ interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
@@ -1040,7 +1044,7 @@
}
/** @name XcmVersionedMultiLocation (85) */
- export interface XcmVersionedMultiLocation extends Enum {
+ interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
readonly isV1: boolean;
@@ -1049,7 +1053,7 @@
}
/** @name CumulusPalletXcmEvent (86) */
- export interface CumulusPalletXcmEvent extends Enum {
+ interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
readonly isUnsupportedVersion: boolean;
@@ -1060,7 +1064,7 @@
}
/** @name CumulusPalletDmpQueueEvent (87) */
- export interface CumulusPalletDmpQueueEvent extends Enum {
+ interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: {
readonly messageId: U8aFixed;
@@ -1095,7 +1099,7 @@
}
/** @name PalletUniqueRawEvent (88) */
- export interface PalletUniqueRawEvent extends Enum {
+ interface PalletUniqueRawEvent extends Enum {
readonly isCollectionSponsorRemoved: boolean;
readonly asCollectionSponsorRemoved: u32;
readonly isCollectionAdminAdded: boolean;
@@ -1120,7 +1124,7 @@
}
/** @name PalletEvmAccountBasicCrossAccountIdRepr (89) */
- export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
+ interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
readonly isEthereum: boolean;
@@ -1129,7 +1133,7 @@
}
/** @name PalletUniqueSchedulerEvent (92) */
- export interface PalletUniqueSchedulerEvent extends Enum {
+ interface PalletUniqueSchedulerEvent extends Enum {
readonly isScheduled: boolean;
readonly asScheduled: {
readonly when: u32;
@@ -1156,14 +1160,14 @@
}
/** @name FrameSupportScheduleLookupError (95) */
- export interface FrameSupportScheduleLookupError extends Enum {
+ interface FrameSupportScheduleLookupError extends Enum {
readonly isUnknown: boolean;
readonly isBadFormat: boolean;
readonly type: 'Unknown' | 'BadFormat';
}
/** @name PalletCommonEvent (96) */
- export interface PalletCommonEvent extends Enum {
+ interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
readonly isCollectionDestroyed: boolean;
@@ -1190,14 +1194,14 @@
}
/** @name PalletStructureEvent (99) */
- export interface PalletStructureEvent extends Enum {
+ interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
/** @name PalletRmrkCoreEvent (100) */
- export interface PalletRmrkCoreEvent extends Enum {
+ interface PalletRmrkCoreEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: {
readonly issuer: AccountId32;
@@ -1287,7 +1291,7 @@
}
/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (101) */
- export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
+ interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
readonly isAccountId: boolean;
readonly asAccountId: AccountId32;
readonly isCollectionAndNftTuple: boolean;
@@ -1296,7 +1300,7 @@
}
/** @name PalletRmrkEquipEvent (106) */
- export interface PalletRmrkEquipEvent extends Enum {
+ interface PalletRmrkEquipEvent extends Enum {
readonly isBaseCreated: boolean;
readonly asBaseCreated: {
readonly issuer: AccountId32;
@@ -1311,7 +1315,7 @@
}
/** @name PalletForeingAssetsModuleEvent (107) */
- export interface PalletForeingAssetsModuleEvent extends Enum {
+ interface PalletForeingAssetsModuleEvent extends Enum {
readonly isForeignAssetRegistered: boolean;
readonly asForeignAssetRegistered: {
readonly assetId: u32;
@@ -1338,7 +1342,7 @@
}
/** @name PalletForeingAssetsModuleAssetMetadata (108) */
- export interface PalletForeingAssetsModuleAssetMetadata extends Struct {
+ interface PalletForeingAssetsModuleAssetMetadata extends Struct {
readonly name: Bytes;
readonly symbol: Bytes;
readonly decimals: u8;
@@ -1346,7 +1350,7 @@
}
/** @name PalletEvmEvent (109) */
- export interface PalletEvmEvent extends Enum {
+ interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: EthereumLog;
readonly isCreated: boolean;
@@ -1365,21 +1369,21 @@
}
/** @name EthereumLog (110) */
- export interface EthereumLog extends Struct {
+ interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
/** @name PalletEthereumEvent (114) */
- export interface PalletEthereumEvent extends Enum {
+ interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
readonly type: 'Executed';
}
/** @name EvmCoreErrorExitReason (115) */
- export interface EvmCoreErrorExitReason extends Enum {
+ interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
readonly isError: boolean;
@@ -1392,7 +1396,7 @@
}
/** @name EvmCoreErrorExitSucceed (116) */
- export interface EvmCoreErrorExitSucceed extends Enum {
+ interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
readonly isSuicided: boolean;
@@ -1400,7 +1404,7 @@
}
/** @name EvmCoreErrorExitError (117) */
- export interface EvmCoreErrorExitError extends Enum {
+ interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
readonly isInvalidJump: boolean;
@@ -1421,13 +1425,13 @@
}
/** @name EvmCoreErrorExitRevert (120) */
- export interface EvmCoreErrorExitRevert extends Enum {
+ interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
/** @name EvmCoreErrorExitFatal (121) */
- export interface EvmCoreErrorExitFatal extends Enum {
+ interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
readonly isCallErrorAsFatal: boolean;
@@ -1438,7 +1442,7 @@
}
/** @name FrameSystemPhase (122) */
- export interface FrameSystemPhase extends Enum {
+ interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
readonly isFinalization: boolean;
@@ -1447,13 +1451,13 @@
}
/** @name FrameSystemLastRuntimeUpgradeInfo (124) */
- export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
+ interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
/** @name FrameSystemCall (125) */
- export interface FrameSystemCall extends Enum {
+ interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
readonly ratio: Perbill;
@@ -1495,21 +1499,21 @@
}
/** @name FrameSystemLimitsBlockWeights (130) */
- export interface FrameSystemLimitsBlockWeights extends Struct {
+ interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (131) */
- export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
+ interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
/** @name FrameSystemLimitsWeightsPerClass (132) */
- export interface FrameSystemLimitsWeightsPerClass extends Struct {
+ interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
readonly maxTotal: Option<u64>;
@@ -1517,25 +1521,25 @@
}
/** @name FrameSystemLimitsBlockLength (134) */
- export interface FrameSystemLimitsBlockLength extends Struct {
+ interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
/** @name FrameSupportWeightsPerDispatchClassU32 (135) */
- export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
+ interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
/** @name FrameSupportWeightsRuntimeDbWeight (136) */
- export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
+ interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
/** @name SpVersionRuntimeVersion (137) */
- export interface SpVersionRuntimeVersion extends Struct {
+ interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
readonly authoringVersion: u32;
@@ -1547,7 +1551,7 @@
}
/** @name FrameSystemError (142) */
- export interface FrameSystemError extends Enum {
+ interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
readonly isFailedToExtractRuntimeVersion: boolean;
@@ -1558,7 +1562,7 @@
}
/** @name PolkadotPrimitivesV2PersistedValidationData (143) */
- export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
+ interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
readonly relayParentStorageRoot: H256;
@@ -1566,18 +1570,18 @@
}
/** @name PolkadotPrimitivesV2UpgradeRestriction (146) */
- export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
+ interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
/** @name SpTrieStorageProof (147) */
- export interface SpTrieStorageProof extends Struct {
+ interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (149) */
- export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
+ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
@@ -1585,7 +1589,7 @@
}
/** @name PolkadotPrimitivesV2AbridgedHrmpChannel (152) */
- export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
+ interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
readonly maxMessageSize: u32;
@@ -1595,7 +1599,7 @@
}
/** @name PolkadotPrimitivesV2AbridgedHostConfiguration (153) */
- export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
+ interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
readonly maxUpwardQueueCount: u32;
@@ -1608,13 +1612,13 @@
}
/** @name PolkadotCorePrimitivesOutboundHrmpMessage (159) */
- export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
+ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
/** @name CumulusPalletParachainSystemCall (160) */
- export interface CumulusPalletParachainSystemCall extends Enum {
+ interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
readonly data: CumulusPrimitivesParachainInherentParachainInherentData;
@@ -1635,7 +1639,7 @@
}
/** @name CumulusPrimitivesParachainInherentParachainInherentData (161) */
- export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
+ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
@@ -1643,19 +1647,19 @@
}
/** @name PolkadotCorePrimitivesInboundDownwardMessage (163) */
- export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
+ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
/** @name PolkadotCorePrimitivesInboundHrmpMessage (166) */
- export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
+ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
/** @name CumulusPalletParachainSystemError (169) */
- export interface CumulusPalletParachainSystemError extends Enum {
+ interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
readonly isTooBig: boolean;
@@ -1668,14 +1672,14 @@
}
/** @name PalletBalancesBalanceLock (171) */
- export interface PalletBalancesBalanceLock extends Struct {
+ interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
/** @name PalletBalancesReasons (172) */
- export interface PalletBalancesReasons extends Enum {
+ interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
readonly isAll: boolean;
@@ -1683,20 +1687,20 @@
}
/** @name PalletBalancesReserveData (175) */
- export interface PalletBalancesReserveData extends Struct {
+ interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
/** @name PalletBalancesReleases (177) */
- export interface PalletBalancesReleases extends Enum {
+ interface PalletBalancesReleases extends Enum {
readonly isV100: boolean;
readonly isV200: boolean;
readonly type: 'V100' | 'V200';
}
/** @name PalletBalancesCall (178) */
- export interface PalletBalancesCall extends Enum {
+ interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
readonly dest: MultiAddress;
@@ -1733,7 +1737,7 @@
}
/** @name PalletBalancesError (181) */
- export interface PalletBalancesError extends Enum {
+ interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
readonly isInsufficientBalance: boolean;
@@ -1746,7 +1750,7 @@
}
/** @name PalletTimestampCall (183) */
- export interface PalletTimestampCall extends Enum {
+ interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
readonly now: Compact<u64>;
@@ -1755,14 +1759,14 @@
}
/** @name PalletTransactionPaymentReleases (185) */
- export interface PalletTransactionPaymentReleases extends Enum {
+ interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
/** @name PalletTreasuryProposal (186) */
- export interface PalletTreasuryProposal extends Struct {
+ interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
readonly beneficiary: AccountId32;
@@ -1770,7 +1774,7 @@
}
/** @name PalletTreasuryCall (189) */
- export interface PalletTreasuryCall extends Enum {
+ interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
readonly value: Compact<u128>;
@@ -1797,10 +1801,10 @@
}
/** @name FrameSupportPalletId (192) */
- export interface FrameSupportPalletId extends U8aFixed {}
+ interface FrameSupportPalletId extends U8aFixed {}
/** @name PalletTreasuryError (193) */
- export interface PalletTreasuryError extends Enum {
+ interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
readonly isTooManyApprovals: boolean;
@@ -1810,7 +1814,7 @@
}
/** @name PalletSudoCall (194) */
- export interface PalletSudoCall extends Enum {
+ interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
readonly call: Call;
@@ -1833,7 +1837,7 @@
}
/** @name OrmlVestingModuleCall (196) */
- export interface OrmlVestingModuleCall extends Enum {
+ interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
readonly asVestedTransfer: {
@@ -1853,7 +1857,7 @@
}
/** @name OrmlXtokensModuleCall (198) */
- export interface OrmlXtokensModuleCall extends Enum {
+ interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
readonly currencyId: PalletForeingAssetsAssetIds;
@@ -1900,7 +1904,7 @@
}
/** @name XcmVersionedMultiAsset (199) */
- export interface XcmVersionedMultiAsset extends Enum {
+ interface XcmVersionedMultiAsset extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiAsset;
readonly isV1: boolean;
@@ -1909,7 +1913,7 @@
}
/** @name OrmlTokensModuleCall (202) */
- export interface OrmlTokensModuleCall extends Enum {
+ interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
readonly dest: MultiAddress;
@@ -1946,7 +1950,7 @@
}
/** @name CumulusPalletXcmpQueueCall (203) */
- export interface CumulusPalletXcmpQueueCall extends Enum {
+ interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
@@ -1982,7 +1986,7 @@
}
/** @name PalletXcmCall (204) */
- export interface PalletXcmCall extends Enum {
+ interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
readonly dest: XcmVersionedMultiLocation;
@@ -2044,7 +2048,7 @@
}
/** @name XcmVersionedXcm (205) */
- export interface XcmVersionedXcm extends Enum {
+ interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
readonly isV1: boolean;
@@ -2055,7 +2059,7 @@
}
/** @name XcmV0Xcm (206) */
- export interface XcmV0Xcm extends Enum {
+ interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
@@ -2118,7 +2122,7 @@
}
/** @name XcmV0Order (208) */
- export interface XcmV0Order extends Enum {
+ interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
@@ -2166,14 +2170,14 @@
}
/** @name XcmV0Response (210) */
- export interface XcmV0Response extends Enum {
+ interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
/** @name XcmV1Xcm (211) */
- export interface XcmV1Xcm extends Enum {
+ interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
@@ -2242,7 +2246,7 @@
}
/** @name XcmV1Order (213) */
- export interface XcmV1Order extends Enum {
+ interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
@@ -2292,7 +2296,7 @@
}
/** @name XcmV1Response (215) */
- export interface XcmV1Response extends Enum {
+ interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
readonly isVersion: boolean;
@@ -2301,10 +2305,10 @@
}
/** @name CumulusPalletXcmCall (229) */
- export type CumulusPalletXcmCall = Null;
+ type CumulusPalletXcmCall = Null;
/** @name CumulusPalletDmpQueueCall (230) */
- export interface CumulusPalletDmpQueueCall extends Enum {
+ interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
@@ -2314,7 +2318,7 @@
}
/** @name PalletInflationCall (231) */
- export interface PalletInflationCall extends Enum {
+ interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
readonly inflationStartRelayBlock: u32;
@@ -2323,7 +2327,7 @@
}
/** @name PalletUniqueCall (232) */
- export interface PalletUniqueCall extends Enum {
+ interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
readonly collectionName: Vec<u16>;
@@ -2481,7 +2485,7 @@
}
/** @name UpDataStructsCollectionMode (237) */
- export interface UpDataStructsCollectionMode extends Enum {
+ interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
readonly asFungible: u8;
@@ -2490,7 +2494,7 @@
}
/** @name UpDataStructsCreateCollectionData (238) */
- export interface UpDataStructsCreateCollectionData extends Struct {
+ interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
readonly name: Vec<u16>;
@@ -2504,14 +2508,14 @@
}
/** @name UpDataStructsAccessMode (240) */
- export interface UpDataStructsAccessMode extends Enum {
+ interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
/** @name UpDataStructsCollectionLimits (242) */
- export interface UpDataStructsCollectionLimits extends Struct {
+ interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;
@@ -2524,7 +2528,7 @@
}
/** @name UpDataStructsSponsoringRateLimit (244) */
- export interface UpDataStructsSponsoringRateLimit extends Enum {
+ interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
readonly asBlocks: u32;
@@ -2532,43 +2536,43 @@
}
/** @name UpDataStructsCollectionPermissions (247) */
- export interface UpDataStructsCollectionPermissions extends Struct {
+ interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
/** @name UpDataStructsNestingPermissions (249) */
- export interface UpDataStructsNestingPermissions extends Struct {
+ interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
/** @name UpDataStructsOwnerRestrictedSet (251) */
- export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
+ interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
/** @name UpDataStructsPropertyKeyPermission (256) */
- export interface UpDataStructsPropertyKeyPermission extends Struct {
+ interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
/** @name UpDataStructsPropertyPermission (257) */
- export interface UpDataStructsPropertyPermission extends Struct {
+ interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
/** @name UpDataStructsProperty (260) */
- export interface UpDataStructsProperty extends Struct {
+ interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
/** @name UpDataStructsCreateItemData (263) */
- export interface UpDataStructsCreateItemData extends Enum {
+ interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
readonly isFungible: boolean;
@@ -2579,23 +2583,23 @@
}
/** @name UpDataStructsCreateNftData (264) */
- export interface UpDataStructsCreateNftData extends Struct {
+ interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
/** @name UpDataStructsCreateFungibleData (265) */
- export interface UpDataStructsCreateFungibleData extends Struct {
+ interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
/** @name UpDataStructsCreateReFungibleData (266) */
- export interface UpDataStructsCreateReFungibleData extends Struct {
+ interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
/** @name UpDataStructsCreateItemExData (269) */
- export interface UpDataStructsCreateItemExData extends Enum {
+ interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
readonly isFungible: boolean;
@@ -2608,26 +2612,26 @@
}
/** @name UpDataStructsCreateNftExData (271) */
- export interface UpDataStructsCreateNftExData extends Struct {
+ interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
/** @name UpDataStructsCreateRefungibleExSingleOwner (278) */
- export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
+ interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
/** @name UpDataStructsCreateRefungibleExMultipleOwners (280) */
- export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
+ interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
/** @name PalletUniqueSchedulerCall (281) */
- export interface PalletUniqueSchedulerCall extends Enum {
+ interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
readonly id: U8aFixed;
@@ -2652,7 +2656,7 @@
}
/** @name FrameSupportScheduleMaybeHashed (283) */
- export interface FrameSupportScheduleMaybeHashed extends Enum {
+ interface FrameSupportScheduleMaybeHashed extends Enum {
readonly isValue: boolean;
readonly asValue: Call;
readonly isHash: boolean;
@@ -2661,7 +2665,7 @@
}
/** @name PalletConfigurationCall (284) */
- export interface PalletConfigurationCall extends Enum {
+ interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
readonly coeff: Option<u32>;
@@ -2674,13 +2678,13 @@
}
/** @name PalletTemplateTransactionPaymentCall (285) */
- export type PalletTemplateTransactionPaymentCall = Null;
+ type PalletTemplateTransactionPaymentCall = Null;
/** @name PalletStructureCall (286) */
- export type PalletStructureCall = Null;
+ type PalletStructureCall = Null;
/** @name PalletRmrkCoreCall (287) */
- export interface PalletRmrkCoreCall extends Enum {
+ interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
readonly metadata: Bytes;
@@ -2786,7 +2790,7 @@
}
/** @name RmrkTraitsResourceResourceTypes (293) */
- export interface RmrkTraitsResourceResourceTypes extends Enum {
+ interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
readonly isComposable: boolean;
@@ -2797,7 +2801,7 @@
}
/** @name RmrkTraitsResourceBasicResource (295) */
- export interface RmrkTraitsResourceBasicResource extends Struct {
+ interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
readonly license: Option<Bytes>;
@@ -2805,7 +2809,7 @@
}
/** @name RmrkTraitsResourceComposableResource (297) */
- export interface RmrkTraitsResourceComposableResource extends Struct {
+ interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
readonly src: Option<Bytes>;
@@ -2815,7 +2819,7 @@
}
/** @name RmrkTraitsResourceSlotResource (298) */
- export interface RmrkTraitsResourceSlotResource extends Struct {
+ interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -2825,7 +2829,7 @@
}
/** @name PalletRmrkEquipCall (301) */
- export interface PalletRmrkEquipCall extends Enum {
+ interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
readonly baseType: Bytes;
@@ -2847,7 +2851,7 @@
}
/** @name RmrkTraitsPartPartType (304) */
- export interface RmrkTraitsPartPartType extends Enum {
+ interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
readonly isSlotPart: boolean;
@@ -2856,14 +2860,14 @@
}
/** @name RmrkTraitsPartFixedPart (306) */
- export interface RmrkTraitsPartFixedPart extends Struct {
+ interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
/** @name RmrkTraitsPartSlotPart (307) */
- export interface RmrkTraitsPartSlotPart extends Struct {
+ interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
readonly src: Bytes;
@@ -2871,7 +2875,7 @@
}
/** @name RmrkTraitsPartEquippableList (308) */
- export interface RmrkTraitsPartEquippableList extends Enum {
+ interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
readonly isCustom: boolean;
@@ -2880,20 +2884,20 @@
}
/** @name RmrkTraitsTheme (310) */
- export interface RmrkTraitsTheme extends Struct {
+ interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
/** @name RmrkTraitsThemeThemeProperty (312) */
- export interface RmrkTraitsThemeThemeProperty extends Struct {
+ interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
/** @name PalletForeingAssetsModuleCall (314) */
- export interface PalletForeingAssetsModuleCall extends Enum {
+ interface PalletForeingAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
readonly owner: AccountId32;
@@ -2910,7 +2914,7 @@
}
/** @name PalletEvmCall (315) */
- export interface PalletEvmCall extends Enum {
+ interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
readonly address: H160;
@@ -2955,7 +2959,7 @@
}
/** @name PalletEthereumCall (319) */
- export interface PalletEthereumCall extends Enum {
+ interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
readonly transaction: EthereumTransactionTransactionV2;
@@ -2964,7 +2968,7 @@
}
/** @name EthereumTransactionTransactionV2 (320) */
- export interface EthereumTransactionTransactionV2 extends Enum {
+ interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
readonly isEip2930: boolean;
@@ -2975,7 +2979,7 @@
}
/** @name EthereumTransactionLegacyTransaction (321) */
- export interface EthereumTransactionLegacyTransaction extends Struct {
+ interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
readonly gasLimit: U256;
@@ -2986,7 +2990,7 @@
}
/** @name EthereumTransactionTransactionAction (322) */
- export interface EthereumTransactionTransactionAction extends Enum {
+ interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
readonly isCreate: boolean;
@@ -2994,14 +2998,14 @@
}
/** @name EthereumTransactionTransactionSignature (323) */
- export interface EthereumTransactionTransactionSignature extends Struct {
+ interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
/** @name EthereumTransactionEip2930Transaction (325) */
- export interface EthereumTransactionEip2930Transaction extends Struct {
+ interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
readonly gasPrice: U256;
@@ -3016,13 +3020,13 @@
}
/** @name EthereumTransactionAccessListItem (327) */
- export interface EthereumTransactionAccessListItem extends Struct {
+ interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
/** @name EthereumTransactionEip1559Transaction (328) */
- export interface EthereumTransactionEip1559Transaction extends Struct {
+ interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
readonly maxPriorityFeePerGas: U256;
@@ -3038,7 +3042,7 @@
}
/** @name PalletEvmMigrationCall (329) */
- export interface PalletEvmMigrationCall extends Enum {
+ interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
readonly address: H160;
@@ -3057,13 +3061,13 @@
}
/** @name PalletSudoError (332) */
- export interface PalletSudoError extends Enum {
+ interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
/** @name OrmlVestingModuleError (334) */
- export interface OrmlVestingModuleError extends Enum {
+ interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
readonly isInsufficientBalanceToLock: boolean;
@@ -3074,7 +3078,7 @@
}
/** @name OrmlXtokensModuleError (335) */
- export interface OrmlXtokensModuleError extends Enum {
+ interface OrmlXtokensModuleError extends Enum {
readonly isAssetHasNoReserve: boolean;
readonly isNotCrossChainTransfer: boolean;
readonly isInvalidDest: boolean;
@@ -3098,26 +3102,26 @@
}
/** @name OrmlTokensBalanceLock (338) */
- export interface OrmlTokensBalanceLock extends Struct {
+ interface OrmlTokensBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
/** @name OrmlTokensAccountData (340) */
- export interface OrmlTokensAccountData extends Struct {
+ interface OrmlTokensAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly frozen: u128;
}
/** @name OrmlTokensReserveData (342) */
- export interface OrmlTokensReserveData extends Struct {
+ interface OrmlTokensReserveData extends Struct {
readonly id: Null;
readonly amount: u128;
}
/** @name OrmlTokensModuleError (344) */
- export interface OrmlTokensModuleError extends Enum {
+ interface OrmlTokensModuleError extends Enum {
readonly isBalanceTooLow: boolean;
readonly isAmountIntoBalanceFailed: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -3130,21 +3134,21 @@
}
/** @name CumulusPalletXcmpQueueInboundChannelDetails (346) */
- export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
+ interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
/** @name CumulusPalletXcmpQueueInboundState (347) */
- export interface CumulusPalletXcmpQueueInboundState extends Enum {
+ interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
/** @name PolkadotParachainPrimitivesXcmpMessageFormat (350) */
- export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
+ interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
readonly isSignals: boolean;
@@ -3152,7 +3156,7 @@
}
/** @name CumulusPalletXcmpQueueOutboundChannelDetails (353) */
- export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
+ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
readonly signalsExist: bool;
@@ -3161,14 +3165,14 @@
}
/** @name CumulusPalletXcmpQueueOutboundState (354) */
- export interface CumulusPalletXcmpQueueOutboundState extends Enum {
+ interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
/** @name CumulusPalletXcmpQueueQueueConfigData (356) */
- export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
+ interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
readonly resumeThreshold: u32;
@@ -3178,7 +3182,7 @@
}
/** @name CumulusPalletXcmpQueueError (358) */
- export interface CumulusPalletXcmpQueueError extends Enum {
+ interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
readonly isBadXcm: boolean;
@@ -3188,7 +3192,7 @@
}
/** @name PalletXcmError (359) */
- export interface PalletXcmError extends Enum {
+ interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
readonly isFiltered: boolean;
@@ -3206,29 +3210,29 @@
}
/** @name CumulusPalletXcmError (360) */
- export type CumulusPalletXcmError = Null;
+ type CumulusPalletXcmError = Null;
/** @name CumulusPalletDmpQueueConfigData (361) */
- export interface CumulusPalletDmpQueueConfigData extends Struct {
+ interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
/** @name CumulusPalletDmpQueuePageIndexData (362) */
- export interface CumulusPalletDmpQueuePageIndexData extends Struct {
+ interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
/** @name CumulusPalletDmpQueueError (365) */
- export interface CumulusPalletDmpQueueError extends Enum {
+ interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
/** @name PalletUniqueError (369) */
- export interface PalletUniqueError extends Enum {
+ interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
readonly isEmptyArgument: boolean;
@@ -3237,7 +3241,7 @@
}
/** @name PalletUniqueSchedulerScheduledV3 (372) */
- export interface PalletUniqueSchedulerScheduledV3 extends Struct {
+ interface PalletUniqueSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<U8aFixed>;
readonly priority: u8;
readonly call: FrameSupportScheduleMaybeHashed;
@@ -3246,7 +3250,7 @@
}
/** @name OpalRuntimeOriginCaller (373) */
- export interface OpalRuntimeOriginCaller extends Enum {
+ interface OpalRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
readonly isVoid: boolean;
@@ -3260,7 +3264,7 @@
}
/** @name FrameSupportDispatchRawOrigin (374) */
- export interface FrameSupportDispatchRawOrigin extends Enum {
+ interface FrameSupportDispatchRawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
readonly asSigned: AccountId32;
@@ -3269,7 +3273,7 @@
}
/** @name PalletXcmOrigin (375) */
- export interface PalletXcmOrigin extends Enum {
+ interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
readonly isResponse: boolean;
@@ -3278,7 +3282,7 @@
}
/** @name CumulusPalletXcmOrigin (376) */
- export interface CumulusPalletXcmOrigin extends Enum {
+ interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
readonly asSiblingParachain: u32;
@@ -3286,17 +3290,17 @@
}
/** @name PalletEthereumRawOrigin (377) */
- export interface PalletEthereumRawOrigin extends Enum {
+ interface PalletEthereumRawOrigin extends Enum {
readonly isEthereumTransaction: boolean;
readonly asEthereumTransaction: H160;
readonly type: 'EthereumTransaction';
}
/** @name SpCoreVoid (378) */
- export type SpCoreVoid = Null;
+ type SpCoreVoid = Null;
/** @name PalletUniqueSchedulerError (379) */
- export interface PalletUniqueSchedulerError extends Enum {
+ interface PalletUniqueSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
readonly isTargetBlockNumberInPast: boolean;
@@ -3305,20 +3309,20 @@
}
/** @name UpDataStructsCollection (380) */
- export interface UpDataStructsCollection extends Struct {
+ interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
readonly name: Vec<u16>;
readonly description: Vec<u16>;
readonly tokenPrefix: Bytes;
- readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipState (381) */
- export interface UpDataStructsSponsorshipState extends Enum {
+ /** @name UpDataStructsSponsorshipStateAccountId32 (381) */
+ interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
readonly asUnconfirmed: AccountId32;
@@ -3328,49 +3332,49 @@
}
/** @name UpDataStructsProperties (382) */
- export interface UpDataStructsProperties extends Struct {
+ interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
/** @name UpDataStructsPropertiesMapBoundedVec (383) */
- export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
+ interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
/** @name UpDataStructsPropertiesMapPropertyPermission (388) */
- export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
+ interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
/** @name UpDataStructsCollectionStats (395) */
- export interface UpDataStructsCollectionStats extends Struct {
+ interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
/** @name UpDataStructsTokenChild (396) */
- export interface UpDataStructsTokenChild extends Struct {
+ interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
/** @name PhantomTypeUpDataStructs (397) */
- export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
+ interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
/** @name UpDataStructsTokenData (399) */
- export interface UpDataStructsTokenData extends Struct {
+ interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
/** @name UpDataStructsRpcCollection (401) */
- export interface UpDataStructsRpcCollection extends Struct {
+ interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
readonly name: Vec<u16>;
readonly description: Vec<u16>;
readonly tokenPrefix: Bytes;
- readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
@@ -3379,7 +3383,7 @@
}
/** @name RmrkTraitsCollectionCollectionInfo (402) */
- export interface RmrkTraitsCollectionCollectionInfo extends Struct {
+ interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
readonly max: Option<u32>;
@@ -3388,7 +3392,7 @@
}
/** @name RmrkTraitsNftNftInfo (403) */
- export interface RmrkTraitsNftNftInfo extends Struct {
+ interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
readonly metadata: Bytes;
@@ -3397,13 +3401,13 @@
}
/** @name RmrkTraitsNftRoyaltyInfo (405) */
- export interface RmrkTraitsNftRoyaltyInfo extends Struct {
+ interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
/** @name RmrkTraitsResourceResourceInfo (406) */
- export interface RmrkTraitsResourceResourceInfo extends Struct {
+ interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
readonly pending: bool;
@@ -3411,26 +3415,26 @@
}
/** @name RmrkTraitsPropertyPropertyInfo (407) */
- export interface RmrkTraitsPropertyPropertyInfo extends Struct {
+ interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
/** @name RmrkTraitsBaseBaseInfo (408) */
- export interface RmrkTraitsBaseBaseInfo extends Struct {
+ interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
/** @name RmrkTraitsNftNftChild (409) */
- export interface RmrkTraitsNftNftChild extends Struct {
+ interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
/** @name PalletCommonError (411) */
- export interface PalletCommonError extends Enum {
+ interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
readonly isNoPermission: boolean;
@@ -3469,7 +3473,7 @@
}
/** @name PalletFungibleError (413) */
- export interface PalletFungibleError extends Enum {
+ interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
readonly isFungibleItemsDontHaveData: boolean;
@@ -3479,12 +3483,12 @@
}
/** @name PalletRefungibleItemData (414) */
- export interface PalletRefungibleItemData extends Struct {
+ interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
/** @name PalletRefungibleError (419) */
- export interface PalletRefungibleError extends Enum {
+ interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
readonly isRepartitionWhileNotOwningAllPieces: boolean;
@@ -3494,20 +3498,19 @@
}
/** @name PalletNonfungibleItemData (420) */
- export interface PalletNonfungibleItemData extends Struct {
+ interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
/** @name UpDataStructsPropertyScope (422) */
- export interface UpDataStructsPropertyScope extends Enum {
+ interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
- readonly isEth: boolean;
- readonly type: 'None' | 'Rmrk' | 'Eth';
+ readonly type: 'None' | 'Rmrk';
}
/** @name PalletNonfungibleError (424) */
- export interface PalletNonfungibleError extends Enum {
+ interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
readonly isCantBurnNftWithChildren: boolean;
@@ -3515,7 +3518,7 @@
}
/** @name PalletStructureError (425) */
- export interface PalletStructureError extends Enum {
+ interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
readonly isBreadthLimit: boolean;
@@ -3524,7 +3527,7 @@
}
/** @name PalletRmrkCoreError (426) */
- export interface PalletRmrkCoreError extends Enum {
+ interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
readonly isRmrkPropertyValueIsTooLong: boolean;
@@ -3548,7 +3551,7 @@
}
/** @name PalletRmrkEquipError (428) */
- export interface PalletRmrkEquipError extends Enum {
+ interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
readonly isNoAvailablePartId: boolean;
@@ -3560,7 +3563,7 @@
}
/** @name PalletForeingAssetsModuleError (429) */
- export interface PalletForeingAssetsModuleError extends Enum {
+ interface PalletForeingAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
readonly isAssetIdNotExists: boolean;
@@ -3569,7 +3572,7 @@
}
/** @name PalletEvmError (432) */
- export interface PalletEvmError extends Enum {
+ interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
readonly isPaymentOverflow: boolean;
@@ -3580,7 +3583,7 @@
}
/** @name FpRpcTransactionStatus (435) */
- export interface FpRpcTransactionStatus extends Struct {
+ interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
readonly from: H160;
@@ -3591,10 +3594,10 @@
}
/** @name EthbloomBloom (437) */
- export interface EthbloomBloom extends U8aFixed {}
+ interface EthbloomBloom extends U8aFixed {}
/** @name EthereumReceiptReceiptV3 (439) */
- export interface EthereumReceiptReceiptV3 extends Enum {
+ interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
readonly isEip2930: boolean;
@@ -3605,7 +3608,7 @@
}
/** @name EthereumReceiptEip658ReceiptData (440) */
- export interface EthereumReceiptEip658ReceiptData extends Struct {
+ interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
readonly logsBloom: EthbloomBloom;
@@ -3613,14 +3616,14 @@
}
/** @name EthereumBlock (441) */
- export interface EthereumBlock extends Struct {
+ interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
/** @name EthereumHeader (442) */
- export interface EthereumHeader extends Struct {
+ interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
readonly beneficiary: H160;
@@ -3639,45 +3642,56 @@
}
/** @name EthereumTypesHashH64 (443) */
- export interface EthereumTypesHashH64 extends U8aFixed {}
+ interface EthereumTypesHashH64 extends U8aFixed {}
/** @name PalletEthereumError (448) */
- export interface PalletEthereumError extends Enum {
+ interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
/** @name PalletEvmCoderSubstrateError (449) */
- export interface PalletEvmCoderSubstrateError extends Enum {
+ interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (450) */
- export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (450) */
+ interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
+ readonly isDisabled: boolean;
+ readonly isUnconfirmed: boolean;
+ readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly isConfirmed: boolean;
+ readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
+ }
+
+ /** @name PalletEvmContractHelpersSponsoringModeT (451) */
+ interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
readonly isGenerous: boolean;
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (452) */
- export interface PalletEvmContractHelpersError extends Enum {
+ /** @name PalletEvmContractHelpersError (453) */
+ interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
- readonly type: 'NoPermission';
+ readonly isNoPendingSponsor: boolean;
+ readonly type: 'NoPermission' | 'NoPendingSponsor';
}
- /** @name PalletEvmMigrationError (453) */
- export interface PalletEvmMigrationError extends Enum {
+ /** @name PalletEvmMigrationError (454) */
+ interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (455) */
- export interface SpRuntimeMultiSignature extends Enum {
+ /** @name SpRuntimeMultiSignature (456) */
+ interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
readonly isSr25519: boolean;
@@ -3687,34 +3701,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (456) */
- export interface SpCoreEd25519Signature extends U8aFixed {}
+ /** @name SpCoreEd25519Signature (457) */
+ interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (458) */
- export interface SpCoreSr25519Signature extends U8aFixed {}
+ /** @name SpCoreSr25519Signature (459) */
+ interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (459) */
- export interface SpCoreEcdsaSignature extends U8aFixed {}
+ /** @name SpCoreEcdsaSignature (460) */
+ interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (462) */
- export type FrameSystemExtensionsCheckSpecVersion = Null;
+ /** @name FrameSystemExtensionsCheckSpecVersion (463) */
+ type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (463) */
- export type FrameSystemExtensionsCheckGenesis = Null;
+ /** @name FrameSystemExtensionsCheckGenesis (464) */
+ type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (466) */
- export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
+ /** @name FrameSystemExtensionsCheckNonce (467) */
+ interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (467) */
- export type FrameSystemExtensionsCheckWeight = Null;
+ /** @name FrameSystemExtensionsCheckWeight (468) */
+ type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (468) */
- export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (469) */
+ interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (469) */
- export type OpalRuntimeRuntime = Null;
+ /** @name OpalRuntimeRuntime (470) */
+ type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (470) */
- export type PalletEthereumFakeTransactionFinalizer = Null;
+ /** @name PalletEthereumFakeTransactionFinalizer (471) */
+ type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module